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-libgui \
577 maybe-configure-libbanshee \
578 maybe-configure-libiberty \
579 maybe-configure-libtool \
581 maybe-configure-make \
582 maybe-configure-mmalloc \
583 maybe-configure-patch \
584 maybe-configure-perl \
585 maybe-configure-prms \
586 maybe-configure-rcs \
587 maybe-configure-readline \
588 maybe-configure-release \
589 maybe-configure-recode \
590 maybe-configure-sed \
591 maybe-configure-send-pr \
592 maybe-configure-shellutils \
593 maybe-configure-sid \
594 maybe-configure-sim \
595 maybe-configure-tar \
596 maybe-configure-texinfo \
597 maybe-configure-textutils \
598 maybe-configure-time \
599 maybe-configure-uudecode \
600 maybe-configure-wdiff \
601 maybe-configure-zip \
602 maybe-configure-zlib \
603 maybe-configure-gdb \
604 maybe-configure-expect \
605 maybe-configure-guile \
607 maybe-configure-tix \
608 maybe-configure-libtermcap \
609 maybe-configure-utils
610 .PHONY: configure-target
612 maybe-configure-target-libstdc++-v3 \
613 maybe-configure-target-libmudflap \
614 maybe-configure-target-newlib \
615 maybe-configure-target-libgfortran \
616 maybe-configure-target-libobjc \
617 maybe-configure-target-libtermcap \
618 maybe-configure-target-winsup \
619 maybe-configure-target-libgloss \
620 maybe-configure-target-libiberty \
621 maybe-configure-target-gperf \
622 maybe-configure-target-examples \
623 maybe-configure-target-libffi \
624 maybe-configure-target-libjava \
625 maybe-configure-target-zlib \
626 maybe-configure-target-boehm-gc \
627 maybe-configure-target-qthreads \
628 maybe-configure-target-rda \
629 maybe-configure-target-libada
631 # The target built for a native build.
633 all.normal: @all_build_modules@ all-host all-target
636 all-host: maybe-all-gcc \
652 maybe-all-fileutils \
653 maybe-all-findutils \
669 maybe-all-libbanshee \
670 maybe-all-libiberty \
684 maybe-all-shellutils \
689 maybe-all-textutils \
700 maybe-all-libtermcap \
704 maybe-all-target-libstdc++-v3 \
705 maybe-all-target-libmudflap \
706 maybe-all-target-newlib \
707 maybe-all-target-libgfortran \
708 maybe-all-target-libobjc \
709 maybe-all-target-libtermcap \
710 maybe-all-target-winsup \
711 maybe-all-target-libgloss \
712 maybe-all-target-libiberty \
713 maybe-all-target-gperf \
714 maybe-all-target-examples \
715 maybe-all-target-libffi \
716 maybe-all-target-libjava \
717 maybe-all-target-zlib \
718 maybe-all-target-boehm-gc \
719 maybe-all-target-qthreads \
720 maybe-all-target-rda \
721 maybe-all-target-libada
723 # Do a target for all the subdirectories. A ``make do-X'' will do a
724 # ``make X'' in all subdirectories (because, in general, there is a
725 # dependency (below) of X upon do-X, a ``make X'' will also do this,
726 # but it may do additional work as well).
729 do-info: info-host info-target
732 info-host: maybe-info-gcc \
734 maybe-info-autoconf \
735 maybe-info-automake \
739 maybe-info-binutils \
745 maybe-info-dosutils \
748 maybe-info-fileutils \
749 maybe-info-findutils \
765 maybe-info-libbanshee \
766 maybe-info-libiberty \
775 maybe-info-readline \
780 maybe-info-shellutils \
785 maybe-info-textutils \
787 maybe-info-uudecode \
796 maybe-info-libtermcap \
801 maybe-info-target-libstdc++-v3 \
802 maybe-info-target-libmudflap \
803 maybe-info-target-newlib \
804 maybe-info-target-libgfortran \
805 maybe-info-target-libobjc \
806 maybe-info-target-libtermcap \
807 maybe-info-target-winsup \
808 maybe-info-target-libgloss \
809 maybe-info-target-libiberty \
810 maybe-info-target-gperf \
811 maybe-info-target-examples \
812 maybe-info-target-libffi \
813 maybe-info-target-libjava \
814 maybe-info-target-zlib \
815 maybe-info-target-boehm-gc \
816 maybe-info-target-qthreads \
817 maybe-info-target-rda \
818 maybe-info-target-libada
821 do-dvi: dvi-host dvi-target
824 dvi-host: maybe-dvi-gcc \
840 maybe-dvi-fileutils \
841 maybe-dvi-findutils \
857 maybe-dvi-libbanshee \
858 maybe-dvi-libiberty \
872 maybe-dvi-shellutils \
877 maybe-dvi-textutils \
888 maybe-dvi-libtermcap \
893 maybe-dvi-target-libstdc++-v3 \
894 maybe-dvi-target-libmudflap \
895 maybe-dvi-target-newlib \
896 maybe-dvi-target-libgfortran \
897 maybe-dvi-target-libobjc \
898 maybe-dvi-target-libtermcap \
899 maybe-dvi-target-winsup \
900 maybe-dvi-target-libgloss \
901 maybe-dvi-target-libiberty \
902 maybe-dvi-target-gperf \
903 maybe-dvi-target-examples \
904 maybe-dvi-target-libffi \
905 maybe-dvi-target-libjava \
906 maybe-dvi-target-zlib \
907 maybe-dvi-target-boehm-gc \
908 maybe-dvi-target-qthreads \
909 maybe-dvi-target-rda \
910 maybe-dvi-target-libada
913 do-TAGS: TAGS-host TAGS-target
916 TAGS-host: maybe-TAGS-gcc \
918 maybe-TAGS-autoconf \
919 maybe-TAGS-automake \
923 maybe-TAGS-binutils \
929 maybe-TAGS-dosutils \
932 maybe-TAGS-fileutils \
933 maybe-TAGS-findutils \
949 maybe-TAGS-libbanshee \
950 maybe-TAGS-libiberty \
959 maybe-TAGS-readline \
964 maybe-TAGS-shellutils \
969 maybe-TAGS-textutils \
971 maybe-TAGS-uudecode \
980 maybe-TAGS-libtermcap \
985 maybe-TAGS-target-libstdc++-v3 \
986 maybe-TAGS-target-libmudflap \
987 maybe-TAGS-target-newlib \
988 maybe-TAGS-target-libgfortran \
989 maybe-TAGS-target-libobjc \
990 maybe-TAGS-target-libtermcap \
991 maybe-TAGS-target-winsup \
992 maybe-TAGS-target-libgloss \
993 maybe-TAGS-target-libiberty \
994 maybe-TAGS-target-gperf \
995 maybe-TAGS-target-examples \
996 maybe-TAGS-target-libffi \
997 maybe-TAGS-target-libjava \
998 maybe-TAGS-target-zlib \
999 maybe-TAGS-target-boehm-gc \
1000 maybe-TAGS-target-qthreads \
1001 maybe-TAGS-target-rda \
1002 maybe-TAGS-target-libada
1004 .PHONY: do-install-info
1005 do-install-info: install-info-host install-info-target
1007 .PHONY: install-info-host
1008 install-info-host: maybe-install-info-gcc \
1009 maybe-install-info-ash \
1010 maybe-install-info-autoconf \
1011 maybe-install-info-automake \
1012 maybe-install-info-bash \
1013 maybe-install-info-bfd \
1014 maybe-install-info-opcodes \
1015 maybe-install-info-binutils \
1016 maybe-install-info-bison \
1017 maybe-install-info-byacc \
1018 maybe-install-info-bzip2 \
1019 maybe-install-info-dejagnu \
1020 maybe-install-info-diff \
1021 maybe-install-info-dosutils \
1022 maybe-install-info-etc \
1023 maybe-install-info-fastjar \
1024 maybe-install-info-fileutils \
1025 maybe-install-info-findutils \
1026 maybe-install-info-find \
1027 maybe-install-info-flex \
1028 maybe-install-info-gas \
1029 maybe-install-info-gawk \
1030 maybe-install-info-gettext \
1031 maybe-install-info-gnuserv \
1032 maybe-install-info-gprof \
1033 maybe-install-info-gzip \
1034 maybe-install-info-hello \
1035 maybe-install-info-indent \
1036 maybe-install-info-intl \
1037 maybe-install-info-tcl \
1038 maybe-install-info-itcl \
1039 maybe-install-info-ld \
1040 maybe-install-info-libgui \
1041 maybe-install-info-libbanshee \
1042 maybe-install-info-libiberty \
1043 maybe-install-info-libtool \
1044 maybe-install-info-m4 \
1045 maybe-install-info-make \
1046 maybe-install-info-mmalloc \
1047 maybe-install-info-patch \
1048 maybe-install-info-perl \
1049 maybe-install-info-prms \
1050 maybe-install-info-rcs \
1051 maybe-install-info-readline \
1052 maybe-install-info-release \
1053 maybe-install-info-recode \
1054 maybe-install-info-sed \
1055 maybe-install-info-send-pr \
1056 maybe-install-info-shellutils \
1057 maybe-install-info-sid \
1058 maybe-install-info-sim \
1059 maybe-install-info-tar \
1060 maybe-install-info-texinfo \
1061 maybe-install-info-textutils \
1062 maybe-install-info-time \
1063 maybe-install-info-uudecode \
1064 maybe-install-info-wdiff \
1065 maybe-install-info-zip \
1066 maybe-install-info-zlib \
1067 maybe-install-info-gdb \
1068 maybe-install-info-expect \
1069 maybe-install-info-guile \
1070 maybe-install-info-tk \
1071 maybe-install-info-tix \
1072 maybe-install-info-libtermcap \
1073 maybe-install-info-utils
1075 .PHONY: install-info-target
1076 install-info-target: \
1077 maybe-install-info-target-libstdc++-v3 \
1078 maybe-install-info-target-libmudflap \
1079 maybe-install-info-target-newlib \
1080 maybe-install-info-target-libgfortran \
1081 maybe-install-info-target-libobjc \
1082 maybe-install-info-target-libtermcap \
1083 maybe-install-info-target-winsup \
1084 maybe-install-info-target-libgloss \
1085 maybe-install-info-target-libiberty \
1086 maybe-install-info-target-gperf \
1087 maybe-install-info-target-examples \
1088 maybe-install-info-target-libffi \
1089 maybe-install-info-target-libjava \
1090 maybe-install-info-target-zlib \
1091 maybe-install-info-target-boehm-gc \
1092 maybe-install-info-target-qthreads \
1093 maybe-install-info-target-rda \
1094 maybe-install-info-target-libada
1096 .PHONY: do-installcheck
1097 do-installcheck: installcheck-host installcheck-target
1099 .PHONY: installcheck-host
1100 installcheck-host: maybe-installcheck-gcc \
1101 maybe-installcheck-ash \
1102 maybe-installcheck-autoconf \
1103 maybe-installcheck-automake \
1104 maybe-installcheck-bash \
1105 maybe-installcheck-bfd \
1106 maybe-installcheck-opcodes \
1107 maybe-installcheck-binutils \
1108 maybe-installcheck-bison \
1109 maybe-installcheck-byacc \
1110 maybe-installcheck-bzip2 \
1111 maybe-installcheck-dejagnu \
1112 maybe-installcheck-diff \
1113 maybe-installcheck-dosutils \
1114 maybe-installcheck-etc \
1115 maybe-installcheck-fastjar \
1116 maybe-installcheck-fileutils \
1117 maybe-installcheck-findutils \
1118 maybe-installcheck-find \
1119 maybe-installcheck-flex \
1120 maybe-installcheck-gas \
1121 maybe-installcheck-gawk \
1122 maybe-installcheck-gettext \
1123 maybe-installcheck-gnuserv \
1124 maybe-installcheck-gprof \
1125 maybe-installcheck-gzip \
1126 maybe-installcheck-hello \
1127 maybe-installcheck-indent \
1128 maybe-installcheck-intl \
1129 maybe-installcheck-tcl \
1130 maybe-installcheck-itcl \
1131 maybe-installcheck-ld \
1132 maybe-installcheck-libgui \
1133 maybe-installcheck-libbanshee \
1134 maybe-installcheck-libiberty \
1135 maybe-installcheck-libtool \
1136 maybe-installcheck-m4 \
1137 maybe-installcheck-make \
1138 maybe-installcheck-mmalloc \
1139 maybe-installcheck-patch \
1140 maybe-installcheck-perl \
1141 maybe-installcheck-prms \
1142 maybe-installcheck-rcs \
1143 maybe-installcheck-readline \
1144 maybe-installcheck-release \
1145 maybe-installcheck-recode \
1146 maybe-installcheck-sed \
1147 maybe-installcheck-send-pr \
1148 maybe-installcheck-shellutils \
1149 maybe-installcheck-sid \
1150 maybe-installcheck-sim \
1151 maybe-installcheck-tar \
1152 maybe-installcheck-texinfo \
1153 maybe-installcheck-textutils \
1154 maybe-installcheck-time \
1155 maybe-installcheck-uudecode \
1156 maybe-installcheck-wdiff \
1157 maybe-installcheck-zip \
1158 maybe-installcheck-zlib \
1159 maybe-installcheck-gdb \
1160 maybe-installcheck-expect \
1161 maybe-installcheck-guile \
1162 maybe-installcheck-tk \
1163 maybe-installcheck-tix \
1164 maybe-installcheck-libtermcap \
1165 maybe-installcheck-utils
1167 .PHONY: installcheck-target
1168 installcheck-target: \
1169 maybe-installcheck-target-libstdc++-v3 \
1170 maybe-installcheck-target-libmudflap \
1171 maybe-installcheck-target-newlib \
1172 maybe-installcheck-target-libgfortran \
1173 maybe-installcheck-target-libobjc \
1174 maybe-installcheck-target-libtermcap \
1175 maybe-installcheck-target-winsup \
1176 maybe-installcheck-target-libgloss \
1177 maybe-installcheck-target-libiberty \
1178 maybe-installcheck-target-gperf \
1179 maybe-installcheck-target-examples \
1180 maybe-installcheck-target-libffi \
1181 maybe-installcheck-target-libjava \
1182 maybe-installcheck-target-zlib \
1183 maybe-installcheck-target-boehm-gc \
1184 maybe-installcheck-target-qthreads \
1185 maybe-installcheck-target-rda \
1186 maybe-installcheck-target-libada
1188 .PHONY: do-mostlyclean
1189 do-mostlyclean: mostlyclean-host mostlyclean-target
1191 .PHONY: mostlyclean-host
1192 mostlyclean-host: maybe-mostlyclean-gcc \
1193 maybe-mostlyclean-ash \
1194 maybe-mostlyclean-autoconf \
1195 maybe-mostlyclean-automake \
1196 maybe-mostlyclean-bash \
1197 maybe-mostlyclean-bfd \
1198 maybe-mostlyclean-opcodes \
1199 maybe-mostlyclean-binutils \
1200 maybe-mostlyclean-bison \
1201 maybe-mostlyclean-byacc \
1202 maybe-mostlyclean-bzip2 \
1203 maybe-mostlyclean-dejagnu \
1204 maybe-mostlyclean-diff \
1205 maybe-mostlyclean-dosutils \
1206 maybe-mostlyclean-etc \
1207 maybe-mostlyclean-fastjar \
1208 maybe-mostlyclean-fileutils \
1209 maybe-mostlyclean-findutils \
1210 maybe-mostlyclean-find \
1211 maybe-mostlyclean-flex \
1212 maybe-mostlyclean-gas \
1213 maybe-mostlyclean-gawk \
1214 maybe-mostlyclean-gettext \
1215 maybe-mostlyclean-gnuserv \
1216 maybe-mostlyclean-gprof \
1217 maybe-mostlyclean-gzip \
1218 maybe-mostlyclean-hello \
1219 maybe-mostlyclean-indent \
1220 maybe-mostlyclean-intl \
1221 maybe-mostlyclean-tcl \
1222 maybe-mostlyclean-itcl \
1223 maybe-mostlyclean-ld \
1224 maybe-mostlyclean-libgui \
1225 maybe-mostlyclean-libbanshee \
1226 maybe-mostlyclean-libiberty \
1227 maybe-mostlyclean-libtool \
1228 maybe-mostlyclean-m4 \
1229 maybe-mostlyclean-make \
1230 maybe-mostlyclean-mmalloc \
1231 maybe-mostlyclean-patch \
1232 maybe-mostlyclean-perl \
1233 maybe-mostlyclean-prms \
1234 maybe-mostlyclean-rcs \
1235 maybe-mostlyclean-readline \
1236 maybe-mostlyclean-release \
1237 maybe-mostlyclean-recode \
1238 maybe-mostlyclean-sed \
1239 maybe-mostlyclean-send-pr \
1240 maybe-mostlyclean-shellutils \
1241 maybe-mostlyclean-sid \
1242 maybe-mostlyclean-sim \
1243 maybe-mostlyclean-tar \
1244 maybe-mostlyclean-texinfo \
1245 maybe-mostlyclean-textutils \
1246 maybe-mostlyclean-time \
1247 maybe-mostlyclean-uudecode \
1248 maybe-mostlyclean-wdiff \
1249 maybe-mostlyclean-zip \
1250 maybe-mostlyclean-zlib \
1251 maybe-mostlyclean-gdb \
1252 maybe-mostlyclean-expect \
1253 maybe-mostlyclean-guile \
1254 maybe-mostlyclean-tk \
1255 maybe-mostlyclean-tix \
1256 maybe-mostlyclean-libtermcap \
1257 maybe-mostlyclean-utils
1259 .PHONY: mostlyclean-target
1260 mostlyclean-target: \
1261 maybe-mostlyclean-target-libstdc++-v3 \
1262 maybe-mostlyclean-target-libmudflap \
1263 maybe-mostlyclean-target-newlib \
1264 maybe-mostlyclean-target-libgfortran \
1265 maybe-mostlyclean-target-libobjc \
1266 maybe-mostlyclean-target-libtermcap \
1267 maybe-mostlyclean-target-winsup \
1268 maybe-mostlyclean-target-libgloss \
1269 maybe-mostlyclean-target-libiberty \
1270 maybe-mostlyclean-target-gperf \
1271 maybe-mostlyclean-target-examples \
1272 maybe-mostlyclean-target-libffi \
1273 maybe-mostlyclean-target-libjava \
1274 maybe-mostlyclean-target-zlib \
1275 maybe-mostlyclean-target-boehm-gc \
1276 maybe-mostlyclean-target-qthreads \
1277 maybe-mostlyclean-target-rda \
1278 maybe-mostlyclean-target-libada
1281 do-clean: clean-host clean-target
1284 clean-host: maybe-clean-gcc \
1286 maybe-clean-autoconf \
1287 maybe-clean-automake \
1290 maybe-clean-opcodes \
1291 maybe-clean-binutils \
1295 maybe-clean-dejagnu \
1297 maybe-clean-dosutils \
1299 maybe-clean-fastjar \
1300 maybe-clean-fileutils \
1301 maybe-clean-findutils \
1306 maybe-clean-gettext \
1307 maybe-clean-gnuserv \
1311 maybe-clean-indent \
1316 maybe-clean-libgui \
1317 maybe-clean-libbanshee \
1318 maybe-clean-libiberty \
1319 maybe-clean-libtool \
1322 maybe-clean-mmalloc \
1327 maybe-clean-readline \
1328 maybe-clean-release \
1329 maybe-clean-recode \
1331 maybe-clean-send-pr \
1332 maybe-clean-shellutils \
1336 maybe-clean-texinfo \
1337 maybe-clean-textutils \
1339 maybe-clean-uudecode \
1344 maybe-clean-expect \
1348 maybe-clean-libtermcap \
1351 .PHONY: clean-target
1353 maybe-clean-target-libstdc++-v3 \
1354 maybe-clean-target-libmudflap \
1355 maybe-clean-target-newlib \
1356 maybe-clean-target-libgfortran \
1357 maybe-clean-target-libobjc \
1358 maybe-clean-target-libtermcap \
1359 maybe-clean-target-winsup \
1360 maybe-clean-target-libgloss \
1361 maybe-clean-target-libiberty \
1362 maybe-clean-target-gperf \
1363 maybe-clean-target-examples \
1364 maybe-clean-target-libffi \
1365 maybe-clean-target-libjava \
1366 maybe-clean-target-zlib \
1367 maybe-clean-target-boehm-gc \
1368 maybe-clean-target-qthreads \
1369 maybe-clean-target-rda \
1370 maybe-clean-target-libada
1372 .PHONY: do-distclean
1373 do-distclean: distclean-host distclean-target
1375 .PHONY: distclean-host
1376 distclean-host: maybe-distclean-gcc \
1377 maybe-distclean-ash \
1378 maybe-distclean-autoconf \
1379 maybe-distclean-automake \
1380 maybe-distclean-bash \
1381 maybe-distclean-bfd \
1382 maybe-distclean-opcodes \
1383 maybe-distclean-binutils \
1384 maybe-distclean-bison \
1385 maybe-distclean-byacc \
1386 maybe-distclean-bzip2 \
1387 maybe-distclean-dejagnu \
1388 maybe-distclean-diff \
1389 maybe-distclean-dosutils \
1390 maybe-distclean-etc \
1391 maybe-distclean-fastjar \
1392 maybe-distclean-fileutils \
1393 maybe-distclean-findutils \
1394 maybe-distclean-find \
1395 maybe-distclean-flex \
1396 maybe-distclean-gas \
1397 maybe-distclean-gawk \
1398 maybe-distclean-gettext \
1399 maybe-distclean-gnuserv \
1400 maybe-distclean-gprof \
1401 maybe-distclean-gzip \
1402 maybe-distclean-hello \
1403 maybe-distclean-indent \
1404 maybe-distclean-intl \
1405 maybe-distclean-tcl \
1406 maybe-distclean-itcl \
1407 maybe-distclean-ld \
1408 maybe-distclean-libgui \
1409 maybe-distclean-libbanshee \
1410 maybe-distclean-libiberty \
1411 maybe-distclean-libtool \
1412 maybe-distclean-m4 \
1413 maybe-distclean-make \
1414 maybe-distclean-mmalloc \
1415 maybe-distclean-patch \
1416 maybe-distclean-perl \
1417 maybe-distclean-prms \
1418 maybe-distclean-rcs \
1419 maybe-distclean-readline \
1420 maybe-distclean-release \
1421 maybe-distclean-recode \
1422 maybe-distclean-sed \
1423 maybe-distclean-send-pr \
1424 maybe-distclean-shellutils \
1425 maybe-distclean-sid \
1426 maybe-distclean-sim \
1427 maybe-distclean-tar \
1428 maybe-distclean-texinfo \
1429 maybe-distclean-textutils \
1430 maybe-distclean-time \
1431 maybe-distclean-uudecode \
1432 maybe-distclean-wdiff \
1433 maybe-distclean-zip \
1434 maybe-distclean-zlib \
1435 maybe-distclean-gdb \
1436 maybe-distclean-expect \
1437 maybe-distclean-guile \
1438 maybe-distclean-tk \
1439 maybe-distclean-tix \
1440 maybe-distclean-libtermcap \
1441 maybe-distclean-utils
1443 .PHONY: distclean-target
1445 maybe-distclean-target-libstdc++-v3 \
1446 maybe-distclean-target-libmudflap \
1447 maybe-distclean-target-newlib \
1448 maybe-distclean-target-libgfortran \
1449 maybe-distclean-target-libobjc \
1450 maybe-distclean-target-libtermcap \
1451 maybe-distclean-target-winsup \
1452 maybe-distclean-target-libgloss \
1453 maybe-distclean-target-libiberty \
1454 maybe-distclean-target-gperf \
1455 maybe-distclean-target-examples \
1456 maybe-distclean-target-libffi \
1457 maybe-distclean-target-libjava \
1458 maybe-distclean-target-zlib \
1459 maybe-distclean-target-boehm-gc \
1460 maybe-distclean-target-qthreads \
1461 maybe-distclean-target-rda \
1462 maybe-distclean-target-libada
1464 .PHONY: do-maintainer-clean
1465 do-maintainer-clean: maintainer-clean-host maintainer-clean-target
1467 .PHONY: maintainer-clean-host
1468 maintainer-clean-host: maybe-maintainer-clean-gcc \
1469 maybe-maintainer-clean-ash \
1470 maybe-maintainer-clean-autoconf \
1471 maybe-maintainer-clean-automake \
1472 maybe-maintainer-clean-bash \
1473 maybe-maintainer-clean-bfd \
1474 maybe-maintainer-clean-opcodes \
1475 maybe-maintainer-clean-binutils \
1476 maybe-maintainer-clean-bison \
1477 maybe-maintainer-clean-byacc \
1478 maybe-maintainer-clean-bzip2 \
1479 maybe-maintainer-clean-dejagnu \
1480 maybe-maintainer-clean-diff \
1481 maybe-maintainer-clean-dosutils \
1482 maybe-maintainer-clean-etc \
1483 maybe-maintainer-clean-fastjar \
1484 maybe-maintainer-clean-fileutils \
1485 maybe-maintainer-clean-findutils \
1486 maybe-maintainer-clean-find \
1487 maybe-maintainer-clean-flex \
1488 maybe-maintainer-clean-gas \
1489 maybe-maintainer-clean-gawk \
1490 maybe-maintainer-clean-gettext \
1491 maybe-maintainer-clean-gnuserv \
1492 maybe-maintainer-clean-gprof \
1493 maybe-maintainer-clean-gzip \
1494 maybe-maintainer-clean-hello \
1495 maybe-maintainer-clean-indent \
1496 maybe-maintainer-clean-intl \
1497 maybe-maintainer-clean-tcl \
1498 maybe-maintainer-clean-itcl \
1499 maybe-maintainer-clean-ld \
1500 maybe-maintainer-clean-libgui \
1501 maybe-maintainer-clean-libbanshee \
1502 maybe-maintainer-clean-libiberty \
1503 maybe-maintainer-clean-libtool \
1504 maybe-maintainer-clean-m4 \
1505 maybe-maintainer-clean-make \
1506 maybe-maintainer-clean-mmalloc \
1507 maybe-maintainer-clean-patch \
1508 maybe-maintainer-clean-perl \
1509 maybe-maintainer-clean-prms \
1510 maybe-maintainer-clean-rcs \
1511 maybe-maintainer-clean-readline \
1512 maybe-maintainer-clean-release \
1513 maybe-maintainer-clean-recode \
1514 maybe-maintainer-clean-sed \
1515 maybe-maintainer-clean-send-pr \
1516 maybe-maintainer-clean-shellutils \
1517 maybe-maintainer-clean-sid \
1518 maybe-maintainer-clean-sim \
1519 maybe-maintainer-clean-tar \
1520 maybe-maintainer-clean-texinfo \
1521 maybe-maintainer-clean-textutils \
1522 maybe-maintainer-clean-time \
1523 maybe-maintainer-clean-uudecode \
1524 maybe-maintainer-clean-wdiff \
1525 maybe-maintainer-clean-zip \
1526 maybe-maintainer-clean-zlib \
1527 maybe-maintainer-clean-gdb \
1528 maybe-maintainer-clean-expect \
1529 maybe-maintainer-clean-guile \
1530 maybe-maintainer-clean-tk \
1531 maybe-maintainer-clean-tix \
1532 maybe-maintainer-clean-libtermcap \
1533 maybe-maintainer-clean-utils
1535 .PHONY: maintainer-clean-target
1536 maintainer-clean-target: \
1537 maybe-maintainer-clean-target-libstdc++-v3 \
1538 maybe-maintainer-clean-target-libmudflap \
1539 maybe-maintainer-clean-target-newlib \
1540 maybe-maintainer-clean-target-libgfortran \
1541 maybe-maintainer-clean-target-libobjc \
1542 maybe-maintainer-clean-target-libtermcap \
1543 maybe-maintainer-clean-target-winsup \
1544 maybe-maintainer-clean-target-libgloss \
1545 maybe-maintainer-clean-target-libiberty \
1546 maybe-maintainer-clean-target-gperf \
1547 maybe-maintainer-clean-target-examples \
1548 maybe-maintainer-clean-target-libffi \
1549 maybe-maintainer-clean-target-libjava \
1550 maybe-maintainer-clean-target-zlib \
1551 maybe-maintainer-clean-target-boehm-gc \
1552 maybe-maintainer-clean-target-qthreads \
1553 maybe-maintainer-clean-target-rda \
1554 maybe-maintainer-clean-target-libada
1557 # Here are the targets which correspond to the do-X targets.
1559 .PHONY: info installcheck dvi install-info
1560 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1561 .PHONY: local-clean local-distclean local-maintainer-clean
1563 installcheck: do-installcheck
1566 # Make sure makeinfo is built before we do a `make info', if we're
1567 # in fact building texinfo.
1568 do-info: maybe-all-texinfo
1570 install-info: do-install-info dir.info
1571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1572 if [ -f dir.info ] ; then \
1573 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1577 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1580 -rm -f Makefile config.status config.cache mh-frag mt-frag
1581 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1582 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1583 rm -rf $(TARGET_SUBDIR); \
1585 -rm -rf $(BUILD_SUBDIR)
1586 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1587 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1588 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1589 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1590 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1592 local-maintainer-clean:
1593 @echo "This command is intended for maintainers to use;"
1594 @echo "it deletes files that may require special tools to rebuild."
1596 clean: do-clean local-clean
1597 mostlyclean: do-mostlyclean local-clean
1598 distclean: do-distclean local-clean local-distclean
1599 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1600 maintainer-clean: local-distclean
1601 realclean: maintainer-clean
1603 # Extra dependency for clean-target, owing to the mixed nature of gcc
1604 clean-target: clean-target-libgcc
1605 clean-target-libgcc:
1606 test ! -d gcc/libgcc || \
1607 (cd gcc/libgcc && find . -type d -print) | \
1608 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1613 .PHONY: check do-check
1616 # Only include modules actually being configured and built.
1617 do-check: maybe-check-gcc \
1619 maybe-check-autoconf \
1620 maybe-check-automake \
1623 maybe-check-opcodes \
1624 maybe-check-binutils \
1628 maybe-check-dejagnu \
1630 maybe-check-dosutils \
1632 maybe-check-fastjar \
1633 maybe-check-fileutils \
1634 maybe-check-findutils \
1639 maybe-check-gettext \
1640 maybe-check-gnuserv \
1644 maybe-check-indent \
1649 maybe-check-libgui \
1650 maybe-check-libbanshee \
1651 maybe-check-libiberty \
1652 maybe-check-libtool \
1655 maybe-check-mmalloc \
1660 maybe-check-readline \
1661 maybe-check-release \
1662 maybe-check-recode \
1664 maybe-check-send-pr \
1665 maybe-check-shellutils \
1669 maybe-check-texinfo \
1670 maybe-check-textutils \
1672 maybe-check-uudecode \
1677 maybe-check-expect \
1681 maybe-check-libtermcap \
1683 maybe-check-target-libstdc++-v3 \
1684 maybe-check-target-libmudflap \
1685 maybe-check-target-newlib \
1686 maybe-check-target-libgfortran \
1687 maybe-check-target-libobjc \
1688 maybe-check-target-libtermcap \
1689 maybe-check-target-winsup \
1690 maybe-check-target-libgloss \
1691 maybe-check-target-libiberty \
1692 maybe-check-target-gperf \
1693 maybe-check-target-examples \
1694 maybe-check-target-libffi \
1695 maybe-check-target-libjava \
1696 maybe-check-target-zlib \
1697 maybe-check-target-boehm-gc \
1698 maybe-check-target-qthreads \
1699 maybe-check-target-rda \
1700 maybe-check-target-libada
1702 # Automated reporting of test results.
1704 warning.log: build.log
1705 $(srcdir)/contrib/warn_summary build.log > $@
1708 if test x'$(BOOT_CFLAGS)' != x''; then \
1709 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1711 $(srcdir)/contrib/test_summary -t >$@
1713 echo If you really want to send e-mail, run ./$@ now
1715 mail-report-with-warnings.log: warning.log
1716 if test x'$(BOOT_CFLAGS)' != x''; then \
1717 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1719 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1721 echo If you really want to send e-mail, run ./$@ now
1723 # Installation targets.
1725 .PHONY: install uninstall
1726 install: installdirs install-host install-target
1728 .PHONY: install-host-nogcc
1729 install-host-nogcc: \
1731 maybe-install-autoconf \
1732 maybe-install-automake \
1733 maybe-install-bash \
1735 maybe-install-opcodes \
1736 maybe-install-binutils \
1737 maybe-install-bison \
1738 maybe-install-byacc \
1739 maybe-install-bzip2 \
1740 maybe-install-dejagnu \
1741 maybe-install-diff \
1742 maybe-install-dosutils \
1744 maybe-install-fastjar \
1745 maybe-install-fileutils \
1746 maybe-install-findutils \
1747 maybe-install-find \
1748 maybe-install-flex \
1750 maybe-install-gawk \
1751 maybe-install-gettext \
1752 maybe-install-gnuserv \
1753 maybe-install-gprof \
1754 maybe-install-gzip \
1755 maybe-install-hello \
1756 maybe-install-indent \
1757 maybe-install-intl \
1759 maybe-install-itcl \
1761 maybe-install-libgui \
1762 maybe-install-libbanshee \
1763 maybe-install-libiberty \
1764 maybe-install-libtool \
1766 maybe-install-make \
1767 maybe-install-mmalloc \
1768 maybe-install-patch \
1769 maybe-install-perl \
1770 maybe-install-prms \
1772 maybe-install-readline \
1773 maybe-install-release \
1774 maybe-install-recode \
1776 maybe-install-send-pr \
1777 maybe-install-shellutils \
1781 maybe-install-texinfo \
1782 maybe-install-textutils \
1783 maybe-install-time \
1784 maybe-install-uudecode \
1785 maybe-install-wdiff \
1787 maybe-install-zlib \
1789 maybe-install-expect \
1790 maybe-install-guile \
1793 maybe-install-libtermcap \
1796 .PHONY: install-host
1797 install-host: maybe-install-gcc \
1799 maybe-install-autoconf \
1800 maybe-install-automake \
1801 maybe-install-bash \
1803 maybe-install-opcodes \
1804 maybe-install-binutils \
1805 maybe-install-bison \
1806 maybe-install-byacc \
1807 maybe-install-bzip2 \
1808 maybe-install-dejagnu \
1809 maybe-install-diff \
1810 maybe-install-dosutils \
1812 maybe-install-fastjar \
1813 maybe-install-fileutils \
1814 maybe-install-findutils \
1815 maybe-install-find \
1816 maybe-install-flex \
1818 maybe-install-gawk \
1819 maybe-install-gettext \
1820 maybe-install-gnuserv \
1821 maybe-install-gprof \
1822 maybe-install-gzip \
1823 maybe-install-hello \
1824 maybe-install-indent \
1825 maybe-install-intl \
1827 maybe-install-itcl \
1829 maybe-install-libgui \
1830 maybe-install-libbanshee \
1831 maybe-install-libiberty \
1832 maybe-install-libtool \
1834 maybe-install-make \
1835 maybe-install-mmalloc \
1836 maybe-install-patch \
1837 maybe-install-perl \
1838 maybe-install-prms \
1840 maybe-install-readline \
1841 maybe-install-release \
1842 maybe-install-recode \
1844 maybe-install-send-pr \
1845 maybe-install-shellutils \
1849 maybe-install-texinfo \
1850 maybe-install-textutils \
1851 maybe-install-time \
1852 maybe-install-uudecode \
1853 maybe-install-wdiff \
1855 maybe-install-zlib \
1857 maybe-install-expect \
1858 maybe-install-guile \
1861 maybe-install-libtermcap \
1864 .PHONY: install-target
1866 maybe-install-target-libstdc++-v3 \
1867 maybe-install-target-libmudflap \
1868 maybe-install-target-newlib \
1869 maybe-install-target-libgfortran \
1870 maybe-install-target-libobjc \
1871 maybe-install-target-libtermcap \
1872 maybe-install-target-winsup \
1873 maybe-install-target-libgloss \
1874 maybe-install-target-libiberty \
1875 maybe-install-target-gperf \
1876 maybe-install-target-examples \
1877 maybe-install-target-libffi \
1878 maybe-install-target-libjava \
1879 maybe-install-target-zlib \
1880 maybe-install-target-boehm-gc \
1881 maybe-install-target-qthreads \
1882 maybe-install-target-rda \
1883 maybe-install-target-libada
1886 @echo "the uninstall target is not supported in this tree"
1889 install.all: install-no-fixedincludes
1890 @if [ -f ./gcc/Makefile ] ; then \
1891 r=`${PWD_COMMAND}` ; export r ; \
1894 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
1899 # install-no-fixedincludes is used because Cygnus can not distribute
1900 # the fixed header files.
1901 .PHONY: install-no-fixedincludes
1902 install-no-fixedincludes: installdirs install-host-nogcc \
1903 install-target gcc-no-fixedincludes
1905 ### other supporting targets
1908 $(DESTDIR)$(prefix) \
1909 $(DESTDIR)$(exec_prefix)
1911 installdirs: mkinstalldirs
1912 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
1914 dir.info: do-install-info
1915 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
1916 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
1917 mv -f dir.info.new dir.info ; \
1922 @echo "Building a full distribution of this tree isn't done"
1923 @echo "via 'make dist'. Check out the etc/ subdirectory"
1927 # Right now this just builds TAGS in each subdirectory. emacs19 has the
1928 # ability to use several tags files at once, so there is probably no need
1929 # to combine them into one big TAGS file (like CVS 1.3 does). We could
1930 # (if we felt like it) have this Makefile write a piece of elisp which
1931 # the user could load to tell emacs19 where all the TAGS files we just
1935 # --------------------------------------
1936 # Modules which run on the build machine
1937 # --------------------------------------
1939 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
1940 maybe-configure-build-libiberty:
1941 configure-build-libiberty:
1942 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
1943 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
1944 r=`${PWD_COMMAND}`; export r; \
1945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1946 AR="$(AR_FOR_BUILD)"; export AR; \
1947 AS="$(AS_FOR_BUILD)"; export AS; \
1948 CC="$(CC_FOR_BUILD)"; export CC; \
1949 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
1950 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
1951 CXX="$(CXX_FOR_BUILD)"; export CXX; \
1952 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
1953 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
1954 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
1955 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
1956 LD="$(LD_FOR_BUILD)"; export LD; \
1957 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
1958 NM="$(NM_FOR_BUILD)"; export NM; \
1959 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
1960 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
1961 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
1962 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
1964 /* | [A-Za-z]:[\\/]*) \
1965 topdir=$(srcdir) ;; \
1967 case "$(BUILD_SUBDIR)" in \
1968 .) topdir="../$(srcdir)" ;; \
1969 *) topdir="../../$(srcdir)" ;; \
1972 if [ "$(srcdir)" = "." ] ; then \
1973 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
1974 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
1975 if [ -f Makefile ]; then \
1976 if $(MAKE) distclean; then \
1990 srcdiroption="--srcdir=."; \
1993 srcdiroption="--srcdir=$${topdir}/libiberty"; \
1994 libsrcdir="$$s/libiberty"; \
1996 rm -f no-such-file || : ; \
1997 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
1998 $(BUILD_CONFIGARGS) $${srcdiroption} \
1999 --with-build-subdir="$(BUILD_SUBDIR)" \
2002 .PHONY: all-build-libiberty maybe-all-build-libiberty
2003 maybe-all-build-libiberty:
2004 all-build-libiberty: configure-build-libiberty
2005 @r=`${PWD_COMMAND}`; export r; \
2006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2007 (cd $(BUILD_SUBDIR)/libiberty && $(MAKE) all)
2009 .PHONY: configure-build-libbanshee maybe-configure-build-libbanshee
2010 maybe-configure-build-libbanshee:
2011 configure-build-libbanshee:
2012 @test ! -f $(BUILD_SUBDIR)/libbanshee/Makefile || exit 0; \
2013 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libbanshee ; \
2014 r=`${PWD_COMMAND}`; export r; \
2015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2016 AR="$(AR_FOR_BUILD)"; export AR; \
2017 AS="$(AS_FOR_BUILD)"; export AS; \
2018 CC="$(CC_FOR_BUILD)"; export CC; \
2019 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
2020 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
2021 CXX="$(CXX_FOR_BUILD)"; export CXX; \
2022 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
2023 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
2024 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
2025 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
2026 LD="$(LD_FOR_BUILD)"; export LD; \
2027 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
2028 NM="$(NM_FOR_BUILD)"; export NM; \
2029 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
2030 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
2031 echo Configuring in $(BUILD_SUBDIR)/libbanshee; \
2032 cd "$(BUILD_SUBDIR)/libbanshee" || exit 1; \
2034 /* | [A-Za-z]:[\\/]*) \
2035 topdir=$(srcdir) ;; \
2037 case "$(BUILD_SUBDIR)" in \
2038 .) topdir="../$(srcdir)" ;; \
2039 *) topdir="../../$(srcdir)" ;; \
2042 if [ "$(srcdir)" = "." ] ; then \
2043 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2044 if $(SHELL) $$s/symlink-tree $${topdir}/libbanshee "no-such-file" ; then \
2045 if [ -f Makefile ]; then \
2046 if $(MAKE) distclean; then \
2060 srcdiroption="--srcdir=."; \
2063 srcdiroption="--srcdir=$${topdir}/libbanshee"; \
2064 libsrcdir="$$s/libbanshee"; \
2066 rm -f no-such-file || : ; \
2067 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2068 $(BUILD_CONFIGARGS) $${srcdiroption} \
2069 --with-build-subdir="$(BUILD_SUBDIR)" \
2072 .PHONY: all-build-libbanshee maybe-all-build-libbanshee
2073 maybe-all-build-libbanshee:
2074 all-build-libbanshee: configure-build-libbanshee
2075 @r=`${PWD_COMMAND}`; export r; \
2076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2077 (cd $(BUILD_SUBDIR)/libbanshee && $(MAKE) all)
2080 # --------------------------------------
2081 # Modules which run on the host machine
2082 # --------------------------------------
2084 .PHONY: configure-ash maybe-configure-ash
2085 maybe-configure-ash:
2087 @test ! -f ash/Makefile || exit 0; \
2088 [ -d ash ] || mkdir ash; \
2089 r=`${PWD_COMMAND}`; export r; \
2090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2091 CC="$(CC)"; export CC; \
2092 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2093 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
2094 CXX="$(CXX)"; export CXX; \
2095 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2096 AR="$(AR)"; export AR; \
2097 AS="$(AS)"; export AS; \
2098 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2099 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2100 LD="$(LD)"; export LD; \
2101 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
2102 NM="$(NM)"; export NM; \
2103 RANLIB="$(RANLIB)"; export RANLIB; \
2104 WINDRES="$(WINDRES)"; export WINDRES; \
2105 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2106 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2107 echo Configuring in ash; \
2111 srcdiroption="--srcdir=."; \
2113 /* | [A-Za-z]:[\\/]*) \
2114 srcdiroption="--srcdir=$(srcdir)/ash"; \
2115 libsrcdir="$$s/ash";; \
2117 srcdiroption="--srcdir=../$(srcdir)/ash"; \
2118 libsrcdir="$$s/ash";; \
2120 $(SHELL) $${libsrcdir}/configure \
2121 $(HOST_CONFIGARGS) $${srcdiroption} \
2124 .PHONY: all-ash maybe-all-ash
2126 all-ash: configure-ash
2127 @r=`${PWD_COMMAND}`; export r; \
2128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2130 (cd ash && $(MAKE) $(FLAGS_TO_PASS) all)
2132 .PHONY: check-ash maybe-check-ash
2136 @r=`${PWD_COMMAND}`; export r; \
2137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2139 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2142 .PHONY: install-ash maybe-install-ash
2145 install-ash: installdirs
2146 @r=`${PWD_COMMAND}`; export r; \
2147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2149 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2152 # Other targets (info, dvi, etc.)
2154 .PHONY: maybe-info-ash info-ash
2159 @[ -f ./ash/Makefile ] || exit 0; \
2160 r=`${PWD_COMMAND}`; export r; \
2161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2163 for flag in $(EXTRA_HOST_FLAGS); do \
2164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2166 echo "Doing info in ash" ; \
2168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2170 "RANLIB=$${RANLIB}" \
2171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2176 .PHONY: maybe-dvi-ash dvi-ash
2181 @[ -f ./ash/Makefile ] || exit 0; \
2182 r=`${PWD_COMMAND}`; export r; \
2183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2185 for flag in $(EXTRA_HOST_FLAGS); do \
2186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2188 echo "Doing dvi in ash" ; \
2190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2192 "RANLIB=$${RANLIB}" \
2193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2198 .PHONY: maybe-TAGS-ash TAGS-ash
2203 @[ -f ./ash/Makefile ] || exit 0; \
2204 r=`${PWD_COMMAND}`; export r; \
2205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2207 for flag in $(EXTRA_HOST_FLAGS); do \
2208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2210 echo "Doing TAGS in ash" ; \
2212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2214 "RANLIB=$${RANLIB}" \
2215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2220 .PHONY: maybe-install-info-ash install-info-ash
2221 maybe-install-info-ash:
2226 @[ -f ./ash/Makefile ] || exit 0; \
2227 r=`${PWD_COMMAND}`; export r; \
2228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2230 for flag in $(EXTRA_HOST_FLAGS); do \
2231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2233 echo "Doing install-info in ash" ; \
2235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2237 "RANLIB=$${RANLIB}" \
2238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2243 .PHONY: maybe-installcheck-ash installcheck-ash
2244 maybe-installcheck-ash:
2248 @[ -f ./ash/Makefile ] || exit 0; \
2249 r=`${PWD_COMMAND}`; export r; \
2250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2252 for flag in $(EXTRA_HOST_FLAGS); do \
2253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2255 echo "Doing installcheck in ash" ; \
2257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2259 "RANLIB=$${RANLIB}" \
2260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2265 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2266 maybe-mostlyclean-ash:
2269 @[ -f ./ash/Makefile ] || exit 0; \
2270 r=`${PWD_COMMAND}`; export r; \
2271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2273 for flag in $(EXTRA_HOST_FLAGS); do \
2274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2276 echo "Doing mostlyclean in ash" ; \
2278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2280 "RANLIB=$${RANLIB}" \
2281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2286 .PHONY: maybe-clean-ash clean-ash
2290 @[ -f ./ash/Makefile ] || exit 0; \
2291 r=`${PWD_COMMAND}`; export r; \
2292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2294 for flag in $(EXTRA_HOST_FLAGS); do \
2295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2297 echo "Doing clean in ash" ; \
2299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2301 "RANLIB=$${RANLIB}" \
2302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2307 .PHONY: maybe-distclean-ash distclean-ash
2308 maybe-distclean-ash:
2311 @[ -f ./ash/Makefile ] || exit 0; \
2312 r=`${PWD_COMMAND}`; export r; \
2313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2315 for flag in $(EXTRA_HOST_FLAGS); do \
2316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2318 echo "Doing distclean in ash" ; \
2320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2322 "RANLIB=$${RANLIB}" \
2323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2328 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2329 maybe-maintainer-clean-ash:
2331 maintainer-clean-ash:
2332 @[ -f ./ash/Makefile ] || exit 0; \
2333 r=`${PWD_COMMAND}`; export r; \
2334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2336 for flag in $(EXTRA_HOST_FLAGS); do \
2337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2339 echo "Doing maintainer-clean in ash" ; \
2341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2343 "RANLIB=$${RANLIB}" \
2344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2350 .PHONY: configure-autoconf maybe-configure-autoconf
2351 maybe-configure-autoconf:
2353 @test ! -f autoconf/Makefile || exit 0; \
2354 [ -d autoconf ] || mkdir autoconf; \
2355 r=`${PWD_COMMAND}`; export r; \
2356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2357 CC="$(CC)"; export CC; \
2358 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2359 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
2360 CXX="$(CXX)"; export CXX; \
2361 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2362 AR="$(AR)"; export AR; \
2363 AS="$(AS)"; export AS; \
2364 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2365 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2366 LD="$(LD)"; export LD; \
2367 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
2368 NM="$(NM)"; export NM; \
2369 RANLIB="$(RANLIB)"; export RANLIB; \
2370 WINDRES="$(WINDRES)"; export WINDRES; \
2371 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2372 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2373 echo Configuring in autoconf; \
2374 cd autoconf || exit 1; \
2377 srcdiroption="--srcdir=."; \
2379 /* | [A-Za-z]:[\\/]*) \
2380 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2381 libsrcdir="$$s/autoconf";; \
2383 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2384 libsrcdir="$$s/autoconf";; \
2386 $(SHELL) $${libsrcdir}/configure \
2387 $(HOST_CONFIGARGS) $${srcdiroption} \
2390 .PHONY: all-autoconf maybe-all-autoconf
2392 all-autoconf: configure-autoconf
2393 @r=`${PWD_COMMAND}`; export r; \
2394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2396 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all)
2398 .PHONY: check-autoconf maybe-check-autoconf
2399 maybe-check-autoconf:
2402 @r=`${PWD_COMMAND}`; export r; \
2403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2405 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
2408 .PHONY: install-autoconf maybe-install-autoconf
2409 maybe-install-autoconf:
2411 install-autoconf: installdirs
2412 @r=`${PWD_COMMAND}`; export r; \
2413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2415 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
2418 # Other targets (info, dvi, etc.)
2420 .PHONY: maybe-info-autoconf info-autoconf
2421 maybe-info-autoconf:
2425 @[ -f ./autoconf/Makefile ] || exit 0; \
2426 r=`${PWD_COMMAND}`; export r; \
2427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2429 for flag in $(EXTRA_HOST_FLAGS); do \
2430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2432 echo "Doing info in autoconf" ; \
2434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2436 "RANLIB=$${RANLIB}" \
2437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2442 .PHONY: maybe-dvi-autoconf dvi-autoconf
2447 @[ -f ./autoconf/Makefile ] || exit 0; \
2448 r=`${PWD_COMMAND}`; export r; \
2449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2451 for flag in $(EXTRA_HOST_FLAGS); do \
2452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2454 echo "Doing dvi in autoconf" ; \
2456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2458 "RANLIB=$${RANLIB}" \
2459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2464 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2465 maybe-TAGS-autoconf:
2469 @[ -f ./autoconf/Makefile ] || exit 0; \
2470 r=`${PWD_COMMAND}`; export r; \
2471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2473 for flag in $(EXTRA_HOST_FLAGS); do \
2474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2476 echo "Doing TAGS in autoconf" ; \
2478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2480 "RANLIB=$${RANLIB}" \
2481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2486 .PHONY: maybe-install-info-autoconf install-info-autoconf
2487 maybe-install-info-autoconf:
2489 install-info-autoconf: \
2490 configure-autoconf \
2492 @[ -f ./autoconf/Makefile ] || exit 0; \
2493 r=`${PWD_COMMAND}`; export r; \
2494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2496 for flag in $(EXTRA_HOST_FLAGS); do \
2497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2499 echo "Doing install-info in autoconf" ; \
2501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2503 "RANLIB=$${RANLIB}" \
2504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2509 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
2510 maybe-installcheck-autoconf:
2512 installcheck-autoconf: \
2514 @[ -f ./autoconf/Makefile ] || exit 0; \
2515 r=`${PWD_COMMAND}`; export r; \
2516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2518 for flag in $(EXTRA_HOST_FLAGS); do \
2519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2521 echo "Doing installcheck in autoconf" ; \
2523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2525 "RANLIB=$${RANLIB}" \
2526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2531 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
2532 maybe-mostlyclean-autoconf:
2534 mostlyclean-autoconf:
2535 @[ -f ./autoconf/Makefile ] || exit 0; \
2536 r=`${PWD_COMMAND}`; export r; \
2537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2539 for flag in $(EXTRA_HOST_FLAGS); do \
2540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2542 echo "Doing mostlyclean in autoconf" ; \
2544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2546 "RANLIB=$${RANLIB}" \
2547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2552 .PHONY: maybe-clean-autoconf clean-autoconf
2553 maybe-clean-autoconf:
2556 @[ -f ./autoconf/Makefile ] || exit 0; \
2557 r=`${PWD_COMMAND}`; export r; \
2558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2560 for flag in $(EXTRA_HOST_FLAGS); do \
2561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2563 echo "Doing clean in autoconf" ; \
2565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2567 "RANLIB=$${RANLIB}" \
2568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2573 .PHONY: maybe-distclean-autoconf distclean-autoconf
2574 maybe-distclean-autoconf:
2577 @[ -f ./autoconf/Makefile ] || exit 0; \
2578 r=`${PWD_COMMAND}`; export r; \
2579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2581 for flag in $(EXTRA_HOST_FLAGS); do \
2582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2584 echo "Doing distclean in autoconf" ; \
2586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2588 "RANLIB=$${RANLIB}" \
2589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2594 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
2595 maybe-maintainer-clean-autoconf:
2597 maintainer-clean-autoconf:
2598 @[ -f ./autoconf/Makefile ] || exit 0; \
2599 r=`${PWD_COMMAND}`; export r; \
2600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2602 for flag in $(EXTRA_HOST_FLAGS); do \
2603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2605 echo "Doing maintainer-clean in autoconf" ; \
2607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2609 "RANLIB=$${RANLIB}" \
2610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2616 .PHONY: configure-automake maybe-configure-automake
2617 maybe-configure-automake:
2619 @test ! -f automake/Makefile || exit 0; \
2620 [ -d automake ] || mkdir automake; \
2621 r=`${PWD_COMMAND}`; export r; \
2622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2623 CC="$(CC)"; export CC; \
2624 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2625 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
2626 CXX="$(CXX)"; export CXX; \
2627 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2628 AR="$(AR)"; export AR; \
2629 AS="$(AS)"; export AS; \
2630 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2631 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2632 LD="$(LD)"; export LD; \
2633 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
2634 NM="$(NM)"; export NM; \
2635 RANLIB="$(RANLIB)"; export RANLIB; \
2636 WINDRES="$(WINDRES)"; export WINDRES; \
2637 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2638 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2639 echo Configuring in automake; \
2640 cd automake || exit 1; \
2643 srcdiroption="--srcdir=."; \
2645 /* | [A-Za-z]:[\\/]*) \
2646 srcdiroption="--srcdir=$(srcdir)/automake"; \
2647 libsrcdir="$$s/automake";; \
2649 srcdiroption="--srcdir=../$(srcdir)/automake"; \
2650 libsrcdir="$$s/automake";; \
2652 $(SHELL) $${libsrcdir}/configure \
2653 $(HOST_CONFIGARGS) $${srcdiroption} \
2656 .PHONY: all-automake maybe-all-automake
2658 all-automake: configure-automake
2659 @r=`${PWD_COMMAND}`; export r; \
2660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2662 (cd automake && $(MAKE) $(FLAGS_TO_PASS) all)
2664 .PHONY: check-automake maybe-check-automake
2665 maybe-check-automake:
2668 @r=`${PWD_COMMAND}`; export r; \
2669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2671 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
2674 .PHONY: install-automake maybe-install-automake
2675 maybe-install-automake:
2677 install-automake: installdirs
2678 @r=`${PWD_COMMAND}`; export r; \
2679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2681 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
2684 # Other targets (info, dvi, etc.)
2686 .PHONY: maybe-info-automake info-automake
2687 maybe-info-automake:
2691 @[ -f ./automake/Makefile ] || exit 0; \
2692 r=`${PWD_COMMAND}`; export r; \
2693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2695 for flag in $(EXTRA_HOST_FLAGS); do \
2696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2698 echo "Doing info in automake" ; \
2700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2702 "RANLIB=$${RANLIB}" \
2703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2708 .PHONY: maybe-dvi-automake dvi-automake
2713 @[ -f ./automake/Makefile ] || exit 0; \
2714 r=`${PWD_COMMAND}`; export r; \
2715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2717 for flag in $(EXTRA_HOST_FLAGS); do \
2718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2720 echo "Doing dvi in automake" ; \
2722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2724 "RANLIB=$${RANLIB}" \
2725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2730 .PHONY: maybe-TAGS-automake TAGS-automake
2731 maybe-TAGS-automake:
2735 @[ -f ./automake/Makefile ] || exit 0; \
2736 r=`${PWD_COMMAND}`; export r; \
2737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2739 for flag in $(EXTRA_HOST_FLAGS); do \
2740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2742 echo "Doing TAGS in automake" ; \
2744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2746 "RANLIB=$${RANLIB}" \
2747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2752 .PHONY: maybe-install-info-automake install-info-automake
2753 maybe-install-info-automake:
2755 install-info-automake: \
2756 configure-automake \
2758 @[ -f ./automake/Makefile ] || exit 0; \
2759 r=`${PWD_COMMAND}`; export r; \
2760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2762 for flag in $(EXTRA_HOST_FLAGS); do \
2763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2765 echo "Doing install-info in automake" ; \
2767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2769 "RANLIB=$${RANLIB}" \
2770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2775 .PHONY: maybe-installcheck-automake installcheck-automake
2776 maybe-installcheck-automake:
2778 installcheck-automake: \
2780 @[ -f ./automake/Makefile ] || exit 0; \
2781 r=`${PWD_COMMAND}`; export r; \
2782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2784 for flag in $(EXTRA_HOST_FLAGS); do \
2785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2787 echo "Doing installcheck in automake" ; \
2789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2791 "RANLIB=$${RANLIB}" \
2792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2797 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
2798 maybe-mostlyclean-automake:
2800 mostlyclean-automake:
2801 @[ -f ./automake/Makefile ] || exit 0; \
2802 r=`${PWD_COMMAND}`; export r; \
2803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2805 for flag in $(EXTRA_HOST_FLAGS); do \
2806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2808 echo "Doing mostlyclean in automake" ; \
2810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2812 "RANLIB=$${RANLIB}" \
2813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2818 .PHONY: maybe-clean-automake clean-automake
2819 maybe-clean-automake:
2822 @[ -f ./automake/Makefile ] || exit 0; \
2823 r=`${PWD_COMMAND}`; export r; \
2824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2826 for flag in $(EXTRA_HOST_FLAGS); do \
2827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2829 echo "Doing clean in automake" ; \
2831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2833 "RANLIB=$${RANLIB}" \
2834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2839 .PHONY: maybe-distclean-automake distclean-automake
2840 maybe-distclean-automake:
2843 @[ -f ./automake/Makefile ] || exit 0; \
2844 r=`${PWD_COMMAND}`; export r; \
2845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2847 for flag in $(EXTRA_HOST_FLAGS); do \
2848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2850 echo "Doing distclean in automake" ; \
2852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2854 "RANLIB=$${RANLIB}" \
2855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2860 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
2861 maybe-maintainer-clean-automake:
2863 maintainer-clean-automake:
2864 @[ -f ./automake/Makefile ] || exit 0; \
2865 r=`${PWD_COMMAND}`; export r; \
2866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2868 for flag in $(EXTRA_HOST_FLAGS); do \
2869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2871 echo "Doing maintainer-clean in automake" ; \
2873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2875 "RANLIB=$${RANLIB}" \
2876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2882 .PHONY: configure-bash maybe-configure-bash
2883 maybe-configure-bash:
2885 @test ! -f bash/Makefile || exit 0; \
2886 [ -d bash ] || mkdir bash; \
2887 r=`${PWD_COMMAND}`; export r; \
2888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2889 CC="$(CC)"; export CC; \
2890 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2891 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
2892 CXX="$(CXX)"; export CXX; \
2893 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2894 AR="$(AR)"; export AR; \
2895 AS="$(AS)"; export AS; \
2896 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2897 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2898 LD="$(LD)"; export LD; \
2899 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
2900 NM="$(NM)"; export NM; \
2901 RANLIB="$(RANLIB)"; export RANLIB; \
2902 WINDRES="$(WINDRES)"; export WINDRES; \
2903 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2904 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2905 echo Configuring in bash; \
2906 cd bash || exit 1; \
2909 srcdiroption="--srcdir=."; \
2911 /* | [A-Za-z]:[\\/]*) \
2912 srcdiroption="--srcdir=$(srcdir)/bash"; \
2913 libsrcdir="$$s/bash";; \
2915 srcdiroption="--srcdir=../$(srcdir)/bash"; \
2916 libsrcdir="$$s/bash";; \
2918 $(SHELL) $${libsrcdir}/configure \
2919 $(HOST_CONFIGARGS) $${srcdiroption} \
2922 .PHONY: all-bash maybe-all-bash
2924 all-bash: configure-bash
2925 @r=`${PWD_COMMAND}`; export r; \
2926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2928 (cd bash && $(MAKE) $(FLAGS_TO_PASS) all)
2930 .PHONY: check-bash maybe-check-bash
2934 @r=`${PWD_COMMAND}`; export r; \
2935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2937 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
2940 .PHONY: install-bash maybe-install-bash
2943 install-bash: installdirs
2944 @r=`${PWD_COMMAND}`; export r; \
2945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2947 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
2950 # Other targets (info, dvi, etc.)
2952 .PHONY: maybe-info-bash info-bash
2957 @[ -f ./bash/Makefile ] || exit 0; \
2958 r=`${PWD_COMMAND}`; export r; \
2959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2961 for flag in $(EXTRA_HOST_FLAGS); do \
2962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2964 echo "Doing info in bash" ; \
2966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2968 "RANLIB=$${RANLIB}" \
2969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2974 .PHONY: maybe-dvi-bash dvi-bash
2979 @[ -f ./bash/Makefile ] || exit 0; \
2980 r=`${PWD_COMMAND}`; export r; \
2981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2983 for flag in $(EXTRA_HOST_FLAGS); do \
2984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2986 echo "Doing dvi in bash" ; \
2988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2990 "RANLIB=$${RANLIB}" \
2991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2996 .PHONY: maybe-TAGS-bash TAGS-bash
3001 @[ -f ./bash/Makefile ] || exit 0; \
3002 r=`${PWD_COMMAND}`; export r; \
3003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3005 for flag in $(EXTRA_HOST_FLAGS); do \
3006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3008 echo "Doing TAGS in bash" ; \
3010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3012 "RANLIB=$${RANLIB}" \
3013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3018 .PHONY: maybe-install-info-bash install-info-bash
3019 maybe-install-info-bash:
3021 install-info-bash: \
3024 @[ -f ./bash/Makefile ] || exit 0; \
3025 r=`${PWD_COMMAND}`; export r; \
3026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3028 for flag in $(EXTRA_HOST_FLAGS); do \
3029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3031 echo "Doing install-info in bash" ; \
3033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3035 "RANLIB=$${RANLIB}" \
3036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3041 .PHONY: maybe-installcheck-bash installcheck-bash
3042 maybe-installcheck-bash:
3044 installcheck-bash: \
3046 @[ -f ./bash/Makefile ] || exit 0; \
3047 r=`${PWD_COMMAND}`; export r; \
3048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3050 for flag in $(EXTRA_HOST_FLAGS); do \
3051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3053 echo "Doing installcheck in bash" ; \
3055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3057 "RANLIB=$${RANLIB}" \
3058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3063 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3064 maybe-mostlyclean-bash:
3067 @[ -f ./bash/Makefile ] || exit 0; \
3068 r=`${PWD_COMMAND}`; export r; \
3069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3071 for flag in $(EXTRA_HOST_FLAGS); do \
3072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3074 echo "Doing mostlyclean in bash" ; \
3076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3078 "RANLIB=$${RANLIB}" \
3079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3084 .PHONY: maybe-clean-bash clean-bash
3088 @[ -f ./bash/Makefile ] || exit 0; \
3089 r=`${PWD_COMMAND}`; export r; \
3090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3092 for flag in $(EXTRA_HOST_FLAGS); do \
3093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3095 echo "Doing clean in bash" ; \
3097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3099 "RANLIB=$${RANLIB}" \
3100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3105 .PHONY: maybe-distclean-bash distclean-bash
3106 maybe-distclean-bash:
3109 @[ -f ./bash/Makefile ] || exit 0; \
3110 r=`${PWD_COMMAND}`; export r; \
3111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3113 for flag in $(EXTRA_HOST_FLAGS); do \
3114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3116 echo "Doing distclean in bash" ; \
3118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3120 "RANLIB=$${RANLIB}" \
3121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3126 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3127 maybe-maintainer-clean-bash:
3129 maintainer-clean-bash:
3130 @[ -f ./bash/Makefile ] || exit 0; \
3131 r=`${PWD_COMMAND}`; export r; \
3132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3134 for flag in $(EXTRA_HOST_FLAGS); do \
3135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3137 echo "Doing maintainer-clean in bash" ; \
3139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3141 "RANLIB=$${RANLIB}" \
3142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3148 .PHONY: configure-bfd maybe-configure-bfd
3149 maybe-configure-bfd:
3151 @test ! -f bfd/Makefile || exit 0; \
3152 [ -d bfd ] || mkdir bfd; \
3153 r=`${PWD_COMMAND}`; export r; \
3154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3155 CC="$(CC)"; export CC; \
3156 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3157 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3158 CXX="$(CXX)"; export CXX; \
3159 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3160 AR="$(AR)"; export AR; \
3161 AS="$(AS)"; export AS; \
3162 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3163 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3164 LD="$(LD)"; export LD; \
3165 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
3166 NM="$(NM)"; export NM; \
3167 RANLIB="$(RANLIB)"; export RANLIB; \
3168 WINDRES="$(WINDRES)"; export WINDRES; \
3169 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3170 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3171 echo Configuring in bfd; \
3175 srcdiroption="--srcdir=."; \
3177 /* | [A-Za-z]:[\\/]*) \
3178 srcdiroption="--srcdir=$(srcdir)/bfd"; \
3179 libsrcdir="$$s/bfd";; \
3181 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3182 libsrcdir="$$s/bfd";; \
3184 $(SHELL) $${libsrcdir}/configure \
3185 $(HOST_CONFIGARGS) $${srcdiroption} \
3188 .PHONY: all-bfd maybe-all-bfd
3190 all-bfd: configure-bfd
3191 @r=`${PWD_COMMAND}`; export r; \
3192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3194 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) all)
3196 .PHONY: check-bfd maybe-check-bfd
3200 @r=`${PWD_COMMAND}`; export r; \
3201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3203 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
3206 .PHONY: install-bfd maybe-install-bfd
3209 install-bfd: installdirs
3210 @r=`${PWD_COMMAND}`; export r; \
3211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3213 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
3216 # Other targets (info, dvi, etc.)
3218 .PHONY: maybe-info-bfd info-bfd
3223 @[ -f ./bfd/Makefile ] || exit 0; \
3224 r=`${PWD_COMMAND}`; export r; \
3225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3227 for flag in $(EXTRA_HOST_FLAGS); do \
3228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3230 echo "Doing info in bfd" ; \
3232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3234 "RANLIB=$${RANLIB}" \
3235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3240 .PHONY: maybe-dvi-bfd dvi-bfd
3245 @[ -f ./bfd/Makefile ] || exit 0; \
3246 r=`${PWD_COMMAND}`; export r; \
3247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3249 for flag in $(EXTRA_HOST_FLAGS); do \
3250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3252 echo "Doing dvi in bfd" ; \
3254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3256 "RANLIB=$${RANLIB}" \
3257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3262 .PHONY: maybe-TAGS-bfd TAGS-bfd
3267 @[ -f ./bfd/Makefile ] || exit 0; \
3268 r=`${PWD_COMMAND}`; export r; \
3269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3271 for flag in $(EXTRA_HOST_FLAGS); do \
3272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3274 echo "Doing TAGS in bfd" ; \
3276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3278 "RANLIB=$${RANLIB}" \
3279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3284 .PHONY: maybe-install-info-bfd install-info-bfd
3285 maybe-install-info-bfd:
3290 @[ -f ./bfd/Makefile ] || exit 0; \
3291 r=`${PWD_COMMAND}`; export r; \
3292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3294 for flag in $(EXTRA_HOST_FLAGS); do \
3295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3297 echo "Doing install-info in bfd" ; \
3299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3301 "RANLIB=$${RANLIB}" \
3302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3307 .PHONY: maybe-installcheck-bfd installcheck-bfd
3308 maybe-installcheck-bfd:
3312 @[ -f ./bfd/Makefile ] || exit 0; \
3313 r=`${PWD_COMMAND}`; export r; \
3314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3316 for flag in $(EXTRA_HOST_FLAGS); do \
3317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3319 echo "Doing installcheck in bfd" ; \
3321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3323 "RANLIB=$${RANLIB}" \
3324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3329 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3330 maybe-mostlyclean-bfd:
3333 @[ -f ./bfd/Makefile ] || exit 0; \
3334 r=`${PWD_COMMAND}`; export r; \
3335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3337 for flag in $(EXTRA_HOST_FLAGS); do \
3338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3340 echo "Doing mostlyclean in bfd" ; \
3342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3344 "RANLIB=$${RANLIB}" \
3345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3350 .PHONY: maybe-clean-bfd clean-bfd
3354 @[ -f ./bfd/Makefile ] || exit 0; \
3355 r=`${PWD_COMMAND}`; export r; \
3356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3358 for flag in $(EXTRA_HOST_FLAGS); do \
3359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3361 echo "Doing clean in bfd" ; \
3363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3365 "RANLIB=$${RANLIB}" \
3366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3371 .PHONY: maybe-distclean-bfd distclean-bfd
3372 maybe-distclean-bfd:
3375 @[ -f ./bfd/Makefile ] || exit 0; \
3376 r=`${PWD_COMMAND}`; export r; \
3377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3379 for flag in $(EXTRA_HOST_FLAGS); do \
3380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3382 echo "Doing distclean in bfd" ; \
3384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3386 "RANLIB=$${RANLIB}" \
3387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3392 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3393 maybe-maintainer-clean-bfd:
3395 maintainer-clean-bfd:
3396 @[ -f ./bfd/Makefile ] || exit 0; \
3397 r=`${PWD_COMMAND}`; export r; \
3398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3400 for flag in $(EXTRA_HOST_FLAGS); do \
3401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3403 echo "Doing maintainer-clean in bfd" ; \
3405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3407 "RANLIB=$${RANLIB}" \
3408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3414 .PHONY: configure-opcodes maybe-configure-opcodes
3415 maybe-configure-opcodes:
3417 @test ! -f opcodes/Makefile || exit 0; \
3418 [ -d opcodes ] || mkdir opcodes; \
3419 r=`${PWD_COMMAND}`; export r; \
3420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3421 CC="$(CC)"; export CC; \
3422 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3423 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3424 CXX="$(CXX)"; export CXX; \
3425 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3426 AR="$(AR)"; export AR; \
3427 AS="$(AS)"; export AS; \
3428 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3429 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3430 LD="$(LD)"; export LD; \
3431 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
3432 NM="$(NM)"; export NM; \
3433 RANLIB="$(RANLIB)"; export RANLIB; \
3434 WINDRES="$(WINDRES)"; export WINDRES; \
3435 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3436 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3437 echo Configuring in opcodes; \
3438 cd opcodes || exit 1; \
3441 srcdiroption="--srcdir=."; \
3443 /* | [A-Za-z]:[\\/]*) \
3444 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
3445 libsrcdir="$$s/opcodes";; \
3447 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
3448 libsrcdir="$$s/opcodes";; \
3450 $(SHELL) $${libsrcdir}/configure \
3451 $(HOST_CONFIGARGS) $${srcdiroption} \
3454 .PHONY: all-opcodes maybe-all-opcodes
3456 all-opcodes: configure-opcodes
3457 @r=`${PWD_COMMAND}`; export r; \
3458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3460 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) all)
3462 .PHONY: check-opcodes maybe-check-opcodes
3463 maybe-check-opcodes:
3466 @r=`${PWD_COMMAND}`; export r; \
3467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3469 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
3472 .PHONY: install-opcodes maybe-install-opcodes
3473 maybe-install-opcodes:
3475 install-opcodes: installdirs
3476 @r=`${PWD_COMMAND}`; export r; \
3477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3479 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
3482 # Other targets (info, dvi, etc.)
3484 .PHONY: maybe-info-opcodes info-opcodes
3489 @[ -f ./opcodes/Makefile ] || exit 0; \
3490 r=`${PWD_COMMAND}`; export r; \
3491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3493 for flag in $(EXTRA_HOST_FLAGS); do \
3494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3496 echo "Doing info in opcodes" ; \
3498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3500 "RANLIB=$${RANLIB}" \
3501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3506 .PHONY: maybe-dvi-opcodes dvi-opcodes
3511 @[ -f ./opcodes/Makefile ] || exit 0; \
3512 r=`${PWD_COMMAND}`; export r; \
3513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3515 for flag in $(EXTRA_HOST_FLAGS); do \
3516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3518 echo "Doing dvi in opcodes" ; \
3520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3522 "RANLIB=$${RANLIB}" \
3523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3528 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
3533 @[ -f ./opcodes/Makefile ] || exit 0; \
3534 r=`${PWD_COMMAND}`; export r; \
3535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3537 for flag in $(EXTRA_HOST_FLAGS); do \
3538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3540 echo "Doing TAGS in opcodes" ; \
3542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3544 "RANLIB=$${RANLIB}" \
3545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3550 .PHONY: maybe-install-info-opcodes install-info-opcodes
3551 maybe-install-info-opcodes:
3553 install-info-opcodes: \
3556 @[ -f ./opcodes/Makefile ] || exit 0; \
3557 r=`${PWD_COMMAND}`; export r; \
3558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3560 for flag in $(EXTRA_HOST_FLAGS); do \
3561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3563 echo "Doing install-info in opcodes" ; \
3565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3567 "RANLIB=$${RANLIB}" \
3568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3573 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
3574 maybe-installcheck-opcodes:
3576 installcheck-opcodes: \
3578 @[ -f ./opcodes/Makefile ] || exit 0; \
3579 r=`${PWD_COMMAND}`; export r; \
3580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3582 for flag in $(EXTRA_HOST_FLAGS); do \
3583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3585 echo "Doing installcheck in opcodes" ; \
3587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3589 "RANLIB=$${RANLIB}" \
3590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3595 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
3596 maybe-mostlyclean-opcodes:
3598 mostlyclean-opcodes:
3599 @[ -f ./opcodes/Makefile ] || exit 0; \
3600 r=`${PWD_COMMAND}`; export r; \
3601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3603 for flag in $(EXTRA_HOST_FLAGS); do \
3604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3606 echo "Doing mostlyclean in opcodes" ; \
3608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3610 "RANLIB=$${RANLIB}" \
3611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3616 .PHONY: maybe-clean-opcodes clean-opcodes
3617 maybe-clean-opcodes:
3620 @[ -f ./opcodes/Makefile ] || exit 0; \
3621 r=`${PWD_COMMAND}`; export r; \
3622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3624 for flag in $(EXTRA_HOST_FLAGS); do \
3625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3627 echo "Doing clean in opcodes" ; \
3629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3631 "RANLIB=$${RANLIB}" \
3632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3637 .PHONY: maybe-distclean-opcodes distclean-opcodes
3638 maybe-distclean-opcodes:
3641 @[ -f ./opcodes/Makefile ] || exit 0; \
3642 r=`${PWD_COMMAND}`; export r; \
3643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3645 for flag in $(EXTRA_HOST_FLAGS); do \
3646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3648 echo "Doing distclean in opcodes" ; \
3650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3652 "RANLIB=$${RANLIB}" \
3653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3658 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
3659 maybe-maintainer-clean-opcodes:
3661 maintainer-clean-opcodes:
3662 @[ -f ./opcodes/Makefile ] || exit 0; \
3663 r=`${PWD_COMMAND}`; export r; \
3664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3666 for flag in $(EXTRA_HOST_FLAGS); do \
3667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3669 echo "Doing maintainer-clean in opcodes" ; \
3671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3673 "RANLIB=$${RANLIB}" \
3674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3680 .PHONY: configure-binutils maybe-configure-binutils
3681 maybe-configure-binutils:
3683 @test ! -f binutils/Makefile || exit 0; \
3684 [ -d binutils ] || mkdir binutils; \
3685 r=`${PWD_COMMAND}`; export r; \
3686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3687 CC="$(CC)"; export CC; \
3688 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3689 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3690 CXX="$(CXX)"; export CXX; \
3691 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3692 AR="$(AR)"; export AR; \
3693 AS="$(AS)"; export AS; \
3694 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3695 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3696 LD="$(LD)"; export LD; \
3697 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
3698 NM="$(NM)"; export NM; \
3699 RANLIB="$(RANLIB)"; export RANLIB; \
3700 WINDRES="$(WINDRES)"; export WINDRES; \
3701 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3702 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3703 echo Configuring in binutils; \
3704 cd binutils || exit 1; \
3707 srcdiroption="--srcdir=."; \
3709 /* | [A-Za-z]:[\\/]*) \
3710 srcdiroption="--srcdir=$(srcdir)/binutils"; \
3711 libsrcdir="$$s/binutils";; \
3713 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
3714 libsrcdir="$$s/binutils";; \
3716 $(SHELL) $${libsrcdir}/configure \
3717 $(HOST_CONFIGARGS) $${srcdiroption} \
3720 .PHONY: all-binutils maybe-all-binutils
3722 all-binutils: configure-binutils
3723 @r=`${PWD_COMMAND}`; export r; \
3724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3726 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) all)
3728 .PHONY: check-binutils maybe-check-binutils
3729 maybe-check-binutils:
3732 @r=`${PWD_COMMAND}`; export r; \
3733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3735 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
3738 .PHONY: install-binutils maybe-install-binutils
3739 maybe-install-binutils:
3741 install-binutils: installdirs
3742 @r=`${PWD_COMMAND}`; export r; \
3743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3745 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
3748 # Other targets (info, dvi, etc.)
3750 .PHONY: maybe-info-binutils info-binutils
3751 maybe-info-binutils:
3755 @[ -f ./binutils/Makefile ] || exit 0; \
3756 r=`${PWD_COMMAND}`; export r; \
3757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3759 for flag in $(EXTRA_HOST_FLAGS); do \
3760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3762 echo "Doing info in binutils" ; \
3764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3766 "RANLIB=$${RANLIB}" \
3767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3772 .PHONY: maybe-dvi-binutils dvi-binutils
3777 @[ -f ./binutils/Makefile ] || exit 0; \
3778 r=`${PWD_COMMAND}`; export r; \
3779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3781 for flag in $(EXTRA_HOST_FLAGS); do \
3782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3784 echo "Doing dvi in binutils" ; \
3786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3788 "RANLIB=$${RANLIB}" \
3789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3794 .PHONY: maybe-TAGS-binutils TAGS-binutils
3795 maybe-TAGS-binutils:
3799 @[ -f ./binutils/Makefile ] || exit 0; \
3800 r=`${PWD_COMMAND}`; export r; \
3801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3803 for flag in $(EXTRA_HOST_FLAGS); do \
3804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3806 echo "Doing TAGS in binutils" ; \
3808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3810 "RANLIB=$${RANLIB}" \
3811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3816 .PHONY: maybe-install-info-binutils install-info-binutils
3817 maybe-install-info-binutils:
3819 install-info-binutils: \
3820 configure-binutils \
3822 @[ -f ./binutils/Makefile ] || exit 0; \
3823 r=`${PWD_COMMAND}`; export r; \
3824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3826 for flag in $(EXTRA_HOST_FLAGS); do \
3827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3829 echo "Doing install-info in binutils" ; \
3831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3833 "RANLIB=$${RANLIB}" \
3834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3839 .PHONY: maybe-installcheck-binutils installcheck-binutils
3840 maybe-installcheck-binutils:
3842 installcheck-binutils: \
3844 @[ -f ./binutils/Makefile ] || exit 0; \
3845 r=`${PWD_COMMAND}`; export r; \
3846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3848 for flag in $(EXTRA_HOST_FLAGS); do \
3849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3851 echo "Doing installcheck in binutils" ; \
3853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3855 "RANLIB=$${RANLIB}" \
3856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3861 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
3862 maybe-mostlyclean-binutils:
3864 mostlyclean-binutils:
3865 @[ -f ./binutils/Makefile ] || exit 0; \
3866 r=`${PWD_COMMAND}`; export r; \
3867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3869 for flag in $(EXTRA_HOST_FLAGS); do \
3870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3872 echo "Doing mostlyclean in binutils" ; \
3874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3876 "RANLIB=$${RANLIB}" \
3877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3882 .PHONY: maybe-clean-binutils clean-binutils
3883 maybe-clean-binutils:
3886 @[ -f ./binutils/Makefile ] || exit 0; \
3887 r=`${PWD_COMMAND}`; export r; \
3888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3890 for flag in $(EXTRA_HOST_FLAGS); do \
3891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3893 echo "Doing clean in binutils" ; \
3895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3897 "RANLIB=$${RANLIB}" \
3898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3903 .PHONY: maybe-distclean-binutils distclean-binutils
3904 maybe-distclean-binutils:
3907 @[ -f ./binutils/Makefile ] || exit 0; \
3908 r=`${PWD_COMMAND}`; export r; \
3909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3911 for flag in $(EXTRA_HOST_FLAGS); do \
3912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3914 echo "Doing distclean in binutils" ; \
3916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3918 "RANLIB=$${RANLIB}" \
3919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3924 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
3925 maybe-maintainer-clean-binutils:
3927 maintainer-clean-binutils:
3928 @[ -f ./binutils/Makefile ] || exit 0; \
3929 r=`${PWD_COMMAND}`; export r; \
3930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3932 for flag in $(EXTRA_HOST_FLAGS); do \
3933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3935 echo "Doing maintainer-clean in binutils" ; \
3937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3939 "RANLIB=$${RANLIB}" \
3940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3946 .PHONY: configure-bison maybe-configure-bison
3947 maybe-configure-bison:
3949 @test ! -f bison/Makefile || exit 0; \
3950 [ -d bison ] || mkdir bison; \
3951 r=`${PWD_COMMAND}`; export r; \
3952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3953 CC="$(CC)"; export CC; \
3954 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3955 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3956 CXX="$(CXX)"; export CXX; \
3957 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3958 AR="$(AR)"; export AR; \
3959 AS="$(AS)"; export AS; \
3960 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3961 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3962 LD="$(LD)"; export LD; \
3963 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
3964 NM="$(NM)"; export NM; \
3965 RANLIB="$(RANLIB)"; export RANLIB; \
3966 WINDRES="$(WINDRES)"; export WINDRES; \
3967 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3968 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3969 echo Configuring in bison; \
3970 cd bison || exit 1; \
3973 srcdiroption="--srcdir=."; \
3975 /* | [A-Za-z]:[\\/]*) \
3976 srcdiroption="--srcdir=$(srcdir)/bison"; \
3977 libsrcdir="$$s/bison";; \
3979 srcdiroption="--srcdir=../$(srcdir)/bison"; \
3980 libsrcdir="$$s/bison";; \
3982 $(SHELL) $${libsrcdir}/configure \
3983 $(HOST_CONFIGARGS) $${srcdiroption} \
3986 .PHONY: all-bison maybe-all-bison
3988 all-bison: configure-bison
3989 @r=`${PWD_COMMAND}`; export r; \
3990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3992 (cd bison && $(MAKE) $(FLAGS_TO_PASS) all)
3994 .PHONY: check-bison maybe-check-bison
3997 # This module is only tested in a native toolchain.
3999 @if [ '$(host)' = '$(target)' ] ; then \
4000 r=`${PWD_COMMAND}`; export r; \
4001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4003 (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
4007 .PHONY: install-bison maybe-install-bison
4008 maybe-install-bison:
4010 install-bison: installdirs
4011 @r=`${PWD_COMMAND}`; export r; \
4012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4014 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
4017 # Other targets (info, dvi, etc.)
4019 .PHONY: maybe-info-bison info-bison
4024 @[ -f ./bison/Makefile ] || exit 0; \
4025 r=`${PWD_COMMAND}`; export r; \
4026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4028 for flag in $(EXTRA_HOST_FLAGS); do \
4029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4031 echo "Doing info in bison" ; \
4033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4035 "RANLIB=$${RANLIB}" \
4036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4041 .PHONY: maybe-dvi-bison dvi-bison
4046 @[ -f ./bison/Makefile ] || exit 0; \
4047 r=`${PWD_COMMAND}`; export r; \
4048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4050 for flag in $(EXTRA_HOST_FLAGS); do \
4051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4053 echo "Doing dvi in bison" ; \
4055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4057 "RANLIB=$${RANLIB}" \
4058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4063 .PHONY: maybe-TAGS-bison TAGS-bison
4068 @[ -f ./bison/Makefile ] || exit 0; \
4069 r=`${PWD_COMMAND}`; export r; \
4070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4072 for flag in $(EXTRA_HOST_FLAGS); do \
4073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4075 echo "Doing TAGS in bison" ; \
4077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4079 "RANLIB=$${RANLIB}" \
4080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4085 .PHONY: maybe-install-info-bison install-info-bison
4086 maybe-install-info-bison:
4088 install-info-bison: \
4091 @[ -f ./bison/Makefile ] || exit 0; \
4092 r=`${PWD_COMMAND}`; export r; \
4093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4095 for flag in $(EXTRA_HOST_FLAGS); do \
4096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4098 echo "Doing install-info in bison" ; \
4100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4102 "RANLIB=$${RANLIB}" \
4103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4108 .PHONY: maybe-installcheck-bison installcheck-bison
4109 maybe-installcheck-bison:
4111 installcheck-bison: \
4113 @[ -f ./bison/Makefile ] || exit 0; \
4114 r=`${PWD_COMMAND}`; export r; \
4115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4117 for flag in $(EXTRA_HOST_FLAGS); do \
4118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4120 echo "Doing installcheck in bison" ; \
4122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4124 "RANLIB=$${RANLIB}" \
4125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4130 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
4131 maybe-mostlyclean-bison:
4134 @[ -f ./bison/Makefile ] || exit 0; \
4135 r=`${PWD_COMMAND}`; export r; \
4136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4138 for flag in $(EXTRA_HOST_FLAGS); do \
4139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4141 echo "Doing mostlyclean in bison" ; \
4143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4145 "RANLIB=$${RANLIB}" \
4146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4151 .PHONY: maybe-clean-bison clean-bison
4155 @[ -f ./bison/Makefile ] || exit 0; \
4156 r=`${PWD_COMMAND}`; export r; \
4157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4159 for flag in $(EXTRA_HOST_FLAGS); do \
4160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4162 echo "Doing clean in bison" ; \
4164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4166 "RANLIB=$${RANLIB}" \
4167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4172 .PHONY: maybe-distclean-bison distclean-bison
4173 maybe-distclean-bison:
4176 @[ -f ./bison/Makefile ] || exit 0; \
4177 r=`${PWD_COMMAND}`; export r; \
4178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4180 for flag in $(EXTRA_HOST_FLAGS); do \
4181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4183 echo "Doing distclean in bison" ; \
4185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4187 "RANLIB=$${RANLIB}" \
4188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4193 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
4194 maybe-maintainer-clean-bison:
4196 maintainer-clean-bison:
4197 @[ -f ./bison/Makefile ] || exit 0; \
4198 r=`${PWD_COMMAND}`; export r; \
4199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4201 for flag in $(EXTRA_HOST_FLAGS); do \
4202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4204 echo "Doing maintainer-clean in bison" ; \
4206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4208 "RANLIB=$${RANLIB}" \
4209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4215 .PHONY: configure-byacc maybe-configure-byacc
4216 maybe-configure-byacc:
4218 @test ! -f byacc/Makefile || exit 0; \
4219 [ -d byacc ] || mkdir byacc; \
4220 r=`${PWD_COMMAND}`; export r; \
4221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4222 CC="$(CC)"; export CC; \
4223 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4224 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
4225 CXX="$(CXX)"; export CXX; \
4226 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4227 AR="$(AR)"; export AR; \
4228 AS="$(AS)"; export AS; \
4229 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4230 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4231 LD="$(LD)"; export LD; \
4232 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
4233 NM="$(NM)"; export NM; \
4234 RANLIB="$(RANLIB)"; export RANLIB; \
4235 WINDRES="$(WINDRES)"; export WINDRES; \
4236 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4237 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4238 echo Configuring in byacc; \
4239 cd byacc || exit 1; \
4242 srcdiroption="--srcdir=."; \
4244 /* | [A-Za-z]:[\\/]*) \
4245 srcdiroption="--srcdir=$(srcdir)/byacc"; \
4246 libsrcdir="$$s/byacc";; \
4248 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
4249 libsrcdir="$$s/byacc";; \
4251 $(SHELL) $${libsrcdir}/configure \
4252 $(HOST_CONFIGARGS) $${srcdiroption} \
4255 .PHONY: all-byacc maybe-all-byacc
4257 all-byacc: configure-byacc
4258 @r=`${PWD_COMMAND}`; export r; \
4259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4261 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) all)
4263 .PHONY: check-byacc maybe-check-byacc
4266 # This module is only tested in a native toolchain.
4268 @if [ '$(host)' = '$(target)' ] ; then \
4269 r=`${PWD_COMMAND}`; export r; \
4270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4272 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \
4276 .PHONY: install-byacc maybe-install-byacc
4277 maybe-install-byacc:
4279 install-byacc: installdirs
4280 @r=`${PWD_COMMAND}`; export r; \
4281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4283 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
4286 # Other targets (info, dvi, etc.)
4288 .PHONY: maybe-info-byacc info-byacc
4293 @[ -f ./byacc/Makefile ] || exit 0; \
4294 r=`${PWD_COMMAND}`; export r; \
4295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4297 for flag in $(EXTRA_HOST_FLAGS); do \
4298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4300 echo "Doing info in byacc" ; \
4302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4304 "RANLIB=$${RANLIB}" \
4305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4310 .PHONY: maybe-dvi-byacc dvi-byacc
4315 @[ -f ./byacc/Makefile ] || exit 0; \
4316 r=`${PWD_COMMAND}`; export r; \
4317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4319 for flag in $(EXTRA_HOST_FLAGS); do \
4320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4322 echo "Doing dvi in byacc" ; \
4324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4326 "RANLIB=$${RANLIB}" \
4327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4332 .PHONY: maybe-TAGS-byacc TAGS-byacc
4337 @[ -f ./byacc/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 TAGS in byacc" ; \
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}" \
4354 .PHONY: maybe-install-info-byacc install-info-byacc
4355 maybe-install-info-byacc:
4357 install-info-byacc: \
4360 @[ -f ./byacc/Makefile ] || exit 0; \
4361 r=`${PWD_COMMAND}`; export r; \
4362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4364 for flag in $(EXTRA_HOST_FLAGS); do \
4365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4367 echo "Doing install-info in byacc" ; \
4369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4371 "RANLIB=$${RANLIB}" \
4372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4377 .PHONY: maybe-installcheck-byacc installcheck-byacc
4378 maybe-installcheck-byacc:
4380 installcheck-byacc: \
4382 @[ -f ./byacc/Makefile ] || exit 0; \
4383 r=`${PWD_COMMAND}`; export r; \
4384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4386 for flag in $(EXTRA_HOST_FLAGS); do \
4387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4389 echo "Doing installcheck in byacc" ; \
4391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4393 "RANLIB=$${RANLIB}" \
4394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4399 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
4400 maybe-mostlyclean-byacc:
4403 @[ -f ./byacc/Makefile ] || exit 0; \
4404 r=`${PWD_COMMAND}`; export r; \
4405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4407 for flag in $(EXTRA_HOST_FLAGS); do \
4408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4410 echo "Doing mostlyclean in byacc" ; \
4412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4414 "RANLIB=$${RANLIB}" \
4415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4420 .PHONY: maybe-clean-byacc clean-byacc
4424 @[ -f ./byacc/Makefile ] || exit 0; \
4425 r=`${PWD_COMMAND}`; export r; \
4426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4428 for flag in $(EXTRA_HOST_FLAGS); do \
4429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4431 echo "Doing clean in byacc" ; \
4433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4435 "RANLIB=$${RANLIB}" \
4436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4441 .PHONY: maybe-distclean-byacc distclean-byacc
4442 maybe-distclean-byacc:
4445 @[ -f ./byacc/Makefile ] || exit 0; \
4446 r=`${PWD_COMMAND}`; export r; \
4447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4449 for flag in $(EXTRA_HOST_FLAGS); do \
4450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4452 echo "Doing distclean in byacc" ; \
4454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4456 "RANLIB=$${RANLIB}" \
4457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4462 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
4463 maybe-maintainer-clean-byacc:
4465 maintainer-clean-byacc:
4466 @[ -f ./byacc/Makefile ] || exit 0; \
4467 r=`${PWD_COMMAND}`; export r; \
4468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4470 for flag in $(EXTRA_HOST_FLAGS); do \
4471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4473 echo "Doing maintainer-clean in byacc" ; \
4475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4477 "RANLIB=$${RANLIB}" \
4478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4484 .PHONY: configure-bzip2 maybe-configure-bzip2
4485 maybe-configure-bzip2:
4487 @test ! -f bzip2/Makefile || exit 0; \
4488 [ -d bzip2 ] || mkdir bzip2; \
4489 r=`${PWD_COMMAND}`; export r; \
4490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4491 CC="$(CC)"; export CC; \
4492 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4493 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
4494 CXX="$(CXX)"; export CXX; \
4495 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4496 AR="$(AR)"; export AR; \
4497 AS="$(AS)"; export AS; \
4498 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4499 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4500 LD="$(LD)"; export LD; \
4501 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
4502 NM="$(NM)"; export NM; \
4503 RANLIB="$(RANLIB)"; export RANLIB; \
4504 WINDRES="$(WINDRES)"; export WINDRES; \
4505 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4506 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4507 echo Configuring in bzip2; \
4508 cd bzip2 || exit 1; \
4511 srcdiroption="--srcdir=."; \
4513 /* | [A-Za-z]:[\\/]*) \
4514 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
4515 libsrcdir="$$s/bzip2";; \
4517 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
4518 libsrcdir="$$s/bzip2";; \
4520 $(SHELL) $${libsrcdir}/configure \
4521 $(HOST_CONFIGARGS) $${srcdiroption} \
4524 .PHONY: all-bzip2 maybe-all-bzip2
4526 all-bzip2: configure-bzip2
4527 @r=`${PWD_COMMAND}`; export r; \
4528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4530 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) all)
4532 .PHONY: check-bzip2 maybe-check-bzip2
4536 @r=`${PWD_COMMAND}`; export r; \
4537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4539 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
4542 .PHONY: install-bzip2 maybe-install-bzip2
4543 maybe-install-bzip2:
4545 install-bzip2: installdirs
4546 @r=`${PWD_COMMAND}`; export r; \
4547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4549 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
4552 # Other targets (info, dvi, etc.)
4554 .PHONY: maybe-info-bzip2 info-bzip2
4559 @[ -f ./bzip2/Makefile ] || exit 0; \
4560 r=`${PWD_COMMAND}`; export r; \
4561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4563 for flag in $(EXTRA_HOST_FLAGS); do \
4564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4566 echo "Doing info in bzip2" ; \
4568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4570 "RANLIB=$${RANLIB}" \
4571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4576 .PHONY: maybe-dvi-bzip2 dvi-bzip2
4581 @[ -f ./bzip2/Makefile ] || exit 0; \
4582 r=`${PWD_COMMAND}`; export r; \
4583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4585 for flag in $(EXTRA_HOST_FLAGS); do \
4586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4588 echo "Doing dvi in bzip2" ; \
4590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4592 "RANLIB=$${RANLIB}" \
4593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4598 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
4603 @[ -f ./bzip2/Makefile ] || exit 0; \
4604 r=`${PWD_COMMAND}`; export r; \
4605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4607 for flag in $(EXTRA_HOST_FLAGS); do \
4608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4610 echo "Doing TAGS in bzip2" ; \
4612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4614 "RANLIB=$${RANLIB}" \
4615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4620 .PHONY: maybe-install-info-bzip2 install-info-bzip2
4621 maybe-install-info-bzip2:
4623 install-info-bzip2: \
4626 @[ -f ./bzip2/Makefile ] || exit 0; \
4627 r=`${PWD_COMMAND}`; export r; \
4628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4630 for flag in $(EXTRA_HOST_FLAGS); do \
4631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4633 echo "Doing install-info in bzip2" ; \
4635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4637 "RANLIB=$${RANLIB}" \
4638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4643 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
4644 maybe-installcheck-bzip2:
4646 installcheck-bzip2: \
4648 @[ -f ./bzip2/Makefile ] || exit 0; \
4649 r=`${PWD_COMMAND}`; export r; \
4650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4652 for flag in $(EXTRA_HOST_FLAGS); do \
4653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4655 echo "Doing installcheck in bzip2" ; \
4657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4659 "RANLIB=$${RANLIB}" \
4660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4665 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
4666 maybe-mostlyclean-bzip2:
4669 @[ -f ./bzip2/Makefile ] || exit 0; \
4670 r=`${PWD_COMMAND}`; export r; \
4671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4673 for flag in $(EXTRA_HOST_FLAGS); do \
4674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4676 echo "Doing mostlyclean in bzip2" ; \
4678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4680 "RANLIB=$${RANLIB}" \
4681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4686 .PHONY: maybe-clean-bzip2 clean-bzip2
4690 @[ -f ./bzip2/Makefile ] || exit 0; \
4691 r=`${PWD_COMMAND}`; export r; \
4692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4694 for flag in $(EXTRA_HOST_FLAGS); do \
4695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4697 echo "Doing clean in bzip2" ; \
4699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4701 "RANLIB=$${RANLIB}" \
4702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4707 .PHONY: maybe-distclean-bzip2 distclean-bzip2
4708 maybe-distclean-bzip2:
4711 @[ -f ./bzip2/Makefile ] || exit 0; \
4712 r=`${PWD_COMMAND}`; export r; \
4713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4715 for flag in $(EXTRA_HOST_FLAGS); do \
4716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4718 echo "Doing distclean in bzip2" ; \
4720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4722 "RANLIB=$${RANLIB}" \
4723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4728 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
4729 maybe-maintainer-clean-bzip2:
4731 maintainer-clean-bzip2:
4732 @[ -f ./bzip2/Makefile ] || exit 0; \
4733 r=`${PWD_COMMAND}`; export r; \
4734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4736 for flag in $(EXTRA_HOST_FLAGS); do \
4737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4739 echo "Doing maintainer-clean in bzip2" ; \
4741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4743 "RANLIB=$${RANLIB}" \
4744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4750 .PHONY: configure-dejagnu maybe-configure-dejagnu
4751 maybe-configure-dejagnu:
4753 @test ! -f dejagnu/Makefile || exit 0; \
4754 [ -d dejagnu ] || mkdir dejagnu; \
4755 r=`${PWD_COMMAND}`; export r; \
4756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4757 CC="$(CC)"; export CC; \
4758 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4759 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
4760 CXX="$(CXX)"; export CXX; \
4761 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4762 AR="$(AR)"; export AR; \
4763 AS="$(AS)"; export AS; \
4764 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4765 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4766 LD="$(LD)"; export LD; \
4767 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
4768 NM="$(NM)"; export NM; \
4769 RANLIB="$(RANLIB)"; export RANLIB; \
4770 WINDRES="$(WINDRES)"; export WINDRES; \
4771 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4772 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4773 echo Configuring in dejagnu; \
4774 cd dejagnu || exit 1; \
4777 srcdiroption="--srcdir=."; \
4779 /* | [A-Za-z]:[\\/]*) \
4780 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
4781 libsrcdir="$$s/dejagnu";; \
4783 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
4784 libsrcdir="$$s/dejagnu";; \
4786 $(SHELL) $${libsrcdir}/configure \
4787 $(HOST_CONFIGARGS) $${srcdiroption} \
4790 .PHONY: all-dejagnu maybe-all-dejagnu
4792 all-dejagnu: configure-dejagnu
4793 @r=`${PWD_COMMAND}`; export r; \
4794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4796 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) all)
4798 .PHONY: check-dejagnu maybe-check-dejagnu
4799 maybe-check-dejagnu:
4802 @r=`${PWD_COMMAND}`; export r; \
4803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4805 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
4808 .PHONY: install-dejagnu maybe-install-dejagnu
4809 maybe-install-dejagnu:
4811 install-dejagnu: installdirs
4812 @r=`${PWD_COMMAND}`; export r; \
4813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4815 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
4818 # Other targets (info, dvi, etc.)
4820 .PHONY: maybe-info-dejagnu info-dejagnu
4825 @[ -f ./dejagnu/Makefile ] || exit 0; \
4826 r=`${PWD_COMMAND}`; export r; \
4827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4829 for flag in $(EXTRA_HOST_FLAGS); do \
4830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4832 echo "Doing info in dejagnu" ; \
4834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4836 "RANLIB=$${RANLIB}" \
4837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4842 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
4847 @[ -f ./dejagnu/Makefile ] || exit 0; \
4848 r=`${PWD_COMMAND}`; export r; \
4849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4851 for flag in $(EXTRA_HOST_FLAGS); do \
4852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4854 echo "Doing dvi in dejagnu" ; \
4856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4858 "RANLIB=$${RANLIB}" \
4859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4864 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
4869 @[ -f ./dejagnu/Makefile ] || exit 0; \
4870 r=`${PWD_COMMAND}`; export r; \
4871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4873 for flag in $(EXTRA_HOST_FLAGS); do \
4874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4876 echo "Doing TAGS in dejagnu" ; \
4878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4880 "RANLIB=$${RANLIB}" \
4881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4886 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
4887 maybe-install-info-dejagnu:
4889 install-info-dejagnu: \
4892 @[ -f ./dejagnu/Makefile ] || exit 0; \
4893 r=`${PWD_COMMAND}`; export r; \
4894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4896 for flag in $(EXTRA_HOST_FLAGS); do \
4897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4899 echo "Doing install-info in dejagnu" ; \
4901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4903 "RANLIB=$${RANLIB}" \
4904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4909 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
4910 maybe-installcheck-dejagnu:
4912 installcheck-dejagnu: \
4914 @[ -f ./dejagnu/Makefile ] || exit 0; \
4915 r=`${PWD_COMMAND}`; export r; \
4916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4918 for flag in $(EXTRA_HOST_FLAGS); do \
4919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4921 echo "Doing installcheck in dejagnu" ; \
4923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4925 "RANLIB=$${RANLIB}" \
4926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4931 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
4932 maybe-mostlyclean-dejagnu:
4934 mostlyclean-dejagnu:
4935 @[ -f ./dejagnu/Makefile ] || exit 0; \
4936 r=`${PWD_COMMAND}`; export r; \
4937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4939 for flag in $(EXTRA_HOST_FLAGS); do \
4940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4942 echo "Doing mostlyclean in dejagnu" ; \
4944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4946 "RANLIB=$${RANLIB}" \
4947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4952 .PHONY: maybe-clean-dejagnu clean-dejagnu
4953 maybe-clean-dejagnu:
4956 @[ -f ./dejagnu/Makefile ] || exit 0; \
4957 r=`${PWD_COMMAND}`; export r; \
4958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4960 for flag in $(EXTRA_HOST_FLAGS); do \
4961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4963 echo "Doing clean in dejagnu" ; \
4965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4967 "RANLIB=$${RANLIB}" \
4968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4973 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
4974 maybe-distclean-dejagnu:
4977 @[ -f ./dejagnu/Makefile ] || exit 0; \
4978 r=`${PWD_COMMAND}`; export r; \
4979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4981 for flag in $(EXTRA_HOST_FLAGS); do \
4982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4984 echo "Doing distclean in dejagnu" ; \
4986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4988 "RANLIB=$${RANLIB}" \
4989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4994 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
4995 maybe-maintainer-clean-dejagnu:
4997 maintainer-clean-dejagnu:
4998 @[ -f ./dejagnu/Makefile ] || exit 0; \
4999 r=`${PWD_COMMAND}`; export r; \
5000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5002 for flag in $(EXTRA_HOST_FLAGS); do \
5003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5005 echo "Doing maintainer-clean in dejagnu" ; \
5007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5009 "RANLIB=$${RANLIB}" \
5010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5016 .PHONY: configure-diff maybe-configure-diff
5017 maybe-configure-diff:
5019 @test ! -f diff/Makefile || exit 0; \
5020 [ -d diff ] || mkdir diff; \
5021 r=`${PWD_COMMAND}`; export r; \
5022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5023 CC="$(CC)"; export CC; \
5024 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5025 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
5026 CXX="$(CXX)"; export CXX; \
5027 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5028 AR="$(AR)"; export AR; \
5029 AS="$(AS)"; export AS; \
5030 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5031 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5032 LD="$(LD)"; export LD; \
5033 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
5034 NM="$(NM)"; export NM; \
5035 RANLIB="$(RANLIB)"; export RANLIB; \
5036 WINDRES="$(WINDRES)"; export WINDRES; \
5037 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5038 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5039 echo Configuring in diff; \
5040 cd diff || exit 1; \
5043 srcdiroption="--srcdir=."; \
5045 /* | [A-Za-z]:[\\/]*) \
5046 srcdiroption="--srcdir=$(srcdir)/diff"; \
5047 libsrcdir="$$s/diff";; \
5049 srcdiroption="--srcdir=../$(srcdir)/diff"; \
5050 libsrcdir="$$s/diff";; \
5052 $(SHELL) $${libsrcdir}/configure \
5053 $(HOST_CONFIGARGS) $${srcdiroption} \
5056 .PHONY: all-diff maybe-all-diff
5058 all-diff: configure-diff
5059 @r=`${PWD_COMMAND}`; export r; \
5060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5062 (cd diff && $(MAKE) $(FLAGS_TO_PASS) all)
5064 .PHONY: check-diff maybe-check-diff
5068 @r=`${PWD_COMMAND}`; export r; \
5069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5071 (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
5074 .PHONY: install-diff maybe-install-diff
5077 install-diff: installdirs
5078 @r=`${PWD_COMMAND}`; export r; \
5079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5081 (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
5084 # Other targets (info, dvi, etc.)
5086 .PHONY: maybe-info-diff info-diff
5091 @[ -f ./diff/Makefile ] || exit 0; \
5092 r=`${PWD_COMMAND}`; export r; \
5093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5095 for flag in $(EXTRA_HOST_FLAGS); do \
5096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5098 echo "Doing info in diff" ; \
5100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5102 "RANLIB=$${RANLIB}" \
5103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5108 .PHONY: maybe-dvi-diff dvi-diff
5113 @[ -f ./diff/Makefile ] || exit 0; \
5114 r=`${PWD_COMMAND}`; export r; \
5115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5117 for flag in $(EXTRA_HOST_FLAGS); do \
5118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5120 echo "Doing dvi in diff" ; \
5122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5124 "RANLIB=$${RANLIB}" \
5125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5130 .PHONY: maybe-TAGS-diff TAGS-diff
5135 @[ -f ./diff/Makefile ] || exit 0; \
5136 r=`${PWD_COMMAND}`; export r; \
5137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5139 for flag in $(EXTRA_HOST_FLAGS); do \
5140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5142 echo "Doing TAGS in diff" ; \
5144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5146 "RANLIB=$${RANLIB}" \
5147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5152 .PHONY: maybe-install-info-diff install-info-diff
5153 maybe-install-info-diff:
5155 install-info-diff: \
5158 @[ -f ./diff/Makefile ] || exit 0; \
5159 r=`${PWD_COMMAND}`; export r; \
5160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5162 for flag in $(EXTRA_HOST_FLAGS); do \
5163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5165 echo "Doing install-info in diff" ; \
5167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5169 "RANLIB=$${RANLIB}" \
5170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5175 .PHONY: maybe-installcheck-diff installcheck-diff
5176 maybe-installcheck-diff:
5178 installcheck-diff: \
5180 @[ -f ./diff/Makefile ] || exit 0; \
5181 r=`${PWD_COMMAND}`; export r; \
5182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5184 for flag in $(EXTRA_HOST_FLAGS); do \
5185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5187 echo "Doing installcheck in diff" ; \
5189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5191 "RANLIB=$${RANLIB}" \
5192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5197 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
5198 maybe-mostlyclean-diff:
5201 @[ -f ./diff/Makefile ] || exit 0; \
5202 r=`${PWD_COMMAND}`; export r; \
5203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5205 for flag in $(EXTRA_HOST_FLAGS); do \
5206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5208 echo "Doing mostlyclean in diff" ; \
5210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5212 "RANLIB=$${RANLIB}" \
5213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5218 .PHONY: maybe-clean-diff clean-diff
5222 @[ -f ./diff/Makefile ] || exit 0; \
5223 r=`${PWD_COMMAND}`; export r; \
5224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5226 for flag in $(EXTRA_HOST_FLAGS); do \
5227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5229 echo "Doing clean in diff" ; \
5231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5233 "RANLIB=$${RANLIB}" \
5234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5239 .PHONY: maybe-distclean-diff distclean-diff
5240 maybe-distclean-diff:
5243 @[ -f ./diff/Makefile ] || exit 0; \
5244 r=`${PWD_COMMAND}`; export r; \
5245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5247 for flag in $(EXTRA_HOST_FLAGS); do \
5248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5250 echo "Doing distclean in diff" ; \
5252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5254 "RANLIB=$${RANLIB}" \
5255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5260 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
5261 maybe-maintainer-clean-diff:
5263 maintainer-clean-diff:
5264 @[ -f ./diff/Makefile ] || exit 0; \
5265 r=`${PWD_COMMAND}`; export r; \
5266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5268 for flag in $(EXTRA_HOST_FLAGS); do \
5269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5271 echo "Doing maintainer-clean in diff" ; \
5273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5275 "RANLIB=$${RANLIB}" \
5276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5282 .PHONY: configure-dosutils maybe-configure-dosutils
5283 maybe-configure-dosutils:
5285 @test ! -f dosutils/Makefile || exit 0; \
5286 [ -d dosutils ] || mkdir dosutils; \
5287 r=`${PWD_COMMAND}`; export r; \
5288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5289 CC="$(CC)"; export CC; \
5290 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5291 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
5292 CXX="$(CXX)"; export CXX; \
5293 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5294 AR="$(AR)"; export AR; \
5295 AS="$(AS)"; export AS; \
5296 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5297 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5298 LD="$(LD)"; export LD; \
5299 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
5300 NM="$(NM)"; export NM; \
5301 RANLIB="$(RANLIB)"; export RANLIB; \
5302 WINDRES="$(WINDRES)"; export WINDRES; \
5303 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5304 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5305 echo Configuring in dosutils; \
5306 cd dosutils || exit 1; \
5309 srcdiroption="--srcdir=."; \
5311 /* | [A-Za-z]:[\\/]*) \
5312 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
5313 libsrcdir="$$s/dosutils";; \
5315 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
5316 libsrcdir="$$s/dosutils";; \
5318 $(SHELL) $${libsrcdir}/configure \
5319 $(HOST_CONFIGARGS) $${srcdiroption} \
5322 .PHONY: all-dosutils maybe-all-dosutils
5324 all-dosutils: configure-dosutils
5325 @r=`${PWD_COMMAND}`; export r; \
5326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5328 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) all)
5330 .PHONY: check-dosutils maybe-check-dosutils
5331 maybe-check-dosutils:
5336 .PHONY: install-dosutils maybe-install-dosutils
5337 maybe-install-dosutils:
5339 install-dosutils: installdirs
5340 @r=`${PWD_COMMAND}`; export r; \
5341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5343 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
5346 # Other targets (info, dvi, etc.)
5348 .PHONY: maybe-info-dosutils info-dosutils
5349 maybe-info-dosutils:
5353 @[ -f ./dosutils/Makefile ] || exit 0; \
5354 r=`${PWD_COMMAND}`; export r; \
5355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5357 for flag in $(EXTRA_HOST_FLAGS); do \
5358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5360 echo "Doing info in dosutils" ; \
5362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5364 "RANLIB=$${RANLIB}" \
5365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5370 .PHONY: maybe-dvi-dosutils dvi-dosutils
5375 @[ -f ./dosutils/Makefile ] || exit 0; \
5376 r=`${PWD_COMMAND}`; export r; \
5377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5379 for flag in $(EXTRA_HOST_FLAGS); do \
5380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5382 echo "Doing dvi in dosutils" ; \
5384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5386 "RANLIB=$${RANLIB}" \
5387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5392 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
5393 maybe-TAGS-dosutils:
5397 @[ -f ./dosutils/Makefile ] || exit 0; \
5398 r=`${PWD_COMMAND}`; export r; \
5399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5401 for flag in $(EXTRA_HOST_FLAGS); do \
5402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5404 echo "Doing TAGS in dosutils" ; \
5406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5408 "RANLIB=$${RANLIB}" \
5409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5414 .PHONY: maybe-install-info-dosutils install-info-dosutils
5415 maybe-install-info-dosutils:
5417 install-info-dosutils: \
5418 configure-dosutils \
5420 @[ -f ./dosutils/Makefile ] || exit 0; \
5421 r=`${PWD_COMMAND}`; export r; \
5422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5424 for flag in $(EXTRA_HOST_FLAGS); do \
5425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5427 echo "Doing install-info in dosutils" ; \
5429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5431 "RANLIB=$${RANLIB}" \
5432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5437 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
5438 maybe-installcheck-dosutils:
5440 installcheck-dosutils: \
5442 @[ -f ./dosutils/Makefile ] || exit 0; \
5443 r=`${PWD_COMMAND}`; export r; \
5444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5446 for flag in $(EXTRA_HOST_FLAGS); do \
5447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5449 echo "Doing installcheck in dosutils" ; \
5451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5453 "RANLIB=$${RANLIB}" \
5454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5459 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
5460 maybe-mostlyclean-dosutils:
5462 mostlyclean-dosutils:
5463 @[ -f ./dosutils/Makefile ] || exit 0; \
5464 r=`${PWD_COMMAND}`; export r; \
5465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5467 for flag in $(EXTRA_HOST_FLAGS); do \
5468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5470 echo "Doing mostlyclean in dosutils" ; \
5472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5474 "RANLIB=$${RANLIB}" \
5475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5480 .PHONY: maybe-clean-dosutils clean-dosutils
5481 maybe-clean-dosutils:
5484 @[ -f ./dosutils/Makefile ] || exit 0; \
5485 r=`${PWD_COMMAND}`; export r; \
5486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5488 for flag in $(EXTRA_HOST_FLAGS); do \
5489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5491 echo "Doing clean in dosutils" ; \
5493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5495 "RANLIB=$${RANLIB}" \
5496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5501 .PHONY: maybe-distclean-dosutils distclean-dosutils
5502 maybe-distclean-dosutils:
5505 @[ -f ./dosutils/Makefile ] || exit 0; \
5506 r=`${PWD_COMMAND}`; export r; \
5507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5509 for flag in $(EXTRA_HOST_FLAGS); do \
5510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5512 echo "Doing distclean in dosutils" ; \
5514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5516 "RANLIB=$${RANLIB}" \
5517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5522 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
5523 maybe-maintainer-clean-dosutils:
5525 maintainer-clean-dosutils:
5526 @[ -f ./dosutils/Makefile ] || exit 0; \
5527 r=`${PWD_COMMAND}`; export r; \
5528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5530 for flag in $(EXTRA_HOST_FLAGS); do \
5531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5533 echo "Doing maintainer-clean in dosutils" ; \
5535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5537 "RANLIB=$${RANLIB}" \
5538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5544 .PHONY: configure-etc maybe-configure-etc
5545 maybe-configure-etc:
5547 @test ! -f etc/Makefile || exit 0; \
5548 [ -d etc ] || mkdir etc; \
5549 r=`${PWD_COMMAND}`; export r; \
5550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5551 CC="$(CC)"; export CC; \
5552 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5553 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
5554 CXX="$(CXX)"; export CXX; \
5555 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5556 AR="$(AR)"; export AR; \
5557 AS="$(AS)"; export AS; \
5558 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5559 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5560 LD="$(LD)"; export LD; \
5561 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
5562 NM="$(NM)"; export NM; \
5563 RANLIB="$(RANLIB)"; export RANLIB; \
5564 WINDRES="$(WINDRES)"; export WINDRES; \
5565 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5566 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5567 echo Configuring in etc; \
5571 srcdiroption="--srcdir=."; \
5573 /* | [A-Za-z]:[\\/]*) \
5574 srcdiroption="--srcdir=$(srcdir)/etc"; \
5575 libsrcdir="$$s/etc";; \
5577 srcdiroption="--srcdir=../$(srcdir)/etc"; \
5578 libsrcdir="$$s/etc";; \
5580 $(SHELL) $${libsrcdir}/configure \
5581 $(HOST_CONFIGARGS) $${srcdiroption} \
5584 .PHONY: all-etc maybe-all-etc
5586 all-etc: configure-etc
5587 @r=`${PWD_COMMAND}`; export r; \
5588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5590 (cd etc && $(MAKE) $(FLAGS_TO_PASS) all)
5592 .PHONY: check-etc maybe-check-etc
5596 @r=`${PWD_COMMAND}`; export r; \
5597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5599 (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
5602 .PHONY: install-etc maybe-install-etc
5605 install-etc: installdirs
5606 @r=`${PWD_COMMAND}`; export r; \
5607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5609 (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
5612 # Other targets (info, dvi, etc.)
5614 .PHONY: maybe-info-etc info-etc
5619 @[ -f ./etc/Makefile ] || exit 0; \
5620 r=`${PWD_COMMAND}`; export r; \
5621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5623 for flag in $(EXTRA_HOST_FLAGS); do \
5624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5626 echo "Doing info in etc" ; \
5628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5630 "RANLIB=$${RANLIB}" \
5631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5636 .PHONY: maybe-dvi-etc dvi-etc
5641 @[ -f ./etc/Makefile ] || exit 0; \
5642 r=`${PWD_COMMAND}`; export r; \
5643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5645 for flag in $(EXTRA_HOST_FLAGS); do \
5646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5648 echo "Doing dvi in etc" ; \
5650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5652 "RANLIB=$${RANLIB}" \
5653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5658 .PHONY: maybe-TAGS-etc TAGS-etc
5663 @[ -f ./etc/Makefile ] || exit 0; \
5664 r=`${PWD_COMMAND}`; export r; \
5665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5667 for flag in $(EXTRA_HOST_FLAGS); do \
5668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5670 echo "Doing TAGS in etc" ; \
5672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5674 "RANLIB=$${RANLIB}" \
5675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5680 .PHONY: maybe-install-info-etc install-info-etc
5681 maybe-install-info-etc:
5686 @[ -f ./etc/Makefile ] || exit 0; \
5687 r=`${PWD_COMMAND}`; export r; \
5688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5690 for flag in $(EXTRA_HOST_FLAGS); do \
5691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5693 echo "Doing install-info in etc" ; \
5695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5697 "RANLIB=$${RANLIB}" \
5698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5703 .PHONY: maybe-installcheck-etc installcheck-etc
5704 maybe-installcheck-etc:
5708 @[ -f ./etc/Makefile ] || exit 0; \
5709 r=`${PWD_COMMAND}`; export r; \
5710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5712 for flag in $(EXTRA_HOST_FLAGS); do \
5713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5715 echo "Doing installcheck in etc" ; \
5717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5719 "RANLIB=$${RANLIB}" \
5720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5725 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
5726 maybe-mostlyclean-etc:
5729 @[ -f ./etc/Makefile ] || exit 0; \
5730 r=`${PWD_COMMAND}`; export r; \
5731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5733 for flag in $(EXTRA_HOST_FLAGS); do \
5734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5736 echo "Doing mostlyclean in etc" ; \
5738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5740 "RANLIB=$${RANLIB}" \
5741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5746 .PHONY: maybe-clean-etc clean-etc
5750 @[ -f ./etc/Makefile ] || exit 0; \
5751 r=`${PWD_COMMAND}`; export r; \
5752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5754 for flag in $(EXTRA_HOST_FLAGS); do \
5755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5757 echo "Doing clean in etc" ; \
5759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5761 "RANLIB=$${RANLIB}" \
5762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5767 .PHONY: maybe-distclean-etc distclean-etc
5768 maybe-distclean-etc:
5771 @[ -f ./etc/Makefile ] || exit 0; \
5772 r=`${PWD_COMMAND}`; export r; \
5773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5775 for flag in $(EXTRA_HOST_FLAGS); do \
5776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5778 echo "Doing distclean in etc" ; \
5780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5782 "RANLIB=$${RANLIB}" \
5783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5788 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
5789 maybe-maintainer-clean-etc:
5791 maintainer-clean-etc:
5792 @[ -f ./etc/Makefile ] || exit 0; \
5793 r=`${PWD_COMMAND}`; export r; \
5794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5796 for flag in $(EXTRA_HOST_FLAGS); do \
5797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5799 echo "Doing maintainer-clean in etc" ; \
5801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5803 "RANLIB=$${RANLIB}" \
5804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5810 .PHONY: configure-fastjar maybe-configure-fastjar
5811 maybe-configure-fastjar:
5813 @test ! -f fastjar/Makefile || exit 0; \
5814 [ -d fastjar ] || mkdir fastjar; \
5815 r=`${PWD_COMMAND}`; export r; \
5816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5817 CC="$(CC)"; export CC; \
5818 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5819 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
5820 CXX="$(CXX)"; export CXX; \
5821 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5822 AR="$(AR)"; export AR; \
5823 AS="$(AS)"; export AS; \
5824 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5825 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5826 LD="$(LD)"; export LD; \
5827 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
5828 NM="$(NM)"; export NM; \
5829 RANLIB="$(RANLIB)"; export RANLIB; \
5830 WINDRES="$(WINDRES)"; export WINDRES; \
5831 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5832 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5833 echo Configuring in fastjar; \
5834 cd fastjar || exit 1; \
5837 srcdiroption="--srcdir=."; \
5839 /* | [A-Za-z]:[\\/]*) \
5840 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
5841 libsrcdir="$$s/fastjar";; \
5843 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
5844 libsrcdir="$$s/fastjar";; \
5846 $(SHELL) $${libsrcdir}/configure \
5847 $(HOST_CONFIGARGS) $${srcdiroption} \
5850 .PHONY: all-fastjar maybe-all-fastjar
5852 all-fastjar: configure-fastjar
5853 @r=`${PWD_COMMAND}`; export r; \
5854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5856 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) all)
5858 .PHONY: check-fastjar maybe-check-fastjar
5859 maybe-check-fastjar:
5861 # This module is only tested in a native toolchain.
5863 @if [ '$(host)' = '$(target)' ] ; then \
5864 r=`${PWD_COMMAND}`; export r; \
5865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5867 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \
5871 .PHONY: install-fastjar maybe-install-fastjar
5872 maybe-install-fastjar:
5874 install-fastjar: installdirs
5875 @r=`${PWD_COMMAND}`; export r; \
5876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5878 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
5881 # Other targets (info, dvi, etc.)
5883 .PHONY: maybe-info-fastjar info-fastjar
5888 @[ -f ./fastjar/Makefile ] || exit 0; \
5889 r=`${PWD_COMMAND}`; export r; \
5890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5892 for flag in $(EXTRA_HOST_FLAGS); do \
5893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5895 echo "Doing info in fastjar" ; \
5897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5899 "RANLIB=$${RANLIB}" \
5900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5905 .PHONY: maybe-dvi-fastjar dvi-fastjar
5910 @[ -f ./fastjar/Makefile ] || exit 0; \
5911 r=`${PWD_COMMAND}`; export r; \
5912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5914 for flag in $(EXTRA_HOST_FLAGS); do \
5915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5917 echo "Doing dvi in fastjar" ; \
5919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5921 "RANLIB=$${RANLIB}" \
5922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5927 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
5932 @[ -f ./fastjar/Makefile ] || exit 0; \
5933 r=`${PWD_COMMAND}`; export r; \
5934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5936 for flag in $(EXTRA_HOST_FLAGS); do \
5937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5939 echo "Doing TAGS in fastjar" ; \
5941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5943 "RANLIB=$${RANLIB}" \
5944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5949 .PHONY: maybe-install-info-fastjar install-info-fastjar
5950 maybe-install-info-fastjar:
5952 install-info-fastjar: \
5955 @[ -f ./fastjar/Makefile ] || exit 0; \
5956 r=`${PWD_COMMAND}`; export r; \
5957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5959 for flag in $(EXTRA_HOST_FLAGS); do \
5960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5962 echo "Doing install-info in fastjar" ; \
5964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5966 "RANLIB=$${RANLIB}" \
5967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5972 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
5973 maybe-installcheck-fastjar:
5975 installcheck-fastjar: \
5977 @[ -f ./fastjar/Makefile ] || exit 0; \
5978 r=`${PWD_COMMAND}`; export r; \
5979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5981 for flag in $(EXTRA_HOST_FLAGS); do \
5982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5984 echo "Doing installcheck in fastjar" ; \
5986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5988 "RANLIB=$${RANLIB}" \
5989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5994 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
5995 maybe-mostlyclean-fastjar:
5997 mostlyclean-fastjar:
5998 @[ -f ./fastjar/Makefile ] || exit 0; \
5999 r=`${PWD_COMMAND}`; export r; \
6000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6002 for flag in $(EXTRA_HOST_FLAGS); do \
6003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6005 echo "Doing mostlyclean in fastjar" ; \
6007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6009 "RANLIB=$${RANLIB}" \
6010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6015 .PHONY: maybe-clean-fastjar clean-fastjar
6016 maybe-clean-fastjar:
6019 @[ -f ./fastjar/Makefile ] || exit 0; \
6020 r=`${PWD_COMMAND}`; export r; \
6021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6023 for flag in $(EXTRA_HOST_FLAGS); do \
6024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6026 echo "Doing clean in fastjar" ; \
6028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6030 "RANLIB=$${RANLIB}" \
6031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6036 .PHONY: maybe-distclean-fastjar distclean-fastjar
6037 maybe-distclean-fastjar:
6040 @[ -f ./fastjar/Makefile ] || exit 0; \
6041 r=`${PWD_COMMAND}`; export r; \
6042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6044 for flag in $(EXTRA_HOST_FLAGS); do \
6045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6047 echo "Doing distclean in fastjar" ; \
6049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6051 "RANLIB=$${RANLIB}" \
6052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6057 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
6058 maybe-maintainer-clean-fastjar:
6060 maintainer-clean-fastjar:
6061 @[ -f ./fastjar/Makefile ] || exit 0; \
6062 r=`${PWD_COMMAND}`; export r; \
6063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6065 for flag in $(EXTRA_HOST_FLAGS); do \
6066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6068 echo "Doing maintainer-clean in fastjar" ; \
6070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6072 "RANLIB=$${RANLIB}" \
6073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6079 .PHONY: configure-fileutils maybe-configure-fileutils
6080 maybe-configure-fileutils:
6081 configure-fileutils:
6082 @test ! -f fileutils/Makefile || exit 0; \
6083 [ -d fileutils ] || mkdir fileutils; \
6084 r=`${PWD_COMMAND}`; export r; \
6085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6086 CC="$(CC)"; export CC; \
6087 CFLAGS="$(CFLAGS)"; export CFLAGS; \
6088 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
6089 CXX="$(CXX)"; export CXX; \
6090 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
6091 AR="$(AR)"; export AR; \
6092 AS="$(AS)"; export AS; \
6093 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
6094 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
6095 LD="$(LD)"; export LD; \
6096 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
6097 NM="$(NM)"; export NM; \
6098 RANLIB="$(RANLIB)"; export RANLIB; \
6099 WINDRES="$(WINDRES)"; export WINDRES; \
6100 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
6101 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
6102 echo Configuring in fileutils; \
6103 cd fileutils || exit 1; \
6106 srcdiroption="--srcdir=."; \
6108 /* | [A-Za-z]:[\\/]*) \
6109 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
6110 libsrcdir="$$s/fileutils";; \
6112 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
6113 libsrcdir="$$s/fileutils";; \
6115 $(SHELL) $${libsrcdir}/configure \
6116 $(HOST_CONFIGARGS) $${srcdiroption} \
6119 .PHONY: all-fileutils maybe-all-fileutils
6120 maybe-all-fileutils:
6121 all-fileutils: configure-fileutils
6122 @r=`${PWD_COMMAND}`; export r; \
6123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6125 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) all)
6127 .PHONY: check-fileutils maybe-check-fileutils
6128 maybe-check-fileutils:
6131 @r=`${PWD_COMMAND}`; export r; \
6132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6134 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
6137 .PHONY: install-fileutils maybe-install-fileutils
6138 maybe-install-fileutils:
6140 install-fileutils: installdirs
6141 @r=`${PWD_COMMAND}`; export r; \
6142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6144 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
6147 # Other targets (info, dvi, etc.)
6149 .PHONY: maybe-info-fileutils info-fileutils
6150 maybe-info-fileutils:
6154 @[ -f ./fileutils/Makefile ] || exit 0; \
6155 r=`${PWD_COMMAND}`; export r; \
6156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6158 for flag in $(EXTRA_HOST_FLAGS); do \
6159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6161 echo "Doing info in fileutils" ; \
6163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6165 "RANLIB=$${RANLIB}" \
6166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6171 .PHONY: maybe-dvi-fileutils dvi-fileutils
6172 maybe-dvi-fileutils:
6176 @[ -f ./fileutils/Makefile ] || exit 0; \
6177 r=`${PWD_COMMAND}`; export r; \
6178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6180 for flag in $(EXTRA_HOST_FLAGS); do \
6181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6183 echo "Doing dvi in fileutils" ; \
6185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6187 "RANLIB=$${RANLIB}" \
6188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6193 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
6194 maybe-TAGS-fileutils:
6198 @[ -f ./fileutils/Makefile ] || exit 0; \
6199 r=`${PWD_COMMAND}`; export r; \
6200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6202 for flag in $(EXTRA_HOST_FLAGS); do \
6203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6205 echo "Doing TAGS in fileutils" ; \
6207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6209 "RANLIB=$${RANLIB}" \
6210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6215 .PHONY: maybe-install-info-fileutils install-info-fileutils
6216 maybe-install-info-fileutils:
6218 install-info-fileutils: \
6219 configure-fileutils \
6221 @[ -f ./fileutils/Makefile ] || exit 0; \
6222 r=`${PWD_COMMAND}`; export r; \
6223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6225 for flag in $(EXTRA_HOST_FLAGS); do \
6226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6228 echo "Doing install-info in fileutils" ; \
6230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6232 "RANLIB=$${RANLIB}" \
6233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6238 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
6239 maybe-installcheck-fileutils:
6241 installcheck-fileutils: \
6243 @[ -f ./fileutils/Makefile ] || exit 0; \
6244 r=`${PWD_COMMAND}`; export r; \
6245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6247 for flag in $(EXTRA_HOST_FLAGS); do \
6248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6250 echo "Doing installcheck in fileutils" ; \
6252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6254 "RANLIB=$${RANLIB}" \
6255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6260 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
6261 maybe-mostlyclean-fileutils:
6263 mostlyclean-fileutils:
6264 @[ -f ./fileutils/Makefile ] || exit 0; \
6265 r=`${PWD_COMMAND}`; export r; \
6266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6268 for flag in $(EXTRA_HOST_FLAGS); do \
6269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6271 echo "Doing mostlyclean in fileutils" ; \
6273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6275 "RANLIB=$${RANLIB}" \
6276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6281 .PHONY: maybe-clean-fileutils clean-fileutils
6282 maybe-clean-fileutils:
6285 @[ -f ./fileutils/Makefile ] || exit 0; \
6286 r=`${PWD_COMMAND}`; export r; \
6287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6289 for flag in $(EXTRA_HOST_FLAGS); do \
6290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6292 echo "Doing clean in fileutils" ; \
6294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6296 "RANLIB=$${RANLIB}" \
6297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6302 .PHONY: maybe-distclean-fileutils distclean-fileutils
6303 maybe-distclean-fileutils:
6305 distclean-fileutils:
6306 @[ -f ./fileutils/Makefile ] || exit 0; \
6307 r=`${PWD_COMMAND}`; export r; \
6308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6310 for flag in $(EXTRA_HOST_FLAGS); do \
6311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6313 echo "Doing distclean in fileutils" ; \
6315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6317 "RANLIB=$${RANLIB}" \
6318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6323 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
6324 maybe-maintainer-clean-fileutils:
6326 maintainer-clean-fileutils:
6327 @[ -f ./fileutils/Makefile ] || exit 0; \
6328 r=`${PWD_COMMAND}`; export r; \
6329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6331 for flag in $(EXTRA_HOST_FLAGS); do \
6332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6334 echo "Doing maintainer-clean in fileutils" ; \
6336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6338 "RANLIB=$${RANLIB}" \
6339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6345 .PHONY: configure-findutils maybe-configure-findutils
6346 maybe-configure-findutils:
6347 configure-findutils:
6348 @test ! -f findutils/Makefile || exit 0; \
6349 [ -d findutils ] || mkdir findutils; \
6350 r=`${PWD_COMMAND}`; export r; \
6351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6352 CC="$(CC)"; export CC; \
6353 CFLAGS="$(CFLAGS)"; export CFLAGS; \
6354 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
6355 CXX="$(CXX)"; export CXX; \
6356 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
6357 AR="$(AR)"; export AR; \
6358 AS="$(AS)"; export AS; \
6359 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
6360 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
6361 LD="$(LD)"; export LD; \
6362 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
6363 NM="$(NM)"; export NM; \
6364 RANLIB="$(RANLIB)"; export RANLIB; \
6365 WINDRES="$(WINDRES)"; export WINDRES; \
6366 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
6367 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
6368 echo Configuring in findutils; \
6369 cd findutils || exit 1; \
6372 srcdiroption="--srcdir=."; \
6374 /* | [A-Za-z]:[\\/]*) \
6375 srcdiroption="--srcdir=$(srcdir)/findutils"; \
6376 libsrcdir="$$s/findutils";; \
6378 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
6379 libsrcdir="$$s/findutils";; \
6381 $(SHELL) $${libsrcdir}/configure \
6382 $(HOST_CONFIGARGS) $${srcdiroption} \
6385 .PHONY: all-findutils maybe-all-findutils
6386 maybe-all-findutils:
6387 all-findutils: configure-findutils
6388 @r=`${PWD_COMMAND}`; export r; \
6389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6391 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) all)
6393 .PHONY: check-findutils maybe-check-findutils
6394 maybe-check-findutils:
6397 @r=`${PWD_COMMAND}`; export r; \
6398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6400 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
6403 .PHONY: install-findutils maybe-install-findutils
6404 maybe-install-findutils:
6406 install-findutils: installdirs
6407 @r=`${PWD_COMMAND}`; export r; \
6408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6410 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
6413 # Other targets (info, dvi, etc.)
6415 .PHONY: maybe-info-findutils info-findutils
6416 maybe-info-findutils:
6420 @[ -f ./findutils/Makefile ] || exit 0; \
6421 r=`${PWD_COMMAND}`; export r; \
6422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6424 for flag in $(EXTRA_HOST_FLAGS); do \
6425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6427 echo "Doing info in findutils" ; \
6429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6431 "RANLIB=$${RANLIB}" \
6432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6437 .PHONY: maybe-dvi-findutils dvi-findutils
6438 maybe-dvi-findutils:
6442 @[ -f ./findutils/Makefile ] || exit 0; \
6443 r=`${PWD_COMMAND}`; export r; \
6444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6446 for flag in $(EXTRA_HOST_FLAGS); do \
6447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6449 echo "Doing dvi in findutils" ; \
6451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6453 "RANLIB=$${RANLIB}" \
6454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6459 .PHONY: maybe-TAGS-findutils TAGS-findutils
6460 maybe-TAGS-findutils:
6464 @[ -f ./findutils/Makefile ] || exit 0; \
6465 r=`${PWD_COMMAND}`; export r; \
6466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6468 for flag in $(EXTRA_HOST_FLAGS); do \
6469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6471 echo "Doing TAGS in findutils" ; \
6473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6475 "RANLIB=$${RANLIB}" \
6476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6481 .PHONY: maybe-install-info-findutils install-info-findutils
6482 maybe-install-info-findutils:
6484 install-info-findutils: \
6485 configure-findutils \
6487 @[ -f ./findutils/Makefile ] || exit 0; \
6488 r=`${PWD_COMMAND}`; export r; \
6489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6491 for flag in $(EXTRA_HOST_FLAGS); do \
6492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6494 echo "Doing install-info in findutils" ; \
6496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6498 "RANLIB=$${RANLIB}" \
6499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6504 .PHONY: maybe-installcheck-findutils installcheck-findutils
6505 maybe-installcheck-findutils:
6507 installcheck-findutils: \
6509 @[ -f ./findutils/Makefile ] || exit 0; \
6510 r=`${PWD_COMMAND}`; export r; \
6511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6513 for flag in $(EXTRA_HOST_FLAGS); do \
6514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6516 echo "Doing installcheck in findutils" ; \
6518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6520 "RANLIB=$${RANLIB}" \
6521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6526 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
6527 maybe-mostlyclean-findutils:
6529 mostlyclean-findutils:
6530 @[ -f ./findutils/Makefile ] || exit 0; \
6531 r=`${PWD_COMMAND}`; export r; \
6532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6534 for flag in $(EXTRA_HOST_FLAGS); do \
6535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6537 echo "Doing mostlyclean in findutils" ; \
6539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6541 "RANLIB=$${RANLIB}" \
6542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6547 .PHONY: maybe-clean-findutils clean-findutils
6548 maybe-clean-findutils:
6551 @[ -f ./findutils/Makefile ] || exit 0; \
6552 r=`${PWD_COMMAND}`; export r; \
6553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6555 for flag in $(EXTRA_HOST_FLAGS); do \
6556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6558 echo "Doing clean in findutils" ; \
6560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6562 "RANLIB=$${RANLIB}" \
6563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6568 .PHONY: maybe-distclean-findutils distclean-findutils
6569 maybe-distclean-findutils:
6571 distclean-findutils:
6572 @[ -f ./findutils/Makefile ] || exit 0; \
6573 r=`${PWD_COMMAND}`; export r; \
6574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6576 for flag in $(EXTRA_HOST_FLAGS); do \
6577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6579 echo "Doing distclean in findutils" ; \
6581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6583 "RANLIB=$${RANLIB}" \
6584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6589 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
6590 maybe-maintainer-clean-findutils:
6592 maintainer-clean-findutils:
6593 @[ -f ./findutils/Makefile ] || exit 0; \
6594 r=`${PWD_COMMAND}`; export r; \
6595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6597 for flag in $(EXTRA_HOST_FLAGS); do \
6598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6600 echo "Doing maintainer-clean in findutils" ; \
6602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6604 "RANLIB=$${RANLIB}" \
6605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6611 .PHONY: configure-find maybe-configure-find
6612 maybe-configure-find:
6614 @test ! -f find/Makefile || exit 0; \
6615 [ -d find ] || mkdir find; \
6616 r=`${PWD_COMMAND}`; export r; \
6617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6618 CC="$(CC)"; export CC; \
6619 CFLAGS="$(CFLAGS)"; export CFLAGS; \
6620 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
6621 CXX="$(CXX)"; export CXX; \
6622 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
6623 AR="$(AR)"; export AR; \
6624 AS="$(AS)"; export AS; \
6625 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
6626 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
6627 LD="$(LD)"; export LD; \
6628 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
6629 NM="$(NM)"; export NM; \
6630 RANLIB="$(RANLIB)"; export RANLIB; \
6631 WINDRES="$(WINDRES)"; export WINDRES; \
6632 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
6633 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
6634 echo Configuring in find; \
6635 cd find || exit 1; \
6638 srcdiroption="--srcdir=."; \
6640 /* | [A-Za-z]:[\\/]*) \
6641 srcdiroption="--srcdir=$(srcdir)/find"; \
6642 libsrcdir="$$s/find";; \
6644 srcdiroption="--srcdir=../$(srcdir)/find"; \
6645 libsrcdir="$$s/find";; \
6647 $(SHELL) $${libsrcdir}/configure \
6648 $(HOST_CONFIGARGS) $${srcdiroption} \
6651 .PHONY: all-find maybe-all-find
6653 all-find: configure-find
6654 @r=`${PWD_COMMAND}`; export r; \
6655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6657 (cd find && $(MAKE) $(FLAGS_TO_PASS) all)
6659 .PHONY: check-find maybe-check-find
6663 @r=`${PWD_COMMAND}`; export r; \
6664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6666 (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
6669 .PHONY: install-find maybe-install-find
6672 install-find: installdirs
6673 @r=`${PWD_COMMAND}`; export r; \
6674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6676 (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
6679 # Other targets (info, dvi, etc.)
6681 .PHONY: maybe-info-find info-find
6686 @[ -f ./find/Makefile ] || exit 0; \
6687 r=`${PWD_COMMAND}`; export r; \
6688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6690 for flag in $(EXTRA_HOST_FLAGS); do \
6691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6693 echo "Doing info in find" ; \
6695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6697 "RANLIB=$${RANLIB}" \
6698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6703 .PHONY: maybe-dvi-find dvi-find
6708 @[ -f ./find/Makefile ] || exit 0; \
6709 r=`${PWD_COMMAND}`; export r; \
6710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6712 for flag in $(EXTRA_HOST_FLAGS); do \
6713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6715 echo "Doing dvi in find" ; \
6717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6719 "RANLIB=$${RANLIB}" \
6720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6725 .PHONY: maybe-TAGS-find TAGS-find
6730 @[ -f ./find/Makefile ] || exit 0; \
6731 r=`${PWD_COMMAND}`; export r; \
6732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6734 for flag in $(EXTRA_HOST_FLAGS); do \
6735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6737 echo "Doing TAGS in find" ; \
6739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6741 "RANLIB=$${RANLIB}" \
6742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6747 .PHONY: maybe-install-info-find install-info-find
6748 maybe-install-info-find:
6750 install-info-find: \
6753 @[ -f ./find/Makefile ] || exit 0; \
6754 r=`${PWD_COMMAND}`; export r; \
6755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6757 for flag in $(EXTRA_HOST_FLAGS); do \
6758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6760 echo "Doing install-info in find" ; \
6762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6764 "RANLIB=$${RANLIB}" \
6765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6770 .PHONY: maybe-installcheck-find installcheck-find
6771 maybe-installcheck-find:
6773 installcheck-find: \
6775 @[ -f ./find/Makefile ] || exit 0; \
6776 r=`${PWD_COMMAND}`; export r; \
6777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6779 for flag in $(EXTRA_HOST_FLAGS); do \
6780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6782 echo "Doing installcheck in find" ; \
6784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6786 "RANLIB=$${RANLIB}" \
6787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6792 .PHONY: maybe-mostlyclean-find mostlyclean-find
6793 maybe-mostlyclean-find:
6796 @[ -f ./find/Makefile ] || exit 0; \
6797 r=`${PWD_COMMAND}`; export r; \
6798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6800 for flag in $(EXTRA_HOST_FLAGS); do \
6801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6803 echo "Doing mostlyclean in find" ; \
6805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6807 "RANLIB=$${RANLIB}" \
6808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6813 .PHONY: maybe-clean-find clean-find
6817 @[ -f ./find/Makefile ] || exit 0; \
6818 r=`${PWD_COMMAND}`; export r; \
6819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6821 for flag in $(EXTRA_HOST_FLAGS); do \
6822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6824 echo "Doing clean in find" ; \
6826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6828 "RANLIB=$${RANLIB}" \
6829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6834 .PHONY: maybe-distclean-find distclean-find
6835 maybe-distclean-find:
6838 @[ -f ./find/Makefile ] || exit 0; \
6839 r=`${PWD_COMMAND}`; export r; \
6840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6842 for flag in $(EXTRA_HOST_FLAGS); do \
6843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6845 echo "Doing distclean in find" ; \
6847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6849 "RANLIB=$${RANLIB}" \
6850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6855 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
6856 maybe-maintainer-clean-find:
6858 maintainer-clean-find:
6859 @[ -f ./find/Makefile ] || exit 0; \
6860 r=`${PWD_COMMAND}`; export r; \
6861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6863 for flag in $(EXTRA_HOST_FLAGS); do \
6864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6866 echo "Doing maintainer-clean in find" ; \
6868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6870 "RANLIB=$${RANLIB}" \
6871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6877 .PHONY: configure-flex maybe-configure-flex
6878 maybe-configure-flex:
6880 @test ! -f flex/Makefile || exit 0; \
6881 [ -d flex ] || mkdir flex; \
6882 r=`${PWD_COMMAND}`; export r; \
6883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6884 CC="$(CC)"; export CC; \
6885 CFLAGS="$(CFLAGS)"; export CFLAGS; \
6886 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
6887 CXX="$(CXX)"; export CXX; \
6888 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
6889 AR="$(AR)"; export AR; \
6890 AS="$(AS)"; export AS; \
6891 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
6892 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
6893 LD="$(LD)"; export LD; \
6894 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
6895 NM="$(NM)"; export NM; \
6896 RANLIB="$(RANLIB)"; export RANLIB; \
6897 WINDRES="$(WINDRES)"; export WINDRES; \
6898 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
6899 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
6900 echo Configuring in flex; \
6901 cd flex || exit 1; \
6904 srcdiroption="--srcdir=."; \
6906 /* | [A-Za-z]:[\\/]*) \
6907 srcdiroption="--srcdir=$(srcdir)/flex"; \
6908 libsrcdir="$$s/flex";; \
6910 srcdiroption="--srcdir=../$(srcdir)/flex"; \
6911 libsrcdir="$$s/flex";; \
6913 $(SHELL) $${libsrcdir}/configure \
6914 $(HOST_CONFIGARGS) $${srcdiroption} \
6917 .PHONY: all-flex maybe-all-flex
6919 all-flex: configure-flex
6920 @r=`${PWD_COMMAND}`; export r; \
6921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6923 (cd flex && $(MAKE) $(FLAGS_TO_PASS) all)
6925 .PHONY: check-flex maybe-check-flex
6928 # This module is only tested in a native toolchain.
6930 @if [ '$(host)' = '$(target)' ] ; then \
6931 r=`${PWD_COMMAND}`; export r; \
6932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6934 (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \
6938 .PHONY: install-flex maybe-install-flex
6941 install-flex: installdirs
6942 @r=`${PWD_COMMAND}`; export r; \
6943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6945 (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
6948 # Other targets (info, dvi, etc.)
6950 .PHONY: maybe-info-flex info-flex
6955 @[ -f ./flex/Makefile ] || exit 0; \
6956 r=`${PWD_COMMAND}`; export r; \
6957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6959 for flag in $(EXTRA_HOST_FLAGS); do \
6960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6962 echo "Doing info in flex" ; \
6964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6966 "RANLIB=$${RANLIB}" \
6967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6972 .PHONY: maybe-dvi-flex dvi-flex
6977 @[ -f ./flex/Makefile ] || exit 0; \
6978 r=`${PWD_COMMAND}`; export r; \
6979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6981 for flag in $(EXTRA_HOST_FLAGS); do \
6982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6984 echo "Doing dvi in flex" ; \
6986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6988 "RANLIB=$${RANLIB}" \
6989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6994 .PHONY: maybe-TAGS-flex TAGS-flex
6999 @[ -f ./flex/Makefile ] || exit 0; \
7000 r=`${PWD_COMMAND}`; export r; \
7001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7003 for flag in $(EXTRA_HOST_FLAGS); do \
7004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7006 echo "Doing TAGS in flex" ; \
7008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7010 "RANLIB=$${RANLIB}" \
7011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7016 .PHONY: maybe-install-info-flex install-info-flex
7017 maybe-install-info-flex:
7019 install-info-flex: \
7022 @[ -f ./flex/Makefile ] || exit 0; \
7023 r=`${PWD_COMMAND}`; export r; \
7024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7026 for flag in $(EXTRA_HOST_FLAGS); do \
7027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7029 echo "Doing install-info in flex" ; \
7031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7033 "RANLIB=$${RANLIB}" \
7034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7039 .PHONY: maybe-installcheck-flex installcheck-flex
7040 maybe-installcheck-flex:
7042 installcheck-flex: \
7044 @[ -f ./flex/Makefile ] || exit 0; \
7045 r=`${PWD_COMMAND}`; export r; \
7046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7048 for flag in $(EXTRA_HOST_FLAGS); do \
7049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7051 echo "Doing installcheck in flex" ; \
7053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7055 "RANLIB=$${RANLIB}" \
7056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7061 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
7062 maybe-mostlyclean-flex:
7065 @[ -f ./flex/Makefile ] || exit 0; \
7066 r=`${PWD_COMMAND}`; export r; \
7067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7069 for flag in $(EXTRA_HOST_FLAGS); do \
7070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7072 echo "Doing mostlyclean in flex" ; \
7074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7076 "RANLIB=$${RANLIB}" \
7077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7082 .PHONY: maybe-clean-flex clean-flex
7086 @[ -f ./flex/Makefile ] || exit 0; \
7087 r=`${PWD_COMMAND}`; export r; \
7088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7090 for flag in $(EXTRA_HOST_FLAGS); do \
7091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7093 echo "Doing clean in flex" ; \
7095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7097 "RANLIB=$${RANLIB}" \
7098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7103 .PHONY: maybe-distclean-flex distclean-flex
7104 maybe-distclean-flex:
7107 @[ -f ./flex/Makefile ] || exit 0; \
7108 r=`${PWD_COMMAND}`; export r; \
7109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7111 for flag in $(EXTRA_HOST_FLAGS); do \
7112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7114 echo "Doing distclean in flex" ; \
7116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7118 "RANLIB=$${RANLIB}" \
7119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7124 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
7125 maybe-maintainer-clean-flex:
7127 maintainer-clean-flex:
7128 @[ -f ./flex/Makefile ] || exit 0; \
7129 r=`${PWD_COMMAND}`; export r; \
7130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7132 for flag in $(EXTRA_HOST_FLAGS); do \
7133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7135 echo "Doing maintainer-clean in flex" ; \
7137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7139 "RANLIB=$${RANLIB}" \
7140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7146 .PHONY: configure-gas maybe-configure-gas
7147 maybe-configure-gas:
7149 @test ! -f gas/Makefile || exit 0; \
7150 [ -d gas ] || mkdir gas; \
7151 r=`${PWD_COMMAND}`; export r; \
7152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7153 CC="$(CC)"; export CC; \
7154 CFLAGS="$(CFLAGS)"; export CFLAGS; \
7155 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
7156 CXX="$(CXX)"; export CXX; \
7157 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
7158 AR="$(AR)"; export AR; \
7159 AS="$(AS)"; export AS; \
7160 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
7161 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
7162 LD="$(LD)"; export LD; \
7163 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
7164 NM="$(NM)"; export NM; \
7165 RANLIB="$(RANLIB)"; export RANLIB; \
7166 WINDRES="$(WINDRES)"; export WINDRES; \
7167 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
7168 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
7169 echo Configuring in gas; \
7173 srcdiroption="--srcdir=."; \
7175 /* | [A-Za-z]:[\\/]*) \
7176 srcdiroption="--srcdir=$(srcdir)/gas"; \
7177 libsrcdir="$$s/gas";; \
7179 srcdiroption="--srcdir=../$(srcdir)/gas"; \
7180 libsrcdir="$$s/gas";; \
7182 $(SHELL) $${libsrcdir}/configure \
7183 $(HOST_CONFIGARGS) $${srcdiroption} \
7186 .PHONY: all-gas maybe-all-gas
7188 all-gas: configure-gas
7189 @r=`${PWD_COMMAND}`; export r; \
7190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7192 (cd gas && $(MAKE) $(FLAGS_TO_PASS) all)
7194 .PHONY: check-gas maybe-check-gas
7198 @r=`${PWD_COMMAND}`; export r; \
7199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7201 (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
7204 .PHONY: install-gas maybe-install-gas
7207 install-gas: installdirs
7208 @r=`${PWD_COMMAND}`; export r; \
7209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7211 (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
7214 # Other targets (info, dvi, etc.)
7216 .PHONY: maybe-info-gas info-gas
7221 @[ -f ./gas/Makefile ] || exit 0; \
7222 r=`${PWD_COMMAND}`; export r; \
7223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7225 for flag in $(EXTRA_HOST_FLAGS); do \
7226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7228 echo "Doing info in gas" ; \
7230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7232 "RANLIB=$${RANLIB}" \
7233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7238 .PHONY: maybe-dvi-gas dvi-gas
7243 @[ -f ./gas/Makefile ] || exit 0; \
7244 r=`${PWD_COMMAND}`; export r; \
7245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7247 for flag in $(EXTRA_HOST_FLAGS); do \
7248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7250 echo "Doing dvi in gas" ; \
7252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7254 "RANLIB=$${RANLIB}" \
7255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7260 .PHONY: maybe-TAGS-gas TAGS-gas
7265 @[ -f ./gas/Makefile ] || exit 0; \
7266 r=`${PWD_COMMAND}`; export r; \
7267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7269 for flag in $(EXTRA_HOST_FLAGS); do \
7270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7272 echo "Doing TAGS in gas" ; \
7274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7276 "RANLIB=$${RANLIB}" \
7277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7282 .PHONY: maybe-install-info-gas install-info-gas
7283 maybe-install-info-gas:
7288 @[ -f ./gas/Makefile ] || exit 0; \
7289 r=`${PWD_COMMAND}`; export r; \
7290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7292 for flag in $(EXTRA_HOST_FLAGS); do \
7293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7295 echo "Doing install-info in gas" ; \
7297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7299 "RANLIB=$${RANLIB}" \
7300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7305 .PHONY: maybe-installcheck-gas installcheck-gas
7306 maybe-installcheck-gas:
7310 @[ -f ./gas/Makefile ] || exit 0; \
7311 r=`${PWD_COMMAND}`; export r; \
7312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7314 for flag in $(EXTRA_HOST_FLAGS); do \
7315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7317 echo "Doing installcheck in gas" ; \
7319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7321 "RANLIB=$${RANLIB}" \
7322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7327 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
7328 maybe-mostlyclean-gas:
7331 @[ -f ./gas/Makefile ] || exit 0; \
7332 r=`${PWD_COMMAND}`; export r; \
7333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7335 for flag in $(EXTRA_HOST_FLAGS); do \
7336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7338 echo "Doing mostlyclean in gas" ; \
7340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7342 "RANLIB=$${RANLIB}" \
7343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7348 .PHONY: maybe-clean-gas clean-gas
7352 @[ -f ./gas/Makefile ] || exit 0; \
7353 r=`${PWD_COMMAND}`; export r; \
7354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7356 for flag in $(EXTRA_HOST_FLAGS); do \
7357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7359 echo "Doing clean in gas" ; \
7361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7363 "RANLIB=$${RANLIB}" \
7364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7369 .PHONY: maybe-distclean-gas distclean-gas
7370 maybe-distclean-gas:
7373 @[ -f ./gas/Makefile ] || exit 0; \
7374 r=`${PWD_COMMAND}`; export r; \
7375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7377 for flag in $(EXTRA_HOST_FLAGS); do \
7378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7380 echo "Doing distclean in gas" ; \
7382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7384 "RANLIB=$${RANLIB}" \
7385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7390 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
7391 maybe-maintainer-clean-gas:
7393 maintainer-clean-gas:
7394 @[ -f ./gas/Makefile ] || exit 0; \
7395 r=`${PWD_COMMAND}`; export r; \
7396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7398 for flag in $(EXTRA_HOST_FLAGS); do \
7399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7401 echo "Doing maintainer-clean in gas" ; \
7403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7405 "RANLIB=$${RANLIB}" \
7406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7412 .PHONY: configure-gawk maybe-configure-gawk
7413 maybe-configure-gawk:
7415 @test ! -f gawk/Makefile || exit 0; \
7416 [ -d gawk ] || mkdir gawk; \
7417 r=`${PWD_COMMAND}`; export r; \
7418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7419 CC="$(CC)"; export CC; \
7420 CFLAGS="$(CFLAGS)"; export CFLAGS; \
7421 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
7422 CXX="$(CXX)"; export CXX; \
7423 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
7424 AR="$(AR)"; export AR; \
7425 AS="$(AS)"; export AS; \
7426 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
7427 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
7428 LD="$(LD)"; export LD; \
7429 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
7430 NM="$(NM)"; export NM; \
7431 RANLIB="$(RANLIB)"; export RANLIB; \
7432 WINDRES="$(WINDRES)"; export WINDRES; \
7433 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
7434 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
7435 echo Configuring in gawk; \
7436 cd gawk || exit 1; \
7439 srcdiroption="--srcdir=."; \
7441 /* | [A-Za-z]:[\\/]*) \
7442 srcdiroption="--srcdir=$(srcdir)/gawk"; \
7443 libsrcdir="$$s/gawk";; \
7445 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
7446 libsrcdir="$$s/gawk";; \
7448 $(SHELL) $${libsrcdir}/configure \
7449 $(HOST_CONFIGARGS) $${srcdiroption} \
7452 .PHONY: all-gawk maybe-all-gawk
7454 all-gawk: configure-gawk
7455 @r=`${PWD_COMMAND}`; export r; \
7456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7458 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) all)
7460 .PHONY: check-gawk maybe-check-gawk
7464 @r=`${PWD_COMMAND}`; export r; \
7465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7467 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
7470 .PHONY: install-gawk maybe-install-gawk
7473 install-gawk: installdirs
7474 @r=`${PWD_COMMAND}`; export r; \
7475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7477 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
7480 # Other targets (info, dvi, etc.)
7482 .PHONY: maybe-info-gawk info-gawk
7487 @[ -f ./gawk/Makefile ] || exit 0; \
7488 r=`${PWD_COMMAND}`; export r; \
7489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7491 for flag in $(EXTRA_HOST_FLAGS); do \
7492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7494 echo "Doing info in gawk" ; \
7496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7498 "RANLIB=$${RANLIB}" \
7499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7504 .PHONY: maybe-dvi-gawk dvi-gawk
7509 @[ -f ./gawk/Makefile ] || exit 0; \
7510 r=`${PWD_COMMAND}`; export r; \
7511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7513 for flag in $(EXTRA_HOST_FLAGS); do \
7514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7516 echo "Doing dvi in gawk" ; \
7518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7520 "RANLIB=$${RANLIB}" \
7521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7526 .PHONY: maybe-TAGS-gawk TAGS-gawk
7531 @[ -f ./gawk/Makefile ] || exit 0; \
7532 r=`${PWD_COMMAND}`; export r; \
7533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7535 for flag in $(EXTRA_HOST_FLAGS); do \
7536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7538 echo "Doing TAGS in gawk" ; \
7540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7542 "RANLIB=$${RANLIB}" \
7543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7548 .PHONY: maybe-install-info-gawk install-info-gawk
7549 maybe-install-info-gawk:
7551 install-info-gawk: \
7554 @[ -f ./gawk/Makefile ] || exit 0; \
7555 r=`${PWD_COMMAND}`; export r; \
7556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7558 for flag in $(EXTRA_HOST_FLAGS); do \
7559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7561 echo "Doing install-info in gawk" ; \
7563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7565 "RANLIB=$${RANLIB}" \
7566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7571 .PHONY: maybe-installcheck-gawk installcheck-gawk
7572 maybe-installcheck-gawk:
7574 installcheck-gawk: \
7576 @[ -f ./gawk/Makefile ] || exit 0; \
7577 r=`${PWD_COMMAND}`; export r; \
7578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7580 for flag in $(EXTRA_HOST_FLAGS); do \
7581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7583 echo "Doing installcheck in gawk" ; \
7585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7587 "RANLIB=$${RANLIB}" \
7588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7593 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
7594 maybe-mostlyclean-gawk:
7597 @[ -f ./gawk/Makefile ] || exit 0; \
7598 r=`${PWD_COMMAND}`; export r; \
7599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7601 for flag in $(EXTRA_HOST_FLAGS); do \
7602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7604 echo "Doing mostlyclean in gawk" ; \
7606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7608 "RANLIB=$${RANLIB}" \
7609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7614 .PHONY: maybe-clean-gawk clean-gawk
7618 @[ -f ./gawk/Makefile ] || exit 0; \
7619 r=`${PWD_COMMAND}`; export r; \
7620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7622 for flag in $(EXTRA_HOST_FLAGS); do \
7623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7625 echo "Doing clean in gawk" ; \
7627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7629 "RANLIB=$${RANLIB}" \
7630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7635 .PHONY: maybe-distclean-gawk distclean-gawk
7636 maybe-distclean-gawk:
7639 @[ -f ./gawk/Makefile ] || exit 0; \
7640 r=`${PWD_COMMAND}`; export r; \
7641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7643 for flag in $(EXTRA_HOST_FLAGS); do \
7644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7646 echo "Doing distclean in gawk" ; \
7648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7650 "RANLIB=$${RANLIB}" \
7651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7656 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
7657 maybe-maintainer-clean-gawk:
7659 maintainer-clean-gawk:
7660 @[ -f ./gawk/Makefile ] || exit 0; \
7661 r=`${PWD_COMMAND}`; export r; \
7662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7664 for flag in $(EXTRA_HOST_FLAGS); do \
7665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7667 echo "Doing maintainer-clean in gawk" ; \
7669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7671 "RANLIB=$${RANLIB}" \
7672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7678 .PHONY: configure-gettext maybe-configure-gettext
7679 maybe-configure-gettext:
7681 @test ! -f gettext/Makefile || exit 0; \
7682 [ -d gettext ] || mkdir gettext; \
7683 r=`${PWD_COMMAND}`; export r; \
7684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7685 CC="$(CC)"; export CC; \
7686 CFLAGS="$(CFLAGS)"; export CFLAGS; \
7687 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
7688 CXX="$(CXX)"; export CXX; \
7689 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
7690 AR="$(AR)"; export AR; \
7691 AS="$(AS)"; export AS; \
7692 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
7693 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
7694 LD="$(LD)"; export LD; \
7695 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
7696 NM="$(NM)"; export NM; \
7697 RANLIB="$(RANLIB)"; export RANLIB; \
7698 WINDRES="$(WINDRES)"; export WINDRES; \
7699 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
7700 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
7701 echo Configuring in gettext; \
7702 cd gettext || exit 1; \
7705 srcdiroption="--srcdir=."; \
7707 /* | [A-Za-z]:[\\/]*) \
7708 srcdiroption="--srcdir=$(srcdir)/gettext"; \
7709 libsrcdir="$$s/gettext";; \
7711 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
7712 libsrcdir="$$s/gettext";; \
7714 $(SHELL) $${libsrcdir}/configure \
7715 $(HOST_CONFIGARGS) $${srcdiroption} \
7718 .PHONY: all-gettext maybe-all-gettext
7720 all-gettext: configure-gettext
7721 @r=`${PWD_COMMAND}`; export r; \
7722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7724 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) all)
7726 .PHONY: check-gettext maybe-check-gettext
7727 maybe-check-gettext:
7730 @r=`${PWD_COMMAND}`; export r; \
7731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7733 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
7736 .PHONY: install-gettext maybe-install-gettext
7737 maybe-install-gettext:
7739 install-gettext: installdirs
7740 @r=`${PWD_COMMAND}`; export r; \
7741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7743 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
7746 # Other targets (info, dvi, etc.)
7748 .PHONY: maybe-info-gettext info-gettext
7753 @[ -f ./gettext/Makefile ] || exit 0; \
7754 r=`${PWD_COMMAND}`; export r; \
7755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7757 for flag in $(EXTRA_HOST_FLAGS); do \
7758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7760 echo "Doing info in gettext" ; \
7762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7764 "RANLIB=$${RANLIB}" \
7765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7770 .PHONY: maybe-dvi-gettext dvi-gettext
7775 @[ -f ./gettext/Makefile ] || exit 0; \
7776 r=`${PWD_COMMAND}`; export r; \
7777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7779 for flag in $(EXTRA_HOST_FLAGS); do \
7780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7782 echo "Doing dvi in gettext" ; \
7784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7786 "RANLIB=$${RANLIB}" \
7787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7792 .PHONY: maybe-TAGS-gettext TAGS-gettext
7797 @[ -f ./gettext/Makefile ] || exit 0; \
7798 r=`${PWD_COMMAND}`; export r; \
7799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7801 for flag in $(EXTRA_HOST_FLAGS); do \
7802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7804 echo "Doing TAGS in gettext" ; \
7806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7808 "RANLIB=$${RANLIB}" \
7809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7814 .PHONY: maybe-install-info-gettext install-info-gettext
7815 maybe-install-info-gettext:
7817 install-info-gettext: \
7820 @[ -f ./gettext/Makefile ] || exit 0; \
7821 r=`${PWD_COMMAND}`; export r; \
7822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7824 for flag in $(EXTRA_HOST_FLAGS); do \
7825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7827 echo "Doing install-info in gettext" ; \
7829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7831 "RANLIB=$${RANLIB}" \
7832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7837 .PHONY: maybe-installcheck-gettext installcheck-gettext
7838 maybe-installcheck-gettext:
7840 installcheck-gettext: \
7842 @[ -f ./gettext/Makefile ] || exit 0; \
7843 r=`${PWD_COMMAND}`; export r; \
7844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7846 for flag in $(EXTRA_HOST_FLAGS); do \
7847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7849 echo "Doing installcheck in gettext" ; \
7851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7853 "RANLIB=$${RANLIB}" \
7854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7859 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
7860 maybe-mostlyclean-gettext:
7862 mostlyclean-gettext:
7863 @[ -f ./gettext/Makefile ] || exit 0; \
7864 r=`${PWD_COMMAND}`; export r; \
7865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7867 for flag in $(EXTRA_HOST_FLAGS); do \
7868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7870 echo "Doing mostlyclean in gettext" ; \
7872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7874 "RANLIB=$${RANLIB}" \
7875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7880 .PHONY: maybe-clean-gettext clean-gettext
7881 maybe-clean-gettext:
7884 @[ -f ./gettext/Makefile ] || exit 0; \
7885 r=`${PWD_COMMAND}`; export r; \
7886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7888 for flag in $(EXTRA_HOST_FLAGS); do \
7889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7891 echo "Doing clean in gettext" ; \
7893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7895 "RANLIB=$${RANLIB}" \
7896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7901 .PHONY: maybe-distclean-gettext distclean-gettext
7902 maybe-distclean-gettext:
7905 @[ -f ./gettext/Makefile ] || exit 0; \
7906 r=`${PWD_COMMAND}`; export r; \
7907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7909 for flag in $(EXTRA_HOST_FLAGS); do \
7910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7912 echo "Doing distclean in gettext" ; \
7914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7916 "RANLIB=$${RANLIB}" \
7917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7922 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
7923 maybe-maintainer-clean-gettext:
7925 maintainer-clean-gettext:
7926 @[ -f ./gettext/Makefile ] || exit 0; \
7927 r=`${PWD_COMMAND}`; export r; \
7928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7930 for flag in $(EXTRA_HOST_FLAGS); do \
7931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7933 echo "Doing maintainer-clean in gettext" ; \
7935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7937 "RANLIB=$${RANLIB}" \
7938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7944 .PHONY: configure-gnuserv maybe-configure-gnuserv
7945 maybe-configure-gnuserv:
7947 @test ! -f gnuserv/Makefile || exit 0; \
7948 [ -d gnuserv ] || mkdir gnuserv; \
7949 r=`${PWD_COMMAND}`; export r; \
7950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7951 CC="$(CC)"; export CC; \
7952 CFLAGS="$(CFLAGS)"; export CFLAGS; \
7953 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
7954 CXX="$(CXX)"; export CXX; \
7955 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
7956 AR="$(AR)"; export AR; \
7957 AS="$(AS)"; export AS; \
7958 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
7959 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
7960 LD="$(LD)"; export LD; \
7961 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
7962 NM="$(NM)"; export NM; \
7963 RANLIB="$(RANLIB)"; export RANLIB; \
7964 WINDRES="$(WINDRES)"; export WINDRES; \
7965 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
7966 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
7967 echo Configuring in gnuserv; \
7968 cd gnuserv || exit 1; \
7971 srcdiroption="--srcdir=."; \
7973 /* | [A-Za-z]:[\\/]*) \
7974 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
7975 libsrcdir="$$s/gnuserv";; \
7977 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
7978 libsrcdir="$$s/gnuserv";; \
7980 $(SHELL) $${libsrcdir}/configure \
7981 $(HOST_CONFIGARGS) $${srcdiroption} \
7984 .PHONY: all-gnuserv maybe-all-gnuserv
7986 all-gnuserv: configure-gnuserv
7987 @r=`${PWD_COMMAND}`; export r; \
7988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7990 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) all)
7992 .PHONY: check-gnuserv maybe-check-gnuserv
7993 maybe-check-gnuserv:
7996 @r=`${PWD_COMMAND}`; export r; \
7997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7999 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
8002 .PHONY: install-gnuserv maybe-install-gnuserv
8003 maybe-install-gnuserv:
8005 install-gnuserv: installdirs
8006 @r=`${PWD_COMMAND}`; export r; \
8007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8009 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
8012 # Other targets (info, dvi, etc.)
8014 .PHONY: maybe-info-gnuserv info-gnuserv
8019 @[ -f ./gnuserv/Makefile ] || exit 0; \
8020 r=`${PWD_COMMAND}`; export r; \
8021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8023 for flag in $(EXTRA_HOST_FLAGS); do \
8024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8026 echo "Doing info in gnuserv" ; \
8028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8030 "RANLIB=$${RANLIB}" \
8031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8036 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
8041 @[ -f ./gnuserv/Makefile ] || exit 0; \
8042 r=`${PWD_COMMAND}`; export r; \
8043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8045 for flag in $(EXTRA_HOST_FLAGS); do \
8046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8048 echo "Doing dvi in gnuserv" ; \
8050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8052 "RANLIB=$${RANLIB}" \
8053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8058 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
8063 @[ -f ./gnuserv/Makefile ] || exit 0; \
8064 r=`${PWD_COMMAND}`; export r; \
8065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8067 for flag in $(EXTRA_HOST_FLAGS); do \
8068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8070 echo "Doing TAGS in gnuserv" ; \
8072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8074 "RANLIB=$${RANLIB}" \
8075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8080 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
8081 maybe-install-info-gnuserv:
8083 install-info-gnuserv: \
8086 @[ -f ./gnuserv/Makefile ] || exit 0; \
8087 r=`${PWD_COMMAND}`; export r; \
8088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8090 for flag in $(EXTRA_HOST_FLAGS); do \
8091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8093 echo "Doing install-info in gnuserv" ; \
8095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8097 "RANLIB=$${RANLIB}" \
8098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8103 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
8104 maybe-installcheck-gnuserv:
8106 installcheck-gnuserv: \
8108 @[ -f ./gnuserv/Makefile ] || exit 0; \
8109 r=`${PWD_COMMAND}`; export r; \
8110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8112 for flag in $(EXTRA_HOST_FLAGS); do \
8113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8115 echo "Doing installcheck in gnuserv" ; \
8117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8119 "RANLIB=$${RANLIB}" \
8120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8125 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
8126 maybe-mostlyclean-gnuserv:
8128 mostlyclean-gnuserv:
8129 @[ -f ./gnuserv/Makefile ] || exit 0; \
8130 r=`${PWD_COMMAND}`; export r; \
8131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8133 for flag in $(EXTRA_HOST_FLAGS); do \
8134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8136 echo "Doing mostlyclean in gnuserv" ; \
8138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8140 "RANLIB=$${RANLIB}" \
8141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8146 .PHONY: maybe-clean-gnuserv clean-gnuserv
8147 maybe-clean-gnuserv:
8150 @[ -f ./gnuserv/Makefile ] || exit 0; \
8151 r=`${PWD_COMMAND}`; export r; \
8152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8154 for flag in $(EXTRA_HOST_FLAGS); do \
8155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8157 echo "Doing clean in gnuserv" ; \
8159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8161 "RANLIB=$${RANLIB}" \
8162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8167 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
8168 maybe-distclean-gnuserv:
8171 @[ -f ./gnuserv/Makefile ] || exit 0; \
8172 r=`${PWD_COMMAND}`; export r; \
8173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8175 for flag in $(EXTRA_HOST_FLAGS); do \
8176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8178 echo "Doing distclean in gnuserv" ; \
8180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8182 "RANLIB=$${RANLIB}" \
8183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8188 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
8189 maybe-maintainer-clean-gnuserv:
8191 maintainer-clean-gnuserv:
8192 @[ -f ./gnuserv/Makefile ] || exit 0; \
8193 r=`${PWD_COMMAND}`; export r; \
8194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8196 for flag in $(EXTRA_HOST_FLAGS); do \
8197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8199 echo "Doing maintainer-clean in gnuserv" ; \
8201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8203 "RANLIB=$${RANLIB}" \
8204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8210 .PHONY: configure-gprof maybe-configure-gprof
8211 maybe-configure-gprof:
8213 @test ! -f gprof/Makefile || exit 0; \
8214 [ -d gprof ] || mkdir gprof; \
8215 r=`${PWD_COMMAND}`; export r; \
8216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8217 CC="$(CC)"; export CC; \
8218 CFLAGS="$(CFLAGS)"; export CFLAGS; \
8219 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
8220 CXX="$(CXX)"; export CXX; \
8221 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
8222 AR="$(AR)"; export AR; \
8223 AS="$(AS)"; export AS; \
8224 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
8225 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
8226 LD="$(LD)"; export LD; \
8227 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
8228 NM="$(NM)"; export NM; \
8229 RANLIB="$(RANLIB)"; export RANLIB; \
8230 WINDRES="$(WINDRES)"; export WINDRES; \
8231 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
8232 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
8233 echo Configuring in gprof; \
8234 cd gprof || exit 1; \
8237 srcdiroption="--srcdir=."; \
8239 /* | [A-Za-z]:[\\/]*) \
8240 srcdiroption="--srcdir=$(srcdir)/gprof"; \
8241 libsrcdir="$$s/gprof";; \
8243 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
8244 libsrcdir="$$s/gprof";; \
8246 $(SHELL) $${libsrcdir}/configure \
8247 $(HOST_CONFIGARGS) $${srcdiroption} \
8250 .PHONY: all-gprof maybe-all-gprof
8252 all-gprof: configure-gprof
8253 @r=`${PWD_COMMAND}`; export r; \
8254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8256 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) all)
8258 .PHONY: check-gprof maybe-check-gprof
8262 @r=`${PWD_COMMAND}`; export r; \
8263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8265 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
8268 .PHONY: install-gprof maybe-install-gprof
8269 maybe-install-gprof:
8271 install-gprof: installdirs
8272 @r=`${PWD_COMMAND}`; export r; \
8273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8275 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
8278 # Other targets (info, dvi, etc.)
8280 .PHONY: maybe-info-gprof info-gprof
8285 @[ -f ./gprof/Makefile ] || exit 0; \
8286 r=`${PWD_COMMAND}`; export r; \
8287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8289 for flag in $(EXTRA_HOST_FLAGS); do \
8290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8292 echo "Doing info in gprof" ; \
8294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8296 "RANLIB=$${RANLIB}" \
8297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8302 .PHONY: maybe-dvi-gprof dvi-gprof
8307 @[ -f ./gprof/Makefile ] || exit 0; \
8308 r=`${PWD_COMMAND}`; export r; \
8309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8311 for flag in $(EXTRA_HOST_FLAGS); do \
8312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8314 echo "Doing dvi in gprof" ; \
8316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8318 "RANLIB=$${RANLIB}" \
8319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8324 .PHONY: maybe-TAGS-gprof TAGS-gprof
8329 @[ -f ./gprof/Makefile ] || exit 0; \
8330 r=`${PWD_COMMAND}`; export r; \
8331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8333 for flag in $(EXTRA_HOST_FLAGS); do \
8334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8336 echo "Doing TAGS in gprof" ; \
8338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8340 "RANLIB=$${RANLIB}" \
8341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8346 .PHONY: maybe-install-info-gprof install-info-gprof
8347 maybe-install-info-gprof:
8349 install-info-gprof: \
8352 @[ -f ./gprof/Makefile ] || exit 0; \
8353 r=`${PWD_COMMAND}`; export r; \
8354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8356 for flag in $(EXTRA_HOST_FLAGS); do \
8357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8359 echo "Doing install-info in gprof" ; \
8361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8363 "RANLIB=$${RANLIB}" \
8364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8369 .PHONY: maybe-installcheck-gprof installcheck-gprof
8370 maybe-installcheck-gprof:
8372 installcheck-gprof: \
8374 @[ -f ./gprof/Makefile ] || exit 0; \
8375 r=`${PWD_COMMAND}`; export r; \
8376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8378 for flag in $(EXTRA_HOST_FLAGS); do \
8379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8381 echo "Doing installcheck in gprof" ; \
8383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8385 "RANLIB=$${RANLIB}" \
8386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8391 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
8392 maybe-mostlyclean-gprof:
8395 @[ -f ./gprof/Makefile ] || exit 0; \
8396 r=`${PWD_COMMAND}`; export r; \
8397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8399 for flag in $(EXTRA_HOST_FLAGS); do \
8400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8402 echo "Doing mostlyclean in gprof" ; \
8404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8406 "RANLIB=$${RANLIB}" \
8407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8412 .PHONY: maybe-clean-gprof clean-gprof
8416 @[ -f ./gprof/Makefile ] || exit 0; \
8417 r=`${PWD_COMMAND}`; export r; \
8418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8420 for flag in $(EXTRA_HOST_FLAGS); do \
8421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8423 echo "Doing clean in gprof" ; \
8425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8427 "RANLIB=$${RANLIB}" \
8428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8433 .PHONY: maybe-distclean-gprof distclean-gprof
8434 maybe-distclean-gprof:
8437 @[ -f ./gprof/Makefile ] || exit 0; \
8438 r=`${PWD_COMMAND}`; export r; \
8439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8441 for flag in $(EXTRA_HOST_FLAGS); do \
8442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8444 echo "Doing distclean in gprof" ; \
8446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8448 "RANLIB=$${RANLIB}" \
8449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8454 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
8455 maybe-maintainer-clean-gprof:
8457 maintainer-clean-gprof:
8458 @[ -f ./gprof/Makefile ] || exit 0; \
8459 r=`${PWD_COMMAND}`; export r; \
8460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8462 for flag in $(EXTRA_HOST_FLAGS); do \
8463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8465 echo "Doing maintainer-clean in gprof" ; \
8467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8469 "RANLIB=$${RANLIB}" \
8470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8476 .PHONY: configure-gzip maybe-configure-gzip
8477 maybe-configure-gzip:
8479 @test ! -f gzip/Makefile || exit 0; \
8480 [ -d gzip ] || mkdir gzip; \
8481 r=`${PWD_COMMAND}`; export r; \
8482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8483 CC="$(CC)"; export CC; \
8484 CFLAGS="$(CFLAGS)"; export CFLAGS; \
8485 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
8486 CXX="$(CXX)"; export CXX; \
8487 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
8488 AR="$(AR)"; export AR; \
8489 AS="$(AS)"; export AS; \
8490 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
8491 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
8492 LD="$(LD)"; export LD; \
8493 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
8494 NM="$(NM)"; export NM; \
8495 RANLIB="$(RANLIB)"; export RANLIB; \
8496 WINDRES="$(WINDRES)"; export WINDRES; \
8497 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
8498 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
8499 echo Configuring in gzip; \
8500 cd gzip || exit 1; \
8503 srcdiroption="--srcdir=."; \
8505 /* | [A-Za-z]:[\\/]*) \
8506 srcdiroption="--srcdir=$(srcdir)/gzip"; \
8507 libsrcdir="$$s/gzip";; \
8509 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
8510 libsrcdir="$$s/gzip";; \
8512 $(SHELL) $${libsrcdir}/configure \
8513 $(HOST_CONFIGARGS) $${srcdiroption} \
8516 .PHONY: all-gzip maybe-all-gzip
8518 all-gzip: configure-gzip
8519 @r=`${PWD_COMMAND}`; export r; \
8520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8522 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) all)
8524 .PHONY: check-gzip maybe-check-gzip
8528 @r=`${PWD_COMMAND}`; export r; \
8529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8531 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
8534 .PHONY: install-gzip maybe-install-gzip
8537 install-gzip: installdirs
8538 @r=`${PWD_COMMAND}`; export r; \
8539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8541 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
8544 # Other targets (info, dvi, etc.)
8546 .PHONY: maybe-info-gzip info-gzip
8551 @[ -f ./gzip/Makefile ] || exit 0; \
8552 r=`${PWD_COMMAND}`; export r; \
8553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8555 for flag in $(EXTRA_HOST_FLAGS); do \
8556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8558 echo "Doing info in gzip" ; \
8560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8562 "RANLIB=$${RANLIB}" \
8563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8568 .PHONY: maybe-dvi-gzip dvi-gzip
8573 @[ -f ./gzip/Makefile ] || exit 0; \
8574 r=`${PWD_COMMAND}`; export r; \
8575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8577 for flag in $(EXTRA_HOST_FLAGS); do \
8578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8580 echo "Doing dvi in gzip" ; \
8582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8584 "RANLIB=$${RANLIB}" \
8585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8590 .PHONY: maybe-TAGS-gzip TAGS-gzip
8595 @[ -f ./gzip/Makefile ] || exit 0; \
8596 r=`${PWD_COMMAND}`; export r; \
8597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8599 for flag in $(EXTRA_HOST_FLAGS); do \
8600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8602 echo "Doing TAGS in gzip" ; \
8604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8606 "RANLIB=$${RANLIB}" \
8607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8612 .PHONY: maybe-install-info-gzip install-info-gzip
8613 maybe-install-info-gzip:
8615 install-info-gzip: \
8618 @[ -f ./gzip/Makefile ] || exit 0; \
8619 r=`${PWD_COMMAND}`; export r; \
8620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8622 for flag in $(EXTRA_HOST_FLAGS); do \
8623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8625 echo "Doing install-info in gzip" ; \
8627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8629 "RANLIB=$${RANLIB}" \
8630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8635 .PHONY: maybe-installcheck-gzip installcheck-gzip
8636 maybe-installcheck-gzip:
8638 installcheck-gzip: \
8640 @[ -f ./gzip/Makefile ] || exit 0; \
8641 r=`${PWD_COMMAND}`; export r; \
8642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8644 for flag in $(EXTRA_HOST_FLAGS); do \
8645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8647 echo "Doing installcheck in gzip" ; \
8649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8651 "RANLIB=$${RANLIB}" \
8652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8657 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
8658 maybe-mostlyclean-gzip:
8661 @[ -f ./gzip/Makefile ] || exit 0; \
8662 r=`${PWD_COMMAND}`; export r; \
8663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8665 for flag in $(EXTRA_HOST_FLAGS); do \
8666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8668 echo "Doing mostlyclean in gzip" ; \
8670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8672 "RANLIB=$${RANLIB}" \
8673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8678 .PHONY: maybe-clean-gzip clean-gzip
8682 @[ -f ./gzip/Makefile ] || exit 0; \
8683 r=`${PWD_COMMAND}`; export r; \
8684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8686 for flag in $(EXTRA_HOST_FLAGS); do \
8687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8689 echo "Doing clean in gzip" ; \
8691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8693 "RANLIB=$${RANLIB}" \
8694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8699 .PHONY: maybe-distclean-gzip distclean-gzip
8700 maybe-distclean-gzip:
8703 @[ -f ./gzip/Makefile ] || exit 0; \
8704 r=`${PWD_COMMAND}`; export r; \
8705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8707 for flag in $(EXTRA_HOST_FLAGS); do \
8708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8710 echo "Doing distclean in gzip" ; \
8712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8714 "RANLIB=$${RANLIB}" \
8715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8720 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
8721 maybe-maintainer-clean-gzip:
8723 maintainer-clean-gzip:
8724 @[ -f ./gzip/Makefile ] || exit 0; \
8725 r=`${PWD_COMMAND}`; export r; \
8726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8728 for flag in $(EXTRA_HOST_FLAGS); do \
8729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8731 echo "Doing maintainer-clean in gzip" ; \
8733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8735 "RANLIB=$${RANLIB}" \
8736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8742 .PHONY: configure-hello maybe-configure-hello
8743 maybe-configure-hello:
8745 @test ! -f hello/Makefile || exit 0; \
8746 [ -d hello ] || mkdir hello; \
8747 r=`${PWD_COMMAND}`; export r; \
8748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8749 CC="$(CC)"; export CC; \
8750 CFLAGS="$(CFLAGS)"; export CFLAGS; \
8751 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
8752 CXX="$(CXX)"; export CXX; \
8753 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
8754 AR="$(AR)"; export AR; \
8755 AS="$(AS)"; export AS; \
8756 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
8757 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
8758 LD="$(LD)"; export LD; \
8759 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
8760 NM="$(NM)"; export NM; \
8761 RANLIB="$(RANLIB)"; export RANLIB; \
8762 WINDRES="$(WINDRES)"; export WINDRES; \
8763 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
8764 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
8765 echo Configuring in hello; \
8766 cd hello || exit 1; \
8769 srcdiroption="--srcdir=."; \
8771 /* | [A-Za-z]:[\\/]*) \
8772 srcdiroption="--srcdir=$(srcdir)/hello"; \
8773 libsrcdir="$$s/hello";; \
8775 srcdiroption="--srcdir=../$(srcdir)/hello"; \
8776 libsrcdir="$$s/hello";; \
8778 $(SHELL) $${libsrcdir}/configure \
8779 $(HOST_CONFIGARGS) $${srcdiroption} \
8782 .PHONY: all-hello maybe-all-hello
8784 all-hello: configure-hello
8785 @r=`${PWD_COMMAND}`; export r; \
8786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8788 (cd hello && $(MAKE) $(FLAGS_TO_PASS) all)
8790 .PHONY: check-hello maybe-check-hello
8794 @r=`${PWD_COMMAND}`; export r; \
8795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8797 (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
8800 .PHONY: install-hello maybe-install-hello
8801 maybe-install-hello:
8803 install-hello: installdirs
8804 @r=`${PWD_COMMAND}`; export r; \
8805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8807 (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
8810 # Other targets (info, dvi, etc.)
8812 .PHONY: maybe-info-hello info-hello
8817 @[ -f ./hello/Makefile ] || exit 0; \
8818 r=`${PWD_COMMAND}`; export r; \
8819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8821 for flag in $(EXTRA_HOST_FLAGS); do \
8822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8824 echo "Doing info in hello" ; \
8826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8828 "RANLIB=$${RANLIB}" \
8829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8834 .PHONY: maybe-dvi-hello dvi-hello
8839 @[ -f ./hello/Makefile ] || exit 0; \
8840 r=`${PWD_COMMAND}`; export r; \
8841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8843 for flag in $(EXTRA_HOST_FLAGS); do \
8844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8846 echo "Doing dvi in hello" ; \
8848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8850 "RANLIB=$${RANLIB}" \
8851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8856 .PHONY: maybe-TAGS-hello TAGS-hello
8861 @[ -f ./hello/Makefile ] || exit 0; \
8862 r=`${PWD_COMMAND}`; export r; \
8863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8865 for flag in $(EXTRA_HOST_FLAGS); do \
8866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8868 echo "Doing TAGS in hello" ; \
8870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8872 "RANLIB=$${RANLIB}" \
8873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8878 .PHONY: maybe-install-info-hello install-info-hello
8879 maybe-install-info-hello:
8881 install-info-hello: \
8884 @[ -f ./hello/Makefile ] || exit 0; \
8885 r=`${PWD_COMMAND}`; export r; \
8886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8888 for flag in $(EXTRA_HOST_FLAGS); do \
8889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8891 echo "Doing install-info in hello" ; \
8893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8895 "RANLIB=$${RANLIB}" \
8896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8901 .PHONY: maybe-installcheck-hello installcheck-hello
8902 maybe-installcheck-hello:
8904 installcheck-hello: \
8906 @[ -f ./hello/Makefile ] || exit 0; \
8907 r=`${PWD_COMMAND}`; export r; \
8908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8910 for flag in $(EXTRA_HOST_FLAGS); do \
8911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8913 echo "Doing installcheck in hello" ; \
8915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8917 "RANLIB=$${RANLIB}" \
8918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8923 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
8924 maybe-mostlyclean-hello:
8927 @[ -f ./hello/Makefile ] || exit 0; \
8928 r=`${PWD_COMMAND}`; export r; \
8929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8931 for flag in $(EXTRA_HOST_FLAGS); do \
8932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8934 echo "Doing mostlyclean in hello" ; \
8936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8938 "RANLIB=$${RANLIB}" \
8939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8944 .PHONY: maybe-clean-hello clean-hello
8948 @[ -f ./hello/Makefile ] || exit 0; \
8949 r=`${PWD_COMMAND}`; export r; \
8950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8952 for flag in $(EXTRA_HOST_FLAGS); do \
8953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8955 echo "Doing clean in hello" ; \
8957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8959 "RANLIB=$${RANLIB}" \
8960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8965 .PHONY: maybe-distclean-hello distclean-hello
8966 maybe-distclean-hello:
8969 @[ -f ./hello/Makefile ] || exit 0; \
8970 r=`${PWD_COMMAND}`; export r; \
8971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8973 for flag in $(EXTRA_HOST_FLAGS); do \
8974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8976 echo "Doing distclean in hello" ; \
8978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8980 "RANLIB=$${RANLIB}" \
8981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8986 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
8987 maybe-maintainer-clean-hello:
8989 maintainer-clean-hello:
8990 @[ -f ./hello/Makefile ] || exit 0; \
8991 r=`${PWD_COMMAND}`; export r; \
8992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8994 for flag in $(EXTRA_HOST_FLAGS); do \
8995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8997 echo "Doing maintainer-clean in hello" ; \
8999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9001 "RANLIB=$${RANLIB}" \
9002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9008 .PHONY: configure-indent maybe-configure-indent
9009 maybe-configure-indent:
9011 @test ! -f indent/Makefile || exit 0; \
9012 [ -d indent ] || mkdir indent; \
9013 r=`${PWD_COMMAND}`; export r; \
9014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9015 CC="$(CC)"; export CC; \
9016 CFLAGS="$(CFLAGS)"; export CFLAGS; \
9017 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
9018 CXX="$(CXX)"; export CXX; \
9019 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
9020 AR="$(AR)"; export AR; \
9021 AS="$(AS)"; export AS; \
9022 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
9023 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
9024 LD="$(LD)"; export LD; \
9025 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
9026 NM="$(NM)"; export NM; \
9027 RANLIB="$(RANLIB)"; export RANLIB; \
9028 WINDRES="$(WINDRES)"; export WINDRES; \
9029 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
9030 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
9031 echo Configuring in indent; \
9032 cd indent || exit 1; \
9035 srcdiroption="--srcdir=."; \
9037 /* | [A-Za-z]:[\\/]*) \
9038 srcdiroption="--srcdir=$(srcdir)/indent"; \
9039 libsrcdir="$$s/indent";; \
9041 srcdiroption="--srcdir=../$(srcdir)/indent"; \
9042 libsrcdir="$$s/indent";; \
9044 $(SHELL) $${libsrcdir}/configure \
9045 $(HOST_CONFIGARGS) $${srcdiroption} \
9048 .PHONY: all-indent maybe-all-indent
9050 all-indent: configure-indent
9051 @r=`${PWD_COMMAND}`; export r; \
9052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9054 (cd indent && $(MAKE) $(FLAGS_TO_PASS) all)
9056 .PHONY: check-indent maybe-check-indent
9060 @r=`${PWD_COMMAND}`; export r; \
9061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9063 (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
9066 .PHONY: install-indent maybe-install-indent
9067 maybe-install-indent:
9069 install-indent: installdirs
9070 @r=`${PWD_COMMAND}`; export r; \
9071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9073 (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
9076 # Other targets (info, dvi, etc.)
9078 .PHONY: maybe-info-indent info-indent
9083 @[ -f ./indent/Makefile ] || exit 0; \
9084 r=`${PWD_COMMAND}`; export r; \
9085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9087 for flag in $(EXTRA_HOST_FLAGS); do \
9088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9090 echo "Doing info in indent" ; \
9092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9094 "RANLIB=$${RANLIB}" \
9095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9100 .PHONY: maybe-dvi-indent dvi-indent
9105 @[ -f ./indent/Makefile ] || exit 0; \
9106 r=`${PWD_COMMAND}`; export r; \
9107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9109 for flag in $(EXTRA_HOST_FLAGS); do \
9110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9112 echo "Doing dvi in indent" ; \
9114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9116 "RANLIB=$${RANLIB}" \
9117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9122 .PHONY: maybe-TAGS-indent TAGS-indent
9127 @[ -f ./indent/Makefile ] || exit 0; \
9128 r=`${PWD_COMMAND}`; export r; \
9129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9131 for flag in $(EXTRA_HOST_FLAGS); do \
9132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9134 echo "Doing TAGS in indent" ; \
9136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9138 "RANLIB=$${RANLIB}" \
9139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9144 .PHONY: maybe-install-info-indent install-info-indent
9145 maybe-install-info-indent:
9147 install-info-indent: \
9150 @[ -f ./indent/Makefile ] || exit 0; \
9151 r=`${PWD_COMMAND}`; export r; \
9152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9154 for flag in $(EXTRA_HOST_FLAGS); do \
9155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9157 echo "Doing install-info in indent" ; \
9159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9161 "RANLIB=$${RANLIB}" \
9162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9167 .PHONY: maybe-installcheck-indent installcheck-indent
9168 maybe-installcheck-indent:
9170 installcheck-indent: \
9172 @[ -f ./indent/Makefile ] || exit 0; \
9173 r=`${PWD_COMMAND}`; export r; \
9174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9176 for flag in $(EXTRA_HOST_FLAGS); do \
9177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9179 echo "Doing installcheck in indent" ; \
9181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9183 "RANLIB=$${RANLIB}" \
9184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9189 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
9190 maybe-mostlyclean-indent:
9193 @[ -f ./indent/Makefile ] || exit 0; \
9194 r=`${PWD_COMMAND}`; export r; \
9195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9197 for flag in $(EXTRA_HOST_FLAGS); do \
9198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9200 echo "Doing mostlyclean in indent" ; \
9202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9204 "RANLIB=$${RANLIB}" \
9205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9210 .PHONY: maybe-clean-indent clean-indent
9214 @[ -f ./indent/Makefile ] || exit 0; \
9215 r=`${PWD_COMMAND}`; export r; \
9216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9218 for flag in $(EXTRA_HOST_FLAGS); do \
9219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9221 echo "Doing clean in indent" ; \
9223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9225 "RANLIB=$${RANLIB}" \
9226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9231 .PHONY: maybe-distclean-indent distclean-indent
9232 maybe-distclean-indent:
9235 @[ -f ./indent/Makefile ] || exit 0; \
9236 r=`${PWD_COMMAND}`; export r; \
9237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9239 for flag in $(EXTRA_HOST_FLAGS); do \
9240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9242 echo "Doing distclean in indent" ; \
9244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9246 "RANLIB=$${RANLIB}" \
9247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9252 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
9253 maybe-maintainer-clean-indent:
9255 maintainer-clean-indent:
9256 @[ -f ./indent/Makefile ] || exit 0; \
9257 r=`${PWD_COMMAND}`; export r; \
9258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9260 for flag in $(EXTRA_HOST_FLAGS); do \
9261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9263 echo "Doing maintainer-clean in indent" ; \
9265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9267 "RANLIB=$${RANLIB}" \
9268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9274 .PHONY: configure-intl maybe-configure-intl
9275 maybe-configure-intl:
9277 @test ! -f intl/Makefile || exit 0; \
9278 [ -d intl ] || mkdir intl; \
9279 r=`${PWD_COMMAND}`; export r; \
9280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9281 CC="$(CC)"; export CC; \
9282 CFLAGS="$(CFLAGS)"; export CFLAGS; \
9283 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
9284 CXX="$(CXX)"; export CXX; \
9285 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
9286 AR="$(AR)"; export AR; \
9287 AS="$(AS)"; export AS; \
9288 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
9289 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
9290 LD="$(LD)"; export LD; \
9291 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
9292 NM="$(NM)"; export NM; \
9293 RANLIB="$(RANLIB)"; export RANLIB; \
9294 WINDRES="$(WINDRES)"; export WINDRES; \
9295 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
9296 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
9297 echo Configuring in intl; \
9298 cd intl || exit 1; \
9301 srcdiroption="--srcdir=."; \
9303 /* | [A-Za-z]:[\\/]*) \
9304 srcdiroption="--srcdir=$(srcdir)/intl"; \
9305 libsrcdir="$$s/intl";; \
9307 srcdiroption="--srcdir=../$(srcdir)/intl"; \
9308 libsrcdir="$$s/intl";; \
9310 $(SHELL) $${libsrcdir}/configure \
9311 $(HOST_CONFIGARGS) $${srcdiroption} \
9314 .PHONY: all-intl maybe-all-intl
9316 all-intl: configure-intl
9317 @r=`${PWD_COMMAND}`; export r; \
9318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9320 (cd intl && $(MAKE) $(FLAGS_TO_PASS) all)
9322 .PHONY: check-intl maybe-check-intl
9326 @r=`${PWD_COMMAND}`; export r; \
9327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9329 (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
9332 .PHONY: install-intl maybe-install-intl
9335 install-intl: installdirs
9336 @r=`${PWD_COMMAND}`; export r; \
9337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9339 (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
9342 # Other targets (info, dvi, etc.)
9344 .PHONY: maybe-info-intl info-intl
9349 @[ -f ./intl/Makefile ] || exit 0; \
9350 r=`${PWD_COMMAND}`; export r; \
9351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9353 for flag in $(EXTRA_HOST_FLAGS); do \
9354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9356 echo "Doing info in intl" ; \
9358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9360 "RANLIB=$${RANLIB}" \
9361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9366 .PHONY: maybe-dvi-intl dvi-intl
9371 @[ -f ./intl/Makefile ] || exit 0; \
9372 r=`${PWD_COMMAND}`; export r; \
9373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9375 for flag in $(EXTRA_HOST_FLAGS); do \
9376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9378 echo "Doing dvi in intl" ; \
9380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9382 "RANLIB=$${RANLIB}" \
9383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9388 .PHONY: maybe-TAGS-intl TAGS-intl
9393 @[ -f ./intl/Makefile ] || exit 0; \
9394 r=`${PWD_COMMAND}`; export r; \
9395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9397 for flag in $(EXTRA_HOST_FLAGS); do \
9398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9400 echo "Doing TAGS in intl" ; \
9402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9404 "RANLIB=$${RANLIB}" \
9405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9410 .PHONY: maybe-install-info-intl install-info-intl
9411 maybe-install-info-intl:
9413 install-info-intl: \
9416 @[ -f ./intl/Makefile ] || exit 0; \
9417 r=`${PWD_COMMAND}`; export r; \
9418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9420 for flag in $(EXTRA_HOST_FLAGS); do \
9421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9423 echo "Doing install-info in intl" ; \
9425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9427 "RANLIB=$${RANLIB}" \
9428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9433 .PHONY: maybe-installcheck-intl installcheck-intl
9434 maybe-installcheck-intl:
9436 installcheck-intl: \
9438 @[ -f ./intl/Makefile ] || exit 0; \
9439 r=`${PWD_COMMAND}`; export r; \
9440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9442 for flag in $(EXTRA_HOST_FLAGS); do \
9443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9445 echo "Doing installcheck in intl" ; \
9447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9449 "RANLIB=$${RANLIB}" \
9450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9455 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
9456 maybe-mostlyclean-intl:
9459 @[ -f ./intl/Makefile ] || exit 0; \
9460 r=`${PWD_COMMAND}`; export r; \
9461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9463 for flag in $(EXTRA_HOST_FLAGS); do \
9464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9466 echo "Doing mostlyclean in intl" ; \
9468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9470 "RANLIB=$${RANLIB}" \
9471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9476 .PHONY: maybe-clean-intl clean-intl
9480 @[ -f ./intl/Makefile ] || exit 0; \
9481 r=`${PWD_COMMAND}`; export r; \
9482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9484 for flag in $(EXTRA_HOST_FLAGS); do \
9485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9487 echo "Doing clean in intl" ; \
9489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9491 "RANLIB=$${RANLIB}" \
9492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9497 .PHONY: maybe-distclean-intl distclean-intl
9498 maybe-distclean-intl:
9501 @[ -f ./intl/Makefile ] || exit 0; \
9502 r=`${PWD_COMMAND}`; export r; \
9503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9505 for flag in $(EXTRA_HOST_FLAGS); do \
9506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9508 echo "Doing distclean in intl" ; \
9510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9512 "RANLIB=$${RANLIB}" \
9513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9518 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
9519 maybe-maintainer-clean-intl:
9521 maintainer-clean-intl:
9522 @[ -f ./intl/Makefile ] || exit 0; \
9523 r=`${PWD_COMMAND}`; export r; \
9524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9526 for flag in $(EXTRA_HOST_FLAGS); do \
9527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9529 echo "Doing maintainer-clean in intl" ; \
9531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9533 "RANLIB=$${RANLIB}" \
9534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9540 .PHONY: configure-tcl maybe-configure-tcl
9541 maybe-configure-tcl:
9543 @test ! -f tcl/Makefile || exit 0; \
9544 [ -d tcl ] || mkdir tcl; \
9545 r=`${PWD_COMMAND}`; export r; \
9546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9547 CC="$(CC)"; export CC; \
9548 CFLAGS="$(CFLAGS)"; export CFLAGS; \
9549 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
9550 CXX="$(CXX)"; export CXX; \
9551 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
9552 AR="$(AR)"; export AR; \
9553 AS="$(AS)"; export AS; \
9554 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
9555 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
9556 LD="$(LD)"; export LD; \
9557 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
9558 NM="$(NM)"; export NM; \
9559 RANLIB="$(RANLIB)"; export RANLIB; \
9560 WINDRES="$(WINDRES)"; export WINDRES; \
9561 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
9562 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
9563 echo Configuring in tcl; \
9567 srcdiroption="--srcdir=."; \
9569 /* | [A-Za-z]:[\\/]*) \
9570 srcdiroption="--srcdir=$(srcdir)/tcl"; \
9571 libsrcdir="$$s/tcl";; \
9573 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
9574 libsrcdir="$$s/tcl";; \
9576 $(SHELL) $${libsrcdir}/configure \
9577 $(HOST_CONFIGARGS) $${srcdiroption} \
9580 .PHONY: all-tcl maybe-all-tcl
9582 all-tcl: configure-tcl
9583 @r=`${PWD_COMMAND}`; export r; \
9584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9586 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) all)
9588 .PHONY: check-tcl maybe-check-tcl
9592 @r=`${PWD_COMMAND}`; export r; \
9593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9595 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
9598 .PHONY: install-tcl maybe-install-tcl
9601 install-tcl: installdirs
9602 @r=`${PWD_COMMAND}`; export r; \
9603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9605 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
9608 # Other targets (info, dvi, etc.)
9610 .PHONY: maybe-info-tcl info-tcl
9615 @[ -f ./tcl/Makefile ] || exit 0; \
9616 r=`${PWD_COMMAND}`; export r; \
9617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9619 for flag in $(EXTRA_HOST_FLAGS); do \
9620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9622 echo "Doing info in tcl" ; \
9624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9626 "RANLIB=$${RANLIB}" \
9627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9632 .PHONY: maybe-dvi-tcl dvi-tcl
9637 @[ -f ./tcl/Makefile ] || exit 0; \
9638 r=`${PWD_COMMAND}`; export r; \
9639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9641 for flag in $(EXTRA_HOST_FLAGS); do \
9642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9644 echo "Doing dvi in tcl" ; \
9646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9648 "RANLIB=$${RANLIB}" \
9649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9654 .PHONY: maybe-TAGS-tcl TAGS-tcl
9659 @[ -f ./tcl/Makefile ] || exit 0; \
9660 r=`${PWD_COMMAND}`; export r; \
9661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9663 for flag in $(EXTRA_HOST_FLAGS); do \
9664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9666 echo "Doing TAGS in tcl" ; \
9668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9670 "RANLIB=$${RANLIB}" \
9671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9676 .PHONY: maybe-install-info-tcl install-info-tcl
9677 maybe-install-info-tcl:
9682 @[ -f ./tcl/Makefile ] || exit 0; \
9683 r=`${PWD_COMMAND}`; export r; \
9684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9686 for flag in $(EXTRA_HOST_FLAGS); do \
9687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9689 echo "Doing install-info in tcl" ; \
9691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9693 "RANLIB=$${RANLIB}" \
9694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9699 .PHONY: maybe-installcheck-tcl installcheck-tcl
9700 maybe-installcheck-tcl:
9704 @[ -f ./tcl/Makefile ] || exit 0; \
9705 r=`${PWD_COMMAND}`; export r; \
9706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9708 for flag in $(EXTRA_HOST_FLAGS); do \
9709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9711 echo "Doing installcheck in tcl" ; \
9713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9715 "RANLIB=$${RANLIB}" \
9716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9721 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
9722 maybe-mostlyclean-tcl:
9724 # tcl doesn't support mostlyclean.
9728 .PHONY: maybe-clean-tcl clean-tcl
9732 @[ -f ./tcl/Makefile ] || exit 0; \
9733 r=`${PWD_COMMAND}`; export r; \
9734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9736 for flag in $(EXTRA_HOST_FLAGS); do \
9737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9739 echo "Doing clean in tcl" ; \
9741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9743 "RANLIB=$${RANLIB}" \
9744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9749 .PHONY: maybe-distclean-tcl distclean-tcl
9750 maybe-distclean-tcl:
9753 @[ -f ./tcl/Makefile ] || exit 0; \
9754 r=`${PWD_COMMAND}`; export r; \
9755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9757 for flag in $(EXTRA_HOST_FLAGS); do \
9758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9760 echo "Doing distclean in tcl" ; \
9762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9764 "RANLIB=$${RANLIB}" \
9765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9770 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
9771 maybe-maintainer-clean-tcl:
9773 maintainer-clean-tcl:
9774 @[ -f ./tcl/Makefile ] || exit 0; \
9775 r=`${PWD_COMMAND}`; export r; \
9776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9778 for flag in $(EXTRA_HOST_FLAGS); do \
9779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9781 echo "Doing maintainer-clean in tcl" ; \
9783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9785 "RANLIB=$${RANLIB}" \
9786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9792 .PHONY: configure-itcl maybe-configure-itcl
9793 maybe-configure-itcl:
9795 @test ! -f itcl/Makefile || exit 0; \
9796 [ -d itcl ] || mkdir itcl; \
9797 r=`${PWD_COMMAND}`; export r; \
9798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9799 CC="$(CC)"; export CC; \
9800 CFLAGS="$(CFLAGS)"; export CFLAGS; \
9801 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
9802 CXX="$(CXX)"; export CXX; \
9803 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
9804 AR="$(AR)"; export AR; \
9805 AS="$(AS)"; export AS; \
9806 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
9807 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
9808 LD="$(LD)"; export LD; \
9809 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
9810 NM="$(NM)"; export NM; \
9811 RANLIB="$(RANLIB)"; export RANLIB; \
9812 WINDRES="$(WINDRES)"; export WINDRES; \
9813 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
9814 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
9815 echo Configuring in itcl; \
9816 cd itcl || exit 1; \
9819 srcdiroption="--srcdir=."; \
9821 /* | [A-Za-z]:[\\/]*) \
9822 srcdiroption="--srcdir=$(srcdir)/itcl"; \
9823 libsrcdir="$$s/itcl";; \
9825 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
9826 libsrcdir="$$s/itcl";; \
9828 $(SHELL) $${libsrcdir}/configure \
9829 $(HOST_CONFIGARGS) $${srcdiroption} \
9832 .PHONY: all-itcl maybe-all-itcl
9834 all-itcl: configure-itcl
9835 @r=`${PWD_COMMAND}`; export r; \
9836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9838 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) all)
9840 .PHONY: check-itcl maybe-check-itcl
9844 @r=`${PWD_COMMAND}`; export r; \
9845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9847 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
9850 .PHONY: install-itcl maybe-install-itcl
9853 install-itcl: installdirs
9854 @r=`${PWD_COMMAND}`; export r; \
9855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9857 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
9860 # Other targets (info, dvi, etc.)
9862 .PHONY: maybe-info-itcl info-itcl
9867 @[ -f ./itcl/Makefile ] || exit 0; \
9868 r=`${PWD_COMMAND}`; export r; \
9869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9871 for flag in $(EXTRA_HOST_FLAGS); do \
9872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9874 echo "Doing info in itcl" ; \
9876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9878 "RANLIB=$${RANLIB}" \
9879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9884 .PHONY: maybe-dvi-itcl dvi-itcl
9889 @[ -f ./itcl/Makefile ] || exit 0; \
9890 r=`${PWD_COMMAND}`; export r; \
9891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9893 for flag in $(EXTRA_HOST_FLAGS); do \
9894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9896 echo "Doing dvi in itcl" ; \
9898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9900 "RANLIB=$${RANLIB}" \
9901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9906 .PHONY: maybe-TAGS-itcl TAGS-itcl
9911 @[ -f ./itcl/Makefile ] || exit 0; \
9912 r=`${PWD_COMMAND}`; export r; \
9913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9915 for flag in $(EXTRA_HOST_FLAGS); do \
9916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9918 echo "Doing TAGS in itcl" ; \
9920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9922 "RANLIB=$${RANLIB}" \
9923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9928 .PHONY: maybe-install-info-itcl install-info-itcl
9929 maybe-install-info-itcl:
9931 install-info-itcl: \
9934 @[ -f ./itcl/Makefile ] || exit 0; \
9935 r=`${PWD_COMMAND}`; export r; \
9936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9938 for flag in $(EXTRA_HOST_FLAGS); do \
9939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9941 echo "Doing install-info in itcl" ; \
9943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9945 "RANLIB=$${RANLIB}" \
9946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9951 .PHONY: maybe-installcheck-itcl installcheck-itcl
9952 maybe-installcheck-itcl:
9954 installcheck-itcl: \
9956 @[ -f ./itcl/Makefile ] || exit 0; \
9957 r=`${PWD_COMMAND}`; export r; \
9958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9960 for flag in $(EXTRA_HOST_FLAGS); do \
9961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9963 echo "Doing installcheck in itcl" ; \
9965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9967 "RANLIB=$${RANLIB}" \
9968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9973 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
9974 maybe-mostlyclean-itcl:
9977 @[ -f ./itcl/Makefile ] || exit 0; \
9978 r=`${PWD_COMMAND}`; export r; \
9979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9981 for flag in $(EXTRA_HOST_FLAGS); do \
9982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9984 echo "Doing mostlyclean in itcl" ; \
9986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9988 "RANLIB=$${RANLIB}" \
9989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9994 .PHONY: maybe-clean-itcl clean-itcl
9998 @[ -f ./itcl/Makefile ] || exit 0; \
9999 r=`${PWD_COMMAND}`; export r; \
10000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10002 for flag in $(EXTRA_HOST_FLAGS); do \
10003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10005 echo "Doing clean in itcl" ; \
10007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10009 "RANLIB=$${RANLIB}" \
10010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10015 .PHONY: maybe-distclean-itcl distclean-itcl
10016 maybe-distclean-itcl:
10019 @[ -f ./itcl/Makefile ] || exit 0; \
10020 r=`${PWD_COMMAND}`; export r; \
10021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10023 for flag in $(EXTRA_HOST_FLAGS); do \
10024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10026 echo "Doing distclean in itcl" ; \
10028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10030 "RANLIB=$${RANLIB}" \
10031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10036 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
10037 maybe-maintainer-clean-itcl:
10039 maintainer-clean-itcl:
10040 @[ -f ./itcl/Makefile ] || exit 0; \
10041 r=`${PWD_COMMAND}`; export r; \
10042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10044 for flag in $(EXTRA_HOST_FLAGS); do \
10045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10047 echo "Doing maintainer-clean in itcl" ; \
10049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10051 "RANLIB=$${RANLIB}" \
10052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10053 maintainer-clean) \
10058 .PHONY: configure-ld maybe-configure-ld
10059 maybe-configure-ld:
10061 @test ! -f ld/Makefile || exit 0; \
10062 [ -d ld ] || mkdir ld; \
10063 r=`${PWD_COMMAND}`; export r; \
10064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10065 CC="$(CC)"; export CC; \
10066 CFLAGS="$(CFLAGS)"; export CFLAGS; \
10067 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
10068 CXX="$(CXX)"; export CXX; \
10069 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
10070 AR="$(AR)"; export AR; \
10071 AS="$(AS)"; export AS; \
10072 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
10073 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
10074 LD="$(LD)"; export LD; \
10075 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
10076 NM="$(NM)"; export NM; \
10077 RANLIB="$(RANLIB)"; export RANLIB; \
10078 WINDRES="$(WINDRES)"; export WINDRES; \
10079 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
10080 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
10081 echo Configuring in ld; \
10083 case $(srcdir) in \
10085 srcdiroption="--srcdir=."; \
10087 /* | [A-Za-z]:[\\/]*) \
10088 srcdiroption="--srcdir=$(srcdir)/ld"; \
10089 libsrcdir="$$s/ld";; \
10091 srcdiroption="--srcdir=../$(srcdir)/ld"; \
10092 libsrcdir="$$s/ld";; \
10094 $(SHELL) $${libsrcdir}/configure \
10095 $(HOST_CONFIGARGS) $${srcdiroption} \
10098 .PHONY: all-ld maybe-all-ld
10100 all-ld: configure-ld
10101 @r=`${PWD_COMMAND}`; export r; \
10102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10104 (cd ld && $(MAKE) $(FLAGS_TO_PASS) all)
10106 .PHONY: check-ld maybe-check-ld
10110 @r=`${PWD_COMMAND}`; export r; \
10111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10113 (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
10116 .PHONY: install-ld maybe-install-ld
10119 install-ld: installdirs
10120 @r=`${PWD_COMMAND}`; export r; \
10121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10123 (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
10126 # Other targets (info, dvi, etc.)
10128 .PHONY: maybe-info-ld info-ld
10133 @[ -f ./ld/Makefile ] || exit 0; \
10134 r=`${PWD_COMMAND}`; export r; \
10135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10137 for flag in $(EXTRA_HOST_FLAGS); do \
10138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10140 echo "Doing info in ld" ; \
10142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10144 "RANLIB=$${RANLIB}" \
10145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10150 .PHONY: maybe-dvi-ld dvi-ld
10155 @[ -f ./ld/Makefile ] || exit 0; \
10156 r=`${PWD_COMMAND}`; export r; \
10157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10159 for flag in $(EXTRA_HOST_FLAGS); do \
10160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10162 echo "Doing dvi in ld" ; \
10164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10166 "RANLIB=$${RANLIB}" \
10167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10172 .PHONY: maybe-TAGS-ld TAGS-ld
10177 @[ -f ./ld/Makefile ] || exit 0; \
10178 r=`${PWD_COMMAND}`; export r; \
10179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10181 for flag in $(EXTRA_HOST_FLAGS); do \
10182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10184 echo "Doing TAGS in ld" ; \
10186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10188 "RANLIB=$${RANLIB}" \
10189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10194 .PHONY: maybe-install-info-ld install-info-ld
10195 maybe-install-info-ld:
10200 @[ -f ./ld/Makefile ] || exit 0; \
10201 r=`${PWD_COMMAND}`; export r; \
10202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10204 for flag in $(EXTRA_HOST_FLAGS); do \
10205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10207 echo "Doing install-info in ld" ; \
10209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10211 "RANLIB=$${RANLIB}" \
10212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10217 .PHONY: maybe-installcheck-ld installcheck-ld
10218 maybe-installcheck-ld:
10222 @[ -f ./ld/Makefile ] || exit 0; \
10223 r=`${PWD_COMMAND}`; export r; \
10224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10226 for flag in $(EXTRA_HOST_FLAGS); do \
10227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10229 echo "Doing installcheck in ld" ; \
10231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10233 "RANLIB=$${RANLIB}" \
10234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10239 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
10240 maybe-mostlyclean-ld:
10243 @[ -f ./ld/Makefile ] || exit 0; \
10244 r=`${PWD_COMMAND}`; export r; \
10245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10247 for flag in $(EXTRA_HOST_FLAGS); do \
10248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10250 echo "Doing mostlyclean in ld" ; \
10252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10254 "RANLIB=$${RANLIB}" \
10255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10260 .PHONY: maybe-clean-ld clean-ld
10264 @[ -f ./ld/Makefile ] || exit 0; \
10265 r=`${PWD_COMMAND}`; export r; \
10266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10268 for flag in $(EXTRA_HOST_FLAGS); do \
10269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10271 echo "Doing clean in ld" ; \
10273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10275 "RANLIB=$${RANLIB}" \
10276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10281 .PHONY: maybe-distclean-ld distclean-ld
10282 maybe-distclean-ld:
10285 @[ -f ./ld/Makefile ] || exit 0; \
10286 r=`${PWD_COMMAND}`; export r; \
10287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10289 for flag in $(EXTRA_HOST_FLAGS); do \
10290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10292 echo "Doing distclean in ld" ; \
10294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10296 "RANLIB=$${RANLIB}" \
10297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10302 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
10303 maybe-maintainer-clean-ld:
10305 maintainer-clean-ld:
10306 @[ -f ./ld/Makefile ] || exit 0; \
10307 r=`${PWD_COMMAND}`; export r; \
10308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10310 for flag in $(EXTRA_HOST_FLAGS); do \
10311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10313 echo "Doing maintainer-clean in ld" ; \
10315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10317 "RANLIB=$${RANLIB}" \
10318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10319 maintainer-clean) \
10324 .PHONY: configure-libgui maybe-configure-libgui
10325 maybe-configure-libgui:
10327 @test ! -f libgui/Makefile || exit 0; \
10328 [ -d libgui ] || mkdir libgui; \
10329 r=`${PWD_COMMAND}`; export r; \
10330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10331 CC="$(CC)"; export CC; \
10332 CFLAGS="$(CFLAGS)"; export CFLAGS; \
10333 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
10334 CXX="$(CXX)"; export CXX; \
10335 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
10336 AR="$(AR)"; export AR; \
10337 AS="$(AS)"; export AS; \
10338 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
10339 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
10340 LD="$(LD)"; export LD; \
10341 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
10342 NM="$(NM)"; export NM; \
10343 RANLIB="$(RANLIB)"; export RANLIB; \
10344 WINDRES="$(WINDRES)"; export WINDRES; \
10345 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
10346 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
10347 echo Configuring in libgui; \
10348 cd libgui || exit 1; \
10349 case $(srcdir) in \
10351 srcdiroption="--srcdir=."; \
10353 /* | [A-Za-z]:[\\/]*) \
10354 srcdiroption="--srcdir=$(srcdir)/libgui"; \
10355 libsrcdir="$$s/libgui";; \
10357 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
10358 libsrcdir="$$s/libgui";; \
10360 $(SHELL) $${libsrcdir}/configure \
10361 $(HOST_CONFIGARGS) $${srcdiroption} \
10364 .PHONY: all-libgui maybe-all-libgui
10366 all-libgui: configure-libgui
10367 @r=`${PWD_COMMAND}`; export r; \
10368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10370 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) all)
10372 .PHONY: check-libgui maybe-check-libgui
10373 maybe-check-libgui:
10376 @r=`${PWD_COMMAND}`; export r; \
10377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10379 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
10382 .PHONY: install-libgui maybe-install-libgui
10383 maybe-install-libgui:
10385 install-libgui: installdirs
10386 @r=`${PWD_COMMAND}`; export r; \
10387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10389 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
10392 # Other targets (info, dvi, etc.)
10394 .PHONY: maybe-info-libgui info-libgui
10399 @[ -f ./libgui/Makefile ] || exit 0; \
10400 r=`${PWD_COMMAND}`; export r; \
10401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10403 for flag in $(EXTRA_HOST_FLAGS); do \
10404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10406 echo "Doing info in libgui" ; \
10408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10410 "RANLIB=$${RANLIB}" \
10411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10416 .PHONY: maybe-dvi-libgui dvi-libgui
10421 @[ -f ./libgui/Makefile ] || exit 0; \
10422 r=`${PWD_COMMAND}`; export r; \
10423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10425 for flag in $(EXTRA_HOST_FLAGS); do \
10426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10428 echo "Doing dvi in libgui" ; \
10430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10432 "RANLIB=$${RANLIB}" \
10433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10438 .PHONY: maybe-TAGS-libgui TAGS-libgui
10443 @[ -f ./libgui/Makefile ] || exit 0; \
10444 r=`${PWD_COMMAND}`; export r; \
10445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10447 for flag in $(EXTRA_HOST_FLAGS); do \
10448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10450 echo "Doing TAGS in libgui" ; \
10452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10454 "RANLIB=$${RANLIB}" \
10455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10460 .PHONY: maybe-install-info-libgui install-info-libgui
10461 maybe-install-info-libgui:
10463 install-info-libgui: \
10466 @[ -f ./libgui/Makefile ] || exit 0; \
10467 r=`${PWD_COMMAND}`; export r; \
10468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10470 for flag in $(EXTRA_HOST_FLAGS); do \
10471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10473 echo "Doing install-info in libgui" ; \
10475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10477 "RANLIB=$${RANLIB}" \
10478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10483 .PHONY: maybe-installcheck-libgui installcheck-libgui
10484 maybe-installcheck-libgui:
10486 installcheck-libgui: \
10488 @[ -f ./libgui/Makefile ] || exit 0; \
10489 r=`${PWD_COMMAND}`; export r; \
10490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10492 for flag in $(EXTRA_HOST_FLAGS); do \
10493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10495 echo "Doing installcheck in libgui" ; \
10497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10499 "RANLIB=$${RANLIB}" \
10500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10505 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
10506 maybe-mostlyclean-libgui:
10508 mostlyclean-libgui:
10509 @[ -f ./libgui/Makefile ] || exit 0; \
10510 r=`${PWD_COMMAND}`; export r; \
10511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10513 for flag in $(EXTRA_HOST_FLAGS); do \
10514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10516 echo "Doing mostlyclean in libgui" ; \
10518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10520 "RANLIB=$${RANLIB}" \
10521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10526 .PHONY: maybe-clean-libgui clean-libgui
10527 maybe-clean-libgui:
10530 @[ -f ./libgui/Makefile ] || exit 0; \
10531 r=`${PWD_COMMAND}`; export r; \
10532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10534 for flag in $(EXTRA_HOST_FLAGS); do \
10535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10537 echo "Doing clean in libgui" ; \
10539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10541 "RANLIB=$${RANLIB}" \
10542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10547 .PHONY: maybe-distclean-libgui distclean-libgui
10548 maybe-distclean-libgui:
10551 @[ -f ./libgui/Makefile ] || exit 0; \
10552 r=`${PWD_COMMAND}`; export r; \
10553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10555 for flag in $(EXTRA_HOST_FLAGS); do \
10556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10558 echo "Doing distclean in libgui" ; \
10560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10562 "RANLIB=$${RANLIB}" \
10563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10568 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
10569 maybe-maintainer-clean-libgui:
10571 maintainer-clean-libgui:
10572 @[ -f ./libgui/Makefile ] || exit 0; \
10573 r=`${PWD_COMMAND}`; export r; \
10574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10576 for flag in $(EXTRA_HOST_FLAGS); do \
10577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10579 echo "Doing maintainer-clean in libgui" ; \
10581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10583 "RANLIB=$${RANLIB}" \
10584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10585 maintainer-clean) \
10590 .PHONY: configure-libbanshee maybe-configure-libbanshee
10591 maybe-configure-libbanshee:
10592 configure-libbanshee:
10593 @test ! -f libbanshee/Makefile || exit 0; \
10594 [ -d libbanshee ] || mkdir libbanshee; \
10595 r=`${PWD_COMMAND}`; export r; \
10596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10597 CC="$(CC)"; export CC; \
10598 CFLAGS="$(CFLAGS)"; export CFLAGS; \
10599 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
10600 CXX="$(CXX)"; export CXX; \
10601 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
10602 AR="$(AR)"; export AR; \
10603 AS="$(AS)"; export AS; \
10604 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
10605 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
10606 LD="$(LD)"; export LD; \
10607 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
10608 NM="$(NM)"; export NM; \
10609 RANLIB="$(RANLIB)"; export RANLIB; \
10610 WINDRES="$(WINDRES)"; export WINDRES; \
10611 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
10612 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
10613 echo Configuring in libbanshee; \
10614 cd libbanshee || exit 1; \
10615 case $(srcdir) in \
10617 srcdiroption="--srcdir=."; \
10619 /* | [A-Za-z]:[\\/]*) \
10620 srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
10621 libsrcdir="$$s/libbanshee";; \
10623 srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
10624 libsrcdir="$$s/libbanshee";; \
10626 $(SHELL) $${libsrcdir}/configure \
10627 $(HOST_CONFIGARGS) $${srcdiroption} \
10630 .PHONY: all-libbanshee maybe-all-libbanshee
10631 maybe-all-libbanshee:
10632 all-libbanshee: configure-libbanshee
10633 @r=`${PWD_COMMAND}`; export r; \
10634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10636 (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS) all)
10638 .PHONY: check-libbanshee maybe-check-libbanshee
10639 maybe-check-libbanshee:
10642 @r=`${PWD_COMMAND}`; export r; \
10643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10645 (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS) check)
10648 .PHONY: install-libbanshee maybe-install-libbanshee
10649 maybe-install-libbanshee:
10651 install-libbanshee:
10654 # Other targets (info, dvi, etc.)
10656 .PHONY: maybe-info-libbanshee info-libbanshee
10657 maybe-info-libbanshee:
10660 configure-libbanshee
10661 @[ -f ./libbanshee/Makefile ] || exit 0; \
10662 r=`${PWD_COMMAND}`; export r; \
10663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10665 for flag in $(EXTRA_HOST_FLAGS); do \
10666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10668 echo "Doing info in libbanshee" ; \
10669 (cd libbanshee && \
10670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10672 "RANLIB=$${RANLIB}" \
10673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10678 .PHONY: maybe-dvi-libbanshee dvi-libbanshee
10679 maybe-dvi-libbanshee:
10682 configure-libbanshee
10683 @[ -f ./libbanshee/Makefile ] || exit 0; \
10684 r=`${PWD_COMMAND}`; export r; \
10685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10687 for flag in $(EXTRA_HOST_FLAGS); do \
10688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10690 echo "Doing dvi in libbanshee" ; \
10691 (cd libbanshee && \
10692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10694 "RANLIB=$${RANLIB}" \
10695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10700 .PHONY: maybe-TAGS-libbanshee TAGS-libbanshee
10701 maybe-TAGS-libbanshee:
10704 configure-libbanshee
10705 @[ -f ./libbanshee/Makefile ] || exit 0; \
10706 r=`${PWD_COMMAND}`; export r; \
10707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10709 for flag in $(EXTRA_HOST_FLAGS); do \
10710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10712 echo "Doing TAGS in libbanshee" ; \
10713 (cd libbanshee && \
10714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10716 "RANLIB=$${RANLIB}" \
10717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10722 .PHONY: maybe-install-info-libbanshee install-info-libbanshee
10723 maybe-install-info-libbanshee:
10725 install-info-libbanshee: \
10726 configure-libbanshee \
10728 @[ -f ./libbanshee/Makefile ] || exit 0; \
10729 r=`${PWD_COMMAND}`; export r; \
10730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10732 for flag in $(EXTRA_HOST_FLAGS); do \
10733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10735 echo "Doing install-info in libbanshee" ; \
10736 (cd libbanshee && \
10737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10739 "RANLIB=$${RANLIB}" \
10740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10745 .PHONY: maybe-installcheck-libbanshee installcheck-libbanshee
10746 maybe-installcheck-libbanshee:
10748 installcheck-libbanshee: \
10749 configure-libbanshee
10750 @[ -f ./libbanshee/Makefile ] || exit 0; \
10751 r=`${PWD_COMMAND}`; export r; \
10752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10754 for flag in $(EXTRA_HOST_FLAGS); do \
10755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10757 echo "Doing installcheck in libbanshee" ; \
10758 (cd libbanshee && \
10759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10761 "RANLIB=$${RANLIB}" \
10762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10767 .PHONY: maybe-mostlyclean-libbanshee mostlyclean-libbanshee
10768 maybe-mostlyclean-libbanshee:
10770 mostlyclean-libbanshee:
10771 @[ -f ./libbanshee/Makefile ] || exit 0; \
10772 r=`${PWD_COMMAND}`; export r; \
10773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10775 for flag in $(EXTRA_HOST_FLAGS); do \
10776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10778 echo "Doing mostlyclean in libbanshee" ; \
10779 (cd libbanshee && \
10780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10782 "RANLIB=$${RANLIB}" \
10783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10788 .PHONY: maybe-clean-libbanshee clean-libbanshee
10789 maybe-clean-libbanshee:
10792 @[ -f ./libbanshee/Makefile ] || exit 0; \
10793 r=`${PWD_COMMAND}`; export r; \
10794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10796 for flag in $(EXTRA_HOST_FLAGS); do \
10797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10799 echo "Doing clean in libbanshee" ; \
10800 (cd libbanshee && \
10801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10803 "RANLIB=$${RANLIB}" \
10804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10809 .PHONY: maybe-distclean-libbanshee distclean-libbanshee
10810 maybe-distclean-libbanshee:
10812 distclean-libbanshee:
10813 @[ -f ./libbanshee/Makefile ] || exit 0; \
10814 r=`${PWD_COMMAND}`; export r; \
10815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10817 for flag in $(EXTRA_HOST_FLAGS); do \
10818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10820 echo "Doing distclean in libbanshee" ; \
10821 (cd libbanshee && \
10822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10824 "RANLIB=$${RANLIB}" \
10825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10830 .PHONY: maybe-maintainer-clean-libbanshee maintainer-clean-libbanshee
10831 maybe-maintainer-clean-libbanshee:
10833 maintainer-clean-libbanshee:
10834 @[ -f ./libbanshee/Makefile ] || exit 0; \
10835 r=`${PWD_COMMAND}`; export r; \
10836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10838 for flag in $(EXTRA_HOST_FLAGS); do \
10839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10841 echo "Doing maintainer-clean in libbanshee" ; \
10842 (cd libbanshee && \
10843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10845 "RANLIB=$${RANLIB}" \
10846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10847 maintainer-clean) \
10852 .PHONY: configure-libiberty maybe-configure-libiberty
10853 maybe-configure-libiberty:
10854 configure-libiberty:
10855 @test ! -f libiberty/Makefile || exit 0; \
10856 [ -d libiberty ] || mkdir libiberty; \
10857 r=`${PWD_COMMAND}`; export r; \
10858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10859 CC="$(CC)"; export CC; \
10860 CFLAGS="$(CFLAGS)"; export CFLAGS; \
10861 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
10862 CXX="$(CXX)"; export CXX; \
10863 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
10864 AR="$(AR)"; export AR; \
10865 AS="$(AS)"; export AS; \
10866 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
10867 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
10868 LD="$(LD)"; export LD; \
10869 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
10870 NM="$(NM)"; export NM; \
10871 RANLIB="$(RANLIB)"; export RANLIB; \
10872 WINDRES="$(WINDRES)"; export WINDRES; \
10873 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
10874 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
10875 echo Configuring in libiberty; \
10876 cd libiberty || exit 1; \
10877 case $(srcdir) in \
10879 srcdiroption="--srcdir=."; \
10881 /* | [A-Za-z]:[\\/]*) \
10882 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
10883 libsrcdir="$$s/libiberty";; \
10885 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
10886 libsrcdir="$$s/libiberty";; \
10888 $(SHELL) $${libsrcdir}/configure \
10889 $(HOST_CONFIGARGS) $${srcdiroption} \
10892 .PHONY: all-libiberty maybe-all-libiberty
10893 maybe-all-libiberty:
10894 all-libiberty: configure-libiberty
10895 @r=`${PWD_COMMAND}`; export r; \
10896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10898 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) all)
10900 .PHONY: check-libiberty maybe-check-libiberty
10901 maybe-check-libiberty:
10904 @r=`${PWD_COMMAND}`; export r; \
10905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10907 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
10910 .PHONY: install-libiberty maybe-install-libiberty
10911 maybe-install-libiberty:
10913 install-libiberty: installdirs
10914 @r=`${PWD_COMMAND}`; export r; \
10915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10917 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
10920 # Other targets (info, dvi, etc.)
10922 .PHONY: maybe-info-libiberty info-libiberty
10923 maybe-info-libiberty:
10926 configure-libiberty
10927 @[ -f ./libiberty/Makefile ] || exit 0; \
10928 r=`${PWD_COMMAND}`; export r; \
10929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10931 for flag in $(EXTRA_HOST_FLAGS); do \
10932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10934 echo "Doing info in libiberty" ; \
10936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10938 "RANLIB=$${RANLIB}" \
10939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10944 .PHONY: maybe-dvi-libiberty dvi-libiberty
10945 maybe-dvi-libiberty:
10948 configure-libiberty
10949 @[ -f ./libiberty/Makefile ] || exit 0; \
10950 r=`${PWD_COMMAND}`; export r; \
10951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10953 for flag in $(EXTRA_HOST_FLAGS); do \
10954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10956 echo "Doing dvi in libiberty" ; \
10958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10960 "RANLIB=$${RANLIB}" \
10961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10966 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
10967 maybe-TAGS-libiberty:
10970 configure-libiberty
10971 @[ -f ./libiberty/Makefile ] || exit 0; \
10972 r=`${PWD_COMMAND}`; export r; \
10973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10975 for flag in $(EXTRA_HOST_FLAGS); do \
10976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10978 echo "Doing TAGS in libiberty" ; \
10980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10982 "RANLIB=$${RANLIB}" \
10983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10988 .PHONY: maybe-install-info-libiberty install-info-libiberty
10989 maybe-install-info-libiberty:
10991 install-info-libiberty: \
10992 configure-libiberty \
10994 @[ -f ./libiberty/Makefile ] || exit 0; \
10995 r=`${PWD_COMMAND}`; export r; \
10996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10998 for flag in $(EXTRA_HOST_FLAGS); do \
10999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11001 echo "Doing install-info in libiberty" ; \
11003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11005 "RANLIB=$${RANLIB}" \
11006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11011 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
11012 maybe-installcheck-libiberty:
11014 installcheck-libiberty: \
11015 configure-libiberty
11016 @[ -f ./libiberty/Makefile ] || exit 0; \
11017 r=`${PWD_COMMAND}`; export r; \
11018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11020 for flag in $(EXTRA_HOST_FLAGS); do \
11021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11023 echo "Doing installcheck in libiberty" ; \
11025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11027 "RANLIB=$${RANLIB}" \
11028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11033 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
11034 maybe-mostlyclean-libiberty:
11036 mostlyclean-libiberty:
11037 @[ -f ./libiberty/Makefile ] || exit 0; \
11038 r=`${PWD_COMMAND}`; export r; \
11039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11041 for flag in $(EXTRA_HOST_FLAGS); do \
11042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11044 echo "Doing mostlyclean in libiberty" ; \
11046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11048 "RANLIB=$${RANLIB}" \
11049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11054 .PHONY: maybe-clean-libiberty clean-libiberty
11055 maybe-clean-libiberty:
11058 @[ -f ./libiberty/Makefile ] || exit 0; \
11059 r=`${PWD_COMMAND}`; export r; \
11060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11062 for flag in $(EXTRA_HOST_FLAGS); do \
11063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11065 echo "Doing clean in libiberty" ; \
11067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11069 "RANLIB=$${RANLIB}" \
11070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11075 .PHONY: maybe-distclean-libiberty distclean-libiberty
11076 maybe-distclean-libiberty:
11078 distclean-libiberty:
11079 @[ -f ./libiberty/Makefile ] || exit 0; \
11080 r=`${PWD_COMMAND}`; export r; \
11081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11083 for flag in $(EXTRA_HOST_FLAGS); do \
11084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11086 echo "Doing distclean in libiberty" ; \
11088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11090 "RANLIB=$${RANLIB}" \
11091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11096 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
11097 maybe-maintainer-clean-libiberty:
11099 maintainer-clean-libiberty:
11100 @[ -f ./libiberty/Makefile ] || exit 0; \
11101 r=`${PWD_COMMAND}`; export r; \
11102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11104 for flag in $(EXTRA_HOST_FLAGS); do \
11105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11107 echo "Doing maintainer-clean in libiberty" ; \
11109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11111 "RANLIB=$${RANLIB}" \
11112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11113 maintainer-clean) \
11118 .PHONY: configure-libtool maybe-configure-libtool
11119 maybe-configure-libtool:
11121 @test ! -f libtool/Makefile || exit 0; \
11122 [ -d libtool ] || mkdir libtool; \
11123 r=`${PWD_COMMAND}`; export r; \
11124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11125 CC="$(CC)"; export CC; \
11126 CFLAGS="$(CFLAGS)"; export CFLAGS; \
11127 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
11128 CXX="$(CXX)"; export CXX; \
11129 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
11130 AR="$(AR)"; export AR; \
11131 AS="$(AS)"; export AS; \
11132 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
11133 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
11134 LD="$(LD)"; export LD; \
11135 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
11136 NM="$(NM)"; export NM; \
11137 RANLIB="$(RANLIB)"; export RANLIB; \
11138 WINDRES="$(WINDRES)"; export WINDRES; \
11139 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
11140 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
11141 echo Configuring in libtool; \
11142 cd libtool || exit 1; \
11143 case $(srcdir) in \
11145 srcdiroption="--srcdir=."; \
11147 /* | [A-Za-z]:[\\/]*) \
11148 srcdiroption="--srcdir=$(srcdir)/libtool"; \
11149 libsrcdir="$$s/libtool";; \
11151 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
11152 libsrcdir="$$s/libtool";; \
11154 $(SHELL) $${libsrcdir}/configure \
11155 $(HOST_CONFIGARGS) $${srcdiroption} \
11158 .PHONY: all-libtool maybe-all-libtool
11160 all-libtool: configure-libtool
11161 @r=`${PWD_COMMAND}`; export r; \
11162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11164 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) all)
11166 .PHONY: check-libtool maybe-check-libtool
11167 maybe-check-libtool:
11170 @r=`${PWD_COMMAND}`; export r; \
11171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11173 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
11176 .PHONY: install-libtool maybe-install-libtool
11177 maybe-install-libtool:
11179 install-libtool: installdirs
11180 @r=`${PWD_COMMAND}`; export r; \
11181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11183 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
11186 # Other targets (info, dvi, etc.)
11188 .PHONY: maybe-info-libtool info-libtool
11189 maybe-info-libtool:
11193 @[ -f ./libtool/Makefile ] || exit 0; \
11194 r=`${PWD_COMMAND}`; export r; \
11195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11197 for flag in $(EXTRA_HOST_FLAGS); do \
11198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11200 echo "Doing info in libtool" ; \
11202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11204 "RANLIB=$${RANLIB}" \
11205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11210 .PHONY: maybe-dvi-libtool dvi-libtool
11215 @[ -f ./libtool/Makefile ] || exit 0; \
11216 r=`${PWD_COMMAND}`; export r; \
11217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11219 for flag in $(EXTRA_HOST_FLAGS); do \
11220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11222 echo "Doing dvi in libtool" ; \
11224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11226 "RANLIB=$${RANLIB}" \
11227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11232 .PHONY: maybe-TAGS-libtool TAGS-libtool
11233 maybe-TAGS-libtool:
11237 @[ -f ./libtool/Makefile ] || exit 0; \
11238 r=`${PWD_COMMAND}`; export r; \
11239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11241 for flag in $(EXTRA_HOST_FLAGS); do \
11242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11244 echo "Doing TAGS in libtool" ; \
11246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11248 "RANLIB=$${RANLIB}" \
11249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11254 .PHONY: maybe-install-info-libtool install-info-libtool
11255 maybe-install-info-libtool:
11257 install-info-libtool: \
11258 configure-libtool \
11260 @[ -f ./libtool/Makefile ] || exit 0; \
11261 r=`${PWD_COMMAND}`; export r; \
11262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11264 for flag in $(EXTRA_HOST_FLAGS); do \
11265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11267 echo "Doing install-info in libtool" ; \
11269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11271 "RANLIB=$${RANLIB}" \
11272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11277 .PHONY: maybe-installcheck-libtool installcheck-libtool
11278 maybe-installcheck-libtool:
11280 installcheck-libtool: \
11282 @[ -f ./libtool/Makefile ] || exit 0; \
11283 r=`${PWD_COMMAND}`; export r; \
11284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11286 for flag in $(EXTRA_HOST_FLAGS); do \
11287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11289 echo "Doing installcheck in libtool" ; \
11291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11293 "RANLIB=$${RANLIB}" \
11294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11299 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
11300 maybe-mostlyclean-libtool:
11302 mostlyclean-libtool:
11303 @[ -f ./libtool/Makefile ] || exit 0; \
11304 r=`${PWD_COMMAND}`; export r; \
11305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11307 for flag in $(EXTRA_HOST_FLAGS); do \
11308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11310 echo "Doing mostlyclean in libtool" ; \
11312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11314 "RANLIB=$${RANLIB}" \
11315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11320 .PHONY: maybe-clean-libtool clean-libtool
11321 maybe-clean-libtool:
11324 @[ -f ./libtool/Makefile ] || exit 0; \
11325 r=`${PWD_COMMAND}`; export r; \
11326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11328 for flag in $(EXTRA_HOST_FLAGS); do \
11329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11331 echo "Doing clean in libtool" ; \
11333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11335 "RANLIB=$${RANLIB}" \
11336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11341 .PHONY: maybe-distclean-libtool distclean-libtool
11342 maybe-distclean-libtool:
11345 @[ -f ./libtool/Makefile ] || exit 0; \
11346 r=`${PWD_COMMAND}`; export r; \
11347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11349 for flag in $(EXTRA_HOST_FLAGS); do \
11350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11352 echo "Doing distclean in libtool" ; \
11354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11356 "RANLIB=$${RANLIB}" \
11357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11362 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
11363 maybe-maintainer-clean-libtool:
11365 maintainer-clean-libtool:
11366 @[ -f ./libtool/Makefile ] || exit 0; \
11367 r=`${PWD_COMMAND}`; export r; \
11368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11370 for flag in $(EXTRA_HOST_FLAGS); do \
11371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11373 echo "Doing maintainer-clean in libtool" ; \
11375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11377 "RANLIB=$${RANLIB}" \
11378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11379 maintainer-clean) \
11384 .PHONY: configure-m4 maybe-configure-m4
11385 maybe-configure-m4:
11387 @test ! -f m4/Makefile || exit 0; \
11388 [ -d m4 ] || mkdir m4; \
11389 r=`${PWD_COMMAND}`; export r; \
11390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11391 CC="$(CC)"; export CC; \
11392 CFLAGS="$(CFLAGS)"; export CFLAGS; \
11393 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
11394 CXX="$(CXX)"; export CXX; \
11395 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
11396 AR="$(AR)"; export AR; \
11397 AS="$(AS)"; export AS; \
11398 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
11399 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
11400 LD="$(LD)"; export LD; \
11401 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
11402 NM="$(NM)"; export NM; \
11403 RANLIB="$(RANLIB)"; export RANLIB; \
11404 WINDRES="$(WINDRES)"; export WINDRES; \
11405 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
11406 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
11407 echo Configuring in m4; \
11409 case $(srcdir) in \
11411 srcdiroption="--srcdir=."; \
11413 /* | [A-Za-z]:[\\/]*) \
11414 srcdiroption="--srcdir=$(srcdir)/m4"; \
11415 libsrcdir="$$s/m4";; \
11417 srcdiroption="--srcdir=../$(srcdir)/m4"; \
11418 libsrcdir="$$s/m4";; \
11420 $(SHELL) $${libsrcdir}/configure \
11421 $(HOST_CONFIGARGS) $${srcdiroption} \
11424 .PHONY: all-m4 maybe-all-m4
11426 all-m4: configure-m4
11427 @r=`${PWD_COMMAND}`; export r; \
11428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11430 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) all)
11432 .PHONY: check-m4 maybe-check-m4
11436 @r=`${PWD_COMMAND}`; export r; \
11437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11439 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
11442 .PHONY: install-m4 maybe-install-m4
11445 install-m4: installdirs
11446 @r=`${PWD_COMMAND}`; export r; \
11447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11449 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
11452 # Other targets (info, dvi, etc.)
11454 .PHONY: maybe-info-m4 info-m4
11459 @[ -f ./m4/Makefile ] || exit 0; \
11460 r=`${PWD_COMMAND}`; export r; \
11461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11463 for flag in $(EXTRA_HOST_FLAGS); do \
11464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11466 echo "Doing info in m4" ; \
11468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11470 "RANLIB=$${RANLIB}" \
11471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11476 .PHONY: maybe-dvi-m4 dvi-m4
11481 @[ -f ./m4/Makefile ] || exit 0; \
11482 r=`${PWD_COMMAND}`; export r; \
11483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11485 for flag in $(EXTRA_HOST_FLAGS); do \
11486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11488 echo "Doing dvi in m4" ; \
11490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11492 "RANLIB=$${RANLIB}" \
11493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11498 .PHONY: maybe-TAGS-m4 TAGS-m4
11503 @[ -f ./m4/Makefile ] || exit 0; \
11504 r=`${PWD_COMMAND}`; export r; \
11505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11507 for flag in $(EXTRA_HOST_FLAGS); do \
11508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11510 echo "Doing TAGS in m4" ; \
11512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11514 "RANLIB=$${RANLIB}" \
11515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11520 .PHONY: maybe-install-info-m4 install-info-m4
11521 maybe-install-info-m4:
11526 @[ -f ./m4/Makefile ] || exit 0; \
11527 r=`${PWD_COMMAND}`; export r; \
11528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11530 for flag in $(EXTRA_HOST_FLAGS); do \
11531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11533 echo "Doing install-info in m4" ; \
11535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11537 "RANLIB=$${RANLIB}" \
11538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11543 .PHONY: maybe-installcheck-m4 installcheck-m4
11544 maybe-installcheck-m4:
11548 @[ -f ./m4/Makefile ] || exit 0; \
11549 r=`${PWD_COMMAND}`; export r; \
11550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11552 for flag in $(EXTRA_HOST_FLAGS); do \
11553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11555 echo "Doing installcheck in m4" ; \
11557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11559 "RANLIB=$${RANLIB}" \
11560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11565 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
11566 maybe-mostlyclean-m4:
11569 @[ -f ./m4/Makefile ] || exit 0; \
11570 r=`${PWD_COMMAND}`; export r; \
11571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11573 for flag in $(EXTRA_HOST_FLAGS); do \
11574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11576 echo "Doing mostlyclean in m4" ; \
11578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11580 "RANLIB=$${RANLIB}" \
11581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11586 .PHONY: maybe-clean-m4 clean-m4
11590 @[ -f ./m4/Makefile ] || exit 0; \
11591 r=`${PWD_COMMAND}`; export r; \
11592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11594 for flag in $(EXTRA_HOST_FLAGS); do \
11595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11597 echo "Doing clean in m4" ; \
11599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11601 "RANLIB=$${RANLIB}" \
11602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11607 .PHONY: maybe-distclean-m4 distclean-m4
11608 maybe-distclean-m4:
11611 @[ -f ./m4/Makefile ] || exit 0; \
11612 r=`${PWD_COMMAND}`; export r; \
11613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11615 for flag in $(EXTRA_HOST_FLAGS); do \
11616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11618 echo "Doing distclean in m4" ; \
11620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11622 "RANLIB=$${RANLIB}" \
11623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11628 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
11629 maybe-maintainer-clean-m4:
11631 maintainer-clean-m4:
11632 @[ -f ./m4/Makefile ] || exit 0; \
11633 r=`${PWD_COMMAND}`; export r; \
11634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11636 for flag in $(EXTRA_HOST_FLAGS); do \
11637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11639 echo "Doing maintainer-clean in m4" ; \
11641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11643 "RANLIB=$${RANLIB}" \
11644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11645 maintainer-clean) \
11650 .PHONY: configure-make maybe-configure-make
11651 maybe-configure-make:
11653 @test ! -f make/Makefile || exit 0; \
11654 [ -d make ] || mkdir make; \
11655 r=`${PWD_COMMAND}`; export r; \
11656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11657 CC="$(CC)"; export CC; \
11658 CFLAGS="$(CFLAGS)"; export CFLAGS; \
11659 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
11660 CXX="$(CXX)"; export CXX; \
11661 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
11662 AR="$(AR)"; export AR; \
11663 AS="$(AS)"; export AS; \
11664 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
11665 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
11666 LD="$(LD)"; export LD; \
11667 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
11668 NM="$(NM)"; export NM; \
11669 RANLIB="$(RANLIB)"; export RANLIB; \
11670 WINDRES="$(WINDRES)"; export WINDRES; \
11671 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
11672 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
11673 echo Configuring in make; \
11674 cd make || exit 1; \
11675 case $(srcdir) in \
11677 srcdiroption="--srcdir=."; \
11679 /* | [A-Za-z]:[\\/]*) \
11680 srcdiroption="--srcdir=$(srcdir)/make"; \
11681 libsrcdir="$$s/make";; \
11683 srcdiroption="--srcdir=../$(srcdir)/make"; \
11684 libsrcdir="$$s/make";; \
11686 $(SHELL) $${libsrcdir}/configure \
11687 $(HOST_CONFIGARGS) $${srcdiroption} \
11690 .PHONY: all-make maybe-all-make
11692 all-make: configure-make
11693 @r=`${PWD_COMMAND}`; export r; \
11694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11696 (cd make && $(MAKE) $(FLAGS_TO_PASS) all)
11698 .PHONY: check-make maybe-check-make
11702 @r=`${PWD_COMMAND}`; export r; \
11703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11705 (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
11708 .PHONY: install-make maybe-install-make
11709 maybe-install-make:
11711 install-make: installdirs
11712 @r=`${PWD_COMMAND}`; export r; \
11713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11715 (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
11718 # Other targets (info, dvi, etc.)
11720 .PHONY: maybe-info-make info-make
11725 @[ -f ./make/Makefile ] || exit 0; \
11726 r=`${PWD_COMMAND}`; export r; \
11727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11729 for flag in $(EXTRA_HOST_FLAGS); do \
11730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11732 echo "Doing info in make" ; \
11734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11736 "RANLIB=$${RANLIB}" \
11737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11742 .PHONY: maybe-dvi-make dvi-make
11747 @[ -f ./make/Makefile ] || exit 0; \
11748 r=`${PWD_COMMAND}`; export r; \
11749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11751 for flag in $(EXTRA_HOST_FLAGS); do \
11752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11754 echo "Doing dvi in make" ; \
11756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11758 "RANLIB=$${RANLIB}" \
11759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11764 .PHONY: maybe-TAGS-make TAGS-make
11769 @[ -f ./make/Makefile ] || exit 0; \
11770 r=`${PWD_COMMAND}`; export r; \
11771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11773 for flag in $(EXTRA_HOST_FLAGS); do \
11774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11776 echo "Doing TAGS in make" ; \
11778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11780 "RANLIB=$${RANLIB}" \
11781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11786 .PHONY: maybe-install-info-make install-info-make
11787 maybe-install-info-make:
11789 install-info-make: \
11792 @[ -f ./make/Makefile ] || exit 0; \
11793 r=`${PWD_COMMAND}`; export r; \
11794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11796 for flag in $(EXTRA_HOST_FLAGS); do \
11797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11799 echo "Doing install-info in make" ; \
11801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11803 "RANLIB=$${RANLIB}" \
11804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11809 .PHONY: maybe-installcheck-make installcheck-make
11810 maybe-installcheck-make:
11812 installcheck-make: \
11814 @[ -f ./make/Makefile ] || exit 0; \
11815 r=`${PWD_COMMAND}`; export r; \
11816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11818 for flag in $(EXTRA_HOST_FLAGS); do \
11819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11821 echo "Doing installcheck in make" ; \
11823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11825 "RANLIB=$${RANLIB}" \
11826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11831 .PHONY: maybe-mostlyclean-make mostlyclean-make
11832 maybe-mostlyclean-make:
11835 @[ -f ./make/Makefile ] || exit 0; \
11836 r=`${PWD_COMMAND}`; export r; \
11837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11839 for flag in $(EXTRA_HOST_FLAGS); do \
11840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11842 echo "Doing mostlyclean in make" ; \
11844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11846 "RANLIB=$${RANLIB}" \
11847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11852 .PHONY: maybe-clean-make clean-make
11856 @[ -f ./make/Makefile ] || exit 0; \
11857 r=`${PWD_COMMAND}`; export r; \
11858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11860 for flag in $(EXTRA_HOST_FLAGS); do \
11861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11863 echo "Doing clean in make" ; \
11865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11867 "RANLIB=$${RANLIB}" \
11868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11873 .PHONY: maybe-distclean-make distclean-make
11874 maybe-distclean-make:
11877 @[ -f ./make/Makefile ] || exit 0; \
11878 r=`${PWD_COMMAND}`; export r; \
11879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11881 for flag in $(EXTRA_HOST_FLAGS); do \
11882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11884 echo "Doing distclean in make" ; \
11886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11888 "RANLIB=$${RANLIB}" \
11889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11894 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
11895 maybe-maintainer-clean-make:
11897 maintainer-clean-make:
11898 @[ -f ./make/Makefile ] || exit 0; \
11899 r=`${PWD_COMMAND}`; export r; \
11900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11902 for flag in $(EXTRA_HOST_FLAGS); do \
11903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11905 echo "Doing maintainer-clean in make" ; \
11907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11909 "RANLIB=$${RANLIB}" \
11910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11911 maintainer-clean) \
11916 .PHONY: configure-mmalloc maybe-configure-mmalloc
11917 maybe-configure-mmalloc:
11919 @test ! -f mmalloc/Makefile || exit 0; \
11920 [ -d mmalloc ] || mkdir mmalloc; \
11921 r=`${PWD_COMMAND}`; export r; \
11922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11923 CC="$(CC)"; export CC; \
11924 CFLAGS="$(CFLAGS)"; export CFLAGS; \
11925 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
11926 CXX="$(CXX)"; export CXX; \
11927 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
11928 AR="$(AR)"; export AR; \
11929 AS="$(AS)"; export AS; \
11930 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
11931 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
11932 LD="$(LD)"; export LD; \
11933 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
11934 NM="$(NM)"; export NM; \
11935 RANLIB="$(RANLIB)"; export RANLIB; \
11936 WINDRES="$(WINDRES)"; export WINDRES; \
11937 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
11938 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
11939 echo Configuring in mmalloc; \
11940 cd mmalloc || exit 1; \
11941 case $(srcdir) in \
11943 srcdiroption="--srcdir=."; \
11945 /* | [A-Za-z]:[\\/]*) \
11946 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
11947 libsrcdir="$$s/mmalloc";; \
11949 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
11950 libsrcdir="$$s/mmalloc";; \
11952 $(SHELL) $${libsrcdir}/configure \
11953 $(HOST_CONFIGARGS) $${srcdiroption} \
11956 .PHONY: all-mmalloc maybe-all-mmalloc
11958 all-mmalloc: configure-mmalloc
11959 @r=`${PWD_COMMAND}`; export r; \
11960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11962 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) all)
11964 .PHONY: check-mmalloc maybe-check-mmalloc
11965 maybe-check-mmalloc:
11970 .PHONY: install-mmalloc maybe-install-mmalloc
11971 maybe-install-mmalloc:
11973 install-mmalloc: installdirs
11974 @r=`${PWD_COMMAND}`; export r; \
11975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11977 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
11980 # Other targets (info, dvi, etc.)
11982 .PHONY: maybe-info-mmalloc info-mmalloc
11983 maybe-info-mmalloc:
11987 @[ -f ./mmalloc/Makefile ] || exit 0; \
11988 r=`${PWD_COMMAND}`; export r; \
11989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11991 for flag in $(EXTRA_HOST_FLAGS); do \
11992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11994 echo "Doing info in mmalloc" ; \
11996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11998 "RANLIB=$${RANLIB}" \
11999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12004 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
12009 @[ -f ./mmalloc/Makefile ] || exit 0; \
12010 r=`${PWD_COMMAND}`; export r; \
12011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12013 for flag in $(EXTRA_HOST_FLAGS); do \
12014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12016 echo "Doing dvi in mmalloc" ; \
12018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12020 "RANLIB=$${RANLIB}" \
12021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12026 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
12027 maybe-TAGS-mmalloc:
12031 @[ -f ./mmalloc/Makefile ] || exit 0; \
12032 r=`${PWD_COMMAND}`; export r; \
12033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12035 for flag in $(EXTRA_HOST_FLAGS); do \
12036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12038 echo "Doing TAGS in mmalloc" ; \
12040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12042 "RANLIB=$${RANLIB}" \
12043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12048 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
12049 maybe-install-info-mmalloc:
12051 install-info-mmalloc: \
12052 configure-mmalloc \
12054 @[ -f ./mmalloc/Makefile ] || exit 0; \
12055 r=`${PWD_COMMAND}`; export r; \
12056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12058 for flag in $(EXTRA_HOST_FLAGS); do \
12059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12061 echo "Doing install-info in mmalloc" ; \
12063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12065 "RANLIB=$${RANLIB}" \
12066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12071 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
12072 maybe-installcheck-mmalloc:
12074 installcheck-mmalloc: \
12076 @[ -f ./mmalloc/Makefile ] || exit 0; \
12077 r=`${PWD_COMMAND}`; export r; \
12078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12080 for flag in $(EXTRA_HOST_FLAGS); do \
12081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12083 echo "Doing installcheck in mmalloc" ; \
12085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12087 "RANLIB=$${RANLIB}" \
12088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12093 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
12094 maybe-mostlyclean-mmalloc:
12096 mostlyclean-mmalloc:
12097 @[ -f ./mmalloc/Makefile ] || exit 0; \
12098 r=`${PWD_COMMAND}`; export r; \
12099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12101 for flag in $(EXTRA_HOST_FLAGS); do \
12102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12104 echo "Doing mostlyclean in mmalloc" ; \
12106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12108 "RANLIB=$${RANLIB}" \
12109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12114 .PHONY: maybe-clean-mmalloc clean-mmalloc
12115 maybe-clean-mmalloc:
12118 @[ -f ./mmalloc/Makefile ] || exit 0; \
12119 r=`${PWD_COMMAND}`; export r; \
12120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12122 for flag in $(EXTRA_HOST_FLAGS); do \
12123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12125 echo "Doing clean in mmalloc" ; \
12127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12129 "RANLIB=$${RANLIB}" \
12130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12135 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
12136 maybe-distclean-mmalloc:
12139 @[ -f ./mmalloc/Makefile ] || exit 0; \
12140 r=`${PWD_COMMAND}`; export r; \
12141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12143 for flag in $(EXTRA_HOST_FLAGS); do \
12144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12146 echo "Doing distclean in mmalloc" ; \
12148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12150 "RANLIB=$${RANLIB}" \
12151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12156 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
12157 maybe-maintainer-clean-mmalloc:
12159 maintainer-clean-mmalloc:
12160 @[ -f ./mmalloc/Makefile ] || exit 0; \
12161 r=`${PWD_COMMAND}`; export r; \
12162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12164 for flag in $(EXTRA_HOST_FLAGS); do \
12165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12167 echo "Doing maintainer-clean in mmalloc" ; \
12169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12171 "RANLIB=$${RANLIB}" \
12172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12173 maintainer-clean) \
12178 .PHONY: configure-patch maybe-configure-patch
12179 maybe-configure-patch:
12181 @test ! -f patch/Makefile || exit 0; \
12182 [ -d patch ] || mkdir patch; \
12183 r=`${PWD_COMMAND}`; export r; \
12184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12185 CC="$(CC)"; export CC; \
12186 CFLAGS="$(CFLAGS)"; export CFLAGS; \
12187 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
12188 CXX="$(CXX)"; export CXX; \
12189 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
12190 AR="$(AR)"; export AR; \
12191 AS="$(AS)"; export AS; \
12192 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
12193 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
12194 LD="$(LD)"; export LD; \
12195 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
12196 NM="$(NM)"; export NM; \
12197 RANLIB="$(RANLIB)"; export RANLIB; \
12198 WINDRES="$(WINDRES)"; export WINDRES; \
12199 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
12200 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
12201 echo Configuring in patch; \
12202 cd patch || exit 1; \
12203 case $(srcdir) in \
12205 srcdiroption="--srcdir=."; \
12207 /* | [A-Za-z]:[\\/]*) \
12208 srcdiroption="--srcdir=$(srcdir)/patch"; \
12209 libsrcdir="$$s/patch";; \
12211 srcdiroption="--srcdir=../$(srcdir)/patch"; \
12212 libsrcdir="$$s/patch";; \
12214 $(SHELL) $${libsrcdir}/configure \
12215 $(HOST_CONFIGARGS) $${srcdiroption} \
12218 .PHONY: all-patch maybe-all-patch
12220 all-patch: configure-patch
12221 @r=`${PWD_COMMAND}`; export r; \
12222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12224 (cd patch && $(MAKE) $(FLAGS_TO_PASS) all)
12226 .PHONY: check-patch maybe-check-patch
12230 @r=`${PWD_COMMAND}`; export r; \
12231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12233 (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
12236 .PHONY: install-patch maybe-install-patch
12237 maybe-install-patch:
12239 install-patch: installdirs
12240 @r=`${PWD_COMMAND}`; export r; \
12241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12243 (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
12246 # Other targets (info, dvi, etc.)
12248 .PHONY: maybe-info-patch info-patch
12253 @[ -f ./patch/Makefile ] || exit 0; \
12254 r=`${PWD_COMMAND}`; export r; \
12255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12257 for flag in $(EXTRA_HOST_FLAGS); do \
12258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12260 echo "Doing info in patch" ; \
12262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12264 "RANLIB=$${RANLIB}" \
12265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12270 .PHONY: maybe-dvi-patch dvi-patch
12275 @[ -f ./patch/Makefile ] || exit 0; \
12276 r=`${PWD_COMMAND}`; export r; \
12277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12279 for flag in $(EXTRA_HOST_FLAGS); do \
12280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12282 echo "Doing dvi in patch" ; \
12284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12286 "RANLIB=$${RANLIB}" \
12287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12292 .PHONY: maybe-TAGS-patch TAGS-patch
12297 @[ -f ./patch/Makefile ] || exit 0; \
12298 r=`${PWD_COMMAND}`; export r; \
12299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12301 for flag in $(EXTRA_HOST_FLAGS); do \
12302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12304 echo "Doing TAGS in patch" ; \
12306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12308 "RANLIB=$${RANLIB}" \
12309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12314 .PHONY: maybe-install-info-patch install-info-patch
12315 maybe-install-info-patch:
12317 install-info-patch: \
12320 @[ -f ./patch/Makefile ] || exit 0; \
12321 r=`${PWD_COMMAND}`; export r; \
12322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12324 for flag in $(EXTRA_HOST_FLAGS); do \
12325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12327 echo "Doing install-info in patch" ; \
12329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12331 "RANLIB=$${RANLIB}" \
12332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12337 .PHONY: maybe-installcheck-patch installcheck-patch
12338 maybe-installcheck-patch:
12340 installcheck-patch: \
12342 @[ -f ./patch/Makefile ] || exit 0; \
12343 r=`${PWD_COMMAND}`; export r; \
12344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12346 for flag in $(EXTRA_HOST_FLAGS); do \
12347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12349 echo "Doing installcheck in patch" ; \
12351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12353 "RANLIB=$${RANLIB}" \
12354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12359 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
12360 maybe-mostlyclean-patch:
12363 @[ -f ./patch/Makefile ] || exit 0; \
12364 r=`${PWD_COMMAND}`; export r; \
12365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12367 for flag in $(EXTRA_HOST_FLAGS); do \
12368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12370 echo "Doing mostlyclean in patch" ; \
12372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12374 "RANLIB=$${RANLIB}" \
12375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12380 .PHONY: maybe-clean-patch clean-patch
12384 @[ -f ./patch/Makefile ] || exit 0; \
12385 r=`${PWD_COMMAND}`; export r; \
12386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12388 for flag in $(EXTRA_HOST_FLAGS); do \
12389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12391 echo "Doing clean in patch" ; \
12393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12395 "RANLIB=$${RANLIB}" \
12396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12401 .PHONY: maybe-distclean-patch distclean-patch
12402 maybe-distclean-patch:
12405 @[ -f ./patch/Makefile ] || exit 0; \
12406 r=`${PWD_COMMAND}`; export r; \
12407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12409 for flag in $(EXTRA_HOST_FLAGS); do \
12410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12412 echo "Doing distclean in patch" ; \
12414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12416 "RANLIB=$${RANLIB}" \
12417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12422 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
12423 maybe-maintainer-clean-patch:
12425 maintainer-clean-patch:
12426 @[ -f ./patch/Makefile ] || exit 0; \
12427 r=`${PWD_COMMAND}`; export r; \
12428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12430 for flag in $(EXTRA_HOST_FLAGS); do \
12431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12433 echo "Doing maintainer-clean in patch" ; \
12435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12437 "RANLIB=$${RANLIB}" \
12438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12439 maintainer-clean) \
12444 .PHONY: configure-perl maybe-configure-perl
12445 maybe-configure-perl:
12447 @test ! -f perl/Makefile || exit 0; \
12448 [ -d perl ] || mkdir perl; \
12449 r=`${PWD_COMMAND}`; export r; \
12450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12451 CC="$(CC)"; export CC; \
12452 CFLAGS="$(CFLAGS)"; export CFLAGS; \
12453 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
12454 CXX="$(CXX)"; export CXX; \
12455 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
12456 AR="$(AR)"; export AR; \
12457 AS="$(AS)"; export AS; \
12458 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
12459 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
12460 LD="$(LD)"; export LD; \
12461 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
12462 NM="$(NM)"; export NM; \
12463 RANLIB="$(RANLIB)"; export RANLIB; \
12464 WINDRES="$(WINDRES)"; export WINDRES; \
12465 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
12466 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
12467 echo Configuring in perl; \
12468 cd perl || exit 1; \
12469 case $(srcdir) in \
12471 srcdiroption="--srcdir=."; \
12473 /* | [A-Za-z]:[\\/]*) \
12474 srcdiroption="--srcdir=$(srcdir)/perl"; \
12475 libsrcdir="$$s/perl";; \
12477 srcdiroption="--srcdir=../$(srcdir)/perl"; \
12478 libsrcdir="$$s/perl";; \
12480 $(SHELL) $${libsrcdir}/configure \
12481 $(HOST_CONFIGARGS) $${srcdiroption} \
12484 .PHONY: all-perl maybe-all-perl
12486 all-perl: configure-perl
12487 @r=`${PWD_COMMAND}`; export r; \
12488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12490 (cd perl && $(MAKE) $(FLAGS_TO_PASS) all)
12492 .PHONY: check-perl maybe-check-perl
12496 @r=`${PWD_COMMAND}`; export r; \
12497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12499 (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
12502 .PHONY: install-perl maybe-install-perl
12503 maybe-install-perl:
12505 install-perl: installdirs
12506 @r=`${PWD_COMMAND}`; export r; \
12507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12509 (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
12512 # Other targets (info, dvi, etc.)
12514 .PHONY: maybe-info-perl info-perl
12519 @[ -f ./perl/Makefile ] || exit 0; \
12520 r=`${PWD_COMMAND}`; export r; \
12521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12523 for flag in $(EXTRA_HOST_FLAGS); do \
12524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12526 echo "Doing info in perl" ; \
12528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12530 "RANLIB=$${RANLIB}" \
12531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12536 .PHONY: maybe-dvi-perl dvi-perl
12541 @[ -f ./perl/Makefile ] || exit 0; \
12542 r=`${PWD_COMMAND}`; export r; \
12543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12545 for flag in $(EXTRA_HOST_FLAGS); do \
12546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12548 echo "Doing dvi in perl" ; \
12550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12552 "RANLIB=$${RANLIB}" \
12553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12558 .PHONY: maybe-TAGS-perl TAGS-perl
12563 @[ -f ./perl/Makefile ] || exit 0; \
12564 r=`${PWD_COMMAND}`; export r; \
12565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12567 for flag in $(EXTRA_HOST_FLAGS); do \
12568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12570 echo "Doing TAGS in perl" ; \
12572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12574 "RANLIB=$${RANLIB}" \
12575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12580 .PHONY: maybe-install-info-perl install-info-perl
12581 maybe-install-info-perl:
12583 install-info-perl: \
12586 @[ -f ./perl/Makefile ] || exit 0; \
12587 r=`${PWD_COMMAND}`; export r; \
12588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12590 for flag in $(EXTRA_HOST_FLAGS); do \
12591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12593 echo "Doing install-info in perl" ; \
12595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12597 "RANLIB=$${RANLIB}" \
12598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12603 .PHONY: maybe-installcheck-perl installcheck-perl
12604 maybe-installcheck-perl:
12606 installcheck-perl: \
12608 @[ -f ./perl/Makefile ] || exit 0; \
12609 r=`${PWD_COMMAND}`; export r; \
12610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12612 for flag in $(EXTRA_HOST_FLAGS); do \
12613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12615 echo "Doing installcheck in perl" ; \
12617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12619 "RANLIB=$${RANLIB}" \
12620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12625 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
12626 maybe-mostlyclean-perl:
12629 @[ -f ./perl/Makefile ] || exit 0; \
12630 r=`${PWD_COMMAND}`; export r; \
12631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12633 for flag in $(EXTRA_HOST_FLAGS); do \
12634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12636 echo "Doing mostlyclean in perl" ; \
12638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12640 "RANLIB=$${RANLIB}" \
12641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12646 .PHONY: maybe-clean-perl clean-perl
12650 @[ -f ./perl/Makefile ] || exit 0; \
12651 r=`${PWD_COMMAND}`; export r; \
12652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12654 for flag in $(EXTRA_HOST_FLAGS); do \
12655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12657 echo "Doing clean in perl" ; \
12659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12661 "RANLIB=$${RANLIB}" \
12662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12667 .PHONY: maybe-distclean-perl distclean-perl
12668 maybe-distclean-perl:
12671 @[ -f ./perl/Makefile ] || exit 0; \
12672 r=`${PWD_COMMAND}`; export r; \
12673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12675 for flag in $(EXTRA_HOST_FLAGS); do \
12676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12678 echo "Doing distclean in perl" ; \
12680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12682 "RANLIB=$${RANLIB}" \
12683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12688 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
12689 maybe-maintainer-clean-perl:
12691 maintainer-clean-perl:
12692 @[ -f ./perl/Makefile ] || exit 0; \
12693 r=`${PWD_COMMAND}`; export r; \
12694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12696 for flag in $(EXTRA_HOST_FLAGS); do \
12697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12699 echo "Doing maintainer-clean in perl" ; \
12701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12703 "RANLIB=$${RANLIB}" \
12704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12705 maintainer-clean) \
12710 .PHONY: configure-prms maybe-configure-prms
12711 maybe-configure-prms:
12713 @test ! -f prms/Makefile || exit 0; \
12714 [ -d prms ] || mkdir prms; \
12715 r=`${PWD_COMMAND}`; export r; \
12716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12717 CC="$(CC)"; export CC; \
12718 CFLAGS="$(CFLAGS)"; export CFLAGS; \
12719 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
12720 CXX="$(CXX)"; export CXX; \
12721 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
12722 AR="$(AR)"; export AR; \
12723 AS="$(AS)"; export AS; \
12724 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
12725 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
12726 LD="$(LD)"; export LD; \
12727 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
12728 NM="$(NM)"; export NM; \
12729 RANLIB="$(RANLIB)"; export RANLIB; \
12730 WINDRES="$(WINDRES)"; export WINDRES; \
12731 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
12732 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
12733 echo Configuring in prms; \
12734 cd prms || exit 1; \
12735 case $(srcdir) in \
12737 srcdiroption="--srcdir=."; \
12739 /* | [A-Za-z]:[\\/]*) \
12740 srcdiroption="--srcdir=$(srcdir)/prms"; \
12741 libsrcdir="$$s/prms";; \
12743 srcdiroption="--srcdir=../$(srcdir)/prms"; \
12744 libsrcdir="$$s/prms";; \
12746 $(SHELL) $${libsrcdir}/configure \
12747 $(HOST_CONFIGARGS) $${srcdiroption} \
12750 .PHONY: all-prms maybe-all-prms
12752 all-prms: configure-prms
12753 @r=`${PWD_COMMAND}`; export r; \
12754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12756 (cd prms && $(MAKE) $(FLAGS_TO_PASS) all)
12758 .PHONY: check-prms maybe-check-prms
12762 @r=`${PWD_COMMAND}`; export r; \
12763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12765 (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
12768 .PHONY: install-prms maybe-install-prms
12769 maybe-install-prms:
12771 install-prms: installdirs
12772 @r=`${PWD_COMMAND}`; export r; \
12773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12775 (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
12778 # Other targets (info, dvi, etc.)
12780 .PHONY: maybe-info-prms info-prms
12785 @[ -f ./prms/Makefile ] || exit 0; \
12786 r=`${PWD_COMMAND}`; export r; \
12787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12789 for flag in $(EXTRA_HOST_FLAGS); do \
12790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12792 echo "Doing info in prms" ; \
12794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12796 "RANLIB=$${RANLIB}" \
12797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12802 .PHONY: maybe-dvi-prms dvi-prms
12807 @[ -f ./prms/Makefile ] || exit 0; \
12808 r=`${PWD_COMMAND}`; export r; \
12809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12811 for flag in $(EXTRA_HOST_FLAGS); do \
12812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12814 echo "Doing dvi in prms" ; \
12816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12818 "RANLIB=$${RANLIB}" \
12819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12824 .PHONY: maybe-TAGS-prms TAGS-prms
12829 @[ -f ./prms/Makefile ] || exit 0; \
12830 r=`${PWD_COMMAND}`; export r; \
12831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12833 for flag in $(EXTRA_HOST_FLAGS); do \
12834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12836 echo "Doing TAGS in prms" ; \
12838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12840 "RANLIB=$${RANLIB}" \
12841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12846 .PHONY: maybe-install-info-prms install-info-prms
12847 maybe-install-info-prms:
12849 install-info-prms: \
12852 @[ -f ./prms/Makefile ] || exit 0; \
12853 r=`${PWD_COMMAND}`; export r; \
12854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12856 for flag in $(EXTRA_HOST_FLAGS); do \
12857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12859 echo "Doing install-info in prms" ; \
12861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12863 "RANLIB=$${RANLIB}" \
12864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12869 .PHONY: maybe-installcheck-prms installcheck-prms
12870 maybe-installcheck-prms:
12872 installcheck-prms: \
12874 @[ -f ./prms/Makefile ] || exit 0; \
12875 r=`${PWD_COMMAND}`; export r; \
12876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12878 for flag in $(EXTRA_HOST_FLAGS); do \
12879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12881 echo "Doing installcheck in prms" ; \
12883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12885 "RANLIB=$${RANLIB}" \
12886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12891 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
12892 maybe-mostlyclean-prms:
12895 @[ -f ./prms/Makefile ] || exit 0; \
12896 r=`${PWD_COMMAND}`; export r; \
12897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12899 for flag in $(EXTRA_HOST_FLAGS); do \
12900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12902 echo "Doing mostlyclean in prms" ; \
12904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12906 "RANLIB=$${RANLIB}" \
12907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12912 .PHONY: maybe-clean-prms clean-prms
12916 @[ -f ./prms/Makefile ] || exit 0; \
12917 r=`${PWD_COMMAND}`; export r; \
12918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12920 for flag in $(EXTRA_HOST_FLAGS); do \
12921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12923 echo "Doing clean in prms" ; \
12925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12927 "RANLIB=$${RANLIB}" \
12928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12933 .PHONY: maybe-distclean-prms distclean-prms
12934 maybe-distclean-prms:
12937 @[ -f ./prms/Makefile ] || exit 0; \
12938 r=`${PWD_COMMAND}`; export r; \
12939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12941 for flag in $(EXTRA_HOST_FLAGS); do \
12942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12944 echo "Doing distclean in prms" ; \
12946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12948 "RANLIB=$${RANLIB}" \
12949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12954 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
12955 maybe-maintainer-clean-prms:
12957 maintainer-clean-prms:
12958 @[ -f ./prms/Makefile ] || exit 0; \
12959 r=`${PWD_COMMAND}`; export r; \
12960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12962 for flag in $(EXTRA_HOST_FLAGS); do \
12963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12965 echo "Doing maintainer-clean in prms" ; \
12967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12969 "RANLIB=$${RANLIB}" \
12970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12971 maintainer-clean) \
12976 .PHONY: configure-rcs maybe-configure-rcs
12977 maybe-configure-rcs:
12979 @test ! -f rcs/Makefile || exit 0; \
12980 [ -d rcs ] || mkdir rcs; \
12981 r=`${PWD_COMMAND}`; export r; \
12982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12983 CC="$(CC)"; export CC; \
12984 CFLAGS="$(CFLAGS)"; export CFLAGS; \
12985 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
12986 CXX="$(CXX)"; export CXX; \
12987 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
12988 AR="$(AR)"; export AR; \
12989 AS="$(AS)"; export AS; \
12990 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
12991 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
12992 LD="$(LD)"; export LD; \
12993 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
12994 NM="$(NM)"; export NM; \
12995 RANLIB="$(RANLIB)"; export RANLIB; \
12996 WINDRES="$(WINDRES)"; export WINDRES; \
12997 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
12998 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
12999 echo Configuring in rcs; \
13000 cd rcs || exit 1; \
13001 case $(srcdir) in \
13003 srcdiroption="--srcdir=."; \
13005 /* | [A-Za-z]:[\\/]*) \
13006 srcdiroption="--srcdir=$(srcdir)/rcs"; \
13007 libsrcdir="$$s/rcs";; \
13009 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
13010 libsrcdir="$$s/rcs";; \
13012 $(SHELL) $${libsrcdir}/configure \
13013 $(HOST_CONFIGARGS) $${srcdiroption} \
13016 .PHONY: all-rcs maybe-all-rcs
13018 all-rcs: configure-rcs
13019 @r=`${PWD_COMMAND}`; export r; \
13020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13022 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) all)
13024 .PHONY: check-rcs maybe-check-rcs
13028 @r=`${PWD_COMMAND}`; export r; \
13029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13031 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
13034 .PHONY: install-rcs maybe-install-rcs
13037 install-rcs: installdirs
13038 @r=`${PWD_COMMAND}`; export r; \
13039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13041 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
13044 # Other targets (info, dvi, etc.)
13046 .PHONY: maybe-info-rcs info-rcs
13051 @[ -f ./rcs/Makefile ] || exit 0; \
13052 r=`${PWD_COMMAND}`; export r; \
13053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13055 for flag in $(EXTRA_HOST_FLAGS); do \
13056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13058 echo "Doing info in rcs" ; \
13060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13062 "RANLIB=$${RANLIB}" \
13063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13068 .PHONY: maybe-dvi-rcs dvi-rcs
13073 @[ -f ./rcs/Makefile ] || exit 0; \
13074 r=`${PWD_COMMAND}`; export r; \
13075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13077 for flag in $(EXTRA_HOST_FLAGS); do \
13078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13080 echo "Doing dvi in rcs" ; \
13082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13084 "RANLIB=$${RANLIB}" \
13085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13090 .PHONY: maybe-TAGS-rcs TAGS-rcs
13095 @[ -f ./rcs/Makefile ] || exit 0; \
13096 r=`${PWD_COMMAND}`; export r; \
13097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13099 for flag in $(EXTRA_HOST_FLAGS); do \
13100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13102 echo "Doing TAGS in rcs" ; \
13104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13106 "RANLIB=$${RANLIB}" \
13107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13112 .PHONY: maybe-install-info-rcs install-info-rcs
13113 maybe-install-info-rcs:
13115 install-info-rcs: \
13118 @[ -f ./rcs/Makefile ] || exit 0; \
13119 r=`${PWD_COMMAND}`; export r; \
13120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13122 for flag in $(EXTRA_HOST_FLAGS); do \
13123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13125 echo "Doing install-info in rcs" ; \
13127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13129 "RANLIB=$${RANLIB}" \
13130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13135 .PHONY: maybe-installcheck-rcs installcheck-rcs
13136 maybe-installcheck-rcs:
13138 installcheck-rcs: \
13140 @[ -f ./rcs/Makefile ] || exit 0; \
13141 r=`${PWD_COMMAND}`; export r; \
13142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13144 for flag in $(EXTRA_HOST_FLAGS); do \
13145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13147 echo "Doing installcheck in rcs" ; \
13149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13151 "RANLIB=$${RANLIB}" \
13152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13157 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
13158 maybe-mostlyclean-rcs:
13161 @[ -f ./rcs/Makefile ] || exit 0; \
13162 r=`${PWD_COMMAND}`; export r; \
13163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13165 for flag in $(EXTRA_HOST_FLAGS); do \
13166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13168 echo "Doing mostlyclean in rcs" ; \
13170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13172 "RANLIB=$${RANLIB}" \
13173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13178 .PHONY: maybe-clean-rcs clean-rcs
13182 @[ -f ./rcs/Makefile ] || exit 0; \
13183 r=`${PWD_COMMAND}`; export r; \
13184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13186 for flag in $(EXTRA_HOST_FLAGS); do \
13187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13189 echo "Doing clean in rcs" ; \
13191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13193 "RANLIB=$${RANLIB}" \
13194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13199 .PHONY: maybe-distclean-rcs distclean-rcs
13200 maybe-distclean-rcs:
13203 @[ -f ./rcs/Makefile ] || exit 0; \
13204 r=`${PWD_COMMAND}`; export r; \
13205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13207 for flag in $(EXTRA_HOST_FLAGS); do \
13208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13210 echo "Doing distclean in rcs" ; \
13212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13214 "RANLIB=$${RANLIB}" \
13215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13220 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
13221 maybe-maintainer-clean-rcs:
13223 maintainer-clean-rcs:
13224 @[ -f ./rcs/Makefile ] || exit 0; \
13225 r=`${PWD_COMMAND}`; export r; \
13226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13228 for flag in $(EXTRA_HOST_FLAGS); do \
13229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13231 echo "Doing maintainer-clean in rcs" ; \
13233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13235 "RANLIB=$${RANLIB}" \
13236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13237 maintainer-clean) \
13242 .PHONY: configure-readline maybe-configure-readline
13243 maybe-configure-readline:
13244 configure-readline:
13245 @test ! -f readline/Makefile || exit 0; \
13246 [ -d readline ] || mkdir readline; \
13247 r=`${PWD_COMMAND}`; export r; \
13248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13249 CC="$(CC)"; export CC; \
13250 CFLAGS="$(CFLAGS)"; export CFLAGS; \
13251 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
13252 CXX="$(CXX)"; export CXX; \
13253 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
13254 AR="$(AR)"; export AR; \
13255 AS="$(AS)"; export AS; \
13256 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
13257 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
13258 LD="$(LD)"; export LD; \
13259 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
13260 NM="$(NM)"; export NM; \
13261 RANLIB="$(RANLIB)"; export RANLIB; \
13262 WINDRES="$(WINDRES)"; export WINDRES; \
13263 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
13264 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
13265 echo Configuring in readline; \
13266 cd readline || exit 1; \
13267 case $(srcdir) in \
13269 srcdiroption="--srcdir=."; \
13271 /* | [A-Za-z]:[\\/]*) \
13272 srcdiroption="--srcdir=$(srcdir)/readline"; \
13273 libsrcdir="$$s/readline";; \
13275 srcdiroption="--srcdir=../$(srcdir)/readline"; \
13276 libsrcdir="$$s/readline";; \
13278 $(SHELL) $${libsrcdir}/configure \
13279 $(HOST_CONFIGARGS) $${srcdiroption} \
13282 .PHONY: all-readline maybe-all-readline
13283 maybe-all-readline:
13284 all-readline: configure-readline
13285 @r=`${PWD_COMMAND}`; export r; \
13286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13288 (cd readline && $(MAKE) $(FLAGS_TO_PASS) all)
13290 .PHONY: check-readline maybe-check-readline
13291 maybe-check-readline:
13294 @r=`${PWD_COMMAND}`; export r; \
13295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13297 (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
13300 .PHONY: install-readline maybe-install-readline
13301 maybe-install-readline:
13303 install-readline: installdirs
13304 @r=`${PWD_COMMAND}`; export r; \
13305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13307 (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
13310 # Other targets (info, dvi, etc.)
13312 .PHONY: maybe-info-readline info-readline
13313 maybe-info-readline:
13317 @[ -f ./readline/Makefile ] || exit 0; \
13318 r=`${PWD_COMMAND}`; export r; \
13319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13321 for flag in $(EXTRA_HOST_FLAGS); do \
13322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13324 echo "Doing info in readline" ; \
13326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13328 "RANLIB=$${RANLIB}" \
13329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13334 .PHONY: maybe-dvi-readline dvi-readline
13335 maybe-dvi-readline:
13339 @[ -f ./readline/Makefile ] || exit 0; \
13340 r=`${PWD_COMMAND}`; export r; \
13341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13343 for flag in $(EXTRA_HOST_FLAGS); do \
13344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13346 echo "Doing dvi in readline" ; \
13348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13350 "RANLIB=$${RANLIB}" \
13351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13356 .PHONY: maybe-TAGS-readline TAGS-readline
13357 maybe-TAGS-readline:
13361 @[ -f ./readline/Makefile ] || exit 0; \
13362 r=`${PWD_COMMAND}`; export r; \
13363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13365 for flag in $(EXTRA_HOST_FLAGS); do \
13366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13368 echo "Doing TAGS in readline" ; \
13370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13372 "RANLIB=$${RANLIB}" \
13373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13378 .PHONY: maybe-install-info-readline install-info-readline
13379 maybe-install-info-readline:
13381 install-info-readline: \
13382 configure-readline \
13384 @[ -f ./readline/Makefile ] || exit 0; \
13385 r=`${PWD_COMMAND}`; export r; \
13386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13388 for flag in $(EXTRA_HOST_FLAGS); do \
13389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13391 echo "Doing install-info in readline" ; \
13393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13395 "RANLIB=$${RANLIB}" \
13396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13401 .PHONY: maybe-installcheck-readline installcheck-readline
13402 maybe-installcheck-readline:
13404 installcheck-readline: \
13406 @[ -f ./readline/Makefile ] || exit 0; \
13407 r=`${PWD_COMMAND}`; export r; \
13408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13410 for flag in $(EXTRA_HOST_FLAGS); do \
13411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13413 echo "Doing installcheck in readline" ; \
13415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13417 "RANLIB=$${RANLIB}" \
13418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13423 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
13424 maybe-mostlyclean-readline:
13426 mostlyclean-readline:
13427 @[ -f ./readline/Makefile ] || exit 0; \
13428 r=`${PWD_COMMAND}`; export r; \
13429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13431 for flag in $(EXTRA_HOST_FLAGS); do \
13432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13434 echo "Doing mostlyclean in readline" ; \
13436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13438 "RANLIB=$${RANLIB}" \
13439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13444 .PHONY: maybe-clean-readline clean-readline
13445 maybe-clean-readline:
13448 @[ -f ./readline/Makefile ] || exit 0; \
13449 r=`${PWD_COMMAND}`; export r; \
13450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13452 for flag in $(EXTRA_HOST_FLAGS); do \
13453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13455 echo "Doing clean in readline" ; \
13457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13459 "RANLIB=$${RANLIB}" \
13460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13465 .PHONY: maybe-distclean-readline distclean-readline
13466 maybe-distclean-readline:
13468 distclean-readline:
13469 @[ -f ./readline/Makefile ] || exit 0; \
13470 r=`${PWD_COMMAND}`; export r; \
13471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13473 for flag in $(EXTRA_HOST_FLAGS); do \
13474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13476 echo "Doing distclean in readline" ; \
13478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13480 "RANLIB=$${RANLIB}" \
13481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13486 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
13487 maybe-maintainer-clean-readline:
13489 maintainer-clean-readline:
13490 @[ -f ./readline/Makefile ] || exit 0; \
13491 r=`${PWD_COMMAND}`; export r; \
13492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13494 for flag in $(EXTRA_HOST_FLAGS); do \
13495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13497 echo "Doing maintainer-clean in readline" ; \
13499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13501 "RANLIB=$${RANLIB}" \
13502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13503 maintainer-clean) \
13508 .PHONY: configure-release maybe-configure-release
13509 maybe-configure-release:
13511 @test ! -f release/Makefile || exit 0; \
13512 [ -d release ] || mkdir release; \
13513 r=`${PWD_COMMAND}`; export r; \
13514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13515 CC="$(CC)"; export CC; \
13516 CFLAGS="$(CFLAGS)"; export CFLAGS; \
13517 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
13518 CXX="$(CXX)"; export CXX; \
13519 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
13520 AR="$(AR)"; export AR; \
13521 AS="$(AS)"; export AS; \
13522 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
13523 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
13524 LD="$(LD)"; export LD; \
13525 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
13526 NM="$(NM)"; export NM; \
13527 RANLIB="$(RANLIB)"; export RANLIB; \
13528 WINDRES="$(WINDRES)"; export WINDRES; \
13529 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
13530 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
13531 echo Configuring in release; \
13532 cd release || exit 1; \
13533 case $(srcdir) in \
13535 srcdiroption="--srcdir=."; \
13537 /* | [A-Za-z]:[\\/]*) \
13538 srcdiroption="--srcdir=$(srcdir)/release"; \
13539 libsrcdir="$$s/release";; \
13541 srcdiroption="--srcdir=../$(srcdir)/release"; \
13542 libsrcdir="$$s/release";; \
13544 $(SHELL) $${libsrcdir}/configure \
13545 $(HOST_CONFIGARGS) $${srcdiroption} \
13548 .PHONY: all-release maybe-all-release
13550 all-release: configure-release
13551 @r=`${PWD_COMMAND}`; export r; \
13552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13554 (cd release && $(MAKE) $(FLAGS_TO_PASS) all)
13556 .PHONY: check-release maybe-check-release
13557 maybe-check-release:
13562 .PHONY: install-release maybe-install-release
13563 maybe-install-release:
13568 # Other targets (info, dvi, etc.)
13570 .PHONY: maybe-info-release info-release
13571 maybe-info-release:
13575 @[ -f ./release/Makefile ] || exit 0; \
13576 r=`${PWD_COMMAND}`; export r; \
13577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13579 for flag in $(EXTRA_HOST_FLAGS); do \
13580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13582 echo "Doing info in release" ; \
13584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13586 "RANLIB=$${RANLIB}" \
13587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13592 .PHONY: maybe-dvi-release dvi-release
13597 @[ -f ./release/Makefile ] || exit 0; \
13598 r=`${PWD_COMMAND}`; export r; \
13599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13601 for flag in $(EXTRA_HOST_FLAGS); do \
13602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13604 echo "Doing dvi in release" ; \
13606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13608 "RANLIB=$${RANLIB}" \
13609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13614 .PHONY: maybe-TAGS-release TAGS-release
13615 maybe-TAGS-release:
13619 @[ -f ./release/Makefile ] || exit 0; \
13620 r=`${PWD_COMMAND}`; export r; \
13621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13623 for flag in $(EXTRA_HOST_FLAGS); do \
13624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13626 echo "Doing TAGS in release" ; \
13628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13630 "RANLIB=$${RANLIB}" \
13631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13636 .PHONY: maybe-install-info-release install-info-release
13637 maybe-install-info-release:
13639 install-info-release: \
13640 configure-release \
13642 @[ -f ./release/Makefile ] || exit 0; \
13643 r=`${PWD_COMMAND}`; export r; \
13644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13646 for flag in $(EXTRA_HOST_FLAGS); do \
13647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13649 echo "Doing install-info in release" ; \
13651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13653 "RANLIB=$${RANLIB}" \
13654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13659 .PHONY: maybe-installcheck-release installcheck-release
13660 maybe-installcheck-release:
13662 installcheck-release: \
13664 @[ -f ./release/Makefile ] || exit 0; \
13665 r=`${PWD_COMMAND}`; export r; \
13666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13668 for flag in $(EXTRA_HOST_FLAGS); do \
13669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13671 echo "Doing installcheck in release" ; \
13673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13675 "RANLIB=$${RANLIB}" \
13676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13681 .PHONY: maybe-mostlyclean-release mostlyclean-release
13682 maybe-mostlyclean-release:
13684 mostlyclean-release:
13685 @[ -f ./release/Makefile ] || exit 0; \
13686 r=`${PWD_COMMAND}`; export r; \
13687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13689 for flag in $(EXTRA_HOST_FLAGS); do \
13690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13692 echo "Doing mostlyclean in release" ; \
13694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13696 "RANLIB=$${RANLIB}" \
13697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13702 .PHONY: maybe-clean-release clean-release
13703 maybe-clean-release:
13706 @[ -f ./release/Makefile ] || exit 0; \
13707 r=`${PWD_COMMAND}`; export r; \
13708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13710 for flag in $(EXTRA_HOST_FLAGS); do \
13711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13713 echo "Doing clean in release" ; \
13715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13717 "RANLIB=$${RANLIB}" \
13718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13723 .PHONY: maybe-distclean-release distclean-release
13724 maybe-distclean-release:
13727 @[ -f ./release/Makefile ] || exit 0; \
13728 r=`${PWD_COMMAND}`; export r; \
13729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13731 for flag in $(EXTRA_HOST_FLAGS); do \
13732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13734 echo "Doing distclean in release" ; \
13736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13738 "RANLIB=$${RANLIB}" \
13739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13744 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
13745 maybe-maintainer-clean-release:
13747 maintainer-clean-release:
13748 @[ -f ./release/Makefile ] || exit 0; \
13749 r=`${PWD_COMMAND}`; export r; \
13750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13752 for flag in $(EXTRA_HOST_FLAGS); do \
13753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13755 echo "Doing maintainer-clean in release" ; \
13757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13759 "RANLIB=$${RANLIB}" \
13760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13761 maintainer-clean) \
13766 .PHONY: configure-recode maybe-configure-recode
13767 maybe-configure-recode:
13769 @test ! -f recode/Makefile || exit 0; \
13770 [ -d recode ] || mkdir recode; \
13771 r=`${PWD_COMMAND}`; export r; \
13772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13773 CC="$(CC)"; export CC; \
13774 CFLAGS="$(CFLAGS)"; export CFLAGS; \
13775 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
13776 CXX="$(CXX)"; export CXX; \
13777 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
13778 AR="$(AR)"; export AR; \
13779 AS="$(AS)"; export AS; \
13780 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
13781 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
13782 LD="$(LD)"; export LD; \
13783 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
13784 NM="$(NM)"; export NM; \
13785 RANLIB="$(RANLIB)"; export RANLIB; \
13786 WINDRES="$(WINDRES)"; export WINDRES; \
13787 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
13788 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
13789 echo Configuring in recode; \
13790 cd recode || exit 1; \
13791 case $(srcdir) in \
13793 srcdiroption="--srcdir=."; \
13795 /* | [A-Za-z]:[\\/]*) \
13796 srcdiroption="--srcdir=$(srcdir)/recode"; \
13797 libsrcdir="$$s/recode";; \
13799 srcdiroption="--srcdir=../$(srcdir)/recode"; \
13800 libsrcdir="$$s/recode";; \
13802 $(SHELL) $${libsrcdir}/configure \
13803 $(HOST_CONFIGARGS) $${srcdiroption} \
13806 .PHONY: all-recode maybe-all-recode
13808 all-recode: configure-recode
13809 @r=`${PWD_COMMAND}`; export r; \
13810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13812 (cd recode && $(MAKE) $(FLAGS_TO_PASS) all)
13814 .PHONY: check-recode maybe-check-recode
13815 maybe-check-recode:
13818 @r=`${PWD_COMMAND}`; export r; \
13819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13821 (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
13824 .PHONY: install-recode maybe-install-recode
13825 maybe-install-recode:
13827 install-recode: installdirs
13828 @r=`${PWD_COMMAND}`; export r; \
13829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13831 (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
13834 # Other targets (info, dvi, etc.)
13836 .PHONY: maybe-info-recode info-recode
13841 @[ -f ./recode/Makefile ] || exit 0; \
13842 r=`${PWD_COMMAND}`; export r; \
13843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13845 for flag in $(EXTRA_HOST_FLAGS); do \
13846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13848 echo "Doing info in recode" ; \
13850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13852 "RANLIB=$${RANLIB}" \
13853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13858 .PHONY: maybe-dvi-recode dvi-recode
13863 @[ -f ./recode/Makefile ] || exit 0; \
13864 r=`${PWD_COMMAND}`; export r; \
13865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13867 for flag in $(EXTRA_HOST_FLAGS); do \
13868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13870 echo "Doing dvi in recode" ; \
13872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13874 "RANLIB=$${RANLIB}" \
13875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13880 .PHONY: maybe-TAGS-recode TAGS-recode
13885 @[ -f ./recode/Makefile ] || exit 0; \
13886 r=`${PWD_COMMAND}`; export r; \
13887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13889 for flag in $(EXTRA_HOST_FLAGS); do \
13890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13892 echo "Doing TAGS in recode" ; \
13894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13896 "RANLIB=$${RANLIB}" \
13897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13902 .PHONY: maybe-install-info-recode install-info-recode
13903 maybe-install-info-recode:
13905 install-info-recode: \
13908 @[ -f ./recode/Makefile ] || exit 0; \
13909 r=`${PWD_COMMAND}`; export r; \
13910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13912 for flag in $(EXTRA_HOST_FLAGS); do \
13913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13915 echo "Doing install-info in recode" ; \
13917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13919 "RANLIB=$${RANLIB}" \
13920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13925 .PHONY: maybe-installcheck-recode installcheck-recode
13926 maybe-installcheck-recode:
13928 installcheck-recode: \
13930 @[ -f ./recode/Makefile ] || exit 0; \
13931 r=`${PWD_COMMAND}`; export r; \
13932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13934 for flag in $(EXTRA_HOST_FLAGS); do \
13935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13937 echo "Doing installcheck in recode" ; \
13939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13941 "RANLIB=$${RANLIB}" \
13942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13947 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
13948 maybe-mostlyclean-recode:
13950 mostlyclean-recode:
13951 @[ -f ./recode/Makefile ] || exit 0; \
13952 r=`${PWD_COMMAND}`; export r; \
13953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13955 for flag in $(EXTRA_HOST_FLAGS); do \
13956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13958 echo "Doing mostlyclean in recode" ; \
13960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13962 "RANLIB=$${RANLIB}" \
13963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13968 .PHONY: maybe-clean-recode clean-recode
13969 maybe-clean-recode:
13972 @[ -f ./recode/Makefile ] || exit 0; \
13973 r=`${PWD_COMMAND}`; export r; \
13974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13976 for flag in $(EXTRA_HOST_FLAGS); do \
13977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13979 echo "Doing clean in recode" ; \
13981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13983 "RANLIB=$${RANLIB}" \
13984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13989 .PHONY: maybe-distclean-recode distclean-recode
13990 maybe-distclean-recode:
13993 @[ -f ./recode/Makefile ] || exit 0; \
13994 r=`${PWD_COMMAND}`; export r; \
13995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13997 for flag in $(EXTRA_HOST_FLAGS); do \
13998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14000 echo "Doing distclean in recode" ; \
14002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14004 "RANLIB=$${RANLIB}" \
14005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14010 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
14011 maybe-maintainer-clean-recode:
14013 maintainer-clean-recode:
14014 @[ -f ./recode/Makefile ] || exit 0; \
14015 r=`${PWD_COMMAND}`; export r; \
14016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14018 for flag in $(EXTRA_HOST_FLAGS); do \
14019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14021 echo "Doing maintainer-clean in recode" ; \
14023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14025 "RANLIB=$${RANLIB}" \
14026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14027 maintainer-clean) \
14032 .PHONY: configure-sed maybe-configure-sed
14033 maybe-configure-sed:
14035 @test ! -f sed/Makefile || exit 0; \
14036 [ -d sed ] || mkdir sed; \
14037 r=`${PWD_COMMAND}`; export r; \
14038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14039 CC="$(CC)"; export CC; \
14040 CFLAGS="$(CFLAGS)"; export CFLAGS; \
14041 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
14042 CXX="$(CXX)"; export CXX; \
14043 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
14044 AR="$(AR)"; export AR; \
14045 AS="$(AS)"; export AS; \
14046 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
14047 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
14048 LD="$(LD)"; export LD; \
14049 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
14050 NM="$(NM)"; export NM; \
14051 RANLIB="$(RANLIB)"; export RANLIB; \
14052 WINDRES="$(WINDRES)"; export WINDRES; \
14053 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
14054 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
14055 echo Configuring in sed; \
14056 cd sed || exit 1; \
14057 case $(srcdir) in \
14059 srcdiroption="--srcdir=."; \
14061 /* | [A-Za-z]:[\\/]*) \
14062 srcdiroption="--srcdir=$(srcdir)/sed"; \
14063 libsrcdir="$$s/sed";; \
14065 srcdiroption="--srcdir=../$(srcdir)/sed"; \
14066 libsrcdir="$$s/sed";; \
14068 $(SHELL) $${libsrcdir}/configure \
14069 $(HOST_CONFIGARGS) $${srcdiroption} \
14072 .PHONY: all-sed maybe-all-sed
14074 all-sed: configure-sed
14075 @r=`${PWD_COMMAND}`; export r; \
14076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14078 (cd sed && $(MAKE) $(FLAGS_TO_PASS) all)
14080 .PHONY: check-sed maybe-check-sed
14084 @r=`${PWD_COMMAND}`; export r; \
14085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14087 (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
14090 .PHONY: install-sed maybe-install-sed
14093 install-sed: installdirs
14094 @r=`${PWD_COMMAND}`; export r; \
14095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14097 (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
14100 # Other targets (info, dvi, etc.)
14102 .PHONY: maybe-info-sed info-sed
14107 @[ -f ./sed/Makefile ] || exit 0; \
14108 r=`${PWD_COMMAND}`; export r; \
14109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14111 for flag in $(EXTRA_HOST_FLAGS); do \
14112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14114 echo "Doing info in sed" ; \
14116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14118 "RANLIB=$${RANLIB}" \
14119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14124 .PHONY: maybe-dvi-sed dvi-sed
14129 @[ -f ./sed/Makefile ] || exit 0; \
14130 r=`${PWD_COMMAND}`; export r; \
14131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14133 for flag in $(EXTRA_HOST_FLAGS); do \
14134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14136 echo "Doing dvi in sed" ; \
14138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14140 "RANLIB=$${RANLIB}" \
14141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14146 .PHONY: maybe-TAGS-sed TAGS-sed
14151 @[ -f ./sed/Makefile ] || exit 0; \
14152 r=`${PWD_COMMAND}`; export r; \
14153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14155 for flag in $(EXTRA_HOST_FLAGS); do \
14156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14158 echo "Doing TAGS in sed" ; \
14160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14162 "RANLIB=$${RANLIB}" \
14163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14168 .PHONY: maybe-install-info-sed install-info-sed
14169 maybe-install-info-sed:
14171 install-info-sed: \
14174 @[ -f ./sed/Makefile ] || exit 0; \
14175 r=`${PWD_COMMAND}`; export r; \
14176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14178 for flag in $(EXTRA_HOST_FLAGS); do \
14179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14181 echo "Doing install-info in sed" ; \
14183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14185 "RANLIB=$${RANLIB}" \
14186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14191 .PHONY: maybe-installcheck-sed installcheck-sed
14192 maybe-installcheck-sed:
14194 installcheck-sed: \
14196 @[ -f ./sed/Makefile ] || exit 0; \
14197 r=`${PWD_COMMAND}`; export r; \
14198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14200 for flag in $(EXTRA_HOST_FLAGS); do \
14201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14203 echo "Doing installcheck in sed" ; \
14205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14207 "RANLIB=$${RANLIB}" \
14208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14213 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
14214 maybe-mostlyclean-sed:
14217 @[ -f ./sed/Makefile ] || exit 0; \
14218 r=`${PWD_COMMAND}`; export r; \
14219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14221 for flag in $(EXTRA_HOST_FLAGS); do \
14222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14224 echo "Doing mostlyclean in sed" ; \
14226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14228 "RANLIB=$${RANLIB}" \
14229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14234 .PHONY: maybe-clean-sed clean-sed
14238 @[ -f ./sed/Makefile ] || exit 0; \
14239 r=`${PWD_COMMAND}`; export r; \
14240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14242 for flag in $(EXTRA_HOST_FLAGS); do \
14243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14245 echo "Doing clean in sed" ; \
14247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14249 "RANLIB=$${RANLIB}" \
14250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14255 .PHONY: maybe-distclean-sed distclean-sed
14256 maybe-distclean-sed:
14259 @[ -f ./sed/Makefile ] || exit 0; \
14260 r=`${PWD_COMMAND}`; export r; \
14261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14263 for flag in $(EXTRA_HOST_FLAGS); do \
14264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14266 echo "Doing distclean in sed" ; \
14268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14270 "RANLIB=$${RANLIB}" \
14271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14276 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
14277 maybe-maintainer-clean-sed:
14279 maintainer-clean-sed:
14280 @[ -f ./sed/Makefile ] || exit 0; \
14281 r=`${PWD_COMMAND}`; export r; \
14282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14284 for flag in $(EXTRA_HOST_FLAGS); do \
14285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14287 echo "Doing maintainer-clean in sed" ; \
14289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14291 "RANLIB=$${RANLIB}" \
14292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14293 maintainer-clean) \
14298 .PHONY: configure-send-pr maybe-configure-send-pr
14299 maybe-configure-send-pr:
14301 @test ! -f send-pr/Makefile || exit 0; \
14302 [ -d send-pr ] || mkdir send-pr; \
14303 r=`${PWD_COMMAND}`; export r; \
14304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14305 CC="$(CC)"; export CC; \
14306 CFLAGS="$(CFLAGS)"; export CFLAGS; \
14307 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
14308 CXX="$(CXX)"; export CXX; \
14309 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
14310 AR="$(AR)"; export AR; \
14311 AS="$(AS)"; export AS; \
14312 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
14313 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
14314 LD="$(LD)"; export LD; \
14315 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
14316 NM="$(NM)"; export NM; \
14317 RANLIB="$(RANLIB)"; export RANLIB; \
14318 WINDRES="$(WINDRES)"; export WINDRES; \
14319 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
14320 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
14321 echo Configuring in send-pr; \
14322 cd send-pr || exit 1; \
14323 case $(srcdir) in \
14325 srcdiroption="--srcdir=."; \
14327 /* | [A-Za-z]:[\\/]*) \
14328 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
14329 libsrcdir="$$s/send-pr";; \
14331 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
14332 libsrcdir="$$s/send-pr";; \
14334 $(SHELL) $${libsrcdir}/configure \
14335 $(HOST_CONFIGARGS) $${srcdiroption} \
14338 .PHONY: all-send-pr maybe-all-send-pr
14340 all-send-pr: configure-send-pr
14341 @r=`${PWD_COMMAND}`; export r; \
14342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14344 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) all)
14346 .PHONY: check-send-pr maybe-check-send-pr
14347 maybe-check-send-pr:
14350 @r=`${PWD_COMMAND}`; export r; \
14351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14353 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
14356 .PHONY: install-send-pr maybe-install-send-pr
14357 maybe-install-send-pr:
14359 install-send-pr: installdirs
14360 @r=`${PWD_COMMAND}`; export r; \
14361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14363 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
14366 # Other targets (info, dvi, etc.)
14368 .PHONY: maybe-info-send-pr info-send-pr
14369 maybe-info-send-pr:
14373 @[ -f ./send-pr/Makefile ] || exit 0; \
14374 r=`${PWD_COMMAND}`; export r; \
14375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14377 for flag in $(EXTRA_HOST_FLAGS); do \
14378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14380 echo "Doing info in send-pr" ; \
14382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14384 "RANLIB=$${RANLIB}" \
14385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14390 .PHONY: maybe-dvi-send-pr dvi-send-pr
14395 @[ -f ./send-pr/Makefile ] || exit 0; \
14396 r=`${PWD_COMMAND}`; export r; \
14397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14399 for flag in $(EXTRA_HOST_FLAGS); do \
14400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14402 echo "Doing dvi in send-pr" ; \
14404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14406 "RANLIB=$${RANLIB}" \
14407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14412 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
14413 maybe-TAGS-send-pr:
14417 @[ -f ./send-pr/Makefile ] || exit 0; \
14418 r=`${PWD_COMMAND}`; export r; \
14419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14421 for flag in $(EXTRA_HOST_FLAGS); do \
14422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14424 echo "Doing TAGS in send-pr" ; \
14426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14428 "RANLIB=$${RANLIB}" \
14429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14434 .PHONY: maybe-install-info-send-pr install-info-send-pr
14435 maybe-install-info-send-pr:
14437 install-info-send-pr: \
14438 configure-send-pr \
14440 @[ -f ./send-pr/Makefile ] || exit 0; \
14441 r=`${PWD_COMMAND}`; export r; \
14442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14444 for flag in $(EXTRA_HOST_FLAGS); do \
14445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14447 echo "Doing install-info in send-pr" ; \
14449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14451 "RANLIB=$${RANLIB}" \
14452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14457 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
14458 maybe-installcheck-send-pr:
14460 installcheck-send-pr: \
14462 @[ -f ./send-pr/Makefile ] || exit 0; \
14463 r=`${PWD_COMMAND}`; export r; \
14464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14466 for flag in $(EXTRA_HOST_FLAGS); do \
14467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14469 echo "Doing installcheck in send-pr" ; \
14471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14473 "RANLIB=$${RANLIB}" \
14474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14479 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
14480 maybe-mostlyclean-send-pr:
14482 mostlyclean-send-pr:
14483 @[ -f ./send-pr/Makefile ] || exit 0; \
14484 r=`${PWD_COMMAND}`; export r; \
14485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14487 for flag in $(EXTRA_HOST_FLAGS); do \
14488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14490 echo "Doing mostlyclean in send-pr" ; \
14492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14494 "RANLIB=$${RANLIB}" \
14495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14500 .PHONY: maybe-clean-send-pr clean-send-pr
14501 maybe-clean-send-pr:
14504 @[ -f ./send-pr/Makefile ] || exit 0; \
14505 r=`${PWD_COMMAND}`; export r; \
14506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14508 for flag in $(EXTRA_HOST_FLAGS); do \
14509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14511 echo "Doing clean in send-pr" ; \
14513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14515 "RANLIB=$${RANLIB}" \
14516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14521 .PHONY: maybe-distclean-send-pr distclean-send-pr
14522 maybe-distclean-send-pr:
14525 @[ -f ./send-pr/Makefile ] || exit 0; \
14526 r=`${PWD_COMMAND}`; export r; \
14527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14529 for flag in $(EXTRA_HOST_FLAGS); do \
14530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14532 echo "Doing distclean in send-pr" ; \
14534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14536 "RANLIB=$${RANLIB}" \
14537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14542 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
14543 maybe-maintainer-clean-send-pr:
14545 maintainer-clean-send-pr:
14546 @[ -f ./send-pr/Makefile ] || exit 0; \
14547 r=`${PWD_COMMAND}`; export r; \
14548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14550 for flag in $(EXTRA_HOST_FLAGS); do \
14551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14553 echo "Doing maintainer-clean in send-pr" ; \
14555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14557 "RANLIB=$${RANLIB}" \
14558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14559 maintainer-clean) \
14564 .PHONY: configure-shellutils maybe-configure-shellutils
14565 maybe-configure-shellutils:
14566 configure-shellutils:
14567 @test ! -f shellutils/Makefile || exit 0; \
14568 [ -d shellutils ] || mkdir shellutils; \
14569 r=`${PWD_COMMAND}`; export r; \
14570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14571 CC="$(CC)"; export CC; \
14572 CFLAGS="$(CFLAGS)"; export CFLAGS; \
14573 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
14574 CXX="$(CXX)"; export CXX; \
14575 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
14576 AR="$(AR)"; export AR; \
14577 AS="$(AS)"; export AS; \
14578 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
14579 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
14580 LD="$(LD)"; export LD; \
14581 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
14582 NM="$(NM)"; export NM; \
14583 RANLIB="$(RANLIB)"; export RANLIB; \
14584 WINDRES="$(WINDRES)"; export WINDRES; \
14585 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
14586 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
14587 echo Configuring in shellutils; \
14588 cd shellutils || exit 1; \
14589 case $(srcdir) in \
14591 srcdiroption="--srcdir=."; \
14593 /* | [A-Za-z]:[\\/]*) \
14594 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
14595 libsrcdir="$$s/shellutils";; \
14597 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
14598 libsrcdir="$$s/shellutils";; \
14600 $(SHELL) $${libsrcdir}/configure \
14601 $(HOST_CONFIGARGS) $${srcdiroption} \
14604 .PHONY: all-shellutils maybe-all-shellutils
14605 maybe-all-shellutils:
14606 all-shellutils: configure-shellutils
14607 @r=`${PWD_COMMAND}`; export r; \
14608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14610 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) all)
14612 .PHONY: check-shellutils maybe-check-shellutils
14613 maybe-check-shellutils:
14616 @r=`${PWD_COMMAND}`; export r; \
14617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14619 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
14622 .PHONY: install-shellutils maybe-install-shellutils
14623 maybe-install-shellutils:
14625 install-shellutils: installdirs
14626 @r=`${PWD_COMMAND}`; export r; \
14627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14629 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
14632 # Other targets (info, dvi, etc.)
14634 .PHONY: maybe-info-shellutils info-shellutils
14635 maybe-info-shellutils:
14638 configure-shellutils
14639 @[ -f ./shellutils/Makefile ] || exit 0; \
14640 r=`${PWD_COMMAND}`; export r; \
14641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14643 for flag in $(EXTRA_HOST_FLAGS); do \
14644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14646 echo "Doing info in shellutils" ; \
14647 (cd shellutils && \
14648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14650 "RANLIB=$${RANLIB}" \
14651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14656 .PHONY: maybe-dvi-shellutils dvi-shellutils
14657 maybe-dvi-shellutils:
14660 configure-shellutils
14661 @[ -f ./shellutils/Makefile ] || exit 0; \
14662 r=`${PWD_COMMAND}`; export r; \
14663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14665 for flag in $(EXTRA_HOST_FLAGS); do \
14666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14668 echo "Doing dvi in shellutils" ; \
14669 (cd shellutils && \
14670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14672 "RANLIB=$${RANLIB}" \
14673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14678 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
14679 maybe-TAGS-shellutils:
14682 configure-shellutils
14683 @[ -f ./shellutils/Makefile ] || exit 0; \
14684 r=`${PWD_COMMAND}`; export r; \
14685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14687 for flag in $(EXTRA_HOST_FLAGS); do \
14688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14690 echo "Doing TAGS in shellutils" ; \
14691 (cd shellutils && \
14692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14694 "RANLIB=$${RANLIB}" \
14695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14700 .PHONY: maybe-install-info-shellutils install-info-shellutils
14701 maybe-install-info-shellutils:
14703 install-info-shellutils: \
14704 configure-shellutils \
14706 @[ -f ./shellutils/Makefile ] || exit 0; \
14707 r=`${PWD_COMMAND}`; export r; \
14708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14710 for flag in $(EXTRA_HOST_FLAGS); do \
14711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14713 echo "Doing install-info in shellutils" ; \
14714 (cd shellutils && \
14715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14717 "RANLIB=$${RANLIB}" \
14718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14723 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
14724 maybe-installcheck-shellutils:
14726 installcheck-shellutils: \
14727 configure-shellutils
14728 @[ -f ./shellutils/Makefile ] || exit 0; \
14729 r=`${PWD_COMMAND}`; export r; \
14730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14732 for flag in $(EXTRA_HOST_FLAGS); do \
14733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14735 echo "Doing installcheck in shellutils" ; \
14736 (cd shellutils && \
14737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14739 "RANLIB=$${RANLIB}" \
14740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14745 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
14746 maybe-mostlyclean-shellutils:
14748 mostlyclean-shellutils:
14749 @[ -f ./shellutils/Makefile ] || exit 0; \
14750 r=`${PWD_COMMAND}`; export r; \
14751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14753 for flag in $(EXTRA_HOST_FLAGS); do \
14754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14756 echo "Doing mostlyclean in shellutils" ; \
14757 (cd shellutils && \
14758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14760 "RANLIB=$${RANLIB}" \
14761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14766 .PHONY: maybe-clean-shellutils clean-shellutils
14767 maybe-clean-shellutils:
14770 @[ -f ./shellutils/Makefile ] || exit 0; \
14771 r=`${PWD_COMMAND}`; export r; \
14772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14774 for flag in $(EXTRA_HOST_FLAGS); do \
14775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14777 echo "Doing clean in shellutils" ; \
14778 (cd shellutils && \
14779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14781 "RANLIB=$${RANLIB}" \
14782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14787 .PHONY: maybe-distclean-shellutils distclean-shellutils
14788 maybe-distclean-shellutils:
14790 distclean-shellutils:
14791 @[ -f ./shellutils/Makefile ] || exit 0; \
14792 r=`${PWD_COMMAND}`; export r; \
14793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14795 for flag in $(EXTRA_HOST_FLAGS); do \
14796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14798 echo "Doing distclean in shellutils" ; \
14799 (cd shellutils && \
14800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14802 "RANLIB=$${RANLIB}" \
14803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14808 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
14809 maybe-maintainer-clean-shellutils:
14811 maintainer-clean-shellutils:
14812 @[ -f ./shellutils/Makefile ] || exit 0; \
14813 r=`${PWD_COMMAND}`; export r; \
14814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14816 for flag in $(EXTRA_HOST_FLAGS); do \
14817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14819 echo "Doing maintainer-clean in shellutils" ; \
14820 (cd shellutils && \
14821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14823 "RANLIB=$${RANLIB}" \
14824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14825 maintainer-clean) \
14830 .PHONY: configure-sid maybe-configure-sid
14831 maybe-configure-sid:
14833 @test ! -f sid/Makefile || exit 0; \
14834 [ -d sid ] || mkdir sid; \
14835 r=`${PWD_COMMAND}`; export r; \
14836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14837 CC="$(CC)"; export CC; \
14838 CFLAGS="$(CFLAGS)"; export CFLAGS; \
14839 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
14840 CXX="$(CXX)"; export CXX; \
14841 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
14842 AR="$(AR)"; export AR; \
14843 AS="$(AS)"; export AS; \
14844 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
14845 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
14846 LD="$(LD)"; export LD; \
14847 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
14848 NM="$(NM)"; export NM; \
14849 RANLIB="$(RANLIB)"; export RANLIB; \
14850 WINDRES="$(WINDRES)"; export WINDRES; \
14851 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
14852 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
14853 echo Configuring in sid; \
14854 cd sid || exit 1; \
14855 case $(srcdir) in \
14857 srcdiroption="--srcdir=."; \
14859 /* | [A-Za-z]:[\\/]*) \
14860 srcdiroption="--srcdir=$(srcdir)/sid"; \
14861 libsrcdir="$$s/sid";; \
14863 srcdiroption="--srcdir=../$(srcdir)/sid"; \
14864 libsrcdir="$$s/sid";; \
14866 $(SHELL) $${libsrcdir}/configure \
14867 $(HOST_CONFIGARGS) $${srcdiroption} \
14870 .PHONY: all-sid maybe-all-sid
14872 all-sid: configure-sid
14873 @r=`${PWD_COMMAND}`; export r; \
14874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14876 (cd sid && $(MAKE) $(FLAGS_TO_PASS) all)
14878 .PHONY: check-sid maybe-check-sid
14882 @r=`${PWD_COMMAND}`; export r; \
14883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14885 (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
14888 .PHONY: install-sid maybe-install-sid
14891 install-sid: installdirs
14892 @r=`${PWD_COMMAND}`; export r; \
14893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14895 (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
14898 # Other targets (info, dvi, etc.)
14900 .PHONY: maybe-info-sid info-sid
14905 @[ -f ./sid/Makefile ] || exit 0; \
14906 r=`${PWD_COMMAND}`; export r; \
14907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14909 for flag in $(EXTRA_HOST_FLAGS); do \
14910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14912 echo "Doing info in sid" ; \
14914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14916 "RANLIB=$${RANLIB}" \
14917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14922 .PHONY: maybe-dvi-sid dvi-sid
14927 @[ -f ./sid/Makefile ] || exit 0; \
14928 r=`${PWD_COMMAND}`; export r; \
14929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14931 for flag in $(EXTRA_HOST_FLAGS); do \
14932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14934 echo "Doing dvi in sid" ; \
14936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14938 "RANLIB=$${RANLIB}" \
14939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14944 .PHONY: maybe-TAGS-sid TAGS-sid
14949 @[ -f ./sid/Makefile ] || exit 0; \
14950 r=`${PWD_COMMAND}`; export r; \
14951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14953 for flag in $(EXTRA_HOST_FLAGS); do \
14954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14956 echo "Doing TAGS in sid" ; \
14958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14960 "RANLIB=$${RANLIB}" \
14961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14966 .PHONY: maybe-install-info-sid install-info-sid
14967 maybe-install-info-sid:
14969 install-info-sid: \
14972 @[ -f ./sid/Makefile ] || exit 0; \
14973 r=`${PWD_COMMAND}`; export r; \
14974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14976 for flag in $(EXTRA_HOST_FLAGS); do \
14977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14979 echo "Doing install-info in sid" ; \
14981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14983 "RANLIB=$${RANLIB}" \
14984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14989 .PHONY: maybe-installcheck-sid installcheck-sid
14990 maybe-installcheck-sid:
14992 installcheck-sid: \
14994 @[ -f ./sid/Makefile ] || exit 0; \
14995 r=`${PWD_COMMAND}`; export r; \
14996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14998 for flag in $(EXTRA_HOST_FLAGS); do \
14999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15001 echo "Doing installcheck in sid" ; \
15003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15005 "RANLIB=$${RANLIB}" \
15006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15011 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
15012 maybe-mostlyclean-sid:
15015 @[ -f ./sid/Makefile ] || exit 0; \
15016 r=`${PWD_COMMAND}`; export r; \
15017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15019 for flag in $(EXTRA_HOST_FLAGS); do \
15020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15022 echo "Doing mostlyclean in sid" ; \
15024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15026 "RANLIB=$${RANLIB}" \
15027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15032 .PHONY: maybe-clean-sid clean-sid
15036 @[ -f ./sid/Makefile ] || exit 0; \
15037 r=`${PWD_COMMAND}`; export r; \
15038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15040 for flag in $(EXTRA_HOST_FLAGS); do \
15041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15043 echo "Doing clean in sid" ; \
15045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15047 "RANLIB=$${RANLIB}" \
15048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15053 .PHONY: maybe-distclean-sid distclean-sid
15054 maybe-distclean-sid:
15057 @[ -f ./sid/Makefile ] || exit 0; \
15058 r=`${PWD_COMMAND}`; export r; \
15059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15061 for flag in $(EXTRA_HOST_FLAGS); do \
15062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15064 echo "Doing distclean in sid" ; \
15066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15068 "RANLIB=$${RANLIB}" \
15069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15074 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
15075 maybe-maintainer-clean-sid:
15077 maintainer-clean-sid:
15078 @[ -f ./sid/Makefile ] || exit 0; \
15079 r=`${PWD_COMMAND}`; export r; \
15080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15082 for flag in $(EXTRA_HOST_FLAGS); do \
15083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15085 echo "Doing maintainer-clean in sid" ; \
15087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15089 "RANLIB=$${RANLIB}" \
15090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15091 maintainer-clean) \
15096 .PHONY: configure-sim maybe-configure-sim
15097 maybe-configure-sim:
15099 @test ! -f sim/Makefile || exit 0; \
15100 [ -d sim ] || mkdir sim; \
15101 r=`${PWD_COMMAND}`; export r; \
15102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15103 CC="$(CC)"; export CC; \
15104 CFLAGS="$(CFLAGS)"; export CFLAGS; \
15105 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
15106 CXX="$(CXX)"; export CXX; \
15107 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
15108 AR="$(AR)"; export AR; \
15109 AS="$(AS)"; export AS; \
15110 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
15111 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
15112 LD="$(LD)"; export LD; \
15113 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
15114 NM="$(NM)"; export NM; \
15115 RANLIB="$(RANLIB)"; export RANLIB; \
15116 WINDRES="$(WINDRES)"; export WINDRES; \
15117 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
15118 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
15119 echo Configuring in sim; \
15120 cd sim || exit 1; \
15121 case $(srcdir) in \
15123 srcdiroption="--srcdir=."; \
15125 /* | [A-Za-z]:[\\/]*) \
15126 srcdiroption="--srcdir=$(srcdir)/sim"; \
15127 libsrcdir="$$s/sim";; \
15129 srcdiroption="--srcdir=../$(srcdir)/sim"; \
15130 libsrcdir="$$s/sim";; \
15132 $(SHELL) $${libsrcdir}/configure \
15133 $(HOST_CONFIGARGS) $${srcdiroption} \
15136 .PHONY: all-sim maybe-all-sim
15138 all-sim: configure-sim
15139 @r=`${PWD_COMMAND}`; export r; \
15140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15142 (cd sim && $(MAKE) $(FLAGS_TO_PASS) all)
15144 .PHONY: check-sim maybe-check-sim
15148 @r=`${PWD_COMMAND}`; export r; \
15149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15151 (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
15154 .PHONY: install-sim maybe-install-sim
15157 install-sim: installdirs
15158 @r=`${PWD_COMMAND}`; export r; \
15159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15161 (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
15164 # Other targets (info, dvi, etc.)
15166 .PHONY: maybe-info-sim info-sim
15171 @[ -f ./sim/Makefile ] || exit 0; \
15172 r=`${PWD_COMMAND}`; export r; \
15173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15175 for flag in $(EXTRA_HOST_FLAGS); do \
15176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15178 echo "Doing info in sim" ; \
15180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15182 "RANLIB=$${RANLIB}" \
15183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15188 .PHONY: maybe-dvi-sim dvi-sim
15193 @[ -f ./sim/Makefile ] || exit 0; \
15194 r=`${PWD_COMMAND}`; export r; \
15195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15197 for flag in $(EXTRA_HOST_FLAGS); do \
15198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15200 echo "Doing dvi in sim" ; \
15202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15204 "RANLIB=$${RANLIB}" \
15205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15210 .PHONY: maybe-TAGS-sim TAGS-sim
15215 @[ -f ./sim/Makefile ] || exit 0; \
15216 r=`${PWD_COMMAND}`; export r; \
15217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15219 for flag in $(EXTRA_HOST_FLAGS); do \
15220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15222 echo "Doing TAGS in sim" ; \
15224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15226 "RANLIB=$${RANLIB}" \
15227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15232 .PHONY: maybe-install-info-sim install-info-sim
15233 maybe-install-info-sim:
15235 install-info-sim: \
15238 @[ -f ./sim/Makefile ] || exit 0; \
15239 r=`${PWD_COMMAND}`; export r; \
15240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15242 for flag in $(EXTRA_HOST_FLAGS); do \
15243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15245 echo "Doing install-info in sim" ; \
15247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15249 "RANLIB=$${RANLIB}" \
15250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15255 .PHONY: maybe-installcheck-sim installcheck-sim
15256 maybe-installcheck-sim:
15258 installcheck-sim: \
15260 @[ -f ./sim/Makefile ] || exit 0; \
15261 r=`${PWD_COMMAND}`; export r; \
15262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15264 for flag in $(EXTRA_HOST_FLAGS); do \
15265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15267 echo "Doing installcheck in sim" ; \
15269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15271 "RANLIB=$${RANLIB}" \
15272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15277 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
15278 maybe-mostlyclean-sim:
15281 @[ -f ./sim/Makefile ] || exit 0; \
15282 r=`${PWD_COMMAND}`; export r; \
15283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15285 for flag in $(EXTRA_HOST_FLAGS); do \
15286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15288 echo "Doing mostlyclean in sim" ; \
15290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15292 "RANLIB=$${RANLIB}" \
15293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15298 .PHONY: maybe-clean-sim clean-sim
15302 @[ -f ./sim/Makefile ] || exit 0; \
15303 r=`${PWD_COMMAND}`; export r; \
15304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15306 for flag in $(EXTRA_HOST_FLAGS); do \
15307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15309 echo "Doing clean in sim" ; \
15311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15313 "RANLIB=$${RANLIB}" \
15314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15319 .PHONY: maybe-distclean-sim distclean-sim
15320 maybe-distclean-sim:
15323 @[ -f ./sim/Makefile ] || exit 0; \
15324 r=`${PWD_COMMAND}`; export r; \
15325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15327 for flag in $(EXTRA_HOST_FLAGS); do \
15328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15330 echo "Doing distclean in sim" ; \
15332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15334 "RANLIB=$${RANLIB}" \
15335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15340 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
15341 maybe-maintainer-clean-sim:
15343 maintainer-clean-sim:
15344 @[ -f ./sim/Makefile ] || exit 0; \
15345 r=`${PWD_COMMAND}`; export r; \
15346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15348 for flag in $(EXTRA_HOST_FLAGS); do \
15349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15351 echo "Doing maintainer-clean in sim" ; \
15353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15355 "RANLIB=$${RANLIB}" \
15356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15357 maintainer-clean) \
15362 .PHONY: configure-tar maybe-configure-tar
15363 maybe-configure-tar:
15365 @test ! -f tar/Makefile || exit 0; \
15366 [ -d tar ] || mkdir tar; \
15367 r=`${PWD_COMMAND}`; export r; \
15368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15369 CC="$(CC)"; export CC; \
15370 CFLAGS="$(CFLAGS)"; export CFLAGS; \
15371 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
15372 CXX="$(CXX)"; export CXX; \
15373 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
15374 AR="$(AR)"; export AR; \
15375 AS="$(AS)"; export AS; \
15376 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
15377 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
15378 LD="$(LD)"; export LD; \
15379 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
15380 NM="$(NM)"; export NM; \
15381 RANLIB="$(RANLIB)"; export RANLIB; \
15382 WINDRES="$(WINDRES)"; export WINDRES; \
15383 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
15384 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
15385 echo Configuring in tar; \
15386 cd tar || exit 1; \
15387 case $(srcdir) in \
15389 srcdiroption="--srcdir=."; \
15391 /* | [A-Za-z]:[\\/]*) \
15392 srcdiroption="--srcdir=$(srcdir)/tar"; \
15393 libsrcdir="$$s/tar";; \
15395 srcdiroption="--srcdir=../$(srcdir)/tar"; \
15396 libsrcdir="$$s/tar";; \
15398 $(SHELL) $${libsrcdir}/configure \
15399 $(HOST_CONFIGARGS) $${srcdiroption} \
15402 .PHONY: all-tar maybe-all-tar
15404 all-tar: configure-tar
15405 @r=`${PWD_COMMAND}`; export r; \
15406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15408 (cd tar && $(MAKE) $(FLAGS_TO_PASS) all)
15410 .PHONY: check-tar maybe-check-tar
15414 @r=`${PWD_COMMAND}`; export r; \
15415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15417 (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
15420 .PHONY: install-tar maybe-install-tar
15423 install-tar: installdirs
15424 @r=`${PWD_COMMAND}`; export r; \
15425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15427 (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
15430 # Other targets (info, dvi, etc.)
15432 .PHONY: maybe-info-tar info-tar
15437 @[ -f ./tar/Makefile ] || exit 0; \
15438 r=`${PWD_COMMAND}`; export r; \
15439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15441 for flag in $(EXTRA_HOST_FLAGS); do \
15442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15444 echo "Doing info in tar" ; \
15446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15448 "RANLIB=$${RANLIB}" \
15449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15454 .PHONY: maybe-dvi-tar dvi-tar
15459 @[ -f ./tar/Makefile ] || exit 0; \
15460 r=`${PWD_COMMAND}`; export r; \
15461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15463 for flag in $(EXTRA_HOST_FLAGS); do \
15464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15466 echo "Doing dvi in tar" ; \
15468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15470 "RANLIB=$${RANLIB}" \
15471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15476 .PHONY: maybe-TAGS-tar TAGS-tar
15481 @[ -f ./tar/Makefile ] || exit 0; \
15482 r=`${PWD_COMMAND}`; export r; \
15483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15485 for flag in $(EXTRA_HOST_FLAGS); do \
15486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15488 echo "Doing TAGS in tar" ; \
15490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15492 "RANLIB=$${RANLIB}" \
15493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15498 .PHONY: maybe-install-info-tar install-info-tar
15499 maybe-install-info-tar:
15501 install-info-tar: \
15504 @[ -f ./tar/Makefile ] || exit 0; \
15505 r=`${PWD_COMMAND}`; export r; \
15506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15508 for flag in $(EXTRA_HOST_FLAGS); do \
15509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15511 echo "Doing install-info in tar" ; \
15513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15515 "RANLIB=$${RANLIB}" \
15516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15521 .PHONY: maybe-installcheck-tar installcheck-tar
15522 maybe-installcheck-tar:
15524 installcheck-tar: \
15526 @[ -f ./tar/Makefile ] || exit 0; \
15527 r=`${PWD_COMMAND}`; export r; \
15528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15530 for flag in $(EXTRA_HOST_FLAGS); do \
15531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15533 echo "Doing installcheck in tar" ; \
15535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15537 "RANLIB=$${RANLIB}" \
15538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15543 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
15544 maybe-mostlyclean-tar:
15547 @[ -f ./tar/Makefile ] || exit 0; \
15548 r=`${PWD_COMMAND}`; export r; \
15549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15551 for flag in $(EXTRA_HOST_FLAGS); do \
15552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15554 echo "Doing mostlyclean in tar" ; \
15556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15558 "RANLIB=$${RANLIB}" \
15559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15564 .PHONY: maybe-clean-tar clean-tar
15568 @[ -f ./tar/Makefile ] || exit 0; \
15569 r=`${PWD_COMMAND}`; export r; \
15570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15572 for flag in $(EXTRA_HOST_FLAGS); do \
15573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15575 echo "Doing clean in tar" ; \
15577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15579 "RANLIB=$${RANLIB}" \
15580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15585 .PHONY: maybe-distclean-tar distclean-tar
15586 maybe-distclean-tar:
15589 @[ -f ./tar/Makefile ] || exit 0; \
15590 r=`${PWD_COMMAND}`; export r; \
15591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15593 for flag in $(EXTRA_HOST_FLAGS); do \
15594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15596 echo "Doing distclean in tar" ; \
15598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15600 "RANLIB=$${RANLIB}" \
15601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15606 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
15607 maybe-maintainer-clean-tar:
15609 maintainer-clean-tar:
15610 @[ -f ./tar/Makefile ] || exit 0; \
15611 r=`${PWD_COMMAND}`; export r; \
15612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15614 for flag in $(EXTRA_HOST_FLAGS); do \
15615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15617 echo "Doing maintainer-clean in tar" ; \
15619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15621 "RANLIB=$${RANLIB}" \
15622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15623 maintainer-clean) \
15628 .PHONY: configure-texinfo maybe-configure-texinfo
15629 maybe-configure-texinfo:
15631 @test ! -f texinfo/Makefile || exit 0; \
15632 [ -d texinfo ] || mkdir texinfo; \
15633 r=`${PWD_COMMAND}`; export r; \
15634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15635 CC="$(CC)"; export CC; \
15636 CFLAGS="$(CFLAGS)"; export CFLAGS; \
15637 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
15638 CXX="$(CXX)"; export CXX; \
15639 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
15640 AR="$(AR)"; export AR; \
15641 AS="$(AS)"; export AS; \
15642 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
15643 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
15644 LD="$(LD)"; export LD; \
15645 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
15646 NM="$(NM)"; export NM; \
15647 RANLIB="$(RANLIB)"; export RANLIB; \
15648 WINDRES="$(WINDRES)"; export WINDRES; \
15649 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
15650 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
15651 echo Configuring in texinfo; \
15652 cd texinfo || exit 1; \
15653 case $(srcdir) in \
15655 srcdiroption="--srcdir=."; \
15657 /* | [A-Za-z]:[\\/]*) \
15658 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
15659 libsrcdir="$$s/texinfo";; \
15661 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
15662 libsrcdir="$$s/texinfo";; \
15664 $(SHELL) $${libsrcdir}/configure \
15665 $(HOST_CONFIGARGS) $${srcdiroption} \
15668 .PHONY: all-texinfo maybe-all-texinfo
15670 all-texinfo: configure-texinfo
15671 @r=`${PWD_COMMAND}`; export r; \
15672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15674 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) all)
15676 .PHONY: check-texinfo maybe-check-texinfo
15677 maybe-check-texinfo:
15680 @r=`${PWD_COMMAND}`; export r; \
15681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15683 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
15686 .PHONY: install-texinfo maybe-install-texinfo
15687 maybe-install-texinfo:
15692 # Other targets (info, dvi, etc.)
15694 .PHONY: maybe-info-texinfo info-texinfo
15695 maybe-info-texinfo:
15699 @[ -f ./texinfo/Makefile ] || exit 0; \
15700 r=`${PWD_COMMAND}`; export r; \
15701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15703 for flag in $(EXTRA_HOST_FLAGS); do \
15704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15706 echo "Doing info in texinfo" ; \
15708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15710 "RANLIB=$${RANLIB}" \
15711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15716 .PHONY: maybe-dvi-texinfo dvi-texinfo
15721 @[ -f ./texinfo/Makefile ] || exit 0; \
15722 r=`${PWD_COMMAND}`; export r; \
15723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15725 for flag in $(EXTRA_HOST_FLAGS); do \
15726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15728 echo "Doing dvi in texinfo" ; \
15730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15732 "RANLIB=$${RANLIB}" \
15733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15738 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
15739 maybe-TAGS-texinfo:
15743 @[ -f ./texinfo/Makefile ] || exit 0; \
15744 r=`${PWD_COMMAND}`; export r; \
15745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15747 for flag in $(EXTRA_HOST_FLAGS); do \
15748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15750 echo "Doing TAGS in texinfo" ; \
15752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15754 "RANLIB=$${RANLIB}" \
15755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15760 .PHONY: maybe-install-info-texinfo install-info-texinfo
15761 maybe-install-info-texinfo:
15763 install-info-texinfo: \
15764 configure-texinfo \
15766 @[ -f ./texinfo/Makefile ] || exit 0; \
15767 r=`${PWD_COMMAND}`; export r; \
15768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15770 for flag in $(EXTRA_HOST_FLAGS); do \
15771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15773 echo "Doing install-info in texinfo" ; \
15775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15777 "RANLIB=$${RANLIB}" \
15778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15783 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
15784 maybe-installcheck-texinfo:
15786 installcheck-texinfo: \
15788 @[ -f ./texinfo/Makefile ] || exit 0; \
15789 r=`${PWD_COMMAND}`; export r; \
15790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15792 for flag in $(EXTRA_HOST_FLAGS); do \
15793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15795 echo "Doing installcheck in texinfo" ; \
15797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15799 "RANLIB=$${RANLIB}" \
15800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15805 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
15806 maybe-mostlyclean-texinfo:
15808 mostlyclean-texinfo:
15809 @[ -f ./texinfo/Makefile ] || exit 0; \
15810 r=`${PWD_COMMAND}`; export r; \
15811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15813 for flag in $(EXTRA_HOST_FLAGS); do \
15814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15816 echo "Doing mostlyclean in texinfo" ; \
15818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15820 "RANLIB=$${RANLIB}" \
15821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15826 .PHONY: maybe-clean-texinfo clean-texinfo
15827 maybe-clean-texinfo:
15830 @[ -f ./texinfo/Makefile ] || exit 0; \
15831 r=`${PWD_COMMAND}`; export r; \
15832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15834 for flag in $(EXTRA_HOST_FLAGS); do \
15835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15837 echo "Doing clean in texinfo" ; \
15839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15841 "RANLIB=$${RANLIB}" \
15842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15847 .PHONY: maybe-distclean-texinfo distclean-texinfo
15848 maybe-distclean-texinfo:
15851 @[ -f ./texinfo/Makefile ] || exit 0; \
15852 r=`${PWD_COMMAND}`; export r; \
15853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15855 for flag in $(EXTRA_HOST_FLAGS); do \
15856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15858 echo "Doing distclean in texinfo" ; \
15860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15862 "RANLIB=$${RANLIB}" \
15863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15868 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
15869 maybe-maintainer-clean-texinfo:
15871 maintainer-clean-texinfo:
15872 @[ -f ./texinfo/Makefile ] || exit 0; \
15873 r=`${PWD_COMMAND}`; export r; \
15874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15876 for flag in $(EXTRA_HOST_FLAGS); do \
15877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15879 echo "Doing maintainer-clean in texinfo" ; \
15881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15883 "RANLIB=$${RANLIB}" \
15884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15885 maintainer-clean) \
15890 .PHONY: configure-textutils maybe-configure-textutils
15891 maybe-configure-textutils:
15892 configure-textutils:
15893 @test ! -f textutils/Makefile || exit 0; \
15894 [ -d textutils ] || mkdir textutils; \
15895 r=`${PWD_COMMAND}`; export r; \
15896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15897 CC="$(CC)"; export CC; \
15898 CFLAGS="$(CFLAGS)"; export CFLAGS; \
15899 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
15900 CXX="$(CXX)"; export CXX; \
15901 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
15902 AR="$(AR)"; export AR; \
15903 AS="$(AS)"; export AS; \
15904 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
15905 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
15906 LD="$(LD)"; export LD; \
15907 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
15908 NM="$(NM)"; export NM; \
15909 RANLIB="$(RANLIB)"; export RANLIB; \
15910 WINDRES="$(WINDRES)"; export WINDRES; \
15911 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
15912 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
15913 echo Configuring in textutils; \
15914 cd textutils || exit 1; \
15915 case $(srcdir) in \
15917 srcdiroption="--srcdir=."; \
15919 /* | [A-Za-z]:[\\/]*) \
15920 srcdiroption="--srcdir=$(srcdir)/textutils"; \
15921 libsrcdir="$$s/textutils";; \
15923 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
15924 libsrcdir="$$s/textutils";; \
15926 $(SHELL) $${libsrcdir}/configure \
15927 $(HOST_CONFIGARGS) $${srcdiroption} \
15930 .PHONY: all-textutils maybe-all-textutils
15931 maybe-all-textutils:
15932 all-textutils: configure-textutils
15933 @r=`${PWD_COMMAND}`; export r; \
15934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15936 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) all)
15938 .PHONY: check-textutils maybe-check-textutils
15939 maybe-check-textutils:
15942 @r=`${PWD_COMMAND}`; export r; \
15943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15945 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
15948 .PHONY: install-textutils maybe-install-textutils
15949 maybe-install-textutils:
15951 install-textutils: installdirs
15952 @r=`${PWD_COMMAND}`; export r; \
15953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15955 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
15958 # Other targets (info, dvi, etc.)
15960 .PHONY: maybe-info-textutils info-textutils
15961 maybe-info-textutils:
15964 configure-textutils
15965 @[ -f ./textutils/Makefile ] || exit 0; \
15966 r=`${PWD_COMMAND}`; export r; \
15967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15969 for flag in $(EXTRA_HOST_FLAGS); do \
15970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15972 echo "Doing info in textutils" ; \
15974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15976 "RANLIB=$${RANLIB}" \
15977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15982 .PHONY: maybe-dvi-textutils dvi-textutils
15983 maybe-dvi-textutils:
15986 configure-textutils
15987 @[ -f ./textutils/Makefile ] || exit 0; \
15988 r=`${PWD_COMMAND}`; export r; \
15989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15991 for flag in $(EXTRA_HOST_FLAGS); do \
15992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15994 echo "Doing dvi in textutils" ; \
15996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15998 "RANLIB=$${RANLIB}" \
15999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16004 .PHONY: maybe-TAGS-textutils TAGS-textutils
16005 maybe-TAGS-textutils:
16008 configure-textutils
16009 @[ -f ./textutils/Makefile ] || exit 0; \
16010 r=`${PWD_COMMAND}`; export r; \
16011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16013 for flag in $(EXTRA_HOST_FLAGS); do \
16014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16016 echo "Doing TAGS in textutils" ; \
16018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16020 "RANLIB=$${RANLIB}" \
16021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16026 .PHONY: maybe-install-info-textutils install-info-textutils
16027 maybe-install-info-textutils:
16029 install-info-textutils: \
16030 configure-textutils \
16032 @[ -f ./textutils/Makefile ] || exit 0; \
16033 r=`${PWD_COMMAND}`; export r; \
16034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16036 for flag in $(EXTRA_HOST_FLAGS); do \
16037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16039 echo "Doing install-info in textutils" ; \
16041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16043 "RANLIB=$${RANLIB}" \
16044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16049 .PHONY: maybe-installcheck-textutils installcheck-textutils
16050 maybe-installcheck-textutils:
16052 installcheck-textutils: \
16053 configure-textutils
16054 @[ -f ./textutils/Makefile ] || exit 0; \
16055 r=`${PWD_COMMAND}`; export r; \
16056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16058 for flag in $(EXTRA_HOST_FLAGS); do \
16059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16061 echo "Doing installcheck in textutils" ; \
16063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16065 "RANLIB=$${RANLIB}" \
16066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16071 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
16072 maybe-mostlyclean-textutils:
16074 mostlyclean-textutils:
16075 @[ -f ./textutils/Makefile ] || exit 0; \
16076 r=`${PWD_COMMAND}`; export r; \
16077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16079 for flag in $(EXTRA_HOST_FLAGS); do \
16080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16082 echo "Doing mostlyclean in textutils" ; \
16084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16086 "RANLIB=$${RANLIB}" \
16087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16092 .PHONY: maybe-clean-textutils clean-textutils
16093 maybe-clean-textutils:
16096 @[ -f ./textutils/Makefile ] || exit 0; \
16097 r=`${PWD_COMMAND}`; export r; \
16098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16100 for flag in $(EXTRA_HOST_FLAGS); do \
16101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16103 echo "Doing clean in textutils" ; \
16105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16107 "RANLIB=$${RANLIB}" \
16108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16113 .PHONY: maybe-distclean-textutils distclean-textutils
16114 maybe-distclean-textutils:
16116 distclean-textutils:
16117 @[ -f ./textutils/Makefile ] || exit 0; \
16118 r=`${PWD_COMMAND}`; export r; \
16119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16121 for flag in $(EXTRA_HOST_FLAGS); do \
16122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16124 echo "Doing distclean in textutils" ; \
16126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16128 "RANLIB=$${RANLIB}" \
16129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16134 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
16135 maybe-maintainer-clean-textutils:
16137 maintainer-clean-textutils:
16138 @[ -f ./textutils/Makefile ] || exit 0; \
16139 r=`${PWD_COMMAND}`; export r; \
16140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16142 for flag in $(EXTRA_HOST_FLAGS); do \
16143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16145 echo "Doing maintainer-clean in textutils" ; \
16147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16149 "RANLIB=$${RANLIB}" \
16150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16151 maintainer-clean) \
16156 .PHONY: configure-time maybe-configure-time
16157 maybe-configure-time:
16159 @test ! -f time/Makefile || exit 0; \
16160 [ -d time ] || mkdir time; \
16161 r=`${PWD_COMMAND}`; export r; \
16162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16163 CC="$(CC)"; export CC; \
16164 CFLAGS="$(CFLAGS)"; export CFLAGS; \
16165 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
16166 CXX="$(CXX)"; export CXX; \
16167 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
16168 AR="$(AR)"; export AR; \
16169 AS="$(AS)"; export AS; \
16170 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
16171 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
16172 LD="$(LD)"; export LD; \
16173 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
16174 NM="$(NM)"; export NM; \
16175 RANLIB="$(RANLIB)"; export RANLIB; \
16176 WINDRES="$(WINDRES)"; export WINDRES; \
16177 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
16178 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
16179 echo Configuring in time; \
16180 cd time || exit 1; \
16181 case $(srcdir) in \
16183 srcdiroption="--srcdir=."; \
16185 /* | [A-Za-z]:[\\/]*) \
16186 srcdiroption="--srcdir=$(srcdir)/time"; \
16187 libsrcdir="$$s/time";; \
16189 srcdiroption="--srcdir=../$(srcdir)/time"; \
16190 libsrcdir="$$s/time";; \
16192 $(SHELL) $${libsrcdir}/configure \
16193 $(HOST_CONFIGARGS) $${srcdiroption} \
16196 .PHONY: all-time maybe-all-time
16198 all-time: configure-time
16199 @r=`${PWD_COMMAND}`; export r; \
16200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16202 (cd time && $(MAKE) $(FLAGS_TO_PASS) all)
16204 .PHONY: check-time maybe-check-time
16208 @r=`${PWD_COMMAND}`; export r; \
16209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16211 (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
16214 .PHONY: install-time maybe-install-time
16215 maybe-install-time:
16217 install-time: installdirs
16218 @r=`${PWD_COMMAND}`; export r; \
16219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16221 (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
16224 # Other targets (info, dvi, etc.)
16226 .PHONY: maybe-info-time info-time
16231 @[ -f ./time/Makefile ] || exit 0; \
16232 r=`${PWD_COMMAND}`; export r; \
16233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16235 for flag in $(EXTRA_HOST_FLAGS); do \
16236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16238 echo "Doing info in time" ; \
16240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16242 "RANLIB=$${RANLIB}" \
16243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16248 .PHONY: maybe-dvi-time dvi-time
16253 @[ -f ./time/Makefile ] || exit 0; \
16254 r=`${PWD_COMMAND}`; export r; \
16255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16257 for flag in $(EXTRA_HOST_FLAGS); do \
16258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16260 echo "Doing dvi in time" ; \
16262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16264 "RANLIB=$${RANLIB}" \
16265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16270 .PHONY: maybe-TAGS-time TAGS-time
16275 @[ -f ./time/Makefile ] || exit 0; \
16276 r=`${PWD_COMMAND}`; export r; \
16277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16279 for flag in $(EXTRA_HOST_FLAGS); do \
16280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16282 echo "Doing TAGS in time" ; \
16284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16286 "RANLIB=$${RANLIB}" \
16287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16292 .PHONY: maybe-install-info-time install-info-time
16293 maybe-install-info-time:
16295 install-info-time: \
16298 @[ -f ./time/Makefile ] || exit 0; \
16299 r=`${PWD_COMMAND}`; export r; \
16300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16302 for flag in $(EXTRA_HOST_FLAGS); do \
16303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16305 echo "Doing install-info in time" ; \
16307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16309 "RANLIB=$${RANLIB}" \
16310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16315 .PHONY: maybe-installcheck-time installcheck-time
16316 maybe-installcheck-time:
16318 installcheck-time: \
16320 @[ -f ./time/Makefile ] || exit 0; \
16321 r=`${PWD_COMMAND}`; export r; \
16322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16324 for flag in $(EXTRA_HOST_FLAGS); do \
16325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16327 echo "Doing installcheck in time" ; \
16329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16331 "RANLIB=$${RANLIB}" \
16332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16337 .PHONY: maybe-mostlyclean-time mostlyclean-time
16338 maybe-mostlyclean-time:
16341 @[ -f ./time/Makefile ] || exit 0; \
16342 r=`${PWD_COMMAND}`; export r; \
16343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16345 for flag in $(EXTRA_HOST_FLAGS); do \
16346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16348 echo "Doing mostlyclean in time" ; \
16350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16352 "RANLIB=$${RANLIB}" \
16353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16358 .PHONY: maybe-clean-time clean-time
16362 @[ -f ./time/Makefile ] || exit 0; \
16363 r=`${PWD_COMMAND}`; export r; \
16364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16366 for flag in $(EXTRA_HOST_FLAGS); do \
16367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16369 echo "Doing clean in time" ; \
16371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16373 "RANLIB=$${RANLIB}" \
16374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16379 .PHONY: maybe-distclean-time distclean-time
16380 maybe-distclean-time:
16383 @[ -f ./time/Makefile ] || exit 0; \
16384 r=`${PWD_COMMAND}`; export r; \
16385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16387 for flag in $(EXTRA_HOST_FLAGS); do \
16388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16390 echo "Doing distclean in time" ; \
16392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16394 "RANLIB=$${RANLIB}" \
16395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16400 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
16401 maybe-maintainer-clean-time:
16403 maintainer-clean-time:
16404 @[ -f ./time/Makefile ] || exit 0; \
16405 r=`${PWD_COMMAND}`; export r; \
16406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16408 for flag in $(EXTRA_HOST_FLAGS); do \
16409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16411 echo "Doing maintainer-clean in time" ; \
16413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16415 "RANLIB=$${RANLIB}" \
16416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16417 maintainer-clean) \
16422 .PHONY: configure-uudecode maybe-configure-uudecode
16423 maybe-configure-uudecode:
16424 configure-uudecode:
16425 @test ! -f uudecode/Makefile || exit 0; \
16426 [ -d uudecode ] || mkdir uudecode; \
16427 r=`${PWD_COMMAND}`; export r; \
16428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16429 CC="$(CC)"; export CC; \
16430 CFLAGS="$(CFLAGS)"; export CFLAGS; \
16431 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
16432 CXX="$(CXX)"; export CXX; \
16433 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
16434 AR="$(AR)"; export AR; \
16435 AS="$(AS)"; export AS; \
16436 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
16437 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
16438 LD="$(LD)"; export LD; \
16439 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
16440 NM="$(NM)"; export NM; \
16441 RANLIB="$(RANLIB)"; export RANLIB; \
16442 WINDRES="$(WINDRES)"; export WINDRES; \
16443 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
16444 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
16445 echo Configuring in uudecode; \
16446 cd uudecode || exit 1; \
16447 case $(srcdir) in \
16449 srcdiroption="--srcdir=."; \
16451 /* | [A-Za-z]:[\\/]*) \
16452 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
16453 libsrcdir="$$s/uudecode";; \
16455 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
16456 libsrcdir="$$s/uudecode";; \
16458 $(SHELL) $${libsrcdir}/configure \
16459 $(HOST_CONFIGARGS) $${srcdiroption} \
16462 .PHONY: all-uudecode maybe-all-uudecode
16463 maybe-all-uudecode:
16464 all-uudecode: configure-uudecode
16465 @r=`${PWD_COMMAND}`; export r; \
16466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16468 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) all)
16470 .PHONY: check-uudecode maybe-check-uudecode
16471 maybe-check-uudecode:
16474 @r=`${PWD_COMMAND}`; export r; \
16475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16477 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
16480 .PHONY: install-uudecode maybe-install-uudecode
16481 maybe-install-uudecode:
16483 install-uudecode: installdirs
16484 @r=`${PWD_COMMAND}`; export r; \
16485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16487 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
16490 # Other targets (info, dvi, etc.)
16492 .PHONY: maybe-info-uudecode info-uudecode
16493 maybe-info-uudecode:
16497 @[ -f ./uudecode/Makefile ] || exit 0; \
16498 r=`${PWD_COMMAND}`; export r; \
16499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16501 for flag in $(EXTRA_HOST_FLAGS); do \
16502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16504 echo "Doing info in uudecode" ; \
16506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16508 "RANLIB=$${RANLIB}" \
16509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16514 .PHONY: maybe-dvi-uudecode dvi-uudecode
16515 maybe-dvi-uudecode:
16519 @[ -f ./uudecode/Makefile ] || exit 0; \
16520 r=`${PWD_COMMAND}`; export r; \
16521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16523 for flag in $(EXTRA_HOST_FLAGS); do \
16524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16526 echo "Doing dvi in uudecode" ; \
16528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16530 "RANLIB=$${RANLIB}" \
16531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16536 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
16537 maybe-TAGS-uudecode:
16541 @[ -f ./uudecode/Makefile ] || exit 0; \
16542 r=`${PWD_COMMAND}`; export r; \
16543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16545 for flag in $(EXTRA_HOST_FLAGS); do \
16546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16548 echo "Doing TAGS in uudecode" ; \
16550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16552 "RANLIB=$${RANLIB}" \
16553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16558 .PHONY: maybe-install-info-uudecode install-info-uudecode
16559 maybe-install-info-uudecode:
16561 install-info-uudecode: \
16562 configure-uudecode \
16564 @[ -f ./uudecode/Makefile ] || exit 0; \
16565 r=`${PWD_COMMAND}`; export r; \
16566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16568 for flag in $(EXTRA_HOST_FLAGS); do \
16569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16571 echo "Doing install-info in uudecode" ; \
16573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16575 "RANLIB=$${RANLIB}" \
16576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16581 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
16582 maybe-installcheck-uudecode:
16584 installcheck-uudecode: \
16586 @[ -f ./uudecode/Makefile ] || exit 0; \
16587 r=`${PWD_COMMAND}`; export r; \
16588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16590 for flag in $(EXTRA_HOST_FLAGS); do \
16591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16593 echo "Doing installcheck in uudecode" ; \
16595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16597 "RANLIB=$${RANLIB}" \
16598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16603 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
16604 maybe-mostlyclean-uudecode:
16606 mostlyclean-uudecode:
16607 @[ -f ./uudecode/Makefile ] || exit 0; \
16608 r=`${PWD_COMMAND}`; export r; \
16609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16611 for flag in $(EXTRA_HOST_FLAGS); do \
16612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16614 echo "Doing mostlyclean in uudecode" ; \
16616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16618 "RANLIB=$${RANLIB}" \
16619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16624 .PHONY: maybe-clean-uudecode clean-uudecode
16625 maybe-clean-uudecode:
16628 @[ -f ./uudecode/Makefile ] || exit 0; \
16629 r=`${PWD_COMMAND}`; export r; \
16630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16632 for flag in $(EXTRA_HOST_FLAGS); do \
16633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16635 echo "Doing clean in uudecode" ; \
16637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16639 "RANLIB=$${RANLIB}" \
16640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16645 .PHONY: maybe-distclean-uudecode distclean-uudecode
16646 maybe-distclean-uudecode:
16648 distclean-uudecode:
16649 @[ -f ./uudecode/Makefile ] || exit 0; \
16650 r=`${PWD_COMMAND}`; export r; \
16651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16653 for flag in $(EXTRA_HOST_FLAGS); do \
16654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16656 echo "Doing distclean in uudecode" ; \
16658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16660 "RANLIB=$${RANLIB}" \
16661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16666 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
16667 maybe-maintainer-clean-uudecode:
16669 maintainer-clean-uudecode:
16670 @[ -f ./uudecode/Makefile ] || exit 0; \
16671 r=`${PWD_COMMAND}`; export r; \
16672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16674 for flag in $(EXTRA_HOST_FLAGS); do \
16675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16677 echo "Doing maintainer-clean in uudecode" ; \
16679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16681 "RANLIB=$${RANLIB}" \
16682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16683 maintainer-clean) \
16688 .PHONY: configure-wdiff maybe-configure-wdiff
16689 maybe-configure-wdiff:
16691 @test ! -f wdiff/Makefile || exit 0; \
16692 [ -d wdiff ] || mkdir wdiff; \
16693 r=`${PWD_COMMAND}`; export r; \
16694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16695 CC="$(CC)"; export CC; \
16696 CFLAGS="$(CFLAGS)"; export CFLAGS; \
16697 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
16698 CXX="$(CXX)"; export CXX; \
16699 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
16700 AR="$(AR)"; export AR; \
16701 AS="$(AS)"; export AS; \
16702 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
16703 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
16704 LD="$(LD)"; export LD; \
16705 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
16706 NM="$(NM)"; export NM; \
16707 RANLIB="$(RANLIB)"; export RANLIB; \
16708 WINDRES="$(WINDRES)"; export WINDRES; \
16709 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
16710 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
16711 echo Configuring in wdiff; \
16712 cd wdiff || exit 1; \
16713 case $(srcdir) in \
16715 srcdiroption="--srcdir=."; \
16717 /* | [A-Za-z]:[\\/]*) \
16718 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
16719 libsrcdir="$$s/wdiff";; \
16721 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
16722 libsrcdir="$$s/wdiff";; \
16724 $(SHELL) $${libsrcdir}/configure \
16725 $(HOST_CONFIGARGS) $${srcdiroption} \
16728 .PHONY: all-wdiff maybe-all-wdiff
16730 all-wdiff: configure-wdiff
16731 @r=`${PWD_COMMAND}`; export r; \
16732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16734 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) all)
16736 .PHONY: check-wdiff maybe-check-wdiff
16740 @r=`${PWD_COMMAND}`; export r; \
16741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16743 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
16746 .PHONY: install-wdiff maybe-install-wdiff
16747 maybe-install-wdiff:
16749 install-wdiff: installdirs
16750 @r=`${PWD_COMMAND}`; export r; \
16751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16753 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
16756 # Other targets (info, dvi, etc.)
16758 .PHONY: maybe-info-wdiff info-wdiff
16763 @[ -f ./wdiff/Makefile ] || exit 0; \
16764 r=`${PWD_COMMAND}`; export r; \
16765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16767 for flag in $(EXTRA_HOST_FLAGS); do \
16768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16770 echo "Doing info in wdiff" ; \
16772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16774 "RANLIB=$${RANLIB}" \
16775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16780 .PHONY: maybe-dvi-wdiff dvi-wdiff
16785 @[ -f ./wdiff/Makefile ] || exit 0; \
16786 r=`${PWD_COMMAND}`; export r; \
16787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16789 for flag in $(EXTRA_HOST_FLAGS); do \
16790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16792 echo "Doing dvi in wdiff" ; \
16794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16796 "RANLIB=$${RANLIB}" \
16797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16802 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
16807 @[ -f ./wdiff/Makefile ] || exit 0; \
16808 r=`${PWD_COMMAND}`; export r; \
16809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16811 for flag in $(EXTRA_HOST_FLAGS); do \
16812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16814 echo "Doing TAGS in wdiff" ; \
16816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16818 "RANLIB=$${RANLIB}" \
16819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16824 .PHONY: maybe-install-info-wdiff install-info-wdiff
16825 maybe-install-info-wdiff:
16827 install-info-wdiff: \
16830 @[ -f ./wdiff/Makefile ] || exit 0; \
16831 r=`${PWD_COMMAND}`; export r; \
16832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16834 for flag in $(EXTRA_HOST_FLAGS); do \
16835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16837 echo "Doing install-info in wdiff" ; \
16839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16841 "RANLIB=$${RANLIB}" \
16842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16847 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
16848 maybe-installcheck-wdiff:
16850 installcheck-wdiff: \
16852 @[ -f ./wdiff/Makefile ] || exit 0; \
16853 r=`${PWD_COMMAND}`; export r; \
16854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16856 for flag in $(EXTRA_HOST_FLAGS); do \
16857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16859 echo "Doing installcheck in wdiff" ; \
16861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16863 "RANLIB=$${RANLIB}" \
16864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16869 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
16870 maybe-mostlyclean-wdiff:
16873 @[ -f ./wdiff/Makefile ] || exit 0; \
16874 r=`${PWD_COMMAND}`; export r; \
16875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16877 for flag in $(EXTRA_HOST_FLAGS); do \
16878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16880 echo "Doing mostlyclean in wdiff" ; \
16882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16884 "RANLIB=$${RANLIB}" \
16885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16890 .PHONY: maybe-clean-wdiff clean-wdiff
16894 @[ -f ./wdiff/Makefile ] || exit 0; \
16895 r=`${PWD_COMMAND}`; export r; \
16896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16898 for flag in $(EXTRA_HOST_FLAGS); do \
16899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16901 echo "Doing clean in wdiff" ; \
16903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16905 "RANLIB=$${RANLIB}" \
16906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16911 .PHONY: maybe-distclean-wdiff distclean-wdiff
16912 maybe-distclean-wdiff:
16915 @[ -f ./wdiff/Makefile ] || exit 0; \
16916 r=`${PWD_COMMAND}`; export r; \
16917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16919 for flag in $(EXTRA_HOST_FLAGS); do \
16920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16922 echo "Doing distclean in wdiff" ; \
16924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16926 "RANLIB=$${RANLIB}" \
16927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16932 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
16933 maybe-maintainer-clean-wdiff:
16935 maintainer-clean-wdiff:
16936 @[ -f ./wdiff/Makefile ] || exit 0; \
16937 r=`${PWD_COMMAND}`; export r; \
16938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16940 for flag in $(EXTRA_HOST_FLAGS); do \
16941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16943 echo "Doing maintainer-clean in wdiff" ; \
16945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16947 "RANLIB=$${RANLIB}" \
16948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16949 maintainer-clean) \
16954 .PHONY: configure-zip maybe-configure-zip
16955 maybe-configure-zip:
16957 @test ! -f zip/Makefile || exit 0; \
16958 [ -d zip ] || mkdir zip; \
16959 r=`${PWD_COMMAND}`; export r; \
16960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16961 CC="$(CC)"; export CC; \
16962 CFLAGS="$(CFLAGS)"; export CFLAGS; \
16963 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
16964 CXX="$(CXX)"; export CXX; \
16965 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
16966 AR="$(AR)"; export AR; \
16967 AS="$(AS)"; export AS; \
16968 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
16969 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
16970 LD="$(LD)"; export LD; \
16971 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
16972 NM="$(NM)"; export NM; \
16973 RANLIB="$(RANLIB)"; export RANLIB; \
16974 WINDRES="$(WINDRES)"; export WINDRES; \
16975 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
16976 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
16977 echo Configuring in zip; \
16978 cd zip || exit 1; \
16979 case $(srcdir) in \
16981 srcdiroption="--srcdir=."; \
16983 /* | [A-Za-z]:[\\/]*) \
16984 srcdiroption="--srcdir=$(srcdir)/zip"; \
16985 libsrcdir="$$s/zip";; \
16987 srcdiroption="--srcdir=../$(srcdir)/zip"; \
16988 libsrcdir="$$s/zip";; \
16990 $(SHELL) $${libsrcdir}/configure \
16991 $(HOST_CONFIGARGS) $${srcdiroption} \
16994 .PHONY: all-zip maybe-all-zip
16996 all-zip: configure-zip
16997 @r=`${PWD_COMMAND}`; export r; \
16998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17000 (cd zip && $(MAKE) $(FLAGS_TO_PASS) all)
17002 .PHONY: check-zip maybe-check-zip
17005 # This module is only tested in a native toolchain.
17007 @if [ '$(host)' = '$(target)' ] ; then \
17008 r=`${PWD_COMMAND}`; export r; \
17009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17011 (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \
17015 .PHONY: install-zip maybe-install-zip
17018 install-zip: installdirs
17019 @r=`${PWD_COMMAND}`; export r; \
17020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17022 (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
17025 # Other targets (info, dvi, etc.)
17027 .PHONY: maybe-info-zip info-zip
17032 @[ -f ./zip/Makefile ] || exit 0; \
17033 r=`${PWD_COMMAND}`; export r; \
17034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17036 for flag in $(EXTRA_HOST_FLAGS); do \
17037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17039 echo "Doing info in zip" ; \
17041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17043 "RANLIB=$${RANLIB}" \
17044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17049 .PHONY: maybe-dvi-zip dvi-zip
17054 @[ -f ./zip/Makefile ] || exit 0; \
17055 r=`${PWD_COMMAND}`; export r; \
17056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17058 for flag in $(EXTRA_HOST_FLAGS); do \
17059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17061 echo "Doing dvi in zip" ; \
17063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17065 "RANLIB=$${RANLIB}" \
17066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17071 .PHONY: maybe-TAGS-zip TAGS-zip
17076 @[ -f ./zip/Makefile ] || exit 0; \
17077 r=`${PWD_COMMAND}`; export r; \
17078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17080 for flag in $(EXTRA_HOST_FLAGS); do \
17081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17083 echo "Doing TAGS in zip" ; \
17085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17087 "RANLIB=$${RANLIB}" \
17088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17093 .PHONY: maybe-install-info-zip install-info-zip
17094 maybe-install-info-zip:
17096 install-info-zip: \
17099 @[ -f ./zip/Makefile ] || exit 0; \
17100 r=`${PWD_COMMAND}`; export r; \
17101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17103 for flag in $(EXTRA_HOST_FLAGS); do \
17104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17106 echo "Doing install-info in zip" ; \
17108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17110 "RANLIB=$${RANLIB}" \
17111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17116 .PHONY: maybe-installcheck-zip installcheck-zip
17117 maybe-installcheck-zip:
17119 installcheck-zip: \
17121 @[ -f ./zip/Makefile ] || exit 0; \
17122 r=`${PWD_COMMAND}`; export r; \
17123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17125 for flag in $(EXTRA_HOST_FLAGS); do \
17126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17128 echo "Doing installcheck in zip" ; \
17130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17132 "RANLIB=$${RANLIB}" \
17133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17138 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
17139 maybe-mostlyclean-zip:
17142 @[ -f ./zip/Makefile ] || exit 0; \
17143 r=`${PWD_COMMAND}`; export r; \
17144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17146 for flag in $(EXTRA_HOST_FLAGS); do \
17147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17149 echo "Doing mostlyclean in zip" ; \
17151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17153 "RANLIB=$${RANLIB}" \
17154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17159 .PHONY: maybe-clean-zip clean-zip
17163 @[ -f ./zip/Makefile ] || exit 0; \
17164 r=`${PWD_COMMAND}`; export r; \
17165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17167 for flag in $(EXTRA_HOST_FLAGS); do \
17168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17170 echo "Doing clean in zip" ; \
17172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17174 "RANLIB=$${RANLIB}" \
17175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17180 .PHONY: maybe-distclean-zip distclean-zip
17181 maybe-distclean-zip:
17184 @[ -f ./zip/Makefile ] || exit 0; \
17185 r=`${PWD_COMMAND}`; export r; \
17186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17188 for flag in $(EXTRA_HOST_FLAGS); do \
17189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17191 echo "Doing distclean in zip" ; \
17193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17195 "RANLIB=$${RANLIB}" \
17196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17201 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
17202 maybe-maintainer-clean-zip:
17204 maintainer-clean-zip:
17205 @[ -f ./zip/Makefile ] || exit 0; \
17206 r=`${PWD_COMMAND}`; export r; \
17207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17209 for flag in $(EXTRA_HOST_FLAGS); do \
17210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17212 echo "Doing maintainer-clean in zip" ; \
17214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17216 "RANLIB=$${RANLIB}" \
17217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17218 maintainer-clean) \
17223 .PHONY: configure-zlib maybe-configure-zlib
17224 maybe-configure-zlib:
17226 @test ! -f zlib/Makefile || exit 0; \
17227 [ -d zlib ] || mkdir zlib; \
17228 r=`${PWD_COMMAND}`; export r; \
17229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17230 CC="$(CC)"; export CC; \
17231 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17232 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
17233 CXX="$(CXX)"; export CXX; \
17234 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17235 AR="$(AR)"; export AR; \
17236 AS="$(AS)"; export AS; \
17237 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17238 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17239 LD="$(LD)"; export LD; \
17240 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
17241 NM="$(NM)"; export NM; \
17242 RANLIB="$(RANLIB)"; export RANLIB; \
17243 WINDRES="$(WINDRES)"; export WINDRES; \
17244 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17245 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17246 echo Configuring in zlib; \
17247 cd zlib || exit 1; \
17248 case $(srcdir) in \
17250 srcdiroption="--srcdir=."; \
17252 /* | [A-Za-z]:[\\/]*) \
17253 srcdiroption="--srcdir=$(srcdir)/zlib"; \
17254 libsrcdir="$$s/zlib";; \
17256 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
17257 libsrcdir="$$s/zlib";; \
17259 $(SHELL) $${libsrcdir}/configure \
17260 $(HOST_CONFIGARGS) $${srcdiroption} \
17263 .PHONY: all-zlib maybe-all-zlib
17265 all-zlib: configure-zlib
17266 @r=`${PWD_COMMAND}`; export r; \
17267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17269 (cd zlib && $(MAKE) $(FLAGS_TO_PASS) all)
17271 .PHONY: check-zlib maybe-check-zlib
17277 .PHONY: install-zlib maybe-install-zlib
17278 maybe-install-zlib:
17283 # Other targets (info, dvi, etc.)
17285 .PHONY: maybe-info-zlib info-zlib
17290 @[ -f ./zlib/Makefile ] || exit 0; \
17291 r=`${PWD_COMMAND}`; export r; \
17292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17294 for flag in $(EXTRA_HOST_FLAGS); do \
17295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17297 echo "Doing info in zlib" ; \
17299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17301 "RANLIB=$${RANLIB}" \
17302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17307 .PHONY: maybe-dvi-zlib dvi-zlib
17312 @[ -f ./zlib/Makefile ] || exit 0; \
17313 r=`${PWD_COMMAND}`; export r; \
17314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17316 for flag in $(EXTRA_HOST_FLAGS); do \
17317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17319 echo "Doing dvi in zlib" ; \
17321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17323 "RANLIB=$${RANLIB}" \
17324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17329 .PHONY: maybe-TAGS-zlib TAGS-zlib
17334 @[ -f ./zlib/Makefile ] || exit 0; \
17335 r=`${PWD_COMMAND}`; export r; \
17336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17338 for flag in $(EXTRA_HOST_FLAGS); do \
17339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17341 echo "Doing TAGS in zlib" ; \
17343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17345 "RANLIB=$${RANLIB}" \
17346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17351 .PHONY: maybe-install-info-zlib install-info-zlib
17352 maybe-install-info-zlib:
17354 install-info-zlib: \
17357 @[ -f ./zlib/Makefile ] || exit 0; \
17358 r=`${PWD_COMMAND}`; export r; \
17359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17361 for flag in $(EXTRA_HOST_FLAGS); do \
17362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17364 echo "Doing install-info in zlib" ; \
17366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17368 "RANLIB=$${RANLIB}" \
17369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17374 .PHONY: maybe-installcheck-zlib installcheck-zlib
17375 maybe-installcheck-zlib:
17377 installcheck-zlib: \
17379 @[ -f ./zlib/Makefile ] || exit 0; \
17380 r=`${PWD_COMMAND}`; export r; \
17381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17383 for flag in $(EXTRA_HOST_FLAGS); do \
17384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17386 echo "Doing installcheck in zlib" ; \
17388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17390 "RANLIB=$${RANLIB}" \
17391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17396 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
17397 maybe-mostlyclean-zlib:
17400 @[ -f ./zlib/Makefile ] || exit 0; \
17401 r=`${PWD_COMMAND}`; export r; \
17402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17404 for flag in $(EXTRA_HOST_FLAGS); do \
17405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17407 echo "Doing mostlyclean in zlib" ; \
17409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17411 "RANLIB=$${RANLIB}" \
17412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17417 .PHONY: maybe-clean-zlib clean-zlib
17421 @[ -f ./zlib/Makefile ] || exit 0; \
17422 r=`${PWD_COMMAND}`; export r; \
17423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17425 for flag in $(EXTRA_HOST_FLAGS); do \
17426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17428 echo "Doing clean in zlib" ; \
17430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17432 "RANLIB=$${RANLIB}" \
17433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17438 .PHONY: maybe-distclean-zlib distclean-zlib
17439 maybe-distclean-zlib:
17442 @[ -f ./zlib/Makefile ] || exit 0; \
17443 r=`${PWD_COMMAND}`; export r; \
17444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17446 for flag in $(EXTRA_HOST_FLAGS); do \
17447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17449 echo "Doing distclean in zlib" ; \
17451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17453 "RANLIB=$${RANLIB}" \
17454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17459 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
17460 maybe-maintainer-clean-zlib:
17462 maintainer-clean-zlib:
17463 @[ -f ./zlib/Makefile ] || exit 0; \
17464 r=`${PWD_COMMAND}`; export r; \
17465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17467 for flag in $(EXTRA_HOST_FLAGS); do \
17468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17470 echo "Doing maintainer-clean in zlib" ; \
17472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17474 "RANLIB=$${RANLIB}" \
17475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17476 maintainer-clean) \
17481 .PHONY: configure-gdb maybe-configure-gdb
17482 maybe-configure-gdb:
17484 @test ! -f gdb/Makefile || exit 0; \
17485 [ -d gdb ] || mkdir gdb; \
17486 r=`${PWD_COMMAND}`; export r; \
17487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17488 CC="$(CC)"; export CC; \
17489 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17490 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
17491 CXX="$(CXX)"; export CXX; \
17492 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17493 AR="$(AR)"; export AR; \
17494 AS="$(AS)"; export AS; \
17495 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17496 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17497 LD="$(LD)"; export LD; \
17498 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
17499 NM="$(NM)"; export NM; \
17500 RANLIB="$(RANLIB)"; export RANLIB; \
17501 WINDRES="$(WINDRES)"; export WINDRES; \
17502 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17503 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17504 echo Configuring in gdb; \
17505 cd gdb || exit 1; \
17506 case $(srcdir) in \
17508 srcdiroption="--srcdir=."; \
17510 /* | [A-Za-z]:[\\/]*) \
17511 srcdiroption="--srcdir=$(srcdir)/gdb"; \
17512 libsrcdir="$$s/gdb";; \
17514 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
17515 libsrcdir="$$s/gdb";; \
17517 $(SHELL) $${libsrcdir}/configure \
17518 $(HOST_CONFIGARGS) $${srcdiroption} \
17521 .PHONY: all-gdb maybe-all-gdb
17523 all-gdb: configure-gdb
17524 @r=`${PWD_COMMAND}`; export r; \
17525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17527 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
17529 .PHONY: check-gdb maybe-check-gdb
17533 @r=`${PWD_COMMAND}`; export r; \
17534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17536 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
17539 .PHONY: install-gdb maybe-install-gdb
17542 install-gdb: installdirs
17543 @r=`${PWD_COMMAND}`; export r; \
17544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17546 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
17549 # Other targets (info, dvi, etc.)
17551 .PHONY: maybe-info-gdb info-gdb
17556 @[ -f ./gdb/Makefile ] || exit 0; \
17557 r=`${PWD_COMMAND}`; export r; \
17558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17560 for flag in $(EXTRA_HOST_FLAGS); do \
17561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17563 echo "Doing info in gdb" ; \
17565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17567 "RANLIB=$${RANLIB}" \
17568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17573 .PHONY: maybe-dvi-gdb dvi-gdb
17578 @[ -f ./gdb/Makefile ] || exit 0; \
17579 r=`${PWD_COMMAND}`; export r; \
17580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17582 for flag in $(EXTRA_HOST_FLAGS); do \
17583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17585 echo "Doing dvi in gdb" ; \
17587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17589 "RANLIB=$${RANLIB}" \
17590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17595 .PHONY: maybe-TAGS-gdb TAGS-gdb
17600 @[ -f ./gdb/Makefile ] || exit 0; \
17601 r=`${PWD_COMMAND}`; export r; \
17602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17604 for flag in $(EXTRA_HOST_FLAGS); do \
17605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17607 echo "Doing TAGS in gdb" ; \
17609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17611 "RANLIB=$${RANLIB}" \
17612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17617 .PHONY: maybe-install-info-gdb install-info-gdb
17618 maybe-install-info-gdb:
17620 install-info-gdb: \
17623 @[ -f ./gdb/Makefile ] || exit 0; \
17624 r=`${PWD_COMMAND}`; export r; \
17625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17627 for flag in $(EXTRA_HOST_FLAGS); do \
17628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17630 echo "Doing install-info in gdb" ; \
17632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17634 "RANLIB=$${RANLIB}" \
17635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17640 .PHONY: maybe-installcheck-gdb installcheck-gdb
17641 maybe-installcheck-gdb:
17643 installcheck-gdb: \
17645 @[ -f ./gdb/Makefile ] || exit 0; \
17646 r=`${PWD_COMMAND}`; export r; \
17647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17649 for flag in $(EXTRA_HOST_FLAGS); do \
17650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17652 echo "Doing installcheck in gdb" ; \
17654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17656 "RANLIB=$${RANLIB}" \
17657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17662 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
17663 maybe-mostlyclean-gdb:
17666 @[ -f ./gdb/Makefile ] || exit 0; \
17667 r=`${PWD_COMMAND}`; export r; \
17668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17670 for flag in $(EXTRA_HOST_FLAGS); do \
17671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17673 echo "Doing mostlyclean in gdb" ; \
17675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17677 "RANLIB=$${RANLIB}" \
17678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17683 .PHONY: maybe-clean-gdb clean-gdb
17687 @[ -f ./gdb/Makefile ] || exit 0; \
17688 r=`${PWD_COMMAND}`; export r; \
17689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17691 for flag in $(EXTRA_HOST_FLAGS); do \
17692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17694 echo "Doing clean in gdb" ; \
17696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17698 "RANLIB=$${RANLIB}" \
17699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17704 .PHONY: maybe-distclean-gdb distclean-gdb
17705 maybe-distclean-gdb:
17708 @[ -f ./gdb/Makefile ] || exit 0; \
17709 r=`${PWD_COMMAND}`; export r; \
17710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17712 for flag in $(EXTRA_HOST_FLAGS); do \
17713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17715 echo "Doing distclean in gdb" ; \
17717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17719 "RANLIB=$${RANLIB}" \
17720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17725 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
17726 maybe-maintainer-clean-gdb:
17728 maintainer-clean-gdb:
17729 @[ -f ./gdb/Makefile ] || exit 0; \
17730 r=`${PWD_COMMAND}`; export r; \
17731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17733 for flag in $(EXTRA_HOST_FLAGS); do \
17734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17736 echo "Doing maintainer-clean in gdb" ; \
17738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17740 "RANLIB=$${RANLIB}" \
17741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17742 maintainer-clean) \
17747 .PHONY: configure-expect maybe-configure-expect
17748 maybe-configure-expect:
17750 @test ! -f expect/Makefile || exit 0; \
17751 [ -d expect ] || mkdir expect; \
17752 r=`${PWD_COMMAND}`; export r; \
17753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17754 CC="$(CC)"; export CC; \
17755 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17756 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
17757 CXX="$(CXX)"; export CXX; \
17758 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17759 AR="$(AR)"; export AR; \
17760 AS="$(AS)"; export AS; \
17761 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17762 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17763 LD="$(LD)"; export LD; \
17764 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
17765 NM="$(NM)"; export NM; \
17766 RANLIB="$(RANLIB)"; export RANLIB; \
17767 WINDRES="$(WINDRES)"; export WINDRES; \
17768 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17769 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17770 echo Configuring in expect; \
17771 cd expect || exit 1; \
17772 case $(srcdir) in \
17774 srcdiroption="--srcdir=."; \
17776 /* | [A-Za-z]:[\\/]*) \
17777 srcdiroption="--srcdir=$(srcdir)/expect"; \
17778 libsrcdir="$$s/expect";; \
17780 srcdiroption="--srcdir=../$(srcdir)/expect"; \
17781 libsrcdir="$$s/expect";; \
17783 $(SHELL) $${libsrcdir}/configure \
17784 $(HOST_CONFIGARGS) $${srcdiroption} \
17787 .PHONY: all-expect maybe-all-expect
17789 all-expect: configure-expect
17790 @r=`${PWD_COMMAND}`; export r; \
17791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17793 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
17795 .PHONY: check-expect maybe-check-expect
17796 maybe-check-expect:
17799 @r=`${PWD_COMMAND}`; export r; \
17800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17802 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
17805 .PHONY: install-expect maybe-install-expect
17806 maybe-install-expect:
17808 install-expect: installdirs
17809 @r=`${PWD_COMMAND}`; export r; \
17810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17812 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
17815 # Other targets (info, dvi, etc.)
17817 .PHONY: maybe-info-expect info-expect
17822 @[ -f ./expect/Makefile ] || exit 0; \
17823 r=`${PWD_COMMAND}`; export r; \
17824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17826 for flag in $(EXTRA_HOST_FLAGS); do \
17827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17829 echo "Doing info in expect" ; \
17831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17833 "RANLIB=$${RANLIB}" \
17834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17839 .PHONY: maybe-dvi-expect dvi-expect
17844 @[ -f ./expect/Makefile ] || exit 0; \
17845 r=`${PWD_COMMAND}`; export r; \
17846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17848 for flag in $(EXTRA_HOST_FLAGS); do \
17849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17851 echo "Doing dvi in expect" ; \
17853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17855 "RANLIB=$${RANLIB}" \
17856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17861 .PHONY: maybe-TAGS-expect TAGS-expect
17866 @[ -f ./expect/Makefile ] || exit 0; \
17867 r=`${PWD_COMMAND}`; export r; \
17868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17870 for flag in $(EXTRA_HOST_FLAGS); do \
17871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17873 echo "Doing TAGS in expect" ; \
17875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17877 "RANLIB=$${RANLIB}" \
17878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17883 .PHONY: maybe-install-info-expect install-info-expect
17884 maybe-install-info-expect:
17886 install-info-expect: \
17889 @[ -f ./expect/Makefile ] || exit 0; \
17890 r=`${PWD_COMMAND}`; export r; \
17891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17893 for flag in $(EXTRA_HOST_FLAGS); do \
17894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17896 echo "Doing install-info in expect" ; \
17898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17900 "RANLIB=$${RANLIB}" \
17901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17906 .PHONY: maybe-installcheck-expect installcheck-expect
17907 maybe-installcheck-expect:
17909 installcheck-expect: \
17911 @[ -f ./expect/Makefile ] || exit 0; \
17912 r=`${PWD_COMMAND}`; export r; \
17913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17915 for flag in $(EXTRA_HOST_FLAGS); do \
17916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17918 echo "Doing installcheck in expect" ; \
17920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17922 "RANLIB=$${RANLIB}" \
17923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17928 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
17929 maybe-mostlyclean-expect:
17931 mostlyclean-expect:
17932 @[ -f ./expect/Makefile ] || exit 0; \
17933 r=`${PWD_COMMAND}`; export r; \
17934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17936 for flag in $(EXTRA_HOST_FLAGS); do \
17937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17939 echo "Doing mostlyclean in expect" ; \
17941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17943 "RANLIB=$${RANLIB}" \
17944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17949 .PHONY: maybe-clean-expect clean-expect
17950 maybe-clean-expect:
17953 @[ -f ./expect/Makefile ] || exit 0; \
17954 r=`${PWD_COMMAND}`; export r; \
17955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17957 for flag in $(EXTRA_HOST_FLAGS); do \
17958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17960 echo "Doing clean in expect" ; \
17962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17964 "RANLIB=$${RANLIB}" \
17965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17970 .PHONY: maybe-distclean-expect distclean-expect
17971 maybe-distclean-expect:
17974 @[ -f ./expect/Makefile ] || exit 0; \
17975 r=`${PWD_COMMAND}`; export r; \
17976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17978 for flag in $(EXTRA_HOST_FLAGS); do \
17979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17981 echo "Doing distclean in expect" ; \
17983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17985 "RANLIB=$${RANLIB}" \
17986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17991 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
17992 maybe-maintainer-clean-expect:
17994 maintainer-clean-expect:
17995 @[ -f ./expect/Makefile ] || exit 0; \
17996 r=`${PWD_COMMAND}`; export r; \
17997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17999 for flag in $(EXTRA_HOST_FLAGS); do \
18000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18002 echo "Doing maintainer-clean in expect" ; \
18004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18006 "RANLIB=$${RANLIB}" \
18007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18008 maintainer-clean) \
18013 .PHONY: configure-guile maybe-configure-guile
18014 maybe-configure-guile:
18016 @test ! -f guile/Makefile || exit 0; \
18017 [ -d guile ] || mkdir guile; \
18018 r=`${PWD_COMMAND}`; export r; \
18019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18020 CC="$(CC)"; export CC; \
18021 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18022 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
18023 CXX="$(CXX)"; export CXX; \
18024 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18025 AR="$(AR)"; export AR; \
18026 AS="$(AS)"; export AS; \
18027 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18028 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18029 LD="$(LD)"; export LD; \
18030 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
18031 NM="$(NM)"; export NM; \
18032 RANLIB="$(RANLIB)"; export RANLIB; \
18033 WINDRES="$(WINDRES)"; export WINDRES; \
18034 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18035 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18036 echo Configuring in guile; \
18037 cd guile || exit 1; \
18038 case $(srcdir) in \
18040 srcdiroption="--srcdir=."; \
18042 /* | [A-Za-z]:[\\/]*) \
18043 srcdiroption="--srcdir=$(srcdir)/guile"; \
18044 libsrcdir="$$s/guile";; \
18046 srcdiroption="--srcdir=../$(srcdir)/guile"; \
18047 libsrcdir="$$s/guile";; \
18049 $(SHELL) $${libsrcdir}/configure \
18050 $(HOST_CONFIGARGS) $${srcdiroption} \
18053 .PHONY: all-guile maybe-all-guile
18055 all-guile: configure-guile
18056 @r=`${PWD_COMMAND}`; export r; \
18057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18059 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
18061 .PHONY: check-guile maybe-check-guile
18065 @r=`${PWD_COMMAND}`; export r; \
18066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18068 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
18071 .PHONY: install-guile maybe-install-guile
18072 maybe-install-guile:
18074 install-guile: installdirs
18075 @r=`${PWD_COMMAND}`; export r; \
18076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18078 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
18081 # Other targets (info, dvi, etc.)
18083 .PHONY: maybe-info-guile info-guile
18088 @[ -f ./guile/Makefile ] || exit 0; \
18089 r=`${PWD_COMMAND}`; export r; \
18090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18092 for flag in $(EXTRA_HOST_FLAGS); do \
18093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18095 echo "Doing info in guile" ; \
18097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18099 "RANLIB=$${RANLIB}" \
18100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18105 .PHONY: maybe-dvi-guile dvi-guile
18110 @[ -f ./guile/Makefile ] || exit 0; \
18111 r=`${PWD_COMMAND}`; export r; \
18112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18114 for flag in $(EXTRA_HOST_FLAGS); do \
18115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18117 echo "Doing dvi in guile" ; \
18119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18121 "RANLIB=$${RANLIB}" \
18122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18127 .PHONY: maybe-TAGS-guile TAGS-guile
18132 @[ -f ./guile/Makefile ] || exit 0; \
18133 r=`${PWD_COMMAND}`; export r; \
18134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18136 for flag in $(EXTRA_HOST_FLAGS); do \
18137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18139 echo "Doing TAGS in guile" ; \
18141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18143 "RANLIB=$${RANLIB}" \
18144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18149 .PHONY: maybe-install-info-guile install-info-guile
18150 maybe-install-info-guile:
18152 install-info-guile: \
18155 @[ -f ./guile/Makefile ] || exit 0; \
18156 r=`${PWD_COMMAND}`; export r; \
18157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18159 for flag in $(EXTRA_HOST_FLAGS); do \
18160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18162 echo "Doing install-info in guile" ; \
18164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18166 "RANLIB=$${RANLIB}" \
18167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18172 .PHONY: maybe-installcheck-guile installcheck-guile
18173 maybe-installcheck-guile:
18175 installcheck-guile: \
18177 @[ -f ./guile/Makefile ] || exit 0; \
18178 r=`${PWD_COMMAND}`; export r; \
18179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18181 for flag in $(EXTRA_HOST_FLAGS); do \
18182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18184 echo "Doing installcheck in guile" ; \
18186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18188 "RANLIB=$${RANLIB}" \
18189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18194 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
18195 maybe-mostlyclean-guile:
18198 @[ -f ./guile/Makefile ] || exit 0; \
18199 r=`${PWD_COMMAND}`; export r; \
18200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18202 for flag in $(EXTRA_HOST_FLAGS); do \
18203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18205 echo "Doing mostlyclean in guile" ; \
18207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18209 "RANLIB=$${RANLIB}" \
18210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18215 .PHONY: maybe-clean-guile clean-guile
18219 @[ -f ./guile/Makefile ] || exit 0; \
18220 r=`${PWD_COMMAND}`; export r; \
18221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18223 for flag in $(EXTRA_HOST_FLAGS); do \
18224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18226 echo "Doing clean in guile" ; \
18228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18230 "RANLIB=$${RANLIB}" \
18231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18236 .PHONY: maybe-distclean-guile distclean-guile
18237 maybe-distclean-guile:
18240 @[ -f ./guile/Makefile ] || exit 0; \
18241 r=`${PWD_COMMAND}`; export r; \
18242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18244 for flag in $(EXTRA_HOST_FLAGS); do \
18245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18247 echo "Doing distclean in guile" ; \
18249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18251 "RANLIB=$${RANLIB}" \
18252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18257 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
18258 maybe-maintainer-clean-guile:
18260 maintainer-clean-guile:
18261 @[ -f ./guile/Makefile ] || exit 0; \
18262 r=`${PWD_COMMAND}`; export r; \
18263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18265 for flag in $(EXTRA_HOST_FLAGS); do \
18266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18268 echo "Doing maintainer-clean in guile" ; \
18270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18272 "RANLIB=$${RANLIB}" \
18273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18274 maintainer-clean) \
18279 .PHONY: configure-tk maybe-configure-tk
18280 maybe-configure-tk:
18282 @test ! -f tk/Makefile || exit 0; \
18283 [ -d tk ] || mkdir tk; \
18284 r=`${PWD_COMMAND}`; export r; \
18285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18286 CC="$(CC)"; export CC; \
18287 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18288 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
18289 CXX="$(CXX)"; export CXX; \
18290 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18291 AR="$(AR)"; export AR; \
18292 AS="$(AS)"; export AS; \
18293 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18294 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18295 LD="$(LD)"; export LD; \
18296 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
18297 NM="$(NM)"; export NM; \
18298 RANLIB="$(RANLIB)"; export RANLIB; \
18299 WINDRES="$(WINDRES)"; export WINDRES; \
18300 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18301 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18302 echo Configuring in tk; \
18304 case $(srcdir) in \
18306 srcdiroption="--srcdir=."; \
18308 /* | [A-Za-z]:[\\/]*) \
18309 srcdiroption="--srcdir=$(srcdir)/tk"; \
18310 libsrcdir="$$s/tk";; \
18312 srcdiroption="--srcdir=../$(srcdir)/tk"; \
18313 libsrcdir="$$s/tk";; \
18315 $(SHELL) $${libsrcdir}/configure \
18316 $(HOST_CONFIGARGS) $${srcdiroption} \
18319 .PHONY: all-tk maybe-all-tk
18321 all-tk: configure-tk
18322 @r=`${PWD_COMMAND}`; export r; \
18323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18325 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
18327 .PHONY: check-tk maybe-check-tk
18331 @r=`${PWD_COMMAND}`; export r; \
18332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18334 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
18337 .PHONY: install-tk maybe-install-tk
18340 install-tk: installdirs
18341 @r=`${PWD_COMMAND}`; export r; \
18342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18344 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
18347 # Other targets (info, dvi, etc.)
18349 .PHONY: maybe-info-tk info-tk
18354 @[ -f ./tk/Makefile ] || exit 0; \
18355 r=`${PWD_COMMAND}`; export r; \
18356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18358 for flag in $(EXTRA_HOST_FLAGS); do \
18359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18361 echo "Doing info in tk" ; \
18363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18365 "RANLIB=$${RANLIB}" \
18366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18371 .PHONY: maybe-dvi-tk dvi-tk
18376 @[ -f ./tk/Makefile ] || exit 0; \
18377 r=`${PWD_COMMAND}`; export r; \
18378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18380 for flag in $(EXTRA_HOST_FLAGS); do \
18381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18383 echo "Doing dvi in tk" ; \
18385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18387 "RANLIB=$${RANLIB}" \
18388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18393 .PHONY: maybe-TAGS-tk TAGS-tk
18398 @[ -f ./tk/Makefile ] || exit 0; \
18399 r=`${PWD_COMMAND}`; export r; \
18400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18402 for flag in $(EXTRA_HOST_FLAGS); do \
18403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18405 echo "Doing TAGS in tk" ; \
18407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18409 "RANLIB=$${RANLIB}" \
18410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18415 .PHONY: maybe-install-info-tk install-info-tk
18416 maybe-install-info-tk:
18421 @[ -f ./tk/Makefile ] || exit 0; \
18422 r=`${PWD_COMMAND}`; export r; \
18423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18425 for flag in $(EXTRA_HOST_FLAGS); do \
18426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18428 echo "Doing install-info in tk" ; \
18430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18432 "RANLIB=$${RANLIB}" \
18433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18438 .PHONY: maybe-installcheck-tk installcheck-tk
18439 maybe-installcheck-tk:
18443 @[ -f ./tk/Makefile ] || exit 0; \
18444 r=`${PWD_COMMAND}`; export r; \
18445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18447 for flag in $(EXTRA_HOST_FLAGS); do \
18448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18450 echo "Doing installcheck in tk" ; \
18452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18454 "RANLIB=$${RANLIB}" \
18455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18460 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
18461 maybe-mostlyclean-tk:
18464 @[ -f ./tk/Makefile ] || exit 0; \
18465 r=`${PWD_COMMAND}`; export r; \
18466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18468 for flag in $(EXTRA_HOST_FLAGS); do \
18469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18471 echo "Doing mostlyclean in tk" ; \
18473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18475 "RANLIB=$${RANLIB}" \
18476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18481 .PHONY: maybe-clean-tk clean-tk
18485 @[ -f ./tk/Makefile ] || exit 0; \
18486 r=`${PWD_COMMAND}`; export r; \
18487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18489 for flag in $(EXTRA_HOST_FLAGS); do \
18490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18492 echo "Doing clean in tk" ; \
18494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18496 "RANLIB=$${RANLIB}" \
18497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18502 .PHONY: maybe-distclean-tk distclean-tk
18503 maybe-distclean-tk:
18506 @[ -f ./tk/Makefile ] || exit 0; \
18507 r=`${PWD_COMMAND}`; export r; \
18508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18510 for flag in $(EXTRA_HOST_FLAGS); do \
18511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18513 echo "Doing distclean in tk" ; \
18515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18517 "RANLIB=$${RANLIB}" \
18518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18523 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
18524 maybe-maintainer-clean-tk:
18526 maintainer-clean-tk:
18527 @[ -f ./tk/Makefile ] || exit 0; \
18528 r=`${PWD_COMMAND}`; export r; \
18529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18531 for flag in $(EXTRA_HOST_FLAGS); do \
18532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18534 echo "Doing maintainer-clean in tk" ; \
18536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18538 "RANLIB=$${RANLIB}" \
18539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18540 maintainer-clean) \
18545 .PHONY: configure-tix maybe-configure-tix
18546 maybe-configure-tix:
18548 @test ! -f tix/Makefile || exit 0; \
18549 [ -d tix ] || mkdir tix; \
18550 r=`${PWD_COMMAND}`; export r; \
18551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18552 CC="$(CC)"; export CC; \
18553 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18554 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
18555 CXX="$(CXX)"; export CXX; \
18556 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18557 AR="$(AR)"; export AR; \
18558 AS="$(AS)"; export AS; \
18559 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18560 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18561 LD="$(LD)"; export LD; \
18562 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
18563 NM="$(NM)"; export NM; \
18564 RANLIB="$(RANLIB)"; export RANLIB; \
18565 WINDRES="$(WINDRES)"; export WINDRES; \
18566 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18567 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18568 echo Configuring in tix; \
18569 cd tix || exit 1; \
18570 case $(srcdir) in \
18572 srcdiroption="--srcdir=."; \
18574 /* | [A-Za-z]:[\\/]*) \
18575 srcdiroption="--srcdir=$(srcdir)/tix"; \
18576 libsrcdir="$$s/tix";; \
18578 srcdiroption="--srcdir=../$(srcdir)/tix"; \
18579 libsrcdir="$$s/tix";; \
18581 $(SHELL) $${libsrcdir}/configure \
18582 $(HOST_CONFIGARGS) $${srcdiroption} \
18585 .PHONY: all-tix maybe-all-tix
18587 all-tix: configure-tix
18588 @r=`${PWD_COMMAND}`; export r; \
18589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18591 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
18593 .PHONY: check-tix maybe-check-tix
18597 @r=`${PWD_COMMAND}`; export r; \
18598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18600 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
18603 .PHONY: install-tix maybe-install-tix
18606 install-tix: installdirs
18607 @r=`${PWD_COMMAND}`; export r; \
18608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18610 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
18613 # Other targets (info, dvi, etc.)
18615 .PHONY: maybe-info-tix info-tix
18620 @[ -f ./tix/Makefile ] || exit 0; \
18621 r=`${PWD_COMMAND}`; export r; \
18622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18624 for flag in $(EXTRA_HOST_FLAGS); do \
18625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18627 echo "Doing info in tix" ; \
18629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18631 "RANLIB=$${RANLIB}" \
18632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18637 .PHONY: maybe-dvi-tix dvi-tix
18642 @[ -f ./tix/Makefile ] || exit 0; \
18643 r=`${PWD_COMMAND}`; export r; \
18644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18646 for flag in $(EXTRA_HOST_FLAGS); do \
18647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18649 echo "Doing dvi in tix" ; \
18651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18653 "RANLIB=$${RANLIB}" \
18654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18659 .PHONY: maybe-TAGS-tix TAGS-tix
18664 @[ -f ./tix/Makefile ] || exit 0; \
18665 r=`${PWD_COMMAND}`; export r; \
18666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18668 for flag in $(EXTRA_HOST_FLAGS); do \
18669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18671 echo "Doing TAGS in tix" ; \
18673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18675 "RANLIB=$${RANLIB}" \
18676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18681 .PHONY: maybe-install-info-tix install-info-tix
18682 maybe-install-info-tix:
18684 install-info-tix: \
18687 @[ -f ./tix/Makefile ] || exit 0; \
18688 r=`${PWD_COMMAND}`; export r; \
18689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18691 for flag in $(EXTRA_HOST_FLAGS); do \
18692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18694 echo "Doing install-info in tix" ; \
18696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18698 "RANLIB=$${RANLIB}" \
18699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18704 .PHONY: maybe-installcheck-tix installcheck-tix
18705 maybe-installcheck-tix:
18707 installcheck-tix: \
18709 @[ -f ./tix/Makefile ] || exit 0; \
18710 r=`${PWD_COMMAND}`; export r; \
18711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18713 for flag in $(EXTRA_HOST_FLAGS); do \
18714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18716 echo "Doing installcheck in tix" ; \
18718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18720 "RANLIB=$${RANLIB}" \
18721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18726 .PHONY: maybe-mostlyclean-tix mostlyclean-tix
18727 maybe-mostlyclean-tix:
18730 @[ -f ./tix/Makefile ] || exit 0; \
18731 r=`${PWD_COMMAND}`; export r; \
18732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18734 for flag in $(EXTRA_HOST_FLAGS); do \
18735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18737 echo "Doing mostlyclean in tix" ; \
18739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18741 "RANLIB=$${RANLIB}" \
18742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18747 .PHONY: maybe-clean-tix clean-tix
18751 @[ -f ./tix/Makefile ] || exit 0; \
18752 r=`${PWD_COMMAND}`; export r; \
18753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18755 for flag in $(EXTRA_HOST_FLAGS); do \
18756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18758 echo "Doing clean in tix" ; \
18760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18762 "RANLIB=$${RANLIB}" \
18763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18768 .PHONY: maybe-distclean-tix distclean-tix
18769 maybe-distclean-tix:
18772 @[ -f ./tix/Makefile ] || exit 0; \
18773 r=`${PWD_COMMAND}`; export r; \
18774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18776 for flag in $(EXTRA_HOST_FLAGS); do \
18777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18779 echo "Doing distclean in tix" ; \
18781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18783 "RANLIB=$${RANLIB}" \
18784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18789 .PHONY: maybe-maintainer-clean-tix maintainer-clean-tix
18790 maybe-maintainer-clean-tix:
18792 maintainer-clean-tix:
18793 @[ -f ./tix/Makefile ] || exit 0; \
18794 r=`${PWD_COMMAND}`; export r; \
18795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18797 for flag in $(EXTRA_HOST_FLAGS); do \
18798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18800 echo "Doing maintainer-clean in tix" ; \
18802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18804 "RANLIB=$${RANLIB}" \
18805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18806 maintainer-clean) \
18811 .PHONY: configure-libtermcap maybe-configure-libtermcap
18812 maybe-configure-libtermcap:
18813 configure-libtermcap:
18814 @test ! -f libtermcap/Makefile || exit 0; \
18815 [ -d libtermcap ] || mkdir libtermcap; \
18816 r=`${PWD_COMMAND}`; export r; \
18817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18818 CC="$(CC)"; export CC; \
18819 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18820 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
18821 CXX="$(CXX)"; export CXX; \
18822 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18823 AR="$(AR)"; export AR; \
18824 AS="$(AS)"; export AS; \
18825 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18826 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18827 LD="$(LD)"; export LD; \
18828 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
18829 NM="$(NM)"; export NM; \
18830 RANLIB="$(RANLIB)"; export RANLIB; \
18831 WINDRES="$(WINDRES)"; export WINDRES; \
18832 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18833 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18834 echo Configuring in libtermcap; \
18835 cd libtermcap || exit 1; \
18836 case $(srcdir) in \
18838 srcdiroption="--srcdir=."; \
18840 /* | [A-Za-z]:[\\/]*) \
18841 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
18842 libsrcdir="$$s/libtermcap";; \
18844 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
18845 libsrcdir="$$s/libtermcap";; \
18847 $(SHELL) $${libsrcdir}/configure \
18848 $(HOST_CONFIGARGS) $${srcdiroption} \
18851 .PHONY: all-libtermcap maybe-all-libtermcap
18852 maybe-all-libtermcap:
18853 all-libtermcap: configure-libtermcap
18854 @r=`${PWD_COMMAND}`; export r; \
18855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18857 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) all)
18859 .PHONY: check-libtermcap maybe-check-libtermcap
18860 maybe-check-libtermcap:
18865 .PHONY: install-libtermcap maybe-install-libtermcap
18866 maybe-install-libtermcap:
18868 install-libtermcap: installdirs
18869 @r=`${PWD_COMMAND}`; export r; \
18870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18872 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
18875 # Other targets (info, dvi, etc.)
18877 .PHONY: maybe-info-libtermcap info-libtermcap
18878 maybe-info-libtermcap:
18881 configure-libtermcap
18882 @[ -f ./libtermcap/Makefile ] || exit 0; \
18883 r=`${PWD_COMMAND}`; export r; \
18884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18886 for flag in $(EXTRA_HOST_FLAGS); do \
18887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18889 echo "Doing info in libtermcap" ; \
18890 (cd libtermcap && \
18891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18893 "RANLIB=$${RANLIB}" \
18894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18899 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
18900 maybe-dvi-libtermcap:
18903 configure-libtermcap
18904 @[ -f ./libtermcap/Makefile ] || exit 0; \
18905 r=`${PWD_COMMAND}`; export r; \
18906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18908 for flag in $(EXTRA_HOST_FLAGS); do \
18909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18911 echo "Doing dvi in libtermcap" ; \
18912 (cd libtermcap && \
18913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18915 "RANLIB=$${RANLIB}" \
18916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18921 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
18922 maybe-TAGS-libtermcap:
18925 configure-libtermcap
18926 @[ -f ./libtermcap/Makefile ] || exit 0; \
18927 r=`${PWD_COMMAND}`; export r; \
18928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18930 for flag in $(EXTRA_HOST_FLAGS); do \
18931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18933 echo "Doing TAGS in libtermcap" ; \
18934 (cd libtermcap && \
18935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18937 "RANLIB=$${RANLIB}" \
18938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18943 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
18944 maybe-install-info-libtermcap:
18946 install-info-libtermcap: \
18947 configure-libtermcap \
18949 @[ -f ./libtermcap/Makefile ] || exit 0; \
18950 r=`${PWD_COMMAND}`; export r; \
18951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18953 for flag in $(EXTRA_HOST_FLAGS); do \
18954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18956 echo "Doing install-info in libtermcap" ; \
18957 (cd libtermcap && \
18958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18960 "RANLIB=$${RANLIB}" \
18961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18966 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
18967 maybe-installcheck-libtermcap:
18969 installcheck-libtermcap: \
18970 configure-libtermcap
18971 @[ -f ./libtermcap/Makefile ] || exit 0; \
18972 r=`${PWD_COMMAND}`; export r; \
18973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18975 for flag in $(EXTRA_HOST_FLAGS); do \
18976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18978 echo "Doing installcheck in libtermcap" ; \
18979 (cd libtermcap && \
18980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18982 "RANLIB=$${RANLIB}" \
18983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18988 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
18989 maybe-mostlyclean-libtermcap:
18991 # libtermcap doesn't support mostlyclean.
18992 mostlyclean-libtermcap:
18995 .PHONY: maybe-clean-libtermcap clean-libtermcap
18996 maybe-clean-libtermcap:
18998 # libtermcap doesn't support clean.
19002 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
19003 maybe-distclean-libtermcap:
19005 # libtermcap doesn't support distclean.
19006 distclean-libtermcap:
19009 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
19010 maybe-maintainer-clean-libtermcap:
19012 # libtermcap doesn't support maintainer-clean.
19013 maintainer-clean-libtermcap:
19017 .PHONY: configure-utils maybe-configure-utils
19018 maybe-configure-utils:
19020 @test ! -f utils/Makefile || exit 0; \
19021 [ -d utils ] || mkdir utils; \
19022 r=`${PWD_COMMAND}`; export r; \
19023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19024 CC="$(CC)"; export CC; \
19025 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19026 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
19027 CXX="$(CXX)"; export CXX; \
19028 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19029 AR="$(AR)"; export AR; \
19030 AS="$(AS)"; export AS; \
19031 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19032 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19033 LD="$(LD)"; export LD; \
19034 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
19035 NM="$(NM)"; export NM; \
19036 RANLIB="$(RANLIB)"; export RANLIB; \
19037 WINDRES="$(WINDRES)"; export WINDRES; \
19038 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19039 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19040 echo Configuring in utils; \
19041 cd utils || exit 1; \
19042 case $(srcdir) in \
19044 srcdiroption="--srcdir=."; \
19046 /* | [A-Za-z]:[\\/]*) \
19047 srcdiroption="--srcdir=$(srcdir)/utils"; \
19048 libsrcdir="$$s/utils";; \
19050 srcdiroption="--srcdir=../$(srcdir)/utils"; \
19051 libsrcdir="$$s/utils";; \
19053 $(SHELL) $${libsrcdir}/configure \
19054 $(HOST_CONFIGARGS) $${srcdiroption} \
19057 .PHONY: all-utils maybe-all-utils
19059 all-utils: configure-utils
19060 @r=`${PWD_COMMAND}`; export r; \
19061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19063 (cd utils && $(MAKE) $(FLAGS_TO_PASS) all)
19065 .PHONY: check-utils maybe-check-utils
19071 .PHONY: install-utils maybe-install-utils
19072 maybe-install-utils:
19074 install-utils: installdirs
19075 @r=`${PWD_COMMAND}`; export r; \
19076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19078 (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
19081 # Other targets (info, dvi, etc.)
19083 .PHONY: maybe-info-utils info-utils
19088 @[ -f ./utils/Makefile ] || exit 0; \
19089 r=`${PWD_COMMAND}`; export r; \
19090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19092 for flag in $(EXTRA_HOST_FLAGS); do \
19093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19095 echo "Doing info in utils" ; \
19097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19099 "RANLIB=$${RANLIB}" \
19100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19105 .PHONY: maybe-dvi-utils dvi-utils
19110 @[ -f ./utils/Makefile ] || exit 0; \
19111 r=`${PWD_COMMAND}`; export r; \
19112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19114 for flag in $(EXTRA_HOST_FLAGS); do \
19115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19117 echo "Doing dvi in utils" ; \
19119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19121 "RANLIB=$${RANLIB}" \
19122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19127 .PHONY: maybe-TAGS-utils TAGS-utils
19132 @[ -f ./utils/Makefile ] || exit 0; \
19133 r=`${PWD_COMMAND}`; export r; \
19134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19136 for flag in $(EXTRA_HOST_FLAGS); do \
19137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19139 echo "Doing TAGS in utils" ; \
19141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19143 "RANLIB=$${RANLIB}" \
19144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19149 .PHONY: maybe-install-info-utils install-info-utils
19150 maybe-install-info-utils:
19152 install-info-utils: \
19155 @[ -f ./utils/Makefile ] || exit 0; \
19156 r=`${PWD_COMMAND}`; export r; \
19157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19159 for flag in $(EXTRA_HOST_FLAGS); do \
19160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19162 echo "Doing install-info in utils" ; \
19164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19166 "RANLIB=$${RANLIB}" \
19167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19172 .PHONY: maybe-installcheck-utils installcheck-utils
19173 maybe-installcheck-utils:
19175 installcheck-utils: \
19177 @[ -f ./utils/Makefile ] || exit 0; \
19178 r=`${PWD_COMMAND}`; export r; \
19179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19181 for flag in $(EXTRA_HOST_FLAGS); do \
19182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19184 echo "Doing installcheck in utils" ; \
19186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19188 "RANLIB=$${RANLIB}" \
19189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19194 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
19195 maybe-mostlyclean-utils:
19198 @[ -f ./utils/Makefile ] || exit 0; \
19199 r=`${PWD_COMMAND}`; export r; \
19200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19202 for flag in $(EXTRA_HOST_FLAGS); do \
19203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19205 echo "Doing mostlyclean in utils" ; \
19207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19209 "RANLIB=$${RANLIB}" \
19210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19215 .PHONY: maybe-clean-utils clean-utils
19219 @[ -f ./utils/Makefile ] || exit 0; \
19220 r=`${PWD_COMMAND}`; export r; \
19221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19223 for flag in $(EXTRA_HOST_FLAGS); do \
19224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19226 echo "Doing clean in utils" ; \
19228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19230 "RANLIB=$${RANLIB}" \
19231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19236 .PHONY: maybe-distclean-utils distclean-utils
19237 maybe-distclean-utils:
19240 @[ -f ./utils/Makefile ] || exit 0; \
19241 r=`${PWD_COMMAND}`; export r; \
19242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19244 for flag in $(EXTRA_HOST_FLAGS); do \
19245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19247 echo "Doing distclean in utils" ; \
19249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19251 "RANLIB=$${RANLIB}" \
19252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19257 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
19258 maybe-maintainer-clean-utils:
19260 maintainer-clean-utils:
19261 @[ -f ./utils/Makefile ] || exit 0; \
19262 r=`${PWD_COMMAND}`; export r; \
19263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19265 for flag in $(EXTRA_HOST_FLAGS); do \
19266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19268 echo "Doing maintainer-clean in utils" ; \
19270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19272 "RANLIB=$${RANLIB}" \
19273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19274 maintainer-clean) \
19280 # ---------------------------------------
19281 # Modules which run on the target machine
19282 # ---------------------------------------
19284 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
19285 maybe-configure-target-libstdc++-v3:
19287 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
19288 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
19289 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
19290 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
19291 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
19293 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
19294 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
19295 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
19296 r=`${PWD_COMMAND}`; export r; \
19297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19299 AR="$(AR_FOR_TARGET)"; export AR; \
19300 AS="$(AS_FOR_TARGET)"; export AS; \
19301 CC="$(CC_FOR_TARGET)"; export CC; \
19302 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
19303 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
19304 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
19305 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
19306 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \
19307 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
19308 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
19309 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
19310 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
19311 LD="$(LD_FOR_TARGET)"; export LD; \
19312 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
19313 NM="$(NM_FOR_TARGET)"; export NM; \
19314 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
19315 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
19316 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
19317 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
19318 case $(srcdir) in \
19319 /* | [A-Za-z]:[\\/]*) \
19320 topdir=$(srcdir) ;; \
19322 case "$(TARGET_SUBDIR)" in \
19323 .) topdir="../$(srcdir)" ;; \
19324 *) topdir="../../$(srcdir)" ;; \
19327 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
19328 libsrcdir="$$s/libstdc++-v3"; \
19329 rm -f no-such-file || : ; \
19330 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
19331 $(TARGET_CONFIGARGS) $${srcdiroption} \
19332 --with-target-subdir="$(TARGET_SUBDIR)" \
19335 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
19336 maybe-all-target-libstdc++-v3:
19337 all-target-libstdc++-v3: configure-target-libstdc++-v3
19338 @r=`${PWD_COMMAND}`; export r; \
19339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19341 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19342 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
19344 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
19345 maybe-check-target-libstdc++-v3:
19347 check-target-libstdc++-v3:
19348 @r=`${PWD_COMMAND}`; export r; \
19349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19351 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19352 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
19355 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
19356 maybe-install-target-libstdc++-v3:
19358 install-target-libstdc++-v3: installdirs
19359 @r=`${PWD_COMMAND}`; export r; \
19360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19362 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19363 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
19366 # Other targets (info, dvi, etc.)
19368 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
19369 maybe-info-target-libstdc++-v3:
19371 info-target-libstdc++-v3: \
19372 configure-target-libstdc++-v3
19373 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19374 r=`${PWD_COMMAND}`; export r; \
19375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19377 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19378 for flag in $(EXTRA_TARGET_FLAGS); do \
19379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19381 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19384 "RANLIB=$${RANLIB}" \
19385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19390 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
19391 maybe-dvi-target-libstdc++-v3:
19393 dvi-target-libstdc++-v3: \
19394 configure-target-libstdc++-v3
19395 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19396 r=`${PWD_COMMAND}`; export r; \
19397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19399 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19400 for flag in $(EXTRA_TARGET_FLAGS); do \
19401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19403 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19406 "RANLIB=$${RANLIB}" \
19407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19412 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
19413 maybe-TAGS-target-libstdc++-v3:
19415 TAGS-target-libstdc++-v3: \
19416 configure-target-libstdc++-v3
19417 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19418 r=`${PWD_COMMAND}`; export r; \
19419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19421 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19422 for flag in $(EXTRA_TARGET_FLAGS); do \
19423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19425 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19428 "RANLIB=$${RANLIB}" \
19429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19434 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
19435 maybe-install-info-target-libstdc++-v3:
19437 install-info-target-libstdc++-v3: \
19438 configure-target-libstdc++-v3 \
19439 info-target-libstdc++-v3
19440 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19441 r=`${PWD_COMMAND}`; export r; \
19442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19444 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19445 for flag in $(EXTRA_TARGET_FLAGS); do \
19446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19448 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19451 "RANLIB=$${RANLIB}" \
19452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19457 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
19458 maybe-installcheck-target-libstdc++-v3:
19460 installcheck-target-libstdc++-v3: \
19461 configure-target-libstdc++-v3
19462 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19463 r=`${PWD_COMMAND}`; export r; \
19464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19466 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19467 for flag in $(EXTRA_TARGET_FLAGS); do \
19468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19470 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19473 "RANLIB=$${RANLIB}" \
19474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19479 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
19480 maybe-mostlyclean-target-libstdc++-v3:
19482 mostlyclean-target-libstdc++-v3:
19483 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19484 r=`${PWD_COMMAND}`; export r; \
19485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19487 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19488 for flag in $(EXTRA_TARGET_FLAGS); do \
19489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19491 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19494 "RANLIB=$${RANLIB}" \
19495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19500 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
19501 maybe-clean-target-libstdc++-v3:
19503 clean-target-libstdc++-v3:
19504 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19505 r=`${PWD_COMMAND}`; export r; \
19506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19508 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19509 for flag in $(EXTRA_TARGET_FLAGS); do \
19510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19512 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19515 "RANLIB=$${RANLIB}" \
19516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19521 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
19522 maybe-distclean-target-libstdc++-v3:
19524 distclean-target-libstdc++-v3:
19525 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19526 r=`${PWD_COMMAND}`; export r; \
19527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19529 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19530 for flag in $(EXTRA_TARGET_FLAGS); do \
19531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19533 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19536 "RANLIB=$${RANLIB}" \
19537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19542 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
19543 maybe-maintainer-clean-target-libstdc++-v3:
19545 maintainer-clean-target-libstdc++-v3:
19546 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19547 r=`${PWD_COMMAND}`; export r; \
19548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19550 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19551 for flag in $(EXTRA_TARGET_FLAGS); do \
19552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19554 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19557 "RANLIB=$${RANLIB}" \
19558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19559 maintainer-clean) \
19564 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
19565 maybe-configure-target-libmudflap:
19567 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
19568 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
19569 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
19570 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
19571 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
19573 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
19574 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
19575 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
19576 r=`${PWD_COMMAND}`; export r; \
19577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19579 AR="$(AR_FOR_TARGET)"; export AR; \
19580 AS="$(AS_FOR_TARGET)"; export AS; \
19581 CC="$(CC_FOR_TARGET)"; export CC; \
19582 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
19583 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
19584 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
19585 CXX="$(CXX_FOR_TARGET)"; export CXX; \
19586 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
19587 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
19588 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
19589 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
19590 LD="$(LD_FOR_TARGET)"; export LD; \
19591 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
19592 NM="$(NM_FOR_TARGET)"; export NM; \
19593 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
19594 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
19595 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
19596 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
19597 case $(srcdir) in \
19598 /* | [A-Za-z]:[\\/]*) \
19599 topdir=$(srcdir) ;; \
19601 case "$(TARGET_SUBDIR)" in \
19602 .) topdir="../$(srcdir)" ;; \
19603 *) topdir="../../$(srcdir)" ;; \
19606 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
19607 libsrcdir="$$s/libmudflap"; \
19608 rm -f no-such-file || : ; \
19609 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
19610 $(TARGET_CONFIGARGS) $${srcdiroption} \
19611 --with-target-subdir="$(TARGET_SUBDIR)" \
19614 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
19615 maybe-all-target-libmudflap:
19616 all-target-libmudflap: configure-target-libmudflap
19617 @r=`${PWD_COMMAND}`; export r; \
19618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19620 (cd $(TARGET_SUBDIR)/libmudflap && \
19621 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
19623 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
19624 maybe-check-target-libmudflap:
19626 check-target-libmudflap:
19627 @r=`${PWD_COMMAND}`; export r; \
19628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19630 (cd $(TARGET_SUBDIR)/libmudflap && \
19631 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
19634 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
19635 maybe-install-target-libmudflap:
19637 install-target-libmudflap: installdirs
19638 @r=`${PWD_COMMAND}`; export r; \
19639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19641 (cd $(TARGET_SUBDIR)/libmudflap && \
19642 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
19645 # Other targets (info, dvi, etc.)
19647 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
19648 maybe-info-target-libmudflap:
19650 info-target-libmudflap: \
19651 configure-target-libmudflap
19652 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
19653 r=`${PWD_COMMAND}`; export r; \
19654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19656 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
19657 for flag in $(EXTRA_TARGET_FLAGS); do \
19658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19660 (cd $(TARGET_SUBDIR)/libmudflap && \
19661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19663 "RANLIB=$${RANLIB}" \
19664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19669 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
19670 maybe-dvi-target-libmudflap:
19672 dvi-target-libmudflap: \
19673 configure-target-libmudflap
19674 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
19675 r=`${PWD_COMMAND}`; export r; \
19676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19678 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
19679 for flag in $(EXTRA_TARGET_FLAGS); do \
19680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19682 (cd $(TARGET_SUBDIR)/libmudflap && \
19683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19685 "RANLIB=$${RANLIB}" \
19686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19691 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
19692 maybe-TAGS-target-libmudflap:
19694 TAGS-target-libmudflap: \
19695 configure-target-libmudflap
19696 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
19697 r=`${PWD_COMMAND}`; export r; \
19698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19700 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
19701 for flag in $(EXTRA_TARGET_FLAGS); do \
19702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19704 (cd $(TARGET_SUBDIR)/libmudflap && \
19705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19707 "RANLIB=$${RANLIB}" \
19708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19713 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
19714 maybe-install-info-target-libmudflap:
19716 install-info-target-libmudflap: \
19717 configure-target-libmudflap \
19718 info-target-libmudflap
19719 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
19720 r=`${PWD_COMMAND}`; export r; \
19721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19723 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
19724 for flag in $(EXTRA_TARGET_FLAGS); do \
19725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19727 (cd $(TARGET_SUBDIR)/libmudflap && \
19728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19730 "RANLIB=$${RANLIB}" \
19731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19736 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
19737 maybe-installcheck-target-libmudflap:
19739 installcheck-target-libmudflap: \
19740 configure-target-libmudflap
19741 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
19742 r=`${PWD_COMMAND}`; export r; \
19743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19745 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
19746 for flag in $(EXTRA_TARGET_FLAGS); do \
19747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19749 (cd $(TARGET_SUBDIR)/libmudflap && \
19750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19752 "RANLIB=$${RANLIB}" \
19753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19758 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
19759 maybe-mostlyclean-target-libmudflap:
19761 mostlyclean-target-libmudflap:
19762 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
19763 r=`${PWD_COMMAND}`; export r; \
19764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19766 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
19767 for flag in $(EXTRA_TARGET_FLAGS); do \
19768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19770 (cd $(TARGET_SUBDIR)/libmudflap && \
19771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19773 "RANLIB=$${RANLIB}" \
19774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19779 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
19780 maybe-clean-target-libmudflap:
19782 clean-target-libmudflap:
19783 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
19784 r=`${PWD_COMMAND}`; export r; \
19785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19787 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
19788 for flag in $(EXTRA_TARGET_FLAGS); do \
19789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19791 (cd $(TARGET_SUBDIR)/libmudflap && \
19792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19794 "RANLIB=$${RANLIB}" \
19795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19800 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
19801 maybe-distclean-target-libmudflap:
19803 distclean-target-libmudflap:
19804 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
19805 r=`${PWD_COMMAND}`; export r; \
19806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19808 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
19809 for flag in $(EXTRA_TARGET_FLAGS); do \
19810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19812 (cd $(TARGET_SUBDIR)/libmudflap && \
19813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19815 "RANLIB=$${RANLIB}" \
19816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19821 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
19822 maybe-maintainer-clean-target-libmudflap:
19824 maintainer-clean-target-libmudflap:
19825 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
19826 r=`${PWD_COMMAND}`; export r; \
19827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19829 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
19830 for flag in $(EXTRA_TARGET_FLAGS); do \
19831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19833 (cd $(TARGET_SUBDIR)/libmudflap && \
19834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19836 "RANLIB=$${RANLIB}" \
19837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19838 maintainer-clean) \
19843 .PHONY: configure-target-newlib maybe-configure-target-newlib
19844 maybe-configure-target-newlib:
19846 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
19847 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
19848 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
19849 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
19850 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
19852 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
19853 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
19854 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
19855 r=`${PWD_COMMAND}`; export r; \
19856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19858 AR="$(AR_FOR_TARGET)"; export AR; \
19859 AS="$(AS_FOR_TARGET)"; export AS; \
19860 CC="$(CC_FOR_TARGET)"; export CC; \
19861 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
19862 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
19863 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
19864 CXX="$(CXX_FOR_TARGET)"; export CXX; \
19865 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
19866 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
19867 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
19868 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
19869 LD="$(LD_FOR_TARGET)"; export LD; \
19870 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
19871 NM="$(NM_FOR_TARGET)"; export NM; \
19872 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
19873 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
19874 echo Configuring in $(TARGET_SUBDIR)/newlib; \
19875 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
19876 case $(srcdir) in \
19877 /* | [A-Za-z]:[\\/]*) \
19878 topdir=$(srcdir) ;; \
19880 case "$(TARGET_SUBDIR)" in \
19881 .) topdir="../$(srcdir)" ;; \
19882 *) topdir="../../$(srcdir)" ;; \
19885 srcdiroption="--srcdir=$${topdir}/newlib"; \
19886 libsrcdir="$$s/newlib"; \
19887 rm -f no-such-file || : ; \
19888 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
19889 $(TARGET_CONFIGARGS) $${srcdiroption} \
19890 --with-target-subdir="$(TARGET_SUBDIR)" \
19893 .PHONY: all-target-newlib maybe-all-target-newlib
19894 maybe-all-target-newlib:
19895 all-target-newlib: configure-target-newlib
19896 @r=`${PWD_COMMAND}`; export r; \
19897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19899 (cd $(TARGET_SUBDIR)/newlib && \
19900 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
19902 .PHONY: check-target-newlib maybe-check-target-newlib
19903 maybe-check-target-newlib:
19905 check-target-newlib:
19906 @r=`${PWD_COMMAND}`; export r; \
19907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19909 (cd $(TARGET_SUBDIR)/newlib && \
19910 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
19913 .PHONY: install-target-newlib maybe-install-target-newlib
19914 maybe-install-target-newlib:
19916 install-target-newlib: installdirs
19917 @r=`${PWD_COMMAND}`; export r; \
19918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19920 (cd $(TARGET_SUBDIR)/newlib && \
19921 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
19924 # Other targets (info, dvi, etc.)
19926 .PHONY: maybe-info-target-newlib info-target-newlib
19927 maybe-info-target-newlib:
19929 info-target-newlib: \
19930 configure-target-newlib
19931 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19932 r=`${PWD_COMMAND}`; export r; \
19933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19935 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
19936 for flag in $(EXTRA_TARGET_FLAGS); do \
19937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19939 (cd $(TARGET_SUBDIR)/newlib && \
19940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19942 "RANLIB=$${RANLIB}" \
19943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19948 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
19949 maybe-dvi-target-newlib:
19951 dvi-target-newlib: \
19952 configure-target-newlib
19953 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19954 r=`${PWD_COMMAND}`; export r; \
19955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19957 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
19958 for flag in $(EXTRA_TARGET_FLAGS); do \
19959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19961 (cd $(TARGET_SUBDIR)/newlib && \
19962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19964 "RANLIB=$${RANLIB}" \
19965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19970 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
19971 maybe-TAGS-target-newlib:
19973 TAGS-target-newlib: \
19974 configure-target-newlib
19975 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19976 r=`${PWD_COMMAND}`; export r; \
19977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19979 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
19980 for flag in $(EXTRA_TARGET_FLAGS); do \
19981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19983 (cd $(TARGET_SUBDIR)/newlib && \
19984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19986 "RANLIB=$${RANLIB}" \
19987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19992 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
19993 maybe-install-info-target-newlib:
19995 install-info-target-newlib: \
19996 configure-target-newlib \
19998 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19999 r=`${PWD_COMMAND}`; export r; \
20000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20002 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
20003 for flag in $(EXTRA_TARGET_FLAGS); do \
20004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20006 (cd $(TARGET_SUBDIR)/newlib && \
20007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20009 "RANLIB=$${RANLIB}" \
20010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20015 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
20016 maybe-installcheck-target-newlib:
20018 installcheck-target-newlib: \
20019 configure-target-newlib
20020 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
20021 r=`${PWD_COMMAND}`; export r; \
20022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20024 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
20025 for flag in $(EXTRA_TARGET_FLAGS); do \
20026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20028 (cd $(TARGET_SUBDIR)/newlib && \
20029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20031 "RANLIB=$${RANLIB}" \
20032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20037 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
20038 maybe-mostlyclean-target-newlib:
20040 mostlyclean-target-newlib:
20041 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
20042 r=`${PWD_COMMAND}`; export r; \
20043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20045 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
20046 for flag in $(EXTRA_TARGET_FLAGS); do \
20047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20049 (cd $(TARGET_SUBDIR)/newlib && \
20050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20052 "RANLIB=$${RANLIB}" \
20053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20058 .PHONY: maybe-clean-target-newlib clean-target-newlib
20059 maybe-clean-target-newlib:
20061 clean-target-newlib:
20062 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
20063 r=`${PWD_COMMAND}`; export r; \
20064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20066 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
20067 for flag in $(EXTRA_TARGET_FLAGS); do \
20068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20070 (cd $(TARGET_SUBDIR)/newlib && \
20071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20073 "RANLIB=$${RANLIB}" \
20074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20079 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
20080 maybe-distclean-target-newlib:
20082 distclean-target-newlib:
20083 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
20084 r=`${PWD_COMMAND}`; export r; \
20085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20087 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
20088 for flag in $(EXTRA_TARGET_FLAGS); do \
20089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20091 (cd $(TARGET_SUBDIR)/newlib && \
20092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20094 "RANLIB=$${RANLIB}" \
20095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20100 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
20101 maybe-maintainer-clean-target-newlib:
20103 maintainer-clean-target-newlib:
20104 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
20105 r=`${PWD_COMMAND}`; export r; \
20106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20108 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
20109 for flag in $(EXTRA_TARGET_FLAGS); do \
20110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20112 (cd $(TARGET_SUBDIR)/newlib && \
20113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20115 "RANLIB=$${RANLIB}" \
20116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20117 maintainer-clean) \
20122 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
20123 maybe-configure-target-libgfortran:
20125 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
20126 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
20127 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
20128 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
20129 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
20131 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
20132 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
20133 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
20134 r=`${PWD_COMMAND}`; export r; \
20135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20137 AR="$(AR_FOR_TARGET)"; export AR; \
20138 AS="$(AS_FOR_TARGET)"; export AS; \
20139 CC="$(CC_FOR_TARGET)"; export CC; \
20140 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
20141 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
20142 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
20143 CXX="$(CXX_FOR_TARGET)"; export CXX; \
20144 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
20145 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
20146 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
20147 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
20148 LD="$(LD_FOR_TARGET)"; export LD; \
20149 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
20150 NM="$(NM_FOR_TARGET)"; export NM; \
20151 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
20152 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
20153 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
20154 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
20155 case $(srcdir) in \
20156 /* | [A-Za-z]:[\\/]*) \
20157 topdir=$(srcdir) ;; \
20159 case "$(TARGET_SUBDIR)" in \
20160 .) topdir="../$(srcdir)" ;; \
20161 *) topdir="../../$(srcdir)" ;; \
20164 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
20165 libsrcdir="$$s/libgfortran"; \
20166 rm -f no-such-file || : ; \
20167 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
20168 $(TARGET_CONFIGARGS) $${srcdiroption} \
20169 --with-target-subdir="$(TARGET_SUBDIR)" \
20172 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
20173 maybe-all-target-libgfortran:
20174 all-target-libgfortran: configure-target-libgfortran
20175 @r=`${PWD_COMMAND}`; export r; \
20176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20178 (cd $(TARGET_SUBDIR)/libgfortran && \
20179 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
20181 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
20182 maybe-check-target-libgfortran:
20184 check-target-libgfortran:
20185 @r=`${PWD_COMMAND}`; export r; \
20186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20188 (cd $(TARGET_SUBDIR)/libgfortran && \
20189 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
20192 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
20193 maybe-install-target-libgfortran:
20195 install-target-libgfortran: installdirs
20196 @r=`${PWD_COMMAND}`; export r; \
20197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20199 (cd $(TARGET_SUBDIR)/libgfortran && \
20200 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
20203 # Other targets (info, dvi, etc.)
20205 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
20206 maybe-info-target-libgfortran:
20208 info-target-libgfortran: \
20209 configure-target-libgfortran
20210 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
20211 r=`${PWD_COMMAND}`; export r; \
20212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20214 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
20215 for flag in $(EXTRA_TARGET_FLAGS); do \
20216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20218 (cd $(TARGET_SUBDIR)/libgfortran && \
20219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20221 "RANLIB=$${RANLIB}" \
20222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20227 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
20228 maybe-dvi-target-libgfortran:
20230 dvi-target-libgfortran: \
20231 configure-target-libgfortran
20232 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
20233 r=`${PWD_COMMAND}`; export r; \
20234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20236 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
20237 for flag in $(EXTRA_TARGET_FLAGS); do \
20238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20240 (cd $(TARGET_SUBDIR)/libgfortran && \
20241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20243 "RANLIB=$${RANLIB}" \
20244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20249 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
20250 maybe-TAGS-target-libgfortran:
20252 TAGS-target-libgfortran: \
20253 configure-target-libgfortran
20254 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
20255 r=`${PWD_COMMAND}`; export r; \
20256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20258 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
20259 for flag in $(EXTRA_TARGET_FLAGS); do \
20260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20262 (cd $(TARGET_SUBDIR)/libgfortran && \
20263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20265 "RANLIB=$${RANLIB}" \
20266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20271 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
20272 maybe-install-info-target-libgfortran:
20274 install-info-target-libgfortran: \
20275 configure-target-libgfortran \
20276 info-target-libgfortran
20277 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
20278 r=`${PWD_COMMAND}`; export r; \
20279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20281 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
20282 for flag in $(EXTRA_TARGET_FLAGS); do \
20283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20285 (cd $(TARGET_SUBDIR)/libgfortran && \
20286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20288 "RANLIB=$${RANLIB}" \
20289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20294 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
20295 maybe-installcheck-target-libgfortran:
20297 installcheck-target-libgfortran: \
20298 configure-target-libgfortran
20299 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
20300 r=`${PWD_COMMAND}`; export r; \
20301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20303 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
20304 for flag in $(EXTRA_TARGET_FLAGS); do \
20305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20307 (cd $(TARGET_SUBDIR)/libgfortran && \
20308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20310 "RANLIB=$${RANLIB}" \
20311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20316 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
20317 maybe-mostlyclean-target-libgfortran:
20319 mostlyclean-target-libgfortran:
20320 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
20321 r=`${PWD_COMMAND}`; export r; \
20322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20324 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
20325 for flag in $(EXTRA_TARGET_FLAGS); do \
20326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20328 (cd $(TARGET_SUBDIR)/libgfortran && \
20329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20331 "RANLIB=$${RANLIB}" \
20332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20337 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
20338 maybe-clean-target-libgfortran:
20340 clean-target-libgfortran:
20341 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
20342 r=`${PWD_COMMAND}`; export r; \
20343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20345 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
20346 for flag in $(EXTRA_TARGET_FLAGS); do \
20347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20349 (cd $(TARGET_SUBDIR)/libgfortran && \
20350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20352 "RANLIB=$${RANLIB}" \
20353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20358 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
20359 maybe-distclean-target-libgfortran:
20361 distclean-target-libgfortran:
20362 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
20363 r=`${PWD_COMMAND}`; export r; \
20364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20366 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
20367 for flag in $(EXTRA_TARGET_FLAGS); do \
20368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20370 (cd $(TARGET_SUBDIR)/libgfortran && \
20371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20373 "RANLIB=$${RANLIB}" \
20374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20379 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
20380 maybe-maintainer-clean-target-libgfortran:
20382 maintainer-clean-target-libgfortran:
20383 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
20384 r=`${PWD_COMMAND}`; export r; \
20385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20387 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
20388 for flag in $(EXTRA_TARGET_FLAGS); do \
20389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20391 (cd $(TARGET_SUBDIR)/libgfortran && \
20392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20394 "RANLIB=$${RANLIB}" \
20395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20396 maintainer-clean) \
20401 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
20402 maybe-configure-target-libobjc:
20404 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
20405 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
20406 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
20407 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
20408 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
20410 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
20411 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
20412 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
20413 r=`${PWD_COMMAND}`; export r; \
20414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20416 AR="$(AR_FOR_TARGET)"; export AR; \
20417 AS="$(AS_FOR_TARGET)"; export AS; \
20418 CC="$(CC_FOR_TARGET)"; export CC; \
20419 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
20420 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
20421 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
20422 CXX="$(CXX_FOR_TARGET)"; export CXX; \
20423 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
20424 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
20425 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
20426 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
20427 LD="$(LD_FOR_TARGET)"; export LD; \
20428 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
20429 NM="$(NM_FOR_TARGET)"; export NM; \
20430 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
20431 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
20432 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
20433 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
20434 case $(srcdir) in \
20435 /* | [A-Za-z]:[\\/]*) \
20436 topdir=$(srcdir) ;; \
20438 case "$(TARGET_SUBDIR)" in \
20439 .) topdir="../$(srcdir)" ;; \
20440 *) topdir="../../$(srcdir)" ;; \
20443 srcdiroption="--srcdir=$${topdir}/libobjc"; \
20444 libsrcdir="$$s/libobjc"; \
20445 rm -f no-such-file || : ; \
20446 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
20447 $(TARGET_CONFIGARGS) $${srcdiroption} \
20448 --with-target-subdir="$(TARGET_SUBDIR)" \
20451 .PHONY: all-target-libobjc maybe-all-target-libobjc
20452 maybe-all-target-libobjc:
20453 all-target-libobjc: configure-target-libobjc
20454 @r=`${PWD_COMMAND}`; export r; \
20455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20457 (cd $(TARGET_SUBDIR)/libobjc && \
20458 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
20460 .PHONY: check-target-libobjc maybe-check-target-libobjc
20461 maybe-check-target-libobjc:
20463 check-target-libobjc:
20464 @r=`${PWD_COMMAND}`; export r; \
20465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20467 (cd $(TARGET_SUBDIR)/libobjc && \
20468 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
20471 .PHONY: install-target-libobjc maybe-install-target-libobjc
20472 maybe-install-target-libobjc:
20474 install-target-libobjc: installdirs
20475 @r=`${PWD_COMMAND}`; export r; \
20476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20478 (cd $(TARGET_SUBDIR)/libobjc && \
20479 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
20482 # Other targets (info, dvi, etc.)
20484 .PHONY: maybe-info-target-libobjc info-target-libobjc
20485 maybe-info-target-libobjc:
20487 info-target-libobjc: \
20488 configure-target-libobjc
20489 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
20490 r=`${PWD_COMMAND}`; export r; \
20491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20493 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
20494 for flag in $(EXTRA_TARGET_FLAGS); do \
20495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20497 (cd $(TARGET_SUBDIR)/libobjc && \
20498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20500 "RANLIB=$${RANLIB}" \
20501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20506 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
20507 maybe-dvi-target-libobjc:
20509 dvi-target-libobjc: \
20510 configure-target-libobjc
20511 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
20512 r=`${PWD_COMMAND}`; export r; \
20513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20515 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
20516 for flag in $(EXTRA_TARGET_FLAGS); do \
20517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20519 (cd $(TARGET_SUBDIR)/libobjc && \
20520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20522 "RANLIB=$${RANLIB}" \
20523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20528 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
20529 maybe-TAGS-target-libobjc:
20531 TAGS-target-libobjc: \
20532 configure-target-libobjc
20533 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
20534 r=`${PWD_COMMAND}`; export r; \
20535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20537 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
20538 for flag in $(EXTRA_TARGET_FLAGS); do \
20539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20541 (cd $(TARGET_SUBDIR)/libobjc && \
20542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20544 "RANLIB=$${RANLIB}" \
20545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20550 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
20551 maybe-install-info-target-libobjc:
20553 install-info-target-libobjc: \
20554 configure-target-libobjc \
20555 info-target-libobjc
20556 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
20557 r=`${PWD_COMMAND}`; export r; \
20558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20560 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
20561 for flag in $(EXTRA_TARGET_FLAGS); do \
20562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20564 (cd $(TARGET_SUBDIR)/libobjc && \
20565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20567 "RANLIB=$${RANLIB}" \
20568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20573 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
20574 maybe-installcheck-target-libobjc:
20576 installcheck-target-libobjc: \
20577 configure-target-libobjc
20578 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
20579 r=`${PWD_COMMAND}`; export r; \
20580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20582 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
20583 for flag in $(EXTRA_TARGET_FLAGS); do \
20584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20586 (cd $(TARGET_SUBDIR)/libobjc && \
20587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20589 "RANLIB=$${RANLIB}" \
20590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20595 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
20596 maybe-mostlyclean-target-libobjc:
20598 mostlyclean-target-libobjc:
20599 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
20600 r=`${PWD_COMMAND}`; export r; \
20601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20603 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
20604 for flag in $(EXTRA_TARGET_FLAGS); do \
20605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20607 (cd $(TARGET_SUBDIR)/libobjc && \
20608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20610 "RANLIB=$${RANLIB}" \
20611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20616 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
20617 maybe-clean-target-libobjc:
20619 clean-target-libobjc:
20620 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
20621 r=`${PWD_COMMAND}`; export r; \
20622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20624 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
20625 for flag in $(EXTRA_TARGET_FLAGS); do \
20626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20628 (cd $(TARGET_SUBDIR)/libobjc && \
20629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20631 "RANLIB=$${RANLIB}" \
20632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20637 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
20638 maybe-distclean-target-libobjc:
20640 distclean-target-libobjc:
20641 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
20642 r=`${PWD_COMMAND}`; export r; \
20643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20645 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
20646 for flag in $(EXTRA_TARGET_FLAGS); do \
20647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20649 (cd $(TARGET_SUBDIR)/libobjc && \
20650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20652 "RANLIB=$${RANLIB}" \
20653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20658 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
20659 maybe-maintainer-clean-target-libobjc:
20661 maintainer-clean-target-libobjc:
20662 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
20663 r=`${PWD_COMMAND}`; export r; \
20664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20666 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
20667 for flag in $(EXTRA_TARGET_FLAGS); do \
20668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20670 (cd $(TARGET_SUBDIR)/libobjc && \
20671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20673 "RANLIB=$${RANLIB}" \
20674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20675 maintainer-clean) \
20680 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
20681 maybe-configure-target-libtermcap:
20683 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
20684 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
20685 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
20686 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
20687 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
20689 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
20690 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
20691 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
20692 r=`${PWD_COMMAND}`; export r; \
20693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20695 AR="$(AR_FOR_TARGET)"; export AR; \
20696 AS="$(AS_FOR_TARGET)"; export AS; \
20697 CC="$(CC_FOR_TARGET)"; export CC; \
20698 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
20699 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
20700 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
20701 CXX="$(CXX_FOR_TARGET)"; export CXX; \
20702 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
20703 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
20704 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
20705 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
20706 LD="$(LD_FOR_TARGET)"; export LD; \
20707 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
20708 NM="$(NM_FOR_TARGET)"; export NM; \
20709 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
20710 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
20711 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
20712 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
20713 case $(srcdir) in \
20714 /* | [A-Za-z]:[\\/]*) \
20715 topdir=$(srcdir) ;; \
20717 case "$(TARGET_SUBDIR)" in \
20718 .) topdir="../$(srcdir)" ;; \
20719 *) topdir="../../$(srcdir)" ;; \
20722 if [ "$(srcdir)" = "." ] ; then \
20723 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
20724 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
20725 if [ -f Makefile ]; then \
20726 if $(MAKE) distclean; then \
20740 srcdiroption="--srcdir=."; \
20743 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
20744 libsrcdir="$$s/libtermcap"; \
20746 rm -f no-such-file || : ; \
20747 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
20748 $(TARGET_CONFIGARGS) $${srcdiroption} \
20749 --with-target-subdir="$(TARGET_SUBDIR)" \
20752 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
20753 maybe-all-target-libtermcap:
20754 all-target-libtermcap: configure-target-libtermcap
20755 @r=`${PWD_COMMAND}`; export r; \
20756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20758 (cd $(TARGET_SUBDIR)/libtermcap && \
20759 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
20761 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
20762 maybe-check-target-libtermcap:
20764 # Dummy target for uncheckable module.
20765 check-target-libtermcap:
20768 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
20769 maybe-install-target-libtermcap:
20771 install-target-libtermcap: installdirs
20772 @r=`${PWD_COMMAND}`; export r; \
20773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20775 (cd $(TARGET_SUBDIR)/libtermcap && \
20776 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
20779 # Other targets (info, dvi, etc.)
20781 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
20782 maybe-info-target-libtermcap:
20784 info-target-libtermcap: \
20785 configure-target-libtermcap
20786 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
20787 r=`${PWD_COMMAND}`; export r; \
20788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20790 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
20791 for flag in $(EXTRA_TARGET_FLAGS); do \
20792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20794 (cd $(TARGET_SUBDIR)/libtermcap && \
20795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20797 "RANLIB=$${RANLIB}" \
20798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20803 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
20804 maybe-dvi-target-libtermcap:
20806 dvi-target-libtermcap: \
20807 configure-target-libtermcap
20808 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
20809 r=`${PWD_COMMAND}`; export r; \
20810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20812 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
20813 for flag in $(EXTRA_TARGET_FLAGS); do \
20814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20816 (cd $(TARGET_SUBDIR)/libtermcap && \
20817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20819 "RANLIB=$${RANLIB}" \
20820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20825 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
20826 maybe-TAGS-target-libtermcap:
20828 TAGS-target-libtermcap: \
20829 configure-target-libtermcap
20830 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
20831 r=`${PWD_COMMAND}`; export r; \
20832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20834 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
20835 for flag in $(EXTRA_TARGET_FLAGS); do \
20836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20838 (cd $(TARGET_SUBDIR)/libtermcap && \
20839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20841 "RANLIB=$${RANLIB}" \
20842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20847 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
20848 maybe-install-info-target-libtermcap:
20850 install-info-target-libtermcap: \
20851 configure-target-libtermcap \
20852 info-target-libtermcap
20853 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
20854 r=`${PWD_COMMAND}`; export r; \
20855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20857 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
20858 for flag in $(EXTRA_TARGET_FLAGS); do \
20859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20861 (cd $(TARGET_SUBDIR)/libtermcap && \
20862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20864 "RANLIB=$${RANLIB}" \
20865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20870 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
20871 maybe-installcheck-target-libtermcap:
20873 installcheck-target-libtermcap: \
20874 configure-target-libtermcap
20875 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
20876 r=`${PWD_COMMAND}`; export r; \
20877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20879 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
20880 for flag in $(EXTRA_TARGET_FLAGS); do \
20881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20883 (cd $(TARGET_SUBDIR)/libtermcap && \
20884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20886 "RANLIB=$${RANLIB}" \
20887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20892 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
20893 maybe-mostlyclean-target-libtermcap:
20895 # libtermcap doesn't support mostlyclean.
20896 mostlyclean-target-libtermcap:
20899 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
20900 maybe-clean-target-libtermcap:
20902 # libtermcap doesn't support clean.
20903 clean-target-libtermcap:
20906 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
20907 maybe-distclean-target-libtermcap:
20909 # libtermcap doesn't support distclean.
20910 distclean-target-libtermcap:
20913 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
20914 maybe-maintainer-clean-target-libtermcap:
20916 # libtermcap doesn't support maintainer-clean.
20917 maintainer-clean-target-libtermcap:
20921 .PHONY: configure-target-winsup maybe-configure-target-winsup
20922 maybe-configure-target-winsup:
20924 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
20925 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
20926 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
20927 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
20928 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
20930 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
20931 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
20932 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
20933 r=`${PWD_COMMAND}`; export r; \
20934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20936 AR="$(AR_FOR_TARGET)"; export AR; \
20937 AS="$(AS_FOR_TARGET)"; export AS; \
20938 CC="$(CC_FOR_TARGET)"; export CC; \
20939 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
20940 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
20941 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
20942 CXX="$(CXX_FOR_TARGET)"; export CXX; \
20943 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
20944 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
20945 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
20946 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
20947 LD="$(LD_FOR_TARGET)"; export LD; \
20948 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
20949 NM="$(NM_FOR_TARGET)"; export NM; \
20950 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
20951 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
20952 echo Configuring in $(TARGET_SUBDIR)/winsup; \
20953 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
20954 case $(srcdir) in \
20955 /* | [A-Za-z]:[\\/]*) \
20956 topdir=$(srcdir) ;; \
20958 case "$(TARGET_SUBDIR)" in \
20959 .) topdir="../$(srcdir)" ;; \
20960 *) topdir="../../$(srcdir)" ;; \
20963 srcdiroption="--srcdir=$${topdir}/winsup"; \
20964 libsrcdir="$$s/winsup"; \
20965 rm -f no-such-file || : ; \
20966 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
20967 $(TARGET_CONFIGARGS) $${srcdiroption} \
20968 --with-target-subdir="$(TARGET_SUBDIR)" \
20971 .PHONY: all-target-winsup maybe-all-target-winsup
20972 maybe-all-target-winsup:
20973 all-target-winsup: configure-target-winsup
20974 @r=`${PWD_COMMAND}`; export r; \
20975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20977 (cd $(TARGET_SUBDIR)/winsup && \
20978 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
20980 .PHONY: check-target-winsup maybe-check-target-winsup
20981 maybe-check-target-winsup:
20983 check-target-winsup:
20984 @r=`${PWD_COMMAND}`; export r; \
20985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20987 (cd $(TARGET_SUBDIR)/winsup && \
20988 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
20991 .PHONY: install-target-winsup maybe-install-target-winsup
20992 maybe-install-target-winsup:
20994 install-target-winsup: installdirs
20995 @r=`${PWD_COMMAND}`; export r; \
20996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20998 (cd $(TARGET_SUBDIR)/winsup && \
20999 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
21002 # Other targets (info, dvi, etc.)
21004 .PHONY: maybe-info-target-winsup info-target-winsup
21005 maybe-info-target-winsup:
21007 info-target-winsup: \
21008 configure-target-winsup
21009 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
21010 r=`${PWD_COMMAND}`; export r; \
21011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21013 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
21014 for flag in $(EXTRA_TARGET_FLAGS); do \
21015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21017 (cd $(TARGET_SUBDIR)/winsup && \
21018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21020 "RANLIB=$${RANLIB}" \
21021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21026 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
21027 maybe-dvi-target-winsup:
21029 dvi-target-winsup: \
21030 configure-target-winsup
21031 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
21032 r=`${PWD_COMMAND}`; export r; \
21033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21035 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
21036 for flag in $(EXTRA_TARGET_FLAGS); do \
21037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21039 (cd $(TARGET_SUBDIR)/winsup && \
21040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21042 "RANLIB=$${RANLIB}" \
21043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21048 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
21049 maybe-TAGS-target-winsup:
21051 TAGS-target-winsup: \
21052 configure-target-winsup
21053 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
21054 r=`${PWD_COMMAND}`; export r; \
21055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21057 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
21058 for flag in $(EXTRA_TARGET_FLAGS); do \
21059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21061 (cd $(TARGET_SUBDIR)/winsup && \
21062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21064 "RANLIB=$${RANLIB}" \
21065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21070 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
21071 maybe-install-info-target-winsup:
21073 install-info-target-winsup: \
21074 configure-target-winsup \
21076 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
21077 r=`${PWD_COMMAND}`; export r; \
21078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21080 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
21081 for flag in $(EXTRA_TARGET_FLAGS); do \
21082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21084 (cd $(TARGET_SUBDIR)/winsup && \
21085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21087 "RANLIB=$${RANLIB}" \
21088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21093 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
21094 maybe-installcheck-target-winsup:
21096 installcheck-target-winsup: \
21097 configure-target-winsup
21098 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
21099 r=`${PWD_COMMAND}`; export r; \
21100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21102 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
21103 for flag in $(EXTRA_TARGET_FLAGS); do \
21104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21106 (cd $(TARGET_SUBDIR)/winsup && \
21107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21109 "RANLIB=$${RANLIB}" \
21110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21115 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
21116 maybe-mostlyclean-target-winsup:
21118 mostlyclean-target-winsup:
21119 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
21120 r=`${PWD_COMMAND}`; export r; \
21121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21123 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
21124 for flag in $(EXTRA_TARGET_FLAGS); do \
21125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21127 (cd $(TARGET_SUBDIR)/winsup && \
21128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21130 "RANLIB=$${RANLIB}" \
21131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21136 .PHONY: maybe-clean-target-winsup clean-target-winsup
21137 maybe-clean-target-winsup:
21139 clean-target-winsup:
21140 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
21141 r=`${PWD_COMMAND}`; export r; \
21142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21144 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
21145 for flag in $(EXTRA_TARGET_FLAGS); do \
21146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21148 (cd $(TARGET_SUBDIR)/winsup && \
21149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21151 "RANLIB=$${RANLIB}" \
21152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21157 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
21158 maybe-distclean-target-winsup:
21160 distclean-target-winsup:
21161 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
21162 r=`${PWD_COMMAND}`; export r; \
21163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21165 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
21166 for flag in $(EXTRA_TARGET_FLAGS); do \
21167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21169 (cd $(TARGET_SUBDIR)/winsup && \
21170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21172 "RANLIB=$${RANLIB}" \
21173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21178 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
21179 maybe-maintainer-clean-target-winsup:
21181 maintainer-clean-target-winsup:
21182 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
21183 r=`${PWD_COMMAND}`; export r; \
21184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21186 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
21187 for flag in $(EXTRA_TARGET_FLAGS); do \
21188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21190 (cd $(TARGET_SUBDIR)/winsup && \
21191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21193 "RANLIB=$${RANLIB}" \
21194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21195 maintainer-clean) \
21200 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
21201 maybe-configure-target-libgloss:
21203 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
21204 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
21205 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
21206 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
21207 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
21209 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
21210 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
21211 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
21212 r=`${PWD_COMMAND}`; export r; \
21213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21215 AR="$(AR_FOR_TARGET)"; export AR; \
21216 AS="$(AS_FOR_TARGET)"; export AS; \
21217 CC="$(CC_FOR_TARGET)"; export CC; \
21218 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
21219 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
21220 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
21221 CXX="$(CXX_FOR_TARGET)"; export CXX; \
21222 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
21223 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
21224 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
21225 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
21226 LD="$(LD_FOR_TARGET)"; export LD; \
21227 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
21228 NM="$(NM_FOR_TARGET)"; export NM; \
21229 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
21230 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
21231 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
21232 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
21233 case $(srcdir) in \
21234 /* | [A-Za-z]:[\\/]*) \
21235 topdir=$(srcdir) ;; \
21237 case "$(TARGET_SUBDIR)" in \
21238 .) topdir="../$(srcdir)" ;; \
21239 *) topdir="../../$(srcdir)" ;; \
21242 srcdiroption="--srcdir=$${topdir}/libgloss"; \
21243 libsrcdir="$$s/libgloss"; \
21244 rm -f no-such-file || : ; \
21245 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
21246 $(TARGET_CONFIGARGS) $${srcdiroption} \
21247 --with-target-subdir="$(TARGET_SUBDIR)" \
21250 .PHONY: all-target-libgloss maybe-all-target-libgloss
21251 maybe-all-target-libgloss:
21252 all-target-libgloss: configure-target-libgloss
21253 @r=`${PWD_COMMAND}`; export r; \
21254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21256 (cd $(TARGET_SUBDIR)/libgloss && \
21257 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
21259 .PHONY: check-target-libgloss maybe-check-target-libgloss
21260 maybe-check-target-libgloss:
21262 # Dummy target for uncheckable module.
21263 check-target-libgloss:
21266 .PHONY: install-target-libgloss maybe-install-target-libgloss
21267 maybe-install-target-libgloss:
21269 install-target-libgloss: installdirs
21270 @r=`${PWD_COMMAND}`; export r; \
21271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21273 (cd $(TARGET_SUBDIR)/libgloss && \
21274 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
21277 # Other targets (info, dvi, etc.)
21279 .PHONY: maybe-info-target-libgloss info-target-libgloss
21280 maybe-info-target-libgloss:
21282 info-target-libgloss: \
21283 configure-target-libgloss
21284 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
21285 r=`${PWD_COMMAND}`; export r; \
21286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21288 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
21289 for flag in $(EXTRA_TARGET_FLAGS); do \
21290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21292 (cd $(TARGET_SUBDIR)/libgloss && \
21293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21295 "RANLIB=$${RANLIB}" \
21296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21301 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
21302 maybe-dvi-target-libgloss:
21304 dvi-target-libgloss: \
21305 configure-target-libgloss
21306 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
21307 r=`${PWD_COMMAND}`; export r; \
21308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21310 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
21311 for flag in $(EXTRA_TARGET_FLAGS); do \
21312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21314 (cd $(TARGET_SUBDIR)/libgloss && \
21315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21317 "RANLIB=$${RANLIB}" \
21318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21323 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
21324 maybe-TAGS-target-libgloss:
21326 TAGS-target-libgloss: \
21327 configure-target-libgloss
21328 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
21329 r=`${PWD_COMMAND}`; export r; \
21330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21332 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
21333 for flag in $(EXTRA_TARGET_FLAGS); do \
21334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21336 (cd $(TARGET_SUBDIR)/libgloss && \
21337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21339 "RANLIB=$${RANLIB}" \
21340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21345 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
21346 maybe-install-info-target-libgloss:
21348 install-info-target-libgloss: \
21349 configure-target-libgloss \
21350 info-target-libgloss
21351 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
21352 r=`${PWD_COMMAND}`; export r; \
21353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21355 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
21356 for flag in $(EXTRA_TARGET_FLAGS); do \
21357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21359 (cd $(TARGET_SUBDIR)/libgloss && \
21360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21362 "RANLIB=$${RANLIB}" \
21363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21368 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
21369 maybe-installcheck-target-libgloss:
21371 installcheck-target-libgloss: \
21372 configure-target-libgloss
21373 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
21374 r=`${PWD_COMMAND}`; export r; \
21375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21377 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
21378 for flag in $(EXTRA_TARGET_FLAGS); do \
21379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21381 (cd $(TARGET_SUBDIR)/libgloss && \
21382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21384 "RANLIB=$${RANLIB}" \
21385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21390 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
21391 maybe-mostlyclean-target-libgloss:
21393 mostlyclean-target-libgloss:
21394 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
21395 r=`${PWD_COMMAND}`; export r; \
21396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21398 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
21399 for flag in $(EXTRA_TARGET_FLAGS); do \
21400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21402 (cd $(TARGET_SUBDIR)/libgloss && \
21403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21405 "RANLIB=$${RANLIB}" \
21406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21411 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
21412 maybe-clean-target-libgloss:
21414 clean-target-libgloss:
21415 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
21416 r=`${PWD_COMMAND}`; export r; \
21417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21419 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
21420 for flag in $(EXTRA_TARGET_FLAGS); do \
21421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21423 (cd $(TARGET_SUBDIR)/libgloss && \
21424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21426 "RANLIB=$${RANLIB}" \
21427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21432 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
21433 maybe-distclean-target-libgloss:
21435 distclean-target-libgloss:
21436 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
21437 r=`${PWD_COMMAND}`; export r; \
21438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21440 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
21441 for flag in $(EXTRA_TARGET_FLAGS); do \
21442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21444 (cd $(TARGET_SUBDIR)/libgloss && \
21445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21447 "RANLIB=$${RANLIB}" \
21448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21453 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
21454 maybe-maintainer-clean-target-libgloss:
21456 maintainer-clean-target-libgloss:
21457 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
21458 r=`${PWD_COMMAND}`; export r; \
21459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21461 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
21462 for flag in $(EXTRA_TARGET_FLAGS); do \
21463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21465 (cd $(TARGET_SUBDIR)/libgloss && \
21466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21468 "RANLIB=$${RANLIB}" \
21469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21470 maintainer-clean) \
21475 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
21476 maybe-configure-target-libiberty:
21478 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
21479 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
21480 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
21481 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
21482 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
21484 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
21485 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
21486 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
21487 r=`${PWD_COMMAND}`; export r; \
21488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21490 AR="$(AR_FOR_TARGET)"; export AR; \
21491 AS="$(AS_FOR_TARGET)"; export AS; \
21492 CC="$(CC_FOR_TARGET)"; export CC; \
21493 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
21494 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
21495 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
21496 CXX="$(CXX_FOR_TARGET)"; export CXX; \
21497 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
21498 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
21499 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
21500 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
21501 LD="$(LD_FOR_TARGET)"; export LD; \
21502 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
21503 NM="$(NM_FOR_TARGET)"; export NM; \
21504 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
21505 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
21506 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
21507 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
21508 case $(srcdir) in \
21509 /* | [A-Za-z]:[\\/]*) \
21510 topdir=$(srcdir) ;; \
21512 case "$(TARGET_SUBDIR)" in \
21513 .) topdir="../$(srcdir)" ;; \
21514 *) topdir="../../$(srcdir)" ;; \
21517 srcdiroption="--srcdir=$${topdir}/libiberty"; \
21518 libsrcdir="$$s/libiberty"; \
21519 rm -f no-such-file || : ; \
21520 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
21521 $(TARGET_CONFIGARGS) $${srcdiroption} \
21522 --with-target-subdir="$(TARGET_SUBDIR)" \
21525 .PHONY: all-target-libiberty maybe-all-target-libiberty
21526 maybe-all-target-libiberty:
21527 all-target-libiberty: configure-target-libiberty
21528 @r=`${PWD_COMMAND}`; export r; \
21529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21531 (cd $(TARGET_SUBDIR)/libiberty && \
21532 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
21534 .PHONY: check-target-libiberty maybe-check-target-libiberty
21535 maybe-check-target-libiberty:
21537 check-target-libiberty:
21538 @r=`${PWD_COMMAND}`; export r; \
21539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21541 (cd $(TARGET_SUBDIR)/libiberty && \
21542 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
21545 .PHONY: install-target-libiberty maybe-install-target-libiberty
21546 maybe-install-target-libiberty:
21548 install-target-libiberty: installdirs
21549 @r=`${PWD_COMMAND}`; export r; \
21550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21552 (cd $(TARGET_SUBDIR)/libiberty && \
21553 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
21556 # Other targets (info, dvi, etc.)
21558 .PHONY: maybe-info-target-libiberty info-target-libiberty
21559 maybe-info-target-libiberty:
21561 info-target-libiberty: \
21562 configure-target-libiberty
21563 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
21564 r=`${PWD_COMMAND}`; export r; \
21565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21567 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
21568 for flag in $(EXTRA_TARGET_FLAGS); do \
21569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21571 (cd $(TARGET_SUBDIR)/libiberty && \
21572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21574 "RANLIB=$${RANLIB}" \
21575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21580 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
21581 maybe-dvi-target-libiberty:
21583 dvi-target-libiberty: \
21584 configure-target-libiberty
21585 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
21586 r=`${PWD_COMMAND}`; export r; \
21587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21589 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
21590 for flag in $(EXTRA_TARGET_FLAGS); do \
21591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21593 (cd $(TARGET_SUBDIR)/libiberty && \
21594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21596 "RANLIB=$${RANLIB}" \
21597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21602 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
21603 maybe-TAGS-target-libiberty:
21605 TAGS-target-libiberty: \
21606 configure-target-libiberty
21607 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
21608 r=`${PWD_COMMAND}`; export r; \
21609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21611 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
21612 for flag in $(EXTRA_TARGET_FLAGS); do \
21613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21615 (cd $(TARGET_SUBDIR)/libiberty && \
21616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21618 "RANLIB=$${RANLIB}" \
21619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21624 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
21625 maybe-install-info-target-libiberty:
21627 install-info-target-libiberty: \
21628 configure-target-libiberty \
21629 info-target-libiberty
21630 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
21631 r=`${PWD_COMMAND}`; export r; \
21632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21634 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
21635 for flag in $(EXTRA_TARGET_FLAGS); do \
21636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21638 (cd $(TARGET_SUBDIR)/libiberty && \
21639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21641 "RANLIB=$${RANLIB}" \
21642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21647 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
21648 maybe-installcheck-target-libiberty:
21650 installcheck-target-libiberty: \
21651 configure-target-libiberty
21652 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
21653 r=`${PWD_COMMAND}`; export r; \
21654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21656 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
21657 for flag in $(EXTRA_TARGET_FLAGS); do \
21658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21660 (cd $(TARGET_SUBDIR)/libiberty && \
21661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21663 "RANLIB=$${RANLIB}" \
21664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21669 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
21670 maybe-mostlyclean-target-libiberty:
21672 mostlyclean-target-libiberty:
21673 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
21674 r=`${PWD_COMMAND}`; export r; \
21675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21677 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
21678 for flag in $(EXTRA_TARGET_FLAGS); do \
21679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21681 (cd $(TARGET_SUBDIR)/libiberty && \
21682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21684 "RANLIB=$${RANLIB}" \
21685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21690 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
21691 maybe-clean-target-libiberty:
21693 clean-target-libiberty:
21694 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
21695 r=`${PWD_COMMAND}`; export r; \
21696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21698 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
21699 for flag in $(EXTRA_TARGET_FLAGS); do \
21700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21702 (cd $(TARGET_SUBDIR)/libiberty && \
21703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21705 "RANLIB=$${RANLIB}" \
21706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21711 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
21712 maybe-distclean-target-libiberty:
21714 distclean-target-libiberty:
21715 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
21716 r=`${PWD_COMMAND}`; export r; \
21717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21719 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
21720 for flag in $(EXTRA_TARGET_FLAGS); do \
21721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21723 (cd $(TARGET_SUBDIR)/libiberty && \
21724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21726 "RANLIB=$${RANLIB}" \
21727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21732 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
21733 maybe-maintainer-clean-target-libiberty:
21735 maintainer-clean-target-libiberty:
21736 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
21737 r=`${PWD_COMMAND}`; export r; \
21738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21740 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
21741 for flag in $(EXTRA_TARGET_FLAGS); do \
21742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21744 (cd $(TARGET_SUBDIR)/libiberty && \
21745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21747 "RANLIB=$${RANLIB}" \
21748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21749 maintainer-clean) \
21754 .PHONY: configure-target-gperf maybe-configure-target-gperf
21755 maybe-configure-target-gperf:
21757 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
21758 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
21759 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
21760 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
21761 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
21763 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
21764 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
21765 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
21766 r=`${PWD_COMMAND}`; export r; \
21767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21769 AR="$(AR_FOR_TARGET)"; export AR; \
21770 AS="$(AS_FOR_TARGET)"; export AS; \
21771 CC="$(CC_FOR_TARGET)"; export CC; \
21772 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
21773 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
21774 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
21775 CXX="$(CXX_FOR_TARGET)"; export CXX; \
21776 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
21777 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
21778 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
21779 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
21780 LD="$(LD_FOR_TARGET)"; export LD; \
21781 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
21782 NM="$(NM_FOR_TARGET)"; export NM; \
21783 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
21784 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
21785 echo Configuring in $(TARGET_SUBDIR)/gperf; \
21786 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
21787 case $(srcdir) in \
21788 /* | [A-Za-z]:[\\/]*) \
21789 topdir=$(srcdir) ;; \
21791 case "$(TARGET_SUBDIR)" in \
21792 .) topdir="../$(srcdir)" ;; \
21793 *) topdir="../../$(srcdir)" ;; \
21796 srcdiroption="--srcdir=$${topdir}/gperf"; \
21797 libsrcdir="$$s/gperf"; \
21798 rm -f no-such-file || : ; \
21799 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
21800 $(TARGET_CONFIGARGS) $${srcdiroption} \
21801 --with-target-subdir="$(TARGET_SUBDIR)" \
21804 .PHONY: all-target-gperf maybe-all-target-gperf
21805 maybe-all-target-gperf:
21806 all-target-gperf: configure-target-gperf
21807 @r=`${PWD_COMMAND}`; export r; \
21808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21810 (cd $(TARGET_SUBDIR)/gperf && \
21811 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
21813 .PHONY: check-target-gperf maybe-check-target-gperf
21814 maybe-check-target-gperf:
21816 check-target-gperf:
21817 @r=`${PWD_COMMAND}`; export r; \
21818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21820 (cd $(TARGET_SUBDIR)/gperf && \
21821 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
21824 .PHONY: install-target-gperf maybe-install-target-gperf
21825 maybe-install-target-gperf:
21827 install-target-gperf: installdirs
21828 @r=`${PWD_COMMAND}`; export r; \
21829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21831 (cd $(TARGET_SUBDIR)/gperf && \
21832 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
21835 # Other targets (info, dvi, etc.)
21837 .PHONY: maybe-info-target-gperf info-target-gperf
21838 maybe-info-target-gperf:
21840 info-target-gperf: \
21841 configure-target-gperf
21842 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21843 r=`${PWD_COMMAND}`; export r; \
21844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21846 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
21847 for flag in $(EXTRA_TARGET_FLAGS); do \
21848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21850 (cd $(TARGET_SUBDIR)/gperf && \
21851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21853 "RANLIB=$${RANLIB}" \
21854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21859 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
21860 maybe-dvi-target-gperf:
21862 dvi-target-gperf: \
21863 configure-target-gperf
21864 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21865 r=`${PWD_COMMAND}`; export r; \
21866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21868 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
21869 for flag in $(EXTRA_TARGET_FLAGS); do \
21870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21872 (cd $(TARGET_SUBDIR)/gperf && \
21873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21875 "RANLIB=$${RANLIB}" \
21876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21881 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
21882 maybe-TAGS-target-gperf:
21884 TAGS-target-gperf: \
21885 configure-target-gperf
21886 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21887 r=`${PWD_COMMAND}`; export r; \
21888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21890 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
21891 for flag in $(EXTRA_TARGET_FLAGS); do \
21892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21894 (cd $(TARGET_SUBDIR)/gperf && \
21895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21897 "RANLIB=$${RANLIB}" \
21898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21903 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
21904 maybe-install-info-target-gperf:
21906 install-info-target-gperf: \
21907 configure-target-gperf \
21909 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21910 r=`${PWD_COMMAND}`; export r; \
21911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21913 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
21914 for flag in $(EXTRA_TARGET_FLAGS); do \
21915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21917 (cd $(TARGET_SUBDIR)/gperf && \
21918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21920 "RANLIB=$${RANLIB}" \
21921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21926 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
21927 maybe-installcheck-target-gperf:
21929 installcheck-target-gperf: \
21930 configure-target-gperf
21931 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21932 r=`${PWD_COMMAND}`; export r; \
21933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21935 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
21936 for flag in $(EXTRA_TARGET_FLAGS); do \
21937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21939 (cd $(TARGET_SUBDIR)/gperf && \
21940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21942 "RANLIB=$${RANLIB}" \
21943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21948 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
21949 maybe-mostlyclean-target-gperf:
21951 mostlyclean-target-gperf:
21952 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21953 r=`${PWD_COMMAND}`; export r; \
21954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21956 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
21957 for flag in $(EXTRA_TARGET_FLAGS); do \
21958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21960 (cd $(TARGET_SUBDIR)/gperf && \
21961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21963 "RANLIB=$${RANLIB}" \
21964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21969 .PHONY: maybe-clean-target-gperf clean-target-gperf
21970 maybe-clean-target-gperf:
21972 clean-target-gperf:
21973 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21974 r=`${PWD_COMMAND}`; export r; \
21975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21977 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
21978 for flag in $(EXTRA_TARGET_FLAGS); do \
21979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21981 (cd $(TARGET_SUBDIR)/gperf && \
21982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21984 "RANLIB=$${RANLIB}" \
21985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21990 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
21991 maybe-distclean-target-gperf:
21993 distclean-target-gperf:
21994 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21995 r=`${PWD_COMMAND}`; export r; \
21996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21998 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
21999 for flag in $(EXTRA_TARGET_FLAGS); do \
22000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22002 (cd $(TARGET_SUBDIR)/gperf && \
22003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22005 "RANLIB=$${RANLIB}" \
22006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22011 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
22012 maybe-maintainer-clean-target-gperf:
22014 maintainer-clean-target-gperf:
22015 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
22016 r=`${PWD_COMMAND}`; export r; \
22017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22019 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
22020 for flag in $(EXTRA_TARGET_FLAGS); do \
22021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22023 (cd $(TARGET_SUBDIR)/gperf && \
22024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22026 "RANLIB=$${RANLIB}" \
22027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22028 maintainer-clean) \
22033 .PHONY: configure-target-examples maybe-configure-target-examples
22034 maybe-configure-target-examples:
22036 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22037 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
22038 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
22039 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
22040 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
22042 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
22043 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
22044 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
22045 r=`${PWD_COMMAND}`; export r; \
22046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22048 AR="$(AR_FOR_TARGET)"; export AR; \
22049 AS="$(AS_FOR_TARGET)"; export AS; \
22050 CC="$(CC_FOR_TARGET)"; export CC; \
22051 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22052 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
22053 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22054 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22055 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22056 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22057 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
22058 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22059 LD="$(LD_FOR_TARGET)"; export LD; \
22060 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22061 NM="$(NM_FOR_TARGET)"; export NM; \
22062 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22063 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22064 echo Configuring in $(TARGET_SUBDIR)/examples; \
22065 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
22066 case $(srcdir) in \
22067 /* | [A-Za-z]:[\\/]*) \
22068 topdir=$(srcdir) ;; \
22070 case "$(TARGET_SUBDIR)" in \
22071 .) topdir="../$(srcdir)" ;; \
22072 *) topdir="../../$(srcdir)" ;; \
22075 srcdiroption="--srcdir=$${topdir}/examples"; \
22076 libsrcdir="$$s/examples"; \
22077 rm -f no-such-file || : ; \
22078 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22079 $(TARGET_CONFIGARGS) $${srcdiroption} \
22080 --with-target-subdir="$(TARGET_SUBDIR)" \
22083 .PHONY: all-target-examples maybe-all-target-examples
22084 maybe-all-target-examples:
22085 all-target-examples: configure-target-examples
22086 @r=`${PWD_COMMAND}`; export r; \
22087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22089 (cd $(TARGET_SUBDIR)/examples && \
22090 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22092 .PHONY: check-target-examples maybe-check-target-examples
22093 maybe-check-target-examples:
22095 # Dummy target for uncheckable module.
22096 check-target-examples:
22099 .PHONY: install-target-examples maybe-install-target-examples
22100 maybe-install-target-examples:
22102 # Dummy target for uninstallable.
22103 install-target-examples:
22106 # Other targets (info, dvi, etc.)
22108 .PHONY: maybe-info-target-examples info-target-examples
22109 maybe-info-target-examples:
22111 info-target-examples: \
22112 configure-target-examples
22113 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
22114 r=`${PWD_COMMAND}`; export r; \
22115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22117 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
22118 for flag in $(EXTRA_TARGET_FLAGS); do \
22119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22121 (cd $(TARGET_SUBDIR)/examples && \
22122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22124 "RANLIB=$${RANLIB}" \
22125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22130 .PHONY: maybe-dvi-target-examples dvi-target-examples
22131 maybe-dvi-target-examples:
22133 dvi-target-examples: \
22134 configure-target-examples
22135 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
22136 r=`${PWD_COMMAND}`; export r; \
22137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22139 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
22140 for flag in $(EXTRA_TARGET_FLAGS); do \
22141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22143 (cd $(TARGET_SUBDIR)/examples && \
22144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22146 "RANLIB=$${RANLIB}" \
22147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22152 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
22153 maybe-TAGS-target-examples:
22155 TAGS-target-examples: \
22156 configure-target-examples
22157 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
22158 r=`${PWD_COMMAND}`; export r; \
22159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22161 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
22162 for flag in $(EXTRA_TARGET_FLAGS); do \
22163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22165 (cd $(TARGET_SUBDIR)/examples && \
22166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22168 "RANLIB=$${RANLIB}" \
22169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22174 .PHONY: maybe-install-info-target-examples install-info-target-examples
22175 maybe-install-info-target-examples:
22177 install-info-target-examples: \
22178 configure-target-examples \
22179 info-target-examples
22180 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
22181 r=`${PWD_COMMAND}`; export r; \
22182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22184 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
22185 for flag in $(EXTRA_TARGET_FLAGS); do \
22186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22188 (cd $(TARGET_SUBDIR)/examples && \
22189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22191 "RANLIB=$${RANLIB}" \
22192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22197 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
22198 maybe-installcheck-target-examples:
22200 installcheck-target-examples: \
22201 configure-target-examples
22202 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
22203 r=`${PWD_COMMAND}`; export r; \
22204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22206 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
22207 for flag in $(EXTRA_TARGET_FLAGS); do \
22208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22210 (cd $(TARGET_SUBDIR)/examples && \
22211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22213 "RANLIB=$${RANLIB}" \
22214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22219 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
22220 maybe-mostlyclean-target-examples:
22222 mostlyclean-target-examples:
22223 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
22224 r=`${PWD_COMMAND}`; export r; \
22225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22227 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
22228 for flag in $(EXTRA_TARGET_FLAGS); do \
22229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22231 (cd $(TARGET_SUBDIR)/examples && \
22232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22234 "RANLIB=$${RANLIB}" \
22235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22240 .PHONY: maybe-clean-target-examples clean-target-examples
22241 maybe-clean-target-examples:
22243 clean-target-examples:
22244 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
22245 r=`${PWD_COMMAND}`; export r; \
22246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22248 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
22249 for flag in $(EXTRA_TARGET_FLAGS); do \
22250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22252 (cd $(TARGET_SUBDIR)/examples && \
22253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22255 "RANLIB=$${RANLIB}" \
22256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22261 .PHONY: maybe-distclean-target-examples distclean-target-examples
22262 maybe-distclean-target-examples:
22264 distclean-target-examples:
22265 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
22266 r=`${PWD_COMMAND}`; export r; \
22267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22269 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
22270 for flag in $(EXTRA_TARGET_FLAGS); do \
22271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22273 (cd $(TARGET_SUBDIR)/examples && \
22274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22276 "RANLIB=$${RANLIB}" \
22277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22282 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
22283 maybe-maintainer-clean-target-examples:
22285 maintainer-clean-target-examples:
22286 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
22287 r=`${PWD_COMMAND}`; export r; \
22288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22290 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
22291 for flag in $(EXTRA_TARGET_FLAGS); do \
22292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22294 (cd $(TARGET_SUBDIR)/examples && \
22295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22297 "RANLIB=$${RANLIB}" \
22298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22299 maintainer-clean) \
22304 .PHONY: configure-target-libffi maybe-configure-target-libffi
22305 maybe-configure-target-libffi:
22307 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22308 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
22309 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
22310 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
22311 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
22313 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
22314 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
22315 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
22316 r=`${PWD_COMMAND}`; export r; \
22317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22319 AR="$(AR_FOR_TARGET)"; export AR; \
22320 AS="$(AS_FOR_TARGET)"; export AS; \
22321 CC="$(CC_FOR_TARGET)"; export CC; \
22322 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22323 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
22324 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22325 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22326 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22327 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22328 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
22329 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22330 LD="$(LD_FOR_TARGET)"; export LD; \
22331 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22332 NM="$(NM_FOR_TARGET)"; export NM; \
22333 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22334 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22335 echo Configuring in $(TARGET_SUBDIR)/libffi; \
22336 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
22337 case $(srcdir) in \
22338 /* | [A-Za-z]:[\\/]*) \
22339 topdir=$(srcdir) ;; \
22341 case "$(TARGET_SUBDIR)" in \
22342 .) topdir="../$(srcdir)" ;; \
22343 *) topdir="../../$(srcdir)" ;; \
22346 srcdiroption="--srcdir=$${topdir}/libffi"; \
22347 libsrcdir="$$s/libffi"; \
22348 rm -f no-such-file || : ; \
22349 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22350 $(TARGET_CONFIGARGS) $${srcdiroption} \
22351 --with-target-subdir="$(TARGET_SUBDIR)" \
22354 .PHONY: all-target-libffi maybe-all-target-libffi
22355 maybe-all-target-libffi:
22356 all-target-libffi: configure-target-libffi
22357 @r=`${PWD_COMMAND}`; export r; \
22358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22360 (cd $(TARGET_SUBDIR)/libffi && \
22361 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22363 .PHONY: check-target-libffi maybe-check-target-libffi
22364 maybe-check-target-libffi:
22366 check-target-libffi:
22367 @r=`${PWD_COMMAND}`; export r; \
22368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22370 (cd $(TARGET_SUBDIR)/libffi && \
22371 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22374 .PHONY: install-target-libffi maybe-install-target-libffi
22375 maybe-install-target-libffi:
22377 install-target-libffi: installdirs
22378 @r=`${PWD_COMMAND}`; export r; \
22379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22381 (cd $(TARGET_SUBDIR)/libffi && \
22382 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22385 # Other targets (info, dvi, etc.)
22387 .PHONY: maybe-info-target-libffi info-target-libffi
22388 maybe-info-target-libffi:
22390 info-target-libffi: \
22391 configure-target-libffi
22392 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
22393 r=`${PWD_COMMAND}`; export r; \
22394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22396 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
22397 for flag in $(EXTRA_TARGET_FLAGS); do \
22398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22400 (cd $(TARGET_SUBDIR)/libffi && \
22401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22403 "RANLIB=$${RANLIB}" \
22404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22409 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
22410 maybe-dvi-target-libffi:
22412 dvi-target-libffi: \
22413 configure-target-libffi
22414 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
22415 r=`${PWD_COMMAND}`; export r; \
22416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22418 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
22419 for flag in $(EXTRA_TARGET_FLAGS); do \
22420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22422 (cd $(TARGET_SUBDIR)/libffi && \
22423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22425 "RANLIB=$${RANLIB}" \
22426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22431 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
22432 maybe-TAGS-target-libffi:
22434 TAGS-target-libffi: \
22435 configure-target-libffi
22436 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
22437 r=`${PWD_COMMAND}`; export r; \
22438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22440 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
22441 for flag in $(EXTRA_TARGET_FLAGS); do \
22442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22444 (cd $(TARGET_SUBDIR)/libffi && \
22445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22447 "RANLIB=$${RANLIB}" \
22448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22453 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
22454 maybe-install-info-target-libffi:
22456 install-info-target-libffi: \
22457 configure-target-libffi \
22459 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
22460 r=`${PWD_COMMAND}`; export r; \
22461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22463 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
22464 for flag in $(EXTRA_TARGET_FLAGS); do \
22465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22467 (cd $(TARGET_SUBDIR)/libffi && \
22468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22470 "RANLIB=$${RANLIB}" \
22471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22476 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
22477 maybe-installcheck-target-libffi:
22479 installcheck-target-libffi: \
22480 configure-target-libffi
22481 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
22482 r=`${PWD_COMMAND}`; export r; \
22483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22485 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
22486 for flag in $(EXTRA_TARGET_FLAGS); do \
22487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22489 (cd $(TARGET_SUBDIR)/libffi && \
22490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22492 "RANLIB=$${RANLIB}" \
22493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22498 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
22499 maybe-mostlyclean-target-libffi:
22501 mostlyclean-target-libffi:
22502 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
22503 r=`${PWD_COMMAND}`; export r; \
22504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22506 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
22507 for flag in $(EXTRA_TARGET_FLAGS); do \
22508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22510 (cd $(TARGET_SUBDIR)/libffi && \
22511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22513 "RANLIB=$${RANLIB}" \
22514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22519 .PHONY: maybe-clean-target-libffi clean-target-libffi
22520 maybe-clean-target-libffi:
22522 clean-target-libffi:
22523 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
22524 r=`${PWD_COMMAND}`; export r; \
22525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22527 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
22528 for flag in $(EXTRA_TARGET_FLAGS); do \
22529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22531 (cd $(TARGET_SUBDIR)/libffi && \
22532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22534 "RANLIB=$${RANLIB}" \
22535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22540 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
22541 maybe-distclean-target-libffi:
22543 distclean-target-libffi:
22544 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
22545 r=`${PWD_COMMAND}`; export r; \
22546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22548 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
22549 for flag in $(EXTRA_TARGET_FLAGS); do \
22550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22552 (cd $(TARGET_SUBDIR)/libffi && \
22553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22555 "RANLIB=$${RANLIB}" \
22556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22561 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
22562 maybe-maintainer-clean-target-libffi:
22564 maintainer-clean-target-libffi:
22565 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
22566 r=`${PWD_COMMAND}`; export r; \
22567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22569 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
22570 for flag in $(EXTRA_TARGET_FLAGS); do \
22571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22573 (cd $(TARGET_SUBDIR)/libffi && \
22574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22576 "RANLIB=$${RANLIB}" \
22577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22578 maintainer-clean) \
22583 .PHONY: configure-target-libjava maybe-configure-target-libjava
22584 maybe-configure-target-libjava:
22586 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22587 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
22588 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
22589 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
22590 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
22592 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
22593 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
22594 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
22595 r=`${PWD_COMMAND}`; export r; \
22596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22598 AR="$(AR_FOR_TARGET)"; export AR; \
22599 AS="$(AS_FOR_TARGET)"; export AS; \
22600 CC="$(CC_FOR_TARGET)"; export CC; \
22601 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22602 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
22603 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22604 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
22605 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \
22606 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22607 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22608 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
22609 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22610 LD="$(LD_FOR_TARGET)"; export LD; \
22611 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22612 NM="$(NM_FOR_TARGET)"; export NM; \
22613 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22614 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22615 echo Configuring in $(TARGET_SUBDIR)/libjava; \
22616 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
22617 case $(srcdir) in \
22618 /* | [A-Za-z]:[\\/]*) \
22619 topdir=$(srcdir) ;; \
22621 case "$(TARGET_SUBDIR)" in \
22622 .) topdir="../$(srcdir)" ;; \
22623 *) topdir="../../$(srcdir)" ;; \
22626 srcdiroption="--srcdir=$${topdir}/libjava"; \
22627 libsrcdir="$$s/libjava"; \
22628 rm -f no-such-file || : ; \
22629 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22630 $(TARGET_CONFIGARGS) $${srcdiroption} \
22631 --with-target-subdir="$(TARGET_SUBDIR)" \
22634 .PHONY: all-target-libjava maybe-all-target-libjava
22635 maybe-all-target-libjava:
22636 all-target-libjava: configure-target-libjava
22637 @r=`${PWD_COMMAND}`; export r; \
22638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22640 (cd $(TARGET_SUBDIR)/libjava && \
22641 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
22643 .PHONY: check-target-libjava maybe-check-target-libjava
22644 maybe-check-target-libjava:
22646 check-target-libjava:
22647 @r=`${PWD_COMMAND}`; export r; \
22648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22650 (cd $(TARGET_SUBDIR)/libjava && \
22651 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
22654 .PHONY: install-target-libjava maybe-install-target-libjava
22655 maybe-install-target-libjava:
22657 install-target-libjava: installdirs
22658 @r=`${PWD_COMMAND}`; export r; \
22659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22661 (cd $(TARGET_SUBDIR)/libjava && \
22662 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22665 # Other targets (info, dvi, etc.)
22667 .PHONY: maybe-info-target-libjava info-target-libjava
22668 maybe-info-target-libjava:
22670 info-target-libjava: \
22671 configure-target-libjava
22672 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22673 r=`${PWD_COMMAND}`; export r; \
22674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22676 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
22677 for flag in $(EXTRA_TARGET_FLAGS); do \
22678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22680 (cd $(TARGET_SUBDIR)/libjava && \
22681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22683 "RANLIB=$${RANLIB}" \
22684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22689 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
22690 maybe-dvi-target-libjava:
22692 dvi-target-libjava: \
22693 configure-target-libjava
22694 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22695 r=`${PWD_COMMAND}`; export r; \
22696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22698 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
22699 for flag in $(EXTRA_TARGET_FLAGS); do \
22700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22702 (cd $(TARGET_SUBDIR)/libjava && \
22703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22705 "RANLIB=$${RANLIB}" \
22706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22711 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
22712 maybe-TAGS-target-libjava:
22714 TAGS-target-libjava: \
22715 configure-target-libjava
22716 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22717 r=`${PWD_COMMAND}`; export r; \
22718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22720 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
22721 for flag in $(EXTRA_TARGET_FLAGS); do \
22722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22724 (cd $(TARGET_SUBDIR)/libjava && \
22725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22727 "RANLIB=$${RANLIB}" \
22728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22733 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
22734 maybe-install-info-target-libjava:
22736 install-info-target-libjava: \
22737 configure-target-libjava \
22738 info-target-libjava
22739 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22740 r=`${PWD_COMMAND}`; export r; \
22741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22743 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
22744 for flag in $(EXTRA_TARGET_FLAGS); do \
22745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22747 (cd $(TARGET_SUBDIR)/libjava && \
22748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22750 "RANLIB=$${RANLIB}" \
22751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22756 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
22757 maybe-installcheck-target-libjava:
22759 installcheck-target-libjava: \
22760 configure-target-libjava
22761 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22762 r=`${PWD_COMMAND}`; export r; \
22763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22765 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
22766 for flag in $(EXTRA_TARGET_FLAGS); do \
22767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22769 (cd $(TARGET_SUBDIR)/libjava && \
22770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22772 "RANLIB=$${RANLIB}" \
22773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22778 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
22779 maybe-mostlyclean-target-libjava:
22781 mostlyclean-target-libjava:
22782 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22783 r=`${PWD_COMMAND}`; export r; \
22784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22786 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
22787 for flag in $(EXTRA_TARGET_FLAGS); do \
22788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22790 (cd $(TARGET_SUBDIR)/libjava && \
22791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22793 "RANLIB=$${RANLIB}" \
22794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22799 .PHONY: maybe-clean-target-libjava clean-target-libjava
22800 maybe-clean-target-libjava:
22802 clean-target-libjava:
22803 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22804 r=`${PWD_COMMAND}`; export r; \
22805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22807 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
22808 for flag in $(EXTRA_TARGET_FLAGS); do \
22809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22811 (cd $(TARGET_SUBDIR)/libjava && \
22812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22814 "RANLIB=$${RANLIB}" \
22815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22820 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
22821 maybe-distclean-target-libjava:
22823 distclean-target-libjava:
22824 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22825 r=`${PWD_COMMAND}`; export r; \
22826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22828 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
22829 for flag in $(EXTRA_TARGET_FLAGS); do \
22830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22832 (cd $(TARGET_SUBDIR)/libjava && \
22833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22835 "RANLIB=$${RANLIB}" \
22836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22841 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
22842 maybe-maintainer-clean-target-libjava:
22844 maintainer-clean-target-libjava:
22845 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22846 r=`${PWD_COMMAND}`; export r; \
22847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22849 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
22850 for flag in $(EXTRA_TARGET_FLAGS); do \
22851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22853 (cd $(TARGET_SUBDIR)/libjava && \
22854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22856 "RANLIB=$${RANLIB}" \
22857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22858 maintainer-clean) \
22863 .PHONY: configure-target-zlib maybe-configure-target-zlib
22864 maybe-configure-target-zlib:
22866 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22867 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
22868 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
22869 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
22870 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
22872 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
22873 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
22874 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
22875 r=`${PWD_COMMAND}`; export r; \
22876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22878 AR="$(AR_FOR_TARGET)"; export AR; \
22879 AS="$(AS_FOR_TARGET)"; export AS; \
22880 CC="$(CC_FOR_TARGET)"; export CC; \
22881 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22882 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
22883 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22884 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22885 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22886 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22887 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
22888 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22889 LD="$(LD_FOR_TARGET)"; export LD; \
22890 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22891 NM="$(NM_FOR_TARGET)"; export NM; \
22892 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22893 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22894 echo Configuring in $(TARGET_SUBDIR)/zlib; \
22895 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
22896 case $(srcdir) in \
22897 /* | [A-Za-z]:[\\/]*) \
22898 topdir=$(srcdir) ;; \
22900 case "$(TARGET_SUBDIR)" in \
22901 .) topdir="../$(srcdir)" ;; \
22902 *) topdir="../../$(srcdir)" ;; \
22905 if [ "$(srcdir)" = "." ] ; then \
22906 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22907 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
22908 if [ -f Makefile ]; then \
22909 if $(MAKE) distclean; then \
22923 srcdiroption="--srcdir=."; \
22926 srcdiroption="--srcdir=$${topdir}/zlib"; \
22927 libsrcdir="$$s/zlib"; \
22929 rm -f no-such-file || : ; \
22930 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22931 $(TARGET_CONFIGARGS) $${srcdiroption} \
22932 --with-target-subdir="$(TARGET_SUBDIR)" \
22935 .PHONY: all-target-zlib maybe-all-target-zlib
22936 maybe-all-target-zlib:
22937 all-target-zlib: configure-target-zlib
22938 @r=`${PWD_COMMAND}`; export r; \
22939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22941 (cd $(TARGET_SUBDIR)/zlib && \
22942 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22944 .PHONY: check-target-zlib maybe-check-target-zlib
22945 maybe-check-target-zlib:
22948 @r=`${PWD_COMMAND}`; export r; \
22949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22951 (cd $(TARGET_SUBDIR)/zlib && \
22952 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22955 .PHONY: install-target-zlib maybe-install-target-zlib
22956 maybe-install-target-zlib:
22958 install-target-zlib: installdirs
22959 @r=`${PWD_COMMAND}`; export r; \
22960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22962 (cd $(TARGET_SUBDIR)/zlib && \
22963 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22966 # Other targets (info, dvi, etc.)
22968 .PHONY: maybe-info-target-zlib info-target-zlib
22969 maybe-info-target-zlib:
22971 info-target-zlib: \
22972 configure-target-zlib
22973 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
22974 r=`${PWD_COMMAND}`; export r; \
22975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22977 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
22978 for flag in $(EXTRA_TARGET_FLAGS); do \
22979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22981 (cd $(TARGET_SUBDIR)/zlib && \
22982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22984 "RANLIB=$${RANLIB}" \
22985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22990 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
22991 maybe-dvi-target-zlib:
22994 configure-target-zlib
22995 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
22996 r=`${PWD_COMMAND}`; export r; \
22997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22999 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
23000 for flag in $(EXTRA_TARGET_FLAGS); do \
23001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23003 (cd $(TARGET_SUBDIR)/zlib && \
23004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23006 "RANLIB=$${RANLIB}" \
23007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23012 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
23013 maybe-TAGS-target-zlib:
23015 TAGS-target-zlib: \
23016 configure-target-zlib
23017 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
23018 r=`${PWD_COMMAND}`; export r; \
23019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23021 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
23022 for flag in $(EXTRA_TARGET_FLAGS); do \
23023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23025 (cd $(TARGET_SUBDIR)/zlib && \
23026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23028 "RANLIB=$${RANLIB}" \
23029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23034 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
23035 maybe-install-info-target-zlib:
23037 install-info-target-zlib: \
23038 configure-target-zlib \
23040 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
23041 r=`${PWD_COMMAND}`; export r; \
23042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23044 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
23045 for flag in $(EXTRA_TARGET_FLAGS); do \
23046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23048 (cd $(TARGET_SUBDIR)/zlib && \
23049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23051 "RANLIB=$${RANLIB}" \
23052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23057 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
23058 maybe-installcheck-target-zlib:
23060 installcheck-target-zlib: \
23061 configure-target-zlib
23062 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
23063 r=`${PWD_COMMAND}`; export r; \
23064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23066 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
23067 for flag in $(EXTRA_TARGET_FLAGS); do \
23068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23070 (cd $(TARGET_SUBDIR)/zlib && \
23071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23073 "RANLIB=$${RANLIB}" \
23074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23079 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
23080 maybe-mostlyclean-target-zlib:
23082 mostlyclean-target-zlib:
23083 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
23084 r=`${PWD_COMMAND}`; export r; \
23085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23087 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
23088 for flag in $(EXTRA_TARGET_FLAGS); do \
23089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23091 (cd $(TARGET_SUBDIR)/zlib && \
23092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23094 "RANLIB=$${RANLIB}" \
23095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23100 .PHONY: maybe-clean-target-zlib clean-target-zlib
23101 maybe-clean-target-zlib:
23104 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
23105 r=`${PWD_COMMAND}`; export r; \
23106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23108 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
23109 for flag in $(EXTRA_TARGET_FLAGS); do \
23110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23112 (cd $(TARGET_SUBDIR)/zlib && \
23113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23115 "RANLIB=$${RANLIB}" \
23116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23121 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
23122 maybe-distclean-target-zlib:
23124 distclean-target-zlib:
23125 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
23126 r=`${PWD_COMMAND}`; export r; \
23127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23129 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
23130 for flag in $(EXTRA_TARGET_FLAGS); do \
23131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23133 (cd $(TARGET_SUBDIR)/zlib && \
23134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23136 "RANLIB=$${RANLIB}" \
23137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23142 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
23143 maybe-maintainer-clean-target-zlib:
23145 maintainer-clean-target-zlib:
23146 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
23147 r=`${PWD_COMMAND}`; export r; \
23148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23150 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
23151 for flag in $(EXTRA_TARGET_FLAGS); do \
23152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23154 (cd $(TARGET_SUBDIR)/zlib && \
23155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23157 "RANLIB=$${RANLIB}" \
23158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23159 maintainer-clean) \
23164 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
23165 maybe-configure-target-boehm-gc:
23167 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23168 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
23169 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
23170 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
23171 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
23173 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
23174 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
23175 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
23176 r=`${PWD_COMMAND}`; export r; \
23177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23179 AR="$(AR_FOR_TARGET)"; export AR; \
23180 AS="$(AS_FOR_TARGET)"; export AS; \
23181 CC="$(CC_FOR_TARGET)"; export CC; \
23182 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23183 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
23184 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23185 CXX="$(CXX_FOR_TARGET)"; export CXX; \
23186 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23187 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23188 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
23189 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23190 LD="$(LD_FOR_TARGET)"; export LD; \
23191 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23192 NM="$(NM_FOR_TARGET)"; export NM; \
23193 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23194 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23195 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
23196 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
23197 case $(srcdir) in \
23198 /* | [A-Za-z]:[\\/]*) \
23199 topdir=$(srcdir) ;; \
23201 case "$(TARGET_SUBDIR)" in \
23202 .) topdir="../$(srcdir)" ;; \
23203 *) topdir="../../$(srcdir)" ;; \
23206 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
23207 libsrcdir="$$s/boehm-gc"; \
23208 rm -f no-such-file || : ; \
23209 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23210 $(TARGET_CONFIGARGS) $${srcdiroption} \
23211 --with-target-subdir="$(TARGET_SUBDIR)" \
23214 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
23215 maybe-all-target-boehm-gc:
23216 all-target-boehm-gc: configure-target-boehm-gc
23217 @r=`${PWD_COMMAND}`; export r; \
23218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23220 (cd $(TARGET_SUBDIR)/boehm-gc && \
23221 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23223 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
23224 maybe-check-target-boehm-gc:
23226 check-target-boehm-gc:
23227 @r=`${PWD_COMMAND}`; export r; \
23228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23230 (cd $(TARGET_SUBDIR)/boehm-gc && \
23231 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23234 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
23235 maybe-install-target-boehm-gc:
23237 install-target-boehm-gc: installdirs
23238 @r=`${PWD_COMMAND}`; export r; \
23239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23241 (cd $(TARGET_SUBDIR)/boehm-gc && \
23242 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23245 # Other targets (info, dvi, etc.)
23247 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
23248 maybe-info-target-boehm-gc:
23250 info-target-boehm-gc: \
23251 configure-target-boehm-gc
23252 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
23253 r=`${PWD_COMMAND}`; export r; \
23254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23256 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
23257 for flag in $(EXTRA_TARGET_FLAGS); do \
23258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23260 (cd $(TARGET_SUBDIR)/boehm-gc && \
23261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23263 "RANLIB=$${RANLIB}" \
23264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23269 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
23270 maybe-dvi-target-boehm-gc:
23272 dvi-target-boehm-gc: \
23273 configure-target-boehm-gc
23274 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
23275 r=`${PWD_COMMAND}`; export r; \
23276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23278 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
23279 for flag in $(EXTRA_TARGET_FLAGS); do \
23280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23282 (cd $(TARGET_SUBDIR)/boehm-gc && \
23283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23285 "RANLIB=$${RANLIB}" \
23286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23291 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
23292 maybe-TAGS-target-boehm-gc:
23294 TAGS-target-boehm-gc: \
23295 configure-target-boehm-gc
23296 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
23297 r=`${PWD_COMMAND}`; export r; \
23298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23300 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
23301 for flag in $(EXTRA_TARGET_FLAGS); do \
23302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23304 (cd $(TARGET_SUBDIR)/boehm-gc && \
23305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23307 "RANLIB=$${RANLIB}" \
23308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23313 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
23314 maybe-install-info-target-boehm-gc:
23316 install-info-target-boehm-gc: \
23317 configure-target-boehm-gc \
23318 info-target-boehm-gc
23319 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
23320 r=`${PWD_COMMAND}`; export r; \
23321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23323 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
23324 for flag in $(EXTRA_TARGET_FLAGS); do \
23325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23327 (cd $(TARGET_SUBDIR)/boehm-gc && \
23328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23330 "RANLIB=$${RANLIB}" \
23331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23336 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
23337 maybe-installcheck-target-boehm-gc:
23339 installcheck-target-boehm-gc: \
23340 configure-target-boehm-gc
23341 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
23342 r=`${PWD_COMMAND}`; export r; \
23343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23345 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
23346 for flag in $(EXTRA_TARGET_FLAGS); do \
23347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23349 (cd $(TARGET_SUBDIR)/boehm-gc && \
23350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23352 "RANLIB=$${RANLIB}" \
23353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23358 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
23359 maybe-mostlyclean-target-boehm-gc:
23361 mostlyclean-target-boehm-gc:
23362 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
23363 r=`${PWD_COMMAND}`; export r; \
23364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23366 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
23367 for flag in $(EXTRA_TARGET_FLAGS); do \
23368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23370 (cd $(TARGET_SUBDIR)/boehm-gc && \
23371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23373 "RANLIB=$${RANLIB}" \
23374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23379 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
23380 maybe-clean-target-boehm-gc:
23382 clean-target-boehm-gc:
23383 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
23384 r=`${PWD_COMMAND}`; export r; \
23385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23387 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
23388 for flag in $(EXTRA_TARGET_FLAGS); do \
23389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23391 (cd $(TARGET_SUBDIR)/boehm-gc && \
23392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23394 "RANLIB=$${RANLIB}" \
23395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23400 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
23401 maybe-distclean-target-boehm-gc:
23403 distclean-target-boehm-gc:
23404 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
23405 r=`${PWD_COMMAND}`; export r; \
23406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23408 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
23409 for flag in $(EXTRA_TARGET_FLAGS); do \
23410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23412 (cd $(TARGET_SUBDIR)/boehm-gc && \
23413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23415 "RANLIB=$${RANLIB}" \
23416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23421 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
23422 maybe-maintainer-clean-target-boehm-gc:
23424 maintainer-clean-target-boehm-gc:
23425 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
23426 r=`${PWD_COMMAND}`; export r; \
23427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23429 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
23430 for flag in $(EXTRA_TARGET_FLAGS); do \
23431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23433 (cd $(TARGET_SUBDIR)/boehm-gc && \
23434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23436 "RANLIB=$${RANLIB}" \
23437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23438 maintainer-clean) \
23443 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
23444 maybe-configure-target-qthreads:
23446 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23447 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
23448 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
23449 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
23450 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
23452 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
23453 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
23454 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
23455 r=`${PWD_COMMAND}`; export r; \
23456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23458 AR="$(AR_FOR_TARGET)"; export AR; \
23459 AS="$(AS_FOR_TARGET)"; export AS; \
23460 CC="$(CC_FOR_TARGET)"; export CC; \
23461 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23462 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
23463 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23464 CXX="$(CXX_FOR_TARGET)"; export CXX; \
23465 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23466 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23467 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
23468 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23469 LD="$(LD_FOR_TARGET)"; export LD; \
23470 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23471 NM="$(NM_FOR_TARGET)"; export NM; \
23472 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23473 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23474 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
23475 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
23476 case $(srcdir) in \
23477 /* | [A-Za-z]:[\\/]*) \
23478 topdir=$(srcdir) ;; \
23480 case "$(TARGET_SUBDIR)" in \
23481 .) topdir="../$(srcdir)" ;; \
23482 *) topdir="../../$(srcdir)" ;; \
23485 srcdiroption="--srcdir=$${topdir}/qthreads"; \
23486 libsrcdir="$$s/qthreads"; \
23487 rm -f no-such-file || : ; \
23488 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23489 $(TARGET_CONFIGARGS) $${srcdiroption} \
23490 --with-target-subdir="$(TARGET_SUBDIR)" \
23493 .PHONY: all-target-qthreads maybe-all-target-qthreads
23494 maybe-all-target-qthreads:
23495 all-target-qthreads: configure-target-qthreads
23496 @r=`${PWD_COMMAND}`; export r; \
23497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23499 (cd $(TARGET_SUBDIR)/qthreads && \
23500 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23502 .PHONY: check-target-qthreads maybe-check-target-qthreads
23503 maybe-check-target-qthreads:
23505 check-target-qthreads:
23506 @r=`${PWD_COMMAND}`; export r; \
23507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23509 (cd $(TARGET_SUBDIR)/qthreads && \
23510 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23513 .PHONY: install-target-qthreads maybe-install-target-qthreads
23514 maybe-install-target-qthreads:
23516 install-target-qthreads: installdirs
23517 @r=`${PWD_COMMAND}`; export r; \
23518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23520 (cd $(TARGET_SUBDIR)/qthreads && \
23521 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23524 # Other targets (info, dvi, etc.)
23526 .PHONY: maybe-info-target-qthreads info-target-qthreads
23527 maybe-info-target-qthreads:
23529 info-target-qthreads: \
23530 configure-target-qthreads
23531 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
23532 r=`${PWD_COMMAND}`; export r; \
23533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23535 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
23536 for flag in $(EXTRA_TARGET_FLAGS); do \
23537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23539 (cd $(TARGET_SUBDIR)/qthreads && \
23540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23542 "RANLIB=$${RANLIB}" \
23543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23548 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
23549 maybe-dvi-target-qthreads:
23551 dvi-target-qthreads: \
23552 configure-target-qthreads
23553 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
23554 r=`${PWD_COMMAND}`; export r; \
23555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23557 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
23558 for flag in $(EXTRA_TARGET_FLAGS); do \
23559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23561 (cd $(TARGET_SUBDIR)/qthreads && \
23562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23564 "RANLIB=$${RANLIB}" \
23565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23570 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
23571 maybe-TAGS-target-qthreads:
23573 TAGS-target-qthreads: \
23574 configure-target-qthreads
23575 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
23576 r=`${PWD_COMMAND}`; export r; \
23577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23579 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
23580 for flag in $(EXTRA_TARGET_FLAGS); do \
23581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23583 (cd $(TARGET_SUBDIR)/qthreads && \
23584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23586 "RANLIB=$${RANLIB}" \
23587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23592 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
23593 maybe-install-info-target-qthreads:
23595 install-info-target-qthreads: \
23596 configure-target-qthreads \
23597 info-target-qthreads
23598 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
23599 r=`${PWD_COMMAND}`; export r; \
23600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23602 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
23603 for flag in $(EXTRA_TARGET_FLAGS); do \
23604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23606 (cd $(TARGET_SUBDIR)/qthreads && \
23607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23609 "RANLIB=$${RANLIB}" \
23610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23615 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
23616 maybe-installcheck-target-qthreads:
23618 installcheck-target-qthreads: \
23619 configure-target-qthreads
23620 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
23621 r=`${PWD_COMMAND}`; export r; \
23622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23624 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
23625 for flag in $(EXTRA_TARGET_FLAGS); do \
23626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23628 (cd $(TARGET_SUBDIR)/qthreads && \
23629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23631 "RANLIB=$${RANLIB}" \
23632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23637 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
23638 maybe-mostlyclean-target-qthreads:
23640 mostlyclean-target-qthreads:
23641 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
23642 r=`${PWD_COMMAND}`; export r; \
23643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23645 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
23646 for flag in $(EXTRA_TARGET_FLAGS); do \
23647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23649 (cd $(TARGET_SUBDIR)/qthreads && \
23650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23652 "RANLIB=$${RANLIB}" \
23653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23658 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
23659 maybe-clean-target-qthreads:
23661 clean-target-qthreads:
23662 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
23663 r=`${PWD_COMMAND}`; export r; \
23664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23666 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
23667 for flag in $(EXTRA_TARGET_FLAGS); do \
23668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23670 (cd $(TARGET_SUBDIR)/qthreads && \
23671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23673 "RANLIB=$${RANLIB}" \
23674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23679 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
23680 maybe-distclean-target-qthreads:
23682 distclean-target-qthreads:
23683 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
23684 r=`${PWD_COMMAND}`; export r; \
23685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23687 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
23688 for flag in $(EXTRA_TARGET_FLAGS); do \
23689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23691 (cd $(TARGET_SUBDIR)/qthreads && \
23692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23694 "RANLIB=$${RANLIB}" \
23695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23700 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
23701 maybe-maintainer-clean-target-qthreads:
23703 maintainer-clean-target-qthreads:
23704 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
23705 r=`${PWD_COMMAND}`; export r; \
23706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23708 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
23709 for flag in $(EXTRA_TARGET_FLAGS); do \
23710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23712 (cd $(TARGET_SUBDIR)/qthreads && \
23713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23715 "RANLIB=$${RANLIB}" \
23716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23717 maintainer-clean) \
23722 .PHONY: configure-target-rda maybe-configure-target-rda
23723 maybe-configure-target-rda:
23725 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23726 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
23727 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
23728 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
23729 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
23731 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
23732 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
23733 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
23734 r=`${PWD_COMMAND}`; export r; \
23735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23737 AR="$(AR_FOR_TARGET)"; export AR; \
23738 AS="$(AS_FOR_TARGET)"; export AS; \
23739 CC="$(CC_FOR_TARGET)"; export CC; \
23740 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23741 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
23742 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23743 CXX="$(CXX_FOR_TARGET)"; export CXX; \
23744 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23745 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23746 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
23747 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23748 LD="$(LD_FOR_TARGET)"; export LD; \
23749 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23750 NM="$(NM_FOR_TARGET)"; export NM; \
23751 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23752 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23753 echo Configuring in $(TARGET_SUBDIR)/rda; \
23754 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
23755 case $(srcdir) in \
23756 /* | [A-Za-z]:[\\/]*) \
23757 topdir=$(srcdir) ;; \
23759 case "$(TARGET_SUBDIR)" in \
23760 .) topdir="../$(srcdir)" ;; \
23761 *) topdir="../../$(srcdir)" ;; \
23764 srcdiroption="--srcdir=$${topdir}/rda"; \
23765 libsrcdir="$$s/rda"; \
23766 rm -f no-such-file || : ; \
23767 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23768 $(TARGET_CONFIGARGS) $${srcdiroption} \
23769 --with-target-subdir="$(TARGET_SUBDIR)" \
23772 .PHONY: all-target-rda maybe-all-target-rda
23773 maybe-all-target-rda:
23774 all-target-rda: configure-target-rda
23775 @r=`${PWD_COMMAND}`; export r; \
23776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23778 (cd $(TARGET_SUBDIR)/rda && \
23779 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23781 .PHONY: check-target-rda maybe-check-target-rda
23782 maybe-check-target-rda:
23785 @r=`${PWD_COMMAND}`; export r; \
23786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23788 (cd $(TARGET_SUBDIR)/rda && \
23789 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23792 .PHONY: install-target-rda maybe-install-target-rda
23793 maybe-install-target-rda:
23795 install-target-rda: installdirs
23796 @r=`${PWD_COMMAND}`; export r; \
23797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23799 (cd $(TARGET_SUBDIR)/rda && \
23800 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23803 # Other targets (info, dvi, etc.)
23805 .PHONY: maybe-info-target-rda info-target-rda
23806 maybe-info-target-rda:
23809 configure-target-rda
23810 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23811 r=`${PWD_COMMAND}`; export r; \
23812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23814 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
23815 for flag in $(EXTRA_TARGET_FLAGS); do \
23816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23818 (cd $(TARGET_SUBDIR)/rda && \
23819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23821 "RANLIB=$${RANLIB}" \
23822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23827 .PHONY: maybe-dvi-target-rda dvi-target-rda
23828 maybe-dvi-target-rda:
23831 configure-target-rda
23832 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23833 r=`${PWD_COMMAND}`; export r; \
23834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23836 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
23837 for flag in $(EXTRA_TARGET_FLAGS); do \
23838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23840 (cd $(TARGET_SUBDIR)/rda && \
23841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23843 "RANLIB=$${RANLIB}" \
23844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23849 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
23850 maybe-TAGS-target-rda:
23853 configure-target-rda
23854 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23855 r=`${PWD_COMMAND}`; export r; \
23856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23858 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
23859 for flag in $(EXTRA_TARGET_FLAGS); do \
23860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23862 (cd $(TARGET_SUBDIR)/rda && \
23863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23865 "RANLIB=$${RANLIB}" \
23866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23871 .PHONY: maybe-install-info-target-rda install-info-target-rda
23872 maybe-install-info-target-rda:
23874 install-info-target-rda: \
23875 configure-target-rda \
23877 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23878 r=`${PWD_COMMAND}`; export r; \
23879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23881 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
23882 for flag in $(EXTRA_TARGET_FLAGS); do \
23883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23885 (cd $(TARGET_SUBDIR)/rda && \
23886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23888 "RANLIB=$${RANLIB}" \
23889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23894 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
23895 maybe-installcheck-target-rda:
23897 installcheck-target-rda: \
23898 configure-target-rda
23899 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23900 r=`${PWD_COMMAND}`; export r; \
23901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23903 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
23904 for flag in $(EXTRA_TARGET_FLAGS); do \
23905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23907 (cd $(TARGET_SUBDIR)/rda && \
23908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23910 "RANLIB=$${RANLIB}" \
23911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23916 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
23917 maybe-mostlyclean-target-rda:
23919 mostlyclean-target-rda:
23920 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23921 r=`${PWD_COMMAND}`; export r; \
23922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23924 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
23925 for flag in $(EXTRA_TARGET_FLAGS); do \
23926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23928 (cd $(TARGET_SUBDIR)/rda && \
23929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23931 "RANLIB=$${RANLIB}" \
23932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23937 .PHONY: maybe-clean-target-rda clean-target-rda
23938 maybe-clean-target-rda:
23941 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23942 r=`${PWD_COMMAND}`; export r; \
23943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23945 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
23946 for flag in $(EXTRA_TARGET_FLAGS); do \
23947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23949 (cd $(TARGET_SUBDIR)/rda && \
23950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23952 "RANLIB=$${RANLIB}" \
23953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23958 .PHONY: maybe-distclean-target-rda distclean-target-rda
23959 maybe-distclean-target-rda:
23961 distclean-target-rda:
23962 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23963 r=`${PWD_COMMAND}`; export r; \
23964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23966 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
23967 for flag in $(EXTRA_TARGET_FLAGS); do \
23968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23970 (cd $(TARGET_SUBDIR)/rda && \
23971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23973 "RANLIB=$${RANLIB}" \
23974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23979 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
23980 maybe-maintainer-clean-target-rda:
23982 maintainer-clean-target-rda:
23983 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23984 r=`${PWD_COMMAND}`; export r; \
23985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23987 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
23988 for flag in $(EXTRA_TARGET_FLAGS); do \
23989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23991 (cd $(TARGET_SUBDIR)/rda && \
23992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23994 "RANLIB=$${RANLIB}" \
23995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23996 maintainer-clean) \
24001 .PHONY: configure-target-libada maybe-configure-target-libada
24002 maybe-configure-target-libada:
24004 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24005 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
24006 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
24007 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
24008 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
24010 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
24011 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
24012 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
24013 r=`${PWD_COMMAND}`; export r; \
24014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24016 AR="$(AR_FOR_TARGET)"; export AR; \
24017 AS="$(AS_FOR_TARGET)"; export AS; \
24018 CC="$(CC_FOR_TARGET)"; export CC; \
24019 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
24020 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
24021 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
24022 CXX="$(CXX_FOR_TARGET)"; export CXX; \
24023 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
24024 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
24025 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
24026 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
24027 LD="$(LD_FOR_TARGET)"; export LD; \
24028 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
24029 NM="$(NM_FOR_TARGET)"; export NM; \
24030 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
24031 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
24032 echo Configuring in $(TARGET_SUBDIR)/libada; \
24033 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
24034 case $(srcdir) in \
24035 /* | [A-Za-z]:[\\/]*) \
24036 topdir=$(srcdir) ;; \
24038 case "$(TARGET_SUBDIR)" in \
24039 .) topdir="../$(srcdir)" ;; \
24040 *) topdir="../../$(srcdir)" ;; \
24043 srcdiroption="--srcdir=$${topdir}/libada"; \
24044 libsrcdir="$$s/libada"; \
24045 rm -f no-such-file || : ; \
24046 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24047 $(TARGET_CONFIGARGS) $${srcdiroption} \
24048 --with-target-subdir="$(TARGET_SUBDIR)" \
24051 .PHONY: all-target-libada maybe-all-target-libada
24052 maybe-all-target-libada:
24053 all-target-libada: configure-target-libada
24054 @r=`${PWD_COMMAND}`; export r; \
24055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24057 (cd $(TARGET_SUBDIR)/libada && \
24058 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
24060 .PHONY: check-target-libada maybe-check-target-libada
24061 maybe-check-target-libada:
24063 check-target-libada:
24064 @r=`${PWD_COMMAND}`; export r; \
24065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24067 (cd $(TARGET_SUBDIR)/libada && \
24068 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24071 .PHONY: install-target-libada maybe-install-target-libada
24072 maybe-install-target-libada:
24074 install-target-libada: installdirs
24075 @r=`${PWD_COMMAND}`; export r; \
24076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24078 (cd $(TARGET_SUBDIR)/libada && \
24079 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24082 # Other targets (info, dvi, etc.)
24084 .PHONY: maybe-info-target-libada info-target-libada
24085 maybe-info-target-libada:
24087 info-target-libada: \
24088 configure-target-libada
24089 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
24090 r=`${PWD_COMMAND}`; export r; \
24091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24093 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
24094 for flag in $(EXTRA_TARGET_FLAGS); do \
24095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24097 (cd $(TARGET_SUBDIR)/libada && \
24098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24100 "RANLIB=$${RANLIB}" \
24101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24106 .PHONY: maybe-dvi-target-libada dvi-target-libada
24107 maybe-dvi-target-libada:
24109 dvi-target-libada: \
24110 configure-target-libada
24111 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
24112 r=`${PWD_COMMAND}`; export r; \
24113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24115 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
24116 for flag in $(EXTRA_TARGET_FLAGS); do \
24117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24119 (cd $(TARGET_SUBDIR)/libada && \
24120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24122 "RANLIB=$${RANLIB}" \
24123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24128 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
24129 maybe-TAGS-target-libada:
24131 TAGS-target-libada: \
24132 configure-target-libada
24133 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
24134 r=`${PWD_COMMAND}`; export r; \
24135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24137 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
24138 for flag in $(EXTRA_TARGET_FLAGS); do \
24139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24141 (cd $(TARGET_SUBDIR)/libada && \
24142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24144 "RANLIB=$${RANLIB}" \
24145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24150 .PHONY: maybe-install-info-target-libada install-info-target-libada
24151 maybe-install-info-target-libada:
24153 install-info-target-libada: \
24154 configure-target-libada \
24156 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
24157 r=`${PWD_COMMAND}`; export r; \
24158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24160 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
24161 for flag in $(EXTRA_TARGET_FLAGS); do \
24162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24164 (cd $(TARGET_SUBDIR)/libada && \
24165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24167 "RANLIB=$${RANLIB}" \
24168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24173 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
24174 maybe-installcheck-target-libada:
24176 installcheck-target-libada: \
24177 configure-target-libada
24178 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
24179 r=`${PWD_COMMAND}`; export r; \
24180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24182 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
24183 for flag in $(EXTRA_TARGET_FLAGS); do \
24184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24186 (cd $(TARGET_SUBDIR)/libada && \
24187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24189 "RANLIB=$${RANLIB}" \
24190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24195 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
24196 maybe-mostlyclean-target-libada:
24198 mostlyclean-target-libada:
24199 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
24200 r=`${PWD_COMMAND}`; export r; \
24201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24203 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
24204 for flag in $(EXTRA_TARGET_FLAGS); do \
24205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24207 (cd $(TARGET_SUBDIR)/libada && \
24208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24210 "RANLIB=$${RANLIB}" \
24211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24216 .PHONY: maybe-clean-target-libada clean-target-libada
24217 maybe-clean-target-libada:
24219 clean-target-libada:
24220 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
24221 r=`${PWD_COMMAND}`; export r; \
24222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24224 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
24225 for flag in $(EXTRA_TARGET_FLAGS); do \
24226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24228 (cd $(TARGET_SUBDIR)/libada && \
24229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24231 "RANLIB=$${RANLIB}" \
24232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24237 .PHONY: maybe-distclean-target-libada distclean-target-libada
24238 maybe-distclean-target-libada:
24240 distclean-target-libada:
24241 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
24242 r=`${PWD_COMMAND}`; export r; \
24243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24245 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
24246 for flag in $(EXTRA_TARGET_FLAGS); do \
24247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24249 (cd $(TARGET_SUBDIR)/libada && \
24250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24252 "RANLIB=$${RANLIB}" \
24253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24258 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
24259 maybe-maintainer-clean-target-libada:
24261 maintainer-clean-target-libada:
24262 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
24263 r=`${PWD_COMMAND}`; export r; \
24264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24266 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
24267 for flag in $(EXTRA_TARGET_FLAGS); do \
24268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24270 (cd $(TARGET_SUBDIR)/libada && \
24271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24273 "RANLIB=$${RANLIB}" \
24274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24275 maintainer-clean) \
24285 # Unfortunately, while gcc _should_ be a host module,
24286 # libgcc is a target module, and gen* programs are
24287 # build modules. So GCC is a sort of hybrid.
24289 # gcc is the only module which uses GCC_FLAGS_TO_PASS.
24290 # Don't use shared host config.cache, as it will confuse later
24291 # directories; GCC wants slightly different values for some
24292 # precious variables. *sigh*
24294 # We must skip configuring if toplevel bootstrap is going.
24295 .PHONY: configure-gcc maybe-configure-gcc
24296 maybe-configure-gcc:
24298 @test ! -f gcc/Makefile || exit 0; \
24299 [ -f stage_last ] && exit 0; \
24300 [ -d gcc ] || mkdir gcc; \
24301 r=`${PWD_COMMAND}`; export r; \
24302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24303 CC="$(CC)"; export CC; \
24304 CFLAGS="$(CFLAGS)"; export CFLAGS; \
24305 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
24306 CXX="$(CXX)"; export CXX; \
24307 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
24308 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
24309 AR="$(AR)"; export AR; \
24310 AS="$(AS)"; export AS; \
24311 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
24312 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
24313 LD="$(LD)"; export LD; \
24314 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
24315 NM="$(NM)"; export NM; \
24316 RANLIB="$(RANLIB)"; export RANLIB; \
24317 WINDRES="$(WINDRES)"; export WINDRES; \
24318 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
24319 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
24320 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
24321 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
24322 echo Configuring in gcc; \
24323 cd gcc || exit 1; \
24324 case $(srcdir) in \
24326 srcdiroption="--srcdir=."; \
24328 /* | [A-Za-z]:[\\/]*) \
24329 srcdiroption="--srcdir=$(srcdir)/gcc"; \
24330 libsrcdir="$$s/gcc";; \
24332 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
24333 libsrcdir="$$s/gcc";; \
24335 $(SHELL) $${libsrcdir}/configure \
24336 $(HOST_CONFIGARGS) $${srcdiroption} \
24339 # Don't 'make all' in gcc if it's already been made by 'bootstrap'; that
24340 # causes trouble. This wart will be fixed eventually by moving
24341 # the bootstrap behavior to this file.
24342 .PHONY: all-gcc maybe-all-gcc
24344 all-gcc: configure-gcc
24345 r=`${PWD_COMMAND}`; export r; \
24346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24347 if [ -f stage_last ] ; then \
24349 elif [ -f gcc/stage_last ] ; then \
24351 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) quickstrap); \
24354 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) all); \
24357 # Building GCC uses some tools for rebuilding "source" files
24358 # like texinfo, bison/byacc, etc. So we must depend on those.
24360 # While building GCC, it may be necessary to run various target
24361 # programs like the assembler, linker, etc. So we depend on
24364 # In theory, on an SMP all those dependencies can be resolved
24367 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
24368 .PHONY: $(GCC_STRAP_TARGETS)
24369 $(GCC_STRAP_TARGETS): all-bootstrap configure-gcc
24370 @r=`${PWD_COMMAND}`; export r; \
24371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24373 echo "Bootstrapping the compiler"; \
24374 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
24375 @r=`${PWD_COMMAND}`; export r; \
24376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24378 *bootstrap4-lean ) \
24379 msg="Comparing stage3 and stage4 of the compiler"; \
24380 compare=compare3-lean ;; \
24382 msg="Comparing stage3 and stage4 of the compiler"; \
24383 compare=compare3 ;; \
24385 msg="Comparing stage2 and stage3 of the compiler"; \
24386 compare=compare-lean ;; \
24388 msg="Comparing stage2 and stage3 of the compiler"; \
24389 compare=compare ;; \
24393 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
24394 @r=`${PWD_COMMAND}`; export r; \
24395 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
24397 echo "Building runtime libraries"; \
24398 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
24400 profiledbootstrap: all-bootstrap configure-gcc
24401 @r=`${PWD_COMMAND}`; export r; \
24402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24404 echo "Bootstrapping the compiler"; \
24405 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
24406 @r=`${PWD_COMMAND}`; export r; \
24407 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
24409 echo "Building runtime libraries and training compiler"; \
24410 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
24411 @r=`${PWD_COMMAND}`; export r; \
24412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24414 echo "Building feedback based compiler"; \
24415 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
24418 cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
24419 @r=`${PWD_COMMAND}`; export r; \
24420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24422 echo "Building the C and C++ compiler"; \
24423 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
24424 @r=`${PWD_COMMAND}`; export r; \
24425 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
24427 echo "Building runtime libraries"; \
24428 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) \
24429 LANGUAGES="c c++" all
24431 .PHONY: check-gcc maybe-check-gcc
24434 @if [ -f ./gcc/Makefile ] ; then \
24435 r=`${PWD_COMMAND}`; export r; \
24436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24438 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check); \
24443 .PHONY: check-gcc-c++
24445 @if [ -f ./gcc/Makefile ] ; then \
24446 r=`${PWD_COMMAND}`; export r; \
24447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24449 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
24455 check-c++: check-target-libstdc++-v3 check-gcc-c++
24457 .PHONY: install-gcc maybe-install-gcc
24460 @if [ -f ./gcc/Makefile ] ; then \
24461 r=`${PWD_COMMAND}`; export r; \
24462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24464 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
24469 # Install the gcc headers files, but not the fixed include files,
24470 # which Cygnus is not allowed to distribute. This rule is very
24471 # dependent on the workings of the gcc Makefile.in.
24472 .PHONY: gcc-no-fixedincludes
24473 gcc-no-fixedincludes:
24474 @if [ -f ./gcc/Makefile ]; then \
24475 rm -rf gcc/tmp-include; \
24476 mv gcc/include gcc/tmp-include 2>/dev/null; \
24477 mkdir gcc/include; \
24478 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
24479 touch gcc/stmp-fixinc gcc/include/fixed; \
24480 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
24481 r=`${PWD_COMMAND}`; export r; \
24482 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
24485 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
24486 rm -rf gcc/include; \
24487 mv gcc/tmp-include gcc/include 2>/dev/null; \
24490 # Other targets (dvi, info, etc.)
24492 .PHONY: maybe-info-gcc info-gcc
24496 @[ -f ./gcc/Makefile ] || exit 0; \
24497 r=`${PWD_COMMAND}`; export r; \
24498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24500 for flag in $(EXTRA_GCC_FLAGS); do \
24501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24503 echo "Doing info in gcc" ; \
24505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24507 "RANLIB=$${RANLIB}" \
24508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24513 .PHONY: maybe-dvi-gcc dvi-gcc
24517 @[ -f ./gcc/Makefile ] || exit 0; \
24518 r=`${PWD_COMMAND}`; export r; \
24519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24521 for flag in $(EXTRA_GCC_FLAGS); do \
24522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24524 echo "Doing dvi in gcc" ; \
24526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24528 "RANLIB=$${RANLIB}" \
24529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24534 .PHONY: maybe-TAGS-gcc TAGS-gcc
24538 @[ -f ./gcc/Makefile ] || exit 0; \
24539 r=`${PWD_COMMAND}`; export r; \
24540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24542 for flag in $(EXTRA_GCC_FLAGS); do \
24543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24545 echo "Doing TAGS in gcc" ; \
24547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24549 "RANLIB=$${RANLIB}" \
24550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24555 .PHONY: maybe-install-info-gcc install-info-gcc
24556 maybe-install-info-gcc:
24557 install-info-gcc: \
24560 @[ -f ./gcc/Makefile ] || exit 0; \
24561 r=`${PWD_COMMAND}`; export r; \
24562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24564 for flag in $(EXTRA_GCC_FLAGS); do \
24565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24567 echo "Doing install-info in gcc" ; \
24569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24571 "RANLIB=$${RANLIB}" \
24572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24577 .PHONY: maybe-installcheck-gcc installcheck-gcc
24578 maybe-installcheck-gcc:
24579 installcheck-gcc: \
24581 @[ -f ./gcc/Makefile ] || exit 0; \
24582 r=`${PWD_COMMAND}`; export r; \
24583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24585 for flag in $(EXTRA_GCC_FLAGS); do \
24586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24588 echo "Doing installcheck in gcc" ; \
24590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24592 "RANLIB=$${RANLIB}" \
24593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24598 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
24599 maybe-mostlyclean-gcc:
24601 @[ -f ./gcc/Makefile ] || exit 0; \
24602 r=`${PWD_COMMAND}`; export r; \
24603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24605 for flag in $(EXTRA_GCC_FLAGS); do \
24606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24608 echo "Doing mostlyclean in gcc" ; \
24610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24612 "RANLIB=$${RANLIB}" \
24613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24618 .PHONY: maybe-clean-gcc clean-gcc
24621 @[ -f ./gcc/Makefile ] || exit 0; \
24622 r=`${PWD_COMMAND}`; export r; \
24623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24625 for flag in $(EXTRA_GCC_FLAGS); do \
24626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24628 echo "Doing clean in gcc" ; \
24630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24632 "RANLIB=$${RANLIB}" \
24633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24638 .PHONY: maybe-distclean-gcc distclean-gcc
24639 maybe-distclean-gcc:
24641 @[ -f ./gcc/Makefile ] || exit 0; \
24642 r=`${PWD_COMMAND}`; export r; \
24643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24645 for flag in $(EXTRA_GCC_FLAGS); do \
24646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24648 echo "Doing distclean in gcc" ; \
24650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24652 "RANLIB=$${RANLIB}" \
24653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24658 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
24659 maybe-maintainer-clean-gcc:
24660 maintainer-clean-gcc:
24661 @[ -f ./gcc/Makefile ] || exit 0; \
24662 r=`${PWD_COMMAND}`; export r; \
24663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24665 for flag in $(EXTRA_GCC_FLAGS); do \
24666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24668 echo "Doing maintainer-clean in gcc" ; \
24670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24672 "RANLIB=$${RANLIB}" \
24673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24674 maintainer-clean) \
24679 # ---------------------
24680 # GCC bootstrap support
24681 # ---------------------
24683 # We name the directories for the various stages "stage1-gcc",
24684 # "stage2-gcc","stage3-gcc", etc.
24685 # Unfortunately, the 'compare' process will fail (on debugging information)
24686 # if any directory names are different!
24687 # So in the building rule for each stage, we relocate them before and after.
24688 # The current one is 'gcc', while the previous one is 'prev-gcc'. (The
24689 # current one must be 'gcc' for now because the scripts in that directory
24691 # At the end of the bootstrap, 'stage3-gcc' must be moved to 'gcc' so that
24692 # libraries can find it. Ick!
24694 # Bugs: This is almost certainly not parallel-make safe.
24696 # 'touch' doesn't work right on some platforms.
24697 STAMP = echo timestamp >
24699 # Only build the C compiler for stage1, because that is the only one that
24700 # we can guarantee will build with the native compiler, and also it is the
24701 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
24702 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
24703 # overrideable (for a bootstrap build stage1 also builds gcc.info).
24705 STAGE1_CFLAGS=@stage1_cflags@
24706 STAGE1_LANGUAGES=@stage1_languages@
24709 # * We force-disable intermodule optimizations, even if
24710 # --enable-intermodule was passed, since the installed compiler probably
24711 # can't handle them. Luckily, autoconf always respects
24712 # the last argument when conflicting --enable arguments are passed.
24713 # * Likewise, we force-disable coverage flags, since the installed compiler
24714 # probably has never heard of them.
24715 # * We build only C (and possibly Ada).
24716 configure-stage1-gcc:
24717 echo configure-stage1-gcc > stage_last ; \
24718 if [ -f stage1-gcc/Makefile ] ; then \
24719 $(STAMP) configure-stage1-gcc ; \
24724 [ -d stage1-gcc ] || mkdir stage1-gcc; \
24725 mv stage1-gcc gcc ; \
24726 r=`${PWD_COMMAND}`; export r; \
24727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24728 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
24729 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
24730 CC="$(CC)"; export CC; \
24731 CFLAGS="$(CFLAGS)"; export CFLAGS; \
24732 CXX="$(CXX)"; export CXX; \
24733 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
24734 AR="$(AR)"; export AR; \
24735 AS="$(AS)"; export AS; \
24736 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
24737 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
24738 LD="$(LD)"; export LD; \
24739 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
24740 NM="$(NM)"; export NM; \
24741 RANLIB="$(RANLIB)"; export RANLIB; \
24742 WINDRES="$(WINDRES)"; export WINDRES; \
24743 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
24744 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
24745 echo Configuring stage 1 in gcc; \
24746 cd gcc || exit 1; \
24747 case $(srcdir) in \
24749 srcdiroption="--srcdir=."; \
24751 /* | [A-Za-z]:[\\/]*) \
24752 srcdiroption="--srcdir=$(srcdir)/gcc"; \
24753 libsrcdir="$$s/gcc";; \
24755 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
24756 libsrcdir="$$s/gcc";; \
24758 $(SHELL) $${libsrcdir}/configure \
24759 $(HOST_CONFIGARGS) $${srcdiroption} \
24760 --disable-intermodule --disable-coverage \
24761 --enable-languages="$(STAGE1_LANGUAGES)"; \
24763 mv gcc stage1-gcc ; \
24764 $(STAMP) configure-stage1-gcc
24766 # Real targets act phony if they depend on phony targets; this hack
24767 # prevents gratuitous rebuilding of stage 1.
24769 $(MAKE) all-bootstrap
24770 $(STAMP) prebootstrap
24772 all-stage1-gcc: configure-stage1-gcc prebootstrap
24773 echo all-stage1-gcc > stage_last ; \
24774 r=`${PWD_COMMAND}`; export r; \
24775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24776 mv stage1-gcc gcc ; \
24778 $(MAKE) $(GCC_FLAGS_TO_PASS) \
24779 CFLAGS="$(STAGE1_CFLAGS)" && $(STAMP) ../all-stage1-gcc ; \
24782 mv gcc stage1-gcc ; \
24785 # TODO: Deal with STAGE_PREFIX (which is only for ada, incidentally)
24786 # Possibly pass --enable-werror-always (depending on --enable-werror);
24787 # that's what @stage2_werror_flag@ is for
24788 configure-stage2-gcc: all-stage1-gcc
24789 echo configure-stage2-gcc > stage_last ; \
24790 if [ -f stage2-gcc/Makefile ] ; then \
24791 $(STAMP) configure-stage2-gcc ; \
24796 [ -d stage2-gcc ] || mkdir stage2-gcc; \
24797 mv stage2-gcc gcc ; \
24798 mv stage1-gcc prev-gcc ; \
24799 r=`${PWD_COMMAND}`; export r; \
24800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24801 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
24802 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
24803 CFLAGS="$(CFLAGS)"; export CFLAGS; \
24804 CXX="$(CXX)"; export CXX; \
24805 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
24806 AR="$(AR)"; export AR; \
24807 AS="$(AS)"; export AS; \
24808 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
24809 LD="$(LD)"; export LD; \
24810 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
24811 NM="$(NM)"; export NM; \
24812 RANLIB="$(RANLIB)"; export RANLIB; \
24813 WINDRES="$(WINDRES)"; export WINDRES; \
24814 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
24815 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
24816 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
24817 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \
24818 echo Configuring stage 2 in gcc; \
24819 cd gcc || exit 1; \
24820 case $(srcdir) in \
24822 srcdiroption="--srcdir=."; \
24824 /* | [A-Za-z]:[\\/]*) \
24825 srcdiroption="--srcdir=$(srcdir)/gcc"; \
24826 libsrcdir="$$s/gcc";; \
24828 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
24829 libsrcdir="$$s/gcc";; \
24831 $(SHELL) $${libsrcdir}/configure \
24832 $(HOST_CONFIGARGS) $${srcdiroption} @stage2_werror_flag@ ; \
24834 mv gcc stage2-gcc ; \
24835 mv prev-gcc stage1-gcc ; \
24836 $(STAMP) configure-stage2-gcc
24838 # Flags to pass to stage2 and later makes.
24839 BOOT_CFLAGS= -g -O2
24840 POSTSTAGE1_FLAGS_TO_PASS = \
24841 CFLAGS="$(BOOT_CFLAGS)" \
24844 all-stage2-gcc: all-stage1-gcc configure-stage2-gcc
24845 echo all-stage2-gcc > stage_last ; \
24846 r=`${PWD_COMMAND}`; export r; \
24847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24848 mv stage2-gcc gcc ; \
24849 mv stage1-gcc prev-gcc ; \
24851 $(MAKE) $(GCC_FLAGS_TO_PASS) \
24852 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/" \
24853 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/" \
24854 STAGE_PREFIX=$$r/prev-gcc/ \
24855 $(POSTSTAGE1_FLAGS_TO_PASS) && $(STAMP) ../all-stage2-gcc ; \
24858 mv prev-gcc stage1-gcc ; \
24859 mv gcc stage2-gcc ; \
24862 configure-stage3-gcc: all-stage2-gcc
24863 echo configure-stage3-gcc > stage_last ; \
24864 if [ -f stage3-gcc/Makefile ] ; then \
24865 $(STAMP) configure-stage3-gcc ; \
24870 [ -d stage3-gcc ] || mkdir stage3-gcc; \
24871 mv stage3-gcc gcc ; \
24872 mv stage2-gcc prev-gcc ; \
24873 r=`${PWD_COMMAND}`; export r; \
24874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24875 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
24876 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
24877 CFLAGS="$(CFLAGS)"; export CFLAGS; \
24878 CXX="$(CXX)"; export CXX; \
24879 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
24880 AR="$(AR)"; export AR; \
24881 AS="$(AS)"; export AS; \
24882 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
24883 LD="$(LD)"; export LD; \
24884 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
24885 NM="$(NM)"; export NM; \
24886 RANLIB="$(RANLIB)"; export RANLIB; \
24887 WINDRES="$(WINDRES)"; export WINDRES; \
24888 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
24889 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
24890 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
24891 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \
24892 echo Configuring stage 3 in gcc; \
24893 cd gcc || exit 1; \
24894 case $(srcdir) in \
24896 srcdiroption="--srcdir=."; \
24898 /* | [A-Za-z]:[\\/]*) \
24899 srcdiroption="--srcdir=$(srcdir)/gcc"; \
24900 libsrcdir="$$s/gcc";; \
24902 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
24903 libsrcdir="$$s/gcc";; \
24905 $(SHELL) $${libsrcdir}/configure \
24906 $(HOST_CONFIGARGS) $${srcdiroption} @stage2_werror_flag@ ; \
24908 mv gcc stage3-gcc ; \
24909 mv prev-gcc stage2-gcc ; \
24910 $(STAMP) configure-stage3-gcc
24912 all-stage3-gcc: all-stage2-gcc configure-stage3-gcc
24913 echo all-stage3-gcc > stage_last ; \
24914 r=`${PWD_COMMAND}`; export r; \
24915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24916 mv stage2-gcc prev-gcc ; \
24917 mv stage3-gcc gcc ; \
24919 $(MAKE) $(GCC_FLAGS_TO_PASS) \
24920 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/" \
24921 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/" \
24922 STAGE_PREFIX=$$r/prev-gcc/ \
24923 $(POSTSTAGE1_FLAGS_TO_PASS) && $(STAMP) ../all-stage3-gcc \
24926 mv prev-gcc stage2-gcc ; \
24927 mv gcc stage3-gcc ; \
24930 # We only want to compare .o files, so set this!
24933 compare: all-stage3-gcc
24934 r=`${PWD_COMMAND}`; export r; \
24935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24936 rm -f .bad_compare ; \
24938 files=`find . -name "*$(objext)" -print` ; \
24940 for file in $${files} ; do \
24941 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
24942 @do_compare@ > /dev/null 2>&1; \
24943 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
24945 if [ -f .bad_compare ]; then \
24946 echo "Bootstrap comparison failure!"; \
24947 cat .bad_compare; \
24954 .PHONY: new-bootstrap
24955 # This target exists so that everything can be made in one pass.
24956 # 'all-gcc' has to avoid stomping on the bootstrap-generated gcc for
24958 new-bootstrap: compare
24959 mv stage3-gcc gcc ; \
24964 rm -rf configure-stage1-gcc all-stage1-gcc stage1-gcc \
24965 configure-stage2-gcc all-stage2-gcc stage2-gcc \
24966 configure-stage3-gcc all-stage3-gcc stage3-gcc \
24968 $(MAKE) new-bootstrap
24971 rm -rf all-stage1-gcc \
24972 configure-stage2-gcc all-stage2-gcc stage2-gcc \
24973 configure-stage3-gcc all-stage3-gcc stage3-gcc \
24975 $(MAKE) all-stage1-gcc
24977 new-restage2: all-stage1-gcc
24978 rm -rf all-stage2-gcc \
24979 configure-stage3-gcc all-stage3-gcc stage3-gcc \
24981 $(MAKE) all-stage2-gcc
24983 new-restage3: all-stage2-gcc
24984 rm -rf all-stage3-gcc compare
24987 # --------------------------------------
24988 # Dependencies between different modules
24989 # --------------------------------------
24991 # There are two types of dependencies here: 'hard' dependencies, where one
24992 # module simply won't build without the other; and 'soft' dependencies, where
24993 # if the depended-on module is missing, the depending module will do without
24994 # or find a substitute somewhere (perhaps installed). Soft dependencies
24995 # are specified by depending on a 'maybe-' target. If you're not sure,
24996 # it's safer to use a soft dependency.
24998 # Host modules specific to gcc.
24999 # GCC needs to identify certain tools.
25000 # GCC also needs the information exported by the intl configure script.
25001 configure-gcc: maybe-configure-intl maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex
25002 all-gcc: maybe-all-libiberty maybe-all-intl maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib maybe-all-libbanshee
25003 # This is a slightly kludgy method of getting dependencies on
25004 # all-build-libiberty correct; it would be better to build it every time.
25005 all-gcc: maybe-all-build-libiberty maybe-all-libbanshee
25006 all-bootstrap: maybe-all-binutils maybe-all-bison maybe-all-byacc maybe-all-gas maybe-all-intl maybe-all-ld maybe-all-libbanshee maybe-all-libiberty maybe-all-texinfo maybe-all-zlib
25008 # Host modules specific to gdb.
25009 # GDB needs to know that the simulator is being built.
25010 configure-gdb: maybe-configure-itcl maybe-configure-tcl maybe-configure-tk maybe-configure-sim
25012 all-gdb: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-mmalloc maybe-all-readline maybe-all-bison maybe-all-byacc maybe-all-sim $(gdbnlmrequirements) $(GDB_TK)
25013 install-gdb: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui
25014 configure-libgui: maybe-configure-tcl maybe-configure-tk
25015 all-libgui: maybe-all-tcl maybe-all-tk maybe-all-itcl
25017 # Host modules specific to binutils.
25018 configure-bfd: configure-libiberty
25019 all-bfd: maybe-all-libiberty maybe-all-intl
25020 all-binutils: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex maybe-all-bison maybe-all-byacc maybe-all-intl
25021 # We put install-opcodes before install-binutils because the installed
25022 # binutils might be on PATH, and they might need the shared opcodes
25024 install-binutils: maybe-install-opcodes
25025 # libopcodes depends on libbfd
25026 install-opcodes: maybe-install-bfd
25027 all-gas: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl
25028 all-gprof: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl
25029 all-ld: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl
25030 all-opcodes: maybe-all-bfd maybe-all-libiberty
25032 # Other host modules in the 'src' repository.
25033 all-dejagnu: maybe-all-tcl maybe-all-expect maybe-all-tk
25034 configure-expect: maybe-configure-tcl maybe-configure-tk
25035 all-expect: maybe-all-tcl maybe-all-tk
25036 configure-itcl: maybe-configure-tcl maybe-configure-tk
25037 all-itcl: maybe-all-tcl maybe-all-tk
25038 # We put install-tcl before install-itcl because itcl wants to run a
25039 # program on installation which uses the Tcl libraries.
25040 install-itcl: maybe-install-tcl
25041 all-sid: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-tcl maybe-all-tk
25042 install-sid: maybe-install-tcl maybe-install-tk
25043 all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb
25044 configure-tk: maybe-configure-tcl
25045 all-tk: maybe-all-tcl
25046 configure-tix: maybe-configure-tcl maybe-configure-tk
25047 all-tix: maybe-all-tcl maybe-all-tk
25048 all-texinfo: maybe-all-libiberty
25050 # Other host modules. Warning, these are not well tested.
25051 all-autoconf: maybe-all-m4 maybe-all-texinfo
25052 all-automake: maybe-all-m4 maybe-all-texinfo
25053 all-bison: maybe-all-texinfo
25054 all-diff: maybe-all-libiberty
25055 all-fastjar: maybe-all-zlib maybe-all-libiberty
25056 all-fileutils: maybe-all-libiberty
25057 all-flex: maybe-all-libiberty maybe-all-bison maybe-all-byacc
25058 all-gzip: maybe-all-libiberty
25059 all-hello: maybe-all-libiberty
25060 all-m4: maybe-all-libiberty maybe-all-texinfo
25061 all-make: maybe-all-libiberty maybe-all-intl
25062 all-patch: maybe-all-libiberty
25063 all-prms: maybe-all-libiberty
25064 all-recode: maybe-all-libiberty
25065 all-sed: maybe-all-libiberty
25066 all-send-pr: maybe-all-prms
25067 all-tar: maybe-all-libiberty
25068 all-uudecode: maybe-all-libiberty
25070 ALL_GCC = maybe-all-gcc
25071 ALL_GCC_C = $(ALL_GCC) maybe-all-target-newlib maybe-all-target-libgloss
25072 ALL_GCC_CXX = $(ALL_GCC_C) maybe-all-target-libstdc++-v3
25074 # Target modules specific to gcc.
25075 configure-target-boehm-gc: $(ALL_GCC_C) maybe-configure-target-qthreads
25076 configure-target-fastjar: maybe-configure-target-zlib
25077 all-target-fastjar: maybe-all-target-zlib maybe-all-target-libiberty
25078 configure-target-libada: $(ALL_GCC_C)
25079 configure-target-libgfortran: $(ALL_GCC_C)
25080 configure-target-libffi: $(ALL_GCC_C)
25081 configure-target-libjava: $(ALL_GCC_C) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi
25082 all-target-libjava: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi
25083 configure-target-libobjc: $(ALL_GCC_C)
25084 all-target-libobjc: maybe-all-target-libiberty
25085 configure-target-libstdc++-v3: $(ALL_GCC_C)
25086 all-target-libstdc++-v3: maybe-all-target-libiberty
25087 configure-target-zlib: $(ALL_GCC_C)
25089 # Target modules in the 'src' repository.
25090 configure-target-examples: $(ALL_GCC_C)
25091 configure-target-libgloss: $(ALL_GCC)
25092 all-target-libgloss: maybe-configure-target-newlib
25093 configure-target-libiberty: $(ALL_GCC)
25094 configure-target-libtermcap: $(ALL_GCC_C)
25095 configure-target-newlib: $(ALL_GCC)
25096 configure-target-rda: $(ALL_GCC_C)
25097 configure-target-winsup: $(ALL_GCC_C)
25098 all-target-winsup: maybe-all-target-libiberty maybe-all-target-libtermcap
25100 # Other target modules. Warning, these are not well tested.
25101 configure-target-gperf: $(ALL_GCC_CXX)
25102 all-target-gperf: maybe-all-target-libiberty maybe-all-target-libstdc++-v3
25103 configure-target-qthreads: $(ALL_GCC_C)
25105 # Dependencies of maybe-foo on foo. These are used because, for example,
25106 # all-gcc only depends on all-gas if gas is present and being configured.
25107 @maybe_dependencies@
25109 # Serialization dependencies. Host configures don't work well in parallel to
25110 # each other, due to contention over config.cache. Target configures and
25111 # build configures are similar.
25112 @serialization_dependencies@
25114 # --------------------------------
25115 # Regenerating top level configury
25116 # --------------------------------
25118 # Multilib.out tells target dirs what multilibs they should build.
25119 # There is really only one copy. We use the 'timestamp' method to
25120 # work around various timestamp bugs on some systems.
25121 # We use move-if-change so that it's only considered updated when it
25122 # actually changes, because it has to depend on a phony target.
25123 multilib.out: maybe-all-gcc
25124 @r=`${PWD_COMMAND}`; export r; \
25125 echo "Checking multilib configuration..."; \
25126 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
25127 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
25129 # Rebuilding Makefile.in, using autogen.
25131 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
25132 cd $(srcdir) && $(AUTOGEN) Makefile.def
25134 # Rebuilding Makefile.
25135 Makefile: $(srcdir)/Makefile.in config.status
25136 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
25138 config.status: configure $(gcc_version_trigger)
25139 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
25141 # Rebuilding configure.
25142 AUTOCONF = autoconf
25143 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
25144 cd $(srcdir) && $(AUTOCONF)
25146 # ------------------------------
25147 # Special directives to GNU Make
25148 # ------------------------------
25150 # Don't pass command-line variables to submakes.
25154 # end of Makefile.in