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:
1942 maybe-configure-build-libiberty: configure-build-libiberty
1943 configure-build-libiberty:
1944 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
1945 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
1946 r=`${PWD_COMMAND}`; export r; \
1947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1948 AR="$(AR_FOR_BUILD)"; export AR; \
1949 AS="$(AS_FOR_BUILD)"; export AS; \
1950 CC="$(CC_FOR_BUILD)"; export CC; \
1951 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
1952 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
1953 CXX="$(CXX_FOR_BUILD)"; export CXX; \
1954 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
1955 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
1956 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
1957 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
1958 LD="$(LD_FOR_BUILD)"; export LD; \
1959 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
1960 NM="$(NM_FOR_BUILD)"; export NM; \
1961 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
1962 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
1963 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
1964 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
1966 /* | [A-Za-z]:[\\/]*) \
1967 topdir=$(srcdir) ;; \
1969 case "$(BUILD_SUBDIR)" in \
1970 .) topdir="../$(srcdir)" ;; \
1971 *) topdir="../../$(srcdir)" ;; \
1974 if [ "$(srcdir)" = "." ] ; then \
1975 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
1976 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
1977 if [ -f Makefile ]; then \
1978 if $(MAKE) distclean; then \
1992 srcdiroption="--srcdir=."; \
1995 srcdiroption="--srcdir=$${topdir}/libiberty"; \
1996 libsrcdir="$$s/libiberty"; \
1998 rm -f no-such-file || : ; \
1999 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2000 $(BUILD_CONFIGARGS) $${srcdiroption} \
2001 --with-build-subdir="$(BUILD_SUBDIR)" \
2003 @endif build-libiberty
2005 .PHONY: all-build-libiberty maybe-all-build-libiberty
2006 maybe-all-build-libiberty:
2008 maybe-all-build-libiberty: all-build-libiberty
2009 all-build-libiberty: configure-build-libiberty
2010 @r=`${PWD_COMMAND}`; export r; \
2011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2012 (cd $(BUILD_SUBDIR)/libiberty && $(MAKE) all)
2013 @endif build-libiberty
2015 .PHONY: configure-build-libbanshee maybe-configure-build-libbanshee
2016 maybe-configure-build-libbanshee:
2017 @if build-libbanshee
2018 maybe-configure-build-libbanshee: configure-build-libbanshee
2019 configure-build-libbanshee:
2020 @test ! -f $(BUILD_SUBDIR)/libbanshee/Makefile || exit 0; \
2021 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libbanshee ; \
2022 r=`${PWD_COMMAND}`; export r; \
2023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2024 AR="$(AR_FOR_BUILD)"; export AR; \
2025 AS="$(AS_FOR_BUILD)"; export AS; \
2026 CC="$(CC_FOR_BUILD)"; export CC; \
2027 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
2028 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
2029 CXX="$(CXX_FOR_BUILD)"; export CXX; \
2030 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
2031 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
2032 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
2033 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
2034 LD="$(LD_FOR_BUILD)"; export LD; \
2035 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
2036 NM="$(NM_FOR_BUILD)"; export NM; \
2037 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
2038 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
2039 echo Configuring in $(BUILD_SUBDIR)/libbanshee; \
2040 cd "$(BUILD_SUBDIR)/libbanshee" || exit 1; \
2042 /* | [A-Za-z]:[\\/]*) \
2043 topdir=$(srcdir) ;; \
2045 case "$(BUILD_SUBDIR)" in \
2046 .) topdir="../$(srcdir)" ;; \
2047 *) topdir="../../$(srcdir)" ;; \
2050 if [ "$(srcdir)" = "." ] ; then \
2051 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2052 if $(SHELL) $$s/symlink-tree $${topdir}/libbanshee "no-such-file" ; then \
2053 if [ -f Makefile ]; then \
2054 if $(MAKE) distclean; then \
2068 srcdiroption="--srcdir=."; \
2071 srcdiroption="--srcdir=$${topdir}/libbanshee"; \
2072 libsrcdir="$$s/libbanshee"; \
2074 rm -f no-such-file || : ; \
2075 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2076 $(BUILD_CONFIGARGS) $${srcdiroption} \
2077 --with-build-subdir="$(BUILD_SUBDIR)" \
2079 @endif build-libbanshee
2081 .PHONY: all-build-libbanshee maybe-all-build-libbanshee
2082 maybe-all-build-libbanshee:
2083 @if build-libbanshee
2084 maybe-all-build-libbanshee: all-build-libbanshee
2085 all-build-libbanshee: configure-build-libbanshee
2086 @r=`${PWD_COMMAND}`; export r; \
2087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2088 (cd $(BUILD_SUBDIR)/libbanshee && $(MAKE) all)
2089 @endif build-libbanshee
2092 # --------------------------------------
2093 # Modules which run on the host machine
2094 # --------------------------------------
2096 .PHONY: configure-ash maybe-configure-ash
2097 maybe-configure-ash:
2099 maybe-configure-ash: configure-ash
2101 @test ! -f ash/Makefile || exit 0; \
2102 [ -d ash ] || mkdir ash; \
2103 r=`${PWD_COMMAND}`; export r; \
2104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2105 CC="$(CC)"; export CC; \
2106 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2107 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
2108 CXX="$(CXX)"; export CXX; \
2109 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2110 AR="$(AR)"; export AR; \
2111 AS="$(AS)"; export AS; \
2112 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2113 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2114 LD="$(LD)"; export LD; \
2115 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
2116 NM="$(NM)"; export NM; \
2117 RANLIB="$(RANLIB)"; export RANLIB; \
2118 WINDRES="$(WINDRES)"; export WINDRES; \
2119 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2120 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2121 echo Configuring in ash; \
2125 srcdiroption="--srcdir=."; \
2127 /* | [A-Za-z]:[\\/]*) \
2128 srcdiroption="--srcdir=$(srcdir)/ash"; \
2129 libsrcdir="$$s/ash";; \
2131 srcdiroption="--srcdir=../$(srcdir)/ash"; \
2132 libsrcdir="$$s/ash";; \
2134 $(SHELL) $${libsrcdir}/configure \
2135 $(HOST_CONFIGARGS) $${srcdiroption} \
2139 .PHONY: all-ash maybe-all-ash
2142 maybe-all-ash: all-ash
2143 all-ash: configure-ash
2144 @r=`${PWD_COMMAND}`; export r; \
2145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2147 (cd ash && $(MAKE) $(FLAGS_TO_PASS) all)
2150 .PHONY: check-ash maybe-check-ash
2153 maybe-check-ash: check-ash
2156 @r=`${PWD_COMMAND}`; export r; \
2157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2159 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2163 .PHONY: install-ash maybe-install-ash
2166 maybe-install-ash: install-ash
2168 install-ash: installdirs
2169 @r=`${PWD_COMMAND}`; export r; \
2170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2172 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2176 # Other targets (info, dvi, etc.)
2178 .PHONY: maybe-info-ash info-ash
2181 maybe-info-ash: info-ash
2185 @[ -f ./ash/Makefile ] || exit 0; \
2186 r=`${PWD_COMMAND}`; export r; \
2187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2189 for flag in $(EXTRA_HOST_FLAGS); do \
2190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2192 echo "Doing info in ash" ; \
2194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2196 "RANLIB=$${RANLIB}" \
2197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2203 .PHONY: maybe-dvi-ash dvi-ash
2206 maybe-dvi-ash: dvi-ash
2210 @[ -f ./ash/Makefile ] || exit 0; \
2211 r=`${PWD_COMMAND}`; export r; \
2212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2214 for flag in $(EXTRA_HOST_FLAGS); do \
2215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2217 echo "Doing dvi in ash" ; \
2219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2221 "RANLIB=$${RANLIB}" \
2222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2228 .PHONY: maybe-TAGS-ash TAGS-ash
2231 maybe-TAGS-ash: TAGS-ash
2235 @[ -f ./ash/Makefile ] || exit 0; \
2236 r=`${PWD_COMMAND}`; export r; \
2237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2239 for flag in $(EXTRA_HOST_FLAGS); do \
2240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2242 echo "Doing TAGS in ash" ; \
2244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2246 "RANLIB=$${RANLIB}" \
2247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2253 .PHONY: maybe-install-info-ash install-info-ash
2254 maybe-install-info-ash:
2256 maybe-install-info-ash: install-info-ash
2261 @[ -f ./ash/Makefile ] || exit 0; \
2262 r=`${PWD_COMMAND}`; export r; \
2263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2265 for flag in $(EXTRA_HOST_FLAGS); do \
2266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2268 echo "Doing install-info in ash" ; \
2270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2272 "RANLIB=$${RANLIB}" \
2273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2279 .PHONY: maybe-installcheck-ash installcheck-ash
2280 maybe-installcheck-ash:
2282 maybe-installcheck-ash: installcheck-ash
2286 @[ -f ./ash/Makefile ] || exit 0; \
2287 r=`${PWD_COMMAND}`; export r; \
2288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2290 for flag in $(EXTRA_HOST_FLAGS); do \
2291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2293 echo "Doing installcheck in ash" ; \
2295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2297 "RANLIB=$${RANLIB}" \
2298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2304 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2305 maybe-mostlyclean-ash:
2307 maybe-mostlyclean-ash: mostlyclean-ash
2310 @[ -f ./ash/Makefile ] || exit 0; \
2311 r=`${PWD_COMMAND}`; export r; \
2312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2314 for flag in $(EXTRA_HOST_FLAGS); do \
2315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2317 echo "Doing mostlyclean in ash" ; \
2319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2321 "RANLIB=$${RANLIB}" \
2322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2328 .PHONY: maybe-clean-ash clean-ash
2331 maybe-clean-ash: clean-ash
2334 @[ -f ./ash/Makefile ] || exit 0; \
2335 r=`${PWD_COMMAND}`; export r; \
2336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2338 for flag in $(EXTRA_HOST_FLAGS); do \
2339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2341 echo "Doing clean in ash" ; \
2343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2345 "RANLIB=$${RANLIB}" \
2346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2352 .PHONY: maybe-distclean-ash distclean-ash
2353 maybe-distclean-ash:
2355 maybe-distclean-ash: distclean-ash
2358 @[ -f ./ash/Makefile ] || exit 0; \
2359 r=`${PWD_COMMAND}`; export r; \
2360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2362 for flag in $(EXTRA_HOST_FLAGS); do \
2363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2365 echo "Doing distclean in ash" ; \
2367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2369 "RANLIB=$${RANLIB}" \
2370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2376 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2377 maybe-maintainer-clean-ash:
2379 maybe-maintainer-clean-ash: maintainer-clean-ash
2381 maintainer-clean-ash:
2382 @[ -f ./ash/Makefile ] || exit 0; \
2383 r=`${PWD_COMMAND}`; export r; \
2384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2386 for flag in $(EXTRA_HOST_FLAGS); do \
2387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2389 echo "Doing maintainer-clean in ash" ; \
2391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2393 "RANLIB=$${RANLIB}" \
2394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2401 .PHONY: configure-autoconf maybe-configure-autoconf
2402 maybe-configure-autoconf:
2404 maybe-configure-autoconf: configure-autoconf
2406 @test ! -f autoconf/Makefile || exit 0; \
2407 [ -d autoconf ] || mkdir autoconf; \
2408 r=`${PWD_COMMAND}`; export r; \
2409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2410 CC="$(CC)"; export CC; \
2411 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2412 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
2413 CXX="$(CXX)"; export CXX; \
2414 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2415 AR="$(AR)"; export AR; \
2416 AS="$(AS)"; export AS; \
2417 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2418 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2419 LD="$(LD)"; export LD; \
2420 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
2421 NM="$(NM)"; export NM; \
2422 RANLIB="$(RANLIB)"; export RANLIB; \
2423 WINDRES="$(WINDRES)"; export WINDRES; \
2424 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2425 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2426 echo Configuring in autoconf; \
2427 cd autoconf || exit 1; \
2430 srcdiroption="--srcdir=."; \
2432 /* | [A-Za-z]:[\\/]*) \
2433 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2434 libsrcdir="$$s/autoconf";; \
2436 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2437 libsrcdir="$$s/autoconf";; \
2439 $(SHELL) $${libsrcdir}/configure \
2440 $(HOST_CONFIGARGS) $${srcdiroption} \
2444 .PHONY: all-autoconf maybe-all-autoconf
2447 maybe-all-autoconf: all-autoconf
2448 all-autoconf: configure-autoconf
2449 @r=`${PWD_COMMAND}`; export r; \
2450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2452 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all)
2455 .PHONY: check-autoconf maybe-check-autoconf
2456 maybe-check-autoconf:
2458 maybe-check-autoconf: check-autoconf
2461 @r=`${PWD_COMMAND}`; export r; \
2462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2464 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
2468 .PHONY: install-autoconf maybe-install-autoconf
2469 maybe-install-autoconf:
2471 maybe-install-autoconf: install-autoconf
2473 install-autoconf: installdirs
2474 @r=`${PWD_COMMAND}`; export r; \
2475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2477 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
2481 # Other targets (info, dvi, etc.)
2483 .PHONY: maybe-info-autoconf info-autoconf
2484 maybe-info-autoconf:
2486 maybe-info-autoconf: info-autoconf
2490 @[ -f ./autoconf/Makefile ] || exit 0; \
2491 r=`${PWD_COMMAND}`; export r; \
2492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2494 for flag in $(EXTRA_HOST_FLAGS); do \
2495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2497 echo "Doing info in autoconf" ; \
2499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2501 "RANLIB=$${RANLIB}" \
2502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2508 .PHONY: maybe-dvi-autoconf dvi-autoconf
2511 maybe-dvi-autoconf: dvi-autoconf
2515 @[ -f ./autoconf/Makefile ] || exit 0; \
2516 r=`${PWD_COMMAND}`; export r; \
2517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2519 for flag in $(EXTRA_HOST_FLAGS); do \
2520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2522 echo "Doing dvi in autoconf" ; \
2524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2526 "RANLIB=$${RANLIB}" \
2527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2533 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2534 maybe-TAGS-autoconf:
2536 maybe-TAGS-autoconf: TAGS-autoconf
2540 @[ -f ./autoconf/Makefile ] || exit 0; \
2541 r=`${PWD_COMMAND}`; export r; \
2542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2544 for flag in $(EXTRA_HOST_FLAGS); do \
2545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2547 echo "Doing TAGS in autoconf" ; \
2549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2551 "RANLIB=$${RANLIB}" \
2552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2558 .PHONY: maybe-install-info-autoconf install-info-autoconf
2559 maybe-install-info-autoconf:
2561 maybe-install-info-autoconf: install-info-autoconf
2563 install-info-autoconf: \
2564 configure-autoconf \
2566 @[ -f ./autoconf/Makefile ] || exit 0; \
2567 r=`${PWD_COMMAND}`; export r; \
2568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2570 for flag in $(EXTRA_HOST_FLAGS); do \
2571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2573 echo "Doing install-info in autoconf" ; \
2575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2577 "RANLIB=$${RANLIB}" \
2578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2584 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
2585 maybe-installcheck-autoconf:
2587 maybe-installcheck-autoconf: installcheck-autoconf
2589 installcheck-autoconf: \
2591 @[ -f ./autoconf/Makefile ] || exit 0; \
2592 r=`${PWD_COMMAND}`; export r; \
2593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2595 for flag in $(EXTRA_HOST_FLAGS); do \
2596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2598 echo "Doing installcheck in autoconf" ; \
2600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2602 "RANLIB=$${RANLIB}" \
2603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2609 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
2610 maybe-mostlyclean-autoconf:
2612 maybe-mostlyclean-autoconf: mostlyclean-autoconf
2614 mostlyclean-autoconf:
2615 @[ -f ./autoconf/Makefile ] || exit 0; \
2616 r=`${PWD_COMMAND}`; export r; \
2617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2619 for flag in $(EXTRA_HOST_FLAGS); do \
2620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2622 echo "Doing mostlyclean in autoconf" ; \
2624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2626 "RANLIB=$${RANLIB}" \
2627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2633 .PHONY: maybe-clean-autoconf clean-autoconf
2634 maybe-clean-autoconf:
2636 maybe-clean-autoconf: clean-autoconf
2639 @[ -f ./autoconf/Makefile ] || exit 0; \
2640 r=`${PWD_COMMAND}`; export r; \
2641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2643 for flag in $(EXTRA_HOST_FLAGS); do \
2644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2646 echo "Doing clean in autoconf" ; \
2648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2650 "RANLIB=$${RANLIB}" \
2651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2657 .PHONY: maybe-distclean-autoconf distclean-autoconf
2658 maybe-distclean-autoconf:
2660 maybe-distclean-autoconf: distclean-autoconf
2663 @[ -f ./autoconf/Makefile ] || exit 0; \
2664 r=`${PWD_COMMAND}`; export r; \
2665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2667 for flag in $(EXTRA_HOST_FLAGS); do \
2668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2670 echo "Doing distclean in autoconf" ; \
2672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2674 "RANLIB=$${RANLIB}" \
2675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2681 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
2682 maybe-maintainer-clean-autoconf:
2684 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
2686 maintainer-clean-autoconf:
2687 @[ -f ./autoconf/Makefile ] || exit 0; \
2688 r=`${PWD_COMMAND}`; export r; \
2689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2691 for flag in $(EXTRA_HOST_FLAGS); do \
2692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2694 echo "Doing maintainer-clean in autoconf" ; \
2696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2698 "RANLIB=$${RANLIB}" \
2699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2706 .PHONY: configure-automake maybe-configure-automake
2707 maybe-configure-automake:
2709 maybe-configure-automake: configure-automake
2711 @test ! -f automake/Makefile || exit 0; \
2712 [ -d automake ] || mkdir automake; \
2713 r=`${PWD_COMMAND}`; export r; \
2714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2715 CC="$(CC)"; export CC; \
2716 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2717 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
2718 CXX="$(CXX)"; export CXX; \
2719 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2720 AR="$(AR)"; export AR; \
2721 AS="$(AS)"; export AS; \
2722 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2723 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2724 LD="$(LD)"; export LD; \
2725 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
2726 NM="$(NM)"; export NM; \
2727 RANLIB="$(RANLIB)"; export RANLIB; \
2728 WINDRES="$(WINDRES)"; export WINDRES; \
2729 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2730 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2731 echo Configuring in automake; \
2732 cd automake || exit 1; \
2735 srcdiroption="--srcdir=."; \
2737 /* | [A-Za-z]:[\\/]*) \
2738 srcdiroption="--srcdir=$(srcdir)/automake"; \
2739 libsrcdir="$$s/automake";; \
2741 srcdiroption="--srcdir=../$(srcdir)/automake"; \
2742 libsrcdir="$$s/automake";; \
2744 $(SHELL) $${libsrcdir}/configure \
2745 $(HOST_CONFIGARGS) $${srcdiroption} \
2749 .PHONY: all-automake maybe-all-automake
2752 maybe-all-automake: all-automake
2753 all-automake: configure-automake
2754 @r=`${PWD_COMMAND}`; export r; \
2755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2757 (cd automake && $(MAKE) $(FLAGS_TO_PASS) all)
2760 .PHONY: check-automake maybe-check-automake
2761 maybe-check-automake:
2763 maybe-check-automake: check-automake
2766 @r=`${PWD_COMMAND}`; export r; \
2767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2769 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
2773 .PHONY: install-automake maybe-install-automake
2774 maybe-install-automake:
2776 maybe-install-automake: install-automake
2778 install-automake: installdirs
2779 @r=`${PWD_COMMAND}`; export r; \
2780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2782 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
2786 # Other targets (info, dvi, etc.)
2788 .PHONY: maybe-info-automake info-automake
2789 maybe-info-automake:
2791 maybe-info-automake: info-automake
2795 @[ -f ./automake/Makefile ] || exit 0; \
2796 r=`${PWD_COMMAND}`; export r; \
2797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2799 for flag in $(EXTRA_HOST_FLAGS); do \
2800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2802 echo "Doing info in automake" ; \
2804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2806 "RANLIB=$${RANLIB}" \
2807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2813 .PHONY: maybe-dvi-automake dvi-automake
2816 maybe-dvi-automake: dvi-automake
2820 @[ -f ./automake/Makefile ] || exit 0; \
2821 r=`${PWD_COMMAND}`; export r; \
2822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2824 for flag in $(EXTRA_HOST_FLAGS); do \
2825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2827 echo "Doing dvi in automake" ; \
2829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2831 "RANLIB=$${RANLIB}" \
2832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2838 .PHONY: maybe-TAGS-automake TAGS-automake
2839 maybe-TAGS-automake:
2841 maybe-TAGS-automake: TAGS-automake
2845 @[ -f ./automake/Makefile ] || exit 0; \
2846 r=`${PWD_COMMAND}`; export r; \
2847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2849 for flag in $(EXTRA_HOST_FLAGS); do \
2850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2852 echo "Doing TAGS in automake" ; \
2854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2856 "RANLIB=$${RANLIB}" \
2857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2863 .PHONY: maybe-install-info-automake install-info-automake
2864 maybe-install-info-automake:
2866 maybe-install-info-automake: install-info-automake
2868 install-info-automake: \
2869 configure-automake \
2871 @[ -f ./automake/Makefile ] || exit 0; \
2872 r=`${PWD_COMMAND}`; export r; \
2873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2875 for flag in $(EXTRA_HOST_FLAGS); do \
2876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2878 echo "Doing install-info in automake" ; \
2880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2882 "RANLIB=$${RANLIB}" \
2883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2889 .PHONY: maybe-installcheck-automake installcheck-automake
2890 maybe-installcheck-automake:
2892 maybe-installcheck-automake: installcheck-automake
2894 installcheck-automake: \
2896 @[ -f ./automake/Makefile ] || exit 0; \
2897 r=`${PWD_COMMAND}`; export r; \
2898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2900 for flag in $(EXTRA_HOST_FLAGS); do \
2901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2903 echo "Doing installcheck in automake" ; \
2905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2907 "RANLIB=$${RANLIB}" \
2908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2914 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
2915 maybe-mostlyclean-automake:
2917 maybe-mostlyclean-automake: mostlyclean-automake
2919 mostlyclean-automake:
2920 @[ -f ./automake/Makefile ] || exit 0; \
2921 r=`${PWD_COMMAND}`; export r; \
2922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2924 for flag in $(EXTRA_HOST_FLAGS); do \
2925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2927 echo "Doing mostlyclean in automake" ; \
2929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2931 "RANLIB=$${RANLIB}" \
2932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2938 .PHONY: maybe-clean-automake clean-automake
2939 maybe-clean-automake:
2941 maybe-clean-automake: clean-automake
2944 @[ -f ./automake/Makefile ] || exit 0; \
2945 r=`${PWD_COMMAND}`; export r; \
2946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2948 for flag in $(EXTRA_HOST_FLAGS); do \
2949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2951 echo "Doing clean in automake" ; \
2953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2955 "RANLIB=$${RANLIB}" \
2956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2962 .PHONY: maybe-distclean-automake distclean-automake
2963 maybe-distclean-automake:
2965 maybe-distclean-automake: distclean-automake
2968 @[ -f ./automake/Makefile ] || exit 0; \
2969 r=`${PWD_COMMAND}`; export r; \
2970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2972 for flag in $(EXTRA_HOST_FLAGS); do \
2973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2975 echo "Doing distclean in automake" ; \
2977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2979 "RANLIB=$${RANLIB}" \
2980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2986 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
2987 maybe-maintainer-clean-automake:
2989 maybe-maintainer-clean-automake: maintainer-clean-automake
2991 maintainer-clean-automake:
2992 @[ -f ./automake/Makefile ] || exit 0; \
2993 r=`${PWD_COMMAND}`; export r; \
2994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2996 for flag in $(EXTRA_HOST_FLAGS); do \
2997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2999 echo "Doing maintainer-clean in automake" ; \
3001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3003 "RANLIB=$${RANLIB}" \
3004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3011 .PHONY: configure-bash maybe-configure-bash
3012 maybe-configure-bash:
3014 maybe-configure-bash: configure-bash
3016 @test ! -f bash/Makefile || exit 0; \
3017 [ -d bash ] || mkdir bash; \
3018 r=`${PWD_COMMAND}`; export r; \
3019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3020 CC="$(CC)"; export CC; \
3021 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3022 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3023 CXX="$(CXX)"; export CXX; \
3024 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3025 AR="$(AR)"; export AR; \
3026 AS="$(AS)"; export AS; \
3027 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3028 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3029 LD="$(LD)"; export LD; \
3030 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
3031 NM="$(NM)"; export NM; \
3032 RANLIB="$(RANLIB)"; export RANLIB; \
3033 WINDRES="$(WINDRES)"; export WINDRES; \
3034 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3035 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3036 echo Configuring in bash; \
3037 cd bash || exit 1; \
3040 srcdiroption="--srcdir=."; \
3042 /* | [A-Za-z]:[\\/]*) \
3043 srcdiroption="--srcdir=$(srcdir)/bash"; \
3044 libsrcdir="$$s/bash";; \
3046 srcdiroption="--srcdir=../$(srcdir)/bash"; \
3047 libsrcdir="$$s/bash";; \
3049 $(SHELL) $${libsrcdir}/configure \
3050 $(HOST_CONFIGARGS) $${srcdiroption} \
3054 .PHONY: all-bash maybe-all-bash
3057 maybe-all-bash: all-bash
3058 all-bash: configure-bash
3059 @r=`${PWD_COMMAND}`; export r; \
3060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3062 (cd bash && $(MAKE) $(FLAGS_TO_PASS) all)
3065 .PHONY: check-bash maybe-check-bash
3068 maybe-check-bash: check-bash
3071 @r=`${PWD_COMMAND}`; export r; \
3072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3074 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
3078 .PHONY: install-bash maybe-install-bash
3081 maybe-install-bash: install-bash
3083 install-bash: installdirs
3084 @r=`${PWD_COMMAND}`; export r; \
3085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3087 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
3091 # Other targets (info, dvi, etc.)
3093 .PHONY: maybe-info-bash info-bash
3096 maybe-info-bash: info-bash
3100 @[ -f ./bash/Makefile ] || exit 0; \
3101 r=`${PWD_COMMAND}`; export r; \
3102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3104 for flag in $(EXTRA_HOST_FLAGS); do \
3105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3107 echo "Doing info in bash" ; \
3109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3111 "RANLIB=$${RANLIB}" \
3112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3118 .PHONY: maybe-dvi-bash dvi-bash
3121 maybe-dvi-bash: dvi-bash
3125 @[ -f ./bash/Makefile ] || exit 0; \
3126 r=`${PWD_COMMAND}`; export r; \
3127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3129 for flag in $(EXTRA_HOST_FLAGS); do \
3130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3132 echo "Doing dvi in bash" ; \
3134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3136 "RANLIB=$${RANLIB}" \
3137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3143 .PHONY: maybe-TAGS-bash TAGS-bash
3146 maybe-TAGS-bash: TAGS-bash
3150 @[ -f ./bash/Makefile ] || exit 0; \
3151 r=`${PWD_COMMAND}`; export r; \
3152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3154 for flag in $(EXTRA_HOST_FLAGS); do \
3155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3157 echo "Doing TAGS in bash" ; \
3159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3161 "RANLIB=$${RANLIB}" \
3162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3168 .PHONY: maybe-install-info-bash install-info-bash
3169 maybe-install-info-bash:
3171 maybe-install-info-bash: install-info-bash
3173 install-info-bash: \
3176 @[ -f ./bash/Makefile ] || exit 0; \
3177 r=`${PWD_COMMAND}`; export r; \
3178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3180 for flag in $(EXTRA_HOST_FLAGS); do \
3181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3183 echo "Doing install-info in bash" ; \
3185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3187 "RANLIB=$${RANLIB}" \
3188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3194 .PHONY: maybe-installcheck-bash installcheck-bash
3195 maybe-installcheck-bash:
3197 maybe-installcheck-bash: installcheck-bash
3199 installcheck-bash: \
3201 @[ -f ./bash/Makefile ] || exit 0; \
3202 r=`${PWD_COMMAND}`; export r; \
3203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3205 for flag in $(EXTRA_HOST_FLAGS); do \
3206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3208 echo "Doing installcheck in bash" ; \
3210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3212 "RANLIB=$${RANLIB}" \
3213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3219 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3220 maybe-mostlyclean-bash:
3222 maybe-mostlyclean-bash: mostlyclean-bash
3225 @[ -f ./bash/Makefile ] || exit 0; \
3226 r=`${PWD_COMMAND}`; export r; \
3227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3229 for flag in $(EXTRA_HOST_FLAGS); do \
3230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3232 echo "Doing mostlyclean in bash" ; \
3234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3236 "RANLIB=$${RANLIB}" \
3237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3243 .PHONY: maybe-clean-bash clean-bash
3246 maybe-clean-bash: clean-bash
3249 @[ -f ./bash/Makefile ] || exit 0; \
3250 r=`${PWD_COMMAND}`; export r; \
3251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3253 for flag in $(EXTRA_HOST_FLAGS); do \
3254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3256 echo "Doing clean in bash" ; \
3258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3260 "RANLIB=$${RANLIB}" \
3261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3267 .PHONY: maybe-distclean-bash distclean-bash
3268 maybe-distclean-bash:
3270 maybe-distclean-bash: distclean-bash
3273 @[ -f ./bash/Makefile ] || exit 0; \
3274 r=`${PWD_COMMAND}`; export r; \
3275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3277 for flag in $(EXTRA_HOST_FLAGS); do \
3278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3280 echo "Doing distclean in bash" ; \
3282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3284 "RANLIB=$${RANLIB}" \
3285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3291 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3292 maybe-maintainer-clean-bash:
3294 maybe-maintainer-clean-bash: maintainer-clean-bash
3296 maintainer-clean-bash:
3297 @[ -f ./bash/Makefile ] || exit 0; \
3298 r=`${PWD_COMMAND}`; export r; \
3299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3301 for flag in $(EXTRA_HOST_FLAGS); do \
3302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3304 echo "Doing maintainer-clean in bash" ; \
3306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3308 "RANLIB=$${RANLIB}" \
3309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3316 .PHONY: configure-bfd maybe-configure-bfd
3317 maybe-configure-bfd:
3319 maybe-configure-bfd: configure-bfd
3321 @test ! -f bfd/Makefile || exit 0; \
3322 [ -d bfd ] || mkdir bfd; \
3323 r=`${PWD_COMMAND}`; export r; \
3324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3325 CC="$(CC)"; export CC; \
3326 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3327 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3328 CXX="$(CXX)"; export CXX; \
3329 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3330 AR="$(AR)"; export AR; \
3331 AS="$(AS)"; export AS; \
3332 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3333 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3334 LD="$(LD)"; export LD; \
3335 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
3336 NM="$(NM)"; export NM; \
3337 RANLIB="$(RANLIB)"; export RANLIB; \
3338 WINDRES="$(WINDRES)"; export WINDRES; \
3339 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3340 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3341 echo Configuring in bfd; \
3345 srcdiroption="--srcdir=."; \
3347 /* | [A-Za-z]:[\\/]*) \
3348 srcdiroption="--srcdir=$(srcdir)/bfd"; \
3349 libsrcdir="$$s/bfd";; \
3351 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3352 libsrcdir="$$s/bfd";; \
3354 $(SHELL) $${libsrcdir}/configure \
3355 $(HOST_CONFIGARGS) $${srcdiroption} \
3359 .PHONY: all-bfd maybe-all-bfd
3362 maybe-all-bfd: all-bfd
3363 all-bfd: configure-bfd
3364 @r=`${PWD_COMMAND}`; export r; \
3365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3367 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) all)
3370 .PHONY: check-bfd maybe-check-bfd
3373 maybe-check-bfd: check-bfd
3376 @r=`${PWD_COMMAND}`; export r; \
3377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3379 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
3383 .PHONY: install-bfd maybe-install-bfd
3386 maybe-install-bfd: install-bfd
3388 install-bfd: installdirs
3389 @r=`${PWD_COMMAND}`; export r; \
3390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3392 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
3396 # Other targets (info, dvi, etc.)
3398 .PHONY: maybe-info-bfd info-bfd
3401 maybe-info-bfd: info-bfd
3405 @[ -f ./bfd/Makefile ] || exit 0; \
3406 r=`${PWD_COMMAND}`; export r; \
3407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3409 for flag in $(EXTRA_HOST_FLAGS); do \
3410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3412 echo "Doing info in bfd" ; \
3414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3416 "RANLIB=$${RANLIB}" \
3417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3423 .PHONY: maybe-dvi-bfd dvi-bfd
3426 maybe-dvi-bfd: dvi-bfd
3430 @[ -f ./bfd/Makefile ] || exit 0; \
3431 r=`${PWD_COMMAND}`; export r; \
3432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3434 for flag in $(EXTRA_HOST_FLAGS); do \
3435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3437 echo "Doing dvi in bfd" ; \
3439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3441 "RANLIB=$${RANLIB}" \
3442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3448 .PHONY: maybe-TAGS-bfd TAGS-bfd
3451 maybe-TAGS-bfd: TAGS-bfd
3455 @[ -f ./bfd/Makefile ] || exit 0; \
3456 r=`${PWD_COMMAND}`; export r; \
3457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3459 for flag in $(EXTRA_HOST_FLAGS); do \
3460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3462 echo "Doing TAGS in bfd" ; \
3464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3466 "RANLIB=$${RANLIB}" \
3467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3473 .PHONY: maybe-install-info-bfd install-info-bfd
3474 maybe-install-info-bfd:
3476 maybe-install-info-bfd: install-info-bfd
3481 @[ -f ./bfd/Makefile ] || exit 0; \
3482 r=`${PWD_COMMAND}`; export r; \
3483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3485 for flag in $(EXTRA_HOST_FLAGS); do \
3486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3488 echo "Doing install-info in bfd" ; \
3490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3492 "RANLIB=$${RANLIB}" \
3493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3499 .PHONY: maybe-installcheck-bfd installcheck-bfd
3500 maybe-installcheck-bfd:
3502 maybe-installcheck-bfd: installcheck-bfd
3506 @[ -f ./bfd/Makefile ] || exit 0; \
3507 r=`${PWD_COMMAND}`; export r; \
3508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3510 for flag in $(EXTRA_HOST_FLAGS); do \
3511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3513 echo "Doing installcheck in bfd" ; \
3515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3517 "RANLIB=$${RANLIB}" \
3518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3524 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3525 maybe-mostlyclean-bfd:
3527 maybe-mostlyclean-bfd: mostlyclean-bfd
3530 @[ -f ./bfd/Makefile ] || exit 0; \
3531 r=`${PWD_COMMAND}`; export r; \
3532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3534 for flag in $(EXTRA_HOST_FLAGS); do \
3535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3537 echo "Doing mostlyclean in bfd" ; \
3539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3541 "RANLIB=$${RANLIB}" \
3542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3548 .PHONY: maybe-clean-bfd clean-bfd
3551 maybe-clean-bfd: clean-bfd
3554 @[ -f ./bfd/Makefile ] || exit 0; \
3555 r=`${PWD_COMMAND}`; export r; \
3556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3558 for flag in $(EXTRA_HOST_FLAGS); do \
3559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3561 echo "Doing clean in bfd" ; \
3563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3565 "RANLIB=$${RANLIB}" \
3566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3572 .PHONY: maybe-distclean-bfd distclean-bfd
3573 maybe-distclean-bfd:
3575 maybe-distclean-bfd: distclean-bfd
3578 @[ -f ./bfd/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 distclean in bfd" ; \
3587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3589 "RANLIB=$${RANLIB}" \
3590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3596 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3597 maybe-maintainer-clean-bfd:
3599 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3601 maintainer-clean-bfd:
3602 @[ -f ./bfd/Makefile ] || exit 0; \
3603 r=`${PWD_COMMAND}`; export r; \
3604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3606 for flag in $(EXTRA_HOST_FLAGS); do \
3607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3609 echo "Doing maintainer-clean in bfd" ; \
3611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3613 "RANLIB=$${RANLIB}" \
3614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3621 .PHONY: configure-opcodes maybe-configure-opcodes
3622 maybe-configure-opcodes:
3624 maybe-configure-opcodes: configure-opcodes
3626 @test ! -f opcodes/Makefile || exit 0; \
3627 [ -d opcodes ] || mkdir opcodes; \
3628 r=`${PWD_COMMAND}`; export r; \
3629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3630 CC="$(CC)"; export CC; \
3631 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3632 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3633 CXX="$(CXX)"; export CXX; \
3634 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3635 AR="$(AR)"; export AR; \
3636 AS="$(AS)"; export AS; \
3637 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3638 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3639 LD="$(LD)"; export LD; \
3640 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
3641 NM="$(NM)"; export NM; \
3642 RANLIB="$(RANLIB)"; export RANLIB; \
3643 WINDRES="$(WINDRES)"; export WINDRES; \
3644 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3645 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3646 echo Configuring in opcodes; \
3647 cd opcodes || exit 1; \
3650 srcdiroption="--srcdir=."; \
3652 /* | [A-Za-z]:[\\/]*) \
3653 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
3654 libsrcdir="$$s/opcodes";; \
3656 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
3657 libsrcdir="$$s/opcodes";; \
3659 $(SHELL) $${libsrcdir}/configure \
3660 $(HOST_CONFIGARGS) $${srcdiroption} \
3664 .PHONY: all-opcodes maybe-all-opcodes
3667 maybe-all-opcodes: all-opcodes
3668 all-opcodes: configure-opcodes
3669 @r=`${PWD_COMMAND}`; export r; \
3670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3672 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) all)
3675 .PHONY: check-opcodes maybe-check-opcodes
3676 maybe-check-opcodes:
3678 maybe-check-opcodes: check-opcodes
3681 @r=`${PWD_COMMAND}`; export r; \
3682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3684 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
3688 .PHONY: install-opcodes maybe-install-opcodes
3689 maybe-install-opcodes:
3691 maybe-install-opcodes: install-opcodes
3693 install-opcodes: installdirs
3694 @r=`${PWD_COMMAND}`; export r; \
3695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3697 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
3701 # Other targets (info, dvi, etc.)
3703 .PHONY: maybe-info-opcodes info-opcodes
3706 maybe-info-opcodes: info-opcodes
3710 @[ -f ./opcodes/Makefile ] || exit 0; \
3711 r=`${PWD_COMMAND}`; export r; \
3712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3714 for flag in $(EXTRA_HOST_FLAGS); do \
3715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3717 echo "Doing info in opcodes" ; \
3719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3721 "RANLIB=$${RANLIB}" \
3722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3728 .PHONY: maybe-dvi-opcodes dvi-opcodes
3731 maybe-dvi-opcodes: dvi-opcodes
3735 @[ -f ./opcodes/Makefile ] || exit 0; \
3736 r=`${PWD_COMMAND}`; export r; \
3737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3739 for flag in $(EXTRA_HOST_FLAGS); do \
3740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3742 echo "Doing dvi in opcodes" ; \
3744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3746 "RANLIB=$${RANLIB}" \
3747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3753 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
3756 maybe-TAGS-opcodes: TAGS-opcodes
3760 @[ -f ./opcodes/Makefile ] || exit 0; \
3761 r=`${PWD_COMMAND}`; export r; \
3762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3764 for flag in $(EXTRA_HOST_FLAGS); do \
3765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3767 echo "Doing TAGS in opcodes" ; \
3769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3771 "RANLIB=$${RANLIB}" \
3772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3778 .PHONY: maybe-install-info-opcodes install-info-opcodes
3779 maybe-install-info-opcodes:
3781 maybe-install-info-opcodes: install-info-opcodes
3783 install-info-opcodes: \
3786 @[ -f ./opcodes/Makefile ] || exit 0; \
3787 r=`${PWD_COMMAND}`; export r; \
3788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3790 for flag in $(EXTRA_HOST_FLAGS); do \
3791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3793 echo "Doing install-info in opcodes" ; \
3795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3797 "RANLIB=$${RANLIB}" \
3798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3804 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
3805 maybe-installcheck-opcodes:
3807 maybe-installcheck-opcodes: installcheck-opcodes
3809 installcheck-opcodes: \
3811 @[ -f ./opcodes/Makefile ] || exit 0; \
3812 r=`${PWD_COMMAND}`; export r; \
3813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3815 for flag in $(EXTRA_HOST_FLAGS); do \
3816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3818 echo "Doing installcheck in opcodes" ; \
3820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3822 "RANLIB=$${RANLIB}" \
3823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3829 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
3830 maybe-mostlyclean-opcodes:
3832 maybe-mostlyclean-opcodes: mostlyclean-opcodes
3834 mostlyclean-opcodes:
3835 @[ -f ./opcodes/Makefile ] || exit 0; \
3836 r=`${PWD_COMMAND}`; export r; \
3837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3839 for flag in $(EXTRA_HOST_FLAGS); do \
3840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3842 echo "Doing mostlyclean in opcodes" ; \
3844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3846 "RANLIB=$${RANLIB}" \
3847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3853 .PHONY: maybe-clean-opcodes clean-opcodes
3854 maybe-clean-opcodes:
3856 maybe-clean-opcodes: clean-opcodes
3859 @[ -f ./opcodes/Makefile ] || exit 0; \
3860 r=`${PWD_COMMAND}`; export r; \
3861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3863 for flag in $(EXTRA_HOST_FLAGS); do \
3864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3866 echo "Doing clean in opcodes" ; \
3868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3870 "RANLIB=$${RANLIB}" \
3871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3877 .PHONY: maybe-distclean-opcodes distclean-opcodes
3878 maybe-distclean-opcodes:
3880 maybe-distclean-opcodes: distclean-opcodes
3883 @[ -f ./opcodes/Makefile ] || exit 0; \
3884 r=`${PWD_COMMAND}`; export r; \
3885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3887 for flag in $(EXTRA_HOST_FLAGS); do \
3888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3890 echo "Doing distclean in opcodes" ; \
3892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3894 "RANLIB=$${RANLIB}" \
3895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3901 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
3902 maybe-maintainer-clean-opcodes:
3904 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
3906 maintainer-clean-opcodes:
3907 @[ -f ./opcodes/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 maintainer-clean in opcodes" ; \
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}" \
3926 .PHONY: configure-binutils maybe-configure-binutils
3927 maybe-configure-binutils:
3929 maybe-configure-binutils: configure-binutils
3931 @test ! -f binutils/Makefile || exit 0; \
3932 [ -d binutils ] || mkdir binutils; \
3933 r=`${PWD_COMMAND}`; export r; \
3934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3935 CC="$(CC)"; export CC; \
3936 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3937 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3938 CXX="$(CXX)"; export CXX; \
3939 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3940 AR="$(AR)"; export AR; \
3941 AS="$(AS)"; export AS; \
3942 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3943 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3944 LD="$(LD)"; export LD; \
3945 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
3946 NM="$(NM)"; export NM; \
3947 RANLIB="$(RANLIB)"; export RANLIB; \
3948 WINDRES="$(WINDRES)"; export WINDRES; \
3949 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3950 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3951 echo Configuring in binutils; \
3952 cd binutils || exit 1; \
3955 srcdiroption="--srcdir=."; \
3957 /* | [A-Za-z]:[\\/]*) \
3958 srcdiroption="--srcdir=$(srcdir)/binutils"; \
3959 libsrcdir="$$s/binutils";; \
3961 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
3962 libsrcdir="$$s/binutils";; \
3964 $(SHELL) $${libsrcdir}/configure \
3965 $(HOST_CONFIGARGS) $${srcdiroption} \
3969 .PHONY: all-binutils maybe-all-binutils
3972 maybe-all-binutils: all-binutils
3973 all-binutils: configure-binutils
3974 @r=`${PWD_COMMAND}`; export r; \
3975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3977 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) all)
3980 .PHONY: check-binutils maybe-check-binutils
3981 maybe-check-binutils:
3983 maybe-check-binutils: check-binutils
3986 @r=`${PWD_COMMAND}`; export r; \
3987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3989 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
3993 .PHONY: install-binutils maybe-install-binutils
3994 maybe-install-binutils:
3996 maybe-install-binutils: install-binutils
3998 install-binutils: installdirs
3999 @r=`${PWD_COMMAND}`; export r; \
4000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4002 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
4006 # Other targets (info, dvi, etc.)
4008 .PHONY: maybe-info-binutils info-binutils
4009 maybe-info-binutils:
4011 maybe-info-binutils: info-binutils
4015 @[ -f ./binutils/Makefile ] || exit 0; \
4016 r=`${PWD_COMMAND}`; export r; \
4017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4019 for flag in $(EXTRA_HOST_FLAGS); do \
4020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4022 echo "Doing info in binutils" ; \
4024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4026 "RANLIB=$${RANLIB}" \
4027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4033 .PHONY: maybe-dvi-binutils dvi-binutils
4036 maybe-dvi-binutils: dvi-binutils
4040 @[ -f ./binutils/Makefile ] || exit 0; \
4041 r=`${PWD_COMMAND}`; export r; \
4042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4044 for flag in $(EXTRA_HOST_FLAGS); do \
4045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4047 echo "Doing dvi in binutils" ; \
4049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4051 "RANLIB=$${RANLIB}" \
4052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4058 .PHONY: maybe-TAGS-binutils TAGS-binutils
4059 maybe-TAGS-binutils:
4061 maybe-TAGS-binutils: TAGS-binutils
4065 @[ -f ./binutils/Makefile ] || exit 0; \
4066 r=`${PWD_COMMAND}`; export r; \
4067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4069 for flag in $(EXTRA_HOST_FLAGS); do \
4070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4072 echo "Doing TAGS in binutils" ; \
4074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4076 "RANLIB=$${RANLIB}" \
4077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4083 .PHONY: maybe-install-info-binutils install-info-binutils
4084 maybe-install-info-binutils:
4086 maybe-install-info-binutils: install-info-binutils
4088 install-info-binutils: \
4089 configure-binutils \
4091 @[ -f ./binutils/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 binutils" ; \
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}" \
4109 .PHONY: maybe-installcheck-binutils installcheck-binutils
4110 maybe-installcheck-binutils:
4112 maybe-installcheck-binutils: installcheck-binutils
4114 installcheck-binutils: \
4116 @[ -f ./binutils/Makefile ] || exit 0; \
4117 r=`${PWD_COMMAND}`; export r; \
4118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4120 for flag in $(EXTRA_HOST_FLAGS); do \
4121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4123 echo "Doing installcheck in binutils" ; \
4125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4127 "RANLIB=$${RANLIB}" \
4128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4134 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4135 maybe-mostlyclean-binutils:
4137 maybe-mostlyclean-binutils: mostlyclean-binutils
4139 mostlyclean-binutils:
4140 @[ -f ./binutils/Makefile ] || exit 0; \
4141 r=`${PWD_COMMAND}`; export r; \
4142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4144 for flag in $(EXTRA_HOST_FLAGS); do \
4145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4147 echo "Doing mostlyclean in binutils" ; \
4149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4151 "RANLIB=$${RANLIB}" \
4152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4158 .PHONY: maybe-clean-binutils clean-binutils
4159 maybe-clean-binutils:
4161 maybe-clean-binutils: clean-binutils
4164 @[ -f ./binutils/Makefile ] || exit 0; \
4165 r=`${PWD_COMMAND}`; export r; \
4166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4168 for flag in $(EXTRA_HOST_FLAGS); do \
4169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4171 echo "Doing clean in binutils" ; \
4173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4175 "RANLIB=$${RANLIB}" \
4176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4182 .PHONY: maybe-distclean-binutils distclean-binutils
4183 maybe-distclean-binutils:
4185 maybe-distclean-binutils: distclean-binutils
4188 @[ -f ./binutils/Makefile ] || exit 0; \
4189 r=`${PWD_COMMAND}`; export r; \
4190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4192 for flag in $(EXTRA_HOST_FLAGS); do \
4193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4195 echo "Doing distclean in binutils" ; \
4197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4199 "RANLIB=$${RANLIB}" \
4200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4206 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4207 maybe-maintainer-clean-binutils:
4209 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4211 maintainer-clean-binutils:
4212 @[ -f ./binutils/Makefile ] || exit 0; \
4213 r=`${PWD_COMMAND}`; export r; \
4214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4216 for flag in $(EXTRA_HOST_FLAGS); do \
4217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4219 echo "Doing maintainer-clean in binutils" ; \
4221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4223 "RANLIB=$${RANLIB}" \
4224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4231 .PHONY: configure-bison maybe-configure-bison
4232 maybe-configure-bison:
4234 maybe-configure-bison: configure-bison
4236 @test ! -f bison/Makefile || exit 0; \
4237 [ -d bison ] || mkdir bison; \
4238 r=`${PWD_COMMAND}`; export r; \
4239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4240 CC="$(CC)"; export CC; \
4241 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4242 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
4243 CXX="$(CXX)"; export CXX; \
4244 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4245 AR="$(AR)"; export AR; \
4246 AS="$(AS)"; export AS; \
4247 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4248 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4249 LD="$(LD)"; export LD; \
4250 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
4251 NM="$(NM)"; export NM; \
4252 RANLIB="$(RANLIB)"; export RANLIB; \
4253 WINDRES="$(WINDRES)"; export WINDRES; \
4254 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4255 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4256 echo Configuring in bison; \
4257 cd bison || exit 1; \
4260 srcdiroption="--srcdir=."; \
4262 /* | [A-Za-z]:[\\/]*) \
4263 srcdiroption="--srcdir=$(srcdir)/bison"; \
4264 libsrcdir="$$s/bison";; \
4266 srcdiroption="--srcdir=../$(srcdir)/bison"; \
4267 libsrcdir="$$s/bison";; \
4269 $(SHELL) $${libsrcdir}/configure \
4270 $(HOST_CONFIGARGS) $${srcdiroption} \
4274 .PHONY: all-bison maybe-all-bison
4277 maybe-all-bison: all-bison
4278 all-bison: configure-bison
4279 @r=`${PWD_COMMAND}`; export r; \
4280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4282 (cd bison && $(MAKE) $(FLAGS_TO_PASS) all)
4285 .PHONY: check-bison maybe-check-bison
4288 maybe-check-bison: check-bison
4290 # This module is only tested in a native toolchain.
4292 @if [ '$(host)' = '$(target)' ] ; then \
4293 r=`${PWD_COMMAND}`; export r; \
4294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4296 (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
4301 .PHONY: install-bison maybe-install-bison
4302 maybe-install-bison:
4304 maybe-install-bison: install-bison
4306 install-bison: installdirs
4307 @r=`${PWD_COMMAND}`; export r; \
4308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4310 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
4314 # Other targets (info, dvi, etc.)
4316 .PHONY: maybe-info-bison info-bison
4319 maybe-info-bison: info-bison
4323 @[ -f ./bison/Makefile ] || exit 0; \
4324 r=`${PWD_COMMAND}`; export r; \
4325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4327 for flag in $(EXTRA_HOST_FLAGS); do \
4328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4330 echo "Doing info in bison" ; \
4332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4334 "RANLIB=$${RANLIB}" \
4335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4341 .PHONY: maybe-dvi-bison dvi-bison
4344 maybe-dvi-bison: dvi-bison
4348 @[ -f ./bison/Makefile ] || exit 0; \
4349 r=`${PWD_COMMAND}`; export r; \
4350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4352 for flag in $(EXTRA_HOST_FLAGS); do \
4353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4355 echo "Doing dvi in bison" ; \
4357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4359 "RANLIB=$${RANLIB}" \
4360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4366 .PHONY: maybe-TAGS-bison TAGS-bison
4369 maybe-TAGS-bison: TAGS-bison
4373 @[ -f ./bison/Makefile ] || exit 0; \
4374 r=`${PWD_COMMAND}`; export r; \
4375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4377 for flag in $(EXTRA_HOST_FLAGS); do \
4378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4380 echo "Doing TAGS in bison" ; \
4382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4384 "RANLIB=$${RANLIB}" \
4385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4391 .PHONY: maybe-install-info-bison install-info-bison
4392 maybe-install-info-bison:
4394 maybe-install-info-bison: install-info-bison
4396 install-info-bison: \
4399 @[ -f ./bison/Makefile ] || exit 0; \
4400 r=`${PWD_COMMAND}`; export r; \
4401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4403 for flag in $(EXTRA_HOST_FLAGS); do \
4404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4406 echo "Doing install-info in bison" ; \
4408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4410 "RANLIB=$${RANLIB}" \
4411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4417 .PHONY: maybe-installcheck-bison installcheck-bison
4418 maybe-installcheck-bison:
4420 maybe-installcheck-bison: installcheck-bison
4422 installcheck-bison: \
4424 @[ -f ./bison/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 installcheck in bison" ; \
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}" \
4442 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
4443 maybe-mostlyclean-bison:
4445 maybe-mostlyclean-bison: mostlyclean-bison
4448 @[ -f ./bison/Makefile ] || exit 0; \
4449 r=`${PWD_COMMAND}`; export r; \
4450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4452 for flag in $(EXTRA_HOST_FLAGS); do \
4453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4455 echo "Doing mostlyclean in bison" ; \
4457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4459 "RANLIB=$${RANLIB}" \
4460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4466 .PHONY: maybe-clean-bison clean-bison
4469 maybe-clean-bison: clean-bison
4472 @[ -f ./bison/Makefile ] || exit 0; \
4473 r=`${PWD_COMMAND}`; export r; \
4474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4476 for flag in $(EXTRA_HOST_FLAGS); do \
4477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4479 echo "Doing clean in bison" ; \
4481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4483 "RANLIB=$${RANLIB}" \
4484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4490 .PHONY: maybe-distclean-bison distclean-bison
4491 maybe-distclean-bison:
4493 maybe-distclean-bison: distclean-bison
4496 @[ -f ./bison/Makefile ] || exit 0; \
4497 r=`${PWD_COMMAND}`; export r; \
4498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4500 for flag in $(EXTRA_HOST_FLAGS); do \
4501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4503 echo "Doing distclean in bison" ; \
4505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4507 "RANLIB=$${RANLIB}" \
4508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4514 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
4515 maybe-maintainer-clean-bison:
4517 maybe-maintainer-clean-bison: maintainer-clean-bison
4519 maintainer-clean-bison:
4520 @[ -f ./bison/Makefile ] || exit 0; \
4521 r=`${PWD_COMMAND}`; export r; \
4522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4524 for flag in $(EXTRA_HOST_FLAGS); do \
4525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4527 echo "Doing maintainer-clean in bison" ; \
4529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4531 "RANLIB=$${RANLIB}" \
4532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4539 .PHONY: configure-byacc maybe-configure-byacc
4540 maybe-configure-byacc:
4542 maybe-configure-byacc: configure-byacc
4544 @test ! -f byacc/Makefile || exit 0; \
4545 [ -d byacc ] || mkdir byacc; \
4546 r=`${PWD_COMMAND}`; export r; \
4547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4548 CC="$(CC)"; export CC; \
4549 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4550 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
4551 CXX="$(CXX)"; export CXX; \
4552 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4553 AR="$(AR)"; export AR; \
4554 AS="$(AS)"; export AS; \
4555 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4556 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4557 LD="$(LD)"; export LD; \
4558 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
4559 NM="$(NM)"; export NM; \
4560 RANLIB="$(RANLIB)"; export RANLIB; \
4561 WINDRES="$(WINDRES)"; export WINDRES; \
4562 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4563 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4564 echo Configuring in byacc; \
4565 cd byacc || exit 1; \
4568 srcdiroption="--srcdir=."; \
4570 /* | [A-Za-z]:[\\/]*) \
4571 srcdiroption="--srcdir=$(srcdir)/byacc"; \
4572 libsrcdir="$$s/byacc";; \
4574 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
4575 libsrcdir="$$s/byacc";; \
4577 $(SHELL) $${libsrcdir}/configure \
4578 $(HOST_CONFIGARGS) $${srcdiroption} \
4582 .PHONY: all-byacc maybe-all-byacc
4585 maybe-all-byacc: all-byacc
4586 all-byacc: configure-byacc
4587 @r=`${PWD_COMMAND}`; export r; \
4588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4590 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) all)
4593 .PHONY: check-byacc maybe-check-byacc
4596 maybe-check-byacc: check-byacc
4598 # This module is only tested in a native toolchain.
4600 @if [ '$(host)' = '$(target)' ] ; then \
4601 r=`${PWD_COMMAND}`; export r; \
4602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4604 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \
4609 .PHONY: install-byacc maybe-install-byacc
4610 maybe-install-byacc:
4612 maybe-install-byacc: install-byacc
4614 install-byacc: installdirs
4615 @r=`${PWD_COMMAND}`; export r; \
4616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4618 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
4622 # Other targets (info, dvi, etc.)
4624 .PHONY: maybe-info-byacc info-byacc
4627 maybe-info-byacc: info-byacc
4631 @[ -f ./byacc/Makefile ] || exit 0; \
4632 r=`${PWD_COMMAND}`; export r; \
4633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4635 for flag in $(EXTRA_HOST_FLAGS); do \
4636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4638 echo "Doing info in byacc" ; \
4640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4642 "RANLIB=$${RANLIB}" \
4643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4649 .PHONY: maybe-dvi-byacc dvi-byacc
4652 maybe-dvi-byacc: dvi-byacc
4656 @[ -f ./byacc/Makefile ] || exit 0; \
4657 r=`${PWD_COMMAND}`; export r; \
4658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4660 for flag in $(EXTRA_HOST_FLAGS); do \
4661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4663 echo "Doing dvi in byacc" ; \
4665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4667 "RANLIB=$${RANLIB}" \
4668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4674 .PHONY: maybe-TAGS-byacc TAGS-byacc
4677 maybe-TAGS-byacc: TAGS-byacc
4681 @[ -f ./byacc/Makefile ] || exit 0; \
4682 r=`${PWD_COMMAND}`; export r; \
4683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4685 for flag in $(EXTRA_HOST_FLAGS); do \
4686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4688 echo "Doing TAGS in byacc" ; \
4690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4692 "RANLIB=$${RANLIB}" \
4693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4699 .PHONY: maybe-install-info-byacc install-info-byacc
4700 maybe-install-info-byacc:
4702 maybe-install-info-byacc: install-info-byacc
4704 install-info-byacc: \
4707 @[ -f ./byacc/Makefile ] || exit 0; \
4708 r=`${PWD_COMMAND}`; export r; \
4709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4711 for flag in $(EXTRA_HOST_FLAGS); do \
4712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4714 echo "Doing install-info in byacc" ; \
4716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4718 "RANLIB=$${RANLIB}" \
4719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4725 .PHONY: maybe-installcheck-byacc installcheck-byacc
4726 maybe-installcheck-byacc:
4728 maybe-installcheck-byacc: installcheck-byacc
4730 installcheck-byacc: \
4732 @[ -f ./byacc/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 installcheck in byacc" ; \
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: maybe-mostlyclean-byacc mostlyclean-byacc
4751 maybe-mostlyclean-byacc:
4753 maybe-mostlyclean-byacc: mostlyclean-byacc
4756 @[ -f ./byacc/Makefile ] || exit 0; \
4757 r=`${PWD_COMMAND}`; export r; \
4758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4760 for flag in $(EXTRA_HOST_FLAGS); do \
4761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4763 echo "Doing mostlyclean in byacc" ; \
4765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4767 "RANLIB=$${RANLIB}" \
4768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4774 .PHONY: maybe-clean-byacc clean-byacc
4777 maybe-clean-byacc: clean-byacc
4780 @[ -f ./byacc/Makefile ] || exit 0; \
4781 r=`${PWD_COMMAND}`; export r; \
4782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4784 for flag in $(EXTRA_HOST_FLAGS); do \
4785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4787 echo "Doing clean in byacc" ; \
4789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4791 "RANLIB=$${RANLIB}" \
4792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4798 .PHONY: maybe-distclean-byacc distclean-byacc
4799 maybe-distclean-byacc:
4801 maybe-distclean-byacc: distclean-byacc
4804 @[ -f ./byacc/Makefile ] || exit 0; \
4805 r=`${PWD_COMMAND}`; export r; \
4806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4808 for flag in $(EXTRA_HOST_FLAGS); do \
4809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4811 echo "Doing distclean in byacc" ; \
4813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4815 "RANLIB=$${RANLIB}" \
4816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4822 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
4823 maybe-maintainer-clean-byacc:
4825 maybe-maintainer-clean-byacc: maintainer-clean-byacc
4827 maintainer-clean-byacc:
4828 @[ -f ./byacc/Makefile ] || exit 0; \
4829 r=`${PWD_COMMAND}`; export r; \
4830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4832 for flag in $(EXTRA_HOST_FLAGS); do \
4833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4835 echo "Doing maintainer-clean in byacc" ; \
4837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4839 "RANLIB=$${RANLIB}" \
4840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4847 .PHONY: configure-bzip2 maybe-configure-bzip2
4848 maybe-configure-bzip2:
4850 maybe-configure-bzip2: configure-bzip2
4852 @test ! -f bzip2/Makefile || exit 0; \
4853 [ -d bzip2 ] || mkdir bzip2; \
4854 r=`${PWD_COMMAND}`; export r; \
4855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4856 CC="$(CC)"; export CC; \
4857 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4858 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
4859 CXX="$(CXX)"; export CXX; \
4860 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4861 AR="$(AR)"; export AR; \
4862 AS="$(AS)"; export AS; \
4863 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4864 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4865 LD="$(LD)"; export LD; \
4866 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
4867 NM="$(NM)"; export NM; \
4868 RANLIB="$(RANLIB)"; export RANLIB; \
4869 WINDRES="$(WINDRES)"; export WINDRES; \
4870 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4871 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4872 echo Configuring in bzip2; \
4873 cd bzip2 || exit 1; \
4876 srcdiroption="--srcdir=."; \
4878 /* | [A-Za-z]:[\\/]*) \
4879 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
4880 libsrcdir="$$s/bzip2";; \
4882 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
4883 libsrcdir="$$s/bzip2";; \
4885 $(SHELL) $${libsrcdir}/configure \
4886 $(HOST_CONFIGARGS) $${srcdiroption} \
4890 .PHONY: all-bzip2 maybe-all-bzip2
4893 maybe-all-bzip2: all-bzip2
4894 all-bzip2: configure-bzip2
4895 @r=`${PWD_COMMAND}`; export r; \
4896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4898 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) all)
4901 .PHONY: check-bzip2 maybe-check-bzip2
4904 maybe-check-bzip2: check-bzip2
4907 @r=`${PWD_COMMAND}`; export r; \
4908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4910 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
4914 .PHONY: install-bzip2 maybe-install-bzip2
4915 maybe-install-bzip2:
4917 maybe-install-bzip2: install-bzip2
4919 install-bzip2: installdirs
4920 @r=`${PWD_COMMAND}`; export r; \
4921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4923 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
4927 # Other targets (info, dvi, etc.)
4929 .PHONY: maybe-info-bzip2 info-bzip2
4932 maybe-info-bzip2: info-bzip2
4936 @[ -f ./bzip2/Makefile ] || exit 0; \
4937 r=`${PWD_COMMAND}`; export r; \
4938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4940 for flag in $(EXTRA_HOST_FLAGS); do \
4941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4943 echo "Doing info in bzip2" ; \
4945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4947 "RANLIB=$${RANLIB}" \
4948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4954 .PHONY: maybe-dvi-bzip2 dvi-bzip2
4957 maybe-dvi-bzip2: dvi-bzip2
4961 @[ -f ./bzip2/Makefile ] || exit 0; \
4962 r=`${PWD_COMMAND}`; export r; \
4963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4965 for flag in $(EXTRA_HOST_FLAGS); do \
4966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4968 echo "Doing dvi in bzip2" ; \
4970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4972 "RANLIB=$${RANLIB}" \
4973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4979 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
4982 maybe-TAGS-bzip2: TAGS-bzip2
4986 @[ -f ./bzip2/Makefile ] || exit 0; \
4987 r=`${PWD_COMMAND}`; export r; \
4988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4990 for flag in $(EXTRA_HOST_FLAGS); do \
4991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4993 echo "Doing TAGS in bzip2" ; \
4995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4997 "RANLIB=$${RANLIB}" \
4998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5004 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5005 maybe-install-info-bzip2:
5007 maybe-install-info-bzip2: install-info-bzip2
5009 install-info-bzip2: \
5012 @[ -f ./bzip2/Makefile ] || exit 0; \
5013 r=`${PWD_COMMAND}`; export r; \
5014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5016 for flag in $(EXTRA_HOST_FLAGS); do \
5017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5019 echo "Doing install-info in bzip2" ; \
5021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5023 "RANLIB=$${RANLIB}" \
5024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5030 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5031 maybe-installcheck-bzip2:
5033 maybe-installcheck-bzip2: installcheck-bzip2
5035 installcheck-bzip2: \
5037 @[ -f ./bzip2/Makefile ] || exit 0; \
5038 r=`${PWD_COMMAND}`; export r; \
5039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5041 for flag in $(EXTRA_HOST_FLAGS); do \
5042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5044 echo "Doing installcheck in bzip2" ; \
5046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5048 "RANLIB=$${RANLIB}" \
5049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5055 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5056 maybe-mostlyclean-bzip2:
5058 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5061 @[ -f ./bzip2/Makefile ] || exit 0; \
5062 r=`${PWD_COMMAND}`; export r; \
5063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5065 for flag in $(EXTRA_HOST_FLAGS); do \
5066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5068 echo "Doing mostlyclean in bzip2" ; \
5070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5072 "RANLIB=$${RANLIB}" \
5073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5079 .PHONY: maybe-clean-bzip2 clean-bzip2
5082 maybe-clean-bzip2: clean-bzip2
5085 @[ -f ./bzip2/Makefile ] || exit 0; \
5086 r=`${PWD_COMMAND}`; export r; \
5087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5089 for flag in $(EXTRA_HOST_FLAGS); do \
5090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5092 echo "Doing clean in bzip2" ; \
5094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5096 "RANLIB=$${RANLIB}" \
5097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5103 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5104 maybe-distclean-bzip2:
5106 maybe-distclean-bzip2: distclean-bzip2
5109 @[ -f ./bzip2/Makefile ] || exit 0; \
5110 r=`${PWD_COMMAND}`; export r; \
5111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5113 for flag in $(EXTRA_HOST_FLAGS); do \
5114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5116 echo "Doing distclean in bzip2" ; \
5118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5120 "RANLIB=$${RANLIB}" \
5121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5127 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5128 maybe-maintainer-clean-bzip2:
5130 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5132 maintainer-clean-bzip2:
5133 @[ -f ./bzip2/Makefile ] || exit 0; \
5134 r=`${PWD_COMMAND}`; export r; \
5135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5137 for flag in $(EXTRA_HOST_FLAGS); do \
5138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5140 echo "Doing maintainer-clean in bzip2" ; \
5142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5144 "RANLIB=$${RANLIB}" \
5145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5152 .PHONY: configure-dejagnu maybe-configure-dejagnu
5153 maybe-configure-dejagnu:
5155 maybe-configure-dejagnu: configure-dejagnu
5157 @test ! -f dejagnu/Makefile || exit 0; \
5158 [ -d dejagnu ] || mkdir dejagnu; \
5159 r=`${PWD_COMMAND}`; export r; \
5160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5161 CC="$(CC)"; export CC; \
5162 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5163 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
5164 CXX="$(CXX)"; export CXX; \
5165 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5166 AR="$(AR)"; export AR; \
5167 AS="$(AS)"; export AS; \
5168 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5169 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5170 LD="$(LD)"; export LD; \
5171 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
5172 NM="$(NM)"; export NM; \
5173 RANLIB="$(RANLIB)"; export RANLIB; \
5174 WINDRES="$(WINDRES)"; export WINDRES; \
5175 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5176 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5177 echo Configuring in dejagnu; \
5178 cd dejagnu || exit 1; \
5181 srcdiroption="--srcdir=."; \
5183 /* | [A-Za-z]:[\\/]*) \
5184 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
5185 libsrcdir="$$s/dejagnu";; \
5187 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
5188 libsrcdir="$$s/dejagnu";; \
5190 $(SHELL) $${libsrcdir}/configure \
5191 $(HOST_CONFIGARGS) $${srcdiroption} \
5195 .PHONY: all-dejagnu maybe-all-dejagnu
5198 maybe-all-dejagnu: all-dejagnu
5199 all-dejagnu: configure-dejagnu
5200 @r=`${PWD_COMMAND}`; export r; \
5201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5203 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) all)
5206 .PHONY: check-dejagnu maybe-check-dejagnu
5207 maybe-check-dejagnu:
5209 maybe-check-dejagnu: check-dejagnu
5212 @r=`${PWD_COMMAND}`; export r; \
5213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5215 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
5219 .PHONY: install-dejagnu maybe-install-dejagnu
5220 maybe-install-dejagnu:
5222 maybe-install-dejagnu: install-dejagnu
5224 install-dejagnu: installdirs
5225 @r=`${PWD_COMMAND}`; export r; \
5226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5228 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
5232 # Other targets (info, dvi, etc.)
5234 .PHONY: maybe-info-dejagnu info-dejagnu
5237 maybe-info-dejagnu: info-dejagnu
5241 @[ -f ./dejagnu/Makefile ] || exit 0; \
5242 r=`${PWD_COMMAND}`; export r; \
5243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5245 for flag in $(EXTRA_HOST_FLAGS); do \
5246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5248 echo "Doing info in dejagnu" ; \
5250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5252 "RANLIB=$${RANLIB}" \
5253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5259 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
5262 maybe-dvi-dejagnu: dvi-dejagnu
5266 @[ -f ./dejagnu/Makefile ] || exit 0; \
5267 r=`${PWD_COMMAND}`; export r; \
5268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5270 for flag in $(EXTRA_HOST_FLAGS); do \
5271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5273 echo "Doing dvi in dejagnu" ; \
5275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5277 "RANLIB=$${RANLIB}" \
5278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5284 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
5287 maybe-TAGS-dejagnu: TAGS-dejagnu
5291 @[ -f ./dejagnu/Makefile ] || exit 0; \
5292 r=`${PWD_COMMAND}`; export r; \
5293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5295 for flag in $(EXTRA_HOST_FLAGS); do \
5296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5298 echo "Doing TAGS in dejagnu" ; \
5300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5302 "RANLIB=$${RANLIB}" \
5303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5309 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
5310 maybe-install-info-dejagnu:
5312 maybe-install-info-dejagnu: install-info-dejagnu
5314 install-info-dejagnu: \
5317 @[ -f ./dejagnu/Makefile ] || exit 0; \
5318 r=`${PWD_COMMAND}`; export r; \
5319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5321 for flag in $(EXTRA_HOST_FLAGS); do \
5322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5324 echo "Doing install-info in dejagnu" ; \
5326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5328 "RANLIB=$${RANLIB}" \
5329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5335 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
5336 maybe-installcheck-dejagnu:
5338 maybe-installcheck-dejagnu: installcheck-dejagnu
5340 installcheck-dejagnu: \
5342 @[ -f ./dejagnu/Makefile ] || exit 0; \
5343 r=`${PWD_COMMAND}`; export r; \
5344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5346 for flag in $(EXTRA_HOST_FLAGS); do \
5347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5349 echo "Doing installcheck in dejagnu" ; \
5351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5353 "RANLIB=$${RANLIB}" \
5354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5360 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
5361 maybe-mostlyclean-dejagnu:
5363 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
5365 mostlyclean-dejagnu:
5366 @[ -f ./dejagnu/Makefile ] || exit 0; \
5367 r=`${PWD_COMMAND}`; export r; \
5368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5370 for flag in $(EXTRA_HOST_FLAGS); do \
5371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5373 echo "Doing mostlyclean in dejagnu" ; \
5375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5377 "RANLIB=$${RANLIB}" \
5378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5384 .PHONY: maybe-clean-dejagnu clean-dejagnu
5385 maybe-clean-dejagnu:
5387 maybe-clean-dejagnu: clean-dejagnu
5390 @[ -f ./dejagnu/Makefile ] || exit 0; \
5391 r=`${PWD_COMMAND}`; export r; \
5392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5394 for flag in $(EXTRA_HOST_FLAGS); do \
5395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5397 echo "Doing clean in dejagnu" ; \
5399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5401 "RANLIB=$${RANLIB}" \
5402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5408 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
5409 maybe-distclean-dejagnu:
5411 maybe-distclean-dejagnu: distclean-dejagnu
5414 @[ -f ./dejagnu/Makefile ] || exit 0; \
5415 r=`${PWD_COMMAND}`; export r; \
5416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5418 for flag in $(EXTRA_HOST_FLAGS); do \
5419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5421 echo "Doing distclean in dejagnu" ; \
5423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5425 "RANLIB=$${RANLIB}" \
5426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5432 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
5433 maybe-maintainer-clean-dejagnu:
5435 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
5437 maintainer-clean-dejagnu:
5438 @[ -f ./dejagnu/Makefile ] || exit 0; \
5439 r=`${PWD_COMMAND}`; export r; \
5440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5442 for flag in $(EXTRA_HOST_FLAGS); do \
5443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5445 echo "Doing maintainer-clean in dejagnu" ; \
5447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5449 "RANLIB=$${RANLIB}" \
5450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5457 .PHONY: configure-diff maybe-configure-diff
5458 maybe-configure-diff:
5460 maybe-configure-diff: configure-diff
5462 @test ! -f diff/Makefile || exit 0; \
5463 [ -d diff ] || mkdir diff; \
5464 r=`${PWD_COMMAND}`; export r; \
5465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5466 CC="$(CC)"; export CC; \
5467 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5468 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
5469 CXX="$(CXX)"; export CXX; \
5470 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5471 AR="$(AR)"; export AR; \
5472 AS="$(AS)"; export AS; \
5473 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5474 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5475 LD="$(LD)"; export LD; \
5476 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
5477 NM="$(NM)"; export NM; \
5478 RANLIB="$(RANLIB)"; export RANLIB; \
5479 WINDRES="$(WINDRES)"; export WINDRES; \
5480 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5481 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5482 echo Configuring in diff; \
5483 cd diff || exit 1; \
5486 srcdiroption="--srcdir=."; \
5488 /* | [A-Za-z]:[\\/]*) \
5489 srcdiroption="--srcdir=$(srcdir)/diff"; \
5490 libsrcdir="$$s/diff";; \
5492 srcdiroption="--srcdir=../$(srcdir)/diff"; \
5493 libsrcdir="$$s/diff";; \
5495 $(SHELL) $${libsrcdir}/configure \
5496 $(HOST_CONFIGARGS) $${srcdiroption} \
5500 .PHONY: all-diff maybe-all-diff
5503 maybe-all-diff: all-diff
5504 all-diff: configure-diff
5505 @r=`${PWD_COMMAND}`; export r; \
5506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5508 (cd diff && $(MAKE) $(FLAGS_TO_PASS) all)
5511 .PHONY: check-diff maybe-check-diff
5514 maybe-check-diff: check-diff
5517 @r=`${PWD_COMMAND}`; export r; \
5518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5520 (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
5524 .PHONY: install-diff maybe-install-diff
5527 maybe-install-diff: install-diff
5529 install-diff: installdirs
5530 @r=`${PWD_COMMAND}`; export r; \
5531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5533 (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
5537 # Other targets (info, dvi, etc.)
5539 .PHONY: maybe-info-diff info-diff
5542 maybe-info-diff: info-diff
5546 @[ -f ./diff/Makefile ] || exit 0; \
5547 r=`${PWD_COMMAND}`; export r; \
5548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5550 for flag in $(EXTRA_HOST_FLAGS); do \
5551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5553 echo "Doing info in diff" ; \
5555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5557 "RANLIB=$${RANLIB}" \
5558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5564 .PHONY: maybe-dvi-diff dvi-diff
5567 maybe-dvi-diff: dvi-diff
5571 @[ -f ./diff/Makefile ] || exit 0; \
5572 r=`${PWD_COMMAND}`; export r; \
5573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5575 for flag in $(EXTRA_HOST_FLAGS); do \
5576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5578 echo "Doing dvi in diff" ; \
5580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5582 "RANLIB=$${RANLIB}" \
5583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5589 .PHONY: maybe-TAGS-diff TAGS-diff
5592 maybe-TAGS-diff: TAGS-diff
5596 @[ -f ./diff/Makefile ] || exit 0; \
5597 r=`${PWD_COMMAND}`; export r; \
5598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5600 for flag in $(EXTRA_HOST_FLAGS); do \
5601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5603 echo "Doing TAGS in diff" ; \
5605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5607 "RANLIB=$${RANLIB}" \
5608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5614 .PHONY: maybe-install-info-diff install-info-diff
5615 maybe-install-info-diff:
5617 maybe-install-info-diff: install-info-diff
5619 install-info-diff: \
5622 @[ -f ./diff/Makefile ] || exit 0; \
5623 r=`${PWD_COMMAND}`; export r; \
5624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5626 for flag in $(EXTRA_HOST_FLAGS); do \
5627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5629 echo "Doing install-info in diff" ; \
5631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5633 "RANLIB=$${RANLIB}" \
5634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5640 .PHONY: maybe-installcheck-diff installcheck-diff
5641 maybe-installcheck-diff:
5643 maybe-installcheck-diff: installcheck-diff
5645 installcheck-diff: \
5647 @[ -f ./diff/Makefile ] || exit 0; \
5648 r=`${PWD_COMMAND}`; export r; \
5649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5651 for flag in $(EXTRA_HOST_FLAGS); do \
5652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5654 echo "Doing installcheck in diff" ; \
5656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5658 "RANLIB=$${RANLIB}" \
5659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5665 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
5666 maybe-mostlyclean-diff:
5668 maybe-mostlyclean-diff: mostlyclean-diff
5671 @[ -f ./diff/Makefile ] || exit 0; \
5672 r=`${PWD_COMMAND}`; export r; \
5673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5675 for flag in $(EXTRA_HOST_FLAGS); do \
5676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5678 echo "Doing mostlyclean in diff" ; \
5680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5682 "RANLIB=$${RANLIB}" \
5683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5689 .PHONY: maybe-clean-diff clean-diff
5692 maybe-clean-diff: clean-diff
5695 @[ -f ./diff/Makefile ] || exit 0; \
5696 r=`${PWD_COMMAND}`; export r; \
5697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5699 for flag in $(EXTRA_HOST_FLAGS); do \
5700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5702 echo "Doing clean in diff" ; \
5704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5706 "RANLIB=$${RANLIB}" \
5707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5713 .PHONY: maybe-distclean-diff distclean-diff
5714 maybe-distclean-diff:
5716 maybe-distclean-diff: distclean-diff
5719 @[ -f ./diff/Makefile ] || exit 0; \
5720 r=`${PWD_COMMAND}`; export r; \
5721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5723 for flag in $(EXTRA_HOST_FLAGS); do \
5724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5726 echo "Doing distclean in diff" ; \
5728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5730 "RANLIB=$${RANLIB}" \
5731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5737 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
5738 maybe-maintainer-clean-diff:
5740 maybe-maintainer-clean-diff: maintainer-clean-diff
5742 maintainer-clean-diff:
5743 @[ -f ./diff/Makefile ] || exit 0; \
5744 r=`${PWD_COMMAND}`; export r; \
5745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5747 for flag in $(EXTRA_HOST_FLAGS); do \
5748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5750 echo "Doing maintainer-clean in diff" ; \
5752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5754 "RANLIB=$${RANLIB}" \
5755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5762 .PHONY: configure-dosutils maybe-configure-dosutils
5763 maybe-configure-dosutils:
5765 maybe-configure-dosutils: configure-dosutils
5767 @test ! -f dosutils/Makefile || exit 0; \
5768 [ -d dosutils ] || mkdir dosutils; \
5769 r=`${PWD_COMMAND}`; export r; \
5770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5771 CC="$(CC)"; export CC; \
5772 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5773 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
5774 CXX="$(CXX)"; export CXX; \
5775 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5776 AR="$(AR)"; export AR; \
5777 AS="$(AS)"; export AS; \
5778 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5779 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5780 LD="$(LD)"; export LD; \
5781 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
5782 NM="$(NM)"; export NM; \
5783 RANLIB="$(RANLIB)"; export RANLIB; \
5784 WINDRES="$(WINDRES)"; export WINDRES; \
5785 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5786 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5787 echo Configuring in dosutils; \
5788 cd dosutils || exit 1; \
5791 srcdiroption="--srcdir=."; \
5793 /* | [A-Za-z]:[\\/]*) \
5794 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
5795 libsrcdir="$$s/dosutils";; \
5797 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
5798 libsrcdir="$$s/dosutils";; \
5800 $(SHELL) $${libsrcdir}/configure \
5801 $(HOST_CONFIGARGS) $${srcdiroption} \
5805 .PHONY: all-dosutils maybe-all-dosutils
5808 maybe-all-dosutils: all-dosutils
5809 all-dosutils: configure-dosutils
5810 @r=`${PWD_COMMAND}`; export r; \
5811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5813 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) all)
5816 .PHONY: check-dosutils maybe-check-dosutils
5817 maybe-check-dosutils:
5819 maybe-check-dosutils: check-dosutils
5825 .PHONY: install-dosutils maybe-install-dosutils
5826 maybe-install-dosutils:
5828 maybe-install-dosutils: install-dosutils
5830 install-dosutils: installdirs
5831 @r=`${PWD_COMMAND}`; export r; \
5832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5834 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
5838 # Other targets (info, dvi, etc.)
5840 .PHONY: maybe-info-dosutils info-dosutils
5841 maybe-info-dosutils:
5843 maybe-info-dosutils: info-dosutils
5847 @[ -f ./dosutils/Makefile ] || exit 0; \
5848 r=`${PWD_COMMAND}`; export r; \
5849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5851 for flag in $(EXTRA_HOST_FLAGS); do \
5852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5854 echo "Doing info in dosutils" ; \
5856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5858 "RANLIB=$${RANLIB}" \
5859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5865 .PHONY: maybe-dvi-dosutils dvi-dosutils
5868 maybe-dvi-dosutils: dvi-dosutils
5872 @[ -f ./dosutils/Makefile ] || exit 0; \
5873 r=`${PWD_COMMAND}`; export r; \
5874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5876 for flag in $(EXTRA_HOST_FLAGS); do \
5877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5879 echo "Doing dvi in dosutils" ; \
5881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5883 "RANLIB=$${RANLIB}" \
5884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5890 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
5891 maybe-TAGS-dosutils:
5893 maybe-TAGS-dosutils: TAGS-dosutils
5897 @[ -f ./dosutils/Makefile ] || exit 0; \
5898 r=`${PWD_COMMAND}`; export r; \
5899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5901 for flag in $(EXTRA_HOST_FLAGS); do \
5902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5904 echo "Doing TAGS in dosutils" ; \
5906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5908 "RANLIB=$${RANLIB}" \
5909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5915 .PHONY: maybe-install-info-dosutils install-info-dosutils
5916 maybe-install-info-dosutils:
5918 maybe-install-info-dosutils: install-info-dosutils
5920 install-info-dosutils: \
5921 configure-dosutils \
5923 @[ -f ./dosutils/Makefile ] || exit 0; \
5924 r=`${PWD_COMMAND}`; export r; \
5925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5927 for flag in $(EXTRA_HOST_FLAGS); do \
5928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5930 echo "Doing install-info in dosutils" ; \
5932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5934 "RANLIB=$${RANLIB}" \
5935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5941 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
5942 maybe-installcheck-dosutils:
5944 maybe-installcheck-dosutils: installcheck-dosutils
5946 installcheck-dosutils: \
5948 @[ -f ./dosutils/Makefile ] || exit 0; \
5949 r=`${PWD_COMMAND}`; export r; \
5950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5952 for flag in $(EXTRA_HOST_FLAGS); do \
5953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5955 echo "Doing installcheck in dosutils" ; \
5957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5959 "RANLIB=$${RANLIB}" \
5960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5966 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
5967 maybe-mostlyclean-dosutils:
5969 maybe-mostlyclean-dosutils: mostlyclean-dosutils
5971 mostlyclean-dosutils:
5972 @[ -f ./dosutils/Makefile ] || exit 0; \
5973 r=`${PWD_COMMAND}`; export r; \
5974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5976 for flag in $(EXTRA_HOST_FLAGS); do \
5977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5979 echo "Doing mostlyclean in dosutils" ; \
5981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5983 "RANLIB=$${RANLIB}" \
5984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5990 .PHONY: maybe-clean-dosutils clean-dosutils
5991 maybe-clean-dosutils:
5993 maybe-clean-dosutils: clean-dosutils
5996 @[ -f ./dosutils/Makefile ] || exit 0; \
5997 r=`${PWD_COMMAND}`; export r; \
5998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6000 for flag in $(EXTRA_HOST_FLAGS); do \
6001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6003 echo "Doing clean in dosutils" ; \
6005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6007 "RANLIB=$${RANLIB}" \
6008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6014 .PHONY: maybe-distclean-dosutils distclean-dosutils
6015 maybe-distclean-dosutils:
6017 maybe-distclean-dosutils: distclean-dosutils
6020 @[ -f ./dosutils/Makefile ] || exit 0; \
6021 r=`${PWD_COMMAND}`; export r; \
6022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6024 for flag in $(EXTRA_HOST_FLAGS); do \
6025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6027 echo "Doing distclean in dosutils" ; \
6029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6031 "RANLIB=$${RANLIB}" \
6032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6038 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6039 maybe-maintainer-clean-dosutils:
6041 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6043 maintainer-clean-dosutils:
6044 @[ -f ./dosutils/Makefile ] || exit 0; \
6045 r=`${PWD_COMMAND}`; export r; \
6046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6048 for flag in $(EXTRA_HOST_FLAGS); do \
6049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6051 echo "Doing maintainer-clean in dosutils" ; \
6053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6055 "RANLIB=$${RANLIB}" \
6056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6063 .PHONY: configure-etc maybe-configure-etc
6064 maybe-configure-etc:
6066 maybe-configure-etc: configure-etc
6068 @test ! -f etc/Makefile || exit 0; \
6069 [ -d etc ] || mkdir etc; \
6070 r=`${PWD_COMMAND}`; export r; \
6071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6072 CC="$(CC)"; export CC; \
6073 CFLAGS="$(CFLAGS)"; export CFLAGS; \
6074 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
6075 CXX="$(CXX)"; export CXX; \
6076 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
6077 AR="$(AR)"; export AR; \
6078 AS="$(AS)"; export AS; \
6079 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
6080 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
6081 LD="$(LD)"; export LD; \
6082 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
6083 NM="$(NM)"; export NM; \
6084 RANLIB="$(RANLIB)"; export RANLIB; \
6085 WINDRES="$(WINDRES)"; export WINDRES; \
6086 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
6087 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
6088 echo Configuring in etc; \
6092 srcdiroption="--srcdir=."; \
6094 /* | [A-Za-z]:[\\/]*) \
6095 srcdiroption="--srcdir=$(srcdir)/etc"; \
6096 libsrcdir="$$s/etc";; \
6098 srcdiroption="--srcdir=../$(srcdir)/etc"; \
6099 libsrcdir="$$s/etc";; \
6101 $(SHELL) $${libsrcdir}/configure \
6102 $(HOST_CONFIGARGS) $${srcdiroption} \
6106 .PHONY: all-etc maybe-all-etc
6109 maybe-all-etc: all-etc
6110 all-etc: configure-etc
6111 @r=`${PWD_COMMAND}`; export r; \
6112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6114 (cd etc && $(MAKE) $(FLAGS_TO_PASS) all)
6117 .PHONY: check-etc maybe-check-etc
6120 maybe-check-etc: check-etc
6123 @r=`${PWD_COMMAND}`; export r; \
6124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6126 (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
6130 .PHONY: install-etc maybe-install-etc
6133 maybe-install-etc: install-etc
6135 install-etc: installdirs
6136 @r=`${PWD_COMMAND}`; export r; \
6137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6139 (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
6143 # Other targets (info, dvi, etc.)
6145 .PHONY: maybe-info-etc info-etc
6148 maybe-info-etc: info-etc
6152 @[ -f ./etc/Makefile ] || exit 0; \
6153 r=`${PWD_COMMAND}`; export r; \
6154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6156 for flag in $(EXTRA_HOST_FLAGS); do \
6157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6159 echo "Doing info in etc" ; \
6161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6163 "RANLIB=$${RANLIB}" \
6164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6170 .PHONY: maybe-dvi-etc dvi-etc
6173 maybe-dvi-etc: dvi-etc
6177 @[ -f ./etc/Makefile ] || exit 0; \
6178 r=`${PWD_COMMAND}`; export r; \
6179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6181 for flag in $(EXTRA_HOST_FLAGS); do \
6182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6184 echo "Doing dvi in etc" ; \
6186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6188 "RANLIB=$${RANLIB}" \
6189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6195 .PHONY: maybe-TAGS-etc TAGS-etc
6198 maybe-TAGS-etc: TAGS-etc
6202 @[ -f ./etc/Makefile ] || exit 0; \
6203 r=`${PWD_COMMAND}`; export r; \
6204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6206 for flag in $(EXTRA_HOST_FLAGS); do \
6207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6209 echo "Doing TAGS in etc" ; \
6211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6213 "RANLIB=$${RANLIB}" \
6214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6220 .PHONY: maybe-install-info-etc install-info-etc
6221 maybe-install-info-etc:
6223 maybe-install-info-etc: install-info-etc
6228 @[ -f ./etc/Makefile ] || exit 0; \
6229 r=`${PWD_COMMAND}`; export r; \
6230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6232 for flag in $(EXTRA_HOST_FLAGS); do \
6233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6235 echo "Doing install-info in etc" ; \
6237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6239 "RANLIB=$${RANLIB}" \
6240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6246 .PHONY: maybe-installcheck-etc installcheck-etc
6247 maybe-installcheck-etc:
6249 maybe-installcheck-etc: installcheck-etc
6253 @[ -f ./etc/Makefile ] || exit 0; \
6254 r=`${PWD_COMMAND}`; export r; \
6255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6257 for flag in $(EXTRA_HOST_FLAGS); do \
6258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6260 echo "Doing installcheck in etc" ; \
6262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6264 "RANLIB=$${RANLIB}" \
6265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6271 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
6272 maybe-mostlyclean-etc:
6274 maybe-mostlyclean-etc: mostlyclean-etc
6277 @[ -f ./etc/Makefile ] || exit 0; \
6278 r=`${PWD_COMMAND}`; export r; \
6279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6281 for flag in $(EXTRA_HOST_FLAGS); do \
6282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6284 echo "Doing mostlyclean in etc" ; \
6286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6288 "RANLIB=$${RANLIB}" \
6289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6295 .PHONY: maybe-clean-etc clean-etc
6298 maybe-clean-etc: clean-etc
6301 @[ -f ./etc/Makefile ] || exit 0; \
6302 r=`${PWD_COMMAND}`; export r; \
6303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6305 for flag in $(EXTRA_HOST_FLAGS); do \
6306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6308 echo "Doing clean in etc" ; \
6310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6312 "RANLIB=$${RANLIB}" \
6313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6319 .PHONY: maybe-distclean-etc distclean-etc
6320 maybe-distclean-etc:
6322 maybe-distclean-etc: distclean-etc
6325 @[ -f ./etc/Makefile ] || exit 0; \
6326 r=`${PWD_COMMAND}`; export r; \
6327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6329 for flag in $(EXTRA_HOST_FLAGS); do \
6330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6332 echo "Doing distclean in etc" ; \
6334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6336 "RANLIB=$${RANLIB}" \
6337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6343 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
6344 maybe-maintainer-clean-etc:
6346 maybe-maintainer-clean-etc: maintainer-clean-etc
6348 maintainer-clean-etc:
6349 @[ -f ./etc/Makefile ] || exit 0; \
6350 r=`${PWD_COMMAND}`; export r; \
6351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6353 for flag in $(EXTRA_HOST_FLAGS); do \
6354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6356 echo "Doing maintainer-clean in etc" ; \
6358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6360 "RANLIB=$${RANLIB}" \
6361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6368 .PHONY: configure-fastjar maybe-configure-fastjar
6369 maybe-configure-fastjar:
6371 maybe-configure-fastjar: configure-fastjar
6373 @test ! -f fastjar/Makefile || exit 0; \
6374 [ -d fastjar ] || mkdir fastjar; \
6375 r=`${PWD_COMMAND}`; export r; \
6376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6377 CC="$(CC)"; export CC; \
6378 CFLAGS="$(CFLAGS)"; export CFLAGS; \
6379 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
6380 CXX="$(CXX)"; export CXX; \
6381 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
6382 AR="$(AR)"; export AR; \
6383 AS="$(AS)"; export AS; \
6384 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
6385 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
6386 LD="$(LD)"; export LD; \
6387 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
6388 NM="$(NM)"; export NM; \
6389 RANLIB="$(RANLIB)"; export RANLIB; \
6390 WINDRES="$(WINDRES)"; export WINDRES; \
6391 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
6392 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
6393 echo Configuring in fastjar; \
6394 cd fastjar || exit 1; \
6397 srcdiroption="--srcdir=."; \
6399 /* | [A-Za-z]:[\\/]*) \
6400 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
6401 libsrcdir="$$s/fastjar";; \
6403 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
6404 libsrcdir="$$s/fastjar";; \
6406 $(SHELL) $${libsrcdir}/configure \
6407 $(HOST_CONFIGARGS) $${srcdiroption} \
6411 .PHONY: all-fastjar maybe-all-fastjar
6414 maybe-all-fastjar: all-fastjar
6415 all-fastjar: configure-fastjar
6416 @r=`${PWD_COMMAND}`; export r; \
6417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6419 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) all)
6422 .PHONY: check-fastjar maybe-check-fastjar
6423 maybe-check-fastjar:
6425 maybe-check-fastjar: check-fastjar
6427 # This module is only tested in a native toolchain.
6429 @if [ '$(host)' = '$(target)' ] ; then \
6430 r=`${PWD_COMMAND}`; export r; \
6431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6433 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \
6438 .PHONY: install-fastjar maybe-install-fastjar
6439 maybe-install-fastjar:
6441 maybe-install-fastjar: install-fastjar
6443 install-fastjar: installdirs
6444 @r=`${PWD_COMMAND}`; export r; \
6445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6447 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
6451 # Other targets (info, dvi, etc.)
6453 .PHONY: maybe-info-fastjar info-fastjar
6456 maybe-info-fastjar: info-fastjar
6460 @[ -f ./fastjar/Makefile ] || exit 0; \
6461 r=`${PWD_COMMAND}`; export r; \
6462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6464 for flag in $(EXTRA_HOST_FLAGS); do \
6465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6467 echo "Doing info in fastjar" ; \
6469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6471 "RANLIB=$${RANLIB}" \
6472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6478 .PHONY: maybe-dvi-fastjar dvi-fastjar
6481 maybe-dvi-fastjar: dvi-fastjar
6485 @[ -f ./fastjar/Makefile ] || exit 0; \
6486 r=`${PWD_COMMAND}`; export r; \
6487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6489 for flag in $(EXTRA_HOST_FLAGS); do \
6490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6492 echo "Doing dvi in fastjar" ; \
6494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6496 "RANLIB=$${RANLIB}" \
6497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6503 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
6506 maybe-TAGS-fastjar: TAGS-fastjar
6510 @[ -f ./fastjar/Makefile ] || exit 0; \
6511 r=`${PWD_COMMAND}`; export r; \
6512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6514 for flag in $(EXTRA_HOST_FLAGS); do \
6515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6517 echo "Doing TAGS in fastjar" ; \
6519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6521 "RANLIB=$${RANLIB}" \
6522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6528 .PHONY: maybe-install-info-fastjar install-info-fastjar
6529 maybe-install-info-fastjar:
6531 maybe-install-info-fastjar: install-info-fastjar
6533 install-info-fastjar: \
6536 @[ -f ./fastjar/Makefile ] || exit 0; \
6537 r=`${PWD_COMMAND}`; export r; \
6538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6540 for flag in $(EXTRA_HOST_FLAGS); do \
6541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6543 echo "Doing install-info in fastjar" ; \
6545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6547 "RANLIB=$${RANLIB}" \
6548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6554 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
6555 maybe-installcheck-fastjar:
6557 maybe-installcheck-fastjar: installcheck-fastjar
6559 installcheck-fastjar: \
6561 @[ -f ./fastjar/Makefile ] || exit 0; \
6562 r=`${PWD_COMMAND}`; export r; \
6563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6565 for flag in $(EXTRA_HOST_FLAGS); do \
6566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6568 echo "Doing installcheck in fastjar" ; \
6570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6572 "RANLIB=$${RANLIB}" \
6573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6579 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
6580 maybe-mostlyclean-fastjar:
6582 maybe-mostlyclean-fastjar: mostlyclean-fastjar
6584 mostlyclean-fastjar:
6585 @[ -f ./fastjar/Makefile ] || exit 0; \
6586 r=`${PWD_COMMAND}`; export r; \
6587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6589 for flag in $(EXTRA_HOST_FLAGS); do \
6590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6592 echo "Doing mostlyclean in fastjar" ; \
6594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6596 "RANLIB=$${RANLIB}" \
6597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6603 .PHONY: maybe-clean-fastjar clean-fastjar
6604 maybe-clean-fastjar:
6606 maybe-clean-fastjar: clean-fastjar
6609 @[ -f ./fastjar/Makefile ] || exit 0; \
6610 r=`${PWD_COMMAND}`; export r; \
6611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6613 for flag in $(EXTRA_HOST_FLAGS); do \
6614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6616 echo "Doing clean in fastjar" ; \
6618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6620 "RANLIB=$${RANLIB}" \
6621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6627 .PHONY: maybe-distclean-fastjar distclean-fastjar
6628 maybe-distclean-fastjar:
6630 maybe-distclean-fastjar: distclean-fastjar
6633 @[ -f ./fastjar/Makefile ] || exit 0; \
6634 r=`${PWD_COMMAND}`; export r; \
6635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6637 for flag in $(EXTRA_HOST_FLAGS); do \
6638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6640 echo "Doing distclean in fastjar" ; \
6642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6644 "RANLIB=$${RANLIB}" \
6645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6651 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
6652 maybe-maintainer-clean-fastjar:
6654 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
6656 maintainer-clean-fastjar:
6657 @[ -f ./fastjar/Makefile ] || exit 0; \
6658 r=`${PWD_COMMAND}`; export r; \
6659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6661 for flag in $(EXTRA_HOST_FLAGS); do \
6662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6664 echo "Doing maintainer-clean in fastjar" ; \
6666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6668 "RANLIB=$${RANLIB}" \
6669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6676 .PHONY: configure-fileutils maybe-configure-fileutils
6677 maybe-configure-fileutils:
6679 maybe-configure-fileutils: configure-fileutils
6680 configure-fileutils:
6681 @test ! -f fileutils/Makefile || exit 0; \
6682 [ -d fileutils ] || mkdir fileutils; \
6683 r=`${PWD_COMMAND}`; export r; \
6684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6685 CC="$(CC)"; export CC; \
6686 CFLAGS="$(CFLAGS)"; export CFLAGS; \
6687 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
6688 CXX="$(CXX)"; export CXX; \
6689 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
6690 AR="$(AR)"; export AR; \
6691 AS="$(AS)"; export AS; \
6692 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
6693 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
6694 LD="$(LD)"; export LD; \
6695 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
6696 NM="$(NM)"; export NM; \
6697 RANLIB="$(RANLIB)"; export RANLIB; \
6698 WINDRES="$(WINDRES)"; export WINDRES; \
6699 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
6700 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
6701 echo Configuring in fileutils; \
6702 cd fileutils || exit 1; \
6705 srcdiroption="--srcdir=."; \
6707 /* | [A-Za-z]:[\\/]*) \
6708 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
6709 libsrcdir="$$s/fileutils";; \
6711 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
6712 libsrcdir="$$s/fileutils";; \
6714 $(SHELL) $${libsrcdir}/configure \
6715 $(HOST_CONFIGARGS) $${srcdiroption} \
6719 .PHONY: all-fileutils maybe-all-fileutils
6720 maybe-all-fileutils:
6722 maybe-all-fileutils: all-fileutils
6723 all-fileutils: configure-fileutils
6724 @r=`${PWD_COMMAND}`; export r; \
6725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6727 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) all)
6730 .PHONY: check-fileutils maybe-check-fileutils
6731 maybe-check-fileutils:
6733 maybe-check-fileutils: check-fileutils
6736 @r=`${PWD_COMMAND}`; export r; \
6737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6739 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
6743 .PHONY: install-fileutils maybe-install-fileutils
6744 maybe-install-fileutils:
6746 maybe-install-fileutils: install-fileutils
6748 install-fileutils: installdirs
6749 @r=`${PWD_COMMAND}`; export r; \
6750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6752 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
6756 # Other targets (info, dvi, etc.)
6758 .PHONY: maybe-info-fileutils info-fileutils
6759 maybe-info-fileutils:
6761 maybe-info-fileutils: info-fileutils
6765 @[ -f ./fileutils/Makefile ] || exit 0; \
6766 r=`${PWD_COMMAND}`; export r; \
6767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6769 for flag in $(EXTRA_HOST_FLAGS); do \
6770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6772 echo "Doing info in fileutils" ; \
6774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6776 "RANLIB=$${RANLIB}" \
6777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6783 .PHONY: maybe-dvi-fileutils dvi-fileutils
6784 maybe-dvi-fileutils:
6786 maybe-dvi-fileutils: dvi-fileutils
6790 @[ -f ./fileutils/Makefile ] || exit 0; \
6791 r=`${PWD_COMMAND}`; export r; \
6792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6794 for flag in $(EXTRA_HOST_FLAGS); do \
6795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6797 echo "Doing dvi in fileutils" ; \
6799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6801 "RANLIB=$${RANLIB}" \
6802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6808 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
6809 maybe-TAGS-fileutils:
6811 maybe-TAGS-fileutils: TAGS-fileutils
6815 @[ -f ./fileutils/Makefile ] || exit 0; \
6816 r=`${PWD_COMMAND}`; export r; \
6817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6819 for flag in $(EXTRA_HOST_FLAGS); do \
6820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6822 echo "Doing TAGS in fileutils" ; \
6824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6826 "RANLIB=$${RANLIB}" \
6827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6833 .PHONY: maybe-install-info-fileutils install-info-fileutils
6834 maybe-install-info-fileutils:
6836 maybe-install-info-fileutils: install-info-fileutils
6838 install-info-fileutils: \
6839 configure-fileutils \
6841 @[ -f ./fileutils/Makefile ] || exit 0; \
6842 r=`${PWD_COMMAND}`; export r; \
6843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6845 for flag in $(EXTRA_HOST_FLAGS); do \
6846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6848 echo "Doing install-info in fileutils" ; \
6850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6852 "RANLIB=$${RANLIB}" \
6853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6859 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
6860 maybe-installcheck-fileutils:
6862 maybe-installcheck-fileutils: installcheck-fileutils
6864 installcheck-fileutils: \
6866 @[ -f ./fileutils/Makefile ] || exit 0; \
6867 r=`${PWD_COMMAND}`; export r; \
6868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6870 for flag in $(EXTRA_HOST_FLAGS); do \
6871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6873 echo "Doing installcheck in fileutils" ; \
6875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6877 "RANLIB=$${RANLIB}" \
6878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6884 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
6885 maybe-mostlyclean-fileutils:
6887 maybe-mostlyclean-fileutils: mostlyclean-fileutils
6889 mostlyclean-fileutils:
6890 @[ -f ./fileutils/Makefile ] || exit 0; \
6891 r=`${PWD_COMMAND}`; export r; \
6892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6894 for flag in $(EXTRA_HOST_FLAGS); do \
6895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6897 echo "Doing mostlyclean in fileutils" ; \
6899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6901 "RANLIB=$${RANLIB}" \
6902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6908 .PHONY: maybe-clean-fileutils clean-fileutils
6909 maybe-clean-fileutils:
6911 maybe-clean-fileutils: clean-fileutils
6914 @[ -f ./fileutils/Makefile ] || exit 0; \
6915 r=`${PWD_COMMAND}`; export r; \
6916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6918 for flag in $(EXTRA_HOST_FLAGS); do \
6919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6921 echo "Doing clean in fileutils" ; \
6923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6925 "RANLIB=$${RANLIB}" \
6926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6932 .PHONY: maybe-distclean-fileutils distclean-fileutils
6933 maybe-distclean-fileutils:
6935 maybe-distclean-fileutils: distclean-fileutils
6937 distclean-fileutils:
6938 @[ -f ./fileutils/Makefile ] || exit 0; \
6939 r=`${PWD_COMMAND}`; export r; \
6940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6942 for flag in $(EXTRA_HOST_FLAGS); do \
6943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6945 echo "Doing distclean in fileutils" ; \
6947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6949 "RANLIB=$${RANLIB}" \
6950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6956 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
6957 maybe-maintainer-clean-fileutils:
6959 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
6961 maintainer-clean-fileutils:
6962 @[ -f ./fileutils/Makefile ] || exit 0; \
6963 r=`${PWD_COMMAND}`; export r; \
6964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6966 for flag in $(EXTRA_HOST_FLAGS); do \
6967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6969 echo "Doing maintainer-clean in fileutils" ; \
6971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6973 "RANLIB=$${RANLIB}" \
6974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6981 .PHONY: configure-findutils maybe-configure-findutils
6982 maybe-configure-findutils:
6984 maybe-configure-findutils: configure-findutils
6985 configure-findutils:
6986 @test ! -f findutils/Makefile || exit 0; \
6987 [ -d findutils ] || mkdir findutils; \
6988 r=`${PWD_COMMAND}`; export r; \
6989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6990 CC="$(CC)"; export CC; \
6991 CFLAGS="$(CFLAGS)"; export CFLAGS; \
6992 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
6993 CXX="$(CXX)"; export CXX; \
6994 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
6995 AR="$(AR)"; export AR; \
6996 AS="$(AS)"; export AS; \
6997 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
6998 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
6999 LD="$(LD)"; export LD; \
7000 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
7001 NM="$(NM)"; export NM; \
7002 RANLIB="$(RANLIB)"; export RANLIB; \
7003 WINDRES="$(WINDRES)"; export WINDRES; \
7004 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
7005 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
7006 echo Configuring in findutils; \
7007 cd findutils || exit 1; \
7010 srcdiroption="--srcdir=."; \
7012 /* | [A-Za-z]:[\\/]*) \
7013 srcdiroption="--srcdir=$(srcdir)/findutils"; \
7014 libsrcdir="$$s/findutils";; \
7016 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
7017 libsrcdir="$$s/findutils";; \
7019 $(SHELL) $${libsrcdir}/configure \
7020 $(HOST_CONFIGARGS) $${srcdiroption} \
7024 .PHONY: all-findutils maybe-all-findutils
7025 maybe-all-findutils:
7027 maybe-all-findutils: all-findutils
7028 all-findutils: configure-findutils
7029 @r=`${PWD_COMMAND}`; export r; \
7030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7032 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) all)
7035 .PHONY: check-findutils maybe-check-findutils
7036 maybe-check-findutils:
7038 maybe-check-findutils: check-findutils
7041 @r=`${PWD_COMMAND}`; export r; \
7042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7044 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
7048 .PHONY: install-findutils maybe-install-findutils
7049 maybe-install-findutils:
7051 maybe-install-findutils: install-findutils
7053 install-findutils: installdirs
7054 @r=`${PWD_COMMAND}`; export r; \
7055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7057 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
7061 # Other targets (info, dvi, etc.)
7063 .PHONY: maybe-info-findutils info-findutils
7064 maybe-info-findutils:
7066 maybe-info-findutils: info-findutils
7070 @[ -f ./findutils/Makefile ] || exit 0; \
7071 r=`${PWD_COMMAND}`; export r; \
7072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7074 for flag in $(EXTRA_HOST_FLAGS); do \
7075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7077 echo "Doing info in findutils" ; \
7079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7081 "RANLIB=$${RANLIB}" \
7082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7088 .PHONY: maybe-dvi-findutils dvi-findutils
7089 maybe-dvi-findutils:
7091 maybe-dvi-findutils: dvi-findutils
7095 @[ -f ./findutils/Makefile ] || exit 0; \
7096 r=`${PWD_COMMAND}`; export r; \
7097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7099 for flag in $(EXTRA_HOST_FLAGS); do \
7100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7102 echo "Doing dvi in findutils" ; \
7104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7106 "RANLIB=$${RANLIB}" \
7107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7113 .PHONY: maybe-TAGS-findutils TAGS-findutils
7114 maybe-TAGS-findutils:
7116 maybe-TAGS-findutils: TAGS-findutils
7120 @[ -f ./findutils/Makefile ] || exit 0; \
7121 r=`${PWD_COMMAND}`; export r; \
7122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7124 for flag in $(EXTRA_HOST_FLAGS); do \
7125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7127 echo "Doing TAGS in findutils" ; \
7129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7131 "RANLIB=$${RANLIB}" \
7132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7138 .PHONY: maybe-install-info-findutils install-info-findutils
7139 maybe-install-info-findutils:
7141 maybe-install-info-findutils: install-info-findutils
7143 install-info-findutils: \
7144 configure-findutils \
7146 @[ -f ./findutils/Makefile ] || exit 0; \
7147 r=`${PWD_COMMAND}`; export r; \
7148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7150 for flag in $(EXTRA_HOST_FLAGS); do \
7151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7153 echo "Doing install-info in findutils" ; \
7155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7157 "RANLIB=$${RANLIB}" \
7158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7164 .PHONY: maybe-installcheck-findutils installcheck-findutils
7165 maybe-installcheck-findutils:
7167 maybe-installcheck-findutils: installcheck-findutils
7169 installcheck-findutils: \
7171 @[ -f ./findutils/Makefile ] || exit 0; \
7172 r=`${PWD_COMMAND}`; export r; \
7173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7175 for flag in $(EXTRA_HOST_FLAGS); do \
7176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7178 echo "Doing installcheck in findutils" ; \
7180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7182 "RANLIB=$${RANLIB}" \
7183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7189 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
7190 maybe-mostlyclean-findutils:
7192 maybe-mostlyclean-findutils: mostlyclean-findutils
7194 mostlyclean-findutils:
7195 @[ -f ./findutils/Makefile ] || exit 0; \
7196 r=`${PWD_COMMAND}`; export r; \
7197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7199 for flag in $(EXTRA_HOST_FLAGS); do \
7200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7202 echo "Doing mostlyclean in findutils" ; \
7204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7206 "RANLIB=$${RANLIB}" \
7207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7213 .PHONY: maybe-clean-findutils clean-findutils
7214 maybe-clean-findutils:
7216 maybe-clean-findutils: clean-findutils
7219 @[ -f ./findutils/Makefile ] || exit 0; \
7220 r=`${PWD_COMMAND}`; export r; \
7221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7223 for flag in $(EXTRA_HOST_FLAGS); do \
7224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7226 echo "Doing clean in findutils" ; \
7228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7230 "RANLIB=$${RANLIB}" \
7231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7237 .PHONY: maybe-distclean-findutils distclean-findutils
7238 maybe-distclean-findutils:
7240 maybe-distclean-findutils: distclean-findutils
7242 distclean-findutils:
7243 @[ -f ./findutils/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 distclean in findutils" ; \
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}" \
7261 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
7262 maybe-maintainer-clean-findutils:
7264 maybe-maintainer-clean-findutils: maintainer-clean-findutils
7266 maintainer-clean-findutils:
7267 @[ -f ./findutils/Makefile ] || exit 0; \
7268 r=`${PWD_COMMAND}`; export r; \
7269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7271 for flag in $(EXTRA_HOST_FLAGS); do \
7272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7274 echo "Doing maintainer-clean in findutils" ; \
7276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7278 "RANLIB=$${RANLIB}" \
7279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7286 .PHONY: configure-find maybe-configure-find
7287 maybe-configure-find:
7289 maybe-configure-find: configure-find
7291 @test ! -f find/Makefile || exit 0; \
7292 [ -d find ] || mkdir find; \
7293 r=`${PWD_COMMAND}`; export r; \
7294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7295 CC="$(CC)"; export CC; \
7296 CFLAGS="$(CFLAGS)"; export CFLAGS; \
7297 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
7298 CXX="$(CXX)"; export CXX; \
7299 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
7300 AR="$(AR)"; export AR; \
7301 AS="$(AS)"; export AS; \
7302 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
7303 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
7304 LD="$(LD)"; export LD; \
7305 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
7306 NM="$(NM)"; export NM; \
7307 RANLIB="$(RANLIB)"; export RANLIB; \
7308 WINDRES="$(WINDRES)"; export WINDRES; \
7309 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
7310 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
7311 echo Configuring in find; \
7312 cd find || exit 1; \
7315 srcdiroption="--srcdir=."; \
7317 /* | [A-Za-z]:[\\/]*) \
7318 srcdiroption="--srcdir=$(srcdir)/find"; \
7319 libsrcdir="$$s/find";; \
7321 srcdiroption="--srcdir=../$(srcdir)/find"; \
7322 libsrcdir="$$s/find";; \
7324 $(SHELL) $${libsrcdir}/configure \
7325 $(HOST_CONFIGARGS) $${srcdiroption} \
7329 .PHONY: all-find maybe-all-find
7332 maybe-all-find: all-find
7333 all-find: configure-find
7334 @r=`${PWD_COMMAND}`; export r; \
7335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7337 (cd find && $(MAKE) $(FLAGS_TO_PASS) all)
7340 .PHONY: check-find maybe-check-find
7343 maybe-check-find: check-find
7346 @r=`${PWD_COMMAND}`; export r; \
7347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7349 (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
7353 .PHONY: install-find maybe-install-find
7356 maybe-install-find: install-find
7358 install-find: installdirs
7359 @r=`${PWD_COMMAND}`; export r; \
7360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7362 (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
7366 # Other targets (info, dvi, etc.)
7368 .PHONY: maybe-info-find info-find
7371 maybe-info-find: info-find
7375 @[ -f ./find/Makefile ] || exit 0; \
7376 r=`${PWD_COMMAND}`; export r; \
7377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7379 for flag in $(EXTRA_HOST_FLAGS); do \
7380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7382 echo "Doing info in find" ; \
7384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7386 "RANLIB=$${RANLIB}" \
7387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7393 .PHONY: maybe-dvi-find dvi-find
7396 maybe-dvi-find: dvi-find
7400 @[ -f ./find/Makefile ] || exit 0; \
7401 r=`${PWD_COMMAND}`; export r; \
7402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7404 for flag in $(EXTRA_HOST_FLAGS); do \
7405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7407 echo "Doing dvi in find" ; \
7409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7411 "RANLIB=$${RANLIB}" \
7412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7418 .PHONY: maybe-TAGS-find TAGS-find
7421 maybe-TAGS-find: TAGS-find
7425 @[ -f ./find/Makefile ] || exit 0; \
7426 r=`${PWD_COMMAND}`; export r; \
7427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7429 for flag in $(EXTRA_HOST_FLAGS); do \
7430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7432 echo "Doing TAGS in find" ; \
7434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7436 "RANLIB=$${RANLIB}" \
7437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7443 .PHONY: maybe-install-info-find install-info-find
7444 maybe-install-info-find:
7446 maybe-install-info-find: install-info-find
7448 install-info-find: \
7451 @[ -f ./find/Makefile ] || exit 0; \
7452 r=`${PWD_COMMAND}`; export r; \
7453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7455 for flag in $(EXTRA_HOST_FLAGS); do \
7456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7458 echo "Doing install-info in find" ; \
7460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7462 "RANLIB=$${RANLIB}" \
7463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7469 .PHONY: maybe-installcheck-find installcheck-find
7470 maybe-installcheck-find:
7472 maybe-installcheck-find: installcheck-find
7474 installcheck-find: \
7476 @[ -f ./find/Makefile ] || exit 0; \
7477 r=`${PWD_COMMAND}`; export r; \
7478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7480 for flag in $(EXTRA_HOST_FLAGS); do \
7481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7483 echo "Doing installcheck in find" ; \
7485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7487 "RANLIB=$${RANLIB}" \
7488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7494 .PHONY: maybe-mostlyclean-find mostlyclean-find
7495 maybe-mostlyclean-find:
7497 maybe-mostlyclean-find: mostlyclean-find
7500 @[ -f ./find/Makefile ] || exit 0; \
7501 r=`${PWD_COMMAND}`; export r; \
7502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7504 for flag in $(EXTRA_HOST_FLAGS); do \
7505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7507 echo "Doing mostlyclean in find" ; \
7509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7511 "RANLIB=$${RANLIB}" \
7512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7518 .PHONY: maybe-clean-find clean-find
7521 maybe-clean-find: clean-find
7524 @[ -f ./find/Makefile ] || exit 0; \
7525 r=`${PWD_COMMAND}`; export r; \
7526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7528 for flag in $(EXTRA_HOST_FLAGS); do \
7529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7531 echo "Doing clean in find" ; \
7533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7535 "RANLIB=$${RANLIB}" \
7536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7542 .PHONY: maybe-distclean-find distclean-find
7543 maybe-distclean-find:
7545 maybe-distclean-find: distclean-find
7548 @[ -f ./find/Makefile ] || exit 0; \
7549 r=`${PWD_COMMAND}`; export r; \
7550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7552 for flag in $(EXTRA_HOST_FLAGS); do \
7553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7555 echo "Doing distclean in find" ; \
7557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7559 "RANLIB=$${RANLIB}" \
7560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7566 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
7567 maybe-maintainer-clean-find:
7569 maybe-maintainer-clean-find: maintainer-clean-find
7571 maintainer-clean-find:
7572 @[ -f ./find/Makefile ] || exit 0; \
7573 r=`${PWD_COMMAND}`; export r; \
7574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7576 for flag in $(EXTRA_HOST_FLAGS); do \
7577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7579 echo "Doing maintainer-clean in find" ; \
7581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7583 "RANLIB=$${RANLIB}" \
7584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7591 .PHONY: configure-flex maybe-configure-flex
7592 maybe-configure-flex:
7594 maybe-configure-flex: configure-flex
7596 @test ! -f flex/Makefile || exit 0; \
7597 [ -d flex ] || mkdir flex; \
7598 r=`${PWD_COMMAND}`; export r; \
7599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7600 CC="$(CC)"; export CC; \
7601 CFLAGS="$(CFLAGS)"; export CFLAGS; \
7602 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
7603 CXX="$(CXX)"; export CXX; \
7604 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
7605 AR="$(AR)"; export AR; \
7606 AS="$(AS)"; export AS; \
7607 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
7608 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
7609 LD="$(LD)"; export LD; \
7610 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
7611 NM="$(NM)"; export NM; \
7612 RANLIB="$(RANLIB)"; export RANLIB; \
7613 WINDRES="$(WINDRES)"; export WINDRES; \
7614 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
7615 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
7616 echo Configuring in flex; \
7617 cd flex || exit 1; \
7620 srcdiroption="--srcdir=."; \
7622 /* | [A-Za-z]:[\\/]*) \
7623 srcdiroption="--srcdir=$(srcdir)/flex"; \
7624 libsrcdir="$$s/flex";; \
7626 srcdiroption="--srcdir=../$(srcdir)/flex"; \
7627 libsrcdir="$$s/flex";; \
7629 $(SHELL) $${libsrcdir}/configure \
7630 $(HOST_CONFIGARGS) $${srcdiroption} \
7634 .PHONY: all-flex maybe-all-flex
7637 maybe-all-flex: all-flex
7638 all-flex: configure-flex
7639 @r=`${PWD_COMMAND}`; export r; \
7640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7642 (cd flex && $(MAKE) $(FLAGS_TO_PASS) all)
7645 .PHONY: check-flex maybe-check-flex
7648 maybe-check-flex: check-flex
7650 # This module is only tested in a native toolchain.
7652 @if [ '$(host)' = '$(target)' ] ; then \
7653 r=`${PWD_COMMAND}`; export r; \
7654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7656 (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \
7661 .PHONY: install-flex maybe-install-flex
7664 maybe-install-flex: install-flex
7666 install-flex: installdirs
7667 @r=`${PWD_COMMAND}`; export r; \
7668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7670 (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
7674 # Other targets (info, dvi, etc.)
7676 .PHONY: maybe-info-flex info-flex
7679 maybe-info-flex: info-flex
7683 @[ -f ./flex/Makefile ] || exit 0; \
7684 r=`${PWD_COMMAND}`; export r; \
7685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7687 for flag in $(EXTRA_HOST_FLAGS); do \
7688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7690 echo "Doing info in flex" ; \
7692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7694 "RANLIB=$${RANLIB}" \
7695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7701 .PHONY: maybe-dvi-flex dvi-flex
7704 maybe-dvi-flex: dvi-flex
7708 @[ -f ./flex/Makefile ] || exit 0; \
7709 r=`${PWD_COMMAND}`; export r; \
7710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7712 for flag in $(EXTRA_HOST_FLAGS); do \
7713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7715 echo "Doing dvi in flex" ; \
7717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7719 "RANLIB=$${RANLIB}" \
7720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7726 .PHONY: maybe-TAGS-flex TAGS-flex
7729 maybe-TAGS-flex: TAGS-flex
7733 @[ -f ./flex/Makefile ] || exit 0; \
7734 r=`${PWD_COMMAND}`; export r; \
7735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7737 for flag in $(EXTRA_HOST_FLAGS); do \
7738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7740 echo "Doing TAGS in flex" ; \
7742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7744 "RANLIB=$${RANLIB}" \
7745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7751 .PHONY: maybe-install-info-flex install-info-flex
7752 maybe-install-info-flex:
7754 maybe-install-info-flex: install-info-flex
7756 install-info-flex: \
7759 @[ -f ./flex/Makefile ] || exit 0; \
7760 r=`${PWD_COMMAND}`; export r; \
7761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7763 for flag in $(EXTRA_HOST_FLAGS); do \
7764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7766 echo "Doing install-info in flex" ; \
7768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7770 "RANLIB=$${RANLIB}" \
7771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7777 .PHONY: maybe-installcheck-flex installcheck-flex
7778 maybe-installcheck-flex:
7780 maybe-installcheck-flex: installcheck-flex
7782 installcheck-flex: \
7784 @[ -f ./flex/Makefile ] || exit 0; \
7785 r=`${PWD_COMMAND}`; export r; \
7786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7788 for flag in $(EXTRA_HOST_FLAGS); do \
7789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7791 echo "Doing installcheck in flex" ; \
7793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7795 "RANLIB=$${RANLIB}" \
7796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7802 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
7803 maybe-mostlyclean-flex:
7805 maybe-mostlyclean-flex: mostlyclean-flex
7808 @[ -f ./flex/Makefile ] || exit 0; \
7809 r=`${PWD_COMMAND}`; export r; \
7810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7812 for flag in $(EXTRA_HOST_FLAGS); do \
7813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7815 echo "Doing mostlyclean in flex" ; \
7817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7819 "RANLIB=$${RANLIB}" \
7820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7826 .PHONY: maybe-clean-flex clean-flex
7829 maybe-clean-flex: clean-flex
7832 @[ -f ./flex/Makefile ] || exit 0; \
7833 r=`${PWD_COMMAND}`; export r; \
7834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7836 for flag in $(EXTRA_HOST_FLAGS); do \
7837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7839 echo "Doing clean in flex" ; \
7841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7843 "RANLIB=$${RANLIB}" \
7844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7850 .PHONY: maybe-distclean-flex distclean-flex
7851 maybe-distclean-flex:
7853 maybe-distclean-flex: distclean-flex
7856 @[ -f ./flex/Makefile ] || exit 0; \
7857 r=`${PWD_COMMAND}`; export r; \
7858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7860 for flag in $(EXTRA_HOST_FLAGS); do \
7861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7863 echo "Doing distclean in flex" ; \
7865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7867 "RANLIB=$${RANLIB}" \
7868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7874 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
7875 maybe-maintainer-clean-flex:
7877 maybe-maintainer-clean-flex: maintainer-clean-flex
7879 maintainer-clean-flex:
7880 @[ -f ./flex/Makefile ] || exit 0; \
7881 r=`${PWD_COMMAND}`; export r; \
7882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7884 for flag in $(EXTRA_HOST_FLAGS); do \
7885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7887 echo "Doing maintainer-clean in flex" ; \
7889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7891 "RANLIB=$${RANLIB}" \
7892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7899 .PHONY: configure-gas maybe-configure-gas
7900 maybe-configure-gas:
7902 maybe-configure-gas: configure-gas
7904 @test ! -f gas/Makefile || exit 0; \
7905 [ -d gas ] || mkdir gas; \
7906 r=`${PWD_COMMAND}`; export r; \
7907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7908 CC="$(CC)"; export CC; \
7909 CFLAGS="$(CFLAGS)"; export CFLAGS; \
7910 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
7911 CXX="$(CXX)"; export CXX; \
7912 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
7913 AR="$(AR)"; export AR; \
7914 AS="$(AS)"; export AS; \
7915 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
7916 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
7917 LD="$(LD)"; export LD; \
7918 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
7919 NM="$(NM)"; export NM; \
7920 RANLIB="$(RANLIB)"; export RANLIB; \
7921 WINDRES="$(WINDRES)"; export WINDRES; \
7922 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
7923 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
7924 echo Configuring in gas; \
7928 srcdiroption="--srcdir=."; \
7930 /* | [A-Za-z]:[\\/]*) \
7931 srcdiroption="--srcdir=$(srcdir)/gas"; \
7932 libsrcdir="$$s/gas";; \
7934 srcdiroption="--srcdir=../$(srcdir)/gas"; \
7935 libsrcdir="$$s/gas";; \
7937 $(SHELL) $${libsrcdir}/configure \
7938 $(HOST_CONFIGARGS) $${srcdiroption} \
7942 .PHONY: all-gas maybe-all-gas
7945 maybe-all-gas: all-gas
7946 all-gas: configure-gas
7947 @r=`${PWD_COMMAND}`; export r; \
7948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7950 (cd gas && $(MAKE) $(FLAGS_TO_PASS) all)
7953 .PHONY: check-gas maybe-check-gas
7956 maybe-check-gas: check-gas
7959 @r=`${PWD_COMMAND}`; export r; \
7960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7962 (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
7966 .PHONY: install-gas maybe-install-gas
7969 maybe-install-gas: install-gas
7971 install-gas: installdirs
7972 @r=`${PWD_COMMAND}`; export r; \
7973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7975 (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
7979 # Other targets (info, dvi, etc.)
7981 .PHONY: maybe-info-gas info-gas
7984 maybe-info-gas: info-gas
7988 @[ -f ./gas/Makefile ] || exit 0; \
7989 r=`${PWD_COMMAND}`; export r; \
7990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7992 for flag in $(EXTRA_HOST_FLAGS); do \
7993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7995 echo "Doing info in gas" ; \
7997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7999 "RANLIB=$${RANLIB}" \
8000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8006 .PHONY: maybe-dvi-gas dvi-gas
8009 maybe-dvi-gas: dvi-gas
8013 @[ -f ./gas/Makefile ] || exit 0; \
8014 r=`${PWD_COMMAND}`; export r; \
8015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8017 for flag in $(EXTRA_HOST_FLAGS); do \
8018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8020 echo "Doing dvi in gas" ; \
8022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8024 "RANLIB=$${RANLIB}" \
8025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8031 .PHONY: maybe-TAGS-gas TAGS-gas
8034 maybe-TAGS-gas: TAGS-gas
8038 @[ -f ./gas/Makefile ] || exit 0; \
8039 r=`${PWD_COMMAND}`; export r; \
8040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8042 for flag in $(EXTRA_HOST_FLAGS); do \
8043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8045 echo "Doing TAGS in gas" ; \
8047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8049 "RANLIB=$${RANLIB}" \
8050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8056 .PHONY: maybe-install-info-gas install-info-gas
8057 maybe-install-info-gas:
8059 maybe-install-info-gas: install-info-gas
8064 @[ -f ./gas/Makefile ] || exit 0; \
8065 r=`${PWD_COMMAND}`; export r; \
8066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8068 for flag in $(EXTRA_HOST_FLAGS); do \
8069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8071 echo "Doing install-info in gas" ; \
8073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8075 "RANLIB=$${RANLIB}" \
8076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8082 .PHONY: maybe-installcheck-gas installcheck-gas
8083 maybe-installcheck-gas:
8085 maybe-installcheck-gas: installcheck-gas
8089 @[ -f ./gas/Makefile ] || exit 0; \
8090 r=`${PWD_COMMAND}`; export r; \
8091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8093 for flag in $(EXTRA_HOST_FLAGS); do \
8094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8096 echo "Doing installcheck in gas" ; \
8098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8100 "RANLIB=$${RANLIB}" \
8101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8107 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
8108 maybe-mostlyclean-gas:
8110 maybe-mostlyclean-gas: mostlyclean-gas
8113 @[ -f ./gas/Makefile ] || exit 0; \
8114 r=`${PWD_COMMAND}`; export r; \
8115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8117 for flag in $(EXTRA_HOST_FLAGS); do \
8118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8120 echo "Doing mostlyclean in gas" ; \
8122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8124 "RANLIB=$${RANLIB}" \
8125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8131 .PHONY: maybe-clean-gas clean-gas
8134 maybe-clean-gas: clean-gas
8137 @[ -f ./gas/Makefile ] || exit 0; \
8138 r=`${PWD_COMMAND}`; export r; \
8139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8141 for flag in $(EXTRA_HOST_FLAGS); do \
8142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8144 echo "Doing clean in gas" ; \
8146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8148 "RANLIB=$${RANLIB}" \
8149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8155 .PHONY: maybe-distclean-gas distclean-gas
8156 maybe-distclean-gas:
8158 maybe-distclean-gas: distclean-gas
8161 @[ -f ./gas/Makefile ] || exit 0; \
8162 r=`${PWD_COMMAND}`; export r; \
8163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8165 for flag in $(EXTRA_HOST_FLAGS); do \
8166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8168 echo "Doing distclean in gas" ; \
8170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8172 "RANLIB=$${RANLIB}" \
8173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8179 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
8180 maybe-maintainer-clean-gas:
8182 maybe-maintainer-clean-gas: maintainer-clean-gas
8184 maintainer-clean-gas:
8185 @[ -f ./gas/Makefile ] || exit 0; \
8186 r=`${PWD_COMMAND}`; export r; \
8187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8189 for flag in $(EXTRA_HOST_FLAGS); do \
8190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8192 echo "Doing maintainer-clean in gas" ; \
8194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8196 "RANLIB=$${RANLIB}" \
8197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8204 .PHONY: configure-gawk maybe-configure-gawk
8205 maybe-configure-gawk:
8207 maybe-configure-gawk: configure-gawk
8209 @test ! -f gawk/Makefile || exit 0; \
8210 [ -d gawk ] || mkdir gawk; \
8211 r=`${PWD_COMMAND}`; export r; \
8212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8213 CC="$(CC)"; export CC; \
8214 CFLAGS="$(CFLAGS)"; export CFLAGS; \
8215 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
8216 CXX="$(CXX)"; export CXX; \
8217 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
8218 AR="$(AR)"; export AR; \
8219 AS="$(AS)"; export AS; \
8220 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
8221 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
8222 LD="$(LD)"; export LD; \
8223 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
8224 NM="$(NM)"; export NM; \
8225 RANLIB="$(RANLIB)"; export RANLIB; \
8226 WINDRES="$(WINDRES)"; export WINDRES; \
8227 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
8228 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
8229 echo Configuring in gawk; \
8230 cd gawk || exit 1; \
8233 srcdiroption="--srcdir=."; \
8235 /* | [A-Za-z]:[\\/]*) \
8236 srcdiroption="--srcdir=$(srcdir)/gawk"; \
8237 libsrcdir="$$s/gawk";; \
8239 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
8240 libsrcdir="$$s/gawk";; \
8242 $(SHELL) $${libsrcdir}/configure \
8243 $(HOST_CONFIGARGS) $${srcdiroption} \
8247 .PHONY: all-gawk maybe-all-gawk
8250 maybe-all-gawk: all-gawk
8251 all-gawk: configure-gawk
8252 @r=`${PWD_COMMAND}`; export r; \
8253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8255 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) all)
8258 .PHONY: check-gawk maybe-check-gawk
8261 maybe-check-gawk: check-gawk
8264 @r=`${PWD_COMMAND}`; export r; \
8265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8267 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
8271 .PHONY: install-gawk maybe-install-gawk
8274 maybe-install-gawk: install-gawk
8276 install-gawk: installdirs
8277 @r=`${PWD_COMMAND}`; export r; \
8278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8280 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
8284 # Other targets (info, dvi, etc.)
8286 .PHONY: maybe-info-gawk info-gawk
8289 maybe-info-gawk: info-gawk
8293 @[ -f ./gawk/Makefile ] || exit 0; \
8294 r=`${PWD_COMMAND}`; export r; \
8295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8297 for flag in $(EXTRA_HOST_FLAGS); do \
8298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8300 echo "Doing info in gawk" ; \
8302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8304 "RANLIB=$${RANLIB}" \
8305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8311 .PHONY: maybe-dvi-gawk dvi-gawk
8314 maybe-dvi-gawk: dvi-gawk
8318 @[ -f ./gawk/Makefile ] || exit 0; \
8319 r=`${PWD_COMMAND}`; export r; \
8320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8322 for flag in $(EXTRA_HOST_FLAGS); do \
8323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8325 echo "Doing dvi in gawk" ; \
8327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8329 "RANLIB=$${RANLIB}" \
8330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8336 .PHONY: maybe-TAGS-gawk TAGS-gawk
8339 maybe-TAGS-gawk: TAGS-gawk
8343 @[ -f ./gawk/Makefile ] || exit 0; \
8344 r=`${PWD_COMMAND}`; export r; \
8345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8347 for flag in $(EXTRA_HOST_FLAGS); do \
8348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8350 echo "Doing TAGS in gawk" ; \
8352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8354 "RANLIB=$${RANLIB}" \
8355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8361 .PHONY: maybe-install-info-gawk install-info-gawk
8362 maybe-install-info-gawk:
8364 maybe-install-info-gawk: install-info-gawk
8366 install-info-gawk: \
8369 @[ -f ./gawk/Makefile ] || exit 0; \
8370 r=`${PWD_COMMAND}`; export r; \
8371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8373 for flag in $(EXTRA_HOST_FLAGS); do \
8374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8376 echo "Doing install-info in gawk" ; \
8378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8380 "RANLIB=$${RANLIB}" \
8381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8387 .PHONY: maybe-installcheck-gawk installcheck-gawk
8388 maybe-installcheck-gawk:
8390 maybe-installcheck-gawk: installcheck-gawk
8392 installcheck-gawk: \
8394 @[ -f ./gawk/Makefile ] || exit 0; \
8395 r=`${PWD_COMMAND}`; export r; \
8396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8398 for flag in $(EXTRA_HOST_FLAGS); do \
8399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8401 echo "Doing installcheck in gawk" ; \
8403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8405 "RANLIB=$${RANLIB}" \
8406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8412 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
8413 maybe-mostlyclean-gawk:
8415 maybe-mostlyclean-gawk: mostlyclean-gawk
8418 @[ -f ./gawk/Makefile ] || exit 0; \
8419 r=`${PWD_COMMAND}`; export r; \
8420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8422 for flag in $(EXTRA_HOST_FLAGS); do \
8423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8425 echo "Doing mostlyclean in gawk" ; \
8427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8429 "RANLIB=$${RANLIB}" \
8430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8436 .PHONY: maybe-clean-gawk clean-gawk
8439 maybe-clean-gawk: clean-gawk
8442 @[ -f ./gawk/Makefile ] || exit 0; \
8443 r=`${PWD_COMMAND}`; export r; \
8444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8446 for flag in $(EXTRA_HOST_FLAGS); do \
8447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8449 echo "Doing clean in gawk" ; \
8451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8453 "RANLIB=$${RANLIB}" \
8454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8460 .PHONY: maybe-distclean-gawk distclean-gawk
8461 maybe-distclean-gawk:
8463 maybe-distclean-gawk: distclean-gawk
8466 @[ -f ./gawk/Makefile ] || exit 0; \
8467 r=`${PWD_COMMAND}`; export r; \
8468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8470 for flag in $(EXTRA_HOST_FLAGS); do \
8471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8473 echo "Doing distclean in gawk" ; \
8475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8477 "RANLIB=$${RANLIB}" \
8478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8484 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
8485 maybe-maintainer-clean-gawk:
8487 maybe-maintainer-clean-gawk: maintainer-clean-gawk
8489 maintainer-clean-gawk:
8490 @[ -f ./gawk/Makefile ] || exit 0; \
8491 r=`${PWD_COMMAND}`; export r; \
8492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8494 for flag in $(EXTRA_HOST_FLAGS); do \
8495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8497 echo "Doing maintainer-clean in gawk" ; \
8499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8501 "RANLIB=$${RANLIB}" \
8502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8509 .PHONY: configure-gettext maybe-configure-gettext
8510 maybe-configure-gettext:
8512 maybe-configure-gettext: configure-gettext
8514 @test ! -f gettext/Makefile || exit 0; \
8515 [ -d gettext ] || mkdir gettext; \
8516 r=`${PWD_COMMAND}`; export r; \
8517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8518 CC="$(CC)"; export CC; \
8519 CFLAGS="$(CFLAGS)"; export CFLAGS; \
8520 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
8521 CXX="$(CXX)"; export CXX; \
8522 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
8523 AR="$(AR)"; export AR; \
8524 AS="$(AS)"; export AS; \
8525 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
8526 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
8527 LD="$(LD)"; export LD; \
8528 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
8529 NM="$(NM)"; export NM; \
8530 RANLIB="$(RANLIB)"; export RANLIB; \
8531 WINDRES="$(WINDRES)"; export WINDRES; \
8532 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
8533 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
8534 echo Configuring in gettext; \
8535 cd gettext || exit 1; \
8538 srcdiroption="--srcdir=."; \
8540 /* | [A-Za-z]:[\\/]*) \
8541 srcdiroption="--srcdir=$(srcdir)/gettext"; \
8542 libsrcdir="$$s/gettext";; \
8544 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
8545 libsrcdir="$$s/gettext";; \
8547 $(SHELL) $${libsrcdir}/configure \
8548 $(HOST_CONFIGARGS) $${srcdiroption} \
8552 .PHONY: all-gettext maybe-all-gettext
8555 maybe-all-gettext: all-gettext
8556 all-gettext: configure-gettext
8557 @r=`${PWD_COMMAND}`; export r; \
8558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8560 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) all)
8563 .PHONY: check-gettext maybe-check-gettext
8564 maybe-check-gettext:
8566 maybe-check-gettext: check-gettext
8569 @r=`${PWD_COMMAND}`; export r; \
8570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8572 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
8576 .PHONY: install-gettext maybe-install-gettext
8577 maybe-install-gettext:
8579 maybe-install-gettext: install-gettext
8581 install-gettext: installdirs
8582 @r=`${PWD_COMMAND}`; export r; \
8583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8585 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
8589 # Other targets (info, dvi, etc.)
8591 .PHONY: maybe-info-gettext info-gettext
8594 maybe-info-gettext: info-gettext
8598 @[ -f ./gettext/Makefile ] || exit 0; \
8599 r=`${PWD_COMMAND}`; export r; \
8600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8602 for flag in $(EXTRA_HOST_FLAGS); do \
8603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8605 echo "Doing info in gettext" ; \
8607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8609 "RANLIB=$${RANLIB}" \
8610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8616 .PHONY: maybe-dvi-gettext dvi-gettext
8619 maybe-dvi-gettext: dvi-gettext
8623 @[ -f ./gettext/Makefile ] || exit 0; \
8624 r=`${PWD_COMMAND}`; export r; \
8625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8627 for flag in $(EXTRA_HOST_FLAGS); do \
8628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8630 echo "Doing dvi in gettext" ; \
8632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8634 "RANLIB=$${RANLIB}" \
8635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8641 .PHONY: maybe-TAGS-gettext TAGS-gettext
8644 maybe-TAGS-gettext: TAGS-gettext
8648 @[ -f ./gettext/Makefile ] || exit 0; \
8649 r=`${PWD_COMMAND}`; export r; \
8650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8652 for flag in $(EXTRA_HOST_FLAGS); do \
8653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8655 echo "Doing TAGS in gettext" ; \
8657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8659 "RANLIB=$${RANLIB}" \
8660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8666 .PHONY: maybe-install-info-gettext install-info-gettext
8667 maybe-install-info-gettext:
8669 maybe-install-info-gettext: install-info-gettext
8671 install-info-gettext: \
8674 @[ -f ./gettext/Makefile ] || exit 0; \
8675 r=`${PWD_COMMAND}`; export r; \
8676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8678 for flag in $(EXTRA_HOST_FLAGS); do \
8679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8681 echo "Doing install-info in gettext" ; \
8683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8685 "RANLIB=$${RANLIB}" \
8686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8692 .PHONY: maybe-installcheck-gettext installcheck-gettext
8693 maybe-installcheck-gettext:
8695 maybe-installcheck-gettext: installcheck-gettext
8697 installcheck-gettext: \
8699 @[ -f ./gettext/Makefile ] || exit 0; \
8700 r=`${PWD_COMMAND}`; export r; \
8701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8703 for flag in $(EXTRA_HOST_FLAGS); do \
8704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8706 echo "Doing installcheck in gettext" ; \
8708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8710 "RANLIB=$${RANLIB}" \
8711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8717 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
8718 maybe-mostlyclean-gettext:
8720 maybe-mostlyclean-gettext: mostlyclean-gettext
8722 mostlyclean-gettext:
8723 @[ -f ./gettext/Makefile ] || exit 0; \
8724 r=`${PWD_COMMAND}`; export r; \
8725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8727 for flag in $(EXTRA_HOST_FLAGS); do \
8728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8730 echo "Doing mostlyclean in gettext" ; \
8732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8734 "RANLIB=$${RANLIB}" \
8735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8741 .PHONY: maybe-clean-gettext clean-gettext
8742 maybe-clean-gettext:
8744 maybe-clean-gettext: clean-gettext
8747 @[ -f ./gettext/Makefile ] || exit 0; \
8748 r=`${PWD_COMMAND}`; export r; \
8749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8751 for flag in $(EXTRA_HOST_FLAGS); do \
8752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8754 echo "Doing clean in gettext" ; \
8756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8758 "RANLIB=$${RANLIB}" \
8759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8765 .PHONY: maybe-distclean-gettext distclean-gettext
8766 maybe-distclean-gettext:
8768 maybe-distclean-gettext: distclean-gettext
8771 @[ -f ./gettext/Makefile ] || exit 0; \
8772 r=`${PWD_COMMAND}`; export r; \
8773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8775 for flag in $(EXTRA_HOST_FLAGS); do \
8776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8778 echo "Doing distclean in gettext" ; \
8780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8782 "RANLIB=$${RANLIB}" \
8783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8789 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
8790 maybe-maintainer-clean-gettext:
8792 maybe-maintainer-clean-gettext: maintainer-clean-gettext
8794 maintainer-clean-gettext:
8795 @[ -f ./gettext/Makefile ] || exit 0; \
8796 r=`${PWD_COMMAND}`; export r; \
8797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8799 for flag in $(EXTRA_HOST_FLAGS); do \
8800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8802 echo "Doing maintainer-clean in gettext" ; \
8804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8806 "RANLIB=$${RANLIB}" \
8807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8814 .PHONY: configure-gnuserv maybe-configure-gnuserv
8815 maybe-configure-gnuserv:
8817 maybe-configure-gnuserv: configure-gnuserv
8819 @test ! -f gnuserv/Makefile || exit 0; \
8820 [ -d gnuserv ] || mkdir gnuserv; \
8821 r=`${PWD_COMMAND}`; export r; \
8822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8823 CC="$(CC)"; export CC; \
8824 CFLAGS="$(CFLAGS)"; export CFLAGS; \
8825 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
8826 CXX="$(CXX)"; export CXX; \
8827 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
8828 AR="$(AR)"; export AR; \
8829 AS="$(AS)"; export AS; \
8830 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
8831 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
8832 LD="$(LD)"; export LD; \
8833 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
8834 NM="$(NM)"; export NM; \
8835 RANLIB="$(RANLIB)"; export RANLIB; \
8836 WINDRES="$(WINDRES)"; export WINDRES; \
8837 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
8838 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
8839 echo Configuring in gnuserv; \
8840 cd gnuserv || exit 1; \
8843 srcdiroption="--srcdir=."; \
8845 /* | [A-Za-z]:[\\/]*) \
8846 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
8847 libsrcdir="$$s/gnuserv";; \
8849 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
8850 libsrcdir="$$s/gnuserv";; \
8852 $(SHELL) $${libsrcdir}/configure \
8853 $(HOST_CONFIGARGS) $${srcdiroption} \
8857 .PHONY: all-gnuserv maybe-all-gnuserv
8860 maybe-all-gnuserv: all-gnuserv
8861 all-gnuserv: configure-gnuserv
8862 @r=`${PWD_COMMAND}`; export r; \
8863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8865 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) all)
8868 .PHONY: check-gnuserv maybe-check-gnuserv
8869 maybe-check-gnuserv:
8871 maybe-check-gnuserv: check-gnuserv
8874 @r=`${PWD_COMMAND}`; export r; \
8875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8877 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
8881 .PHONY: install-gnuserv maybe-install-gnuserv
8882 maybe-install-gnuserv:
8884 maybe-install-gnuserv: install-gnuserv
8886 install-gnuserv: installdirs
8887 @r=`${PWD_COMMAND}`; export r; \
8888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8890 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
8894 # Other targets (info, dvi, etc.)
8896 .PHONY: maybe-info-gnuserv info-gnuserv
8899 maybe-info-gnuserv: info-gnuserv
8903 @[ -f ./gnuserv/Makefile ] || exit 0; \
8904 r=`${PWD_COMMAND}`; export r; \
8905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8907 for flag in $(EXTRA_HOST_FLAGS); do \
8908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8910 echo "Doing info in gnuserv" ; \
8912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8914 "RANLIB=$${RANLIB}" \
8915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8921 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
8924 maybe-dvi-gnuserv: dvi-gnuserv
8928 @[ -f ./gnuserv/Makefile ] || exit 0; \
8929 r=`${PWD_COMMAND}`; export r; \
8930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8932 for flag in $(EXTRA_HOST_FLAGS); do \
8933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8935 echo "Doing dvi in gnuserv" ; \
8937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8939 "RANLIB=$${RANLIB}" \
8940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8946 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
8949 maybe-TAGS-gnuserv: TAGS-gnuserv
8953 @[ -f ./gnuserv/Makefile ] || exit 0; \
8954 r=`${PWD_COMMAND}`; export r; \
8955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8957 for flag in $(EXTRA_HOST_FLAGS); do \
8958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8960 echo "Doing TAGS in gnuserv" ; \
8962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8964 "RANLIB=$${RANLIB}" \
8965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8971 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
8972 maybe-install-info-gnuserv:
8974 maybe-install-info-gnuserv: install-info-gnuserv
8976 install-info-gnuserv: \
8979 @[ -f ./gnuserv/Makefile ] || exit 0; \
8980 r=`${PWD_COMMAND}`; export r; \
8981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8983 for flag in $(EXTRA_HOST_FLAGS); do \
8984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8986 echo "Doing install-info in gnuserv" ; \
8988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8990 "RANLIB=$${RANLIB}" \
8991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8997 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
8998 maybe-installcheck-gnuserv:
9000 maybe-installcheck-gnuserv: installcheck-gnuserv
9002 installcheck-gnuserv: \
9004 @[ -f ./gnuserv/Makefile ] || exit 0; \
9005 r=`${PWD_COMMAND}`; export r; \
9006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9008 for flag in $(EXTRA_HOST_FLAGS); do \
9009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9011 echo "Doing installcheck in gnuserv" ; \
9013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9015 "RANLIB=$${RANLIB}" \
9016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9022 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
9023 maybe-mostlyclean-gnuserv:
9025 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
9027 mostlyclean-gnuserv:
9028 @[ -f ./gnuserv/Makefile ] || exit 0; \
9029 r=`${PWD_COMMAND}`; export r; \
9030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9032 for flag in $(EXTRA_HOST_FLAGS); do \
9033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9035 echo "Doing mostlyclean in gnuserv" ; \
9037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9039 "RANLIB=$${RANLIB}" \
9040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9046 .PHONY: maybe-clean-gnuserv clean-gnuserv
9047 maybe-clean-gnuserv:
9049 maybe-clean-gnuserv: clean-gnuserv
9052 @[ -f ./gnuserv/Makefile ] || exit 0; \
9053 r=`${PWD_COMMAND}`; export r; \
9054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9056 for flag in $(EXTRA_HOST_FLAGS); do \
9057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9059 echo "Doing clean in gnuserv" ; \
9061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9063 "RANLIB=$${RANLIB}" \
9064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9070 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
9071 maybe-distclean-gnuserv:
9073 maybe-distclean-gnuserv: distclean-gnuserv
9076 @[ -f ./gnuserv/Makefile ] || exit 0; \
9077 r=`${PWD_COMMAND}`; export r; \
9078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9080 for flag in $(EXTRA_HOST_FLAGS); do \
9081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9083 echo "Doing distclean in gnuserv" ; \
9085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9087 "RANLIB=$${RANLIB}" \
9088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9094 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
9095 maybe-maintainer-clean-gnuserv:
9097 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
9099 maintainer-clean-gnuserv:
9100 @[ -f ./gnuserv/Makefile ] || exit 0; \
9101 r=`${PWD_COMMAND}`; export r; \
9102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9104 for flag in $(EXTRA_HOST_FLAGS); do \
9105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9107 echo "Doing maintainer-clean in gnuserv" ; \
9109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9111 "RANLIB=$${RANLIB}" \
9112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9119 .PHONY: configure-gprof maybe-configure-gprof
9120 maybe-configure-gprof:
9122 maybe-configure-gprof: configure-gprof
9124 @test ! -f gprof/Makefile || exit 0; \
9125 [ -d gprof ] || mkdir gprof; \
9126 r=`${PWD_COMMAND}`; export r; \
9127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9128 CC="$(CC)"; export CC; \
9129 CFLAGS="$(CFLAGS)"; export CFLAGS; \
9130 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
9131 CXX="$(CXX)"; export CXX; \
9132 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
9133 AR="$(AR)"; export AR; \
9134 AS="$(AS)"; export AS; \
9135 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
9136 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
9137 LD="$(LD)"; export LD; \
9138 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
9139 NM="$(NM)"; export NM; \
9140 RANLIB="$(RANLIB)"; export RANLIB; \
9141 WINDRES="$(WINDRES)"; export WINDRES; \
9142 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
9143 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
9144 echo Configuring in gprof; \
9145 cd gprof || exit 1; \
9148 srcdiroption="--srcdir=."; \
9150 /* | [A-Za-z]:[\\/]*) \
9151 srcdiroption="--srcdir=$(srcdir)/gprof"; \
9152 libsrcdir="$$s/gprof";; \
9154 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
9155 libsrcdir="$$s/gprof";; \
9157 $(SHELL) $${libsrcdir}/configure \
9158 $(HOST_CONFIGARGS) $${srcdiroption} \
9162 .PHONY: all-gprof maybe-all-gprof
9165 maybe-all-gprof: all-gprof
9166 all-gprof: configure-gprof
9167 @r=`${PWD_COMMAND}`; export r; \
9168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9170 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) all)
9173 .PHONY: check-gprof maybe-check-gprof
9176 maybe-check-gprof: check-gprof
9179 @r=`${PWD_COMMAND}`; export r; \
9180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9182 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
9186 .PHONY: install-gprof maybe-install-gprof
9187 maybe-install-gprof:
9189 maybe-install-gprof: install-gprof
9191 install-gprof: installdirs
9192 @r=`${PWD_COMMAND}`; export r; \
9193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9195 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
9199 # Other targets (info, dvi, etc.)
9201 .PHONY: maybe-info-gprof info-gprof
9204 maybe-info-gprof: info-gprof
9208 @[ -f ./gprof/Makefile ] || exit 0; \
9209 r=`${PWD_COMMAND}`; export r; \
9210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9212 for flag in $(EXTRA_HOST_FLAGS); do \
9213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9215 echo "Doing info in gprof" ; \
9217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9219 "RANLIB=$${RANLIB}" \
9220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9226 .PHONY: maybe-dvi-gprof dvi-gprof
9229 maybe-dvi-gprof: dvi-gprof
9233 @[ -f ./gprof/Makefile ] || exit 0; \
9234 r=`${PWD_COMMAND}`; export r; \
9235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9237 for flag in $(EXTRA_HOST_FLAGS); do \
9238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9240 echo "Doing dvi in gprof" ; \
9242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9244 "RANLIB=$${RANLIB}" \
9245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9251 .PHONY: maybe-TAGS-gprof TAGS-gprof
9254 maybe-TAGS-gprof: TAGS-gprof
9258 @[ -f ./gprof/Makefile ] || exit 0; \
9259 r=`${PWD_COMMAND}`; export r; \
9260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9262 for flag in $(EXTRA_HOST_FLAGS); do \
9263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9265 echo "Doing TAGS in gprof" ; \
9267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9269 "RANLIB=$${RANLIB}" \
9270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9276 .PHONY: maybe-install-info-gprof install-info-gprof
9277 maybe-install-info-gprof:
9279 maybe-install-info-gprof: install-info-gprof
9281 install-info-gprof: \
9284 @[ -f ./gprof/Makefile ] || exit 0; \
9285 r=`${PWD_COMMAND}`; export r; \
9286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9288 for flag in $(EXTRA_HOST_FLAGS); do \
9289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9291 echo "Doing install-info in gprof" ; \
9293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9295 "RANLIB=$${RANLIB}" \
9296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9302 .PHONY: maybe-installcheck-gprof installcheck-gprof
9303 maybe-installcheck-gprof:
9305 maybe-installcheck-gprof: installcheck-gprof
9307 installcheck-gprof: \
9309 @[ -f ./gprof/Makefile ] || exit 0; \
9310 r=`${PWD_COMMAND}`; export r; \
9311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9313 for flag in $(EXTRA_HOST_FLAGS); do \
9314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9316 echo "Doing installcheck in gprof" ; \
9318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9320 "RANLIB=$${RANLIB}" \
9321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9327 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
9328 maybe-mostlyclean-gprof:
9330 maybe-mostlyclean-gprof: mostlyclean-gprof
9333 @[ -f ./gprof/Makefile ] || exit 0; \
9334 r=`${PWD_COMMAND}`; export r; \
9335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9337 for flag in $(EXTRA_HOST_FLAGS); do \
9338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9340 echo "Doing mostlyclean in gprof" ; \
9342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9344 "RANLIB=$${RANLIB}" \
9345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9351 .PHONY: maybe-clean-gprof clean-gprof
9354 maybe-clean-gprof: clean-gprof
9357 @[ -f ./gprof/Makefile ] || exit 0; \
9358 r=`${PWD_COMMAND}`; export r; \
9359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9361 for flag in $(EXTRA_HOST_FLAGS); do \
9362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9364 echo "Doing clean in gprof" ; \
9366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9368 "RANLIB=$${RANLIB}" \
9369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9375 .PHONY: maybe-distclean-gprof distclean-gprof
9376 maybe-distclean-gprof:
9378 maybe-distclean-gprof: distclean-gprof
9381 @[ -f ./gprof/Makefile ] || exit 0; \
9382 r=`${PWD_COMMAND}`; export r; \
9383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9385 for flag in $(EXTRA_HOST_FLAGS); do \
9386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9388 echo "Doing distclean in gprof" ; \
9390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9392 "RANLIB=$${RANLIB}" \
9393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9399 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
9400 maybe-maintainer-clean-gprof:
9402 maybe-maintainer-clean-gprof: maintainer-clean-gprof
9404 maintainer-clean-gprof:
9405 @[ -f ./gprof/Makefile ] || exit 0; \
9406 r=`${PWD_COMMAND}`; export r; \
9407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9409 for flag in $(EXTRA_HOST_FLAGS); do \
9410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9412 echo "Doing maintainer-clean in gprof" ; \
9414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9416 "RANLIB=$${RANLIB}" \
9417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9424 .PHONY: configure-gzip maybe-configure-gzip
9425 maybe-configure-gzip:
9427 maybe-configure-gzip: configure-gzip
9429 @test ! -f gzip/Makefile || exit 0; \
9430 [ -d gzip ] || mkdir gzip; \
9431 r=`${PWD_COMMAND}`; export r; \
9432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9433 CC="$(CC)"; export CC; \
9434 CFLAGS="$(CFLAGS)"; export CFLAGS; \
9435 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
9436 CXX="$(CXX)"; export CXX; \
9437 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
9438 AR="$(AR)"; export AR; \
9439 AS="$(AS)"; export AS; \
9440 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
9441 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
9442 LD="$(LD)"; export LD; \
9443 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
9444 NM="$(NM)"; export NM; \
9445 RANLIB="$(RANLIB)"; export RANLIB; \
9446 WINDRES="$(WINDRES)"; export WINDRES; \
9447 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
9448 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
9449 echo Configuring in gzip; \
9450 cd gzip || exit 1; \
9453 srcdiroption="--srcdir=."; \
9455 /* | [A-Za-z]:[\\/]*) \
9456 srcdiroption="--srcdir=$(srcdir)/gzip"; \
9457 libsrcdir="$$s/gzip";; \
9459 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
9460 libsrcdir="$$s/gzip";; \
9462 $(SHELL) $${libsrcdir}/configure \
9463 $(HOST_CONFIGARGS) $${srcdiroption} \
9467 .PHONY: all-gzip maybe-all-gzip
9470 maybe-all-gzip: all-gzip
9471 all-gzip: configure-gzip
9472 @r=`${PWD_COMMAND}`; export r; \
9473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9475 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) all)
9478 .PHONY: check-gzip maybe-check-gzip
9481 maybe-check-gzip: check-gzip
9484 @r=`${PWD_COMMAND}`; export r; \
9485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9487 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
9491 .PHONY: install-gzip maybe-install-gzip
9494 maybe-install-gzip: install-gzip
9496 install-gzip: installdirs
9497 @r=`${PWD_COMMAND}`; export r; \
9498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9500 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
9504 # Other targets (info, dvi, etc.)
9506 .PHONY: maybe-info-gzip info-gzip
9509 maybe-info-gzip: info-gzip
9513 @[ -f ./gzip/Makefile ] || exit 0; \
9514 r=`${PWD_COMMAND}`; export r; \
9515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9517 for flag in $(EXTRA_HOST_FLAGS); do \
9518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9520 echo "Doing info in gzip" ; \
9522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9524 "RANLIB=$${RANLIB}" \
9525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9531 .PHONY: maybe-dvi-gzip dvi-gzip
9534 maybe-dvi-gzip: dvi-gzip
9538 @[ -f ./gzip/Makefile ] || exit 0; \
9539 r=`${PWD_COMMAND}`; export r; \
9540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9542 for flag in $(EXTRA_HOST_FLAGS); do \
9543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9545 echo "Doing dvi in gzip" ; \
9547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9549 "RANLIB=$${RANLIB}" \
9550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9556 .PHONY: maybe-TAGS-gzip TAGS-gzip
9559 maybe-TAGS-gzip: TAGS-gzip
9563 @[ -f ./gzip/Makefile ] || exit 0; \
9564 r=`${PWD_COMMAND}`; export r; \
9565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9567 for flag in $(EXTRA_HOST_FLAGS); do \
9568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9570 echo "Doing TAGS in gzip" ; \
9572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9574 "RANLIB=$${RANLIB}" \
9575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9581 .PHONY: maybe-install-info-gzip install-info-gzip
9582 maybe-install-info-gzip:
9584 maybe-install-info-gzip: install-info-gzip
9586 install-info-gzip: \
9589 @[ -f ./gzip/Makefile ] || exit 0; \
9590 r=`${PWD_COMMAND}`; export r; \
9591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9593 for flag in $(EXTRA_HOST_FLAGS); do \
9594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9596 echo "Doing install-info in gzip" ; \
9598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9600 "RANLIB=$${RANLIB}" \
9601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9607 .PHONY: maybe-installcheck-gzip installcheck-gzip
9608 maybe-installcheck-gzip:
9610 maybe-installcheck-gzip: installcheck-gzip
9612 installcheck-gzip: \
9614 @[ -f ./gzip/Makefile ] || exit 0; \
9615 r=`${PWD_COMMAND}`; export r; \
9616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9618 for flag in $(EXTRA_HOST_FLAGS); do \
9619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9621 echo "Doing installcheck in gzip" ; \
9623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9625 "RANLIB=$${RANLIB}" \
9626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9632 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
9633 maybe-mostlyclean-gzip:
9635 maybe-mostlyclean-gzip: mostlyclean-gzip
9638 @[ -f ./gzip/Makefile ] || exit 0; \
9639 r=`${PWD_COMMAND}`; export r; \
9640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9642 for flag in $(EXTRA_HOST_FLAGS); do \
9643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9645 echo "Doing mostlyclean in gzip" ; \
9647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9649 "RANLIB=$${RANLIB}" \
9650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9656 .PHONY: maybe-clean-gzip clean-gzip
9659 maybe-clean-gzip: clean-gzip
9662 @[ -f ./gzip/Makefile ] || exit 0; \
9663 r=`${PWD_COMMAND}`; export r; \
9664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9666 for flag in $(EXTRA_HOST_FLAGS); do \
9667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9669 echo "Doing clean in gzip" ; \
9671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9673 "RANLIB=$${RANLIB}" \
9674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9680 .PHONY: maybe-distclean-gzip distclean-gzip
9681 maybe-distclean-gzip:
9683 maybe-distclean-gzip: distclean-gzip
9686 @[ -f ./gzip/Makefile ] || exit 0; \
9687 r=`${PWD_COMMAND}`; export r; \
9688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9690 for flag in $(EXTRA_HOST_FLAGS); do \
9691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9693 echo "Doing distclean in gzip" ; \
9695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9697 "RANLIB=$${RANLIB}" \
9698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9704 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
9705 maybe-maintainer-clean-gzip:
9707 maybe-maintainer-clean-gzip: maintainer-clean-gzip
9709 maintainer-clean-gzip:
9710 @[ -f ./gzip/Makefile ] || exit 0; \
9711 r=`${PWD_COMMAND}`; export r; \
9712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9714 for flag in $(EXTRA_HOST_FLAGS); do \
9715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9717 echo "Doing maintainer-clean in gzip" ; \
9719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9721 "RANLIB=$${RANLIB}" \
9722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9729 .PHONY: configure-hello maybe-configure-hello
9730 maybe-configure-hello:
9732 maybe-configure-hello: configure-hello
9734 @test ! -f hello/Makefile || exit 0; \
9735 [ -d hello ] || mkdir hello; \
9736 r=`${PWD_COMMAND}`; export r; \
9737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9738 CC="$(CC)"; export CC; \
9739 CFLAGS="$(CFLAGS)"; export CFLAGS; \
9740 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
9741 CXX="$(CXX)"; export CXX; \
9742 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
9743 AR="$(AR)"; export AR; \
9744 AS="$(AS)"; export AS; \
9745 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
9746 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
9747 LD="$(LD)"; export LD; \
9748 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
9749 NM="$(NM)"; export NM; \
9750 RANLIB="$(RANLIB)"; export RANLIB; \
9751 WINDRES="$(WINDRES)"; export WINDRES; \
9752 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
9753 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
9754 echo Configuring in hello; \
9755 cd hello || exit 1; \
9758 srcdiroption="--srcdir=."; \
9760 /* | [A-Za-z]:[\\/]*) \
9761 srcdiroption="--srcdir=$(srcdir)/hello"; \
9762 libsrcdir="$$s/hello";; \
9764 srcdiroption="--srcdir=../$(srcdir)/hello"; \
9765 libsrcdir="$$s/hello";; \
9767 $(SHELL) $${libsrcdir}/configure \
9768 $(HOST_CONFIGARGS) $${srcdiroption} \
9772 .PHONY: all-hello maybe-all-hello
9775 maybe-all-hello: all-hello
9776 all-hello: configure-hello
9777 @r=`${PWD_COMMAND}`; export r; \
9778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9780 (cd hello && $(MAKE) $(FLAGS_TO_PASS) all)
9783 .PHONY: check-hello maybe-check-hello
9786 maybe-check-hello: check-hello
9789 @r=`${PWD_COMMAND}`; export r; \
9790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9792 (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
9796 .PHONY: install-hello maybe-install-hello
9797 maybe-install-hello:
9799 maybe-install-hello: install-hello
9801 install-hello: installdirs
9802 @r=`${PWD_COMMAND}`; export r; \
9803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9805 (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
9809 # Other targets (info, dvi, etc.)
9811 .PHONY: maybe-info-hello info-hello
9814 maybe-info-hello: info-hello
9818 @[ -f ./hello/Makefile ] || exit 0; \
9819 r=`${PWD_COMMAND}`; export r; \
9820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9822 for flag in $(EXTRA_HOST_FLAGS); do \
9823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9825 echo "Doing info in hello" ; \
9827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9829 "RANLIB=$${RANLIB}" \
9830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9836 .PHONY: maybe-dvi-hello dvi-hello
9839 maybe-dvi-hello: dvi-hello
9843 @[ -f ./hello/Makefile ] || exit 0; \
9844 r=`${PWD_COMMAND}`; export r; \
9845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9847 for flag in $(EXTRA_HOST_FLAGS); do \
9848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9850 echo "Doing dvi in hello" ; \
9852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9854 "RANLIB=$${RANLIB}" \
9855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9861 .PHONY: maybe-TAGS-hello TAGS-hello
9864 maybe-TAGS-hello: TAGS-hello
9868 @[ -f ./hello/Makefile ] || exit 0; \
9869 r=`${PWD_COMMAND}`; export r; \
9870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9872 for flag in $(EXTRA_HOST_FLAGS); do \
9873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9875 echo "Doing TAGS in hello" ; \
9877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9879 "RANLIB=$${RANLIB}" \
9880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9886 .PHONY: maybe-install-info-hello install-info-hello
9887 maybe-install-info-hello:
9889 maybe-install-info-hello: install-info-hello
9891 install-info-hello: \
9894 @[ -f ./hello/Makefile ] || exit 0; \
9895 r=`${PWD_COMMAND}`; export r; \
9896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9898 for flag in $(EXTRA_HOST_FLAGS); do \
9899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9901 echo "Doing install-info in hello" ; \
9903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9905 "RANLIB=$${RANLIB}" \
9906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9912 .PHONY: maybe-installcheck-hello installcheck-hello
9913 maybe-installcheck-hello:
9915 maybe-installcheck-hello: installcheck-hello
9917 installcheck-hello: \
9919 @[ -f ./hello/Makefile ] || exit 0; \
9920 r=`${PWD_COMMAND}`; export r; \
9921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9923 for flag in $(EXTRA_HOST_FLAGS); do \
9924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9926 echo "Doing installcheck in hello" ; \
9928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9930 "RANLIB=$${RANLIB}" \
9931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9937 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
9938 maybe-mostlyclean-hello:
9940 maybe-mostlyclean-hello: mostlyclean-hello
9943 @[ -f ./hello/Makefile ] || exit 0; \
9944 r=`${PWD_COMMAND}`; export r; \
9945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9947 for flag in $(EXTRA_HOST_FLAGS); do \
9948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9950 echo "Doing mostlyclean in hello" ; \
9952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9954 "RANLIB=$${RANLIB}" \
9955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9961 .PHONY: maybe-clean-hello clean-hello
9964 maybe-clean-hello: clean-hello
9967 @[ -f ./hello/Makefile ] || exit 0; \
9968 r=`${PWD_COMMAND}`; export r; \
9969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9971 for flag in $(EXTRA_HOST_FLAGS); do \
9972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9974 echo "Doing clean in hello" ; \
9976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9978 "RANLIB=$${RANLIB}" \
9979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9985 .PHONY: maybe-distclean-hello distclean-hello
9986 maybe-distclean-hello:
9988 maybe-distclean-hello: distclean-hello
9991 @[ -f ./hello/Makefile ] || exit 0; \
9992 r=`${PWD_COMMAND}`; export r; \
9993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9995 for flag in $(EXTRA_HOST_FLAGS); do \
9996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9998 echo "Doing distclean in hello" ; \
10000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10002 "RANLIB=$${RANLIB}" \
10003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10009 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
10010 maybe-maintainer-clean-hello:
10012 maybe-maintainer-clean-hello: maintainer-clean-hello
10014 maintainer-clean-hello:
10015 @[ -f ./hello/Makefile ] || exit 0; \
10016 r=`${PWD_COMMAND}`; export r; \
10017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10019 for flag in $(EXTRA_HOST_FLAGS); do \
10020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10022 echo "Doing maintainer-clean in hello" ; \
10024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10026 "RANLIB=$${RANLIB}" \
10027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10028 maintainer-clean) \
10034 .PHONY: configure-indent maybe-configure-indent
10035 maybe-configure-indent:
10037 maybe-configure-indent: configure-indent
10039 @test ! -f indent/Makefile || exit 0; \
10040 [ -d indent ] || mkdir indent; \
10041 r=`${PWD_COMMAND}`; export r; \
10042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10043 CC="$(CC)"; export CC; \
10044 CFLAGS="$(CFLAGS)"; export CFLAGS; \
10045 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
10046 CXX="$(CXX)"; export CXX; \
10047 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
10048 AR="$(AR)"; export AR; \
10049 AS="$(AS)"; export AS; \
10050 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
10051 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
10052 LD="$(LD)"; export LD; \
10053 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
10054 NM="$(NM)"; export NM; \
10055 RANLIB="$(RANLIB)"; export RANLIB; \
10056 WINDRES="$(WINDRES)"; export WINDRES; \
10057 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
10058 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
10059 echo Configuring in indent; \
10060 cd indent || exit 1; \
10061 case $(srcdir) in \
10063 srcdiroption="--srcdir=."; \
10065 /* | [A-Za-z]:[\\/]*) \
10066 srcdiroption="--srcdir=$(srcdir)/indent"; \
10067 libsrcdir="$$s/indent";; \
10069 srcdiroption="--srcdir=../$(srcdir)/indent"; \
10070 libsrcdir="$$s/indent";; \
10072 $(SHELL) $${libsrcdir}/configure \
10073 $(HOST_CONFIGARGS) $${srcdiroption} \
10077 .PHONY: all-indent maybe-all-indent
10080 maybe-all-indent: all-indent
10081 all-indent: configure-indent
10082 @r=`${PWD_COMMAND}`; export r; \
10083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10085 (cd indent && $(MAKE) $(FLAGS_TO_PASS) all)
10088 .PHONY: check-indent maybe-check-indent
10089 maybe-check-indent:
10091 maybe-check-indent: check-indent
10094 @r=`${PWD_COMMAND}`; export r; \
10095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10097 (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
10101 .PHONY: install-indent maybe-install-indent
10102 maybe-install-indent:
10104 maybe-install-indent: install-indent
10106 install-indent: installdirs
10107 @r=`${PWD_COMMAND}`; export r; \
10108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10110 (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
10114 # Other targets (info, dvi, etc.)
10116 .PHONY: maybe-info-indent info-indent
10119 maybe-info-indent: info-indent
10123 @[ -f ./indent/Makefile ] || exit 0; \
10124 r=`${PWD_COMMAND}`; export r; \
10125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10127 for flag in $(EXTRA_HOST_FLAGS); do \
10128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10130 echo "Doing info in indent" ; \
10132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10134 "RANLIB=$${RANLIB}" \
10135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10141 .PHONY: maybe-dvi-indent dvi-indent
10144 maybe-dvi-indent: dvi-indent
10148 @[ -f ./indent/Makefile ] || exit 0; \
10149 r=`${PWD_COMMAND}`; export r; \
10150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10152 for flag in $(EXTRA_HOST_FLAGS); do \
10153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10155 echo "Doing dvi in indent" ; \
10157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10159 "RANLIB=$${RANLIB}" \
10160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10166 .PHONY: maybe-TAGS-indent TAGS-indent
10169 maybe-TAGS-indent: TAGS-indent
10173 @[ -f ./indent/Makefile ] || exit 0; \
10174 r=`${PWD_COMMAND}`; export r; \
10175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10177 for flag in $(EXTRA_HOST_FLAGS); do \
10178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10180 echo "Doing TAGS in indent" ; \
10182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10184 "RANLIB=$${RANLIB}" \
10185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10191 .PHONY: maybe-install-info-indent install-info-indent
10192 maybe-install-info-indent:
10194 maybe-install-info-indent: install-info-indent
10196 install-info-indent: \
10199 @[ -f ./indent/Makefile ] || exit 0; \
10200 r=`${PWD_COMMAND}`; export r; \
10201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10203 for flag in $(EXTRA_HOST_FLAGS); do \
10204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10206 echo "Doing install-info in indent" ; \
10208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10210 "RANLIB=$${RANLIB}" \
10211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10217 .PHONY: maybe-installcheck-indent installcheck-indent
10218 maybe-installcheck-indent:
10220 maybe-installcheck-indent: installcheck-indent
10222 installcheck-indent: \
10224 @[ -f ./indent/Makefile ] || exit 0; \
10225 r=`${PWD_COMMAND}`; export r; \
10226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10228 for flag in $(EXTRA_HOST_FLAGS); do \
10229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10231 echo "Doing installcheck in indent" ; \
10233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10235 "RANLIB=$${RANLIB}" \
10236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10242 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
10243 maybe-mostlyclean-indent:
10245 maybe-mostlyclean-indent: mostlyclean-indent
10247 mostlyclean-indent:
10248 @[ -f ./indent/Makefile ] || exit 0; \
10249 r=`${PWD_COMMAND}`; export r; \
10250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10252 for flag in $(EXTRA_HOST_FLAGS); do \
10253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10255 echo "Doing mostlyclean in indent" ; \
10257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10259 "RANLIB=$${RANLIB}" \
10260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10266 .PHONY: maybe-clean-indent clean-indent
10267 maybe-clean-indent:
10269 maybe-clean-indent: clean-indent
10272 @[ -f ./indent/Makefile ] || exit 0; \
10273 r=`${PWD_COMMAND}`; export r; \
10274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10276 for flag in $(EXTRA_HOST_FLAGS); do \
10277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10279 echo "Doing clean in indent" ; \
10281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10283 "RANLIB=$${RANLIB}" \
10284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10290 .PHONY: maybe-distclean-indent distclean-indent
10291 maybe-distclean-indent:
10293 maybe-distclean-indent: distclean-indent
10296 @[ -f ./indent/Makefile ] || exit 0; \
10297 r=`${PWD_COMMAND}`; export r; \
10298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10300 for flag in $(EXTRA_HOST_FLAGS); do \
10301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10303 echo "Doing distclean in indent" ; \
10305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10307 "RANLIB=$${RANLIB}" \
10308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10314 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
10315 maybe-maintainer-clean-indent:
10317 maybe-maintainer-clean-indent: maintainer-clean-indent
10319 maintainer-clean-indent:
10320 @[ -f ./indent/Makefile ] || exit 0; \
10321 r=`${PWD_COMMAND}`; export r; \
10322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10324 for flag in $(EXTRA_HOST_FLAGS); do \
10325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10327 echo "Doing maintainer-clean in indent" ; \
10329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10331 "RANLIB=$${RANLIB}" \
10332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10333 maintainer-clean) \
10339 .PHONY: configure-intl maybe-configure-intl
10340 maybe-configure-intl:
10342 maybe-configure-intl: configure-intl
10344 @test ! -f intl/Makefile || exit 0; \
10345 [ -d intl ] || mkdir intl; \
10346 r=`${PWD_COMMAND}`; export r; \
10347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10348 CC="$(CC)"; export CC; \
10349 CFLAGS="$(CFLAGS)"; export CFLAGS; \
10350 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
10351 CXX="$(CXX)"; export CXX; \
10352 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
10353 AR="$(AR)"; export AR; \
10354 AS="$(AS)"; export AS; \
10355 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
10356 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
10357 LD="$(LD)"; export LD; \
10358 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
10359 NM="$(NM)"; export NM; \
10360 RANLIB="$(RANLIB)"; export RANLIB; \
10361 WINDRES="$(WINDRES)"; export WINDRES; \
10362 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
10363 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
10364 echo Configuring in intl; \
10365 cd intl || exit 1; \
10366 case $(srcdir) in \
10368 srcdiroption="--srcdir=."; \
10370 /* | [A-Za-z]:[\\/]*) \
10371 srcdiroption="--srcdir=$(srcdir)/intl"; \
10372 libsrcdir="$$s/intl";; \
10374 srcdiroption="--srcdir=../$(srcdir)/intl"; \
10375 libsrcdir="$$s/intl";; \
10377 $(SHELL) $${libsrcdir}/configure \
10378 $(HOST_CONFIGARGS) $${srcdiroption} \
10382 .PHONY: all-intl maybe-all-intl
10385 maybe-all-intl: all-intl
10386 all-intl: configure-intl
10387 @r=`${PWD_COMMAND}`; export r; \
10388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10390 (cd intl && $(MAKE) $(FLAGS_TO_PASS) all)
10393 .PHONY: check-intl maybe-check-intl
10396 maybe-check-intl: check-intl
10399 @r=`${PWD_COMMAND}`; export r; \
10400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10402 (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
10406 .PHONY: install-intl maybe-install-intl
10407 maybe-install-intl:
10409 maybe-install-intl: install-intl
10411 install-intl: installdirs
10412 @r=`${PWD_COMMAND}`; export r; \
10413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10415 (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
10419 # Other targets (info, dvi, etc.)
10421 .PHONY: maybe-info-intl info-intl
10424 maybe-info-intl: info-intl
10428 @[ -f ./intl/Makefile ] || exit 0; \
10429 r=`${PWD_COMMAND}`; export r; \
10430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10432 for flag in $(EXTRA_HOST_FLAGS); do \
10433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10435 echo "Doing info in intl" ; \
10437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10439 "RANLIB=$${RANLIB}" \
10440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10446 .PHONY: maybe-dvi-intl dvi-intl
10449 maybe-dvi-intl: dvi-intl
10453 @[ -f ./intl/Makefile ] || exit 0; \
10454 r=`${PWD_COMMAND}`; export r; \
10455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10457 for flag in $(EXTRA_HOST_FLAGS); do \
10458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10460 echo "Doing dvi in intl" ; \
10462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10464 "RANLIB=$${RANLIB}" \
10465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10471 .PHONY: maybe-TAGS-intl TAGS-intl
10474 maybe-TAGS-intl: TAGS-intl
10478 @[ -f ./intl/Makefile ] || exit 0; \
10479 r=`${PWD_COMMAND}`; export r; \
10480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10482 for flag in $(EXTRA_HOST_FLAGS); do \
10483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10485 echo "Doing TAGS in intl" ; \
10487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10489 "RANLIB=$${RANLIB}" \
10490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10496 .PHONY: maybe-install-info-intl install-info-intl
10497 maybe-install-info-intl:
10499 maybe-install-info-intl: install-info-intl
10501 install-info-intl: \
10504 @[ -f ./intl/Makefile ] || exit 0; \
10505 r=`${PWD_COMMAND}`; export r; \
10506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10508 for flag in $(EXTRA_HOST_FLAGS); do \
10509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10511 echo "Doing install-info in intl" ; \
10513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10515 "RANLIB=$${RANLIB}" \
10516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10522 .PHONY: maybe-installcheck-intl installcheck-intl
10523 maybe-installcheck-intl:
10525 maybe-installcheck-intl: installcheck-intl
10527 installcheck-intl: \
10529 @[ -f ./intl/Makefile ] || exit 0; \
10530 r=`${PWD_COMMAND}`; export r; \
10531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10533 for flag in $(EXTRA_HOST_FLAGS); do \
10534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10536 echo "Doing installcheck in intl" ; \
10538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10540 "RANLIB=$${RANLIB}" \
10541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10547 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
10548 maybe-mostlyclean-intl:
10550 maybe-mostlyclean-intl: mostlyclean-intl
10553 @[ -f ./intl/Makefile ] || exit 0; \
10554 r=`${PWD_COMMAND}`; export r; \
10555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10557 for flag in $(EXTRA_HOST_FLAGS); do \
10558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10560 echo "Doing mostlyclean in intl" ; \
10562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10564 "RANLIB=$${RANLIB}" \
10565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10571 .PHONY: maybe-clean-intl clean-intl
10574 maybe-clean-intl: clean-intl
10577 @[ -f ./intl/Makefile ] || exit 0; \
10578 r=`${PWD_COMMAND}`; export r; \
10579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10581 for flag in $(EXTRA_HOST_FLAGS); do \
10582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10584 echo "Doing clean in intl" ; \
10586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10588 "RANLIB=$${RANLIB}" \
10589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10595 .PHONY: maybe-distclean-intl distclean-intl
10596 maybe-distclean-intl:
10598 maybe-distclean-intl: distclean-intl
10601 @[ -f ./intl/Makefile ] || exit 0; \
10602 r=`${PWD_COMMAND}`; export r; \
10603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10605 for flag in $(EXTRA_HOST_FLAGS); do \
10606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10608 echo "Doing distclean in intl" ; \
10610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10612 "RANLIB=$${RANLIB}" \
10613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10619 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
10620 maybe-maintainer-clean-intl:
10622 maybe-maintainer-clean-intl: maintainer-clean-intl
10624 maintainer-clean-intl:
10625 @[ -f ./intl/Makefile ] || exit 0; \
10626 r=`${PWD_COMMAND}`; export r; \
10627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10629 for flag in $(EXTRA_HOST_FLAGS); do \
10630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10632 echo "Doing maintainer-clean in intl" ; \
10634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10636 "RANLIB=$${RANLIB}" \
10637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10638 maintainer-clean) \
10644 .PHONY: configure-tcl maybe-configure-tcl
10645 maybe-configure-tcl:
10647 maybe-configure-tcl: configure-tcl
10649 @test ! -f tcl/Makefile || exit 0; \
10650 [ -d tcl ] || mkdir tcl; \
10651 r=`${PWD_COMMAND}`; export r; \
10652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10653 CC="$(CC)"; export CC; \
10654 CFLAGS="$(CFLAGS)"; export CFLAGS; \
10655 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
10656 CXX="$(CXX)"; export CXX; \
10657 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
10658 AR="$(AR)"; export AR; \
10659 AS="$(AS)"; export AS; \
10660 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
10661 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
10662 LD="$(LD)"; export LD; \
10663 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
10664 NM="$(NM)"; export NM; \
10665 RANLIB="$(RANLIB)"; export RANLIB; \
10666 WINDRES="$(WINDRES)"; export WINDRES; \
10667 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
10668 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
10669 echo Configuring in tcl; \
10670 cd tcl || exit 1; \
10671 case $(srcdir) in \
10673 srcdiroption="--srcdir=."; \
10675 /* | [A-Za-z]:[\\/]*) \
10676 srcdiroption="--srcdir=$(srcdir)/tcl"; \
10677 libsrcdir="$$s/tcl";; \
10679 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
10680 libsrcdir="$$s/tcl";; \
10682 $(SHELL) $${libsrcdir}/configure \
10683 $(HOST_CONFIGARGS) $${srcdiroption} \
10687 .PHONY: all-tcl maybe-all-tcl
10690 maybe-all-tcl: all-tcl
10691 all-tcl: configure-tcl
10692 @r=`${PWD_COMMAND}`; export r; \
10693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10695 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) all)
10698 .PHONY: check-tcl maybe-check-tcl
10701 maybe-check-tcl: check-tcl
10704 @r=`${PWD_COMMAND}`; export r; \
10705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10707 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
10711 .PHONY: install-tcl maybe-install-tcl
10714 maybe-install-tcl: install-tcl
10716 install-tcl: installdirs
10717 @r=`${PWD_COMMAND}`; export r; \
10718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10720 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
10724 # Other targets (info, dvi, etc.)
10726 .PHONY: maybe-info-tcl info-tcl
10729 maybe-info-tcl: info-tcl
10733 @[ -f ./tcl/Makefile ] || exit 0; \
10734 r=`${PWD_COMMAND}`; export r; \
10735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10737 for flag in $(EXTRA_HOST_FLAGS); do \
10738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10740 echo "Doing info in tcl" ; \
10742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10744 "RANLIB=$${RANLIB}" \
10745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10751 .PHONY: maybe-dvi-tcl dvi-tcl
10754 maybe-dvi-tcl: dvi-tcl
10758 @[ -f ./tcl/Makefile ] || exit 0; \
10759 r=`${PWD_COMMAND}`; export r; \
10760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10762 for flag in $(EXTRA_HOST_FLAGS); do \
10763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10765 echo "Doing dvi in tcl" ; \
10767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10769 "RANLIB=$${RANLIB}" \
10770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10776 .PHONY: maybe-TAGS-tcl TAGS-tcl
10779 maybe-TAGS-tcl: TAGS-tcl
10783 @[ -f ./tcl/Makefile ] || exit 0; \
10784 r=`${PWD_COMMAND}`; export r; \
10785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10787 for flag in $(EXTRA_HOST_FLAGS); do \
10788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10790 echo "Doing TAGS in tcl" ; \
10792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10794 "RANLIB=$${RANLIB}" \
10795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10801 .PHONY: maybe-install-info-tcl install-info-tcl
10802 maybe-install-info-tcl:
10804 maybe-install-info-tcl: install-info-tcl
10806 install-info-tcl: \
10809 @[ -f ./tcl/Makefile ] || exit 0; \
10810 r=`${PWD_COMMAND}`; export r; \
10811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10813 for flag in $(EXTRA_HOST_FLAGS); do \
10814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10816 echo "Doing install-info in tcl" ; \
10818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10820 "RANLIB=$${RANLIB}" \
10821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10827 .PHONY: maybe-installcheck-tcl installcheck-tcl
10828 maybe-installcheck-tcl:
10830 maybe-installcheck-tcl: installcheck-tcl
10832 installcheck-tcl: \
10834 @[ -f ./tcl/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 installcheck in tcl" ; \
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}" \
10852 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
10853 maybe-mostlyclean-tcl:
10855 maybe-mostlyclean-tcl: mostlyclean-tcl
10857 # tcl doesn't support mostlyclean.
10862 .PHONY: maybe-clean-tcl clean-tcl
10865 maybe-clean-tcl: clean-tcl
10868 @[ -f ./tcl/Makefile ] || exit 0; \
10869 r=`${PWD_COMMAND}`; export r; \
10870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10872 for flag in $(EXTRA_HOST_FLAGS); do \
10873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10875 echo "Doing clean in tcl" ; \
10877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10879 "RANLIB=$${RANLIB}" \
10880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10886 .PHONY: maybe-distclean-tcl distclean-tcl
10887 maybe-distclean-tcl:
10889 maybe-distclean-tcl: distclean-tcl
10892 @[ -f ./tcl/Makefile ] || exit 0; \
10893 r=`${PWD_COMMAND}`; export r; \
10894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10896 for flag in $(EXTRA_HOST_FLAGS); do \
10897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10899 echo "Doing distclean in tcl" ; \
10901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10903 "RANLIB=$${RANLIB}" \
10904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10910 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
10911 maybe-maintainer-clean-tcl:
10913 maybe-maintainer-clean-tcl: maintainer-clean-tcl
10915 maintainer-clean-tcl:
10916 @[ -f ./tcl/Makefile ] || exit 0; \
10917 r=`${PWD_COMMAND}`; export r; \
10918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10920 for flag in $(EXTRA_HOST_FLAGS); do \
10921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10923 echo "Doing maintainer-clean in tcl" ; \
10925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10927 "RANLIB=$${RANLIB}" \
10928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10929 maintainer-clean) \
10935 .PHONY: configure-itcl maybe-configure-itcl
10936 maybe-configure-itcl:
10938 maybe-configure-itcl: configure-itcl
10940 @test ! -f itcl/Makefile || exit 0; \
10941 [ -d itcl ] || mkdir itcl; \
10942 r=`${PWD_COMMAND}`; export r; \
10943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10944 CC="$(CC)"; export CC; \
10945 CFLAGS="$(CFLAGS)"; export CFLAGS; \
10946 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
10947 CXX="$(CXX)"; export CXX; \
10948 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
10949 AR="$(AR)"; export AR; \
10950 AS="$(AS)"; export AS; \
10951 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
10952 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
10953 LD="$(LD)"; export LD; \
10954 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
10955 NM="$(NM)"; export NM; \
10956 RANLIB="$(RANLIB)"; export RANLIB; \
10957 WINDRES="$(WINDRES)"; export WINDRES; \
10958 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
10959 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
10960 echo Configuring in itcl; \
10961 cd itcl || exit 1; \
10962 case $(srcdir) in \
10964 srcdiroption="--srcdir=."; \
10966 /* | [A-Za-z]:[\\/]*) \
10967 srcdiroption="--srcdir=$(srcdir)/itcl"; \
10968 libsrcdir="$$s/itcl";; \
10970 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
10971 libsrcdir="$$s/itcl";; \
10973 $(SHELL) $${libsrcdir}/configure \
10974 $(HOST_CONFIGARGS) $${srcdiroption} \
10978 .PHONY: all-itcl maybe-all-itcl
10981 maybe-all-itcl: all-itcl
10982 all-itcl: configure-itcl
10983 @r=`${PWD_COMMAND}`; export r; \
10984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10986 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) all)
10989 .PHONY: check-itcl maybe-check-itcl
10992 maybe-check-itcl: check-itcl
10995 @r=`${PWD_COMMAND}`; export r; \
10996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10998 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
11002 .PHONY: install-itcl maybe-install-itcl
11003 maybe-install-itcl:
11005 maybe-install-itcl: install-itcl
11007 install-itcl: installdirs
11008 @r=`${PWD_COMMAND}`; export r; \
11009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11011 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
11015 # Other targets (info, dvi, etc.)
11017 .PHONY: maybe-info-itcl info-itcl
11020 maybe-info-itcl: info-itcl
11024 @[ -f ./itcl/Makefile ] || exit 0; \
11025 r=`${PWD_COMMAND}`; export r; \
11026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11028 for flag in $(EXTRA_HOST_FLAGS); do \
11029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11031 echo "Doing info in itcl" ; \
11033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11035 "RANLIB=$${RANLIB}" \
11036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11042 .PHONY: maybe-dvi-itcl dvi-itcl
11045 maybe-dvi-itcl: dvi-itcl
11049 @[ -f ./itcl/Makefile ] || exit 0; \
11050 r=`${PWD_COMMAND}`; export r; \
11051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11053 for flag in $(EXTRA_HOST_FLAGS); do \
11054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11056 echo "Doing dvi in itcl" ; \
11058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11060 "RANLIB=$${RANLIB}" \
11061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11067 .PHONY: maybe-TAGS-itcl TAGS-itcl
11070 maybe-TAGS-itcl: TAGS-itcl
11074 @[ -f ./itcl/Makefile ] || exit 0; \
11075 r=`${PWD_COMMAND}`; export r; \
11076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11078 for flag in $(EXTRA_HOST_FLAGS); do \
11079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11081 echo "Doing TAGS in itcl" ; \
11083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11085 "RANLIB=$${RANLIB}" \
11086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11092 .PHONY: maybe-install-info-itcl install-info-itcl
11093 maybe-install-info-itcl:
11095 maybe-install-info-itcl: install-info-itcl
11097 install-info-itcl: \
11100 @[ -f ./itcl/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 install-info in itcl" ; \
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}" \
11118 .PHONY: maybe-installcheck-itcl installcheck-itcl
11119 maybe-installcheck-itcl:
11121 maybe-installcheck-itcl: installcheck-itcl
11123 installcheck-itcl: \
11125 @[ -f ./itcl/Makefile ] || exit 0; \
11126 r=`${PWD_COMMAND}`; export r; \
11127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11129 for flag in $(EXTRA_HOST_FLAGS); do \
11130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11132 echo "Doing installcheck in itcl" ; \
11134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11136 "RANLIB=$${RANLIB}" \
11137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11143 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
11144 maybe-mostlyclean-itcl:
11146 maybe-mostlyclean-itcl: mostlyclean-itcl
11149 @[ -f ./itcl/Makefile ] || exit 0; \
11150 r=`${PWD_COMMAND}`; export r; \
11151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11153 for flag in $(EXTRA_HOST_FLAGS); do \
11154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11156 echo "Doing mostlyclean in itcl" ; \
11158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11160 "RANLIB=$${RANLIB}" \
11161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11167 .PHONY: maybe-clean-itcl clean-itcl
11170 maybe-clean-itcl: clean-itcl
11173 @[ -f ./itcl/Makefile ] || exit 0; \
11174 r=`${PWD_COMMAND}`; export r; \
11175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11177 for flag in $(EXTRA_HOST_FLAGS); do \
11178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11180 echo "Doing clean in itcl" ; \
11182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11184 "RANLIB=$${RANLIB}" \
11185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11191 .PHONY: maybe-distclean-itcl distclean-itcl
11192 maybe-distclean-itcl:
11194 maybe-distclean-itcl: distclean-itcl
11197 @[ -f ./itcl/Makefile ] || exit 0; \
11198 r=`${PWD_COMMAND}`; export r; \
11199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11201 for flag in $(EXTRA_HOST_FLAGS); do \
11202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11204 echo "Doing distclean in itcl" ; \
11206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11208 "RANLIB=$${RANLIB}" \
11209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11215 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
11216 maybe-maintainer-clean-itcl:
11218 maybe-maintainer-clean-itcl: maintainer-clean-itcl
11220 maintainer-clean-itcl:
11221 @[ -f ./itcl/Makefile ] || exit 0; \
11222 r=`${PWD_COMMAND}`; export r; \
11223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11225 for flag in $(EXTRA_HOST_FLAGS); do \
11226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11228 echo "Doing maintainer-clean in itcl" ; \
11230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11232 "RANLIB=$${RANLIB}" \
11233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11234 maintainer-clean) \
11240 .PHONY: configure-ld maybe-configure-ld
11241 maybe-configure-ld:
11243 maybe-configure-ld: configure-ld
11245 @test ! -f ld/Makefile || exit 0; \
11246 [ -d ld ] || mkdir ld; \
11247 r=`${PWD_COMMAND}`; export r; \
11248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11249 CC="$(CC)"; export CC; \
11250 CFLAGS="$(CFLAGS)"; export CFLAGS; \
11251 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
11252 CXX="$(CXX)"; export CXX; \
11253 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
11254 AR="$(AR)"; export AR; \
11255 AS="$(AS)"; export AS; \
11256 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
11257 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
11258 LD="$(LD)"; export LD; \
11259 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
11260 NM="$(NM)"; export NM; \
11261 RANLIB="$(RANLIB)"; export RANLIB; \
11262 WINDRES="$(WINDRES)"; export WINDRES; \
11263 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
11264 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
11265 echo Configuring in ld; \
11267 case $(srcdir) in \
11269 srcdiroption="--srcdir=."; \
11271 /* | [A-Za-z]:[\\/]*) \
11272 srcdiroption="--srcdir=$(srcdir)/ld"; \
11273 libsrcdir="$$s/ld";; \
11275 srcdiroption="--srcdir=../$(srcdir)/ld"; \
11276 libsrcdir="$$s/ld";; \
11278 $(SHELL) $${libsrcdir}/configure \
11279 $(HOST_CONFIGARGS) $${srcdiroption} \
11283 .PHONY: all-ld maybe-all-ld
11286 maybe-all-ld: all-ld
11287 all-ld: configure-ld
11288 @r=`${PWD_COMMAND}`; export r; \
11289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11291 (cd ld && $(MAKE) $(FLAGS_TO_PASS) all)
11294 .PHONY: check-ld maybe-check-ld
11297 maybe-check-ld: check-ld
11300 @r=`${PWD_COMMAND}`; export r; \
11301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11303 (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
11307 .PHONY: install-ld maybe-install-ld
11310 maybe-install-ld: install-ld
11312 install-ld: installdirs
11313 @r=`${PWD_COMMAND}`; export r; \
11314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11316 (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
11320 # Other targets (info, dvi, etc.)
11322 .PHONY: maybe-info-ld info-ld
11325 maybe-info-ld: info-ld
11329 @[ -f ./ld/Makefile ] || exit 0; \
11330 r=`${PWD_COMMAND}`; export r; \
11331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11333 for flag in $(EXTRA_HOST_FLAGS); do \
11334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11336 echo "Doing info in ld" ; \
11338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11340 "RANLIB=$${RANLIB}" \
11341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11347 .PHONY: maybe-dvi-ld dvi-ld
11350 maybe-dvi-ld: dvi-ld
11354 @[ -f ./ld/Makefile ] || exit 0; \
11355 r=`${PWD_COMMAND}`; export r; \
11356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11358 for flag in $(EXTRA_HOST_FLAGS); do \
11359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11361 echo "Doing dvi in ld" ; \
11363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11365 "RANLIB=$${RANLIB}" \
11366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11372 .PHONY: maybe-TAGS-ld TAGS-ld
11375 maybe-TAGS-ld: TAGS-ld
11379 @[ -f ./ld/Makefile ] || exit 0; \
11380 r=`${PWD_COMMAND}`; export r; \
11381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11383 for flag in $(EXTRA_HOST_FLAGS); do \
11384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11386 echo "Doing TAGS in ld" ; \
11388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11390 "RANLIB=$${RANLIB}" \
11391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11397 .PHONY: maybe-install-info-ld install-info-ld
11398 maybe-install-info-ld:
11400 maybe-install-info-ld: install-info-ld
11405 @[ -f ./ld/Makefile ] || exit 0; \
11406 r=`${PWD_COMMAND}`; export r; \
11407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11409 for flag in $(EXTRA_HOST_FLAGS); do \
11410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11412 echo "Doing install-info in ld" ; \
11414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11416 "RANLIB=$${RANLIB}" \
11417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11423 .PHONY: maybe-installcheck-ld installcheck-ld
11424 maybe-installcheck-ld:
11426 maybe-installcheck-ld: installcheck-ld
11430 @[ -f ./ld/Makefile ] || exit 0; \
11431 r=`${PWD_COMMAND}`; export r; \
11432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11434 for flag in $(EXTRA_HOST_FLAGS); do \
11435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11437 echo "Doing installcheck in ld" ; \
11439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11441 "RANLIB=$${RANLIB}" \
11442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11448 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
11449 maybe-mostlyclean-ld:
11451 maybe-mostlyclean-ld: mostlyclean-ld
11454 @[ -f ./ld/Makefile ] || exit 0; \
11455 r=`${PWD_COMMAND}`; export r; \
11456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11458 for flag in $(EXTRA_HOST_FLAGS); do \
11459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11461 echo "Doing mostlyclean in ld" ; \
11463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11465 "RANLIB=$${RANLIB}" \
11466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11472 .PHONY: maybe-clean-ld clean-ld
11475 maybe-clean-ld: clean-ld
11478 @[ -f ./ld/Makefile ] || exit 0; \
11479 r=`${PWD_COMMAND}`; export r; \
11480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11482 for flag in $(EXTRA_HOST_FLAGS); do \
11483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11485 echo "Doing clean in ld" ; \
11487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11489 "RANLIB=$${RANLIB}" \
11490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11496 .PHONY: maybe-distclean-ld distclean-ld
11497 maybe-distclean-ld:
11499 maybe-distclean-ld: distclean-ld
11502 @[ -f ./ld/Makefile ] || exit 0; \
11503 r=`${PWD_COMMAND}`; export r; \
11504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11506 for flag in $(EXTRA_HOST_FLAGS); do \
11507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11509 echo "Doing distclean in ld" ; \
11511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11513 "RANLIB=$${RANLIB}" \
11514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11520 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
11521 maybe-maintainer-clean-ld:
11523 maybe-maintainer-clean-ld: maintainer-clean-ld
11525 maintainer-clean-ld:
11526 @[ -f ./ld/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 maintainer-clean in ld" ; \
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}" \
11539 maintainer-clean) \
11545 .PHONY: configure-libgui maybe-configure-libgui
11546 maybe-configure-libgui:
11548 maybe-configure-libgui: configure-libgui
11550 @test ! -f libgui/Makefile || exit 0; \
11551 [ -d libgui ] || mkdir libgui; \
11552 r=`${PWD_COMMAND}`; export r; \
11553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11554 CC="$(CC)"; export CC; \
11555 CFLAGS="$(CFLAGS)"; export CFLAGS; \
11556 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
11557 CXX="$(CXX)"; export CXX; \
11558 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
11559 AR="$(AR)"; export AR; \
11560 AS="$(AS)"; export AS; \
11561 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
11562 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
11563 LD="$(LD)"; export LD; \
11564 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
11565 NM="$(NM)"; export NM; \
11566 RANLIB="$(RANLIB)"; export RANLIB; \
11567 WINDRES="$(WINDRES)"; export WINDRES; \
11568 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
11569 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
11570 echo Configuring in libgui; \
11571 cd libgui || exit 1; \
11572 case $(srcdir) in \
11574 srcdiroption="--srcdir=."; \
11576 /* | [A-Za-z]:[\\/]*) \
11577 srcdiroption="--srcdir=$(srcdir)/libgui"; \
11578 libsrcdir="$$s/libgui";; \
11580 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
11581 libsrcdir="$$s/libgui";; \
11583 $(SHELL) $${libsrcdir}/configure \
11584 $(HOST_CONFIGARGS) $${srcdiroption} \
11588 .PHONY: all-libgui maybe-all-libgui
11591 maybe-all-libgui: all-libgui
11592 all-libgui: configure-libgui
11593 @r=`${PWD_COMMAND}`; export r; \
11594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11596 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) all)
11599 .PHONY: check-libgui maybe-check-libgui
11600 maybe-check-libgui:
11602 maybe-check-libgui: check-libgui
11605 @r=`${PWD_COMMAND}`; export r; \
11606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11608 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
11612 .PHONY: install-libgui maybe-install-libgui
11613 maybe-install-libgui:
11615 maybe-install-libgui: install-libgui
11617 install-libgui: installdirs
11618 @r=`${PWD_COMMAND}`; export r; \
11619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11621 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
11625 # Other targets (info, dvi, etc.)
11627 .PHONY: maybe-info-libgui info-libgui
11630 maybe-info-libgui: info-libgui
11634 @[ -f ./libgui/Makefile ] || exit 0; \
11635 r=`${PWD_COMMAND}`; export r; \
11636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11638 for flag in $(EXTRA_HOST_FLAGS); do \
11639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11641 echo "Doing info in libgui" ; \
11643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11645 "RANLIB=$${RANLIB}" \
11646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11652 .PHONY: maybe-dvi-libgui dvi-libgui
11655 maybe-dvi-libgui: dvi-libgui
11659 @[ -f ./libgui/Makefile ] || exit 0; \
11660 r=`${PWD_COMMAND}`; export r; \
11661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11663 for flag in $(EXTRA_HOST_FLAGS); do \
11664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11666 echo "Doing dvi in libgui" ; \
11668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11670 "RANLIB=$${RANLIB}" \
11671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11677 .PHONY: maybe-TAGS-libgui TAGS-libgui
11680 maybe-TAGS-libgui: TAGS-libgui
11684 @[ -f ./libgui/Makefile ] || exit 0; \
11685 r=`${PWD_COMMAND}`; export r; \
11686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11688 for flag in $(EXTRA_HOST_FLAGS); do \
11689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11691 echo "Doing TAGS in libgui" ; \
11693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11695 "RANLIB=$${RANLIB}" \
11696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11702 .PHONY: maybe-install-info-libgui install-info-libgui
11703 maybe-install-info-libgui:
11705 maybe-install-info-libgui: install-info-libgui
11707 install-info-libgui: \
11710 @[ -f ./libgui/Makefile ] || exit 0; \
11711 r=`${PWD_COMMAND}`; export r; \
11712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11714 for flag in $(EXTRA_HOST_FLAGS); do \
11715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11717 echo "Doing install-info in libgui" ; \
11719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11721 "RANLIB=$${RANLIB}" \
11722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11728 .PHONY: maybe-installcheck-libgui installcheck-libgui
11729 maybe-installcheck-libgui:
11731 maybe-installcheck-libgui: installcheck-libgui
11733 installcheck-libgui: \
11735 @[ -f ./libgui/Makefile ] || exit 0; \
11736 r=`${PWD_COMMAND}`; export r; \
11737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11739 for flag in $(EXTRA_HOST_FLAGS); do \
11740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11742 echo "Doing installcheck in libgui" ; \
11744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11746 "RANLIB=$${RANLIB}" \
11747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11753 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
11754 maybe-mostlyclean-libgui:
11756 maybe-mostlyclean-libgui: mostlyclean-libgui
11758 mostlyclean-libgui:
11759 @[ -f ./libgui/Makefile ] || exit 0; \
11760 r=`${PWD_COMMAND}`; export r; \
11761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11763 for flag in $(EXTRA_HOST_FLAGS); do \
11764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11766 echo "Doing mostlyclean in libgui" ; \
11768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11770 "RANLIB=$${RANLIB}" \
11771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11777 .PHONY: maybe-clean-libgui clean-libgui
11778 maybe-clean-libgui:
11780 maybe-clean-libgui: clean-libgui
11783 @[ -f ./libgui/Makefile ] || exit 0; \
11784 r=`${PWD_COMMAND}`; export r; \
11785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11787 for flag in $(EXTRA_HOST_FLAGS); do \
11788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11790 echo "Doing clean in libgui" ; \
11792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11794 "RANLIB=$${RANLIB}" \
11795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11801 .PHONY: maybe-distclean-libgui distclean-libgui
11802 maybe-distclean-libgui:
11804 maybe-distclean-libgui: distclean-libgui
11807 @[ -f ./libgui/Makefile ] || exit 0; \
11808 r=`${PWD_COMMAND}`; export r; \
11809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11811 for flag in $(EXTRA_HOST_FLAGS); do \
11812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11814 echo "Doing distclean in libgui" ; \
11816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11818 "RANLIB=$${RANLIB}" \
11819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11825 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
11826 maybe-maintainer-clean-libgui:
11828 maybe-maintainer-clean-libgui: maintainer-clean-libgui
11830 maintainer-clean-libgui:
11831 @[ -f ./libgui/Makefile ] || exit 0; \
11832 r=`${PWD_COMMAND}`; export r; \
11833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11835 for flag in $(EXTRA_HOST_FLAGS); do \
11836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11838 echo "Doing maintainer-clean in libgui" ; \
11840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11842 "RANLIB=$${RANLIB}" \
11843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11844 maintainer-clean) \
11850 .PHONY: configure-libbanshee maybe-configure-libbanshee
11851 maybe-configure-libbanshee:
11853 maybe-configure-libbanshee: configure-libbanshee
11854 configure-libbanshee:
11855 @test ! -f libbanshee/Makefile || exit 0; \
11856 [ -d libbanshee ] || mkdir libbanshee; \
11857 r=`${PWD_COMMAND}`; export r; \
11858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11859 CC="$(CC)"; export CC; \
11860 CFLAGS="$(CFLAGS)"; export CFLAGS; \
11861 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
11862 CXX="$(CXX)"; export CXX; \
11863 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
11864 AR="$(AR)"; export AR; \
11865 AS="$(AS)"; export AS; \
11866 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
11867 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
11868 LD="$(LD)"; export LD; \
11869 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
11870 NM="$(NM)"; export NM; \
11871 RANLIB="$(RANLIB)"; export RANLIB; \
11872 WINDRES="$(WINDRES)"; export WINDRES; \
11873 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
11874 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
11875 echo Configuring in libbanshee; \
11876 cd libbanshee || exit 1; \
11877 case $(srcdir) in \
11879 srcdiroption="--srcdir=."; \
11881 /* | [A-Za-z]:[\\/]*) \
11882 srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
11883 libsrcdir="$$s/libbanshee";; \
11885 srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
11886 libsrcdir="$$s/libbanshee";; \
11888 $(SHELL) $${libsrcdir}/configure \
11889 $(HOST_CONFIGARGS) $${srcdiroption} \
11893 .PHONY: all-libbanshee maybe-all-libbanshee
11894 maybe-all-libbanshee:
11896 maybe-all-libbanshee: all-libbanshee
11897 all-libbanshee: configure-libbanshee
11898 @r=`${PWD_COMMAND}`; export r; \
11899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11901 (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS) all)
11904 .PHONY: check-libbanshee maybe-check-libbanshee
11905 maybe-check-libbanshee:
11907 maybe-check-libbanshee: check-libbanshee
11910 @r=`${PWD_COMMAND}`; export r; \
11911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11913 (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS) check)
11917 .PHONY: install-libbanshee maybe-install-libbanshee
11918 maybe-install-libbanshee:
11920 maybe-install-libbanshee: install-libbanshee
11922 install-libbanshee:
11926 # Other targets (info, dvi, etc.)
11928 .PHONY: maybe-info-libbanshee info-libbanshee
11929 maybe-info-libbanshee:
11931 maybe-info-libbanshee: info-libbanshee
11934 configure-libbanshee
11935 @[ -f ./libbanshee/Makefile ] || exit 0; \
11936 r=`${PWD_COMMAND}`; export r; \
11937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11939 for flag in $(EXTRA_HOST_FLAGS); do \
11940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11942 echo "Doing info in libbanshee" ; \
11943 (cd libbanshee && \
11944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11946 "RANLIB=$${RANLIB}" \
11947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11953 .PHONY: maybe-dvi-libbanshee dvi-libbanshee
11954 maybe-dvi-libbanshee:
11956 maybe-dvi-libbanshee: dvi-libbanshee
11959 configure-libbanshee
11960 @[ -f ./libbanshee/Makefile ] || exit 0; \
11961 r=`${PWD_COMMAND}`; export r; \
11962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11964 for flag in $(EXTRA_HOST_FLAGS); do \
11965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11967 echo "Doing dvi in libbanshee" ; \
11968 (cd libbanshee && \
11969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11971 "RANLIB=$${RANLIB}" \
11972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11978 .PHONY: maybe-TAGS-libbanshee TAGS-libbanshee
11979 maybe-TAGS-libbanshee:
11981 maybe-TAGS-libbanshee: TAGS-libbanshee
11984 configure-libbanshee
11985 @[ -f ./libbanshee/Makefile ] || exit 0; \
11986 r=`${PWD_COMMAND}`; export r; \
11987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11989 for flag in $(EXTRA_HOST_FLAGS); do \
11990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11992 echo "Doing TAGS in libbanshee" ; \
11993 (cd libbanshee && \
11994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11996 "RANLIB=$${RANLIB}" \
11997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12003 .PHONY: maybe-install-info-libbanshee install-info-libbanshee
12004 maybe-install-info-libbanshee:
12006 maybe-install-info-libbanshee: install-info-libbanshee
12008 install-info-libbanshee: \
12009 configure-libbanshee \
12011 @[ -f ./libbanshee/Makefile ] || exit 0; \
12012 r=`${PWD_COMMAND}`; export r; \
12013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12015 for flag in $(EXTRA_HOST_FLAGS); do \
12016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12018 echo "Doing install-info in libbanshee" ; \
12019 (cd libbanshee && \
12020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12022 "RANLIB=$${RANLIB}" \
12023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12029 .PHONY: maybe-installcheck-libbanshee installcheck-libbanshee
12030 maybe-installcheck-libbanshee:
12032 maybe-installcheck-libbanshee: installcheck-libbanshee
12034 installcheck-libbanshee: \
12035 configure-libbanshee
12036 @[ -f ./libbanshee/Makefile ] || exit 0; \
12037 r=`${PWD_COMMAND}`; export r; \
12038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12040 for flag in $(EXTRA_HOST_FLAGS); do \
12041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12043 echo "Doing installcheck in libbanshee" ; \
12044 (cd libbanshee && \
12045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12047 "RANLIB=$${RANLIB}" \
12048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12054 .PHONY: maybe-mostlyclean-libbanshee mostlyclean-libbanshee
12055 maybe-mostlyclean-libbanshee:
12057 maybe-mostlyclean-libbanshee: mostlyclean-libbanshee
12059 mostlyclean-libbanshee:
12060 @[ -f ./libbanshee/Makefile ] || exit 0; \
12061 r=`${PWD_COMMAND}`; export r; \
12062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12064 for flag in $(EXTRA_HOST_FLAGS); do \
12065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12067 echo "Doing mostlyclean in libbanshee" ; \
12068 (cd libbanshee && \
12069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12071 "RANLIB=$${RANLIB}" \
12072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12078 .PHONY: maybe-clean-libbanshee clean-libbanshee
12079 maybe-clean-libbanshee:
12081 maybe-clean-libbanshee: clean-libbanshee
12084 @[ -f ./libbanshee/Makefile ] || exit 0; \
12085 r=`${PWD_COMMAND}`; export r; \
12086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12088 for flag in $(EXTRA_HOST_FLAGS); do \
12089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12091 echo "Doing clean in libbanshee" ; \
12092 (cd libbanshee && \
12093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12095 "RANLIB=$${RANLIB}" \
12096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12102 .PHONY: maybe-distclean-libbanshee distclean-libbanshee
12103 maybe-distclean-libbanshee:
12105 maybe-distclean-libbanshee: distclean-libbanshee
12107 distclean-libbanshee:
12108 @[ -f ./libbanshee/Makefile ] || exit 0; \
12109 r=`${PWD_COMMAND}`; export r; \
12110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12112 for flag in $(EXTRA_HOST_FLAGS); do \
12113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12115 echo "Doing distclean in libbanshee" ; \
12116 (cd libbanshee && \
12117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12119 "RANLIB=$${RANLIB}" \
12120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12126 .PHONY: maybe-maintainer-clean-libbanshee maintainer-clean-libbanshee
12127 maybe-maintainer-clean-libbanshee:
12129 maybe-maintainer-clean-libbanshee: maintainer-clean-libbanshee
12131 maintainer-clean-libbanshee:
12132 @[ -f ./libbanshee/Makefile ] || exit 0; \
12133 r=`${PWD_COMMAND}`; export r; \
12134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12136 for flag in $(EXTRA_HOST_FLAGS); do \
12137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12139 echo "Doing maintainer-clean in libbanshee" ; \
12140 (cd libbanshee && \
12141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12143 "RANLIB=$${RANLIB}" \
12144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12145 maintainer-clean) \
12151 .PHONY: configure-libiberty maybe-configure-libiberty
12152 maybe-configure-libiberty:
12154 maybe-configure-libiberty: configure-libiberty
12155 configure-libiberty:
12156 @test ! -f libiberty/Makefile || exit 0; \
12157 [ -d libiberty ] || mkdir libiberty; \
12158 r=`${PWD_COMMAND}`; export r; \
12159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12160 CC="$(CC)"; export CC; \
12161 CFLAGS="$(CFLAGS)"; export CFLAGS; \
12162 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
12163 CXX="$(CXX)"; export CXX; \
12164 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
12165 AR="$(AR)"; export AR; \
12166 AS="$(AS)"; export AS; \
12167 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
12168 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
12169 LD="$(LD)"; export LD; \
12170 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
12171 NM="$(NM)"; export NM; \
12172 RANLIB="$(RANLIB)"; export RANLIB; \
12173 WINDRES="$(WINDRES)"; export WINDRES; \
12174 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
12175 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
12176 echo Configuring in libiberty; \
12177 cd libiberty || exit 1; \
12178 case $(srcdir) in \
12180 srcdiroption="--srcdir=."; \
12182 /* | [A-Za-z]:[\\/]*) \
12183 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
12184 libsrcdir="$$s/libiberty";; \
12186 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
12187 libsrcdir="$$s/libiberty";; \
12189 $(SHELL) $${libsrcdir}/configure \
12190 $(HOST_CONFIGARGS) $${srcdiroption} \
12194 .PHONY: all-libiberty maybe-all-libiberty
12195 maybe-all-libiberty:
12197 maybe-all-libiberty: all-libiberty
12198 all-libiberty: configure-libiberty
12199 @r=`${PWD_COMMAND}`; export r; \
12200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12202 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) all)
12205 .PHONY: check-libiberty maybe-check-libiberty
12206 maybe-check-libiberty:
12208 maybe-check-libiberty: check-libiberty
12211 @r=`${PWD_COMMAND}`; export r; \
12212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12214 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
12218 .PHONY: install-libiberty maybe-install-libiberty
12219 maybe-install-libiberty:
12221 maybe-install-libiberty: install-libiberty
12223 install-libiberty: installdirs
12224 @r=`${PWD_COMMAND}`; export r; \
12225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12227 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
12231 # Other targets (info, dvi, etc.)
12233 .PHONY: maybe-info-libiberty info-libiberty
12234 maybe-info-libiberty:
12236 maybe-info-libiberty: info-libiberty
12239 configure-libiberty
12240 @[ -f ./libiberty/Makefile ] || exit 0; \
12241 r=`${PWD_COMMAND}`; export r; \
12242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12244 for flag in $(EXTRA_HOST_FLAGS); do \
12245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12247 echo "Doing info in libiberty" ; \
12249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12251 "RANLIB=$${RANLIB}" \
12252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12258 .PHONY: maybe-dvi-libiberty dvi-libiberty
12259 maybe-dvi-libiberty:
12261 maybe-dvi-libiberty: dvi-libiberty
12264 configure-libiberty
12265 @[ -f ./libiberty/Makefile ] || exit 0; \
12266 r=`${PWD_COMMAND}`; export r; \
12267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12269 for flag in $(EXTRA_HOST_FLAGS); do \
12270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12272 echo "Doing dvi in libiberty" ; \
12274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12276 "RANLIB=$${RANLIB}" \
12277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12283 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
12284 maybe-TAGS-libiberty:
12286 maybe-TAGS-libiberty: TAGS-libiberty
12289 configure-libiberty
12290 @[ -f ./libiberty/Makefile ] || exit 0; \
12291 r=`${PWD_COMMAND}`; export r; \
12292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12294 for flag in $(EXTRA_HOST_FLAGS); do \
12295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12297 echo "Doing TAGS in libiberty" ; \
12299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12301 "RANLIB=$${RANLIB}" \
12302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12308 .PHONY: maybe-install-info-libiberty install-info-libiberty
12309 maybe-install-info-libiberty:
12311 maybe-install-info-libiberty: install-info-libiberty
12313 install-info-libiberty: \
12314 configure-libiberty \
12316 @[ -f ./libiberty/Makefile ] || exit 0; \
12317 r=`${PWD_COMMAND}`; export r; \
12318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12320 for flag in $(EXTRA_HOST_FLAGS); do \
12321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12323 echo "Doing install-info in libiberty" ; \
12325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12327 "RANLIB=$${RANLIB}" \
12328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12334 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
12335 maybe-installcheck-libiberty:
12337 maybe-installcheck-libiberty: installcheck-libiberty
12339 installcheck-libiberty: \
12340 configure-libiberty
12341 @[ -f ./libiberty/Makefile ] || exit 0; \
12342 r=`${PWD_COMMAND}`; export r; \
12343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12345 for flag in $(EXTRA_HOST_FLAGS); do \
12346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12348 echo "Doing installcheck in libiberty" ; \
12350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12352 "RANLIB=$${RANLIB}" \
12353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12359 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
12360 maybe-mostlyclean-libiberty:
12362 maybe-mostlyclean-libiberty: mostlyclean-libiberty
12364 mostlyclean-libiberty:
12365 @[ -f ./libiberty/Makefile ] || exit 0; \
12366 r=`${PWD_COMMAND}`; export r; \
12367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12369 for flag in $(EXTRA_HOST_FLAGS); do \
12370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12372 echo "Doing mostlyclean in libiberty" ; \
12374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12376 "RANLIB=$${RANLIB}" \
12377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12383 .PHONY: maybe-clean-libiberty clean-libiberty
12384 maybe-clean-libiberty:
12386 maybe-clean-libiberty: clean-libiberty
12389 @[ -f ./libiberty/Makefile ] || exit 0; \
12390 r=`${PWD_COMMAND}`; export r; \
12391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12393 for flag in $(EXTRA_HOST_FLAGS); do \
12394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12396 echo "Doing clean in libiberty" ; \
12398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12400 "RANLIB=$${RANLIB}" \
12401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12407 .PHONY: maybe-distclean-libiberty distclean-libiberty
12408 maybe-distclean-libiberty:
12410 maybe-distclean-libiberty: distclean-libiberty
12412 distclean-libiberty:
12413 @[ -f ./libiberty/Makefile ] || exit 0; \
12414 r=`${PWD_COMMAND}`; export r; \
12415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12417 for flag in $(EXTRA_HOST_FLAGS); do \
12418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12420 echo "Doing distclean in libiberty" ; \
12422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12424 "RANLIB=$${RANLIB}" \
12425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12431 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
12432 maybe-maintainer-clean-libiberty:
12434 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
12436 maintainer-clean-libiberty:
12437 @[ -f ./libiberty/Makefile ] || exit 0; \
12438 r=`${PWD_COMMAND}`; export r; \
12439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12441 for flag in $(EXTRA_HOST_FLAGS); do \
12442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12444 echo "Doing maintainer-clean in libiberty" ; \
12446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12448 "RANLIB=$${RANLIB}" \
12449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12450 maintainer-clean) \
12456 .PHONY: configure-libtool maybe-configure-libtool
12457 maybe-configure-libtool:
12459 maybe-configure-libtool: configure-libtool
12461 @test ! -f libtool/Makefile || exit 0; \
12462 [ -d libtool ] || mkdir libtool; \
12463 r=`${PWD_COMMAND}`; export r; \
12464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12465 CC="$(CC)"; export CC; \
12466 CFLAGS="$(CFLAGS)"; export CFLAGS; \
12467 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
12468 CXX="$(CXX)"; export CXX; \
12469 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
12470 AR="$(AR)"; export AR; \
12471 AS="$(AS)"; export AS; \
12472 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
12473 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
12474 LD="$(LD)"; export LD; \
12475 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
12476 NM="$(NM)"; export NM; \
12477 RANLIB="$(RANLIB)"; export RANLIB; \
12478 WINDRES="$(WINDRES)"; export WINDRES; \
12479 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
12480 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
12481 echo Configuring in libtool; \
12482 cd libtool || exit 1; \
12483 case $(srcdir) in \
12485 srcdiroption="--srcdir=."; \
12487 /* | [A-Za-z]:[\\/]*) \
12488 srcdiroption="--srcdir=$(srcdir)/libtool"; \
12489 libsrcdir="$$s/libtool";; \
12491 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
12492 libsrcdir="$$s/libtool";; \
12494 $(SHELL) $${libsrcdir}/configure \
12495 $(HOST_CONFIGARGS) $${srcdiroption} \
12499 .PHONY: all-libtool maybe-all-libtool
12502 maybe-all-libtool: all-libtool
12503 all-libtool: configure-libtool
12504 @r=`${PWD_COMMAND}`; export r; \
12505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12507 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) all)
12510 .PHONY: check-libtool maybe-check-libtool
12511 maybe-check-libtool:
12513 maybe-check-libtool: check-libtool
12516 @r=`${PWD_COMMAND}`; export r; \
12517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12519 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
12523 .PHONY: install-libtool maybe-install-libtool
12524 maybe-install-libtool:
12526 maybe-install-libtool: install-libtool
12528 install-libtool: installdirs
12529 @r=`${PWD_COMMAND}`; export r; \
12530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12532 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
12536 # Other targets (info, dvi, etc.)
12538 .PHONY: maybe-info-libtool info-libtool
12539 maybe-info-libtool:
12541 maybe-info-libtool: info-libtool
12545 @[ -f ./libtool/Makefile ] || exit 0; \
12546 r=`${PWD_COMMAND}`; export r; \
12547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12549 for flag in $(EXTRA_HOST_FLAGS); do \
12550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12552 echo "Doing info in libtool" ; \
12554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12556 "RANLIB=$${RANLIB}" \
12557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12563 .PHONY: maybe-dvi-libtool dvi-libtool
12566 maybe-dvi-libtool: dvi-libtool
12570 @[ -f ./libtool/Makefile ] || exit 0; \
12571 r=`${PWD_COMMAND}`; export r; \
12572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12574 for flag in $(EXTRA_HOST_FLAGS); do \
12575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12577 echo "Doing dvi in libtool" ; \
12579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12581 "RANLIB=$${RANLIB}" \
12582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12588 .PHONY: maybe-TAGS-libtool TAGS-libtool
12589 maybe-TAGS-libtool:
12591 maybe-TAGS-libtool: TAGS-libtool
12595 @[ -f ./libtool/Makefile ] || exit 0; \
12596 r=`${PWD_COMMAND}`; export r; \
12597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12599 for flag in $(EXTRA_HOST_FLAGS); do \
12600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12602 echo "Doing TAGS in libtool" ; \
12604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12606 "RANLIB=$${RANLIB}" \
12607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12613 .PHONY: maybe-install-info-libtool install-info-libtool
12614 maybe-install-info-libtool:
12616 maybe-install-info-libtool: install-info-libtool
12618 install-info-libtool: \
12619 configure-libtool \
12621 @[ -f ./libtool/Makefile ] || exit 0; \
12622 r=`${PWD_COMMAND}`; export r; \
12623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12625 for flag in $(EXTRA_HOST_FLAGS); do \
12626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12628 echo "Doing install-info in libtool" ; \
12630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12632 "RANLIB=$${RANLIB}" \
12633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12639 .PHONY: maybe-installcheck-libtool installcheck-libtool
12640 maybe-installcheck-libtool:
12642 maybe-installcheck-libtool: installcheck-libtool
12644 installcheck-libtool: \
12646 @[ -f ./libtool/Makefile ] || exit 0; \
12647 r=`${PWD_COMMAND}`; export r; \
12648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12650 for flag in $(EXTRA_HOST_FLAGS); do \
12651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12653 echo "Doing installcheck in libtool" ; \
12655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12657 "RANLIB=$${RANLIB}" \
12658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12664 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
12665 maybe-mostlyclean-libtool:
12667 maybe-mostlyclean-libtool: mostlyclean-libtool
12669 mostlyclean-libtool:
12670 @[ -f ./libtool/Makefile ] || exit 0; \
12671 r=`${PWD_COMMAND}`; export r; \
12672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12674 for flag in $(EXTRA_HOST_FLAGS); do \
12675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12677 echo "Doing mostlyclean in libtool" ; \
12679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12681 "RANLIB=$${RANLIB}" \
12682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12688 .PHONY: maybe-clean-libtool clean-libtool
12689 maybe-clean-libtool:
12691 maybe-clean-libtool: clean-libtool
12694 @[ -f ./libtool/Makefile ] || exit 0; \
12695 r=`${PWD_COMMAND}`; export r; \
12696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12698 for flag in $(EXTRA_HOST_FLAGS); do \
12699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12701 echo "Doing clean in libtool" ; \
12703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12705 "RANLIB=$${RANLIB}" \
12706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12712 .PHONY: maybe-distclean-libtool distclean-libtool
12713 maybe-distclean-libtool:
12715 maybe-distclean-libtool: distclean-libtool
12718 @[ -f ./libtool/Makefile ] || exit 0; \
12719 r=`${PWD_COMMAND}`; export r; \
12720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12722 for flag in $(EXTRA_HOST_FLAGS); do \
12723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12725 echo "Doing distclean in libtool" ; \
12727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12729 "RANLIB=$${RANLIB}" \
12730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12736 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
12737 maybe-maintainer-clean-libtool:
12739 maybe-maintainer-clean-libtool: maintainer-clean-libtool
12741 maintainer-clean-libtool:
12742 @[ -f ./libtool/Makefile ] || exit 0; \
12743 r=`${PWD_COMMAND}`; export r; \
12744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12746 for flag in $(EXTRA_HOST_FLAGS); do \
12747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12749 echo "Doing maintainer-clean in libtool" ; \
12751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12753 "RANLIB=$${RANLIB}" \
12754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12755 maintainer-clean) \
12761 .PHONY: configure-m4 maybe-configure-m4
12762 maybe-configure-m4:
12764 maybe-configure-m4: configure-m4
12766 @test ! -f m4/Makefile || exit 0; \
12767 [ -d m4 ] || mkdir m4; \
12768 r=`${PWD_COMMAND}`; export r; \
12769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12770 CC="$(CC)"; export CC; \
12771 CFLAGS="$(CFLAGS)"; export CFLAGS; \
12772 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
12773 CXX="$(CXX)"; export CXX; \
12774 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
12775 AR="$(AR)"; export AR; \
12776 AS="$(AS)"; export AS; \
12777 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
12778 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
12779 LD="$(LD)"; export LD; \
12780 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
12781 NM="$(NM)"; export NM; \
12782 RANLIB="$(RANLIB)"; export RANLIB; \
12783 WINDRES="$(WINDRES)"; export WINDRES; \
12784 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
12785 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
12786 echo Configuring in m4; \
12788 case $(srcdir) in \
12790 srcdiroption="--srcdir=."; \
12792 /* | [A-Za-z]:[\\/]*) \
12793 srcdiroption="--srcdir=$(srcdir)/m4"; \
12794 libsrcdir="$$s/m4";; \
12796 srcdiroption="--srcdir=../$(srcdir)/m4"; \
12797 libsrcdir="$$s/m4";; \
12799 $(SHELL) $${libsrcdir}/configure \
12800 $(HOST_CONFIGARGS) $${srcdiroption} \
12804 .PHONY: all-m4 maybe-all-m4
12807 maybe-all-m4: all-m4
12808 all-m4: configure-m4
12809 @r=`${PWD_COMMAND}`; export r; \
12810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12812 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) all)
12815 .PHONY: check-m4 maybe-check-m4
12818 maybe-check-m4: check-m4
12821 @r=`${PWD_COMMAND}`; export r; \
12822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12824 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
12828 .PHONY: install-m4 maybe-install-m4
12831 maybe-install-m4: install-m4
12833 install-m4: installdirs
12834 @r=`${PWD_COMMAND}`; export r; \
12835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12837 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
12841 # Other targets (info, dvi, etc.)
12843 .PHONY: maybe-info-m4 info-m4
12846 maybe-info-m4: info-m4
12850 @[ -f ./m4/Makefile ] || exit 0; \
12851 r=`${PWD_COMMAND}`; export r; \
12852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12854 for flag in $(EXTRA_HOST_FLAGS); do \
12855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12857 echo "Doing info in m4" ; \
12859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12861 "RANLIB=$${RANLIB}" \
12862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12868 .PHONY: maybe-dvi-m4 dvi-m4
12871 maybe-dvi-m4: dvi-m4
12875 @[ -f ./m4/Makefile ] || exit 0; \
12876 r=`${PWD_COMMAND}`; export r; \
12877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12879 for flag in $(EXTRA_HOST_FLAGS); do \
12880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12882 echo "Doing dvi in m4" ; \
12884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12886 "RANLIB=$${RANLIB}" \
12887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12893 .PHONY: maybe-TAGS-m4 TAGS-m4
12896 maybe-TAGS-m4: TAGS-m4
12900 @[ -f ./m4/Makefile ] || exit 0; \
12901 r=`${PWD_COMMAND}`; export r; \
12902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12904 for flag in $(EXTRA_HOST_FLAGS); do \
12905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12907 echo "Doing TAGS in m4" ; \
12909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12911 "RANLIB=$${RANLIB}" \
12912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12918 .PHONY: maybe-install-info-m4 install-info-m4
12919 maybe-install-info-m4:
12921 maybe-install-info-m4: install-info-m4
12926 @[ -f ./m4/Makefile ] || exit 0; \
12927 r=`${PWD_COMMAND}`; export r; \
12928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12930 for flag in $(EXTRA_HOST_FLAGS); do \
12931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12933 echo "Doing install-info in m4" ; \
12935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12937 "RANLIB=$${RANLIB}" \
12938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12944 .PHONY: maybe-installcheck-m4 installcheck-m4
12945 maybe-installcheck-m4:
12947 maybe-installcheck-m4: installcheck-m4
12951 @[ -f ./m4/Makefile ] || exit 0; \
12952 r=`${PWD_COMMAND}`; export r; \
12953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12955 for flag in $(EXTRA_HOST_FLAGS); do \
12956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12958 echo "Doing installcheck in m4" ; \
12960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12962 "RANLIB=$${RANLIB}" \
12963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12969 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
12970 maybe-mostlyclean-m4:
12972 maybe-mostlyclean-m4: mostlyclean-m4
12975 @[ -f ./m4/Makefile ] || exit 0; \
12976 r=`${PWD_COMMAND}`; export r; \
12977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12979 for flag in $(EXTRA_HOST_FLAGS); do \
12980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12982 echo "Doing mostlyclean in m4" ; \
12984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12986 "RANLIB=$${RANLIB}" \
12987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12993 .PHONY: maybe-clean-m4 clean-m4
12996 maybe-clean-m4: clean-m4
12999 @[ -f ./m4/Makefile ] || exit 0; \
13000 r=`${PWD_COMMAND}`; export r; \
13001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13003 for flag in $(EXTRA_HOST_FLAGS); do \
13004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13006 echo "Doing clean in m4" ; \
13008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13010 "RANLIB=$${RANLIB}" \
13011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13017 .PHONY: maybe-distclean-m4 distclean-m4
13018 maybe-distclean-m4:
13020 maybe-distclean-m4: distclean-m4
13023 @[ -f ./m4/Makefile ] || exit 0; \
13024 r=`${PWD_COMMAND}`; export r; \
13025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13027 for flag in $(EXTRA_HOST_FLAGS); do \
13028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13030 echo "Doing distclean in m4" ; \
13032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13034 "RANLIB=$${RANLIB}" \
13035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13041 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
13042 maybe-maintainer-clean-m4:
13044 maybe-maintainer-clean-m4: maintainer-clean-m4
13046 maintainer-clean-m4:
13047 @[ -f ./m4/Makefile ] || exit 0; \
13048 r=`${PWD_COMMAND}`; export r; \
13049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13051 for flag in $(EXTRA_HOST_FLAGS); do \
13052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13054 echo "Doing maintainer-clean in m4" ; \
13056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13058 "RANLIB=$${RANLIB}" \
13059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13060 maintainer-clean) \
13066 .PHONY: configure-make maybe-configure-make
13067 maybe-configure-make:
13069 maybe-configure-make: configure-make
13071 @test ! -f make/Makefile || exit 0; \
13072 [ -d make ] || mkdir make; \
13073 r=`${PWD_COMMAND}`; export r; \
13074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13075 CC="$(CC)"; export CC; \
13076 CFLAGS="$(CFLAGS)"; export CFLAGS; \
13077 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
13078 CXX="$(CXX)"; export CXX; \
13079 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
13080 AR="$(AR)"; export AR; \
13081 AS="$(AS)"; export AS; \
13082 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
13083 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
13084 LD="$(LD)"; export LD; \
13085 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
13086 NM="$(NM)"; export NM; \
13087 RANLIB="$(RANLIB)"; export RANLIB; \
13088 WINDRES="$(WINDRES)"; export WINDRES; \
13089 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
13090 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
13091 echo Configuring in make; \
13092 cd make || exit 1; \
13093 case $(srcdir) in \
13095 srcdiroption="--srcdir=."; \
13097 /* | [A-Za-z]:[\\/]*) \
13098 srcdiroption="--srcdir=$(srcdir)/make"; \
13099 libsrcdir="$$s/make";; \
13101 srcdiroption="--srcdir=../$(srcdir)/make"; \
13102 libsrcdir="$$s/make";; \
13104 $(SHELL) $${libsrcdir}/configure \
13105 $(HOST_CONFIGARGS) $${srcdiroption} \
13109 .PHONY: all-make maybe-all-make
13112 maybe-all-make: all-make
13113 all-make: configure-make
13114 @r=`${PWD_COMMAND}`; export r; \
13115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13117 (cd make && $(MAKE) $(FLAGS_TO_PASS) all)
13120 .PHONY: check-make maybe-check-make
13123 maybe-check-make: check-make
13126 @r=`${PWD_COMMAND}`; export r; \
13127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13129 (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
13133 .PHONY: install-make maybe-install-make
13134 maybe-install-make:
13136 maybe-install-make: install-make
13138 install-make: installdirs
13139 @r=`${PWD_COMMAND}`; export r; \
13140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13142 (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
13146 # Other targets (info, dvi, etc.)
13148 .PHONY: maybe-info-make info-make
13151 maybe-info-make: info-make
13155 @[ -f ./make/Makefile ] || exit 0; \
13156 r=`${PWD_COMMAND}`; export r; \
13157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13159 for flag in $(EXTRA_HOST_FLAGS); do \
13160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13162 echo "Doing info in make" ; \
13164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13166 "RANLIB=$${RANLIB}" \
13167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13173 .PHONY: maybe-dvi-make dvi-make
13176 maybe-dvi-make: dvi-make
13180 @[ -f ./make/Makefile ] || exit 0; \
13181 r=`${PWD_COMMAND}`; export r; \
13182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13184 for flag in $(EXTRA_HOST_FLAGS); do \
13185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13187 echo "Doing dvi in make" ; \
13189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13191 "RANLIB=$${RANLIB}" \
13192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13198 .PHONY: maybe-TAGS-make TAGS-make
13201 maybe-TAGS-make: TAGS-make
13205 @[ -f ./make/Makefile ] || exit 0; \
13206 r=`${PWD_COMMAND}`; export r; \
13207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13209 for flag in $(EXTRA_HOST_FLAGS); do \
13210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13212 echo "Doing TAGS in make" ; \
13214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13216 "RANLIB=$${RANLIB}" \
13217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13223 .PHONY: maybe-install-info-make install-info-make
13224 maybe-install-info-make:
13226 maybe-install-info-make: install-info-make
13228 install-info-make: \
13231 @[ -f ./make/Makefile ] || exit 0; \
13232 r=`${PWD_COMMAND}`; export r; \
13233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13235 for flag in $(EXTRA_HOST_FLAGS); do \
13236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13238 echo "Doing install-info in make" ; \
13240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13242 "RANLIB=$${RANLIB}" \
13243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13249 .PHONY: maybe-installcheck-make installcheck-make
13250 maybe-installcheck-make:
13252 maybe-installcheck-make: installcheck-make
13254 installcheck-make: \
13256 @[ -f ./make/Makefile ] || exit 0; \
13257 r=`${PWD_COMMAND}`; export r; \
13258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13260 for flag in $(EXTRA_HOST_FLAGS); do \
13261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13263 echo "Doing installcheck in make" ; \
13265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13267 "RANLIB=$${RANLIB}" \
13268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13274 .PHONY: maybe-mostlyclean-make mostlyclean-make
13275 maybe-mostlyclean-make:
13277 maybe-mostlyclean-make: mostlyclean-make
13280 @[ -f ./make/Makefile ] || exit 0; \
13281 r=`${PWD_COMMAND}`; export r; \
13282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13284 for flag in $(EXTRA_HOST_FLAGS); do \
13285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13287 echo "Doing mostlyclean in make" ; \
13289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13291 "RANLIB=$${RANLIB}" \
13292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13298 .PHONY: maybe-clean-make clean-make
13301 maybe-clean-make: clean-make
13304 @[ -f ./make/Makefile ] || exit 0; \
13305 r=`${PWD_COMMAND}`; export r; \
13306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13308 for flag in $(EXTRA_HOST_FLAGS); do \
13309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13311 echo "Doing clean in make" ; \
13313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13315 "RANLIB=$${RANLIB}" \
13316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13322 .PHONY: maybe-distclean-make distclean-make
13323 maybe-distclean-make:
13325 maybe-distclean-make: distclean-make
13328 @[ -f ./make/Makefile ] || exit 0; \
13329 r=`${PWD_COMMAND}`; export r; \
13330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13332 for flag in $(EXTRA_HOST_FLAGS); do \
13333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13335 echo "Doing distclean in make" ; \
13337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13339 "RANLIB=$${RANLIB}" \
13340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13346 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
13347 maybe-maintainer-clean-make:
13349 maybe-maintainer-clean-make: maintainer-clean-make
13351 maintainer-clean-make:
13352 @[ -f ./make/Makefile ] || exit 0; \
13353 r=`${PWD_COMMAND}`; export r; \
13354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13356 for flag in $(EXTRA_HOST_FLAGS); do \
13357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13359 echo "Doing maintainer-clean in make" ; \
13361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13363 "RANLIB=$${RANLIB}" \
13364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13365 maintainer-clean) \
13371 .PHONY: configure-mmalloc maybe-configure-mmalloc
13372 maybe-configure-mmalloc:
13374 maybe-configure-mmalloc: configure-mmalloc
13376 @test ! -f mmalloc/Makefile || exit 0; \
13377 [ -d mmalloc ] || mkdir mmalloc; \
13378 r=`${PWD_COMMAND}`; export r; \
13379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13380 CC="$(CC)"; export CC; \
13381 CFLAGS="$(CFLAGS)"; export CFLAGS; \
13382 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
13383 CXX="$(CXX)"; export CXX; \
13384 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
13385 AR="$(AR)"; export AR; \
13386 AS="$(AS)"; export AS; \
13387 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
13388 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
13389 LD="$(LD)"; export LD; \
13390 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
13391 NM="$(NM)"; export NM; \
13392 RANLIB="$(RANLIB)"; export RANLIB; \
13393 WINDRES="$(WINDRES)"; export WINDRES; \
13394 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
13395 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
13396 echo Configuring in mmalloc; \
13397 cd mmalloc || exit 1; \
13398 case $(srcdir) in \
13400 srcdiroption="--srcdir=."; \
13402 /* | [A-Za-z]:[\\/]*) \
13403 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
13404 libsrcdir="$$s/mmalloc";; \
13406 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
13407 libsrcdir="$$s/mmalloc";; \
13409 $(SHELL) $${libsrcdir}/configure \
13410 $(HOST_CONFIGARGS) $${srcdiroption} \
13414 .PHONY: all-mmalloc maybe-all-mmalloc
13417 maybe-all-mmalloc: all-mmalloc
13418 all-mmalloc: configure-mmalloc
13419 @r=`${PWD_COMMAND}`; export r; \
13420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13422 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) all)
13425 .PHONY: check-mmalloc maybe-check-mmalloc
13426 maybe-check-mmalloc:
13428 maybe-check-mmalloc: check-mmalloc
13434 .PHONY: install-mmalloc maybe-install-mmalloc
13435 maybe-install-mmalloc:
13437 maybe-install-mmalloc: install-mmalloc
13439 install-mmalloc: installdirs
13440 @r=`${PWD_COMMAND}`; export r; \
13441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13443 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
13447 # Other targets (info, dvi, etc.)
13449 .PHONY: maybe-info-mmalloc info-mmalloc
13450 maybe-info-mmalloc:
13452 maybe-info-mmalloc: info-mmalloc
13456 @[ -f ./mmalloc/Makefile ] || exit 0; \
13457 r=`${PWD_COMMAND}`; export r; \
13458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13460 for flag in $(EXTRA_HOST_FLAGS); do \
13461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13463 echo "Doing info in mmalloc" ; \
13465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13467 "RANLIB=$${RANLIB}" \
13468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13474 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
13477 maybe-dvi-mmalloc: dvi-mmalloc
13481 @[ -f ./mmalloc/Makefile ] || exit 0; \
13482 r=`${PWD_COMMAND}`; export r; \
13483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13485 for flag in $(EXTRA_HOST_FLAGS); do \
13486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13488 echo "Doing dvi in mmalloc" ; \
13490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13492 "RANLIB=$${RANLIB}" \
13493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13499 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
13500 maybe-TAGS-mmalloc:
13502 maybe-TAGS-mmalloc: TAGS-mmalloc
13506 @[ -f ./mmalloc/Makefile ] || exit 0; \
13507 r=`${PWD_COMMAND}`; export r; \
13508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13510 for flag in $(EXTRA_HOST_FLAGS); do \
13511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13513 echo "Doing TAGS in mmalloc" ; \
13515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13517 "RANLIB=$${RANLIB}" \
13518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13524 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
13525 maybe-install-info-mmalloc:
13527 maybe-install-info-mmalloc: install-info-mmalloc
13529 install-info-mmalloc: \
13530 configure-mmalloc \
13532 @[ -f ./mmalloc/Makefile ] || exit 0; \
13533 r=`${PWD_COMMAND}`; export r; \
13534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13536 for flag in $(EXTRA_HOST_FLAGS); do \
13537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13539 echo "Doing install-info in mmalloc" ; \
13541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13543 "RANLIB=$${RANLIB}" \
13544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13550 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
13551 maybe-installcheck-mmalloc:
13553 maybe-installcheck-mmalloc: installcheck-mmalloc
13555 installcheck-mmalloc: \
13557 @[ -f ./mmalloc/Makefile ] || exit 0; \
13558 r=`${PWD_COMMAND}`; export r; \
13559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13561 for flag in $(EXTRA_HOST_FLAGS); do \
13562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13564 echo "Doing installcheck in mmalloc" ; \
13566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13568 "RANLIB=$${RANLIB}" \
13569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13575 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
13576 maybe-mostlyclean-mmalloc:
13578 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
13580 mostlyclean-mmalloc:
13581 @[ -f ./mmalloc/Makefile ] || exit 0; \
13582 r=`${PWD_COMMAND}`; export r; \
13583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13585 for flag in $(EXTRA_HOST_FLAGS); do \
13586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13588 echo "Doing mostlyclean in mmalloc" ; \
13590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13592 "RANLIB=$${RANLIB}" \
13593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13599 .PHONY: maybe-clean-mmalloc clean-mmalloc
13600 maybe-clean-mmalloc:
13602 maybe-clean-mmalloc: clean-mmalloc
13605 @[ -f ./mmalloc/Makefile ] || exit 0; \
13606 r=`${PWD_COMMAND}`; export r; \
13607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13609 for flag in $(EXTRA_HOST_FLAGS); do \
13610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13612 echo "Doing clean in mmalloc" ; \
13614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13616 "RANLIB=$${RANLIB}" \
13617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13623 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
13624 maybe-distclean-mmalloc:
13626 maybe-distclean-mmalloc: distclean-mmalloc
13629 @[ -f ./mmalloc/Makefile ] || exit 0; \
13630 r=`${PWD_COMMAND}`; export r; \
13631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13633 for flag in $(EXTRA_HOST_FLAGS); do \
13634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13636 echo "Doing distclean in mmalloc" ; \
13638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13640 "RANLIB=$${RANLIB}" \
13641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13647 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
13648 maybe-maintainer-clean-mmalloc:
13650 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
13652 maintainer-clean-mmalloc:
13653 @[ -f ./mmalloc/Makefile ] || exit 0; \
13654 r=`${PWD_COMMAND}`; export r; \
13655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13657 for flag in $(EXTRA_HOST_FLAGS); do \
13658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13660 echo "Doing maintainer-clean in mmalloc" ; \
13662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13664 "RANLIB=$${RANLIB}" \
13665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13666 maintainer-clean) \
13672 .PHONY: configure-patch maybe-configure-patch
13673 maybe-configure-patch:
13675 maybe-configure-patch: configure-patch
13677 @test ! -f patch/Makefile || exit 0; \
13678 [ -d patch ] || mkdir patch; \
13679 r=`${PWD_COMMAND}`; export r; \
13680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13681 CC="$(CC)"; export CC; \
13682 CFLAGS="$(CFLAGS)"; export CFLAGS; \
13683 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
13684 CXX="$(CXX)"; export CXX; \
13685 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
13686 AR="$(AR)"; export AR; \
13687 AS="$(AS)"; export AS; \
13688 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
13689 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
13690 LD="$(LD)"; export LD; \
13691 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
13692 NM="$(NM)"; export NM; \
13693 RANLIB="$(RANLIB)"; export RANLIB; \
13694 WINDRES="$(WINDRES)"; export WINDRES; \
13695 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
13696 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
13697 echo Configuring in patch; \
13698 cd patch || exit 1; \
13699 case $(srcdir) in \
13701 srcdiroption="--srcdir=."; \
13703 /* | [A-Za-z]:[\\/]*) \
13704 srcdiroption="--srcdir=$(srcdir)/patch"; \
13705 libsrcdir="$$s/patch";; \
13707 srcdiroption="--srcdir=../$(srcdir)/patch"; \
13708 libsrcdir="$$s/patch";; \
13710 $(SHELL) $${libsrcdir}/configure \
13711 $(HOST_CONFIGARGS) $${srcdiroption} \
13715 .PHONY: all-patch maybe-all-patch
13718 maybe-all-patch: all-patch
13719 all-patch: configure-patch
13720 @r=`${PWD_COMMAND}`; export r; \
13721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13723 (cd patch && $(MAKE) $(FLAGS_TO_PASS) all)
13726 .PHONY: check-patch maybe-check-patch
13729 maybe-check-patch: check-patch
13732 @r=`${PWD_COMMAND}`; export r; \
13733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13735 (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
13739 .PHONY: install-patch maybe-install-patch
13740 maybe-install-patch:
13742 maybe-install-patch: install-patch
13744 install-patch: installdirs
13745 @r=`${PWD_COMMAND}`; export r; \
13746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13748 (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
13752 # Other targets (info, dvi, etc.)
13754 .PHONY: maybe-info-patch info-patch
13757 maybe-info-patch: info-patch
13761 @[ -f ./patch/Makefile ] || exit 0; \
13762 r=`${PWD_COMMAND}`; export r; \
13763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13765 for flag in $(EXTRA_HOST_FLAGS); do \
13766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13768 echo "Doing info in patch" ; \
13770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13772 "RANLIB=$${RANLIB}" \
13773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13779 .PHONY: maybe-dvi-patch dvi-patch
13782 maybe-dvi-patch: dvi-patch
13786 @[ -f ./patch/Makefile ] || exit 0; \
13787 r=`${PWD_COMMAND}`; export r; \
13788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13790 for flag in $(EXTRA_HOST_FLAGS); do \
13791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13793 echo "Doing dvi in patch" ; \
13795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13797 "RANLIB=$${RANLIB}" \
13798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13804 .PHONY: maybe-TAGS-patch TAGS-patch
13807 maybe-TAGS-patch: TAGS-patch
13811 @[ -f ./patch/Makefile ] || exit 0; \
13812 r=`${PWD_COMMAND}`; export r; \
13813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13815 for flag in $(EXTRA_HOST_FLAGS); do \
13816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13818 echo "Doing TAGS in patch" ; \
13820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13822 "RANLIB=$${RANLIB}" \
13823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13829 .PHONY: maybe-install-info-patch install-info-patch
13830 maybe-install-info-patch:
13832 maybe-install-info-patch: install-info-patch
13834 install-info-patch: \
13837 @[ -f ./patch/Makefile ] || exit 0; \
13838 r=`${PWD_COMMAND}`; export r; \
13839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13841 for flag in $(EXTRA_HOST_FLAGS); do \
13842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13844 echo "Doing install-info in patch" ; \
13846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13848 "RANLIB=$${RANLIB}" \
13849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13855 .PHONY: maybe-installcheck-patch installcheck-patch
13856 maybe-installcheck-patch:
13858 maybe-installcheck-patch: installcheck-patch
13860 installcheck-patch: \
13862 @[ -f ./patch/Makefile ] || exit 0; \
13863 r=`${PWD_COMMAND}`; export r; \
13864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13866 for flag in $(EXTRA_HOST_FLAGS); do \
13867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13869 echo "Doing installcheck in patch" ; \
13871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13873 "RANLIB=$${RANLIB}" \
13874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13880 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
13881 maybe-mostlyclean-patch:
13883 maybe-mostlyclean-patch: mostlyclean-patch
13886 @[ -f ./patch/Makefile ] || exit 0; \
13887 r=`${PWD_COMMAND}`; export r; \
13888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13890 for flag in $(EXTRA_HOST_FLAGS); do \
13891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13893 echo "Doing mostlyclean in patch" ; \
13895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13897 "RANLIB=$${RANLIB}" \
13898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13904 .PHONY: maybe-clean-patch clean-patch
13907 maybe-clean-patch: clean-patch
13910 @[ -f ./patch/Makefile ] || exit 0; \
13911 r=`${PWD_COMMAND}`; export r; \
13912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13914 for flag in $(EXTRA_HOST_FLAGS); do \
13915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13917 echo "Doing clean in patch" ; \
13919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13921 "RANLIB=$${RANLIB}" \
13922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13928 .PHONY: maybe-distclean-patch distclean-patch
13929 maybe-distclean-patch:
13931 maybe-distclean-patch: distclean-patch
13934 @[ -f ./patch/Makefile ] || exit 0; \
13935 r=`${PWD_COMMAND}`; export r; \
13936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13938 for flag in $(EXTRA_HOST_FLAGS); do \
13939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13941 echo "Doing distclean in patch" ; \
13943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13945 "RANLIB=$${RANLIB}" \
13946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13952 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
13953 maybe-maintainer-clean-patch:
13955 maybe-maintainer-clean-patch: maintainer-clean-patch
13957 maintainer-clean-patch:
13958 @[ -f ./patch/Makefile ] || exit 0; \
13959 r=`${PWD_COMMAND}`; export r; \
13960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13962 for flag in $(EXTRA_HOST_FLAGS); do \
13963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13965 echo "Doing maintainer-clean in patch" ; \
13967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13969 "RANLIB=$${RANLIB}" \
13970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13971 maintainer-clean) \
13977 .PHONY: configure-perl maybe-configure-perl
13978 maybe-configure-perl:
13980 maybe-configure-perl: configure-perl
13982 @test ! -f perl/Makefile || exit 0; \
13983 [ -d perl ] || mkdir perl; \
13984 r=`${PWD_COMMAND}`; export r; \
13985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13986 CC="$(CC)"; export CC; \
13987 CFLAGS="$(CFLAGS)"; export CFLAGS; \
13988 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
13989 CXX="$(CXX)"; export CXX; \
13990 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
13991 AR="$(AR)"; export AR; \
13992 AS="$(AS)"; export AS; \
13993 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
13994 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
13995 LD="$(LD)"; export LD; \
13996 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
13997 NM="$(NM)"; export NM; \
13998 RANLIB="$(RANLIB)"; export RANLIB; \
13999 WINDRES="$(WINDRES)"; export WINDRES; \
14000 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
14001 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
14002 echo Configuring in perl; \
14003 cd perl || exit 1; \
14004 case $(srcdir) in \
14006 srcdiroption="--srcdir=."; \
14008 /* | [A-Za-z]:[\\/]*) \
14009 srcdiroption="--srcdir=$(srcdir)/perl"; \
14010 libsrcdir="$$s/perl";; \
14012 srcdiroption="--srcdir=../$(srcdir)/perl"; \
14013 libsrcdir="$$s/perl";; \
14015 $(SHELL) $${libsrcdir}/configure \
14016 $(HOST_CONFIGARGS) $${srcdiroption} \
14020 .PHONY: all-perl maybe-all-perl
14023 maybe-all-perl: all-perl
14024 all-perl: configure-perl
14025 @r=`${PWD_COMMAND}`; export r; \
14026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14028 (cd perl && $(MAKE) $(FLAGS_TO_PASS) all)
14031 .PHONY: check-perl maybe-check-perl
14034 maybe-check-perl: check-perl
14037 @r=`${PWD_COMMAND}`; export r; \
14038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14040 (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
14044 .PHONY: install-perl maybe-install-perl
14045 maybe-install-perl:
14047 maybe-install-perl: install-perl
14049 install-perl: installdirs
14050 @r=`${PWD_COMMAND}`; export r; \
14051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14053 (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
14057 # Other targets (info, dvi, etc.)
14059 .PHONY: maybe-info-perl info-perl
14062 maybe-info-perl: info-perl
14066 @[ -f ./perl/Makefile ] || exit 0; \
14067 r=`${PWD_COMMAND}`; export r; \
14068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14070 for flag in $(EXTRA_HOST_FLAGS); do \
14071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14073 echo "Doing info in perl" ; \
14075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14077 "RANLIB=$${RANLIB}" \
14078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14084 .PHONY: maybe-dvi-perl dvi-perl
14087 maybe-dvi-perl: dvi-perl
14091 @[ -f ./perl/Makefile ] || exit 0; \
14092 r=`${PWD_COMMAND}`; export r; \
14093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14095 for flag in $(EXTRA_HOST_FLAGS); do \
14096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14098 echo "Doing dvi in perl" ; \
14100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14102 "RANLIB=$${RANLIB}" \
14103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14109 .PHONY: maybe-TAGS-perl TAGS-perl
14112 maybe-TAGS-perl: TAGS-perl
14116 @[ -f ./perl/Makefile ] || exit 0; \
14117 r=`${PWD_COMMAND}`; export r; \
14118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14120 for flag in $(EXTRA_HOST_FLAGS); do \
14121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14123 echo "Doing TAGS in perl" ; \
14125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14127 "RANLIB=$${RANLIB}" \
14128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14134 .PHONY: maybe-install-info-perl install-info-perl
14135 maybe-install-info-perl:
14137 maybe-install-info-perl: install-info-perl
14139 install-info-perl: \
14142 @[ -f ./perl/Makefile ] || exit 0; \
14143 r=`${PWD_COMMAND}`; export r; \
14144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14146 for flag in $(EXTRA_HOST_FLAGS); do \
14147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14149 echo "Doing install-info in perl" ; \
14151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14153 "RANLIB=$${RANLIB}" \
14154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14160 .PHONY: maybe-installcheck-perl installcheck-perl
14161 maybe-installcheck-perl:
14163 maybe-installcheck-perl: installcheck-perl
14165 installcheck-perl: \
14167 @[ -f ./perl/Makefile ] || exit 0; \
14168 r=`${PWD_COMMAND}`; export r; \
14169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14171 for flag in $(EXTRA_HOST_FLAGS); do \
14172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14174 echo "Doing installcheck in perl" ; \
14176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14178 "RANLIB=$${RANLIB}" \
14179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14185 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
14186 maybe-mostlyclean-perl:
14188 maybe-mostlyclean-perl: mostlyclean-perl
14191 @[ -f ./perl/Makefile ] || exit 0; \
14192 r=`${PWD_COMMAND}`; export r; \
14193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14195 for flag in $(EXTRA_HOST_FLAGS); do \
14196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14198 echo "Doing mostlyclean in perl" ; \
14200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14202 "RANLIB=$${RANLIB}" \
14203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14209 .PHONY: maybe-clean-perl clean-perl
14212 maybe-clean-perl: clean-perl
14215 @[ -f ./perl/Makefile ] || exit 0; \
14216 r=`${PWD_COMMAND}`; export r; \
14217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14219 for flag in $(EXTRA_HOST_FLAGS); do \
14220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14222 echo "Doing clean in perl" ; \
14224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14226 "RANLIB=$${RANLIB}" \
14227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14233 .PHONY: maybe-distclean-perl distclean-perl
14234 maybe-distclean-perl:
14236 maybe-distclean-perl: distclean-perl
14239 @[ -f ./perl/Makefile ] || exit 0; \
14240 r=`${PWD_COMMAND}`; export r; \
14241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14243 for flag in $(EXTRA_HOST_FLAGS); do \
14244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14246 echo "Doing distclean in perl" ; \
14248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14250 "RANLIB=$${RANLIB}" \
14251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14257 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
14258 maybe-maintainer-clean-perl:
14260 maybe-maintainer-clean-perl: maintainer-clean-perl
14262 maintainer-clean-perl:
14263 @[ -f ./perl/Makefile ] || exit 0; \
14264 r=`${PWD_COMMAND}`; export r; \
14265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14267 for flag in $(EXTRA_HOST_FLAGS); do \
14268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14270 echo "Doing maintainer-clean in perl" ; \
14272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14274 "RANLIB=$${RANLIB}" \
14275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14276 maintainer-clean) \
14282 .PHONY: configure-prms maybe-configure-prms
14283 maybe-configure-prms:
14285 maybe-configure-prms: configure-prms
14287 @test ! -f prms/Makefile || exit 0; \
14288 [ -d prms ] || mkdir prms; \
14289 r=`${PWD_COMMAND}`; export r; \
14290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14291 CC="$(CC)"; export CC; \
14292 CFLAGS="$(CFLAGS)"; export CFLAGS; \
14293 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
14294 CXX="$(CXX)"; export CXX; \
14295 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
14296 AR="$(AR)"; export AR; \
14297 AS="$(AS)"; export AS; \
14298 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
14299 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
14300 LD="$(LD)"; export LD; \
14301 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
14302 NM="$(NM)"; export NM; \
14303 RANLIB="$(RANLIB)"; export RANLIB; \
14304 WINDRES="$(WINDRES)"; export WINDRES; \
14305 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
14306 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
14307 echo Configuring in prms; \
14308 cd prms || exit 1; \
14309 case $(srcdir) in \
14311 srcdiroption="--srcdir=."; \
14313 /* | [A-Za-z]:[\\/]*) \
14314 srcdiroption="--srcdir=$(srcdir)/prms"; \
14315 libsrcdir="$$s/prms";; \
14317 srcdiroption="--srcdir=../$(srcdir)/prms"; \
14318 libsrcdir="$$s/prms";; \
14320 $(SHELL) $${libsrcdir}/configure \
14321 $(HOST_CONFIGARGS) $${srcdiroption} \
14325 .PHONY: all-prms maybe-all-prms
14328 maybe-all-prms: all-prms
14329 all-prms: configure-prms
14330 @r=`${PWD_COMMAND}`; export r; \
14331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14333 (cd prms && $(MAKE) $(FLAGS_TO_PASS) all)
14336 .PHONY: check-prms maybe-check-prms
14339 maybe-check-prms: check-prms
14342 @r=`${PWD_COMMAND}`; export r; \
14343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14345 (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
14349 .PHONY: install-prms maybe-install-prms
14350 maybe-install-prms:
14352 maybe-install-prms: install-prms
14354 install-prms: installdirs
14355 @r=`${PWD_COMMAND}`; export r; \
14356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14358 (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
14362 # Other targets (info, dvi, etc.)
14364 .PHONY: maybe-info-prms info-prms
14367 maybe-info-prms: info-prms
14371 @[ -f ./prms/Makefile ] || exit 0; \
14372 r=`${PWD_COMMAND}`; export r; \
14373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14375 for flag in $(EXTRA_HOST_FLAGS); do \
14376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14378 echo "Doing info in prms" ; \
14380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14382 "RANLIB=$${RANLIB}" \
14383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14389 .PHONY: maybe-dvi-prms dvi-prms
14392 maybe-dvi-prms: dvi-prms
14396 @[ -f ./prms/Makefile ] || exit 0; \
14397 r=`${PWD_COMMAND}`; export r; \
14398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14400 for flag in $(EXTRA_HOST_FLAGS); do \
14401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14403 echo "Doing dvi in prms" ; \
14405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14407 "RANLIB=$${RANLIB}" \
14408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14414 .PHONY: maybe-TAGS-prms TAGS-prms
14417 maybe-TAGS-prms: TAGS-prms
14421 @[ -f ./prms/Makefile ] || exit 0; \
14422 r=`${PWD_COMMAND}`; export r; \
14423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14425 for flag in $(EXTRA_HOST_FLAGS); do \
14426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14428 echo "Doing TAGS in prms" ; \
14430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14432 "RANLIB=$${RANLIB}" \
14433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14439 .PHONY: maybe-install-info-prms install-info-prms
14440 maybe-install-info-prms:
14442 maybe-install-info-prms: install-info-prms
14444 install-info-prms: \
14447 @[ -f ./prms/Makefile ] || exit 0; \
14448 r=`${PWD_COMMAND}`; export r; \
14449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14451 for flag in $(EXTRA_HOST_FLAGS); do \
14452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14454 echo "Doing install-info in prms" ; \
14456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14458 "RANLIB=$${RANLIB}" \
14459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14465 .PHONY: maybe-installcheck-prms installcheck-prms
14466 maybe-installcheck-prms:
14468 maybe-installcheck-prms: installcheck-prms
14470 installcheck-prms: \
14472 @[ -f ./prms/Makefile ] || exit 0; \
14473 r=`${PWD_COMMAND}`; export r; \
14474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14476 for flag in $(EXTRA_HOST_FLAGS); do \
14477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14479 echo "Doing installcheck in prms" ; \
14481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14483 "RANLIB=$${RANLIB}" \
14484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14490 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
14491 maybe-mostlyclean-prms:
14493 maybe-mostlyclean-prms: mostlyclean-prms
14496 @[ -f ./prms/Makefile ] || exit 0; \
14497 r=`${PWD_COMMAND}`; export r; \
14498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14500 for flag in $(EXTRA_HOST_FLAGS); do \
14501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14503 echo "Doing mostlyclean in prms" ; \
14505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14507 "RANLIB=$${RANLIB}" \
14508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14514 .PHONY: maybe-clean-prms clean-prms
14517 maybe-clean-prms: clean-prms
14520 @[ -f ./prms/Makefile ] || exit 0; \
14521 r=`${PWD_COMMAND}`; export r; \
14522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14524 for flag in $(EXTRA_HOST_FLAGS); do \
14525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14527 echo "Doing clean in prms" ; \
14529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14531 "RANLIB=$${RANLIB}" \
14532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14538 .PHONY: maybe-distclean-prms distclean-prms
14539 maybe-distclean-prms:
14541 maybe-distclean-prms: distclean-prms
14544 @[ -f ./prms/Makefile ] || exit 0; \
14545 r=`${PWD_COMMAND}`; export r; \
14546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14548 for flag in $(EXTRA_HOST_FLAGS); do \
14549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14551 echo "Doing distclean in prms" ; \
14553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14555 "RANLIB=$${RANLIB}" \
14556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14562 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
14563 maybe-maintainer-clean-prms:
14565 maybe-maintainer-clean-prms: maintainer-clean-prms
14567 maintainer-clean-prms:
14568 @[ -f ./prms/Makefile ] || exit 0; \
14569 r=`${PWD_COMMAND}`; export r; \
14570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14572 for flag in $(EXTRA_HOST_FLAGS); do \
14573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14575 echo "Doing maintainer-clean in prms" ; \
14577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14579 "RANLIB=$${RANLIB}" \
14580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14581 maintainer-clean) \
14587 .PHONY: configure-rcs maybe-configure-rcs
14588 maybe-configure-rcs:
14590 maybe-configure-rcs: configure-rcs
14592 @test ! -f rcs/Makefile || exit 0; \
14593 [ -d rcs ] || mkdir rcs; \
14594 r=`${PWD_COMMAND}`; export r; \
14595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14596 CC="$(CC)"; export CC; \
14597 CFLAGS="$(CFLAGS)"; export CFLAGS; \
14598 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
14599 CXX="$(CXX)"; export CXX; \
14600 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
14601 AR="$(AR)"; export AR; \
14602 AS="$(AS)"; export AS; \
14603 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
14604 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
14605 LD="$(LD)"; export LD; \
14606 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
14607 NM="$(NM)"; export NM; \
14608 RANLIB="$(RANLIB)"; export RANLIB; \
14609 WINDRES="$(WINDRES)"; export WINDRES; \
14610 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
14611 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
14612 echo Configuring in rcs; \
14613 cd rcs || exit 1; \
14614 case $(srcdir) in \
14616 srcdiroption="--srcdir=."; \
14618 /* | [A-Za-z]:[\\/]*) \
14619 srcdiroption="--srcdir=$(srcdir)/rcs"; \
14620 libsrcdir="$$s/rcs";; \
14622 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
14623 libsrcdir="$$s/rcs";; \
14625 $(SHELL) $${libsrcdir}/configure \
14626 $(HOST_CONFIGARGS) $${srcdiroption} \
14630 .PHONY: all-rcs maybe-all-rcs
14633 maybe-all-rcs: all-rcs
14634 all-rcs: configure-rcs
14635 @r=`${PWD_COMMAND}`; export r; \
14636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14638 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) all)
14641 .PHONY: check-rcs maybe-check-rcs
14644 maybe-check-rcs: check-rcs
14647 @r=`${PWD_COMMAND}`; export r; \
14648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14650 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
14654 .PHONY: install-rcs maybe-install-rcs
14657 maybe-install-rcs: install-rcs
14659 install-rcs: installdirs
14660 @r=`${PWD_COMMAND}`; export r; \
14661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14663 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
14667 # Other targets (info, dvi, etc.)
14669 .PHONY: maybe-info-rcs info-rcs
14672 maybe-info-rcs: info-rcs
14676 @[ -f ./rcs/Makefile ] || exit 0; \
14677 r=`${PWD_COMMAND}`; export r; \
14678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14680 for flag in $(EXTRA_HOST_FLAGS); do \
14681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14683 echo "Doing info in rcs" ; \
14685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14687 "RANLIB=$${RANLIB}" \
14688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14694 .PHONY: maybe-dvi-rcs dvi-rcs
14697 maybe-dvi-rcs: dvi-rcs
14701 @[ -f ./rcs/Makefile ] || exit 0; \
14702 r=`${PWD_COMMAND}`; export r; \
14703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14705 for flag in $(EXTRA_HOST_FLAGS); do \
14706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14708 echo "Doing dvi in rcs" ; \
14710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14712 "RANLIB=$${RANLIB}" \
14713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14719 .PHONY: maybe-TAGS-rcs TAGS-rcs
14722 maybe-TAGS-rcs: TAGS-rcs
14726 @[ -f ./rcs/Makefile ] || exit 0; \
14727 r=`${PWD_COMMAND}`; export r; \
14728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14730 for flag in $(EXTRA_HOST_FLAGS); do \
14731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14733 echo "Doing TAGS in rcs" ; \
14735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14737 "RANLIB=$${RANLIB}" \
14738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14744 .PHONY: maybe-install-info-rcs install-info-rcs
14745 maybe-install-info-rcs:
14747 maybe-install-info-rcs: install-info-rcs
14749 install-info-rcs: \
14752 @[ -f ./rcs/Makefile ] || exit 0; \
14753 r=`${PWD_COMMAND}`; export r; \
14754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14756 for flag in $(EXTRA_HOST_FLAGS); do \
14757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14759 echo "Doing install-info in rcs" ; \
14761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14763 "RANLIB=$${RANLIB}" \
14764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14770 .PHONY: maybe-installcheck-rcs installcheck-rcs
14771 maybe-installcheck-rcs:
14773 maybe-installcheck-rcs: installcheck-rcs
14775 installcheck-rcs: \
14777 @[ -f ./rcs/Makefile ] || exit 0; \
14778 r=`${PWD_COMMAND}`; export r; \
14779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14781 for flag in $(EXTRA_HOST_FLAGS); do \
14782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14784 echo "Doing installcheck in rcs" ; \
14786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14788 "RANLIB=$${RANLIB}" \
14789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14795 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
14796 maybe-mostlyclean-rcs:
14798 maybe-mostlyclean-rcs: mostlyclean-rcs
14801 @[ -f ./rcs/Makefile ] || exit 0; \
14802 r=`${PWD_COMMAND}`; export r; \
14803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14805 for flag in $(EXTRA_HOST_FLAGS); do \
14806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14808 echo "Doing mostlyclean in rcs" ; \
14810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14812 "RANLIB=$${RANLIB}" \
14813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14819 .PHONY: maybe-clean-rcs clean-rcs
14822 maybe-clean-rcs: clean-rcs
14825 @[ -f ./rcs/Makefile ] || exit 0; \
14826 r=`${PWD_COMMAND}`; export r; \
14827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14829 for flag in $(EXTRA_HOST_FLAGS); do \
14830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14832 echo "Doing clean in rcs" ; \
14834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14836 "RANLIB=$${RANLIB}" \
14837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14843 .PHONY: maybe-distclean-rcs distclean-rcs
14844 maybe-distclean-rcs:
14846 maybe-distclean-rcs: distclean-rcs
14849 @[ -f ./rcs/Makefile ] || exit 0; \
14850 r=`${PWD_COMMAND}`; export r; \
14851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14853 for flag in $(EXTRA_HOST_FLAGS); do \
14854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14856 echo "Doing distclean in rcs" ; \
14858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14860 "RANLIB=$${RANLIB}" \
14861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14867 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
14868 maybe-maintainer-clean-rcs:
14870 maybe-maintainer-clean-rcs: maintainer-clean-rcs
14872 maintainer-clean-rcs:
14873 @[ -f ./rcs/Makefile ] || exit 0; \
14874 r=`${PWD_COMMAND}`; export r; \
14875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14877 for flag in $(EXTRA_HOST_FLAGS); do \
14878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14880 echo "Doing maintainer-clean in rcs" ; \
14882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14884 "RANLIB=$${RANLIB}" \
14885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14886 maintainer-clean) \
14892 .PHONY: configure-readline maybe-configure-readline
14893 maybe-configure-readline:
14895 maybe-configure-readline: configure-readline
14896 configure-readline:
14897 @test ! -f readline/Makefile || exit 0; \
14898 [ -d readline ] || mkdir readline; \
14899 r=`${PWD_COMMAND}`; export r; \
14900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14901 CC="$(CC)"; export CC; \
14902 CFLAGS="$(CFLAGS)"; export CFLAGS; \
14903 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
14904 CXX="$(CXX)"; export CXX; \
14905 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
14906 AR="$(AR)"; export AR; \
14907 AS="$(AS)"; export AS; \
14908 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
14909 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
14910 LD="$(LD)"; export LD; \
14911 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
14912 NM="$(NM)"; export NM; \
14913 RANLIB="$(RANLIB)"; export RANLIB; \
14914 WINDRES="$(WINDRES)"; export WINDRES; \
14915 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
14916 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
14917 echo Configuring in readline; \
14918 cd readline || exit 1; \
14919 case $(srcdir) in \
14921 srcdiroption="--srcdir=."; \
14923 /* | [A-Za-z]:[\\/]*) \
14924 srcdiroption="--srcdir=$(srcdir)/readline"; \
14925 libsrcdir="$$s/readline";; \
14927 srcdiroption="--srcdir=../$(srcdir)/readline"; \
14928 libsrcdir="$$s/readline";; \
14930 $(SHELL) $${libsrcdir}/configure \
14931 $(HOST_CONFIGARGS) $${srcdiroption} \
14935 .PHONY: all-readline maybe-all-readline
14936 maybe-all-readline:
14938 maybe-all-readline: all-readline
14939 all-readline: configure-readline
14940 @r=`${PWD_COMMAND}`; export r; \
14941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14943 (cd readline && $(MAKE) $(FLAGS_TO_PASS) all)
14946 .PHONY: check-readline maybe-check-readline
14947 maybe-check-readline:
14949 maybe-check-readline: check-readline
14952 @r=`${PWD_COMMAND}`; export r; \
14953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14955 (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
14959 .PHONY: install-readline maybe-install-readline
14960 maybe-install-readline:
14962 maybe-install-readline: install-readline
14964 install-readline: installdirs
14965 @r=`${PWD_COMMAND}`; export r; \
14966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14968 (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
14972 # Other targets (info, dvi, etc.)
14974 .PHONY: maybe-info-readline info-readline
14975 maybe-info-readline:
14977 maybe-info-readline: info-readline
14981 @[ -f ./readline/Makefile ] || exit 0; \
14982 r=`${PWD_COMMAND}`; export r; \
14983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14985 for flag in $(EXTRA_HOST_FLAGS); do \
14986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14988 echo "Doing info in readline" ; \
14990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14992 "RANLIB=$${RANLIB}" \
14993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14999 .PHONY: maybe-dvi-readline dvi-readline
15000 maybe-dvi-readline:
15002 maybe-dvi-readline: dvi-readline
15006 @[ -f ./readline/Makefile ] || exit 0; \
15007 r=`${PWD_COMMAND}`; export r; \
15008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15010 for flag in $(EXTRA_HOST_FLAGS); do \
15011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15013 echo "Doing dvi in readline" ; \
15015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15017 "RANLIB=$${RANLIB}" \
15018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15024 .PHONY: maybe-TAGS-readline TAGS-readline
15025 maybe-TAGS-readline:
15027 maybe-TAGS-readline: TAGS-readline
15031 @[ -f ./readline/Makefile ] || exit 0; \
15032 r=`${PWD_COMMAND}`; export r; \
15033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15035 for flag in $(EXTRA_HOST_FLAGS); do \
15036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15038 echo "Doing TAGS in readline" ; \
15040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15042 "RANLIB=$${RANLIB}" \
15043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15049 .PHONY: maybe-install-info-readline install-info-readline
15050 maybe-install-info-readline:
15052 maybe-install-info-readline: install-info-readline
15054 install-info-readline: \
15055 configure-readline \
15057 @[ -f ./readline/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 install-info in readline" ; \
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}" \
15075 .PHONY: maybe-installcheck-readline installcheck-readline
15076 maybe-installcheck-readline:
15078 maybe-installcheck-readline: installcheck-readline
15080 installcheck-readline: \
15082 @[ -f ./readline/Makefile ] || exit 0; \
15083 r=`${PWD_COMMAND}`; export r; \
15084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15086 for flag in $(EXTRA_HOST_FLAGS); do \
15087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15089 echo "Doing installcheck in readline" ; \
15091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15093 "RANLIB=$${RANLIB}" \
15094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15100 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
15101 maybe-mostlyclean-readline:
15103 maybe-mostlyclean-readline: mostlyclean-readline
15105 mostlyclean-readline:
15106 @[ -f ./readline/Makefile ] || exit 0; \
15107 r=`${PWD_COMMAND}`; export r; \
15108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15110 for flag in $(EXTRA_HOST_FLAGS); do \
15111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15113 echo "Doing mostlyclean in readline" ; \
15115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15117 "RANLIB=$${RANLIB}" \
15118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15124 .PHONY: maybe-clean-readline clean-readline
15125 maybe-clean-readline:
15127 maybe-clean-readline: clean-readline
15130 @[ -f ./readline/Makefile ] || exit 0; \
15131 r=`${PWD_COMMAND}`; export r; \
15132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15134 for flag in $(EXTRA_HOST_FLAGS); do \
15135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15137 echo "Doing clean in readline" ; \
15139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15141 "RANLIB=$${RANLIB}" \
15142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15148 .PHONY: maybe-distclean-readline distclean-readline
15149 maybe-distclean-readline:
15151 maybe-distclean-readline: distclean-readline
15153 distclean-readline:
15154 @[ -f ./readline/Makefile ] || exit 0; \
15155 r=`${PWD_COMMAND}`; export r; \
15156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15158 for flag in $(EXTRA_HOST_FLAGS); do \
15159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15161 echo "Doing distclean in readline" ; \
15163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15165 "RANLIB=$${RANLIB}" \
15166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15172 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
15173 maybe-maintainer-clean-readline:
15175 maybe-maintainer-clean-readline: maintainer-clean-readline
15177 maintainer-clean-readline:
15178 @[ -f ./readline/Makefile ] || exit 0; \
15179 r=`${PWD_COMMAND}`; export r; \
15180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15182 for flag in $(EXTRA_HOST_FLAGS); do \
15183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15185 echo "Doing maintainer-clean in readline" ; \
15187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15189 "RANLIB=$${RANLIB}" \
15190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15191 maintainer-clean) \
15197 .PHONY: configure-release maybe-configure-release
15198 maybe-configure-release:
15200 maybe-configure-release: configure-release
15202 @test ! -f release/Makefile || exit 0; \
15203 [ -d release ] || mkdir release; \
15204 r=`${PWD_COMMAND}`; export r; \
15205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15206 CC="$(CC)"; export CC; \
15207 CFLAGS="$(CFLAGS)"; export CFLAGS; \
15208 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
15209 CXX="$(CXX)"; export CXX; \
15210 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
15211 AR="$(AR)"; export AR; \
15212 AS="$(AS)"; export AS; \
15213 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
15214 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
15215 LD="$(LD)"; export LD; \
15216 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
15217 NM="$(NM)"; export NM; \
15218 RANLIB="$(RANLIB)"; export RANLIB; \
15219 WINDRES="$(WINDRES)"; export WINDRES; \
15220 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
15221 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
15222 echo Configuring in release; \
15223 cd release || exit 1; \
15224 case $(srcdir) in \
15226 srcdiroption="--srcdir=."; \
15228 /* | [A-Za-z]:[\\/]*) \
15229 srcdiroption="--srcdir=$(srcdir)/release"; \
15230 libsrcdir="$$s/release";; \
15232 srcdiroption="--srcdir=../$(srcdir)/release"; \
15233 libsrcdir="$$s/release";; \
15235 $(SHELL) $${libsrcdir}/configure \
15236 $(HOST_CONFIGARGS) $${srcdiroption} \
15240 .PHONY: all-release maybe-all-release
15243 maybe-all-release: all-release
15244 all-release: configure-release
15245 @r=`${PWD_COMMAND}`; export r; \
15246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15248 (cd release && $(MAKE) $(FLAGS_TO_PASS) all)
15251 .PHONY: check-release maybe-check-release
15252 maybe-check-release:
15254 maybe-check-release: check-release
15260 .PHONY: install-release maybe-install-release
15261 maybe-install-release:
15263 maybe-install-release: install-release
15269 # Other targets (info, dvi, etc.)
15271 .PHONY: maybe-info-release info-release
15272 maybe-info-release:
15274 maybe-info-release: info-release
15278 @[ -f ./release/Makefile ] || exit 0; \
15279 r=`${PWD_COMMAND}`; export r; \
15280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15282 for flag in $(EXTRA_HOST_FLAGS); do \
15283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15285 echo "Doing info in release" ; \
15287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15289 "RANLIB=$${RANLIB}" \
15290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15296 .PHONY: maybe-dvi-release dvi-release
15299 maybe-dvi-release: dvi-release
15303 @[ -f ./release/Makefile ] || exit 0; \
15304 r=`${PWD_COMMAND}`; export r; \
15305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15307 for flag in $(EXTRA_HOST_FLAGS); do \
15308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15310 echo "Doing dvi in release" ; \
15312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15314 "RANLIB=$${RANLIB}" \
15315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15321 .PHONY: maybe-TAGS-release TAGS-release
15322 maybe-TAGS-release:
15324 maybe-TAGS-release: TAGS-release
15328 @[ -f ./release/Makefile ] || exit 0; \
15329 r=`${PWD_COMMAND}`; export r; \
15330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15332 for flag in $(EXTRA_HOST_FLAGS); do \
15333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15335 echo "Doing TAGS in release" ; \
15337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15339 "RANLIB=$${RANLIB}" \
15340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15346 .PHONY: maybe-install-info-release install-info-release
15347 maybe-install-info-release:
15349 maybe-install-info-release: install-info-release
15351 install-info-release: \
15352 configure-release \
15354 @[ -f ./release/Makefile ] || exit 0; \
15355 r=`${PWD_COMMAND}`; export r; \
15356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15358 for flag in $(EXTRA_HOST_FLAGS); do \
15359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15361 echo "Doing install-info in release" ; \
15363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15365 "RANLIB=$${RANLIB}" \
15366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15372 .PHONY: maybe-installcheck-release installcheck-release
15373 maybe-installcheck-release:
15375 maybe-installcheck-release: installcheck-release
15377 installcheck-release: \
15379 @[ -f ./release/Makefile ] || exit 0; \
15380 r=`${PWD_COMMAND}`; export r; \
15381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15383 for flag in $(EXTRA_HOST_FLAGS); do \
15384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15386 echo "Doing installcheck in release" ; \
15388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15390 "RANLIB=$${RANLIB}" \
15391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15397 .PHONY: maybe-mostlyclean-release mostlyclean-release
15398 maybe-mostlyclean-release:
15400 maybe-mostlyclean-release: mostlyclean-release
15402 mostlyclean-release:
15403 @[ -f ./release/Makefile ] || exit 0; \
15404 r=`${PWD_COMMAND}`; export r; \
15405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15407 for flag in $(EXTRA_HOST_FLAGS); do \
15408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15410 echo "Doing mostlyclean in release" ; \
15412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15414 "RANLIB=$${RANLIB}" \
15415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15421 .PHONY: maybe-clean-release clean-release
15422 maybe-clean-release:
15424 maybe-clean-release: clean-release
15427 @[ -f ./release/Makefile ] || exit 0; \
15428 r=`${PWD_COMMAND}`; export r; \
15429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15431 for flag in $(EXTRA_HOST_FLAGS); do \
15432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15434 echo "Doing clean in release" ; \
15436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15438 "RANLIB=$${RANLIB}" \
15439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15445 .PHONY: maybe-distclean-release distclean-release
15446 maybe-distclean-release:
15448 maybe-distclean-release: distclean-release
15451 @[ -f ./release/Makefile ] || exit 0; \
15452 r=`${PWD_COMMAND}`; export r; \
15453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15455 for flag in $(EXTRA_HOST_FLAGS); do \
15456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15458 echo "Doing distclean in release" ; \
15460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15462 "RANLIB=$${RANLIB}" \
15463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15469 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
15470 maybe-maintainer-clean-release:
15472 maybe-maintainer-clean-release: maintainer-clean-release
15474 maintainer-clean-release:
15475 @[ -f ./release/Makefile ] || exit 0; \
15476 r=`${PWD_COMMAND}`; export r; \
15477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15479 for flag in $(EXTRA_HOST_FLAGS); do \
15480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15482 echo "Doing maintainer-clean in release" ; \
15484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15486 "RANLIB=$${RANLIB}" \
15487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15488 maintainer-clean) \
15494 .PHONY: configure-recode maybe-configure-recode
15495 maybe-configure-recode:
15497 maybe-configure-recode: configure-recode
15499 @test ! -f recode/Makefile || exit 0; \
15500 [ -d recode ] || mkdir recode; \
15501 r=`${PWD_COMMAND}`; export r; \
15502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15503 CC="$(CC)"; export CC; \
15504 CFLAGS="$(CFLAGS)"; export CFLAGS; \
15505 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
15506 CXX="$(CXX)"; export CXX; \
15507 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
15508 AR="$(AR)"; export AR; \
15509 AS="$(AS)"; export AS; \
15510 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
15511 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
15512 LD="$(LD)"; export LD; \
15513 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
15514 NM="$(NM)"; export NM; \
15515 RANLIB="$(RANLIB)"; export RANLIB; \
15516 WINDRES="$(WINDRES)"; export WINDRES; \
15517 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
15518 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
15519 echo Configuring in recode; \
15520 cd recode || exit 1; \
15521 case $(srcdir) in \
15523 srcdiroption="--srcdir=."; \
15525 /* | [A-Za-z]:[\\/]*) \
15526 srcdiroption="--srcdir=$(srcdir)/recode"; \
15527 libsrcdir="$$s/recode";; \
15529 srcdiroption="--srcdir=../$(srcdir)/recode"; \
15530 libsrcdir="$$s/recode";; \
15532 $(SHELL) $${libsrcdir}/configure \
15533 $(HOST_CONFIGARGS) $${srcdiroption} \
15537 .PHONY: all-recode maybe-all-recode
15540 maybe-all-recode: all-recode
15541 all-recode: configure-recode
15542 @r=`${PWD_COMMAND}`; export r; \
15543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15545 (cd recode && $(MAKE) $(FLAGS_TO_PASS) all)
15548 .PHONY: check-recode maybe-check-recode
15549 maybe-check-recode:
15551 maybe-check-recode: check-recode
15554 @r=`${PWD_COMMAND}`; export r; \
15555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15557 (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
15561 .PHONY: install-recode maybe-install-recode
15562 maybe-install-recode:
15564 maybe-install-recode: install-recode
15566 install-recode: installdirs
15567 @r=`${PWD_COMMAND}`; export r; \
15568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15570 (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
15574 # Other targets (info, dvi, etc.)
15576 .PHONY: maybe-info-recode info-recode
15579 maybe-info-recode: info-recode
15583 @[ -f ./recode/Makefile ] || exit 0; \
15584 r=`${PWD_COMMAND}`; export r; \
15585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15587 for flag in $(EXTRA_HOST_FLAGS); do \
15588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15590 echo "Doing info in recode" ; \
15592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15594 "RANLIB=$${RANLIB}" \
15595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15601 .PHONY: maybe-dvi-recode dvi-recode
15604 maybe-dvi-recode: dvi-recode
15608 @[ -f ./recode/Makefile ] || exit 0; \
15609 r=`${PWD_COMMAND}`; export r; \
15610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15612 for flag in $(EXTRA_HOST_FLAGS); do \
15613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15615 echo "Doing dvi in recode" ; \
15617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15619 "RANLIB=$${RANLIB}" \
15620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15626 .PHONY: maybe-TAGS-recode TAGS-recode
15629 maybe-TAGS-recode: TAGS-recode
15633 @[ -f ./recode/Makefile ] || exit 0; \
15634 r=`${PWD_COMMAND}`; export r; \
15635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15637 for flag in $(EXTRA_HOST_FLAGS); do \
15638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15640 echo "Doing TAGS in recode" ; \
15642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15644 "RANLIB=$${RANLIB}" \
15645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15651 .PHONY: maybe-install-info-recode install-info-recode
15652 maybe-install-info-recode:
15654 maybe-install-info-recode: install-info-recode
15656 install-info-recode: \
15659 @[ -f ./recode/Makefile ] || exit 0; \
15660 r=`${PWD_COMMAND}`; export r; \
15661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15663 for flag in $(EXTRA_HOST_FLAGS); do \
15664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15666 echo "Doing install-info in recode" ; \
15668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15670 "RANLIB=$${RANLIB}" \
15671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15677 .PHONY: maybe-installcheck-recode installcheck-recode
15678 maybe-installcheck-recode:
15680 maybe-installcheck-recode: installcheck-recode
15682 installcheck-recode: \
15684 @[ -f ./recode/Makefile ] || exit 0; \
15685 r=`${PWD_COMMAND}`; export r; \
15686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15688 for flag in $(EXTRA_HOST_FLAGS); do \
15689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15691 echo "Doing installcheck in recode" ; \
15693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15695 "RANLIB=$${RANLIB}" \
15696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15702 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
15703 maybe-mostlyclean-recode:
15705 maybe-mostlyclean-recode: mostlyclean-recode
15707 mostlyclean-recode:
15708 @[ -f ./recode/Makefile ] || exit 0; \
15709 r=`${PWD_COMMAND}`; export r; \
15710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15712 for flag in $(EXTRA_HOST_FLAGS); do \
15713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15715 echo "Doing mostlyclean in recode" ; \
15717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15719 "RANLIB=$${RANLIB}" \
15720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15726 .PHONY: maybe-clean-recode clean-recode
15727 maybe-clean-recode:
15729 maybe-clean-recode: clean-recode
15732 @[ -f ./recode/Makefile ] || exit 0; \
15733 r=`${PWD_COMMAND}`; export r; \
15734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15736 for flag in $(EXTRA_HOST_FLAGS); do \
15737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15739 echo "Doing clean in recode" ; \
15741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15743 "RANLIB=$${RANLIB}" \
15744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15750 .PHONY: maybe-distclean-recode distclean-recode
15751 maybe-distclean-recode:
15753 maybe-distclean-recode: distclean-recode
15756 @[ -f ./recode/Makefile ] || exit 0; \
15757 r=`${PWD_COMMAND}`; export r; \
15758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15760 for flag in $(EXTRA_HOST_FLAGS); do \
15761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15763 echo "Doing distclean in recode" ; \
15765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15767 "RANLIB=$${RANLIB}" \
15768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15774 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
15775 maybe-maintainer-clean-recode:
15777 maybe-maintainer-clean-recode: maintainer-clean-recode
15779 maintainer-clean-recode:
15780 @[ -f ./recode/Makefile ] || exit 0; \
15781 r=`${PWD_COMMAND}`; export r; \
15782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15784 for flag in $(EXTRA_HOST_FLAGS); do \
15785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15787 echo "Doing maintainer-clean in recode" ; \
15789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15791 "RANLIB=$${RANLIB}" \
15792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15793 maintainer-clean) \
15799 .PHONY: configure-sed maybe-configure-sed
15800 maybe-configure-sed:
15802 maybe-configure-sed: configure-sed
15804 @test ! -f sed/Makefile || exit 0; \
15805 [ -d sed ] || mkdir sed; \
15806 r=`${PWD_COMMAND}`; export r; \
15807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15808 CC="$(CC)"; export CC; \
15809 CFLAGS="$(CFLAGS)"; export CFLAGS; \
15810 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
15811 CXX="$(CXX)"; export CXX; \
15812 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
15813 AR="$(AR)"; export AR; \
15814 AS="$(AS)"; export AS; \
15815 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
15816 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
15817 LD="$(LD)"; export LD; \
15818 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
15819 NM="$(NM)"; export NM; \
15820 RANLIB="$(RANLIB)"; export RANLIB; \
15821 WINDRES="$(WINDRES)"; export WINDRES; \
15822 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
15823 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
15824 echo Configuring in sed; \
15825 cd sed || exit 1; \
15826 case $(srcdir) in \
15828 srcdiroption="--srcdir=."; \
15830 /* | [A-Za-z]:[\\/]*) \
15831 srcdiroption="--srcdir=$(srcdir)/sed"; \
15832 libsrcdir="$$s/sed";; \
15834 srcdiroption="--srcdir=../$(srcdir)/sed"; \
15835 libsrcdir="$$s/sed";; \
15837 $(SHELL) $${libsrcdir}/configure \
15838 $(HOST_CONFIGARGS) $${srcdiroption} \
15842 .PHONY: all-sed maybe-all-sed
15845 maybe-all-sed: all-sed
15846 all-sed: configure-sed
15847 @r=`${PWD_COMMAND}`; export r; \
15848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15850 (cd sed && $(MAKE) $(FLAGS_TO_PASS) all)
15853 .PHONY: check-sed maybe-check-sed
15856 maybe-check-sed: check-sed
15859 @r=`${PWD_COMMAND}`; export r; \
15860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15862 (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
15866 .PHONY: install-sed maybe-install-sed
15869 maybe-install-sed: install-sed
15871 install-sed: installdirs
15872 @r=`${PWD_COMMAND}`; export r; \
15873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15875 (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
15879 # Other targets (info, dvi, etc.)
15881 .PHONY: maybe-info-sed info-sed
15884 maybe-info-sed: info-sed
15888 @[ -f ./sed/Makefile ] || exit 0; \
15889 r=`${PWD_COMMAND}`; export r; \
15890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15892 for flag in $(EXTRA_HOST_FLAGS); do \
15893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15895 echo "Doing info in sed" ; \
15897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15899 "RANLIB=$${RANLIB}" \
15900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15906 .PHONY: maybe-dvi-sed dvi-sed
15909 maybe-dvi-sed: dvi-sed
15913 @[ -f ./sed/Makefile ] || exit 0; \
15914 r=`${PWD_COMMAND}`; export r; \
15915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15917 for flag in $(EXTRA_HOST_FLAGS); do \
15918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15920 echo "Doing dvi in sed" ; \
15922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15924 "RANLIB=$${RANLIB}" \
15925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15931 .PHONY: maybe-TAGS-sed TAGS-sed
15934 maybe-TAGS-sed: TAGS-sed
15938 @[ -f ./sed/Makefile ] || exit 0; \
15939 r=`${PWD_COMMAND}`; export r; \
15940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15942 for flag in $(EXTRA_HOST_FLAGS); do \
15943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15945 echo "Doing TAGS in sed" ; \
15947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15949 "RANLIB=$${RANLIB}" \
15950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15956 .PHONY: maybe-install-info-sed install-info-sed
15957 maybe-install-info-sed:
15959 maybe-install-info-sed: install-info-sed
15961 install-info-sed: \
15964 @[ -f ./sed/Makefile ] || exit 0; \
15965 r=`${PWD_COMMAND}`; export r; \
15966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15968 for flag in $(EXTRA_HOST_FLAGS); do \
15969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15971 echo "Doing install-info in sed" ; \
15973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15975 "RANLIB=$${RANLIB}" \
15976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15982 .PHONY: maybe-installcheck-sed installcheck-sed
15983 maybe-installcheck-sed:
15985 maybe-installcheck-sed: installcheck-sed
15987 installcheck-sed: \
15989 @[ -f ./sed/Makefile ] || exit 0; \
15990 r=`${PWD_COMMAND}`; export r; \
15991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15993 for flag in $(EXTRA_HOST_FLAGS); do \
15994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15996 echo "Doing installcheck in sed" ; \
15998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16000 "RANLIB=$${RANLIB}" \
16001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16007 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
16008 maybe-mostlyclean-sed:
16010 maybe-mostlyclean-sed: mostlyclean-sed
16013 @[ -f ./sed/Makefile ] || exit 0; \
16014 r=`${PWD_COMMAND}`; export r; \
16015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16017 for flag in $(EXTRA_HOST_FLAGS); do \
16018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16020 echo "Doing mostlyclean in sed" ; \
16022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16024 "RANLIB=$${RANLIB}" \
16025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16031 .PHONY: maybe-clean-sed clean-sed
16034 maybe-clean-sed: clean-sed
16037 @[ -f ./sed/Makefile ] || exit 0; \
16038 r=`${PWD_COMMAND}`; export r; \
16039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16041 for flag in $(EXTRA_HOST_FLAGS); do \
16042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16044 echo "Doing clean in sed" ; \
16046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16048 "RANLIB=$${RANLIB}" \
16049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16055 .PHONY: maybe-distclean-sed distclean-sed
16056 maybe-distclean-sed:
16058 maybe-distclean-sed: distclean-sed
16061 @[ -f ./sed/Makefile ] || exit 0; \
16062 r=`${PWD_COMMAND}`; export r; \
16063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16065 for flag in $(EXTRA_HOST_FLAGS); do \
16066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16068 echo "Doing distclean in sed" ; \
16070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16072 "RANLIB=$${RANLIB}" \
16073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16079 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
16080 maybe-maintainer-clean-sed:
16082 maybe-maintainer-clean-sed: maintainer-clean-sed
16084 maintainer-clean-sed:
16085 @[ -f ./sed/Makefile ] || exit 0; \
16086 r=`${PWD_COMMAND}`; export r; \
16087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16089 for flag in $(EXTRA_HOST_FLAGS); do \
16090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16092 echo "Doing maintainer-clean in sed" ; \
16094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16096 "RANLIB=$${RANLIB}" \
16097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16098 maintainer-clean) \
16104 .PHONY: configure-send-pr maybe-configure-send-pr
16105 maybe-configure-send-pr:
16107 maybe-configure-send-pr: configure-send-pr
16109 @test ! -f send-pr/Makefile || exit 0; \
16110 [ -d send-pr ] || mkdir send-pr; \
16111 r=`${PWD_COMMAND}`; export r; \
16112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16113 CC="$(CC)"; export CC; \
16114 CFLAGS="$(CFLAGS)"; export CFLAGS; \
16115 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
16116 CXX="$(CXX)"; export CXX; \
16117 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
16118 AR="$(AR)"; export AR; \
16119 AS="$(AS)"; export AS; \
16120 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
16121 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
16122 LD="$(LD)"; export LD; \
16123 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
16124 NM="$(NM)"; export NM; \
16125 RANLIB="$(RANLIB)"; export RANLIB; \
16126 WINDRES="$(WINDRES)"; export WINDRES; \
16127 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
16128 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
16129 echo Configuring in send-pr; \
16130 cd send-pr || exit 1; \
16131 case $(srcdir) in \
16133 srcdiroption="--srcdir=."; \
16135 /* | [A-Za-z]:[\\/]*) \
16136 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
16137 libsrcdir="$$s/send-pr";; \
16139 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
16140 libsrcdir="$$s/send-pr";; \
16142 $(SHELL) $${libsrcdir}/configure \
16143 $(HOST_CONFIGARGS) $${srcdiroption} \
16147 .PHONY: all-send-pr maybe-all-send-pr
16150 maybe-all-send-pr: all-send-pr
16151 all-send-pr: configure-send-pr
16152 @r=`${PWD_COMMAND}`; export r; \
16153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16155 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) all)
16158 .PHONY: check-send-pr maybe-check-send-pr
16159 maybe-check-send-pr:
16161 maybe-check-send-pr: check-send-pr
16164 @r=`${PWD_COMMAND}`; export r; \
16165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16167 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
16171 .PHONY: install-send-pr maybe-install-send-pr
16172 maybe-install-send-pr:
16174 maybe-install-send-pr: install-send-pr
16176 install-send-pr: installdirs
16177 @r=`${PWD_COMMAND}`; export r; \
16178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16180 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
16184 # Other targets (info, dvi, etc.)
16186 .PHONY: maybe-info-send-pr info-send-pr
16187 maybe-info-send-pr:
16189 maybe-info-send-pr: info-send-pr
16193 @[ -f ./send-pr/Makefile ] || exit 0; \
16194 r=`${PWD_COMMAND}`; export r; \
16195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16197 for flag in $(EXTRA_HOST_FLAGS); do \
16198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16200 echo "Doing info in send-pr" ; \
16202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16204 "RANLIB=$${RANLIB}" \
16205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16211 .PHONY: maybe-dvi-send-pr dvi-send-pr
16214 maybe-dvi-send-pr: dvi-send-pr
16218 @[ -f ./send-pr/Makefile ] || exit 0; \
16219 r=`${PWD_COMMAND}`; export r; \
16220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16222 for flag in $(EXTRA_HOST_FLAGS); do \
16223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16225 echo "Doing dvi in send-pr" ; \
16227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16229 "RANLIB=$${RANLIB}" \
16230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16236 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
16237 maybe-TAGS-send-pr:
16239 maybe-TAGS-send-pr: TAGS-send-pr
16243 @[ -f ./send-pr/Makefile ] || exit 0; \
16244 r=`${PWD_COMMAND}`; export r; \
16245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16247 for flag in $(EXTRA_HOST_FLAGS); do \
16248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16250 echo "Doing TAGS in send-pr" ; \
16252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16254 "RANLIB=$${RANLIB}" \
16255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16261 .PHONY: maybe-install-info-send-pr install-info-send-pr
16262 maybe-install-info-send-pr:
16264 maybe-install-info-send-pr: install-info-send-pr
16266 install-info-send-pr: \
16267 configure-send-pr \
16269 @[ -f ./send-pr/Makefile ] || exit 0; \
16270 r=`${PWD_COMMAND}`; export r; \
16271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16273 for flag in $(EXTRA_HOST_FLAGS); do \
16274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16276 echo "Doing install-info in send-pr" ; \
16278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16280 "RANLIB=$${RANLIB}" \
16281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16287 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
16288 maybe-installcheck-send-pr:
16290 maybe-installcheck-send-pr: installcheck-send-pr
16292 installcheck-send-pr: \
16294 @[ -f ./send-pr/Makefile ] || exit 0; \
16295 r=`${PWD_COMMAND}`; export r; \
16296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16298 for flag in $(EXTRA_HOST_FLAGS); do \
16299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16301 echo "Doing installcheck in send-pr" ; \
16303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16305 "RANLIB=$${RANLIB}" \
16306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16312 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
16313 maybe-mostlyclean-send-pr:
16315 maybe-mostlyclean-send-pr: mostlyclean-send-pr
16317 mostlyclean-send-pr:
16318 @[ -f ./send-pr/Makefile ] || exit 0; \
16319 r=`${PWD_COMMAND}`; export r; \
16320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16322 for flag in $(EXTRA_HOST_FLAGS); do \
16323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16325 echo "Doing mostlyclean in send-pr" ; \
16327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16329 "RANLIB=$${RANLIB}" \
16330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16336 .PHONY: maybe-clean-send-pr clean-send-pr
16337 maybe-clean-send-pr:
16339 maybe-clean-send-pr: clean-send-pr
16342 @[ -f ./send-pr/Makefile ] || exit 0; \
16343 r=`${PWD_COMMAND}`; export r; \
16344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16346 for flag in $(EXTRA_HOST_FLAGS); do \
16347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16349 echo "Doing clean in send-pr" ; \
16351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16353 "RANLIB=$${RANLIB}" \
16354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16360 .PHONY: maybe-distclean-send-pr distclean-send-pr
16361 maybe-distclean-send-pr:
16363 maybe-distclean-send-pr: distclean-send-pr
16366 @[ -f ./send-pr/Makefile ] || exit 0; \
16367 r=`${PWD_COMMAND}`; export r; \
16368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16370 for flag in $(EXTRA_HOST_FLAGS); do \
16371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16373 echo "Doing distclean in send-pr" ; \
16375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16377 "RANLIB=$${RANLIB}" \
16378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16384 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
16385 maybe-maintainer-clean-send-pr:
16387 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
16389 maintainer-clean-send-pr:
16390 @[ -f ./send-pr/Makefile ] || exit 0; \
16391 r=`${PWD_COMMAND}`; export r; \
16392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16394 for flag in $(EXTRA_HOST_FLAGS); do \
16395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16397 echo "Doing maintainer-clean in send-pr" ; \
16399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16401 "RANLIB=$${RANLIB}" \
16402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16403 maintainer-clean) \
16409 .PHONY: configure-shellutils maybe-configure-shellutils
16410 maybe-configure-shellutils:
16412 maybe-configure-shellutils: configure-shellutils
16413 configure-shellutils:
16414 @test ! -f shellutils/Makefile || exit 0; \
16415 [ -d shellutils ] || mkdir shellutils; \
16416 r=`${PWD_COMMAND}`; export r; \
16417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16418 CC="$(CC)"; export CC; \
16419 CFLAGS="$(CFLAGS)"; export CFLAGS; \
16420 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
16421 CXX="$(CXX)"; export CXX; \
16422 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
16423 AR="$(AR)"; export AR; \
16424 AS="$(AS)"; export AS; \
16425 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
16426 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
16427 LD="$(LD)"; export LD; \
16428 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
16429 NM="$(NM)"; export NM; \
16430 RANLIB="$(RANLIB)"; export RANLIB; \
16431 WINDRES="$(WINDRES)"; export WINDRES; \
16432 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
16433 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
16434 echo Configuring in shellutils; \
16435 cd shellutils || exit 1; \
16436 case $(srcdir) in \
16438 srcdiroption="--srcdir=."; \
16440 /* | [A-Za-z]:[\\/]*) \
16441 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
16442 libsrcdir="$$s/shellutils";; \
16444 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
16445 libsrcdir="$$s/shellutils";; \
16447 $(SHELL) $${libsrcdir}/configure \
16448 $(HOST_CONFIGARGS) $${srcdiroption} \
16452 .PHONY: all-shellutils maybe-all-shellutils
16453 maybe-all-shellutils:
16455 maybe-all-shellutils: all-shellutils
16456 all-shellutils: configure-shellutils
16457 @r=`${PWD_COMMAND}`; export r; \
16458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16460 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) all)
16463 .PHONY: check-shellutils maybe-check-shellutils
16464 maybe-check-shellutils:
16466 maybe-check-shellutils: check-shellutils
16469 @r=`${PWD_COMMAND}`; export r; \
16470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16472 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
16476 .PHONY: install-shellutils maybe-install-shellutils
16477 maybe-install-shellutils:
16479 maybe-install-shellutils: install-shellutils
16481 install-shellutils: installdirs
16482 @r=`${PWD_COMMAND}`; export r; \
16483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16485 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
16489 # Other targets (info, dvi, etc.)
16491 .PHONY: maybe-info-shellutils info-shellutils
16492 maybe-info-shellutils:
16494 maybe-info-shellutils: info-shellutils
16497 configure-shellutils
16498 @[ -f ./shellutils/Makefile ] || exit 0; \
16499 r=`${PWD_COMMAND}`; export r; \
16500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16502 for flag in $(EXTRA_HOST_FLAGS); do \
16503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16505 echo "Doing info in shellutils" ; \
16506 (cd shellutils && \
16507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16509 "RANLIB=$${RANLIB}" \
16510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16516 .PHONY: maybe-dvi-shellutils dvi-shellutils
16517 maybe-dvi-shellutils:
16519 maybe-dvi-shellutils: dvi-shellutils
16522 configure-shellutils
16523 @[ -f ./shellutils/Makefile ] || exit 0; \
16524 r=`${PWD_COMMAND}`; export r; \
16525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16527 for flag in $(EXTRA_HOST_FLAGS); do \
16528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16530 echo "Doing dvi in shellutils" ; \
16531 (cd shellutils && \
16532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16534 "RANLIB=$${RANLIB}" \
16535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16541 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
16542 maybe-TAGS-shellutils:
16544 maybe-TAGS-shellutils: TAGS-shellutils
16547 configure-shellutils
16548 @[ -f ./shellutils/Makefile ] || exit 0; \
16549 r=`${PWD_COMMAND}`; export r; \
16550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16552 for flag in $(EXTRA_HOST_FLAGS); do \
16553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16555 echo "Doing TAGS in shellutils" ; \
16556 (cd shellutils && \
16557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16559 "RANLIB=$${RANLIB}" \
16560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16566 .PHONY: maybe-install-info-shellutils install-info-shellutils
16567 maybe-install-info-shellutils:
16569 maybe-install-info-shellutils: install-info-shellutils
16571 install-info-shellutils: \
16572 configure-shellutils \
16574 @[ -f ./shellutils/Makefile ] || exit 0; \
16575 r=`${PWD_COMMAND}`; export r; \
16576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16578 for flag in $(EXTRA_HOST_FLAGS); do \
16579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16581 echo "Doing install-info in shellutils" ; \
16582 (cd shellutils && \
16583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16585 "RANLIB=$${RANLIB}" \
16586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16592 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
16593 maybe-installcheck-shellutils:
16595 maybe-installcheck-shellutils: installcheck-shellutils
16597 installcheck-shellutils: \
16598 configure-shellutils
16599 @[ -f ./shellutils/Makefile ] || exit 0; \
16600 r=`${PWD_COMMAND}`; export r; \
16601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16603 for flag in $(EXTRA_HOST_FLAGS); do \
16604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16606 echo "Doing installcheck in shellutils" ; \
16607 (cd shellutils && \
16608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16610 "RANLIB=$${RANLIB}" \
16611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16617 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
16618 maybe-mostlyclean-shellutils:
16620 maybe-mostlyclean-shellutils: mostlyclean-shellutils
16622 mostlyclean-shellutils:
16623 @[ -f ./shellutils/Makefile ] || exit 0; \
16624 r=`${PWD_COMMAND}`; export r; \
16625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16627 for flag in $(EXTRA_HOST_FLAGS); do \
16628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16630 echo "Doing mostlyclean in shellutils" ; \
16631 (cd shellutils && \
16632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16634 "RANLIB=$${RANLIB}" \
16635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16641 .PHONY: maybe-clean-shellutils clean-shellutils
16642 maybe-clean-shellutils:
16644 maybe-clean-shellutils: clean-shellutils
16647 @[ -f ./shellutils/Makefile ] || exit 0; \
16648 r=`${PWD_COMMAND}`; export r; \
16649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16651 for flag in $(EXTRA_HOST_FLAGS); do \
16652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16654 echo "Doing clean in shellutils" ; \
16655 (cd shellutils && \
16656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16658 "RANLIB=$${RANLIB}" \
16659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16665 .PHONY: maybe-distclean-shellutils distclean-shellutils
16666 maybe-distclean-shellutils:
16668 maybe-distclean-shellutils: distclean-shellutils
16670 distclean-shellutils:
16671 @[ -f ./shellutils/Makefile ] || exit 0; \
16672 r=`${PWD_COMMAND}`; export r; \
16673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16675 for flag in $(EXTRA_HOST_FLAGS); do \
16676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16678 echo "Doing distclean in shellutils" ; \
16679 (cd shellutils && \
16680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16682 "RANLIB=$${RANLIB}" \
16683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16689 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
16690 maybe-maintainer-clean-shellutils:
16692 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
16694 maintainer-clean-shellutils:
16695 @[ -f ./shellutils/Makefile ] || exit 0; \
16696 r=`${PWD_COMMAND}`; export r; \
16697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16699 for flag in $(EXTRA_HOST_FLAGS); do \
16700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16702 echo "Doing maintainer-clean in shellutils" ; \
16703 (cd shellutils && \
16704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16706 "RANLIB=$${RANLIB}" \
16707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16708 maintainer-clean) \
16714 .PHONY: configure-sid maybe-configure-sid
16715 maybe-configure-sid:
16717 maybe-configure-sid: configure-sid
16719 @test ! -f sid/Makefile || exit 0; \
16720 [ -d sid ] || mkdir sid; \
16721 r=`${PWD_COMMAND}`; export r; \
16722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16723 CC="$(CC)"; export CC; \
16724 CFLAGS="$(CFLAGS)"; export CFLAGS; \
16725 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
16726 CXX="$(CXX)"; export CXX; \
16727 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
16728 AR="$(AR)"; export AR; \
16729 AS="$(AS)"; export AS; \
16730 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
16731 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
16732 LD="$(LD)"; export LD; \
16733 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
16734 NM="$(NM)"; export NM; \
16735 RANLIB="$(RANLIB)"; export RANLIB; \
16736 WINDRES="$(WINDRES)"; export WINDRES; \
16737 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
16738 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
16739 echo Configuring in sid; \
16740 cd sid || exit 1; \
16741 case $(srcdir) in \
16743 srcdiroption="--srcdir=."; \
16745 /* | [A-Za-z]:[\\/]*) \
16746 srcdiroption="--srcdir=$(srcdir)/sid"; \
16747 libsrcdir="$$s/sid";; \
16749 srcdiroption="--srcdir=../$(srcdir)/sid"; \
16750 libsrcdir="$$s/sid";; \
16752 $(SHELL) $${libsrcdir}/configure \
16753 $(HOST_CONFIGARGS) $${srcdiroption} \
16757 .PHONY: all-sid maybe-all-sid
16760 maybe-all-sid: all-sid
16761 all-sid: configure-sid
16762 @r=`${PWD_COMMAND}`; export r; \
16763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16765 (cd sid && $(MAKE) $(FLAGS_TO_PASS) all)
16768 .PHONY: check-sid maybe-check-sid
16771 maybe-check-sid: check-sid
16774 @r=`${PWD_COMMAND}`; export r; \
16775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16777 (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
16781 .PHONY: install-sid maybe-install-sid
16784 maybe-install-sid: install-sid
16786 install-sid: installdirs
16787 @r=`${PWD_COMMAND}`; export r; \
16788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16790 (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
16794 # Other targets (info, dvi, etc.)
16796 .PHONY: maybe-info-sid info-sid
16799 maybe-info-sid: info-sid
16803 @[ -f ./sid/Makefile ] || exit 0; \
16804 r=`${PWD_COMMAND}`; export r; \
16805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16807 for flag in $(EXTRA_HOST_FLAGS); do \
16808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16810 echo "Doing info in sid" ; \
16812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16814 "RANLIB=$${RANLIB}" \
16815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16821 .PHONY: maybe-dvi-sid dvi-sid
16824 maybe-dvi-sid: dvi-sid
16828 @[ -f ./sid/Makefile ] || exit 0; \
16829 r=`${PWD_COMMAND}`; export r; \
16830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16832 for flag in $(EXTRA_HOST_FLAGS); do \
16833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16835 echo "Doing dvi in sid" ; \
16837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16839 "RANLIB=$${RANLIB}" \
16840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16846 .PHONY: maybe-TAGS-sid TAGS-sid
16849 maybe-TAGS-sid: TAGS-sid
16853 @[ -f ./sid/Makefile ] || exit 0; \
16854 r=`${PWD_COMMAND}`; export r; \
16855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16857 for flag in $(EXTRA_HOST_FLAGS); do \
16858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16860 echo "Doing TAGS in sid" ; \
16862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16864 "RANLIB=$${RANLIB}" \
16865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16871 .PHONY: maybe-install-info-sid install-info-sid
16872 maybe-install-info-sid:
16874 maybe-install-info-sid: install-info-sid
16876 install-info-sid: \
16879 @[ -f ./sid/Makefile ] || exit 0; \
16880 r=`${PWD_COMMAND}`; export r; \
16881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16883 for flag in $(EXTRA_HOST_FLAGS); do \
16884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16886 echo "Doing install-info in sid" ; \
16888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16890 "RANLIB=$${RANLIB}" \
16891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16897 .PHONY: maybe-installcheck-sid installcheck-sid
16898 maybe-installcheck-sid:
16900 maybe-installcheck-sid: installcheck-sid
16902 installcheck-sid: \
16904 @[ -f ./sid/Makefile ] || exit 0; \
16905 r=`${PWD_COMMAND}`; export r; \
16906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16908 for flag in $(EXTRA_HOST_FLAGS); do \
16909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16911 echo "Doing installcheck in sid" ; \
16913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16915 "RANLIB=$${RANLIB}" \
16916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16922 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
16923 maybe-mostlyclean-sid:
16925 maybe-mostlyclean-sid: mostlyclean-sid
16928 @[ -f ./sid/Makefile ] || exit 0; \
16929 r=`${PWD_COMMAND}`; export r; \
16930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16932 for flag in $(EXTRA_HOST_FLAGS); do \
16933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16935 echo "Doing mostlyclean in sid" ; \
16937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16939 "RANLIB=$${RANLIB}" \
16940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16946 .PHONY: maybe-clean-sid clean-sid
16949 maybe-clean-sid: clean-sid
16952 @[ -f ./sid/Makefile ] || exit 0; \
16953 r=`${PWD_COMMAND}`; export r; \
16954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16956 for flag in $(EXTRA_HOST_FLAGS); do \
16957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16959 echo "Doing clean in sid" ; \
16961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16963 "RANLIB=$${RANLIB}" \
16964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16970 .PHONY: maybe-distclean-sid distclean-sid
16971 maybe-distclean-sid:
16973 maybe-distclean-sid: distclean-sid
16976 @[ -f ./sid/Makefile ] || exit 0; \
16977 r=`${PWD_COMMAND}`; export r; \
16978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16980 for flag in $(EXTRA_HOST_FLAGS); do \
16981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16983 echo "Doing distclean in sid" ; \
16985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16987 "RANLIB=$${RANLIB}" \
16988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16994 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
16995 maybe-maintainer-clean-sid:
16997 maybe-maintainer-clean-sid: maintainer-clean-sid
16999 maintainer-clean-sid:
17000 @[ -f ./sid/Makefile ] || exit 0; \
17001 r=`${PWD_COMMAND}`; export r; \
17002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17004 for flag in $(EXTRA_HOST_FLAGS); do \
17005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17007 echo "Doing maintainer-clean in sid" ; \
17009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17011 "RANLIB=$${RANLIB}" \
17012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17013 maintainer-clean) \
17019 .PHONY: configure-sim maybe-configure-sim
17020 maybe-configure-sim:
17022 maybe-configure-sim: configure-sim
17024 @test ! -f sim/Makefile || exit 0; \
17025 [ -d sim ] || mkdir sim; \
17026 r=`${PWD_COMMAND}`; export r; \
17027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17028 CC="$(CC)"; export CC; \
17029 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17030 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
17031 CXX="$(CXX)"; export CXX; \
17032 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17033 AR="$(AR)"; export AR; \
17034 AS="$(AS)"; export AS; \
17035 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17036 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17037 LD="$(LD)"; export LD; \
17038 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
17039 NM="$(NM)"; export NM; \
17040 RANLIB="$(RANLIB)"; export RANLIB; \
17041 WINDRES="$(WINDRES)"; export WINDRES; \
17042 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17043 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17044 echo Configuring in sim; \
17045 cd sim || exit 1; \
17046 case $(srcdir) in \
17048 srcdiroption="--srcdir=."; \
17050 /* | [A-Za-z]:[\\/]*) \
17051 srcdiroption="--srcdir=$(srcdir)/sim"; \
17052 libsrcdir="$$s/sim";; \
17054 srcdiroption="--srcdir=../$(srcdir)/sim"; \
17055 libsrcdir="$$s/sim";; \
17057 $(SHELL) $${libsrcdir}/configure \
17058 $(HOST_CONFIGARGS) $${srcdiroption} \
17062 .PHONY: all-sim maybe-all-sim
17065 maybe-all-sim: all-sim
17066 all-sim: configure-sim
17067 @r=`${PWD_COMMAND}`; export r; \
17068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17070 (cd sim && $(MAKE) $(FLAGS_TO_PASS) all)
17073 .PHONY: check-sim maybe-check-sim
17076 maybe-check-sim: check-sim
17079 @r=`${PWD_COMMAND}`; export r; \
17080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17082 (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
17086 .PHONY: install-sim maybe-install-sim
17089 maybe-install-sim: install-sim
17091 install-sim: installdirs
17092 @r=`${PWD_COMMAND}`; export r; \
17093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17095 (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
17099 # Other targets (info, dvi, etc.)
17101 .PHONY: maybe-info-sim info-sim
17104 maybe-info-sim: info-sim
17108 @[ -f ./sim/Makefile ] || exit 0; \
17109 r=`${PWD_COMMAND}`; export r; \
17110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17112 for flag in $(EXTRA_HOST_FLAGS); do \
17113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17115 echo "Doing info in sim" ; \
17117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17119 "RANLIB=$${RANLIB}" \
17120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17126 .PHONY: maybe-dvi-sim dvi-sim
17129 maybe-dvi-sim: dvi-sim
17133 @[ -f ./sim/Makefile ] || exit 0; \
17134 r=`${PWD_COMMAND}`; export r; \
17135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17137 for flag in $(EXTRA_HOST_FLAGS); do \
17138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17140 echo "Doing dvi in sim" ; \
17142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17144 "RANLIB=$${RANLIB}" \
17145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17151 .PHONY: maybe-TAGS-sim TAGS-sim
17154 maybe-TAGS-sim: TAGS-sim
17158 @[ -f ./sim/Makefile ] || exit 0; \
17159 r=`${PWD_COMMAND}`; export r; \
17160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17162 for flag in $(EXTRA_HOST_FLAGS); do \
17163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17165 echo "Doing TAGS in sim" ; \
17167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17169 "RANLIB=$${RANLIB}" \
17170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17176 .PHONY: maybe-install-info-sim install-info-sim
17177 maybe-install-info-sim:
17179 maybe-install-info-sim: install-info-sim
17181 install-info-sim: \
17184 @[ -f ./sim/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 install-info in sim" ; \
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}" \
17202 .PHONY: maybe-installcheck-sim installcheck-sim
17203 maybe-installcheck-sim:
17205 maybe-installcheck-sim: installcheck-sim
17207 installcheck-sim: \
17209 @[ -f ./sim/Makefile ] || exit 0; \
17210 r=`${PWD_COMMAND}`; export r; \
17211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17213 for flag in $(EXTRA_HOST_FLAGS); do \
17214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17216 echo "Doing installcheck in sim" ; \
17218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17220 "RANLIB=$${RANLIB}" \
17221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17227 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
17228 maybe-mostlyclean-sim:
17230 maybe-mostlyclean-sim: mostlyclean-sim
17233 @[ -f ./sim/Makefile ] || exit 0; \
17234 r=`${PWD_COMMAND}`; export r; \
17235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17237 for flag in $(EXTRA_HOST_FLAGS); do \
17238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17240 echo "Doing mostlyclean in sim" ; \
17242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17244 "RANLIB=$${RANLIB}" \
17245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17251 .PHONY: maybe-clean-sim clean-sim
17254 maybe-clean-sim: clean-sim
17257 @[ -f ./sim/Makefile ] || exit 0; \
17258 r=`${PWD_COMMAND}`; export r; \
17259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17261 for flag in $(EXTRA_HOST_FLAGS); do \
17262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17264 echo "Doing clean in sim" ; \
17266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17268 "RANLIB=$${RANLIB}" \
17269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17275 .PHONY: maybe-distclean-sim distclean-sim
17276 maybe-distclean-sim:
17278 maybe-distclean-sim: distclean-sim
17281 @[ -f ./sim/Makefile ] || exit 0; \
17282 r=`${PWD_COMMAND}`; export r; \
17283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17285 for flag in $(EXTRA_HOST_FLAGS); do \
17286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17288 echo "Doing distclean in sim" ; \
17290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17292 "RANLIB=$${RANLIB}" \
17293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17299 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
17300 maybe-maintainer-clean-sim:
17302 maybe-maintainer-clean-sim: maintainer-clean-sim
17304 maintainer-clean-sim:
17305 @[ -f ./sim/Makefile ] || exit 0; \
17306 r=`${PWD_COMMAND}`; export r; \
17307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17309 for flag in $(EXTRA_HOST_FLAGS); do \
17310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17312 echo "Doing maintainer-clean in sim" ; \
17314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17316 "RANLIB=$${RANLIB}" \
17317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17318 maintainer-clean) \
17324 .PHONY: configure-tar maybe-configure-tar
17325 maybe-configure-tar:
17327 maybe-configure-tar: configure-tar
17329 @test ! -f tar/Makefile || exit 0; \
17330 [ -d tar ] || mkdir tar; \
17331 r=`${PWD_COMMAND}`; export r; \
17332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17333 CC="$(CC)"; export CC; \
17334 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17335 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
17336 CXX="$(CXX)"; export CXX; \
17337 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17338 AR="$(AR)"; export AR; \
17339 AS="$(AS)"; export AS; \
17340 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17341 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17342 LD="$(LD)"; export LD; \
17343 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
17344 NM="$(NM)"; export NM; \
17345 RANLIB="$(RANLIB)"; export RANLIB; \
17346 WINDRES="$(WINDRES)"; export WINDRES; \
17347 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17348 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17349 echo Configuring in tar; \
17350 cd tar || exit 1; \
17351 case $(srcdir) in \
17353 srcdiroption="--srcdir=."; \
17355 /* | [A-Za-z]:[\\/]*) \
17356 srcdiroption="--srcdir=$(srcdir)/tar"; \
17357 libsrcdir="$$s/tar";; \
17359 srcdiroption="--srcdir=../$(srcdir)/tar"; \
17360 libsrcdir="$$s/tar";; \
17362 $(SHELL) $${libsrcdir}/configure \
17363 $(HOST_CONFIGARGS) $${srcdiroption} \
17367 .PHONY: all-tar maybe-all-tar
17370 maybe-all-tar: all-tar
17371 all-tar: configure-tar
17372 @r=`${PWD_COMMAND}`; export r; \
17373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17375 (cd tar && $(MAKE) $(FLAGS_TO_PASS) all)
17378 .PHONY: check-tar maybe-check-tar
17381 maybe-check-tar: check-tar
17384 @r=`${PWD_COMMAND}`; export r; \
17385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17387 (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
17391 .PHONY: install-tar maybe-install-tar
17394 maybe-install-tar: install-tar
17396 install-tar: installdirs
17397 @r=`${PWD_COMMAND}`; export r; \
17398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17400 (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
17404 # Other targets (info, dvi, etc.)
17406 .PHONY: maybe-info-tar info-tar
17409 maybe-info-tar: info-tar
17413 @[ -f ./tar/Makefile ] || exit 0; \
17414 r=`${PWD_COMMAND}`; export r; \
17415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17417 for flag in $(EXTRA_HOST_FLAGS); do \
17418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17420 echo "Doing info in tar" ; \
17422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17424 "RANLIB=$${RANLIB}" \
17425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17431 .PHONY: maybe-dvi-tar dvi-tar
17434 maybe-dvi-tar: dvi-tar
17438 @[ -f ./tar/Makefile ] || exit 0; \
17439 r=`${PWD_COMMAND}`; export r; \
17440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17442 for flag in $(EXTRA_HOST_FLAGS); do \
17443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17445 echo "Doing dvi in tar" ; \
17447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17449 "RANLIB=$${RANLIB}" \
17450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17456 .PHONY: maybe-TAGS-tar TAGS-tar
17459 maybe-TAGS-tar: TAGS-tar
17463 @[ -f ./tar/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 TAGS in tar" ; \
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}" \
17481 .PHONY: maybe-install-info-tar install-info-tar
17482 maybe-install-info-tar:
17484 maybe-install-info-tar: install-info-tar
17486 install-info-tar: \
17489 @[ -f ./tar/Makefile ] || exit 0; \
17490 r=`${PWD_COMMAND}`; export r; \
17491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17493 for flag in $(EXTRA_HOST_FLAGS); do \
17494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17496 echo "Doing install-info in tar" ; \
17498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17500 "RANLIB=$${RANLIB}" \
17501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17507 .PHONY: maybe-installcheck-tar installcheck-tar
17508 maybe-installcheck-tar:
17510 maybe-installcheck-tar: installcheck-tar
17512 installcheck-tar: \
17514 @[ -f ./tar/Makefile ] || exit 0; \
17515 r=`${PWD_COMMAND}`; export r; \
17516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17518 for flag in $(EXTRA_HOST_FLAGS); do \
17519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17521 echo "Doing installcheck in tar" ; \
17523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17525 "RANLIB=$${RANLIB}" \
17526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17532 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
17533 maybe-mostlyclean-tar:
17535 maybe-mostlyclean-tar: mostlyclean-tar
17538 @[ -f ./tar/Makefile ] || exit 0; \
17539 r=`${PWD_COMMAND}`; export r; \
17540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17542 for flag in $(EXTRA_HOST_FLAGS); do \
17543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17545 echo "Doing mostlyclean in tar" ; \
17547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17549 "RANLIB=$${RANLIB}" \
17550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17556 .PHONY: maybe-clean-tar clean-tar
17559 maybe-clean-tar: clean-tar
17562 @[ -f ./tar/Makefile ] || exit 0; \
17563 r=`${PWD_COMMAND}`; export r; \
17564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17566 for flag in $(EXTRA_HOST_FLAGS); do \
17567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17569 echo "Doing clean in tar" ; \
17571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17573 "RANLIB=$${RANLIB}" \
17574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17580 .PHONY: maybe-distclean-tar distclean-tar
17581 maybe-distclean-tar:
17583 maybe-distclean-tar: distclean-tar
17586 @[ -f ./tar/Makefile ] || exit 0; \
17587 r=`${PWD_COMMAND}`; export r; \
17588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17590 for flag in $(EXTRA_HOST_FLAGS); do \
17591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17593 echo "Doing distclean in tar" ; \
17595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17597 "RANLIB=$${RANLIB}" \
17598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17604 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
17605 maybe-maintainer-clean-tar:
17607 maybe-maintainer-clean-tar: maintainer-clean-tar
17609 maintainer-clean-tar:
17610 @[ -f ./tar/Makefile ] || exit 0; \
17611 r=`${PWD_COMMAND}`; export r; \
17612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17614 for flag in $(EXTRA_HOST_FLAGS); do \
17615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17617 echo "Doing maintainer-clean in tar" ; \
17619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17621 "RANLIB=$${RANLIB}" \
17622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17623 maintainer-clean) \
17629 .PHONY: configure-texinfo maybe-configure-texinfo
17630 maybe-configure-texinfo:
17632 maybe-configure-texinfo: configure-texinfo
17634 @test ! -f texinfo/Makefile || exit 0; \
17635 [ -d texinfo ] || mkdir texinfo; \
17636 r=`${PWD_COMMAND}`; export r; \
17637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17638 CC="$(CC)"; export CC; \
17639 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17640 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
17641 CXX="$(CXX)"; export CXX; \
17642 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17643 AR="$(AR)"; export AR; \
17644 AS="$(AS)"; export AS; \
17645 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17646 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17647 LD="$(LD)"; export LD; \
17648 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
17649 NM="$(NM)"; export NM; \
17650 RANLIB="$(RANLIB)"; export RANLIB; \
17651 WINDRES="$(WINDRES)"; export WINDRES; \
17652 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17653 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17654 echo Configuring in texinfo; \
17655 cd texinfo || exit 1; \
17656 case $(srcdir) in \
17658 srcdiroption="--srcdir=."; \
17660 /* | [A-Za-z]:[\\/]*) \
17661 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
17662 libsrcdir="$$s/texinfo";; \
17664 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
17665 libsrcdir="$$s/texinfo";; \
17667 $(SHELL) $${libsrcdir}/configure \
17668 $(HOST_CONFIGARGS) $${srcdiroption} \
17672 .PHONY: all-texinfo maybe-all-texinfo
17675 maybe-all-texinfo: all-texinfo
17676 all-texinfo: configure-texinfo
17677 @r=`${PWD_COMMAND}`; export r; \
17678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17680 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) all)
17683 .PHONY: check-texinfo maybe-check-texinfo
17684 maybe-check-texinfo:
17686 maybe-check-texinfo: check-texinfo
17689 @r=`${PWD_COMMAND}`; export r; \
17690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17692 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
17696 .PHONY: install-texinfo maybe-install-texinfo
17697 maybe-install-texinfo:
17699 maybe-install-texinfo: install-texinfo
17705 # Other targets (info, dvi, etc.)
17707 .PHONY: maybe-info-texinfo info-texinfo
17708 maybe-info-texinfo:
17710 maybe-info-texinfo: info-texinfo
17714 @[ -f ./texinfo/Makefile ] || exit 0; \
17715 r=`${PWD_COMMAND}`; export r; \
17716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17718 for flag in $(EXTRA_HOST_FLAGS); do \
17719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17721 echo "Doing info in texinfo" ; \
17723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17725 "RANLIB=$${RANLIB}" \
17726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17732 .PHONY: maybe-dvi-texinfo dvi-texinfo
17735 maybe-dvi-texinfo: dvi-texinfo
17739 @[ -f ./texinfo/Makefile ] || exit 0; \
17740 r=`${PWD_COMMAND}`; export r; \
17741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17743 for flag in $(EXTRA_HOST_FLAGS); do \
17744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17746 echo "Doing dvi in texinfo" ; \
17748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17750 "RANLIB=$${RANLIB}" \
17751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17757 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
17758 maybe-TAGS-texinfo:
17760 maybe-TAGS-texinfo: TAGS-texinfo
17764 @[ -f ./texinfo/Makefile ] || exit 0; \
17765 r=`${PWD_COMMAND}`; export r; \
17766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17768 for flag in $(EXTRA_HOST_FLAGS); do \
17769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17771 echo "Doing TAGS in texinfo" ; \
17773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17775 "RANLIB=$${RANLIB}" \
17776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17782 .PHONY: maybe-install-info-texinfo install-info-texinfo
17783 maybe-install-info-texinfo:
17785 maybe-install-info-texinfo: install-info-texinfo
17787 install-info-texinfo: \
17788 configure-texinfo \
17790 @[ -f ./texinfo/Makefile ] || exit 0; \
17791 r=`${PWD_COMMAND}`; export r; \
17792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17794 for flag in $(EXTRA_HOST_FLAGS); do \
17795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17797 echo "Doing install-info in texinfo" ; \
17799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17801 "RANLIB=$${RANLIB}" \
17802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17808 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
17809 maybe-installcheck-texinfo:
17811 maybe-installcheck-texinfo: installcheck-texinfo
17813 installcheck-texinfo: \
17815 @[ -f ./texinfo/Makefile ] || exit 0; \
17816 r=`${PWD_COMMAND}`; export r; \
17817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17819 for flag in $(EXTRA_HOST_FLAGS); do \
17820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17822 echo "Doing installcheck in texinfo" ; \
17824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17826 "RANLIB=$${RANLIB}" \
17827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17833 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
17834 maybe-mostlyclean-texinfo:
17836 maybe-mostlyclean-texinfo: mostlyclean-texinfo
17838 mostlyclean-texinfo:
17839 @[ -f ./texinfo/Makefile ] || exit 0; \
17840 r=`${PWD_COMMAND}`; export r; \
17841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17843 for flag in $(EXTRA_HOST_FLAGS); do \
17844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17846 echo "Doing mostlyclean in texinfo" ; \
17848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17850 "RANLIB=$${RANLIB}" \
17851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17857 .PHONY: maybe-clean-texinfo clean-texinfo
17858 maybe-clean-texinfo:
17860 maybe-clean-texinfo: clean-texinfo
17863 @[ -f ./texinfo/Makefile ] || exit 0; \
17864 r=`${PWD_COMMAND}`; export r; \
17865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17867 for flag in $(EXTRA_HOST_FLAGS); do \
17868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17870 echo "Doing clean in texinfo" ; \
17872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17874 "RANLIB=$${RANLIB}" \
17875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17881 .PHONY: maybe-distclean-texinfo distclean-texinfo
17882 maybe-distclean-texinfo:
17884 maybe-distclean-texinfo: distclean-texinfo
17887 @[ -f ./texinfo/Makefile ] || exit 0; \
17888 r=`${PWD_COMMAND}`; export r; \
17889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17891 for flag in $(EXTRA_HOST_FLAGS); do \
17892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17894 echo "Doing distclean in texinfo" ; \
17896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17898 "RANLIB=$${RANLIB}" \
17899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17905 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
17906 maybe-maintainer-clean-texinfo:
17908 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
17910 maintainer-clean-texinfo:
17911 @[ -f ./texinfo/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 maintainer-clean in texinfo" ; \
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}" \
17924 maintainer-clean) \
17930 .PHONY: configure-textutils maybe-configure-textutils
17931 maybe-configure-textutils:
17933 maybe-configure-textutils: configure-textutils
17934 configure-textutils:
17935 @test ! -f textutils/Makefile || exit 0; \
17936 [ -d textutils ] || mkdir textutils; \
17937 r=`${PWD_COMMAND}`; export r; \
17938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17939 CC="$(CC)"; export CC; \
17940 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17941 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
17942 CXX="$(CXX)"; export CXX; \
17943 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17944 AR="$(AR)"; export AR; \
17945 AS="$(AS)"; export AS; \
17946 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17947 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17948 LD="$(LD)"; export LD; \
17949 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
17950 NM="$(NM)"; export NM; \
17951 RANLIB="$(RANLIB)"; export RANLIB; \
17952 WINDRES="$(WINDRES)"; export WINDRES; \
17953 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17954 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17955 echo Configuring in textutils; \
17956 cd textutils || exit 1; \
17957 case $(srcdir) in \
17959 srcdiroption="--srcdir=."; \
17961 /* | [A-Za-z]:[\\/]*) \
17962 srcdiroption="--srcdir=$(srcdir)/textutils"; \
17963 libsrcdir="$$s/textutils";; \
17965 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
17966 libsrcdir="$$s/textutils";; \
17968 $(SHELL) $${libsrcdir}/configure \
17969 $(HOST_CONFIGARGS) $${srcdiroption} \
17973 .PHONY: all-textutils maybe-all-textutils
17974 maybe-all-textutils:
17976 maybe-all-textutils: all-textutils
17977 all-textutils: configure-textutils
17978 @r=`${PWD_COMMAND}`; export r; \
17979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17981 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) all)
17984 .PHONY: check-textutils maybe-check-textutils
17985 maybe-check-textutils:
17987 maybe-check-textutils: check-textutils
17990 @r=`${PWD_COMMAND}`; export r; \
17991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17993 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
17997 .PHONY: install-textutils maybe-install-textutils
17998 maybe-install-textutils:
18000 maybe-install-textutils: install-textutils
18002 install-textutils: installdirs
18003 @r=`${PWD_COMMAND}`; export r; \
18004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18006 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
18010 # Other targets (info, dvi, etc.)
18012 .PHONY: maybe-info-textutils info-textutils
18013 maybe-info-textutils:
18015 maybe-info-textutils: info-textutils
18018 configure-textutils
18019 @[ -f ./textutils/Makefile ] || exit 0; \
18020 r=`${PWD_COMMAND}`; export r; \
18021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18023 for flag in $(EXTRA_HOST_FLAGS); do \
18024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18026 echo "Doing info in textutils" ; \
18028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18030 "RANLIB=$${RANLIB}" \
18031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18037 .PHONY: maybe-dvi-textutils dvi-textutils
18038 maybe-dvi-textutils:
18040 maybe-dvi-textutils: dvi-textutils
18043 configure-textutils
18044 @[ -f ./textutils/Makefile ] || exit 0; \
18045 r=`${PWD_COMMAND}`; export r; \
18046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18048 for flag in $(EXTRA_HOST_FLAGS); do \
18049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18051 echo "Doing dvi in textutils" ; \
18053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18055 "RANLIB=$${RANLIB}" \
18056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18062 .PHONY: maybe-TAGS-textutils TAGS-textutils
18063 maybe-TAGS-textutils:
18065 maybe-TAGS-textutils: TAGS-textutils
18068 configure-textutils
18069 @[ -f ./textutils/Makefile ] || exit 0; \
18070 r=`${PWD_COMMAND}`; export r; \
18071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18073 for flag in $(EXTRA_HOST_FLAGS); do \
18074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18076 echo "Doing TAGS in textutils" ; \
18078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18080 "RANLIB=$${RANLIB}" \
18081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18087 .PHONY: maybe-install-info-textutils install-info-textutils
18088 maybe-install-info-textutils:
18090 maybe-install-info-textutils: install-info-textutils
18092 install-info-textutils: \
18093 configure-textutils \
18095 @[ -f ./textutils/Makefile ] || exit 0; \
18096 r=`${PWD_COMMAND}`; export r; \
18097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18099 for flag in $(EXTRA_HOST_FLAGS); do \
18100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18102 echo "Doing install-info in textutils" ; \
18104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18106 "RANLIB=$${RANLIB}" \
18107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18113 .PHONY: maybe-installcheck-textutils installcheck-textutils
18114 maybe-installcheck-textutils:
18116 maybe-installcheck-textutils: installcheck-textutils
18118 installcheck-textutils: \
18119 configure-textutils
18120 @[ -f ./textutils/Makefile ] || exit 0; \
18121 r=`${PWD_COMMAND}`; export r; \
18122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18124 for flag in $(EXTRA_HOST_FLAGS); do \
18125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18127 echo "Doing installcheck in textutils" ; \
18129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18131 "RANLIB=$${RANLIB}" \
18132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18138 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
18139 maybe-mostlyclean-textutils:
18141 maybe-mostlyclean-textutils: mostlyclean-textutils
18143 mostlyclean-textutils:
18144 @[ -f ./textutils/Makefile ] || exit 0; \
18145 r=`${PWD_COMMAND}`; export r; \
18146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18148 for flag in $(EXTRA_HOST_FLAGS); do \
18149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18151 echo "Doing mostlyclean in textutils" ; \
18153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18155 "RANLIB=$${RANLIB}" \
18156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18162 .PHONY: maybe-clean-textutils clean-textutils
18163 maybe-clean-textutils:
18165 maybe-clean-textutils: clean-textutils
18168 @[ -f ./textutils/Makefile ] || exit 0; \
18169 r=`${PWD_COMMAND}`; export r; \
18170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18172 for flag in $(EXTRA_HOST_FLAGS); do \
18173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18175 echo "Doing clean in textutils" ; \
18177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18179 "RANLIB=$${RANLIB}" \
18180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18186 .PHONY: maybe-distclean-textutils distclean-textutils
18187 maybe-distclean-textutils:
18189 maybe-distclean-textutils: distclean-textutils
18191 distclean-textutils:
18192 @[ -f ./textutils/Makefile ] || exit 0; \
18193 r=`${PWD_COMMAND}`; export r; \
18194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18196 for flag in $(EXTRA_HOST_FLAGS); do \
18197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18199 echo "Doing distclean in textutils" ; \
18201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18203 "RANLIB=$${RANLIB}" \
18204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18210 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
18211 maybe-maintainer-clean-textutils:
18213 maybe-maintainer-clean-textutils: maintainer-clean-textutils
18215 maintainer-clean-textutils:
18216 @[ -f ./textutils/Makefile ] || exit 0; \
18217 r=`${PWD_COMMAND}`; export r; \
18218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18220 for flag in $(EXTRA_HOST_FLAGS); do \
18221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18223 echo "Doing maintainer-clean in textutils" ; \
18225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18227 "RANLIB=$${RANLIB}" \
18228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18229 maintainer-clean) \
18235 .PHONY: configure-time maybe-configure-time
18236 maybe-configure-time:
18238 maybe-configure-time: configure-time
18240 @test ! -f time/Makefile || exit 0; \
18241 [ -d time ] || mkdir time; \
18242 r=`${PWD_COMMAND}`; export r; \
18243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18244 CC="$(CC)"; export CC; \
18245 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18246 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
18247 CXX="$(CXX)"; export CXX; \
18248 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18249 AR="$(AR)"; export AR; \
18250 AS="$(AS)"; export AS; \
18251 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18252 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18253 LD="$(LD)"; export LD; \
18254 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
18255 NM="$(NM)"; export NM; \
18256 RANLIB="$(RANLIB)"; export RANLIB; \
18257 WINDRES="$(WINDRES)"; export WINDRES; \
18258 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18259 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18260 echo Configuring in time; \
18261 cd time || exit 1; \
18262 case $(srcdir) in \
18264 srcdiroption="--srcdir=."; \
18266 /* | [A-Za-z]:[\\/]*) \
18267 srcdiroption="--srcdir=$(srcdir)/time"; \
18268 libsrcdir="$$s/time";; \
18270 srcdiroption="--srcdir=../$(srcdir)/time"; \
18271 libsrcdir="$$s/time";; \
18273 $(SHELL) $${libsrcdir}/configure \
18274 $(HOST_CONFIGARGS) $${srcdiroption} \
18278 .PHONY: all-time maybe-all-time
18281 maybe-all-time: all-time
18282 all-time: configure-time
18283 @r=`${PWD_COMMAND}`; export r; \
18284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18286 (cd time && $(MAKE) $(FLAGS_TO_PASS) all)
18289 .PHONY: check-time maybe-check-time
18292 maybe-check-time: check-time
18295 @r=`${PWD_COMMAND}`; export r; \
18296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18298 (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
18302 .PHONY: install-time maybe-install-time
18303 maybe-install-time:
18305 maybe-install-time: install-time
18307 install-time: installdirs
18308 @r=`${PWD_COMMAND}`; export r; \
18309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18311 (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
18315 # Other targets (info, dvi, etc.)
18317 .PHONY: maybe-info-time info-time
18320 maybe-info-time: info-time
18324 @[ -f ./time/Makefile ] || exit 0; \
18325 r=`${PWD_COMMAND}`; export r; \
18326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18328 for flag in $(EXTRA_HOST_FLAGS); do \
18329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18331 echo "Doing info in time" ; \
18333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18335 "RANLIB=$${RANLIB}" \
18336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18342 .PHONY: maybe-dvi-time dvi-time
18345 maybe-dvi-time: dvi-time
18349 @[ -f ./time/Makefile ] || exit 0; \
18350 r=`${PWD_COMMAND}`; export r; \
18351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18353 for flag in $(EXTRA_HOST_FLAGS); do \
18354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18356 echo "Doing dvi in time" ; \
18358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18360 "RANLIB=$${RANLIB}" \
18361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18367 .PHONY: maybe-TAGS-time TAGS-time
18370 maybe-TAGS-time: TAGS-time
18374 @[ -f ./time/Makefile ] || exit 0; \
18375 r=`${PWD_COMMAND}`; export r; \
18376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18378 for flag in $(EXTRA_HOST_FLAGS); do \
18379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18381 echo "Doing TAGS in time" ; \
18383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18385 "RANLIB=$${RANLIB}" \
18386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18392 .PHONY: maybe-install-info-time install-info-time
18393 maybe-install-info-time:
18395 maybe-install-info-time: install-info-time
18397 install-info-time: \
18400 @[ -f ./time/Makefile ] || exit 0; \
18401 r=`${PWD_COMMAND}`; export r; \
18402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18404 for flag in $(EXTRA_HOST_FLAGS); do \
18405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18407 echo "Doing install-info in time" ; \
18409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18411 "RANLIB=$${RANLIB}" \
18412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18418 .PHONY: maybe-installcheck-time installcheck-time
18419 maybe-installcheck-time:
18421 maybe-installcheck-time: installcheck-time
18423 installcheck-time: \
18425 @[ -f ./time/Makefile ] || exit 0; \
18426 r=`${PWD_COMMAND}`; export r; \
18427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18429 for flag in $(EXTRA_HOST_FLAGS); do \
18430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18432 echo "Doing installcheck in time" ; \
18434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18436 "RANLIB=$${RANLIB}" \
18437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18443 .PHONY: maybe-mostlyclean-time mostlyclean-time
18444 maybe-mostlyclean-time:
18446 maybe-mostlyclean-time: mostlyclean-time
18449 @[ -f ./time/Makefile ] || exit 0; \
18450 r=`${PWD_COMMAND}`; export r; \
18451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18453 for flag in $(EXTRA_HOST_FLAGS); do \
18454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18456 echo "Doing mostlyclean in time" ; \
18458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18460 "RANLIB=$${RANLIB}" \
18461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18467 .PHONY: maybe-clean-time clean-time
18470 maybe-clean-time: clean-time
18473 @[ -f ./time/Makefile ] || exit 0; \
18474 r=`${PWD_COMMAND}`; export r; \
18475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18477 for flag in $(EXTRA_HOST_FLAGS); do \
18478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18480 echo "Doing clean in time" ; \
18482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18484 "RANLIB=$${RANLIB}" \
18485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18491 .PHONY: maybe-distclean-time distclean-time
18492 maybe-distclean-time:
18494 maybe-distclean-time: distclean-time
18497 @[ -f ./time/Makefile ] || exit 0; \
18498 r=`${PWD_COMMAND}`; export r; \
18499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18501 for flag in $(EXTRA_HOST_FLAGS); do \
18502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18504 echo "Doing distclean in time" ; \
18506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18508 "RANLIB=$${RANLIB}" \
18509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18515 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
18516 maybe-maintainer-clean-time:
18518 maybe-maintainer-clean-time: maintainer-clean-time
18520 maintainer-clean-time:
18521 @[ -f ./time/Makefile ] || exit 0; \
18522 r=`${PWD_COMMAND}`; export r; \
18523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18525 for flag in $(EXTRA_HOST_FLAGS); do \
18526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18528 echo "Doing maintainer-clean in time" ; \
18530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18532 "RANLIB=$${RANLIB}" \
18533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18534 maintainer-clean) \
18540 .PHONY: configure-uudecode maybe-configure-uudecode
18541 maybe-configure-uudecode:
18543 maybe-configure-uudecode: configure-uudecode
18544 configure-uudecode:
18545 @test ! -f uudecode/Makefile || exit 0; \
18546 [ -d uudecode ] || mkdir uudecode; \
18547 r=`${PWD_COMMAND}`; export r; \
18548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18549 CC="$(CC)"; export CC; \
18550 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18551 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
18552 CXX="$(CXX)"; export CXX; \
18553 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18554 AR="$(AR)"; export AR; \
18555 AS="$(AS)"; export AS; \
18556 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18557 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18558 LD="$(LD)"; export LD; \
18559 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
18560 NM="$(NM)"; export NM; \
18561 RANLIB="$(RANLIB)"; export RANLIB; \
18562 WINDRES="$(WINDRES)"; export WINDRES; \
18563 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18564 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18565 echo Configuring in uudecode; \
18566 cd uudecode || exit 1; \
18567 case $(srcdir) in \
18569 srcdiroption="--srcdir=."; \
18571 /* | [A-Za-z]:[\\/]*) \
18572 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
18573 libsrcdir="$$s/uudecode";; \
18575 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
18576 libsrcdir="$$s/uudecode";; \
18578 $(SHELL) $${libsrcdir}/configure \
18579 $(HOST_CONFIGARGS) $${srcdiroption} \
18583 .PHONY: all-uudecode maybe-all-uudecode
18584 maybe-all-uudecode:
18586 maybe-all-uudecode: all-uudecode
18587 all-uudecode: configure-uudecode
18588 @r=`${PWD_COMMAND}`; export r; \
18589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18591 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) all)
18594 .PHONY: check-uudecode maybe-check-uudecode
18595 maybe-check-uudecode:
18597 maybe-check-uudecode: check-uudecode
18600 @r=`${PWD_COMMAND}`; export r; \
18601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18603 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
18607 .PHONY: install-uudecode maybe-install-uudecode
18608 maybe-install-uudecode:
18610 maybe-install-uudecode: install-uudecode
18612 install-uudecode: installdirs
18613 @r=`${PWD_COMMAND}`; export r; \
18614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18616 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
18620 # Other targets (info, dvi, etc.)
18622 .PHONY: maybe-info-uudecode info-uudecode
18623 maybe-info-uudecode:
18625 maybe-info-uudecode: info-uudecode
18629 @[ -f ./uudecode/Makefile ] || exit 0; \
18630 r=`${PWD_COMMAND}`; export r; \
18631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18633 for flag in $(EXTRA_HOST_FLAGS); do \
18634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18636 echo "Doing info in uudecode" ; \
18638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18640 "RANLIB=$${RANLIB}" \
18641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18647 .PHONY: maybe-dvi-uudecode dvi-uudecode
18648 maybe-dvi-uudecode:
18650 maybe-dvi-uudecode: dvi-uudecode
18654 @[ -f ./uudecode/Makefile ] || exit 0; \
18655 r=`${PWD_COMMAND}`; export r; \
18656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18658 for flag in $(EXTRA_HOST_FLAGS); do \
18659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18661 echo "Doing dvi in uudecode" ; \
18663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18665 "RANLIB=$${RANLIB}" \
18666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18672 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
18673 maybe-TAGS-uudecode:
18675 maybe-TAGS-uudecode: TAGS-uudecode
18679 @[ -f ./uudecode/Makefile ] || exit 0; \
18680 r=`${PWD_COMMAND}`; export r; \
18681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18683 for flag in $(EXTRA_HOST_FLAGS); do \
18684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18686 echo "Doing TAGS in uudecode" ; \
18688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18690 "RANLIB=$${RANLIB}" \
18691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18697 .PHONY: maybe-install-info-uudecode install-info-uudecode
18698 maybe-install-info-uudecode:
18700 maybe-install-info-uudecode: install-info-uudecode
18702 install-info-uudecode: \
18703 configure-uudecode \
18705 @[ -f ./uudecode/Makefile ] || exit 0; \
18706 r=`${PWD_COMMAND}`; export r; \
18707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18709 for flag in $(EXTRA_HOST_FLAGS); do \
18710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18712 echo "Doing install-info in uudecode" ; \
18714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18716 "RANLIB=$${RANLIB}" \
18717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18723 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
18724 maybe-installcheck-uudecode:
18726 maybe-installcheck-uudecode: installcheck-uudecode
18728 installcheck-uudecode: \
18730 @[ -f ./uudecode/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 installcheck in uudecode" ; \
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}" \
18748 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
18749 maybe-mostlyclean-uudecode:
18751 maybe-mostlyclean-uudecode: mostlyclean-uudecode
18753 mostlyclean-uudecode:
18754 @[ -f ./uudecode/Makefile ] || exit 0; \
18755 r=`${PWD_COMMAND}`; export r; \
18756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18758 for flag in $(EXTRA_HOST_FLAGS); do \
18759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18761 echo "Doing mostlyclean in uudecode" ; \
18763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18765 "RANLIB=$${RANLIB}" \
18766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18772 .PHONY: maybe-clean-uudecode clean-uudecode
18773 maybe-clean-uudecode:
18775 maybe-clean-uudecode: clean-uudecode
18778 @[ -f ./uudecode/Makefile ] || exit 0; \
18779 r=`${PWD_COMMAND}`; export r; \
18780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18782 for flag in $(EXTRA_HOST_FLAGS); do \
18783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18785 echo "Doing clean in uudecode" ; \
18787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18789 "RANLIB=$${RANLIB}" \
18790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18796 .PHONY: maybe-distclean-uudecode distclean-uudecode
18797 maybe-distclean-uudecode:
18799 maybe-distclean-uudecode: distclean-uudecode
18801 distclean-uudecode:
18802 @[ -f ./uudecode/Makefile ] || exit 0; \
18803 r=`${PWD_COMMAND}`; export r; \
18804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18806 for flag in $(EXTRA_HOST_FLAGS); do \
18807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18809 echo "Doing distclean in uudecode" ; \
18811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18813 "RANLIB=$${RANLIB}" \
18814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18820 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
18821 maybe-maintainer-clean-uudecode:
18823 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
18825 maintainer-clean-uudecode:
18826 @[ -f ./uudecode/Makefile ] || exit 0; \
18827 r=`${PWD_COMMAND}`; export r; \
18828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18830 for flag in $(EXTRA_HOST_FLAGS); do \
18831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18833 echo "Doing maintainer-clean in uudecode" ; \
18835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18837 "RANLIB=$${RANLIB}" \
18838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18839 maintainer-clean) \
18845 .PHONY: configure-wdiff maybe-configure-wdiff
18846 maybe-configure-wdiff:
18848 maybe-configure-wdiff: configure-wdiff
18850 @test ! -f wdiff/Makefile || exit 0; \
18851 [ -d wdiff ] || mkdir wdiff; \
18852 r=`${PWD_COMMAND}`; export r; \
18853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18854 CC="$(CC)"; export CC; \
18855 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18856 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
18857 CXX="$(CXX)"; export CXX; \
18858 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18859 AR="$(AR)"; export AR; \
18860 AS="$(AS)"; export AS; \
18861 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18862 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18863 LD="$(LD)"; export LD; \
18864 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
18865 NM="$(NM)"; export NM; \
18866 RANLIB="$(RANLIB)"; export RANLIB; \
18867 WINDRES="$(WINDRES)"; export WINDRES; \
18868 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18869 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18870 echo Configuring in wdiff; \
18871 cd wdiff || exit 1; \
18872 case $(srcdir) in \
18874 srcdiroption="--srcdir=."; \
18876 /* | [A-Za-z]:[\\/]*) \
18877 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
18878 libsrcdir="$$s/wdiff";; \
18880 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
18881 libsrcdir="$$s/wdiff";; \
18883 $(SHELL) $${libsrcdir}/configure \
18884 $(HOST_CONFIGARGS) $${srcdiroption} \
18888 .PHONY: all-wdiff maybe-all-wdiff
18891 maybe-all-wdiff: all-wdiff
18892 all-wdiff: configure-wdiff
18893 @r=`${PWD_COMMAND}`; export r; \
18894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18896 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) all)
18899 .PHONY: check-wdiff maybe-check-wdiff
18902 maybe-check-wdiff: check-wdiff
18905 @r=`${PWD_COMMAND}`; export r; \
18906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18908 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
18912 .PHONY: install-wdiff maybe-install-wdiff
18913 maybe-install-wdiff:
18915 maybe-install-wdiff: install-wdiff
18917 install-wdiff: installdirs
18918 @r=`${PWD_COMMAND}`; export r; \
18919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18921 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
18925 # Other targets (info, dvi, etc.)
18927 .PHONY: maybe-info-wdiff info-wdiff
18930 maybe-info-wdiff: info-wdiff
18934 @[ -f ./wdiff/Makefile ] || exit 0; \
18935 r=`${PWD_COMMAND}`; export r; \
18936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18938 for flag in $(EXTRA_HOST_FLAGS); do \
18939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18941 echo "Doing info in wdiff" ; \
18943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18945 "RANLIB=$${RANLIB}" \
18946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18952 .PHONY: maybe-dvi-wdiff dvi-wdiff
18955 maybe-dvi-wdiff: dvi-wdiff
18959 @[ -f ./wdiff/Makefile ] || exit 0; \
18960 r=`${PWD_COMMAND}`; export r; \
18961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18963 for flag in $(EXTRA_HOST_FLAGS); do \
18964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18966 echo "Doing dvi in wdiff" ; \
18968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18970 "RANLIB=$${RANLIB}" \
18971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18977 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
18980 maybe-TAGS-wdiff: TAGS-wdiff
18984 @[ -f ./wdiff/Makefile ] || exit 0; \
18985 r=`${PWD_COMMAND}`; export r; \
18986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18988 for flag in $(EXTRA_HOST_FLAGS); do \
18989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18991 echo "Doing TAGS in wdiff" ; \
18993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18995 "RANLIB=$${RANLIB}" \
18996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19002 .PHONY: maybe-install-info-wdiff install-info-wdiff
19003 maybe-install-info-wdiff:
19005 maybe-install-info-wdiff: install-info-wdiff
19007 install-info-wdiff: \
19010 @[ -f ./wdiff/Makefile ] || exit 0; \
19011 r=`${PWD_COMMAND}`; export r; \
19012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19014 for flag in $(EXTRA_HOST_FLAGS); do \
19015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19017 echo "Doing install-info in wdiff" ; \
19019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19021 "RANLIB=$${RANLIB}" \
19022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19028 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
19029 maybe-installcheck-wdiff:
19031 maybe-installcheck-wdiff: installcheck-wdiff
19033 installcheck-wdiff: \
19035 @[ -f ./wdiff/Makefile ] || exit 0; \
19036 r=`${PWD_COMMAND}`; export r; \
19037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19039 for flag in $(EXTRA_HOST_FLAGS); do \
19040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19042 echo "Doing installcheck in wdiff" ; \
19044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19046 "RANLIB=$${RANLIB}" \
19047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19053 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
19054 maybe-mostlyclean-wdiff:
19056 maybe-mostlyclean-wdiff: mostlyclean-wdiff
19059 @[ -f ./wdiff/Makefile ] || exit 0; \
19060 r=`${PWD_COMMAND}`; export r; \
19061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19063 for flag in $(EXTRA_HOST_FLAGS); do \
19064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19066 echo "Doing mostlyclean in wdiff" ; \
19068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19070 "RANLIB=$${RANLIB}" \
19071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19077 .PHONY: maybe-clean-wdiff clean-wdiff
19080 maybe-clean-wdiff: clean-wdiff
19083 @[ -f ./wdiff/Makefile ] || exit 0; \
19084 r=`${PWD_COMMAND}`; export r; \
19085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19087 for flag in $(EXTRA_HOST_FLAGS); do \
19088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19090 echo "Doing clean in wdiff" ; \
19092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19094 "RANLIB=$${RANLIB}" \
19095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19101 .PHONY: maybe-distclean-wdiff distclean-wdiff
19102 maybe-distclean-wdiff:
19104 maybe-distclean-wdiff: distclean-wdiff
19107 @[ -f ./wdiff/Makefile ] || exit 0; \
19108 r=`${PWD_COMMAND}`; export r; \
19109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19111 for flag in $(EXTRA_HOST_FLAGS); do \
19112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19114 echo "Doing distclean in wdiff" ; \
19116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19118 "RANLIB=$${RANLIB}" \
19119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19125 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
19126 maybe-maintainer-clean-wdiff:
19128 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
19130 maintainer-clean-wdiff:
19131 @[ -f ./wdiff/Makefile ] || exit 0; \
19132 r=`${PWD_COMMAND}`; export r; \
19133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19135 for flag in $(EXTRA_HOST_FLAGS); do \
19136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19138 echo "Doing maintainer-clean in wdiff" ; \
19140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19142 "RANLIB=$${RANLIB}" \
19143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19144 maintainer-clean) \
19150 .PHONY: configure-zip maybe-configure-zip
19151 maybe-configure-zip:
19153 maybe-configure-zip: configure-zip
19155 @test ! -f zip/Makefile || exit 0; \
19156 [ -d zip ] || mkdir zip; \
19157 r=`${PWD_COMMAND}`; export r; \
19158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19159 CC="$(CC)"; export CC; \
19160 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19161 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
19162 CXX="$(CXX)"; export CXX; \
19163 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19164 AR="$(AR)"; export AR; \
19165 AS="$(AS)"; export AS; \
19166 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19167 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19168 LD="$(LD)"; export LD; \
19169 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
19170 NM="$(NM)"; export NM; \
19171 RANLIB="$(RANLIB)"; export RANLIB; \
19172 WINDRES="$(WINDRES)"; export WINDRES; \
19173 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19174 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19175 echo Configuring in zip; \
19176 cd zip || exit 1; \
19177 case $(srcdir) in \
19179 srcdiroption="--srcdir=."; \
19181 /* | [A-Za-z]:[\\/]*) \
19182 srcdiroption="--srcdir=$(srcdir)/zip"; \
19183 libsrcdir="$$s/zip";; \
19185 srcdiroption="--srcdir=../$(srcdir)/zip"; \
19186 libsrcdir="$$s/zip";; \
19188 $(SHELL) $${libsrcdir}/configure \
19189 $(HOST_CONFIGARGS) $${srcdiroption} \
19193 .PHONY: all-zip maybe-all-zip
19196 maybe-all-zip: all-zip
19197 all-zip: configure-zip
19198 @r=`${PWD_COMMAND}`; export r; \
19199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19201 (cd zip && $(MAKE) $(FLAGS_TO_PASS) all)
19204 .PHONY: check-zip maybe-check-zip
19207 maybe-check-zip: check-zip
19209 # This module is only tested in a native toolchain.
19211 @if [ '$(host)' = '$(target)' ] ; then \
19212 r=`${PWD_COMMAND}`; export r; \
19213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19215 (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \
19220 .PHONY: install-zip maybe-install-zip
19223 maybe-install-zip: install-zip
19225 install-zip: installdirs
19226 @r=`${PWD_COMMAND}`; export r; \
19227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19229 (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
19233 # Other targets (info, dvi, etc.)
19235 .PHONY: maybe-info-zip info-zip
19238 maybe-info-zip: info-zip
19242 @[ -f ./zip/Makefile ] || exit 0; \
19243 r=`${PWD_COMMAND}`; export r; \
19244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19246 for flag in $(EXTRA_HOST_FLAGS); do \
19247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19249 echo "Doing info in zip" ; \
19251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19253 "RANLIB=$${RANLIB}" \
19254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19260 .PHONY: maybe-dvi-zip dvi-zip
19263 maybe-dvi-zip: dvi-zip
19267 @[ -f ./zip/Makefile ] || exit 0; \
19268 r=`${PWD_COMMAND}`; export r; \
19269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19271 for flag in $(EXTRA_HOST_FLAGS); do \
19272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19274 echo "Doing dvi in zip" ; \
19276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19278 "RANLIB=$${RANLIB}" \
19279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19285 .PHONY: maybe-TAGS-zip TAGS-zip
19288 maybe-TAGS-zip: TAGS-zip
19292 @[ -f ./zip/Makefile ] || exit 0; \
19293 r=`${PWD_COMMAND}`; export r; \
19294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19296 for flag in $(EXTRA_HOST_FLAGS); do \
19297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19299 echo "Doing TAGS in zip" ; \
19301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19303 "RANLIB=$${RANLIB}" \
19304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19310 .PHONY: maybe-install-info-zip install-info-zip
19311 maybe-install-info-zip:
19313 maybe-install-info-zip: install-info-zip
19315 install-info-zip: \
19318 @[ -f ./zip/Makefile ] || exit 0; \
19319 r=`${PWD_COMMAND}`; export r; \
19320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19322 for flag in $(EXTRA_HOST_FLAGS); do \
19323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19325 echo "Doing install-info in zip" ; \
19327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19329 "RANLIB=$${RANLIB}" \
19330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19336 .PHONY: maybe-installcheck-zip installcheck-zip
19337 maybe-installcheck-zip:
19339 maybe-installcheck-zip: installcheck-zip
19341 installcheck-zip: \
19343 @[ -f ./zip/Makefile ] || exit 0; \
19344 r=`${PWD_COMMAND}`; export r; \
19345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19347 for flag in $(EXTRA_HOST_FLAGS); do \
19348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19350 echo "Doing installcheck in zip" ; \
19352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19354 "RANLIB=$${RANLIB}" \
19355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19361 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
19362 maybe-mostlyclean-zip:
19364 maybe-mostlyclean-zip: mostlyclean-zip
19367 @[ -f ./zip/Makefile ] || exit 0; \
19368 r=`${PWD_COMMAND}`; export r; \
19369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19371 for flag in $(EXTRA_HOST_FLAGS); do \
19372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19374 echo "Doing mostlyclean in zip" ; \
19376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19378 "RANLIB=$${RANLIB}" \
19379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19385 .PHONY: maybe-clean-zip clean-zip
19388 maybe-clean-zip: clean-zip
19391 @[ -f ./zip/Makefile ] || exit 0; \
19392 r=`${PWD_COMMAND}`; export r; \
19393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19395 for flag in $(EXTRA_HOST_FLAGS); do \
19396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19398 echo "Doing clean in zip" ; \
19400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19402 "RANLIB=$${RANLIB}" \
19403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19409 .PHONY: maybe-distclean-zip distclean-zip
19410 maybe-distclean-zip:
19412 maybe-distclean-zip: distclean-zip
19415 @[ -f ./zip/Makefile ] || exit 0; \
19416 r=`${PWD_COMMAND}`; export r; \
19417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19419 for flag in $(EXTRA_HOST_FLAGS); do \
19420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19422 echo "Doing distclean in zip" ; \
19424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19426 "RANLIB=$${RANLIB}" \
19427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19433 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
19434 maybe-maintainer-clean-zip:
19436 maybe-maintainer-clean-zip: maintainer-clean-zip
19438 maintainer-clean-zip:
19439 @[ -f ./zip/Makefile ] || exit 0; \
19440 r=`${PWD_COMMAND}`; export r; \
19441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19443 for flag in $(EXTRA_HOST_FLAGS); do \
19444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19446 echo "Doing maintainer-clean in zip" ; \
19448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19450 "RANLIB=$${RANLIB}" \
19451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19452 maintainer-clean) \
19458 .PHONY: configure-zlib maybe-configure-zlib
19459 maybe-configure-zlib:
19461 maybe-configure-zlib: configure-zlib
19463 @test ! -f zlib/Makefile || exit 0; \
19464 [ -d zlib ] || mkdir zlib; \
19465 r=`${PWD_COMMAND}`; export r; \
19466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19467 CC="$(CC)"; export CC; \
19468 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19469 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
19470 CXX="$(CXX)"; export CXX; \
19471 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19472 AR="$(AR)"; export AR; \
19473 AS="$(AS)"; export AS; \
19474 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19475 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19476 LD="$(LD)"; export LD; \
19477 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
19478 NM="$(NM)"; export NM; \
19479 RANLIB="$(RANLIB)"; export RANLIB; \
19480 WINDRES="$(WINDRES)"; export WINDRES; \
19481 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19482 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19483 echo Configuring in zlib; \
19484 cd zlib || exit 1; \
19485 case $(srcdir) in \
19487 srcdiroption="--srcdir=."; \
19489 /* | [A-Za-z]:[\\/]*) \
19490 srcdiroption="--srcdir=$(srcdir)/zlib"; \
19491 libsrcdir="$$s/zlib";; \
19493 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
19494 libsrcdir="$$s/zlib";; \
19496 $(SHELL) $${libsrcdir}/configure \
19497 $(HOST_CONFIGARGS) $${srcdiroption} \
19501 .PHONY: all-zlib maybe-all-zlib
19504 maybe-all-zlib: all-zlib
19505 all-zlib: configure-zlib
19506 @r=`${PWD_COMMAND}`; export r; \
19507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19509 (cd zlib && $(MAKE) $(FLAGS_TO_PASS) all)
19512 .PHONY: check-zlib maybe-check-zlib
19515 maybe-check-zlib: check-zlib
19521 .PHONY: install-zlib maybe-install-zlib
19522 maybe-install-zlib:
19524 maybe-install-zlib: install-zlib
19530 # Other targets (info, dvi, etc.)
19532 .PHONY: maybe-info-zlib info-zlib
19535 maybe-info-zlib: info-zlib
19539 @[ -f ./zlib/Makefile ] || exit 0; \
19540 r=`${PWD_COMMAND}`; export r; \
19541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19543 for flag in $(EXTRA_HOST_FLAGS); do \
19544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19546 echo "Doing info in zlib" ; \
19548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19550 "RANLIB=$${RANLIB}" \
19551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19557 .PHONY: maybe-dvi-zlib dvi-zlib
19560 maybe-dvi-zlib: dvi-zlib
19564 @[ -f ./zlib/Makefile ] || exit 0; \
19565 r=`${PWD_COMMAND}`; export r; \
19566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19568 for flag in $(EXTRA_HOST_FLAGS); do \
19569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19571 echo "Doing dvi in zlib" ; \
19573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19575 "RANLIB=$${RANLIB}" \
19576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19582 .PHONY: maybe-TAGS-zlib TAGS-zlib
19585 maybe-TAGS-zlib: TAGS-zlib
19589 @[ -f ./zlib/Makefile ] || exit 0; \
19590 r=`${PWD_COMMAND}`; export r; \
19591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19593 for flag in $(EXTRA_HOST_FLAGS); do \
19594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19596 echo "Doing TAGS in zlib" ; \
19598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19600 "RANLIB=$${RANLIB}" \
19601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19607 .PHONY: maybe-install-info-zlib install-info-zlib
19608 maybe-install-info-zlib:
19610 maybe-install-info-zlib: install-info-zlib
19612 install-info-zlib: \
19615 @[ -f ./zlib/Makefile ] || exit 0; \
19616 r=`${PWD_COMMAND}`; export r; \
19617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19619 for flag in $(EXTRA_HOST_FLAGS); do \
19620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19622 echo "Doing install-info in zlib" ; \
19624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19626 "RANLIB=$${RANLIB}" \
19627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19633 .PHONY: maybe-installcheck-zlib installcheck-zlib
19634 maybe-installcheck-zlib:
19636 maybe-installcheck-zlib: installcheck-zlib
19638 installcheck-zlib: \
19640 @[ -f ./zlib/Makefile ] || exit 0; \
19641 r=`${PWD_COMMAND}`; export r; \
19642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19644 for flag in $(EXTRA_HOST_FLAGS); do \
19645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19647 echo "Doing installcheck in zlib" ; \
19649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19651 "RANLIB=$${RANLIB}" \
19652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19658 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
19659 maybe-mostlyclean-zlib:
19661 maybe-mostlyclean-zlib: mostlyclean-zlib
19664 @[ -f ./zlib/Makefile ] || exit 0; \
19665 r=`${PWD_COMMAND}`; export r; \
19666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19668 for flag in $(EXTRA_HOST_FLAGS); do \
19669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19671 echo "Doing mostlyclean in zlib" ; \
19673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19675 "RANLIB=$${RANLIB}" \
19676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19682 .PHONY: maybe-clean-zlib clean-zlib
19685 maybe-clean-zlib: clean-zlib
19688 @[ -f ./zlib/Makefile ] || exit 0; \
19689 r=`${PWD_COMMAND}`; export r; \
19690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19692 for flag in $(EXTRA_HOST_FLAGS); do \
19693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19695 echo "Doing clean in zlib" ; \
19697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19699 "RANLIB=$${RANLIB}" \
19700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19706 .PHONY: maybe-distclean-zlib distclean-zlib
19707 maybe-distclean-zlib:
19709 maybe-distclean-zlib: distclean-zlib
19712 @[ -f ./zlib/Makefile ] || exit 0; \
19713 r=`${PWD_COMMAND}`; export r; \
19714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19716 for flag in $(EXTRA_HOST_FLAGS); do \
19717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19719 echo "Doing distclean in zlib" ; \
19721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19723 "RANLIB=$${RANLIB}" \
19724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19730 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
19731 maybe-maintainer-clean-zlib:
19733 maybe-maintainer-clean-zlib: maintainer-clean-zlib
19735 maintainer-clean-zlib:
19736 @[ -f ./zlib/Makefile ] || exit 0; \
19737 r=`${PWD_COMMAND}`; export r; \
19738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19740 for flag in $(EXTRA_HOST_FLAGS); do \
19741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19743 echo "Doing maintainer-clean in zlib" ; \
19745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19747 "RANLIB=$${RANLIB}" \
19748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19749 maintainer-clean) \
19755 .PHONY: configure-gdb maybe-configure-gdb
19756 maybe-configure-gdb:
19758 maybe-configure-gdb: configure-gdb
19760 @test ! -f gdb/Makefile || exit 0; \
19761 [ -d gdb ] || mkdir gdb; \
19762 r=`${PWD_COMMAND}`; export r; \
19763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19764 CC="$(CC)"; export CC; \
19765 CFLAGS="$(CFLAGS)"; export CFLAGS; \
19766 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
19767 CXX="$(CXX)"; export CXX; \
19768 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
19769 AR="$(AR)"; export AR; \
19770 AS="$(AS)"; export AS; \
19771 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
19772 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
19773 LD="$(LD)"; export LD; \
19774 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
19775 NM="$(NM)"; export NM; \
19776 RANLIB="$(RANLIB)"; export RANLIB; \
19777 WINDRES="$(WINDRES)"; export WINDRES; \
19778 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
19779 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
19780 echo Configuring in gdb; \
19781 cd gdb || exit 1; \
19782 case $(srcdir) in \
19784 srcdiroption="--srcdir=."; \
19786 /* | [A-Za-z]:[\\/]*) \
19787 srcdiroption="--srcdir=$(srcdir)/gdb"; \
19788 libsrcdir="$$s/gdb";; \
19790 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
19791 libsrcdir="$$s/gdb";; \
19793 $(SHELL) $${libsrcdir}/configure \
19794 $(HOST_CONFIGARGS) $${srcdiroption} \
19798 .PHONY: all-gdb maybe-all-gdb
19801 maybe-all-gdb: all-gdb
19802 all-gdb: configure-gdb
19803 @r=`${PWD_COMMAND}`; export r; \
19804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19806 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
19809 .PHONY: check-gdb maybe-check-gdb
19812 maybe-check-gdb: check-gdb
19815 @r=`${PWD_COMMAND}`; export r; \
19816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19818 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
19822 .PHONY: install-gdb maybe-install-gdb
19825 maybe-install-gdb: install-gdb
19827 install-gdb: installdirs
19828 @r=`${PWD_COMMAND}`; export r; \
19829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19831 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
19835 # Other targets (info, dvi, etc.)
19837 .PHONY: maybe-info-gdb info-gdb
19840 maybe-info-gdb: info-gdb
19844 @[ -f ./gdb/Makefile ] || exit 0; \
19845 r=`${PWD_COMMAND}`; export r; \
19846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19848 for flag in $(EXTRA_HOST_FLAGS); do \
19849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19851 echo "Doing info in gdb" ; \
19853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19855 "RANLIB=$${RANLIB}" \
19856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19862 .PHONY: maybe-dvi-gdb dvi-gdb
19865 maybe-dvi-gdb: dvi-gdb
19869 @[ -f ./gdb/Makefile ] || exit 0; \
19870 r=`${PWD_COMMAND}`; export r; \
19871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19873 for flag in $(EXTRA_HOST_FLAGS); do \
19874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19876 echo "Doing dvi in gdb" ; \
19878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19880 "RANLIB=$${RANLIB}" \
19881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19887 .PHONY: maybe-TAGS-gdb TAGS-gdb
19890 maybe-TAGS-gdb: TAGS-gdb
19894 @[ -f ./gdb/Makefile ] || exit 0; \
19895 r=`${PWD_COMMAND}`; export r; \
19896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19898 for flag in $(EXTRA_HOST_FLAGS); do \
19899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19901 echo "Doing TAGS in gdb" ; \
19903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19905 "RANLIB=$${RANLIB}" \
19906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19912 .PHONY: maybe-install-info-gdb install-info-gdb
19913 maybe-install-info-gdb:
19915 maybe-install-info-gdb: install-info-gdb
19917 install-info-gdb: \
19920 @[ -f ./gdb/Makefile ] || exit 0; \
19921 r=`${PWD_COMMAND}`; export r; \
19922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19924 for flag in $(EXTRA_HOST_FLAGS); do \
19925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19927 echo "Doing install-info in gdb" ; \
19929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19931 "RANLIB=$${RANLIB}" \
19932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19938 .PHONY: maybe-installcheck-gdb installcheck-gdb
19939 maybe-installcheck-gdb:
19941 maybe-installcheck-gdb: installcheck-gdb
19943 installcheck-gdb: \
19945 @[ -f ./gdb/Makefile ] || exit 0; \
19946 r=`${PWD_COMMAND}`; export r; \
19947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19949 for flag in $(EXTRA_HOST_FLAGS); do \
19950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19952 echo "Doing installcheck in gdb" ; \
19954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19956 "RANLIB=$${RANLIB}" \
19957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19963 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
19964 maybe-mostlyclean-gdb:
19966 maybe-mostlyclean-gdb: mostlyclean-gdb
19969 @[ -f ./gdb/Makefile ] || exit 0; \
19970 r=`${PWD_COMMAND}`; export r; \
19971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19973 for flag in $(EXTRA_HOST_FLAGS); do \
19974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19976 echo "Doing mostlyclean in gdb" ; \
19978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19980 "RANLIB=$${RANLIB}" \
19981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19987 .PHONY: maybe-clean-gdb clean-gdb
19990 maybe-clean-gdb: clean-gdb
19993 @[ -f ./gdb/Makefile ] || exit 0; \
19994 r=`${PWD_COMMAND}`; export r; \
19995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19997 for flag in $(EXTRA_HOST_FLAGS); do \
19998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20000 echo "Doing clean in gdb" ; \
20002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20004 "RANLIB=$${RANLIB}" \
20005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20011 .PHONY: maybe-distclean-gdb distclean-gdb
20012 maybe-distclean-gdb:
20014 maybe-distclean-gdb: distclean-gdb
20017 @[ -f ./gdb/Makefile ] || exit 0; \
20018 r=`${PWD_COMMAND}`; export r; \
20019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20021 for flag in $(EXTRA_HOST_FLAGS); do \
20022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20024 echo "Doing distclean in gdb" ; \
20026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20028 "RANLIB=$${RANLIB}" \
20029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20035 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
20036 maybe-maintainer-clean-gdb:
20038 maybe-maintainer-clean-gdb: maintainer-clean-gdb
20040 maintainer-clean-gdb:
20041 @[ -f ./gdb/Makefile ] || exit 0; \
20042 r=`${PWD_COMMAND}`; export r; \
20043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20045 for flag in $(EXTRA_HOST_FLAGS); do \
20046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20048 echo "Doing maintainer-clean in gdb" ; \
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}" \
20054 maintainer-clean) \
20060 .PHONY: configure-expect maybe-configure-expect
20061 maybe-configure-expect:
20063 maybe-configure-expect: configure-expect
20065 @test ! -f expect/Makefile || exit 0; \
20066 [ -d expect ] || mkdir expect; \
20067 r=`${PWD_COMMAND}`; export r; \
20068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20069 CC="$(CC)"; export CC; \
20070 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20071 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
20072 CXX="$(CXX)"; export CXX; \
20073 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20074 AR="$(AR)"; export AR; \
20075 AS="$(AS)"; export AS; \
20076 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20077 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20078 LD="$(LD)"; export LD; \
20079 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
20080 NM="$(NM)"; export NM; \
20081 RANLIB="$(RANLIB)"; export RANLIB; \
20082 WINDRES="$(WINDRES)"; export WINDRES; \
20083 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20084 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20085 echo Configuring in expect; \
20086 cd expect || exit 1; \
20087 case $(srcdir) in \
20089 srcdiroption="--srcdir=."; \
20091 /* | [A-Za-z]:[\\/]*) \
20092 srcdiroption="--srcdir=$(srcdir)/expect"; \
20093 libsrcdir="$$s/expect";; \
20095 srcdiroption="--srcdir=../$(srcdir)/expect"; \
20096 libsrcdir="$$s/expect";; \
20098 $(SHELL) $${libsrcdir}/configure \
20099 $(HOST_CONFIGARGS) $${srcdiroption} \
20103 .PHONY: all-expect maybe-all-expect
20106 maybe-all-expect: all-expect
20107 all-expect: configure-expect
20108 @r=`${PWD_COMMAND}`; export r; \
20109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20111 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20114 .PHONY: check-expect maybe-check-expect
20115 maybe-check-expect:
20117 maybe-check-expect: check-expect
20120 @r=`${PWD_COMMAND}`; export r; \
20121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20123 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
20127 .PHONY: install-expect maybe-install-expect
20128 maybe-install-expect:
20130 maybe-install-expect: install-expect
20132 install-expect: installdirs
20133 @r=`${PWD_COMMAND}`; export r; \
20134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20136 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
20140 # Other targets (info, dvi, etc.)
20142 .PHONY: maybe-info-expect info-expect
20145 maybe-info-expect: info-expect
20149 @[ -f ./expect/Makefile ] || exit 0; \
20150 r=`${PWD_COMMAND}`; export r; \
20151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20153 for flag in $(EXTRA_HOST_FLAGS); do \
20154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20156 echo "Doing info in expect" ; \
20158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20160 "RANLIB=$${RANLIB}" \
20161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20167 .PHONY: maybe-dvi-expect dvi-expect
20170 maybe-dvi-expect: dvi-expect
20174 @[ -f ./expect/Makefile ] || exit 0; \
20175 r=`${PWD_COMMAND}`; export r; \
20176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20178 for flag in $(EXTRA_HOST_FLAGS); do \
20179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20181 echo "Doing dvi in expect" ; \
20183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20185 "RANLIB=$${RANLIB}" \
20186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20192 .PHONY: maybe-TAGS-expect TAGS-expect
20195 maybe-TAGS-expect: TAGS-expect
20199 @[ -f ./expect/Makefile ] || exit 0; \
20200 r=`${PWD_COMMAND}`; export r; \
20201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20203 for flag in $(EXTRA_HOST_FLAGS); do \
20204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20206 echo "Doing TAGS in expect" ; \
20208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20210 "RANLIB=$${RANLIB}" \
20211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20217 .PHONY: maybe-install-info-expect install-info-expect
20218 maybe-install-info-expect:
20220 maybe-install-info-expect: install-info-expect
20222 install-info-expect: \
20225 @[ -f ./expect/Makefile ] || exit 0; \
20226 r=`${PWD_COMMAND}`; export r; \
20227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20229 for flag in $(EXTRA_HOST_FLAGS); do \
20230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20232 echo "Doing install-info in expect" ; \
20234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20236 "RANLIB=$${RANLIB}" \
20237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20243 .PHONY: maybe-installcheck-expect installcheck-expect
20244 maybe-installcheck-expect:
20246 maybe-installcheck-expect: installcheck-expect
20248 installcheck-expect: \
20250 @[ -f ./expect/Makefile ] || exit 0; \
20251 r=`${PWD_COMMAND}`; export r; \
20252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20254 for flag in $(EXTRA_HOST_FLAGS); do \
20255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20257 echo "Doing installcheck in expect" ; \
20259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20261 "RANLIB=$${RANLIB}" \
20262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20268 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
20269 maybe-mostlyclean-expect:
20271 maybe-mostlyclean-expect: mostlyclean-expect
20273 mostlyclean-expect:
20274 @[ -f ./expect/Makefile ] || exit 0; \
20275 r=`${PWD_COMMAND}`; export r; \
20276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20278 for flag in $(EXTRA_HOST_FLAGS); do \
20279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20281 echo "Doing mostlyclean in expect" ; \
20283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20285 "RANLIB=$${RANLIB}" \
20286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20292 .PHONY: maybe-clean-expect clean-expect
20293 maybe-clean-expect:
20295 maybe-clean-expect: clean-expect
20298 @[ -f ./expect/Makefile ] || exit 0; \
20299 r=`${PWD_COMMAND}`; export r; \
20300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20302 for flag in $(EXTRA_HOST_FLAGS); do \
20303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20305 echo "Doing clean in expect" ; \
20307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20309 "RANLIB=$${RANLIB}" \
20310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20316 .PHONY: maybe-distclean-expect distclean-expect
20317 maybe-distclean-expect:
20319 maybe-distclean-expect: distclean-expect
20322 @[ -f ./expect/Makefile ] || exit 0; \
20323 r=`${PWD_COMMAND}`; export r; \
20324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20326 for flag in $(EXTRA_HOST_FLAGS); do \
20327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20329 echo "Doing distclean in expect" ; \
20331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20333 "RANLIB=$${RANLIB}" \
20334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20340 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
20341 maybe-maintainer-clean-expect:
20343 maybe-maintainer-clean-expect: maintainer-clean-expect
20345 maintainer-clean-expect:
20346 @[ -f ./expect/Makefile ] || exit 0; \
20347 r=`${PWD_COMMAND}`; export r; \
20348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20350 for flag in $(EXTRA_HOST_FLAGS); do \
20351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20353 echo "Doing maintainer-clean in expect" ; \
20355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20357 "RANLIB=$${RANLIB}" \
20358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20359 maintainer-clean) \
20365 .PHONY: configure-guile maybe-configure-guile
20366 maybe-configure-guile:
20368 maybe-configure-guile: configure-guile
20370 @test ! -f guile/Makefile || exit 0; \
20371 [ -d guile ] || mkdir guile; \
20372 r=`${PWD_COMMAND}`; export r; \
20373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20374 CC="$(CC)"; export CC; \
20375 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20376 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
20377 CXX="$(CXX)"; export CXX; \
20378 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20379 AR="$(AR)"; export AR; \
20380 AS="$(AS)"; export AS; \
20381 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20382 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20383 LD="$(LD)"; export LD; \
20384 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
20385 NM="$(NM)"; export NM; \
20386 RANLIB="$(RANLIB)"; export RANLIB; \
20387 WINDRES="$(WINDRES)"; export WINDRES; \
20388 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20389 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20390 echo Configuring in guile; \
20391 cd guile || exit 1; \
20392 case $(srcdir) in \
20394 srcdiroption="--srcdir=."; \
20396 /* | [A-Za-z]:[\\/]*) \
20397 srcdiroption="--srcdir=$(srcdir)/guile"; \
20398 libsrcdir="$$s/guile";; \
20400 srcdiroption="--srcdir=../$(srcdir)/guile"; \
20401 libsrcdir="$$s/guile";; \
20403 $(SHELL) $${libsrcdir}/configure \
20404 $(HOST_CONFIGARGS) $${srcdiroption} \
20408 .PHONY: all-guile maybe-all-guile
20411 maybe-all-guile: all-guile
20412 all-guile: configure-guile
20413 @r=`${PWD_COMMAND}`; export r; \
20414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20416 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20419 .PHONY: check-guile maybe-check-guile
20422 maybe-check-guile: check-guile
20425 @r=`${PWD_COMMAND}`; export r; \
20426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20428 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
20432 .PHONY: install-guile maybe-install-guile
20433 maybe-install-guile:
20435 maybe-install-guile: install-guile
20437 install-guile: installdirs
20438 @r=`${PWD_COMMAND}`; export r; \
20439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20441 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
20445 # Other targets (info, dvi, etc.)
20447 .PHONY: maybe-info-guile info-guile
20450 maybe-info-guile: info-guile
20454 @[ -f ./guile/Makefile ] || exit 0; \
20455 r=`${PWD_COMMAND}`; export r; \
20456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20458 for flag in $(EXTRA_HOST_FLAGS); do \
20459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20461 echo "Doing info in guile" ; \
20463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20465 "RANLIB=$${RANLIB}" \
20466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20472 .PHONY: maybe-dvi-guile dvi-guile
20475 maybe-dvi-guile: dvi-guile
20479 @[ -f ./guile/Makefile ] || exit 0; \
20480 r=`${PWD_COMMAND}`; export r; \
20481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20483 for flag in $(EXTRA_HOST_FLAGS); do \
20484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20486 echo "Doing dvi in guile" ; \
20488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20490 "RANLIB=$${RANLIB}" \
20491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20497 .PHONY: maybe-TAGS-guile TAGS-guile
20500 maybe-TAGS-guile: TAGS-guile
20504 @[ -f ./guile/Makefile ] || exit 0; \
20505 r=`${PWD_COMMAND}`; export r; \
20506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20508 for flag in $(EXTRA_HOST_FLAGS); do \
20509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20511 echo "Doing TAGS in guile" ; \
20513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20515 "RANLIB=$${RANLIB}" \
20516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20522 .PHONY: maybe-install-info-guile install-info-guile
20523 maybe-install-info-guile:
20525 maybe-install-info-guile: install-info-guile
20527 install-info-guile: \
20530 @[ -f ./guile/Makefile ] || exit 0; \
20531 r=`${PWD_COMMAND}`; export r; \
20532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20534 for flag in $(EXTRA_HOST_FLAGS); do \
20535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20537 echo "Doing install-info in guile" ; \
20539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20541 "RANLIB=$${RANLIB}" \
20542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20548 .PHONY: maybe-installcheck-guile installcheck-guile
20549 maybe-installcheck-guile:
20551 maybe-installcheck-guile: installcheck-guile
20553 installcheck-guile: \
20555 @[ -f ./guile/Makefile ] || exit 0; \
20556 r=`${PWD_COMMAND}`; export r; \
20557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20559 for flag in $(EXTRA_HOST_FLAGS); do \
20560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20562 echo "Doing installcheck in guile" ; \
20564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20566 "RANLIB=$${RANLIB}" \
20567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20573 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
20574 maybe-mostlyclean-guile:
20576 maybe-mostlyclean-guile: mostlyclean-guile
20579 @[ -f ./guile/Makefile ] || exit 0; \
20580 r=`${PWD_COMMAND}`; export r; \
20581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20583 for flag in $(EXTRA_HOST_FLAGS); do \
20584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20586 echo "Doing mostlyclean in guile" ; \
20588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20590 "RANLIB=$${RANLIB}" \
20591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20597 .PHONY: maybe-clean-guile clean-guile
20600 maybe-clean-guile: clean-guile
20603 @[ -f ./guile/Makefile ] || exit 0; \
20604 r=`${PWD_COMMAND}`; export r; \
20605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20607 for flag in $(EXTRA_HOST_FLAGS); do \
20608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20610 echo "Doing clean in guile" ; \
20612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20614 "RANLIB=$${RANLIB}" \
20615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20621 .PHONY: maybe-distclean-guile distclean-guile
20622 maybe-distclean-guile:
20624 maybe-distclean-guile: distclean-guile
20627 @[ -f ./guile/Makefile ] || exit 0; \
20628 r=`${PWD_COMMAND}`; export r; \
20629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20631 for flag in $(EXTRA_HOST_FLAGS); do \
20632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20634 echo "Doing distclean in guile" ; \
20636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20638 "RANLIB=$${RANLIB}" \
20639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20645 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
20646 maybe-maintainer-clean-guile:
20648 maybe-maintainer-clean-guile: maintainer-clean-guile
20650 maintainer-clean-guile:
20651 @[ -f ./guile/Makefile ] || exit 0; \
20652 r=`${PWD_COMMAND}`; export r; \
20653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20655 for flag in $(EXTRA_HOST_FLAGS); do \
20656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20658 echo "Doing maintainer-clean in guile" ; \
20660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20662 "RANLIB=$${RANLIB}" \
20663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20664 maintainer-clean) \
20670 .PHONY: configure-tk maybe-configure-tk
20671 maybe-configure-tk:
20673 maybe-configure-tk: configure-tk
20675 @test ! -f tk/Makefile || exit 0; \
20676 [ -d tk ] || mkdir tk; \
20677 r=`${PWD_COMMAND}`; export r; \
20678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20679 CC="$(CC)"; export CC; \
20680 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20681 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
20682 CXX="$(CXX)"; export CXX; \
20683 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20684 AR="$(AR)"; export AR; \
20685 AS="$(AS)"; export AS; \
20686 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20687 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20688 LD="$(LD)"; export LD; \
20689 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
20690 NM="$(NM)"; export NM; \
20691 RANLIB="$(RANLIB)"; export RANLIB; \
20692 WINDRES="$(WINDRES)"; export WINDRES; \
20693 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20694 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
20695 echo Configuring in tk; \
20697 case $(srcdir) in \
20699 srcdiroption="--srcdir=."; \
20701 /* | [A-Za-z]:[\\/]*) \
20702 srcdiroption="--srcdir=$(srcdir)/tk"; \
20703 libsrcdir="$$s/tk";; \
20705 srcdiroption="--srcdir=../$(srcdir)/tk"; \
20706 libsrcdir="$$s/tk";; \
20708 $(SHELL) $${libsrcdir}/configure \
20709 $(HOST_CONFIGARGS) $${srcdiroption} \
20713 .PHONY: all-tk maybe-all-tk
20716 maybe-all-tk: all-tk
20717 all-tk: configure-tk
20718 @r=`${PWD_COMMAND}`; export r; \
20719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20721 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20724 .PHONY: check-tk maybe-check-tk
20727 maybe-check-tk: check-tk
20730 @r=`${PWD_COMMAND}`; export r; \
20731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20733 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
20737 .PHONY: install-tk maybe-install-tk
20740 maybe-install-tk: install-tk
20742 install-tk: installdirs
20743 @r=`${PWD_COMMAND}`; export r; \
20744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20746 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
20750 # Other targets (info, dvi, etc.)
20752 .PHONY: maybe-info-tk info-tk
20755 maybe-info-tk: info-tk
20759 @[ -f ./tk/Makefile ] || exit 0; \
20760 r=`${PWD_COMMAND}`; export r; \
20761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20763 for flag in $(EXTRA_HOST_FLAGS); do \
20764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20766 echo "Doing info in tk" ; \
20768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20770 "RANLIB=$${RANLIB}" \
20771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20777 .PHONY: maybe-dvi-tk dvi-tk
20780 maybe-dvi-tk: dvi-tk
20784 @[ -f ./tk/Makefile ] || exit 0; \
20785 r=`${PWD_COMMAND}`; export r; \
20786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20788 for flag in $(EXTRA_HOST_FLAGS); do \
20789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20791 echo "Doing dvi in tk" ; \
20793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20795 "RANLIB=$${RANLIB}" \
20796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20802 .PHONY: maybe-TAGS-tk TAGS-tk
20805 maybe-TAGS-tk: TAGS-tk
20809 @[ -f ./tk/Makefile ] || exit 0; \
20810 r=`${PWD_COMMAND}`; export r; \
20811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20813 for flag in $(EXTRA_HOST_FLAGS); do \
20814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20816 echo "Doing TAGS in tk" ; \
20818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20820 "RANLIB=$${RANLIB}" \
20821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20827 .PHONY: maybe-install-info-tk install-info-tk
20828 maybe-install-info-tk:
20830 maybe-install-info-tk: install-info-tk
20835 @[ -f ./tk/Makefile ] || exit 0; \
20836 r=`${PWD_COMMAND}`; export r; \
20837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20839 for flag in $(EXTRA_HOST_FLAGS); do \
20840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20842 echo "Doing install-info in tk" ; \
20844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20846 "RANLIB=$${RANLIB}" \
20847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20853 .PHONY: maybe-installcheck-tk installcheck-tk
20854 maybe-installcheck-tk:
20856 maybe-installcheck-tk: installcheck-tk
20860 @[ -f ./tk/Makefile ] || exit 0; \
20861 r=`${PWD_COMMAND}`; export r; \
20862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20864 for flag in $(EXTRA_HOST_FLAGS); do \
20865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20867 echo "Doing installcheck in tk" ; \
20869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20871 "RANLIB=$${RANLIB}" \
20872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20878 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
20879 maybe-mostlyclean-tk:
20881 maybe-mostlyclean-tk: mostlyclean-tk
20884 @[ -f ./tk/Makefile ] || exit 0; \
20885 r=`${PWD_COMMAND}`; export r; \
20886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20888 for flag in $(EXTRA_HOST_FLAGS); do \
20889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20891 echo "Doing mostlyclean in tk" ; \
20893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20895 "RANLIB=$${RANLIB}" \
20896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20902 .PHONY: maybe-clean-tk clean-tk
20905 maybe-clean-tk: clean-tk
20908 @[ -f ./tk/Makefile ] || exit 0; \
20909 r=`${PWD_COMMAND}`; export r; \
20910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20912 for flag in $(EXTRA_HOST_FLAGS); do \
20913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20915 echo "Doing clean in tk" ; \
20917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20919 "RANLIB=$${RANLIB}" \
20920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20926 .PHONY: maybe-distclean-tk distclean-tk
20927 maybe-distclean-tk:
20929 maybe-distclean-tk: distclean-tk
20932 @[ -f ./tk/Makefile ] || exit 0; \
20933 r=`${PWD_COMMAND}`; export r; \
20934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20936 for flag in $(EXTRA_HOST_FLAGS); do \
20937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20939 echo "Doing distclean in tk" ; \
20941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20943 "RANLIB=$${RANLIB}" \
20944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20950 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
20951 maybe-maintainer-clean-tk:
20953 maybe-maintainer-clean-tk: maintainer-clean-tk
20955 maintainer-clean-tk:
20956 @[ -f ./tk/Makefile ] || exit 0; \
20957 r=`${PWD_COMMAND}`; export r; \
20958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20960 for flag in $(EXTRA_HOST_FLAGS); do \
20961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20963 echo "Doing maintainer-clean in tk" ; \
20965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20967 "RANLIB=$${RANLIB}" \
20968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20969 maintainer-clean) \
20975 .PHONY: configure-tix maybe-configure-tix
20976 maybe-configure-tix:
20978 maybe-configure-tix: configure-tix
20980 @test ! -f tix/Makefile || exit 0; \
20981 [ -d tix ] || mkdir tix; \
20982 r=`${PWD_COMMAND}`; export r; \
20983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20984 CC="$(CC)"; export CC; \
20985 CFLAGS="$(CFLAGS)"; export CFLAGS; \
20986 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
20987 CXX="$(CXX)"; export CXX; \
20988 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
20989 AR="$(AR)"; export AR; \
20990 AS="$(AS)"; export AS; \
20991 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
20992 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
20993 LD="$(LD)"; export LD; \
20994 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
20995 NM="$(NM)"; export NM; \
20996 RANLIB="$(RANLIB)"; export RANLIB; \
20997 WINDRES="$(WINDRES)"; export WINDRES; \
20998 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
20999 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21000 echo Configuring in tix; \
21001 cd tix || exit 1; \
21002 case $(srcdir) in \
21004 srcdiroption="--srcdir=."; \
21006 /* | [A-Za-z]:[\\/]*) \
21007 srcdiroption="--srcdir=$(srcdir)/tix"; \
21008 libsrcdir="$$s/tix";; \
21010 srcdiroption="--srcdir=../$(srcdir)/tix"; \
21011 libsrcdir="$$s/tix";; \
21013 $(SHELL) $${libsrcdir}/configure \
21014 $(HOST_CONFIGARGS) $${srcdiroption} \
21018 .PHONY: all-tix maybe-all-tix
21021 maybe-all-tix: all-tix
21022 all-tix: configure-tix
21023 @r=`${PWD_COMMAND}`; export r; \
21024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21026 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21029 .PHONY: check-tix maybe-check-tix
21032 maybe-check-tix: check-tix
21035 @r=`${PWD_COMMAND}`; export r; \
21036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21038 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21042 .PHONY: install-tix maybe-install-tix
21045 maybe-install-tix: install-tix
21047 install-tix: installdirs
21048 @r=`${PWD_COMMAND}`; export r; \
21049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21051 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21055 # Other targets (info, dvi, etc.)
21057 .PHONY: maybe-info-tix info-tix
21060 maybe-info-tix: info-tix
21064 @[ -f ./tix/Makefile ] || exit 0; \
21065 r=`${PWD_COMMAND}`; export r; \
21066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21068 for flag in $(EXTRA_HOST_FLAGS); do \
21069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21071 echo "Doing info in tix" ; \
21073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21075 "RANLIB=$${RANLIB}" \
21076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21082 .PHONY: maybe-dvi-tix dvi-tix
21085 maybe-dvi-tix: dvi-tix
21089 @[ -f ./tix/Makefile ] || exit 0; \
21090 r=`${PWD_COMMAND}`; export r; \
21091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21093 for flag in $(EXTRA_HOST_FLAGS); do \
21094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21096 echo "Doing dvi in tix" ; \
21098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21100 "RANLIB=$${RANLIB}" \
21101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21107 .PHONY: maybe-TAGS-tix TAGS-tix
21110 maybe-TAGS-tix: TAGS-tix
21114 @[ -f ./tix/Makefile ] || exit 0; \
21115 r=`${PWD_COMMAND}`; export r; \
21116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21118 for flag in $(EXTRA_HOST_FLAGS); do \
21119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21121 echo "Doing TAGS in tix" ; \
21123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21125 "RANLIB=$${RANLIB}" \
21126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21132 .PHONY: maybe-install-info-tix install-info-tix
21133 maybe-install-info-tix:
21135 maybe-install-info-tix: install-info-tix
21137 install-info-tix: \
21140 @[ -f ./tix/Makefile ] || exit 0; \
21141 r=`${PWD_COMMAND}`; export r; \
21142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21144 for flag in $(EXTRA_HOST_FLAGS); do \
21145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21147 echo "Doing install-info in tix" ; \
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}" \
21158 .PHONY: maybe-installcheck-tix installcheck-tix
21159 maybe-installcheck-tix:
21161 maybe-installcheck-tix: installcheck-tix
21163 installcheck-tix: \
21165 @[ -f ./tix/Makefile ] || exit 0; \
21166 r=`${PWD_COMMAND}`; export r; \
21167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21169 for flag in $(EXTRA_HOST_FLAGS); do \
21170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21172 echo "Doing installcheck in tix" ; \
21174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21176 "RANLIB=$${RANLIB}" \
21177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21183 .PHONY: maybe-mostlyclean-tix mostlyclean-tix
21184 maybe-mostlyclean-tix:
21186 maybe-mostlyclean-tix: mostlyclean-tix
21189 @[ -f ./tix/Makefile ] || exit 0; \
21190 r=`${PWD_COMMAND}`; export r; \
21191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21193 for flag in $(EXTRA_HOST_FLAGS); do \
21194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21196 echo "Doing mostlyclean in tix" ; \
21198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21200 "RANLIB=$${RANLIB}" \
21201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21207 .PHONY: maybe-clean-tix clean-tix
21210 maybe-clean-tix: clean-tix
21213 @[ -f ./tix/Makefile ] || exit 0; \
21214 r=`${PWD_COMMAND}`; export r; \
21215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21217 for flag in $(EXTRA_HOST_FLAGS); do \
21218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21220 echo "Doing clean in tix" ; \
21222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21224 "RANLIB=$${RANLIB}" \
21225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21231 .PHONY: maybe-distclean-tix distclean-tix
21232 maybe-distclean-tix:
21234 maybe-distclean-tix: distclean-tix
21237 @[ -f ./tix/Makefile ] || exit 0; \
21238 r=`${PWD_COMMAND}`; export r; \
21239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21241 for flag in $(EXTRA_HOST_FLAGS); do \
21242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21244 echo "Doing distclean in tix" ; \
21246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21248 "RANLIB=$${RANLIB}" \
21249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21255 .PHONY: maybe-maintainer-clean-tix maintainer-clean-tix
21256 maybe-maintainer-clean-tix:
21258 maybe-maintainer-clean-tix: maintainer-clean-tix
21260 maintainer-clean-tix:
21261 @[ -f ./tix/Makefile ] || exit 0; \
21262 r=`${PWD_COMMAND}`; export r; \
21263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21265 for flag in $(EXTRA_HOST_FLAGS); do \
21266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21268 echo "Doing maintainer-clean in tix" ; \
21270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21272 "RANLIB=$${RANLIB}" \
21273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21274 maintainer-clean) \
21280 .PHONY: configure-libtermcap maybe-configure-libtermcap
21281 maybe-configure-libtermcap:
21283 maybe-configure-libtermcap: configure-libtermcap
21284 configure-libtermcap:
21285 @test ! -f libtermcap/Makefile || exit 0; \
21286 [ -d libtermcap ] || mkdir libtermcap; \
21287 r=`${PWD_COMMAND}`; export r; \
21288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21289 CC="$(CC)"; export CC; \
21290 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21291 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
21292 CXX="$(CXX)"; export CXX; \
21293 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21294 AR="$(AR)"; export AR; \
21295 AS="$(AS)"; export AS; \
21296 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21297 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21298 LD="$(LD)"; export LD; \
21299 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
21300 NM="$(NM)"; export NM; \
21301 RANLIB="$(RANLIB)"; export RANLIB; \
21302 WINDRES="$(WINDRES)"; export WINDRES; \
21303 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21304 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21305 echo Configuring in libtermcap; \
21306 cd libtermcap || exit 1; \
21307 case $(srcdir) in \
21309 srcdiroption="--srcdir=."; \
21311 /* | [A-Za-z]:[\\/]*) \
21312 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
21313 libsrcdir="$$s/libtermcap";; \
21315 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
21316 libsrcdir="$$s/libtermcap";; \
21318 $(SHELL) $${libsrcdir}/configure \
21319 $(HOST_CONFIGARGS) $${srcdiroption} \
21323 .PHONY: all-libtermcap maybe-all-libtermcap
21324 maybe-all-libtermcap:
21326 maybe-all-libtermcap: all-libtermcap
21327 all-libtermcap: configure-libtermcap
21328 @r=`${PWD_COMMAND}`; export r; \
21329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21331 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) all)
21334 .PHONY: check-libtermcap maybe-check-libtermcap
21335 maybe-check-libtermcap:
21337 maybe-check-libtermcap: check-libtermcap
21343 .PHONY: install-libtermcap maybe-install-libtermcap
21344 maybe-install-libtermcap:
21346 maybe-install-libtermcap: install-libtermcap
21348 install-libtermcap: installdirs
21349 @r=`${PWD_COMMAND}`; export r; \
21350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21352 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
21356 # Other targets (info, dvi, etc.)
21358 .PHONY: maybe-info-libtermcap info-libtermcap
21359 maybe-info-libtermcap:
21361 maybe-info-libtermcap: info-libtermcap
21364 configure-libtermcap
21365 @[ -f ./libtermcap/Makefile ] || exit 0; \
21366 r=`${PWD_COMMAND}`; export r; \
21367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21369 for flag in $(EXTRA_HOST_FLAGS); do \
21370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21372 echo "Doing info in libtermcap" ; \
21373 (cd libtermcap && \
21374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21376 "RANLIB=$${RANLIB}" \
21377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21383 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
21384 maybe-dvi-libtermcap:
21386 maybe-dvi-libtermcap: dvi-libtermcap
21389 configure-libtermcap
21390 @[ -f ./libtermcap/Makefile ] || exit 0; \
21391 r=`${PWD_COMMAND}`; export r; \
21392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21394 for flag in $(EXTRA_HOST_FLAGS); do \
21395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21397 echo "Doing dvi in libtermcap" ; \
21398 (cd libtermcap && \
21399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21401 "RANLIB=$${RANLIB}" \
21402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21408 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
21409 maybe-TAGS-libtermcap:
21411 maybe-TAGS-libtermcap: TAGS-libtermcap
21414 configure-libtermcap
21415 @[ -f ./libtermcap/Makefile ] || exit 0; \
21416 r=`${PWD_COMMAND}`; export r; \
21417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21419 for flag in $(EXTRA_HOST_FLAGS); do \
21420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21422 echo "Doing TAGS in libtermcap" ; \
21423 (cd libtermcap && \
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}" \
21433 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
21434 maybe-install-info-libtermcap:
21436 maybe-install-info-libtermcap: install-info-libtermcap
21438 install-info-libtermcap: \
21439 configure-libtermcap \
21441 @[ -f ./libtermcap/Makefile ] || exit 0; \
21442 r=`${PWD_COMMAND}`; export r; \
21443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21445 for flag in $(EXTRA_HOST_FLAGS); do \
21446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21448 echo "Doing install-info in libtermcap" ; \
21449 (cd libtermcap && \
21450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21452 "RANLIB=$${RANLIB}" \
21453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21459 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
21460 maybe-installcheck-libtermcap:
21462 maybe-installcheck-libtermcap: installcheck-libtermcap
21464 installcheck-libtermcap: \
21465 configure-libtermcap
21466 @[ -f ./libtermcap/Makefile ] || exit 0; \
21467 r=`${PWD_COMMAND}`; export r; \
21468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21470 for flag in $(EXTRA_HOST_FLAGS); do \
21471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21473 echo "Doing installcheck in libtermcap" ; \
21474 (cd libtermcap && \
21475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21477 "RANLIB=$${RANLIB}" \
21478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21484 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
21485 maybe-mostlyclean-libtermcap:
21487 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
21489 # libtermcap doesn't support mostlyclean.
21490 mostlyclean-libtermcap:
21494 .PHONY: maybe-clean-libtermcap clean-libtermcap
21495 maybe-clean-libtermcap:
21497 maybe-clean-libtermcap: clean-libtermcap
21499 # libtermcap doesn't support clean.
21504 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
21505 maybe-distclean-libtermcap:
21507 maybe-distclean-libtermcap: distclean-libtermcap
21509 # libtermcap doesn't support distclean.
21510 distclean-libtermcap:
21514 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
21515 maybe-maintainer-clean-libtermcap:
21517 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
21519 # libtermcap doesn't support maintainer-clean.
21520 maintainer-clean-libtermcap:
21525 .PHONY: configure-utils maybe-configure-utils
21526 maybe-configure-utils:
21528 maybe-configure-utils: configure-utils
21530 @test ! -f utils/Makefile || exit 0; \
21531 [ -d utils ] || mkdir utils; \
21532 r=`${PWD_COMMAND}`; export r; \
21533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21534 CC="$(CC)"; export CC; \
21535 CFLAGS="$(CFLAGS)"; export CFLAGS; \
21536 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
21537 CXX="$(CXX)"; export CXX; \
21538 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
21539 AR="$(AR)"; export AR; \
21540 AS="$(AS)"; export AS; \
21541 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
21542 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
21543 LD="$(LD)"; export LD; \
21544 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
21545 NM="$(NM)"; export NM; \
21546 RANLIB="$(RANLIB)"; export RANLIB; \
21547 WINDRES="$(WINDRES)"; export WINDRES; \
21548 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
21549 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
21550 echo Configuring in utils; \
21551 cd utils || exit 1; \
21552 case $(srcdir) in \
21554 srcdiroption="--srcdir=."; \
21556 /* | [A-Za-z]:[\\/]*) \
21557 srcdiroption="--srcdir=$(srcdir)/utils"; \
21558 libsrcdir="$$s/utils";; \
21560 srcdiroption="--srcdir=../$(srcdir)/utils"; \
21561 libsrcdir="$$s/utils";; \
21563 $(SHELL) $${libsrcdir}/configure \
21564 $(HOST_CONFIGARGS) $${srcdiroption} \
21568 .PHONY: all-utils maybe-all-utils
21571 maybe-all-utils: all-utils
21572 all-utils: configure-utils
21573 @r=`${PWD_COMMAND}`; export r; \
21574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21576 (cd utils && $(MAKE) $(FLAGS_TO_PASS) all)
21579 .PHONY: check-utils maybe-check-utils
21582 maybe-check-utils: check-utils
21588 .PHONY: install-utils maybe-install-utils
21589 maybe-install-utils:
21591 maybe-install-utils: install-utils
21593 install-utils: installdirs
21594 @r=`${PWD_COMMAND}`; export r; \
21595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21597 (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
21601 # Other targets (info, dvi, etc.)
21603 .PHONY: maybe-info-utils info-utils
21606 maybe-info-utils: info-utils
21610 @[ -f ./utils/Makefile ] || exit 0; \
21611 r=`${PWD_COMMAND}`; export r; \
21612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21614 for flag in $(EXTRA_HOST_FLAGS); do \
21615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21617 echo "Doing info in utils" ; \
21619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21621 "RANLIB=$${RANLIB}" \
21622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21628 .PHONY: maybe-dvi-utils dvi-utils
21631 maybe-dvi-utils: dvi-utils
21635 @[ -f ./utils/Makefile ] || exit 0; \
21636 r=`${PWD_COMMAND}`; export r; \
21637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21639 for flag in $(EXTRA_HOST_FLAGS); do \
21640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21642 echo "Doing dvi in utils" ; \
21644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21646 "RANLIB=$${RANLIB}" \
21647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21653 .PHONY: maybe-TAGS-utils TAGS-utils
21656 maybe-TAGS-utils: TAGS-utils
21660 @[ -f ./utils/Makefile ] || exit 0; \
21661 r=`${PWD_COMMAND}`; export r; \
21662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21664 for flag in $(EXTRA_HOST_FLAGS); do \
21665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21667 echo "Doing TAGS in utils" ; \
21669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21671 "RANLIB=$${RANLIB}" \
21672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21678 .PHONY: maybe-install-info-utils install-info-utils
21679 maybe-install-info-utils:
21681 maybe-install-info-utils: install-info-utils
21683 install-info-utils: \
21686 @[ -f ./utils/Makefile ] || exit 0; \
21687 r=`${PWD_COMMAND}`; export r; \
21688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21690 for flag in $(EXTRA_HOST_FLAGS); do \
21691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21693 echo "Doing install-info in utils" ; \
21695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21697 "RANLIB=$${RANLIB}" \
21698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21704 .PHONY: maybe-installcheck-utils installcheck-utils
21705 maybe-installcheck-utils:
21707 maybe-installcheck-utils: installcheck-utils
21709 installcheck-utils: \
21711 @[ -f ./utils/Makefile ] || exit 0; \
21712 r=`${PWD_COMMAND}`; export r; \
21713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21715 for flag in $(EXTRA_HOST_FLAGS); do \
21716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21718 echo "Doing installcheck in utils" ; \
21720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21722 "RANLIB=$${RANLIB}" \
21723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21729 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
21730 maybe-mostlyclean-utils:
21732 maybe-mostlyclean-utils: mostlyclean-utils
21735 @[ -f ./utils/Makefile ] || exit 0; \
21736 r=`${PWD_COMMAND}`; export r; \
21737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21739 for flag in $(EXTRA_HOST_FLAGS); do \
21740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21742 echo "Doing mostlyclean in utils" ; \
21744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21746 "RANLIB=$${RANLIB}" \
21747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21753 .PHONY: maybe-clean-utils clean-utils
21756 maybe-clean-utils: clean-utils
21759 @[ -f ./utils/Makefile ] || exit 0; \
21760 r=`${PWD_COMMAND}`; export r; \
21761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21763 for flag in $(EXTRA_HOST_FLAGS); do \
21764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21766 echo "Doing clean in utils" ; \
21768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21770 "RANLIB=$${RANLIB}" \
21771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21777 .PHONY: maybe-distclean-utils distclean-utils
21778 maybe-distclean-utils:
21780 maybe-distclean-utils: distclean-utils
21783 @[ -f ./utils/Makefile ] || exit 0; \
21784 r=`${PWD_COMMAND}`; export r; \
21785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21787 for flag in $(EXTRA_HOST_FLAGS); do \
21788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21790 echo "Doing distclean in utils" ; \
21792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21794 "RANLIB=$${RANLIB}" \
21795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21801 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
21802 maybe-maintainer-clean-utils:
21804 maybe-maintainer-clean-utils: maintainer-clean-utils
21806 maintainer-clean-utils:
21807 @[ -f ./utils/Makefile ] || exit 0; \
21808 r=`${PWD_COMMAND}`; export r; \
21809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21811 for flag in $(EXTRA_HOST_FLAGS); do \
21812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21814 echo "Doing maintainer-clean in utils" ; \
21816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21818 "RANLIB=$${RANLIB}" \
21819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21820 maintainer-clean) \
21827 # ---------------------------------------
21828 # Modules which run on the target machine
21829 # ---------------------------------------
21831 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
21832 maybe-configure-target-libstdc++-v3:
21833 @if target-libstdc++-v3
21834 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
21836 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
21837 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
21838 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
21839 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
21840 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
21842 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
21843 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
21844 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
21845 r=`${PWD_COMMAND}`; export r; \
21846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21848 AR="$(AR_FOR_TARGET)"; export AR; \
21849 AS="$(AS_FOR_TARGET)"; export AS; \
21850 CC="$(CC_FOR_TARGET)"; export CC; \
21851 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
21852 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
21853 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
21854 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
21855 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \
21856 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
21857 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
21858 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
21859 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
21860 LD="$(LD_FOR_TARGET)"; export LD; \
21861 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
21862 NM="$(NM_FOR_TARGET)"; export NM; \
21863 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
21864 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
21865 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
21866 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
21867 case $(srcdir) in \
21868 /* | [A-Za-z]:[\\/]*) \
21869 topdir=$(srcdir) ;; \
21871 case "$(TARGET_SUBDIR)" in \
21872 .) topdir="../$(srcdir)" ;; \
21873 *) topdir="../../$(srcdir)" ;; \
21876 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
21877 libsrcdir="$$s/libstdc++-v3"; \
21878 rm -f no-such-file || : ; \
21879 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
21880 $(TARGET_CONFIGARGS) $${srcdiroption} \
21881 --with-target-subdir="$(TARGET_SUBDIR)" \
21883 @endif target-libstdc++-v3
21885 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
21886 maybe-all-target-libstdc++-v3:
21887 @if target-libstdc++-v3
21888 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
21889 all-target-libstdc++-v3: configure-target-libstdc++-v3
21890 @r=`${PWD_COMMAND}`; export r; \
21891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21893 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
21894 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
21895 @endif target-libstdc++-v3
21897 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
21898 maybe-check-target-libstdc++-v3:
21899 @if target-libstdc++-v3
21900 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
21902 check-target-libstdc++-v3:
21903 @r=`${PWD_COMMAND}`; export r; \
21904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21906 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
21907 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
21909 @endif target-libstdc++-v3
21911 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
21912 maybe-install-target-libstdc++-v3:
21913 @if target-libstdc++-v3
21914 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
21916 install-target-libstdc++-v3: installdirs
21917 @r=`${PWD_COMMAND}`; export r; \
21918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21920 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
21921 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
21923 @endif target-libstdc++-v3
21925 # Other targets (info, dvi, etc.)
21927 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
21928 maybe-info-target-libstdc++-v3:
21929 @if target-libstdc++-v3
21930 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
21932 info-target-libstdc++-v3: \
21933 configure-target-libstdc++-v3
21934 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
21935 r=`${PWD_COMMAND}`; export r; \
21936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21938 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
21939 for flag in $(EXTRA_TARGET_FLAGS); do \
21940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21942 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
21943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21945 "RANLIB=$${RANLIB}" \
21946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21950 @endif target-libstdc++-v3
21952 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
21953 maybe-dvi-target-libstdc++-v3:
21954 @if target-libstdc++-v3
21955 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
21957 dvi-target-libstdc++-v3: \
21958 configure-target-libstdc++-v3
21959 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
21960 r=`${PWD_COMMAND}`; export r; \
21961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21963 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
21964 for flag in $(EXTRA_TARGET_FLAGS); do \
21965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21967 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
21968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21970 "RANLIB=$${RANLIB}" \
21971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21975 @endif target-libstdc++-v3
21977 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
21978 maybe-TAGS-target-libstdc++-v3:
21979 @if target-libstdc++-v3
21980 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
21982 TAGS-target-libstdc++-v3: \
21983 configure-target-libstdc++-v3
21984 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
21985 r=`${PWD_COMMAND}`; export r; \
21986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21988 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
21989 for flag in $(EXTRA_TARGET_FLAGS); do \
21990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21992 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
21993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21995 "RANLIB=$${RANLIB}" \
21996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22000 @endif target-libstdc++-v3
22002 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
22003 maybe-install-info-target-libstdc++-v3:
22004 @if target-libstdc++-v3
22005 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
22007 install-info-target-libstdc++-v3: \
22008 configure-target-libstdc++-v3 \
22009 info-target-libstdc++-v3
22010 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22011 r=`${PWD_COMMAND}`; export r; \
22012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22014 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22015 for flag in $(EXTRA_TARGET_FLAGS); do \
22016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22018 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22021 "RANLIB=$${RANLIB}" \
22022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22026 @endif target-libstdc++-v3
22028 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
22029 maybe-installcheck-target-libstdc++-v3:
22030 @if target-libstdc++-v3
22031 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
22033 installcheck-target-libstdc++-v3: \
22034 configure-target-libstdc++-v3
22035 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22036 r=`${PWD_COMMAND}`; export r; \
22037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22039 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22040 for flag in $(EXTRA_TARGET_FLAGS); do \
22041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22043 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22046 "RANLIB=$${RANLIB}" \
22047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22051 @endif target-libstdc++-v3
22053 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
22054 maybe-mostlyclean-target-libstdc++-v3:
22055 @if target-libstdc++-v3
22056 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
22058 mostlyclean-target-libstdc++-v3:
22059 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22060 r=`${PWD_COMMAND}`; export r; \
22061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22063 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22064 for flag in $(EXTRA_TARGET_FLAGS); do \
22065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22067 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22070 "RANLIB=$${RANLIB}" \
22071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22075 @endif target-libstdc++-v3
22077 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
22078 maybe-clean-target-libstdc++-v3:
22079 @if target-libstdc++-v3
22080 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
22082 clean-target-libstdc++-v3:
22083 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22084 r=`${PWD_COMMAND}`; export r; \
22085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22087 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22088 for flag in $(EXTRA_TARGET_FLAGS); do \
22089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22091 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22094 "RANLIB=$${RANLIB}" \
22095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22099 @endif target-libstdc++-v3
22101 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
22102 maybe-distclean-target-libstdc++-v3:
22103 @if target-libstdc++-v3
22104 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
22106 distclean-target-libstdc++-v3:
22107 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22108 r=`${PWD_COMMAND}`; export r; \
22109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22111 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22112 for flag in $(EXTRA_TARGET_FLAGS); do \
22113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22115 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22118 "RANLIB=$${RANLIB}" \
22119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22123 @endif target-libstdc++-v3
22125 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
22126 maybe-maintainer-clean-target-libstdc++-v3:
22127 @if target-libstdc++-v3
22128 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
22130 maintainer-clean-target-libstdc++-v3:
22131 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22132 r=`${PWD_COMMAND}`; export r; \
22133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22135 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22136 for flag in $(EXTRA_TARGET_FLAGS); do \
22137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22139 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22142 "RANLIB=$${RANLIB}" \
22143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22144 maintainer-clean) \
22147 @endif target-libstdc++-v3
22150 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
22151 maybe-configure-target-libmudflap:
22152 @if target-libmudflap
22153 maybe-configure-target-libmudflap: configure-target-libmudflap
22155 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22156 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
22157 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22158 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
22159 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
22161 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
22162 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
22163 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22164 r=`${PWD_COMMAND}`; export r; \
22165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22167 AR="$(AR_FOR_TARGET)"; export AR; \
22168 AS="$(AS_FOR_TARGET)"; export AS; \
22169 CC="$(CC_FOR_TARGET)"; export CC; \
22170 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22171 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
22172 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22173 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22174 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22175 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22176 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
22177 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22178 LD="$(LD_FOR_TARGET)"; export LD; \
22179 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22180 NM="$(NM_FOR_TARGET)"; export NM; \
22181 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22182 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22183 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
22184 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
22185 case $(srcdir) in \
22186 /* | [A-Za-z]:[\\/]*) \
22187 topdir=$(srcdir) ;; \
22189 case "$(TARGET_SUBDIR)" in \
22190 .) topdir="../$(srcdir)" ;; \
22191 *) topdir="../../$(srcdir)" ;; \
22194 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
22195 libsrcdir="$$s/libmudflap"; \
22196 rm -f no-such-file || : ; \
22197 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22198 $(TARGET_CONFIGARGS) $${srcdiroption} \
22199 --with-target-subdir="$(TARGET_SUBDIR)" \
22201 @endif target-libmudflap
22203 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
22204 maybe-all-target-libmudflap:
22205 @if target-libmudflap
22206 maybe-all-target-libmudflap: all-target-libmudflap
22207 all-target-libmudflap: configure-target-libmudflap
22208 @r=`${PWD_COMMAND}`; export r; \
22209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22211 (cd $(TARGET_SUBDIR)/libmudflap && \
22212 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22213 @endif target-libmudflap
22215 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
22216 maybe-check-target-libmudflap:
22217 @if target-libmudflap
22218 maybe-check-target-libmudflap: check-target-libmudflap
22220 check-target-libmudflap:
22221 @r=`${PWD_COMMAND}`; export r; \
22222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22224 (cd $(TARGET_SUBDIR)/libmudflap && \
22225 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22227 @endif target-libmudflap
22229 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
22230 maybe-install-target-libmudflap:
22231 @if target-libmudflap
22232 maybe-install-target-libmudflap: install-target-libmudflap
22234 install-target-libmudflap: installdirs
22235 @r=`${PWD_COMMAND}`; export r; \
22236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22238 (cd $(TARGET_SUBDIR)/libmudflap && \
22239 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22241 @endif target-libmudflap
22243 # Other targets (info, dvi, etc.)
22245 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
22246 maybe-info-target-libmudflap:
22247 @if target-libmudflap
22248 maybe-info-target-libmudflap: info-target-libmudflap
22250 info-target-libmudflap: \
22251 configure-target-libmudflap
22252 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22253 r=`${PWD_COMMAND}`; export r; \
22254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22256 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
22257 for flag in $(EXTRA_TARGET_FLAGS); do \
22258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22260 (cd $(TARGET_SUBDIR)/libmudflap && \
22261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22263 "RANLIB=$${RANLIB}" \
22264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22268 @endif target-libmudflap
22270 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
22271 maybe-dvi-target-libmudflap:
22272 @if target-libmudflap
22273 maybe-dvi-target-libmudflap: dvi-target-libmudflap
22275 dvi-target-libmudflap: \
22276 configure-target-libmudflap
22277 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22278 r=`${PWD_COMMAND}`; export r; \
22279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22281 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
22282 for flag in $(EXTRA_TARGET_FLAGS); do \
22283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22285 (cd $(TARGET_SUBDIR)/libmudflap && \
22286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22288 "RANLIB=$${RANLIB}" \
22289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22293 @endif target-libmudflap
22295 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
22296 maybe-TAGS-target-libmudflap:
22297 @if target-libmudflap
22298 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
22300 TAGS-target-libmudflap: \
22301 configure-target-libmudflap
22302 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22303 r=`${PWD_COMMAND}`; export r; \
22304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22306 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
22307 for flag in $(EXTRA_TARGET_FLAGS); do \
22308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22310 (cd $(TARGET_SUBDIR)/libmudflap && \
22311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22313 "RANLIB=$${RANLIB}" \
22314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22318 @endif target-libmudflap
22320 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
22321 maybe-install-info-target-libmudflap:
22322 @if target-libmudflap
22323 maybe-install-info-target-libmudflap: install-info-target-libmudflap
22325 install-info-target-libmudflap: \
22326 configure-target-libmudflap \
22327 info-target-libmudflap
22328 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22329 r=`${PWD_COMMAND}`; export r; \
22330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22332 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
22333 for flag in $(EXTRA_TARGET_FLAGS); do \
22334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22336 (cd $(TARGET_SUBDIR)/libmudflap && \
22337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22339 "RANLIB=$${RANLIB}" \
22340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22344 @endif target-libmudflap
22346 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
22347 maybe-installcheck-target-libmudflap:
22348 @if target-libmudflap
22349 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
22351 installcheck-target-libmudflap: \
22352 configure-target-libmudflap
22353 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22354 r=`${PWD_COMMAND}`; export r; \
22355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22357 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
22358 for flag in $(EXTRA_TARGET_FLAGS); do \
22359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22361 (cd $(TARGET_SUBDIR)/libmudflap && \
22362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22364 "RANLIB=$${RANLIB}" \
22365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22369 @endif target-libmudflap
22371 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
22372 maybe-mostlyclean-target-libmudflap:
22373 @if target-libmudflap
22374 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
22376 mostlyclean-target-libmudflap:
22377 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22378 r=`${PWD_COMMAND}`; export r; \
22379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22381 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
22382 for flag in $(EXTRA_TARGET_FLAGS); do \
22383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22385 (cd $(TARGET_SUBDIR)/libmudflap && \
22386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22388 "RANLIB=$${RANLIB}" \
22389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22393 @endif target-libmudflap
22395 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
22396 maybe-clean-target-libmudflap:
22397 @if target-libmudflap
22398 maybe-clean-target-libmudflap: clean-target-libmudflap
22400 clean-target-libmudflap:
22401 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22402 r=`${PWD_COMMAND}`; export r; \
22403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22405 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
22406 for flag in $(EXTRA_TARGET_FLAGS); do \
22407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22409 (cd $(TARGET_SUBDIR)/libmudflap && \
22410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22412 "RANLIB=$${RANLIB}" \
22413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22417 @endif target-libmudflap
22419 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
22420 maybe-distclean-target-libmudflap:
22421 @if target-libmudflap
22422 maybe-distclean-target-libmudflap: distclean-target-libmudflap
22424 distclean-target-libmudflap:
22425 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22426 r=`${PWD_COMMAND}`; export r; \
22427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22429 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
22430 for flag in $(EXTRA_TARGET_FLAGS); do \
22431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22433 (cd $(TARGET_SUBDIR)/libmudflap && \
22434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22436 "RANLIB=$${RANLIB}" \
22437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22441 @endif target-libmudflap
22443 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
22444 maybe-maintainer-clean-target-libmudflap:
22445 @if target-libmudflap
22446 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
22448 maintainer-clean-target-libmudflap:
22449 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22450 r=`${PWD_COMMAND}`; export r; \
22451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22453 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
22454 for flag in $(EXTRA_TARGET_FLAGS); do \
22455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22457 (cd $(TARGET_SUBDIR)/libmudflap && \
22458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22460 "RANLIB=$${RANLIB}" \
22461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22462 maintainer-clean) \
22465 @endif target-libmudflap
22468 .PHONY: configure-target-newlib maybe-configure-target-newlib
22469 maybe-configure-target-newlib:
22471 maybe-configure-target-newlib: configure-target-newlib
22473 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22474 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
22475 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
22476 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
22477 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
22479 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
22480 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
22481 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
22482 r=`${PWD_COMMAND}`; export r; \
22483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22485 AR="$(AR_FOR_TARGET)"; export AR; \
22486 AS="$(AS_FOR_TARGET)"; export AS; \
22487 CC="$(CC_FOR_TARGET)"; export CC; \
22488 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22489 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
22490 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22491 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22492 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22493 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22494 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
22495 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22496 LD="$(LD_FOR_TARGET)"; export LD; \
22497 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22498 NM="$(NM_FOR_TARGET)"; export NM; \
22499 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22500 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22501 echo Configuring in $(TARGET_SUBDIR)/newlib; \
22502 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
22503 case $(srcdir) in \
22504 /* | [A-Za-z]:[\\/]*) \
22505 topdir=$(srcdir) ;; \
22507 case "$(TARGET_SUBDIR)" in \
22508 .) topdir="../$(srcdir)" ;; \
22509 *) topdir="../../$(srcdir)" ;; \
22512 srcdiroption="--srcdir=$${topdir}/newlib"; \
22513 libsrcdir="$$s/newlib"; \
22514 rm -f no-such-file || : ; \
22515 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22516 $(TARGET_CONFIGARGS) $${srcdiroption} \
22517 --with-target-subdir="$(TARGET_SUBDIR)" \
22519 @endif target-newlib
22521 .PHONY: all-target-newlib maybe-all-target-newlib
22522 maybe-all-target-newlib:
22524 maybe-all-target-newlib: all-target-newlib
22525 all-target-newlib: configure-target-newlib
22526 @r=`${PWD_COMMAND}`; export r; \
22527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22529 (cd $(TARGET_SUBDIR)/newlib && \
22530 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22531 @endif target-newlib
22533 .PHONY: check-target-newlib maybe-check-target-newlib
22534 maybe-check-target-newlib:
22536 maybe-check-target-newlib: check-target-newlib
22538 check-target-newlib:
22539 @r=`${PWD_COMMAND}`; export r; \
22540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22542 (cd $(TARGET_SUBDIR)/newlib && \
22543 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22545 @endif target-newlib
22547 .PHONY: install-target-newlib maybe-install-target-newlib
22548 maybe-install-target-newlib:
22550 maybe-install-target-newlib: install-target-newlib
22552 install-target-newlib: installdirs
22553 @r=`${PWD_COMMAND}`; export r; \
22554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22556 (cd $(TARGET_SUBDIR)/newlib && \
22557 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22559 @endif target-newlib
22561 # Other targets (info, dvi, etc.)
22563 .PHONY: maybe-info-target-newlib info-target-newlib
22564 maybe-info-target-newlib:
22566 maybe-info-target-newlib: info-target-newlib
22568 info-target-newlib: \
22569 configure-target-newlib
22570 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22571 r=`${PWD_COMMAND}`; export r; \
22572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22574 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
22575 for flag in $(EXTRA_TARGET_FLAGS); do \
22576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22578 (cd $(TARGET_SUBDIR)/newlib && \
22579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22581 "RANLIB=$${RANLIB}" \
22582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22586 @endif target-newlib
22588 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
22589 maybe-dvi-target-newlib:
22591 maybe-dvi-target-newlib: dvi-target-newlib
22593 dvi-target-newlib: \
22594 configure-target-newlib
22595 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22596 r=`${PWD_COMMAND}`; export r; \
22597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22599 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
22600 for flag in $(EXTRA_TARGET_FLAGS); do \
22601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22603 (cd $(TARGET_SUBDIR)/newlib && \
22604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22606 "RANLIB=$${RANLIB}" \
22607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22611 @endif target-newlib
22613 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
22614 maybe-TAGS-target-newlib:
22616 maybe-TAGS-target-newlib: TAGS-target-newlib
22618 TAGS-target-newlib: \
22619 configure-target-newlib
22620 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22621 r=`${PWD_COMMAND}`; export r; \
22622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22624 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
22625 for flag in $(EXTRA_TARGET_FLAGS); do \
22626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22628 (cd $(TARGET_SUBDIR)/newlib && \
22629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22631 "RANLIB=$${RANLIB}" \
22632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22636 @endif target-newlib
22638 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
22639 maybe-install-info-target-newlib:
22641 maybe-install-info-target-newlib: install-info-target-newlib
22643 install-info-target-newlib: \
22644 configure-target-newlib \
22646 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22647 r=`${PWD_COMMAND}`; export r; \
22648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22650 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
22651 for flag in $(EXTRA_TARGET_FLAGS); do \
22652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22654 (cd $(TARGET_SUBDIR)/newlib && \
22655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22657 "RANLIB=$${RANLIB}" \
22658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22662 @endif target-newlib
22664 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
22665 maybe-installcheck-target-newlib:
22667 maybe-installcheck-target-newlib: installcheck-target-newlib
22669 installcheck-target-newlib: \
22670 configure-target-newlib
22671 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22672 r=`${PWD_COMMAND}`; export r; \
22673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22675 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
22676 for flag in $(EXTRA_TARGET_FLAGS); do \
22677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22679 (cd $(TARGET_SUBDIR)/newlib && \
22680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22682 "RANLIB=$${RANLIB}" \
22683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22687 @endif target-newlib
22689 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
22690 maybe-mostlyclean-target-newlib:
22692 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
22694 mostlyclean-target-newlib:
22695 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22696 r=`${PWD_COMMAND}`; export r; \
22697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22699 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
22700 for flag in $(EXTRA_TARGET_FLAGS); do \
22701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22703 (cd $(TARGET_SUBDIR)/newlib && \
22704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22706 "RANLIB=$${RANLIB}" \
22707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22711 @endif target-newlib
22713 .PHONY: maybe-clean-target-newlib clean-target-newlib
22714 maybe-clean-target-newlib:
22716 maybe-clean-target-newlib: clean-target-newlib
22718 clean-target-newlib:
22719 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22720 r=`${PWD_COMMAND}`; export r; \
22721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22723 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
22724 for flag in $(EXTRA_TARGET_FLAGS); do \
22725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22727 (cd $(TARGET_SUBDIR)/newlib && \
22728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22730 "RANLIB=$${RANLIB}" \
22731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22735 @endif target-newlib
22737 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
22738 maybe-distclean-target-newlib:
22740 maybe-distclean-target-newlib: distclean-target-newlib
22742 distclean-target-newlib:
22743 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22744 r=`${PWD_COMMAND}`; export r; \
22745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22747 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
22748 for flag in $(EXTRA_TARGET_FLAGS); do \
22749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22751 (cd $(TARGET_SUBDIR)/newlib && \
22752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22754 "RANLIB=$${RANLIB}" \
22755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22759 @endif target-newlib
22761 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
22762 maybe-maintainer-clean-target-newlib:
22764 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
22766 maintainer-clean-target-newlib:
22767 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22768 r=`${PWD_COMMAND}`; export r; \
22769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22771 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
22772 for flag in $(EXTRA_TARGET_FLAGS); do \
22773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22775 (cd $(TARGET_SUBDIR)/newlib && \
22776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22778 "RANLIB=$${RANLIB}" \
22779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22780 maintainer-clean) \
22783 @endif target-newlib
22786 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
22787 maybe-configure-target-libgfortran:
22788 @if target-libgfortran
22789 maybe-configure-target-libgfortran: configure-target-libgfortran
22791 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22792 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
22793 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
22794 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
22795 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
22797 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
22798 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
22799 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
22800 r=`${PWD_COMMAND}`; export r; \
22801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22803 AR="$(AR_FOR_TARGET)"; export AR; \
22804 AS="$(AS_FOR_TARGET)"; export AS; \
22805 CC="$(CC_FOR_TARGET)"; export CC; \
22806 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22807 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
22808 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22809 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22810 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22811 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22812 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
22813 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22814 LD="$(LD_FOR_TARGET)"; export LD; \
22815 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22816 NM="$(NM_FOR_TARGET)"; export NM; \
22817 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22818 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22819 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
22820 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
22821 case $(srcdir) in \
22822 /* | [A-Za-z]:[\\/]*) \
22823 topdir=$(srcdir) ;; \
22825 case "$(TARGET_SUBDIR)" in \
22826 .) topdir="../$(srcdir)" ;; \
22827 *) topdir="../../$(srcdir)" ;; \
22830 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
22831 libsrcdir="$$s/libgfortran"; \
22832 rm -f no-such-file || : ; \
22833 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22834 $(TARGET_CONFIGARGS) $${srcdiroption} \
22835 --with-target-subdir="$(TARGET_SUBDIR)" \
22837 @endif target-libgfortran
22839 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
22840 maybe-all-target-libgfortran:
22841 @if target-libgfortran
22842 maybe-all-target-libgfortran: all-target-libgfortran
22843 all-target-libgfortran: configure-target-libgfortran
22844 @r=`${PWD_COMMAND}`; export r; \
22845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22847 (cd $(TARGET_SUBDIR)/libgfortran && \
22848 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22849 @endif target-libgfortran
22851 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
22852 maybe-check-target-libgfortran:
22853 @if target-libgfortran
22854 maybe-check-target-libgfortran: check-target-libgfortran
22856 check-target-libgfortran:
22857 @r=`${PWD_COMMAND}`; export r; \
22858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22860 (cd $(TARGET_SUBDIR)/libgfortran && \
22861 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22863 @endif target-libgfortran
22865 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
22866 maybe-install-target-libgfortran:
22867 @if target-libgfortran
22868 maybe-install-target-libgfortran: install-target-libgfortran
22870 install-target-libgfortran: installdirs
22871 @r=`${PWD_COMMAND}`; export r; \
22872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22874 (cd $(TARGET_SUBDIR)/libgfortran && \
22875 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22877 @endif target-libgfortran
22879 # Other targets (info, dvi, etc.)
22881 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
22882 maybe-info-target-libgfortran:
22883 @if target-libgfortran
22884 maybe-info-target-libgfortran: info-target-libgfortran
22886 info-target-libgfortran: \
22887 configure-target-libgfortran
22888 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
22889 r=`${PWD_COMMAND}`; export r; \
22890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22892 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
22893 for flag in $(EXTRA_TARGET_FLAGS); do \
22894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22896 (cd $(TARGET_SUBDIR)/libgfortran && \
22897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22899 "RANLIB=$${RANLIB}" \
22900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22904 @endif target-libgfortran
22906 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
22907 maybe-dvi-target-libgfortran:
22908 @if target-libgfortran
22909 maybe-dvi-target-libgfortran: dvi-target-libgfortran
22911 dvi-target-libgfortran: \
22912 configure-target-libgfortran
22913 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
22914 r=`${PWD_COMMAND}`; export r; \
22915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22917 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
22918 for flag in $(EXTRA_TARGET_FLAGS); do \
22919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22921 (cd $(TARGET_SUBDIR)/libgfortran && \
22922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22924 "RANLIB=$${RANLIB}" \
22925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22929 @endif target-libgfortran
22931 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
22932 maybe-TAGS-target-libgfortran:
22933 @if target-libgfortran
22934 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
22936 TAGS-target-libgfortran: \
22937 configure-target-libgfortran
22938 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
22939 r=`${PWD_COMMAND}`; export r; \
22940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22942 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
22943 for flag in $(EXTRA_TARGET_FLAGS); do \
22944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22946 (cd $(TARGET_SUBDIR)/libgfortran && \
22947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22949 "RANLIB=$${RANLIB}" \
22950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22954 @endif target-libgfortran
22956 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
22957 maybe-install-info-target-libgfortran:
22958 @if target-libgfortran
22959 maybe-install-info-target-libgfortran: install-info-target-libgfortran
22961 install-info-target-libgfortran: \
22962 configure-target-libgfortran \
22963 info-target-libgfortran
22964 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
22965 r=`${PWD_COMMAND}`; export r; \
22966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22968 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
22969 for flag in $(EXTRA_TARGET_FLAGS); do \
22970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22972 (cd $(TARGET_SUBDIR)/libgfortran && \
22973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22975 "RANLIB=$${RANLIB}" \
22976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22980 @endif target-libgfortran
22982 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
22983 maybe-installcheck-target-libgfortran:
22984 @if target-libgfortran
22985 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
22987 installcheck-target-libgfortran: \
22988 configure-target-libgfortran
22989 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
22990 r=`${PWD_COMMAND}`; export r; \
22991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22993 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
22994 for flag in $(EXTRA_TARGET_FLAGS); do \
22995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22997 (cd $(TARGET_SUBDIR)/libgfortran && \
22998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23000 "RANLIB=$${RANLIB}" \
23001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23005 @endif target-libgfortran
23007 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
23008 maybe-mostlyclean-target-libgfortran:
23009 @if target-libgfortran
23010 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
23012 mostlyclean-target-libgfortran:
23013 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23014 r=`${PWD_COMMAND}`; export r; \
23015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23017 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
23018 for flag in $(EXTRA_TARGET_FLAGS); do \
23019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23021 (cd $(TARGET_SUBDIR)/libgfortran && \
23022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23024 "RANLIB=$${RANLIB}" \
23025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23029 @endif target-libgfortran
23031 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
23032 maybe-clean-target-libgfortran:
23033 @if target-libgfortran
23034 maybe-clean-target-libgfortran: clean-target-libgfortran
23036 clean-target-libgfortran:
23037 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23038 r=`${PWD_COMMAND}`; export r; \
23039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23041 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
23042 for flag in $(EXTRA_TARGET_FLAGS); do \
23043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23045 (cd $(TARGET_SUBDIR)/libgfortran && \
23046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23048 "RANLIB=$${RANLIB}" \
23049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23053 @endif target-libgfortran
23055 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
23056 maybe-distclean-target-libgfortran:
23057 @if target-libgfortran
23058 maybe-distclean-target-libgfortran: distclean-target-libgfortran
23060 distclean-target-libgfortran:
23061 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23062 r=`${PWD_COMMAND}`; export r; \
23063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23065 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
23066 for flag in $(EXTRA_TARGET_FLAGS); do \
23067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23069 (cd $(TARGET_SUBDIR)/libgfortran && \
23070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23072 "RANLIB=$${RANLIB}" \
23073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23077 @endif target-libgfortran
23079 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
23080 maybe-maintainer-clean-target-libgfortran:
23081 @if target-libgfortran
23082 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
23084 maintainer-clean-target-libgfortran:
23085 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23086 r=`${PWD_COMMAND}`; export r; \
23087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23089 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
23090 for flag in $(EXTRA_TARGET_FLAGS); do \
23091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23093 (cd $(TARGET_SUBDIR)/libgfortran && \
23094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23096 "RANLIB=$${RANLIB}" \
23097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23098 maintainer-clean) \
23101 @endif target-libgfortran
23104 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
23105 maybe-configure-target-libobjc:
23107 maybe-configure-target-libobjc: configure-target-libobjc
23109 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23110 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
23111 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23112 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
23113 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
23115 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
23116 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
23117 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23118 r=`${PWD_COMMAND}`; export r; \
23119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23121 AR="$(AR_FOR_TARGET)"; export AR; \
23122 AS="$(AS_FOR_TARGET)"; export AS; \
23123 CC="$(CC_FOR_TARGET)"; export CC; \
23124 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23125 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
23126 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23127 CXX="$(CXX_FOR_TARGET)"; export CXX; \
23128 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23129 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23130 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
23131 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23132 LD="$(LD_FOR_TARGET)"; export LD; \
23133 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23134 NM="$(NM_FOR_TARGET)"; export NM; \
23135 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23136 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23137 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
23138 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
23139 case $(srcdir) in \
23140 /* | [A-Za-z]:[\\/]*) \
23141 topdir=$(srcdir) ;; \
23143 case "$(TARGET_SUBDIR)" in \
23144 .) topdir="../$(srcdir)" ;; \
23145 *) topdir="../../$(srcdir)" ;; \
23148 srcdiroption="--srcdir=$${topdir}/libobjc"; \
23149 libsrcdir="$$s/libobjc"; \
23150 rm -f no-such-file || : ; \
23151 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23152 $(TARGET_CONFIGARGS) $${srcdiroption} \
23153 --with-target-subdir="$(TARGET_SUBDIR)" \
23155 @endif target-libobjc
23157 .PHONY: all-target-libobjc maybe-all-target-libobjc
23158 maybe-all-target-libobjc:
23160 maybe-all-target-libobjc: all-target-libobjc
23161 all-target-libobjc: configure-target-libobjc
23162 @r=`${PWD_COMMAND}`; export r; \
23163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23165 (cd $(TARGET_SUBDIR)/libobjc && \
23166 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23167 @endif target-libobjc
23169 .PHONY: check-target-libobjc maybe-check-target-libobjc
23170 maybe-check-target-libobjc:
23172 maybe-check-target-libobjc: check-target-libobjc
23174 check-target-libobjc:
23175 @r=`${PWD_COMMAND}`; export r; \
23176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23178 (cd $(TARGET_SUBDIR)/libobjc && \
23179 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23181 @endif target-libobjc
23183 .PHONY: install-target-libobjc maybe-install-target-libobjc
23184 maybe-install-target-libobjc:
23186 maybe-install-target-libobjc: install-target-libobjc
23188 install-target-libobjc: installdirs
23189 @r=`${PWD_COMMAND}`; export r; \
23190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23192 (cd $(TARGET_SUBDIR)/libobjc && \
23193 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23195 @endif target-libobjc
23197 # Other targets (info, dvi, etc.)
23199 .PHONY: maybe-info-target-libobjc info-target-libobjc
23200 maybe-info-target-libobjc:
23202 maybe-info-target-libobjc: info-target-libobjc
23204 info-target-libobjc: \
23205 configure-target-libobjc
23206 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23207 r=`${PWD_COMMAND}`; export r; \
23208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23210 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
23211 for flag in $(EXTRA_TARGET_FLAGS); do \
23212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23214 (cd $(TARGET_SUBDIR)/libobjc && \
23215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23217 "RANLIB=$${RANLIB}" \
23218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23222 @endif target-libobjc
23224 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
23225 maybe-dvi-target-libobjc:
23227 maybe-dvi-target-libobjc: dvi-target-libobjc
23229 dvi-target-libobjc: \
23230 configure-target-libobjc
23231 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23232 r=`${PWD_COMMAND}`; export r; \
23233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23235 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
23236 for flag in $(EXTRA_TARGET_FLAGS); do \
23237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23239 (cd $(TARGET_SUBDIR)/libobjc && \
23240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23242 "RANLIB=$${RANLIB}" \
23243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23247 @endif target-libobjc
23249 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
23250 maybe-TAGS-target-libobjc:
23252 maybe-TAGS-target-libobjc: TAGS-target-libobjc
23254 TAGS-target-libobjc: \
23255 configure-target-libobjc
23256 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23257 r=`${PWD_COMMAND}`; export r; \
23258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23260 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
23261 for flag in $(EXTRA_TARGET_FLAGS); do \
23262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23264 (cd $(TARGET_SUBDIR)/libobjc && \
23265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23267 "RANLIB=$${RANLIB}" \
23268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23272 @endif target-libobjc
23274 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
23275 maybe-install-info-target-libobjc:
23277 maybe-install-info-target-libobjc: install-info-target-libobjc
23279 install-info-target-libobjc: \
23280 configure-target-libobjc \
23281 info-target-libobjc
23282 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23283 r=`${PWD_COMMAND}`; export r; \
23284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23286 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
23287 for flag in $(EXTRA_TARGET_FLAGS); do \
23288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23290 (cd $(TARGET_SUBDIR)/libobjc && \
23291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23293 "RANLIB=$${RANLIB}" \
23294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23298 @endif target-libobjc
23300 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
23301 maybe-installcheck-target-libobjc:
23303 maybe-installcheck-target-libobjc: installcheck-target-libobjc
23305 installcheck-target-libobjc: \
23306 configure-target-libobjc
23307 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23308 r=`${PWD_COMMAND}`; export r; \
23309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23311 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
23312 for flag in $(EXTRA_TARGET_FLAGS); do \
23313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23315 (cd $(TARGET_SUBDIR)/libobjc && \
23316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23318 "RANLIB=$${RANLIB}" \
23319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23323 @endif target-libobjc
23325 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
23326 maybe-mostlyclean-target-libobjc:
23328 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
23330 mostlyclean-target-libobjc:
23331 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23332 r=`${PWD_COMMAND}`; export r; \
23333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23335 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
23336 for flag in $(EXTRA_TARGET_FLAGS); do \
23337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23339 (cd $(TARGET_SUBDIR)/libobjc && \
23340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23342 "RANLIB=$${RANLIB}" \
23343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23347 @endif target-libobjc
23349 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
23350 maybe-clean-target-libobjc:
23352 maybe-clean-target-libobjc: clean-target-libobjc
23354 clean-target-libobjc:
23355 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23356 r=`${PWD_COMMAND}`; export r; \
23357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23359 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
23360 for flag in $(EXTRA_TARGET_FLAGS); do \
23361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23363 (cd $(TARGET_SUBDIR)/libobjc && \
23364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23366 "RANLIB=$${RANLIB}" \
23367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23371 @endif target-libobjc
23373 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
23374 maybe-distclean-target-libobjc:
23376 maybe-distclean-target-libobjc: distclean-target-libobjc
23378 distclean-target-libobjc:
23379 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23380 r=`${PWD_COMMAND}`; export r; \
23381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23383 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
23384 for flag in $(EXTRA_TARGET_FLAGS); do \
23385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23387 (cd $(TARGET_SUBDIR)/libobjc && \
23388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23390 "RANLIB=$${RANLIB}" \
23391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23395 @endif target-libobjc
23397 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
23398 maybe-maintainer-clean-target-libobjc:
23400 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
23402 maintainer-clean-target-libobjc:
23403 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23404 r=`${PWD_COMMAND}`; export r; \
23405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23407 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
23408 for flag in $(EXTRA_TARGET_FLAGS); do \
23409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23411 (cd $(TARGET_SUBDIR)/libobjc && \
23412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23414 "RANLIB=$${RANLIB}" \
23415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23416 maintainer-clean) \
23419 @endif target-libobjc
23422 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
23423 maybe-configure-target-libtermcap:
23424 @if target-libtermcap
23425 maybe-configure-target-libtermcap: configure-target-libtermcap
23427 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23428 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
23429 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
23430 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
23431 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
23433 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
23434 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
23435 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
23436 r=`${PWD_COMMAND}`; export r; \
23437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23439 AR="$(AR_FOR_TARGET)"; export AR; \
23440 AS="$(AS_FOR_TARGET)"; export AS; \
23441 CC="$(CC_FOR_TARGET)"; export CC; \
23442 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23443 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
23444 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23445 CXX="$(CXX_FOR_TARGET)"; export CXX; \
23446 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23447 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23448 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
23449 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23450 LD="$(LD_FOR_TARGET)"; export LD; \
23451 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23452 NM="$(NM_FOR_TARGET)"; export NM; \
23453 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23454 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23455 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
23456 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
23457 case $(srcdir) in \
23458 /* | [A-Za-z]:[\\/]*) \
23459 topdir=$(srcdir) ;; \
23461 case "$(TARGET_SUBDIR)" in \
23462 .) topdir="../$(srcdir)" ;; \
23463 *) topdir="../../$(srcdir)" ;; \
23466 if [ "$(srcdir)" = "." ] ; then \
23467 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23468 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
23469 if [ -f Makefile ]; then \
23470 if $(MAKE) distclean; then \
23484 srcdiroption="--srcdir=."; \
23487 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
23488 libsrcdir="$$s/libtermcap"; \
23490 rm -f no-such-file || : ; \
23491 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23492 $(TARGET_CONFIGARGS) $${srcdiroption} \
23493 --with-target-subdir="$(TARGET_SUBDIR)" \
23495 @endif target-libtermcap
23497 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
23498 maybe-all-target-libtermcap:
23499 @if target-libtermcap
23500 maybe-all-target-libtermcap: all-target-libtermcap
23501 all-target-libtermcap: configure-target-libtermcap
23502 @r=`${PWD_COMMAND}`; export r; \
23503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23505 (cd $(TARGET_SUBDIR)/libtermcap && \
23506 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23507 @endif target-libtermcap
23509 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
23510 maybe-check-target-libtermcap:
23511 @if target-libtermcap
23512 maybe-check-target-libtermcap: check-target-libtermcap
23514 # Dummy target for uncheckable module.
23515 check-target-libtermcap:
23517 @endif target-libtermcap
23519 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
23520 maybe-install-target-libtermcap:
23521 @if target-libtermcap
23522 maybe-install-target-libtermcap: install-target-libtermcap
23524 install-target-libtermcap: installdirs
23525 @r=`${PWD_COMMAND}`; export r; \
23526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23528 (cd $(TARGET_SUBDIR)/libtermcap && \
23529 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23531 @endif target-libtermcap
23533 # Other targets (info, dvi, etc.)
23535 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
23536 maybe-info-target-libtermcap:
23537 @if target-libtermcap
23538 maybe-info-target-libtermcap: info-target-libtermcap
23540 info-target-libtermcap: \
23541 configure-target-libtermcap
23542 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23543 r=`${PWD_COMMAND}`; export r; \
23544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23546 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
23547 for flag in $(EXTRA_TARGET_FLAGS); do \
23548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23550 (cd $(TARGET_SUBDIR)/libtermcap && \
23551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23553 "RANLIB=$${RANLIB}" \
23554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23558 @endif target-libtermcap
23560 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
23561 maybe-dvi-target-libtermcap:
23562 @if target-libtermcap
23563 maybe-dvi-target-libtermcap: dvi-target-libtermcap
23565 dvi-target-libtermcap: \
23566 configure-target-libtermcap
23567 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23568 r=`${PWD_COMMAND}`; export r; \
23569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23571 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
23572 for flag in $(EXTRA_TARGET_FLAGS); do \
23573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23575 (cd $(TARGET_SUBDIR)/libtermcap && \
23576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23578 "RANLIB=$${RANLIB}" \
23579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23583 @endif target-libtermcap
23585 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
23586 maybe-TAGS-target-libtermcap:
23587 @if target-libtermcap
23588 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
23590 TAGS-target-libtermcap: \
23591 configure-target-libtermcap
23592 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23593 r=`${PWD_COMMAND}`; export r; \
23594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23596 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
23597 for flag in $(EXTRA_TARGET_FLAGS); do \
23598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23600 (cd $(TARGET_SUBDIR)/libtermcap && \
23601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23603 "RANLIB=$${RANLIB}" \
23604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23608 @endif target-libtermcap
23610 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
23611 maybe-install-info-target-libtermcap:
23612 @if target-libtermcap
23613 maybe-install-info-target-libtermcap: install-info-target-libtermcap
23615 install-info-target-libtermcap: \
23616 configure-target-libtermcap \
23617 info-target-libtermcap
23618 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23619 r=`${PWD_COMMAND}`; export r; \
23620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23622 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
23623 for flag in $(EXTRA_TARGET_FLAGS); do \
23624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23626 (cd $(TARGET_SUBDIR)/libtermcap && \
23627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23629 "RANLIB=$${RANLIB}" \
23630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23634 @endif target-libtermcap
23636 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
23637 maybe-installcheck-target-libtermcap:
23638 @if target-libtermcap
23639 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
23641 installcheck-target-libtermcap: \
23642 configure-target-libtermcap
23643 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23644 r=`${PWD_COMMAND}`; export r; \
23645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23647 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
23648 for flag in $(EXTRA_TARGET_FLAGS); do \
23649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23651 (cd $(TARGET_SUBDIR)/libtermcap && \
23652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23654 "RANLIB=$${RANLIB}" \
23655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23659 @endif target-libtermcap
23661 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
23662 maybe-mostlyclean-target-libtermcap:
23663 @if target-libtermcap
23664 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
23666 # libtermcap doesn't support mostlyclean.
23667 mostlyclean-target-libtermcap:
23669 @endif target-libtermcap
23671 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
23672 maybe-clean-target-libtermcap:
23673 @if target-libtermcap
23674 maybe-clean-target-libtermcap: clean-target-libtermcap
23676 # libtermcap doesn't support clean.
23677 clean-target-libtermcap:
23679 @endif target-libtermcap
23681 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
23682 maybe-distclean-target-libtermcap:
23683 @if target-libtermcap
23684 maybe-distclean-target-libtermcap: distclean-target-libtermcap
23686 # libtermcap doesn't support distclean.
23687 distclean-target-libtermcap:
23689 @endif target-libtermcap
23691 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
23692 maybe-maintainer-clean-target-libtermcap:
23693 @if target-libtermcap
23694 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
23696 # libtermcap doesn't support maintainer-clean.
23697 maintainer-clean-target-libtermcap:
23699 @endif target-libtermcap
23702 .PHONY: configure-target-winsup maybe-configure-target-winsup
23703 maybe-configure-target-winsup:
23705 maybe-configure-target-winsup: configure-target-winsup
23707 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23708 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
23709 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
23710 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
23711 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
23713 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
23714 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
23715 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
23716 r=`${PWD_COMMAND}`; export r; \
23717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23719 AR="$(AR_FOR_TARGET)"; export AR; \
23720 AS="$(AS_FOR_TARGET)"; export AS; \
23721 CC="$(CC_FOR_TARGET)"; export CC; \
23722 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23723 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
23724 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23725 CXX="$(CXX_FOR_TARGET)"; export CXX; \
23726 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23727 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23728 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
23729 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23730 LD="$(LD_FOR_TARGET)"; export LD; \
23731 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23732 NM="$(NM_FOR_TARGET)"; export NM; \
23733 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23734 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23735 echo Configuring in $(TARGET_SUBDIR)/winsup; \
23736 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
23737 case $(srcdir) in \
23738 /* | [A-Za-z]:[\\/]*) \
23739 topdir=$(srcdir) ;; \
23741 case "$(TARGET_SUBDIR)" in \
23742 .) topdir="../$(srcdir)" ;; \
23743 *) topdir="../../$(srcdir)" ;; \
23746 srcdiroption="--srcdir=$${topdir}/winsup"; \
23747 libsrcdir="$$s/winsup"; \
23748 rm -f no-such-file || : ; \
23749 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23750 $(TARGET_CONFIGARGS) $${srcdiroption} \
23751 --with-target-subdir="$(TARGET_SUBDIR)" \
23753 @endif target-winsup
23755 .PHONY: all-target-winsup maybe-all-target-winsup
23756 maybe-all-target-winsup:
23758 maybe-all-target-winsup: all-target-winsup
23759 all-target-winsup: configure-target-winsup
23760 @r=`${PWD_COMMAND}`; export r; \
23761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23763 (cd $(TARGET_SUBDIR)/winsup && \
23764 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23765 @endif target-winsup
23767 .PHONY: check-target-winsup maybe-check-target-winsup
23768 maybe-check-target-winsup:
23770 maybe-check-target-winsup: check-target-winsup
23772 check-target-winsup:
23773 @r=`${PWD_COMMAND}`; export r; \
23774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23776 (cd $(TARGET_SUBDIR)/winsup && \
23777 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23779 @endif target-winsup
23781 .PHONY: install-target-winsup maybe-install-target-winsup
23782 maybe-install-target-winsup:
23784 maybe-install-target-winsup: install-target-winsup
23786 install-target-winsup: installdirs
23787 @r=`${PWD_COMMAND}`; export r; \
23788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23790 (cd $(TARGET_SUBDIR)/winsup && \
23791 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23793 @endif target-winsup
23795 # Other targets (info, dvi, etc.)
23797 .PHONY: maybe-info-target-winsup info-target-winsup
23798 maybe-info-target-winsup:
23800 maybe-info-target-winsup: info-target-winsup
23802 info-target-winsup: \
23803 configure-target-winsup
23804 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
23805 r=`${PWD_COMMAND}`; export r; \
23806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23808 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
23809 for flag in $(EXTRA_TARGET_FLAGS); do \
23810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23812 (cd $(TARGET_SUBDIR)/winsup && \
23813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23815 "RANLIB=$${RANLIB}" \
23816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23820 @endif target-winsup
23822 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
23823 maybe-dvi-target-winsup:
23825 maybe-dvi-target-winsup: dvi-target-winsup
23827 dvi-target-winsup: \
23828 configure-target-winsup
23829 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
23830 r=`${PWD_COMMAND}`; export r; \
23831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23833 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
23834 for flag in $(EXTRA_TARGET_FLAGS); do \
23835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23837 (cd $(TARGET_SUBDIR)/winsup && \
23838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23840 "RANLIB=$${RANLIB}" \
23841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23845 @endif target-winsup
23847 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
23848 maybe-TAGS-target-winsup:
23850 maybe-TAGS-target-winsup: TAGS-target-winsup
23852 TAGS-target-winsup: \
23853 configure-target-winsup
23854 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
23855 r=`${PWD_COMMAND}`; export r; \
23856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23858 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
23859 for flag in $(EXTRA_TARGET_FLAGS); do \
23860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23862 (cd $(TARGET_SUBDIR)/winsup && \
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}" \
23870 @endif target-winsup
23872 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
23873 maybe-install-info-target-winsup:
23875 maybe-install-info-target-winsup: install-info-target-winsup
23877 install-info-target-winsup: \
23878 configure-target-winsup \
23880 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
23881 r=`${PWD_COMMAND}`; export r; \
23882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23884 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
23885 for flag in $(EXTRA_TARGET_FLAGS); do \
23886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23888 (cd $(TARGET_SUBDIR)/winsup && \
23889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23891 "RANLIB=$${RANLIB}" \
23892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23896 @endif target-winsup
23898 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
23899 maybe-installcheck-target-winsup:
23901 maybe-installcheck-target-winsup: installcheck-target-winsup
23903 installcheck-target-winsup: \
23904 configure-target-winsup
23905 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
23906 r=`${PWD_COMMAND}`; export r; \
23907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23909 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
23910 for flag in $(EXTRA_TARGET_FLAGS); do \
23911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23913 (cd $(TARGET_SUBDIR)/winsup && \
23914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23916 "RANLIB=$${RANLIB}" \
23917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23921 @endif target-winsup
23923 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
23924 maybe-mostlyclean-target-winsup:
23926 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
23928 mostlyclean-target-winsup:
23929 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
23930 r=`${PWD_COMMAND}`; export r; \
23931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23933 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
23934 for flag in $(EXTRA_TARGET_FLAGS); do \
23935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23937 (cd $(TARGET_SUBDIR)/winsup && \
23938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23940 "RANLIB=$${RANLIB}" \
23941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23945 @endif target-winsup
23947 .PHONY: maybe-clean-target-winsup clean-target-winsup
23948 maybe-clean-target-winsup:
23950 maybe-clean-target-winsup: clean-target-winsup
23952 clean-target-winsup:
23953 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
23954 r=`${PWD_COMMAND}`; export r; \
23955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23957 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
23958 for flag in $(EXTRA_TARGET_FLAGS); do \
23959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23961 (cd $(TARGET_SUBDIR)/winsup && \
23962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23964 "RANLIB=$${RANLIB}" \
23965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23969 @endif target-winsup
23971 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
23972 maybe-distclean-target-winsup:
23974 maybe-distclean-target-winsup: distclean-target-winsup
23976 distclean-target-winsup:
23977 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
23978 r=`${PWD_COMMAND}`; export r; \
23979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23981 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
23982 for flag in $(EXTRA_TARGET_FLAGS); do \
23983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23985 (cd $(TARGET_SUBDIR)/winsup && \
23986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23988 "RANLIB=$${RANLIB}" \
23989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23993 @endif target-winsup
23995 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
23996 maybe-maintainer-clean-target-winsup:
23998 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
24000 maintainer-clean-target-winsup:
24001 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24002 r=`${PWD_COMMAND}`; export r; \
24003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24005 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
24006 for flag in $(EXTRA_TARGET_FLAGS); do \
24007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24009 (cd $(TARGET_SUBDIR)/winsup && \
24010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24012 "RANLIB=$${RANLIB}" \
24013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24014 maintainer-clean) \
24017 @endif target-winsup
24020 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
24021 maybe-configure-target-libgloss:
24022 @if target-libgloss
24023 maybe-configure-target-libgloss: configure-target-libgloss
24025 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24026 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
24027 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24028 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
24029 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
24031 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
24032 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
24033 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24034 r=`${PWD_COMMAND}`; export r; \
24035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24037 AR="$(AR_FOR_TARGET)"; export AR; \
24038 AS="$(AS_FOR_TARGET)"; export AS; \
24039 CC="$(CC_FOR_TARGET)"; export CC; \
24040 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
24041 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
24042 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
24043 CXX="$(CXX_FOR_TARGET)"; export CXX; \
24044 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
24045 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
24046 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
24047 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
24048 LD="$(LD_FOR_TARGET)"; export LD; \
24049 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
24050 NM="$(NM_FOR_TARGET)"; export NM; \
24051 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
24052 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
24053 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
24054 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
24055 case $(srcdir) in \
24056 /* | [A-Za-z]:[\\/]*) \
24057 topdir=$(srcdir) ;; \
24059 case "$(TARGET_SUBDIR)" in \
24060 .) topdir="../$(srcdir)" ;; \
24061 *) topdir="../../$(srcdir)" ;; \
24064 srcdiroption="--srcdir=$${topdir}/libgloss"; \
24065 libsrcdir="$$s/libgloss"; \
24066 rm -f no-such-file || : ; \
24067 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24068 $(TARGET_CONFIGARGS) $${srcdiroption} \
24069 --with-target-subdir="$(TARGET_SUBDIR)" \
24071 @endif target-libgloss
24073 .PHONY: all-target-libgloss maybe-all-target-libgloss
24074 maybe-all-target-libgloss:
24075 @if target-libgloss
24076 maybe-all-target-libgloss: all-target-libgloss
24077 all-target-libgloss: configure-target-libgloss
24078 @r=`${PWD_COMMAND}`; export r; \
24079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24081 (cd $(TARGET_SUBDIR)/libgloss && \
24082 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
24083 @endif target-libgloss
24085 .PHONY: check-target-libgloss maybe-check-target-libgloss
24086 maybe-check-target-libgloss:
24087 @if target-libgloss
24088 maybe-check-target-libgloss: check-target-libgloss
24090 # Dummy target for uncheckable module.
24091 check-target-libgloss:
24093 @endif target-libgloss
24095 .PHONY: install-target-libgloss maybe-install-target-libgloss
24096 maybe-install-target-libgloss:
24097 @if target-libgloss
24098 maybe-install-target-libgloss: install-target-libgloss
24100 install-target-libgloss: installdirs
24101 @r=`${PWD_COMMAND}`; export r; \
24102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24104 (cd $(TARGET_SUBDIR)/libgloss && \
24105 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24107 @endif target-libgloss
24109 # Other targets (info, dvi, etc.)
24111 .PHONY: maybe-info-target-libgloss info-target-libgloss
24112 maybe-info-target-libgloss:
24113 @if target-libgloss
24114 maybe-info-target-libgloss: info-target-libgloss
24116 info-target-libgloss: \
24117 configure-target-libgloss
24118 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24119 r=`${PWD_COMMAND}`; export r; \
24120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24122 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
24123 for flag in $(EXTRA_TARGET_FLAGS); do \
24124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24126 (cd $(TARGET_SUBDIR)/libgloss && \
24127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24129 "RANLIB=$${RANLIB}" \
24130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24134 @endif target-libgloss
24136 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
24137 maybe-dvi-target-libgloss:
24138 @if target-libgloss
24139 maybe-dvi-target-libgloss: dvi-target-libgloss
24141 dvi-target-libgloss: \
24142 configure-target-libgloss
24143 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24144 r=`${PWD_COMMAND}`; export r; \
24145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24147 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
24148 for flag in $(EXTRA_TARGET_FLAGS); do \
24149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24151 (cd $(TARGET_SUBDIR)/libgloss && \
24152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24154 "RANLIB=$${RANLIB}" \
24155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24159 @endif target-libgloss
24161 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
24162 maybe-TAGS-target-libgloss:
24163 @if target-libgloss
24164 maybe-TAGS-target-libgloss: TAGS-target-libgloss
24166 TAGS-target-libgloss: \
24167 configure-target-libgloss
24168 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24169 r=`${PWD_COMMAND}`; export r; \
24170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24172 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
24173 for flag in $(EXTRA_TARGET_FLAGS); do \
24174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24176 (cd $(TARGET_SUBDIR)/libgloss && \
24177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24179 "RANLIB=$${RANLIB}" \
24180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24184 @endif target-libgloss
24186 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
24187 maybe-install-info-target-libgloss:
24188 @if target-libgloss
24189 maybe-install-info-target-libgloss: install-info-target-libgloss
24191 install-info-target-libgloss: \
24192 configure-target-libgloss \
24193 info-target-libgloss
24194 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24195 r=`${PWD_COMMAND}`; export r; \
24196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24198 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
24199 for flag in $(EXTRA_TARGET_FLAGS); do \
24200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24202 (cd $(TARGET_SUBDIR)/libgloss && \
24203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24205 "RANLIB=$${RANLIB}" \
24206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24210 @endif target-libgloss
24212 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
24213 maybe-installcheck-target-libgloss:
24214 @if target-libgloss
24215 maybe-installcheck-target-libgloss: installcheck-target-libgloss
24217 installcheck-target-libgloss: \
24218 configure-target-libgloss
24219 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24220 r=`${PWD_COMMAND}`; export r; \
24221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24223 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
24224 for flag in $(EXTRA_TARGET_FLAGS); do \
24225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24227 (cd $(TARGET_SUBDIR)/libgloss && \
24228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24230 "RANLIB=$${RANLIB}" \
24231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24235 @endif target-libgloss
24237 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
24238 maybe-mostlyclean-target-libgloss:
24239 @if target-libgloss
24240 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
24242 mostlyclean-target-libgloss:
24243 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24244 r=`${PWD_COMMAND}`; export r; \
24245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24247 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
24248 for flag in $(EXTRA_TARGET_FLAGS); do \
24249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24251 (cd $(TARGET_SUBDIR)/libgloss && \
24252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24254 "RANLIB=$${RANLIB}" \
24255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24259 @endif target-libgloss
24261 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
24262 maybe-clean-target-libgloss:
24263 @if target-libgloss
24264 maybe-clean-target-libgloss: clean-target-libgloss
24266 clean-target-libgloss:
24267 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24268 r=`${PWD_COMMAND}`; export r; \
24269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24271 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
24272 for flag in $(EXTRA_TARGET_FLAGS); do \
24273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24275 (cd $(TARGET_SUBDIR)/libgloss && \
24276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24278 "RANLIB=$${RANLIB}" \
24279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24283 @endif target-libgloss
24285 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
24286 maybe-distclean-target-libgloss:
24287 @if target-libgloss
24288 maybe-distclean-target-libgloss: distclean-target-libgloss
24290 distclean-target-libgloss:
24291 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24292 r=`${PWD_COMMAND}`; export r; \
24293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24295 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
24296 for flag in $(EXTRA_TARGET_FLAGS); do \
24297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24299 (cd $(TARGET_SUBDIR)/libgloss && \
24300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24302 "RANLIB=$${RANLIB}" \
24303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24307 @endif target-libgloss
24309 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
24310 maybe-maintainer-clean-target-libgloss:
24311 @if target-libgloss
24312 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
24314 maintainer-clean-target-libgloss:
24315 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24316 r=`${PWD_COMMAND}`; export r; \
24317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24319 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
24320 for flag in $(EXTRA_TARGET_FLAGS); do \
24321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24323 (cd $(TARGET_SUBDIR)/libgloss && \
24324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24326 "RANLIB=$${RANLIB}" \
24327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24328 maintainer-clean) \
24331 @endif target-libgloss
24334 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
24335 maybe-configure-target-libiberty:
24336 @if target-libiberty
24337 maybe-configure-target-libiberty: configure-target-libiberty
24339 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24340 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
24341 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24342 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
24343 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
24345 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
24346 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
24347 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24348 r=`${PWD_COMMAND}`; export r; \
24349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24351 AR="$(AR_FOR_TARGET)"; export AR; \
24352 AS="$(AS_FOR_TARGET)"; export AS; \
24353 CC="$(CC_FOR_TARGET)"; export CC; \
24354 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
24355 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
24356 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
24357 CXX="$(CXX_FOR_TARGET)"; export CXX; \
24358 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
24359 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
24360 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
24361 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
24362 LD="$(LD_FOR_TARGET)"; export LD; \
24363 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
24364 NM="$(NM_FOR_TARGET)"; export NM; \
24365 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
24366 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
24367 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
24368 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
24369 case $(srcdir) in \
24370 /* | [A-Za-z]:[\\/]*) \
24371 topdir=$(srcdir) ;; \
24373 case "$(TARGET_SUBDIR)" in \
24374 .) topdir="../$(srcdir)" ;; \
24375 *) topdir="../../$(srcdir)" ;; \
24378 srcdiroption="--srcdir=$${topdir}/libiberty"; \
24379 libsrcdir="$$s/libiberty"; \
24380 rm -f no-such-file || : ; \
24381 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24382 $(TARGET_CONFIGARGS) $${srcdiroption} \
24383 --with-target-subdir="$(TARGET_SUBDIR)" \
24385 @endif target-libiberty
24387 .PHONY: all-target-libiberty maybe-all-target-libiberty
24388 maybe-all-target-libiberty:
24389 @if target-libiberty
24390 maybe-all-target-libiberty: all-target-libiberty
24391 all-target-libiberty: configure-target-libiberty
24392 @r=`${PWD_COMMAND}`; export r; \
24393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24395 (cd $(TARGET_SUBDIR)/libiberty && \
24396 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
24397 @endif target-libiberty
24399 .PHONY: check-target-libiberty maybe-check-target-libiberty
24400 maybe-check-target-libiberty:
24401 @if target-libiberty
24402 maybe-check-target-libiberty: check-target-libiberty
24404 check-target-libiberty:
24405 @r=`${PWD_COMMAND}`; export r; \
24406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24408 (cd $(TARGET_SUBDIR)/libiberty && \
24409 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24411 @endif target-libiberty
24413 .PHONY: install-target-libiberty maybe-install-target-libiberty
24414 maybe-install-target-libiberty:
24415 @if target-libiberty
24416 maybe-install-target-libiberty: install-target-libiberty
24418 install-target-libiberty: installdirs
24419 @r=`${PWD_COMMAND}`; export r; \
24420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24422 (cd $(TARGET_SUBDIR)/libiberty && \
24423 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24425 @endif target-libiberty
24427 # Other targets (info, dvi, etc.)
24429 .PHONY: maybe-info-target-libiberty info-target-libiberty
24430 maybe-info-target-libiberty:
24431 @if target-libiberty
24432 maybe-info-target-libiberty: info-target-libiberty
24434 info-target-libiberty: \
24435 configure-target-libiberty
24436 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24437 r=`${PWD_COMMAND}`; export r; \
24438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24440 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
24441 for flag in $(EXTRA_TARGET_FLAGS); do \
24442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24444 (cd $(TARGET_SUBDIR)/libiberty && \
24445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24447 "RANLIB=$${RANLIB}" \
24448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24452 @endif target-libiberty
24454 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
24455 maybe-dvi-target-libiberty:
24456 @if target-libiberty
24457 maybe-dvi-target-libiberty: dvi-target-libiberty
24459 dvi-target-libiberty: \
24460 configure-target-libiberty
24461 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24462 r=`${PWD_COMMAND}`; export r; \
24463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24465 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
24466 for flag in $(EXTRA_TARGET_FLAGS); do \
24467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24469 (cd $(TARGET_SUBDIR)/libiberty && \
24470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24472 "RANLIB=$${RANLIB}" \
24473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24477 @endif target-libiberty
24479 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
24480 maybe-TAGS-target-libiberty:
24481 @if target-libiberty
24482 maybe-TAGS-target-libiberty: TAGS-target-libiberty
24484 TAGS-target-libiberty: \
24485 configure-target-libiberty
24486 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24487 r=`${PWD_COMMAND}`; export r; \
24488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24490 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
24491 for flag in $(EXTRA_TARGET_FLAGS); do \
24492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24494 (cd $(TARGET_SUBDIR)/libiberty && \
24495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24497 "RANLIB=$${RANLIB}" \
24498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24502 @endif target-libiberty
24504 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
24505 maybe-install-info-target-libiberty:
24506 @if target-libiberty
24507 maybe-install-info-target-libiberty: install-info-target-libiberty
24509 install-info-target-libiberty: \
24510 configure-target-libiberty \
24511 info-target-libiberty
24512 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24513 r=`${PWD_COMMAND}`; export r; \
24514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24516 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
24517 for flag in $(EXTRA_TARGET_FLAGS); do \
24518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24520 (cd $(TARGET_SUBDIR)/libiberty && \
24521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24523 "RANLIB=$${RANLIB}" \
24524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24528 @endif target-libiberty
24530 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
24531 maybe-installcheck-target-libiberty:
24532 @if target-libiberty
24533 maybe-installcheck-target-libiberty: installcheck-target-libiberty
24535 installcheck-target-libiberty: \
24536 configure-target-libiberty
24537 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24538 r=`${PWD_COMMAND}`; export r; \
24539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24541 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
24542 for flag in $(EXTRA_TARGET_FLAGS); do \
24543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24545 (cd $(TARGET_SUBDIR)/libiberty && \
24546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24548 "RANLIB=$${RANLIB}" \
24549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24553 @endif target-libiberty
24555 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
24556 maybe-mostlyclean-target-libiberty:
24557 @if target-libiberty
24558 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
24560 mostlyclean-target-libiberty:
24561 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24562 r=`${PWD_COMMAND}`; export r; \
24563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24565 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
24566 for flag in $(EXTRA_TARGET_FLAGS); do \
24567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24569 (cd $(TARGET_SUBDIR)/libiberty && \
24570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24572 "RANLIB=$${RANLIB}" \
24573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24577 @endif target-libiberty
24579 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
24580 maybe-clean-target-libiberty:
24581 @if target-libiberty
24582 maybe-clean-target-libiberty: clean-target-libiberty
24584 clean-target-libiberty:
24585 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24586 r=`${PWD_COMMAND}`; export r; \
24587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24589 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
24590 for flag in $(EXTRA_TARGET_FLAGS); do \
24591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24593 (cd $(TARGET_SUBDIR)/libiberty && \
24594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24596 "RANLIB=$${RANLIB}" \
24597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24601 @endif target-libiberty
24603 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
24604 maybe-distclean-target-libiberty:
24605 @if target-libiberty
24606 maybe-distclean-target-libiberty: distclean-target-libiberty
24608 distclean-target-libiberty:
24609 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24610 r=`${PWD_COMMAND}`; export r; \
24611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24613 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
24614 for flag in $(EXTRA_TARGET_FLAGS); do \
24615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24617 (cd $(TARGET_SUBDIR)/libiberty && \
24618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24620 "RANLIB=$${RANLIB}" \
24621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24625 @endif target-libiberty
24627 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
24628 maybe-maintainer-clean-target-libiberty:
24629 @if target-libiberty
24630 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
24632 maintainer-clean-target-libiberty:
24633 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24634 r=`${PWD_COMMAND}`; export r; \
24635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24637 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
24638 for flag in $(EXTRA_TARGET_FLAGS); do \
24639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24641 (cd $(TARGET_SUBDIR)/libiberty && \
24642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24644 "RANLIB=$${RANLIB}" \
24645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24646 maintainer-clean) \
24649 @endif target-libiberty
24652 .PHONY: configure-target-gperf maybe-configure-target-gperf
24653 maybe-configure-target-gperf:
24655 maybe-configure-target-gperf: configure-target-gperf
24657 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24658 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
24659 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
24660 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
24661 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
24663 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
24664 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
24665 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
24666 r=`${PWD_COMMAND}`; export r; \
24667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24669 AR="$(AR_FOR_TARGET)"; export AR; \
24670 AS="$(AS_FOR_TARGET)"; export AS; \
24671 CC="$(CC_FOR_TARGET)"; export CC; \
24672 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
24673 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
24674 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
24675 CXX="$(CXX_FOR_TARGET)"; export CXX; \
24676 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
24677 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
24678 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
24679 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
24680 LD="$(LD_FOR_TARGET)"; export LD; \
24681 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
24682 NM="$(NM_FOR_TARGET)"; export NM; \
24683 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
24684 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
24685 echo Configuring in $(TARGET_SUBDIR)/gperf; \
24686 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
24687 case $(srcdir) in \
24688 /* | [A-Za-z]:[\\/]*) \
24689 topdir=$(srcdir) ;; \
24691 case "$(TARGET_SUBDIR)" in \
24692 .) topdir="../$(srcdir)" ;; \
24693 *) topdir="../../$(srcdir)" ;; \
24696 srcdiroption="--srcdir=$${topdir}/gperf"; \
24697 libsrcdir="$$s/gperf"; \
24698 rm -f no-such-file || : ; \
24699 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24700 $(TARGET_CONFIGARGS) $${srcdiroption} \
24701 --with-target-subdir="$(TARGET_SUBDIR)" \
24703 @endif target-gperf
24705 .PHONY: all-target-gperf maybe-all-target-gperf
24706 maybe-all-target-gperf:
24708 maybe-all-target-gperf: all-target-gperf
24709 all-target-gperf: configure-target-gperf
24710 @r=`${PWD_COMMAND}`; export r; \
24711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24713 (cd $(TARGET_SUBDIR)/gperf && \
24714 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
24715 @endif target-gperf
24717 .PHONY: check-target-gperf maybe-check-target-gperf
24718 maybe-check-target-gperf:
24720 maybe-check-target-gperf: check-target-gperf
24722 check-target-gperf:
24723 @r=`${PWD_COMMAND}`; export r; \
24724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24726 (cd $(TARGET_SUBDIR)/gperf && \
24727 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24729 @endif target-gperf
24731 .PHONY: install-target-gperf maybe-install-target-gperf
24732 maybe-install-target-gperf:
24734 maybe-install-target-gperf: install-target-gperf
24736 install-target-gperf: installdirs
24737 @r=`${PWD_COMMAND}`; export r; \
24738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24740 (cd $(TARGET_SUBDIR)/gperf && \
24741 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24743 @endif target-gperf
24745 # Other targets (info, dvi, etc.)
24747 .PHONY: maybe-info-target-gperf info-target-gperf
24748 maybe-info-target-gperf:
24750 maybe-info-target-gperf: info-target-gperf
24752 info-target-gperf: \
24753 configure-target-gperf
24754 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24755 r=`${PWD_COMMAND}`; export r; \
24756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24758 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
24759 for flag in $(EXTRA_TARGET_FLAGS); do \
24760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24762 (cd $(TARGET_SUBDIR)/gperf && \
24763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24765 "RANLIB=$${RANLIB}" \
24766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24770 @endif target-gperf
24772 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
24773 maybe-dvi-target-gperf:
24775 maybe-dvi-target-gperf: dvi-target-gperf
24777 dvi-target-gperf: \
24778 configure-target-gperf
24779 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24780 r=`${PWD_COMMAND}`; export r; \
24781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24783 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
24784 for flag in $(EXTRA_TARGET_FLAGS); do \
24785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24787 (cd $(TARGET_SUBDIR)/gperf && \
24788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24790 "RANLIB=$${RANLIB}" \
24791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24795 @endif target-gperf
24797 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
24798 maybe-TAGS-target-gperf:
24800 maybe-TAGS-target-gperf: TAGS-target-gperf
24802 TAGS-target-gperf: \
24803 configure-target-gperf
24804 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24805 r=`${PWD_COMMAND}`; export r; \
24806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24808 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
24809 for flag in $(EXTRA_TARGET_FLAGS); do \
24810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24812 (cd $(TARGET_SUBDIR)/gperf && \
24813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24815 "RANLIB=$${RANLIB}" \
24816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24820 @endif target-gperf
24822 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
24823 maybe-install-info-target-gperf:
24825 maybe-install-info-target-gperf: install-info-target-gperf
24827 install-info-target-gperf: \
24828 configure-target-gperf \
24830 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24831 r=`${PWD_COMMAND}`; export r; \
24832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24834 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
24835 for flag in $(EXTRA_TARGET_FLAGS); do \
24836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24838 (cd $(TARGET_SUBDIR)/gperf && \
24839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24841 "RANLIB=$${RANLIB}" \
24842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24846 @endif target-gperf
24848 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
24849 maybe-installcheck-target-gperf:
24851 maybe-installcheck-target-gperf: installcheck-target-gperf
24853 installcheck-target-gperf: \
24854 configure-target-gperf
24855 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24856 r=`${PWD_COMMAND}`; export r; \
24857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24859 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
24860 for flag in $(EXTRA_TARGET_FLAGS); do \
24861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24863 (cd $(TARGET_SUBDIR)/gperf && \
24864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24866 "RANLIB=$${RANLIB}" \
24867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24871 @endif target-gperf
24873 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
24874 maybe-mostlyclean-target-gperf:
24876 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
24878 mostlyclean-target-gperf:
24879 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24880 r=`${PWD_COMMAND}`; export r; \
24881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24883 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
24884 for flag in $(EXTRA_TARGET_FLAGS); do \
24885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24887 (cd $(TARGET_SUBDIR)/gperf && \
24888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24890 "RANLIB=$${RANLIB}" \
24891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24895 @endif target-gperf
24897 .PHONY: maybe-clean-target-gperf clean-target-gperf
24898 maybe-clean-target-gperf:
24900 maybe-clean-target-gperf: clean-target-gperf
24902 clean-target-gperf:
24903 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24904 r=`${PWD_COMMAND}`; export r; \
24905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24907 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
24908 for flag in $(EXTRA_TARGET_FLAGS); do \
24909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24911 (cd $(TARGET_SUBDIR)/gperf && \
24912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24914 "RANLIB=$${RANLIB}" \
24915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24919 @endif target-gperf
24921 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
24922 maybe-distclean-target-gperf:
24924 maybe-distclean-target-gperf: distclean-target-gperf
24926 distclean-target-gperf:
24927 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24928 r=`${PWD_COMMAND}`; export r; \
24929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24931 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
24932 for flag in $(EXTRA_TARGET_FLAGS); do \
24933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24935 (cd $(TARGET_SUBDIR)/gperf && \
24936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24938 "RANLIB=$${RANLIB}" \
24939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24943 @endif target-gperf
24945 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
24946 maybe-maintainer-clean-target-gperf:
24948 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
24950 maintainer-clean-target-gperf:
24951 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24952 r=`${PWD_COMMAND}`; export r; \
24953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24955 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
24956 for flag in $(EXTRA_TARGET_FLAGS); do \
24957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24959 (cd $(TARGET_SUBDIR)/gperf && \
24960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24962 "RANLIB=$${RANLIB}" \
24963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24964 maintainer-clean) \
24967 @endif target-gperf
24970 .PHONY: configure-target-examples maybe-configure-target-examples
24971 maybe-configure-target-examples:
24972 @if target-examples
24973 maybe-configure-target-examples: configure-target-examples
24975 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24976 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
24977 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
24978 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
24979 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
24981 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
24982 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
24983 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
24984 r=`${PWD_COMMAND}`; export r; \
24985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24987 AR="$(AR_FOR_TARGET)"; export AR; \
24988 AS="$(AS_FOR_TARGET)"; export AS; \
24989 CC="$(CC_FOR_TARGET)"; export CC; \
24990 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
24991 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
24992 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
24993 CXX="$(CXX_FOR_TARGET)"; export CXX; \
24994 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
24995 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
24996 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
24997 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
24998 LD="$(LD_FOR_TARGET)"; export LD; \
24999 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
25000 NM="$(NM_FOR_TARGET)"; export NM; \
25001 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
25002 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
25003 echo Configuring in $(TARGET_SUBDIR)/examples; \
25004 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
25005 case $(srcdir) in \
25006 /* | [A-Za-z]:[\\/]*) \
25007 topdir=$(srcdir) ;; \
25009 case "$(TARGET_SUBDIR)" in \
25010 .) topdir="../$(srcdir)" ;; \
25011 *) topdir="../../$(srcdir)" ;; \
25014 srcdiroption="--srcdir=$${topdir}/examples"; \
25015 libsrcdir="$$s/examples"; \
25016 rm -f no-such-file || : ; \
25017 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25018 $(TARGET_CONFIGARGS) $${srcdiroption} \
25019 --with-target-subdir="$(TARGET_SUBDIR)" \
25021 @endif target-examples
25023 .PHONY: all-target-examples maybe-all-target-examples
25024 maybe-all-target-examples:
25025 @if target-examples
25026 maybe-all-target-examples: all-target-examples
25027 all-target-examples: configure-target-examples
25028 @r=`${PWD_COMMAND}`; export r; \
25029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25031 (cd $(TARGET_SUBDIR)/examples && \
25032 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
25033 @endif target-examples
25035 .PHONY: check-target-examples maybe-check-target-examples
25036 maybe-check-target-examples:
25037 @if target-examples
25038 maybe-check-target-examples: check-target-examples
25040 # Dummy target for uncheckable module.
25041 check-target-examples:
25043 @endif target-examples
25045 .PHONY: install-target-examples maybe-install-target-examples
25046 maybe-install-target-examples:
25047 @if target-examples
25048 maybe-install-target-examples: install-target-examples
25050 # Dummy target for uninstallable.
25051 install-target-examples:
25053 @endif target-examples
25055 # Other targets (info, dvi, etc.)
25057 .PHONY: maybe-info-target-examples info-target-examples
25058 maybe-info-target-examples:
25059 @if target-examples
25060 maybe-info-target-examples: info-target-examples
25062 info-target-examples: \
25063 configure-target-examples
25064 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25065 r=`${PWD_COMMAND}`; export r; \
25066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25068 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
25069 for flag in $(EXTRA_TARGET_FLAGS); do \
25070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25072 (cd $(TARGET_SUBDIR)/examples && \
25073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25075 "RANLIB=$${RANLIB}" \
25076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25080 @endif target-examples
25082 .PHONY: maybe-dvi-target-examples dvi-target-examples
25083 maybe-dvi-target-examples:
25084 @if target-examples
25085 maybe-dvi-target-examples: dvi-target-examples
25087 dvi-target-examples: \
25088 configure-target-examples
25089 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25090 r=`${PWD_COMMAND}`; export r; \
25091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25093 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
25094 for flag in $(EXTRA_TARGET_FLAGS); do \
25095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25097 (cd $(TARGET_SUBDIR)/examples && \
25098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25100 "RANLIB=$${RANLIB}" \
25101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25105 @endif target-examples
25107 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
25108 maybe-TAGS-target-examples:
25109 @if target-examples
25110 maybe-TAGS-target-examples: TAGS-target-examples
25112 TAGS-target-examples: \
25113 configure-target-examples
25114 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25115 r=`${PWD_COMMAND}`; export r; \
25116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25118 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
25119 for flag in $(EXTRA_TARGET_FLAGS); do \
25120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25122 (cd $(TARGET_SUBDIR)/examples && \
25123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25125 "RANLIB=$${RANLIB}" \
25126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25130 @endif target-examples
25132 .PHONY: maybe-install-info-target-examples install-info-target-examples
25133 maybe-install-info-target-examples:
25134 @if target-examples
25135 maybe-install-info-target-examples: install-info-target-examples
25137 install-info-target-examples: \
25138 configure-target-examples \
25139 info-target-examples
25140 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25141 r=`${PWD_COMMAND}`; export r; \
25142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25144 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
25145 for flag in $(EXTRA_TARGET_FLAGS); do \
25146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25148 (cd $(TARGET_SUBDIR)/examples && \
25149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25151 "RANLIB=$${RANLIB}" \
25152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25156 @endif target-examples
25158 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
25159 maybe-installcheck-target-examples:
25160 @if target-examples
25161 maybe-installcheck-target-examples: installcheck-target-examples
25163 installcheck-target-examples: \
25164 configure-target-examples
25165 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25166 r=`${PWD_COMMAND}`; export r; \
25167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25169 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
25170 for flag in $(EXTRA_TARGET_FLAGS); do \
25171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25173 (cd $(TARGET_SUBDIR)/examples && \
25174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25176 "RANLIB=$${RANLIB}" \
25177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25181 @endif target-examples
25183 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
25184 maybe-mostlyclean-target-examples:
25185 @if target-examples
25186 maybe-mostlyclean-target-examples: mostlyclean-target-examples
25188 mostlyclean-target-examples:
25189 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25190 r=`${PWD_COMMAND}`; export r; \
25191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25193 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
25194 for flag in $(EXTRA_TARGET_FLAGS); do \
25195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25197 (cd $(TARGET_SUBDIR)/examples && \
25198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25200 "RANLIB=$${RANLIB}" \
25201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25205 @endif target-examples
25207 .PHONY: maybe-clean-target-examples clean-target-examples
25208 maybe-clean-target-examples:
25209 @if target-examples
25210 maybe-clean-target-examples: clean-target-examples
25212 clean-target-examples:
25213 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25214 r=`${PWD_COMMAND}`; export r; \
25215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25217 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
25218 for flag in $(EXTRA_TARGET_FLAGS); do \
25219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25221 (cd $(TARGET_SUBDIR)/examples && \
25222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25224 "RANLIB=$${RANLIB}" \
25225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25229 @endif target-examples
25231 .PHONY: maybe-distclean-target-examples distclean-target-examples
25232 maybe-distclean-target-examples:
25233 @if target-examples
25234 maybe-distclean-target-examples: distclean-target-examples
25236 distclean-target-examples:
25237 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25238 r=`${PWD_COMMAND}`; export r; \
25239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25241 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
25242 for flag in $(EXTRA_TARGET_FLAGS); do \
25243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25245 (cd $(TARGET_SUBDIR)/examples && \
25246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25248 "RANLIB=$${RANLIB}" \
25249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25253 @endif target-examples
25255 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
25256 maybe-maintainer-clean-target-examples:
25257 @if target-examples
25258 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
25260 maintainer-clean-target-examples:
25261 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25262 r=`${PWD_COMMAND}`; export r; \
25263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25265 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
25266 for flag in $(EXTRA_TARGET_FLAGS); do \
25267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25269 (cd $(TARGET_SUBDIR)/examples && \
25270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25272 "RANLIB=$${RANLIB}" \
25273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25274 maintainer-clean) \
25277 @endif target-examples
25280 .PHONY: configure-target-libffi maybe-configure-target-libffi
25281 maybe-configure-target-libffi:
25283 maybe-configure-target-libffi: configure-target-libffi
25285 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25286 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
25287 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25288 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
25289 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
25291 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
25292 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
25293 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25294 r=`${PWD_COMMAND}`; export r; \
25295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25297 AR="$(AR_FOR_TARGET)"; export AR; \
25298 AS="$(AS_FOR_TARGET)"; export AS; \
25299 CC="$(CC_FOR_TARGET)"; export CC; \
25300 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
25301 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
25302 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
25303 CXX="$(CXX_FOR_TARGET)"; export CXX; \
25304 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
25305 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
25306 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
25307 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
25308 LD="$(LD_FOR_TARGET)"; export LD; \
25309 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
25310 NM="$(NM_FOR_TARGET)"; export NM; \
25311 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
25312 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
25313 echo Configuring in $(TARGET_SUBDIR)/libffi; \
25314 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
25315 case $(srcdir) in \
25316 /* | [A-Za-z]:[\\/]*) \
25317 topdir=$(srcdir) ;; \
25319 case "$(TARGET_SUBDIR)" in \
25320 .) topdir="../$(srcdir)" ;; \
25321 *) topdir="../../$(srcdir)" ;; \
25324 srcdiroption="--srcdir=$${topdir}/libffi"; \
25325 libsrcdir="$$s/libffi"; \
25326 rm -f no-such-file || : ; \
25327 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25328 $(TARGET_CONFIGARGS) $${srcdiroption} \
25329 --with-target-subdir="$(TARGET_SUBDIR)" \
25331 @endif target-libffi
25333 .PHONY: all-target-libffi maybe-all-target-libffi
25334 maybe-all-target-libffi:
25336 maybe-all-target-libffi: all-target-libffi
25337 all-target-libffi: configure-target-libffi
25338 @r=`${PWD_COMMAND}`; export r; \
25339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25341 (cd $(TARGET_SUBDIR)/libffi && \
25342 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
25343 @endif target-libffi
25345 .PHONY: check-target-libffi maybe-check-target-libffi
25346 maybe-check-target-libffi:
25348 maybe-check-target-libffi: check-target-libffi
25350 check-target-libffi:
25351 @r=`${PWD_COMMAND}`; export r; \
25352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25354 (cd $(TARGET_SUBDIR)/libffi && \
25355 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25357 @endif target-libffi
25359 .PHONY: install-target-libffi maybe-install-target-libffi
25360 maybe-install-target-libffi:
25362 maybe-install-target-libffi: install-target-libffi
25364 install-target-libffi: installdirs
25365 @r=`${PWD_COMMAND}`; export r; \
25366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25368 (cd $(TARGET_SUBDIR)/libffi && \
25369 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25371 @endif target-libffi
25373 # Other targets (info, dvi, etc.)
25375 .PHONY: maybe-info-target-libffi info-target-libffi
25376 maybe-info-target-libffi:
25378 maybe-info-target-libffi: info-target-libffi
25380 info-target-libffi: \
25381 configure-target-libffi
25382 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25383 r=`${PWD_COMMAND}`; export r; \
25384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25386 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
25387 for flag in $(EXTRA_TARGET_FLAGS); do \
25388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25390 (cd $(TARGET_SUBDIR)/libffi && \
25391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25393 "RANLIB=$${RANLIB}" \
25394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25398 @endif target-libffi
25400 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
25401 maybe-dvi-target-libffi:
25403 maybe-dvi-target-libffi: dvi-target-libffi
25405 dvi-target-libffi: \
25406 configure-target-libffi
25407 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25408 r=`${PWD_COMMAND}`; export r; \
25409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25411 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
25412 for flag in $(EXTRA_TARGET_FLAGS); do \
25413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25415 (cd $(TARGET_SUBDIR)/libffi && \
25416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25418 "RANLIB=$${RANLIB}" \
25419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25423 @endif target-libffi
25425 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
25426 maybe-TAGS-target-libffi:
25428 maybe-TAGS-target-libffi: TAGS-target-libffi
25430 TAGS-target-libffi: \
25431 configure-target-libffi
25432 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25433 r=`${PWD_COMMAND}`; export r; \
25434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25436 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
25437 for flag in $(EXTRA_TARGET_FLAGS); do \
25438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25440 (cd $(TARGET_SUBDIR)/libffi && \
25441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25443 "RANLIB=$${RANLIB}" \
25444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25448 @endif target-libffi
25450 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
25451 maybe-install-info-target-libffi:
25453 maybe-install-info-target-libffi: install-info-target-libffi
25455 install-info-target-libffi: \
25456 configure-target-libffi \
25458 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25459 r=`${PWD_COMMAND}`; export r; \
25460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25462 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
25463 for flag in $(EXTRA_TARGET_FLAGS); do \
25464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25466 (cd $(TARGET_SUBDIR)/libffi && \
25467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25469 "RANLIB=$${RANLIB}" \
25470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25474 @endif target-libffi
25476 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
25477 maybe-installcheck-target-libffi:
25479 maybe-installcheck-target-libffi: installcheck-target-libffi
25481 installcheck-target-libffi: \
25482 configure-target-libffi
25483 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25484 r=`${PWD_COMMAND}`; export r; \
25485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25487 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
25488 for flag in $(EXTRA_TARGET_FLAGS); do \
25489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25491 (cd $(TARGET_SUBDIR)/libffi && \
25492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25494 "RANLIB=$${RANLIB}" \
25495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25499 @endif target-libffi
25501 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
25502 maybe-mostlyclean-target-libffi:
25504 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
25506 mostlyclean-target-libffi:
25507 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25508 r=`${PWD_COMMAND}`; export r; \
25509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25511 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
25512 for flag in $(EXTRA_TARGET_FLAGS); do \
25513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25515 (cd $(TARGET_SUBDIR)/libffi && \
25516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25518 "RANLIB=$${RANLIB}" \
25519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25523 @endif target-libffi
25525 .PHONY: maybe-clean-target-libffi clean-target-libffi
25526 maybe-clean-target-libffi:
25528 maybe-clean-target-libffi: clean-target-libffi
25530 clean-target-libffi:
25531 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25532 r=`${PWD_COMMAND}`; export r; \
25533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25535 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
25536 for flag in $(EXTRA_TARGET_FLAGS); do \
25537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25539 (cd $(TARGET_SUBDIR)/libffi && \
25540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25542 "RANLIB=$${RANLIB}" \
25543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25547 @endif target-libffi
25549 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
25550 maybe-distclean-target-libffi:
25552 maybe-distclean-target-libffi: distclean-target-libffi
25554 distclean-target-libffi:
25555 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25556 r=`${PWD_COMMAND}`; export r; \
25557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25559 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
25560 for flag in $(EXTRA_TARGET_FLAGS); do \
25561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25563 (cd $(TARGET_SUBDIR)/libffi && \
25564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25566 "RANLIB=$${RANLIB}" \
25567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25571 @endif target-libffi
25573 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
25574 maybe-maintainer-clean-target-libffi:
25576 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
25578 maintainer-clean-target-libffi:
25579 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25580 r=`${PWD_COMMAND}`; export r; \
25581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25583 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
25584 for flag in $(EXTRA_TARGET_FLAGS); do \
25585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25587 (cd $(TARGET_SUBDIR)/libffi && \
25588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25590 "RANLIB=$${RANLIB}" \
25591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25592 maintainer-clean) \
25595 @endif target-libffi
25598 .PHONY: configure-target-libjava maybe-configure-target-libjava
25599 maybe-configure-target-libjava:
25601 maybe-configure-target-libjava: configure-target-libjava
25603 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25604 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
25605 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
25606 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
25607 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
25609 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
25610 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
25611 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
25612 r=`${PWD_COMMAND}`; export r; \
25613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25615 AR="$(AR_FOR_TARGET)"; export AR; \
25616 AS="$(AS_FOR_TARGET)"; export AS; \
25617 CC="$(CC_FOR_TARGET)"; export CC; \
25618 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
25619 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
25620 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
25621 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
25622 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \
25623 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
25624 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
25625 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
25626 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
25627 LD="$(LD_FOR_TARGET)"; export LD; \
25628 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
25629 NM="$(NM_FOR_TARGET)"; export NM; \
25630 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
25631 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
25632 echo Configuring in $(TARGET_SUBDIR)/libjava; \
25633 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
25634 case $(srcdir) in \
25635 /* | [A-Za-z]:[\\/]*) \
25636 topdir=$(srcdir) ;; \
25638 case "$(TARGET_SUBDIR)" in \
25639 .) topdir="../$(srcdir)" ;; \
25640 *) topdir="../../$(srcdir)" ;; \
25643 srcdiroption="--srcdir=$${topdir}/libjava"; \
25644 libsrcdir="$$s/libjava"; \
25645 rm -f no-such-file || : ; \
25646 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25647 $(TARGET_CONFIGARGS) $${srcdiroption} \
25648 --with-target-subdir="$(TARGET_SUBDIR)" \
25650 @endif target-libjava
25652 .PHONY: all-target-libjava maybe-all-target-libjava
25653 maybe-all-target-libjava:
25655 maybe-all-target-libjava: all-target-libjava
25656 all-target-libjava: configure-target-libjava
25657 @r=`${PWD_COMMAND}`; export r; \
25658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25660 (cd $(TARGET_SUBDIR)/libjava && \
25661 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
25662 @endif target-libjava
25664 .PHONY: check-target-libjava maybe-check-target-libjava
25665 maybe-check-target-libjava:
25667 maybe-check-target-libjava: check-target-libjava
25669 check-target-libjava:
25670 @r=`${PWD_COMMAND}`; export r; \
25671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25673 (cd $(TARGET_SUBDIR)/libjava && \
25674 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
25676 @endif target-libjava
25678 .PHONY: install-target-libjava maybe-install-target-libjava
25679 maybe-install-target-libjava:
25681 maybe-install-target-libjava: install-target-libjava
25683 install-target-libjava: installdirs
25684 @r=`${PWD_COMMAND}`; export r; \
25685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25687 (cd $(TARGET_SUBDIR)/libjava && \
25688 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25690 @endif target-libjava
25692 # Other targets (info, dvi, etc.)
25694 .PHONY: maybe-info-target-libjava info-target-libjava
25695 maybe-info-target-libjava:
25697 maybe-info-target-libjava: info-target-libjava
25699 info-target-libjava: \
25700 configure-target-libjava
25701 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25702 r=`${PWD_COMMAND}`; export r; \
25703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25705 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
25706 for flag in $(EXTRA_TARGET_FLAGS); do \
25707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25709 (cd $(TARGET_SUBDIR)/libjava && \
25710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25712 "RANLIB=$${RANLIB}" \
25713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25717 @endif target-libjava
25719 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
25720 maybe-dvi-target-libjava:
25722 maybe-dvi-target-libjava: dvi-target-libjava
25724 dvi-target-libjava: \
25725 configure-target-libjava
25726 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25727 r=`${PWD_COMMAND}`; export r; \
25728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25730 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
25731 for flag in $(EXTRA_TARGET_FLAGS); do \
25732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25734 (cd $(TARGET_SUBDIR)/libjava && \
25735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25737 "RANLIB=$${RANLIB}" \
25738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25742 @endif target-libjava
25744 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
25745 maybe-TAGS-target-libjava:
25747 maybe-TAGS-target-libjava: TAGS-target-libjava
25749 TAGS-target-libjava: \
25750 configure-target-libjava
25751 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25752 r=`${PWD_COMMAND}`; export r; \
25753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25755 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
25756 for flag in $(EXTRA_TARGET_FLAGS); do \
25757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25759 (cd $(TARGET_SUBDIR)/libjava && \
25760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25762 "RANLIB=$${RANLIB}" \
25763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25767 @endif target-libjava
25769 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
25770 maybe-install-info-target-libjava:
25772 maybe-install-info-target-libjava: install-info-target-libjava
25774 install-info-target-libjava: \
25775 configure-target-libjava \
25776 info-target-libjava
25777 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25778 r=`${PWD_COMMAND}`; export r; \
25779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25781 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
25782 for flag in $(EXTRA_TARGET_FLAGS); do \
25783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25785 (cd $(TARGET_SUBDIR)/libjava && \
25786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25788 "RANLIB=$${RANLIB}" \
25789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25793 @endif target-libjava
25795 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
25796 maybe-installcheck-target-libjava:
25798 maybe-installcheck-target-libjava: installcheck-target-libjava
25800 installcheck-target-libjava: \
25801 configure-target-libjava
25802 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25803 r=`${PWD_COMMAND}`; export r; \
25804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25806 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
25807 for flag in $(EXTRA_TARGET_FLAGS); do \
25808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25810 (cd $(TARGET_SUBDIR)/libjava && \
25811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25813 "RANLIB=$${RANLIB}" \
25814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25818 @endif target-libjava
25820 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
25821 maybe-mostlyclean-target-libjava:
25823 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
25825 mostlyclean-target-libjava:
25826 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25827 r=`${PWD_COMMAND}`; export r; \
25828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25830 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
25831 for flag in $(EXTRA_TARGET_FLAGS); do \
25832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25834 (cd $(TARGET_SUBDIR)/libjava && \
25835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25837 "RANLIB=$${RANLIB}" \
25838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25842 @endif target-libjava
25844 .PHONY: maybe-clean-target-libjava clean-target-libjava
25845 maybe-clean-target-libjava:
25847 maybe-clean-target-libjava: clean-target-libjava
25849 clean-target-libjava:
25850 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25851 r=`${PWD_COMMAND}`; export r; \
25852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25854 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
25855 for flag in $(EXTRA_TARGET_FLAGS); do \
25856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25858 (cd $(TARGET_SUBDIR)/libjava && \
25859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25861 "RANLIB=$${RANLIB}" \
25862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25866 @endif target-libjava
25868 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
25869 maybe-distclean-target-libjava:
25871 maybe-distclean-target-libjava: distclean-target-libjava
25873 distclean-target-libjava:
25874 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25875 r=`${PWD_COMMAND}`; export r; \
25876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25878 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
25879 for flag in $(EXTRA_TARGET_FLAGS); do \
25880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25882 (cd $(TARGET_SUBDIR)/libjava && \
25883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25885 "RANLIB=$${RANLIB}" \
25886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25890 @endif target-libjava
25892 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
25893 maybe-maintainer-clean-target-libjava:
25895 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
25897 maintainer-clean-target-libjava:
25898 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25899 r=`${PWD_COMMAND}`; export r; \
25900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25902 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
25903 for flag in $(EXTRA_TARGET_FLAGS); do \
25904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25906 (cd $(TARGET_SUBDIR)/libjava && \
25907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25909 "RANLIB=$${RANLIB}" \
25910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25911 maintainer-clean) \
25914 @endif target-libjava
25917 .PHONY: configure-target-zlib maybe-configure-target-zlib
25918 maybe-configure-target-zlib:
25920 maybe-configure-target-zlib: configure-target-zlib
25922 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25923 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
25924 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
25925 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
25926 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
25928 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
25929 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
25930 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
25931 r=`${PWD_COMMAND}`; export r; \
25932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25934 AR="$(AR_FOR_TARGET)"; export AR; \
25935 AS="$(AS_FOR_TARGET)"; export AS; \
25936 CC="$(CC_FOR_TARGET)"; export CC; \
25937 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
25938 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
25939 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
25940 CXX="$(CXX_FOR_TARGET)"; export CXX; \
25941 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
25942 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
25943 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
25944 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
25945 LD="$(LD_FOR_TARGET)"; export LD; \
25946 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
25947 NM="$(NM_FOR_TARGET)"; export NM; \
25948 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
25949 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
25950 echo Configuring in $(TARGET_SUBDIR)/zlib; \
25951 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
25952 case $(srcdir) in \
25953 /* | [A-Za-z]:[\\/]*) \
25954 topdir=$(srcdir) ;; \
25956 case "$(TARGET_SUBDIR)" in \
25957 .) topdir="../$(srcdir)" ;; \
25958 *) topdir="../../$(srcdir)" ;; \
25961 if [ "$(srcdir)" = "." ] ; then \
25962 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
25963 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
25964 if [ -f Makefile ]; then \
25965 if $(MAKE) distclean; then \
25979 srcdiroption="--srcdir=."; \
25982 srcdiroption="--srcdir=$${topdir}/zlib"; \
25983 libsrcdir="$$s/zlib"; \
25985 rm -f no-such-file || : ; \
25986 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25987 $(TARGET_CONFIGARGS) $${srcdiroption} \
25988 --with-target-subdir="$(TARGET_SUBDIR)" \
25992 .PHONY: all-target-zlib maybe-all-target-zlib
25993 maybe-all-target-zlib:
25995 maybe-all-target-zlib: all-target-zlib
25996 all-target-zlib: configure-target-zlib
25997 @r=`${PWD_COMMAND}`; export r; \
25998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26000 (cd $(TARGET_SUBDIR)/zlib && \
26001 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
26004 .PHONY: check-target-zlib maybe-check-target-zlib
26005 maybe-check-target-zlib:
26007 maybe-check-target-zlib: check-target-zlib
26010 @r=`${PWD_COMMAND}`; export r; \
26011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26013 (cd $(TARGET_SUBDIR)/zlib && \
26014 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26018 .PHONY: install-target-zlib maybe-install-target-zlib
26019 maybe-install-target-zlib:
26021 maybe-install-target-zlib: install-target-zlib
26023 install-target-zlib: installdirs
26024 @r=`${PWD_COMMAND}`; export r; \
26025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26027 (cd $(TARGET_SUBDIR)/zlib && \
26028 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26032 # Other targets (info, dvi, etc.)
26034 .PHONY: maybe-info-target-zlib info-target-zlib
26035 maybe-info-target-zlib:
26037 maybe-info-target-zlib: info-target-zlib
26039 info-target-zlib: \
26040 configure-target-zlib
26041 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26042 r=`${PWD_COMMAND}`; export r; \
26043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26045 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
26046 for flag in $(EXTRA_TARGET_FLAGS); do \
26047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26049 (cd $(TARGET_SUBDIR)/zlib && \
26050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26052 "RANLIB=$${RANLIB}" \
26053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26059 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
26060 maybe-dvi-target-zlib:
26062 maybe-dvi-target-zlib: dvi-target-zlib
26065 configure-target-zlib
26066 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26067 r=`${PWD_COMMAND}`; export r; \
26068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26070 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
26071 for flag in $(EXTRA_TARGET_FLAGS); do \
26072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26074 (cd $(TARGET_SUBDIR)/zlib && \
26075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26077 "RANLIB=$${RANLIB}" \
26078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26084 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
26085 maybe-TAGS-target-zlib:
26087 maybe-TAGS-target-zlib: TAGS-target-zlib
26089 TAGS-target-zlib: \
26090 configure-target-zlib
26091 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26092 r=`${PWD_COMMAND}`; export r; \
26093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26095 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
26096 for flag in $(EXTRA_TARGET_FLAGS); do \
26097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26099 (cd $(TARGET_SUBDIR)/zlib && \
26100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26102 "RANLIB=$${RANLIB}" \
26103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26109 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
26110 maybe-install-info-target-zlib:
26112 maybe-install-info-target-zlib: install-info-target-zlib
26114 install-info-target-zlib: \
26115 configure-target-zlib \
26117 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26118 r=`${PWD_COMMAND}`; export r; \
26119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26121 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
26122 for flag in $(EXTRA_TARGET_FLAGS); do \
26123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26125 (cd $(TARGET_SUBDIR)/zlib && \
26126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26128 "RANLIB=$${RANLIB}" \
26129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26135 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
26136 maybe-installcheck-target-zlib:
26138 maybe-installcheck-target-zlib: installcheck-target-zlib
26140 installcheck-target-zlib: \
26141 configure-target-zlib
26142 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26143 r=`${PWD_COMMAND}`; export r; \
26144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26146 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
26147 for flag in $(EXTRA_TARGET_FLAGS); do \
26148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26150 (cd $(TARGET_SUBDIR)/zlib && \
26151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26153 "RANLIB=$${RANLIB}" \
26154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26160 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
26161 maybe-mostlyclean-target-zlib:
26163 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
26165 mostlyclean-target-zlib:
26166 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26167 r=`${PWD_COMMAND}`; export r; \
26168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26170 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
26171 for flag in $(EXTRA_TARGET_FLAGS); do \
26172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26174 (cd $(TARGET_SUBDIR)/zlib && \
26175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26177 "RANLIB=$${RANLIB}" \
26178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26184 .PHONY: maybe-clean-target-zlib clean-target-zlib
26185 maybe-clean-target-zlib:
26187 maybe-clean-target-zlib: clean-target-zlib
26190 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26191 r=`${PWD_COMMAND}`; export r; \
26192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26194 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
26195 for flag in $(EXTRA_TARGET_FLAGS); do \
26196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26198 (cd $(TARGET_SUBDIR)/zlib && \
26199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26201 "RANLIB=$${RANLIB}" \
26202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26208 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
26209 maybe-distclean-target-zlib:
26211 maybe-distclean-target-zlib: distclean-target-zlib
26213 distclean-target-zlib:
26214 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26215 r=`${PWD_COMMAND}`; export r; \
26216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26218 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
26219 for flag in $(EXTRA_TARGET_FLAGS); do \
26220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26222 (cd $(TARGET_SUBDIR)/zlib && \
26223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26225 "RANLIB=$${RANLIB}" \
26226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26232 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
26233 maybe-maintainer-clean-target-zlib:
26235 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
26237 maintainer-clean-target-zlib:
26238 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26239 r=`${PWD_COMMAND}`; export r; \
26240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26242 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
26243 for flag in $(EXTRA_TARGET_FLAGS); do \
26244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26246 (cd $(TARGET_SUBDIR)/zlib && \
26247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26249 "RANLIB=$${RANLIB}" \
26250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26251 maintainer-clean) \
26257 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
26258 maybe-configure-target-boehm-gc:
26259 @if target-boehm-gc
26260 maybe-configure-target-boehm-gc: configure-target-boehm-gc
26262 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26263 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
26264 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26265 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
26266 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
26268 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
26269 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
26270 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26271 r=`${PWD_COMMAND}`; export r; \
26272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26274 AR="$(AR_FOR_TARGET)"; export AR; \
26275 AS="$(AS_FOR_TARGET)"; export AS; \
26276 CC="$(CC_FOR_TARGET)"; export CC; \
26277 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
26278 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
26279 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
26280 CXX="$(CXX_FOR_TARGET)"; export CXX; \
26281 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
26282 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
26283 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
26284 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
26285 LD="$(LD_FOR_TARGET)"; export LD; \
26286 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
26287 NM="$(NM_FOR_TARGET)"; export NM; \
26288 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
26289 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
26290 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
26291 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
26292 case $(srcdir) in \
26293 /* | [A-Za-z]:[\\/]*) \
26294 topdir=$(srcdir) ;; \
26296 case "$(TARGET_SUBDIR)" in \
26297 .) topdir="../$(srcdir)" ;; \
26298 *) topdir="../../$(srcdir)" ;; \
26301 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
26302 libsrcdir="$$s/boehm-gc"; \
26303 rm -f no-such-file || : ; \
26304 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26305 $(TARGET_CONFIGARGS) $${srcdiroption} \
26306 --with-target-subdir="$(TARGET_SUBDIR)" \
26308 @endif target-boehm-gc
26310 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
26311 maybe-all-target-boehm-gc:
26312 @if target-boehm-gc
26313 maybe-all-target-boehm-gc: all-target-boehm-gc
26314 all-target-boehm-gc: configure-target-boehm-gc
26315 @r=`${PWD_COMMAND}`; export r; \
26316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26318 (cd $(TARGET_SUBDIR)/boehm-gc && \
26319 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
26320 @endif target-boehm-gc
26322 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
26323 maybe-check-target-boehm-gc:
26324 @if target-boehm-gc
26325 maybe-check-target-boehm-gc: check-target-boehm-gc
26327 check-target-boehm-gc:
26328 @r=`${PWD_COMMAND}`; export r; \
26329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26331 (cd $(TARGET_SUBDIR)/boehm-gc && \
26332 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26334 @endif target-boehm-gc
26336 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
26337 maybe-install-target-boehm-gc:
26338 @if target-boehm-gc
26339 maybe-install-target-boehm-gc: install-target-boehm-gc
26341 install-target-boehm-gc: installdirs
26342 @r=`${PWD_COMMAND}`; export r; \
26343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26345 (cd $(TARGET_SUBDIR)/boehm-gc && \
26346 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26348 @endif target-boehm-gc
26350 # Other targets (info, dvi, etc.)
26352 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
26353 maybe-info-target-boehm-gc:
26354 @if target-boehm-gc
26355 maybe-info-target-boehm-gc: info-target-boehm-gc
26357 info-target-boehm-gc: \
26358 configure-target-boehm-gc
26359 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26360 r=`${PWD_COMMAND}`; export r; \
26361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26363 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
26364 for flag in $(EXTRA_TARGET_FLAGS); do \
26365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26367 (cd $(TARGET_SUBDIR)/boehm-gc && \
26368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26370 "RANLIB=$${RANLIB}" \
26371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26375 @endif target-boehm-gc
26377 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
26378 maybe-dvi-target-boehm-gc:
26379 @if target-boehm-gc
26380 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
26382 dvi-target-boehm-gc: \
26383 configure-target-boehm-gc
26384 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26385 r=`${PWD_COMMAND}`; export r; \
26386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26388 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
26389 for flag in $(EXTRA_TARGET_FLAGS); do \
26390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26392 (cd $(TARGET_SUBDIR)/boehm-gc && \
26393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26395 "RANLIB=$${RANLIB}" \
26396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26400 @endif target-boehm-gc
26402 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
26403 maybe-TAGS-target-boehm-gc:
26404 @if target-boehm-gc
26405 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
26407 TAGS-target-boehm-gc: \
26408 configure-target-boehm-gc
26409 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26410 r=`${PWD_COMMAND}`; export r; \
26411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26413 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
26414 for flag in $(EXTRA_TARGET_FLAGS); do \
26415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26417 (cd $(TARGET_SUBDIR)/boehm-gc && \
26418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26420 "RANLIB=$${RANLIB}" \
26421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26425 @endif target-boehm-gc
26427 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
26428 maybe-install-info-target-boehm-gc:
26429 @if target-boehm-gc
26430 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
26432 install-info-target-boehm-gc: \
26433 configure-target-boehm-gc \
26434 info-target-boehm-gc
26435 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26436 r=`${PWD_COMMAND}`; export r; \
26437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26439 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
26440 for flag in $(EXTRA_TARGET_FLAGS); do \
26441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26443 (cd $(TARGET_SUBDIR)/boehm-gc && \
26444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26446 "RANLIB=$${RANLIB}" \
26447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26451 @endif target-boehm-gc
26453 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
26454 maybe-installcheck-target-boehm-gc:
26455 @if target-boehm-gc
26456 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
26458 installcheck-target-boehm-gc: \
26459 configure-target-boehm-gc
26460 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26461 r=`${PWD_COMMAND}`; export r; \
26462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26464 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
26465 for flag in $(EXTRA_TARGET_FLAGS); do \
26466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26468 (cd $(TARGET_SUBDIR)/boehm-gc && \
26469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26471 "RANLIB=$${RANLIB}" \
26472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26476 @endif target-boehm-gc
26478 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
26479 maybe-mostlyclean-target-boehm-gc:
26480 @if target-boehm-gc
26481 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
26483 mostlyclean-target-boehm-gc:
26484 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26485 r=`${PWD_COMMAND}`; export r; \
26486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26488 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
26489 for flag in $(EXTRA_TARGET_FLAGS); do \
26490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26492 (cd $(TARGET_SUBDIR)/boehm-gc && \
26493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26495 "RANLIB=$${RANLIB}" \
26496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26500 @endif target-boehm-gc
26502 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
26503 maybe-clean-target-boehm-gc:
26504 @if target-boehm-gc
26505 maybe-clean-target-boehm-gc: clean-target-boehm-gc
26507 clean-target-boehm-gc:
26508 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26509 r=`${PWD_COMMAND}`; export r; \
26510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26512 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
26513 for flag in $(EXTRA_TARGET_FLAGS); do \
26514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26516 (cd $(TARGET_SUBDIR)/boehm-gc && \
26517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26519 "RANLIB=$${RANLIB}" \
26520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26524 @endif target-boehm-gc
26526 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
26527 maybe-distclean-target-boehm-gc:
26528 @if target-boehm-gc
26529 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
26531 distclean-target-boehm-gc:
26532 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26533 r=`${PWD_COMMAND}`; export r; \
26534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26536 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
26537 for flag in $(EXTRA_TARGET_FLAGS); do \
26538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26540 (cd $(TARGET_SUBDIR)/boehm-gc && \
26541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26543 "RANLIB=$${RANLIB}" \
26544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26548 @endif target-boehm-gc
26550 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
26551 maybe-maintainer-clean-target-boehm-gc:
26552 @if target-boehm-gc
26553 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
26555 maintainer-clean-target-boehm-gc:
26556 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26557 r=`${PWD_COMMAND}`; export r; \
26558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26560 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
26561 for flag in $(EXTRA_TARGET_FLAGS); do \
26562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26564 (cd $(TARGET_SUBDIR)/boehm-gc && \
26565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26567 "RANLIB=$${RANLIB}" \
26568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26569 maintainer-clean) \
26572 @endif target-boehm-gc
26575 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
26576 maybe-configure-target-qthreads:
26577 @if target-qthreads
26578 maybe-configure-target-qthreads: configure-target-qthreads
26580 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26581 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
26582 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
26583 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
26584 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
26586 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
26587 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
26588 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
26589 r=`${PWD_COMMAND}`; export r; \
26590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26592 AR="$(AR_FOR_TARGET)"; export AR; \
26593 AS="$(AS_FOR_TARGET)"; export AS; \
26594 CC="$(CC_FOR_TARGET)"; export CC; \
26595 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
26596 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
26597 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
26598 CXX="$(CXX_FOR_TARGET)"; export CXX; \
26599 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
26600 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
26601 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
26602 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
26603 LD="$(LD_FOR_TARGET)"; export LD; \
26604 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
26605 NM="$(NM_FOR_TARGET)"; export NM; \
26606 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
26607 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
26608 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
26609 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
26610 case $(srcdir) in \
26611 /* | [A-Za-z]:[\\/]*) \
26612 topdir=$(srcdir) ;; \
26614 case "$(TARGET_SUBDIR)" in \
26615 .) topdir="../$(srcdir)" ;; \
26616 *) topdir="../../$(srcdir)" ;; \
26619 srcdiroption="--srcdir=$${topdir}/qthreads"; \
26620 libsrcdir="$$s/qthreads"; \
26621 rm -f no-such-file || : ; \
26622 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26623 $(TARGET_CONFIGARGS) $${srcdiroption} \
26624 --with-target-subdir="$(TARGET_SUBDIR)" \
26626 @endif target-qthreads
26628 .PHONY: all-target-qthreads maybe-all-target-qthreads
26629 maybe-all-target-qthreads:
26630 @if target-qthreads
26631 maybe-all-target-qthreads: all-target-qthreads
26632 all-target-qthreads: configure-target-qthreads
26633 @r=`${PWD_COMMAND}`; export r; \
26634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26636 (cd $(TARGET_SUBDIR)/qthreads && \
26637 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
26638 @endif target-qthreads
26640 .PHONY: check-target-qthreads maybe-check-target-qthreads
26641 maybe-check-target-qthreads:
26642 @if target-qthreads
26643 maybe-check-target-qthreads: check-target-qthreads
26645 check-target-qthreads:
26646 @r=`${PWD_COMMAND}`; export r; \
26647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26649 (cd $(TARGET_SUBDIR)/qthreads && \
26650 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26652 @endif target-qthreads
26654 .PHONY: install-target-qthreads maybe-install-target-qthreads
26655 maybe-install-target-qthreads:
26656 @if target-qthreads
26657 maybe-install-target-qthreads: install-target-qthreads
26659 install-target-qthreads: installdirs
26660 @r=`${PWD_COMMAND}`; export r; \
26661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26663 (cd $(TARGET_SUBDIR)/qthreads && \
26664 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26666 @endif target-qthreads
26668 # Other targets (info, dvi, etc.)
26670 .PHONY: maybe-info-target-qthreads info-target-qthreads
26671 maybe-info-target-qthreads:
26672 @if target-qthreads
26673 maybe-info-target-qthreads: info-target-qthreads
26675 info-target-qthreads: \
26676 configure-target-qthreads
26677 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26678 r=`${PWD_COMMAND}`; export r; \
26679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26681 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
26682 for flag in $(EXTRA_TARGET_FLAGS); do \
26683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26685 (cd $(TARGET_SUBDIR)/qthreads && \
26686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26688 "RANLIB=$${RANLIB}" \
26689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26693 @endif target-qthreads
26695 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
26696 maybe-dvi-target-qthreads:
26697 @if target-qthreads
26698 maybe-dvi-target-qthreads: dvi-target-qthreads
26700 dvi-target-qthreads: \
26701 configure-target-qthreads
26702 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26703 r=`${PWD_COMMAND}`; export r; \
26704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26706 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
26707 for flag in $(EXTRA_TARGET_FLAGS); do \
26708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26710 (cd $(TARGET_SUBDIR)/qthreads && \
26711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26713 "RANLIB=$${RANLIB}" \
26714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26718 @endif target-qthreads
26720 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
26721 maybe-TAGS-target-qthreads:
26722 @if target-qthreads
26723 maybe-TAGS-target-qthreads: TAGS-target-qthreads
26725 TAGS-target-qthreads: \
26726 configure-target-qthreads
26727 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26728 r=`${PWD_COMMAND}`; export r; \
26729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26731 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
26732 for flag in $(EXTRA_TARGET_FLAGS); do \
26733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26735 (cd $(TARGET_SUBDIR)/qthreads && \
26736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26738 "RANLIB=$${RANLIB}" \
26739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26743 @endif target-qthreads
26745 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
26746 maybe-install-info-target-qthreads:
26747 @if target-qthreads
26748 maybe-install-info-target-qthreads: install-info-target-qthreads
26750 install-info-target-qthreads: \
26751 configure-target-qthreads \
26752 info-target-qthreads
26753 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26754 r=`${PWD_COMMAND}`; export r; \
26755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26757 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
26758 for flag in $(EXTRA_TARGET_FLAGS); do \
26759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26761 (cd $(TARGET_SUBDIR)/qthreads && \
26762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26764 "RANLIB=$${RANLIB}" \
26765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26769 @endif target-qthreads
26771 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
26772 maybe-installcheck-target-qthreads:
26773 @if target-qthreads
26774 maybe-installcheck-target-qthreads: installcheck-target-qthreads
26776 installcheck-target-qthreads: \
26777 configure-target-qthreads
26778 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26779 r=`${PWD_COMMAND}`; export r; \
26780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26782 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
26783 for flag in $(EXTRA_TARGET_FLAGS); do \
26784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26786 (cd $(TARGET_SUBDIR)/qthreads && \
26787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26789 "RANLIB=$${RANLIB}" \
26790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26794 @endif target-qthreads
26796 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
26797 maybe-mostlyclean-target-qthreads:
26798 @if target-qthreads
26799 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
26801 mostlyclean-target-qthreads:
26802 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26803 r=`${PWD_COMMAND}`; export r; \
26804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26806 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
26807 for flag in $(EXTRA_TARGET_FLAGS); do \
26808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26810 (cd $(TARGET_SUBDIR)/qthreads && \
26811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26813 "RANLIB=$${RANLIB}" \
26814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26818 @endif target-qthreads
26820 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
26821 maybe-clean-target-qthreads:
26822 @if target-qthreads
26823 maybe-clean-target-qthreads: clean-target-qthreads
26825 clean-target-qthreads:
26826 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26827 r=`${PWD_COMMAND}`; export r; \
26828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26830 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
26831 for flag in $(EXTRA_TARGET_FLAGS); do \
26832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26834 (cd $(TARGET_SUBDIR)/qthreads && \
26835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26837 "RANLIB=$${RANLIB}" \
26838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26842 @endif target-qthreads
26844 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
26845 maybe-distclean-target-qthreads:
26846 @if target-qthreads
26847 maybe-distclean-target-qthreads: distclean-target-qthreads
26849 distclean-target-qthreads:
26850 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26851 r=`${PWD_COMMAND}`; export r; \
26852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26854 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
26855 for flag in $(EXTRA_TARGET_FLAGS); do \
26856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26858 (cd $(TARGET_SUBDIR)/qthreads && \
26859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26861 "RANLIB=$${RANLIB}" \
26862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26866 @endif target-qthreads
26868 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
26869 maybe-maintainer-clean-target-qthreads:
26870 @if target-qthreads
26871 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
26873 maintainer-clean-target-qthreads:
26874 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26875 r=`${PWD_COMMAND}`; export r; \
26876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26878 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
26879 for flag in $(EXTRA_TARGET_FLAGS); do \
26880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26882 (cd $(TARGET_SUBDIR)/qthreads && \
26883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26885 "RANLIB=$${RANLIB}" \
26886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26887 maintainer-clean) \
26890 @endif target-qthreads
26893 .PHONY: configure-target-rda maybe-configure-target-rda
26894 maybe-configure-target-rda:
26896 maybe-configure-target-rda: configure-target-rda
26898 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26899 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
26900 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
26901 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
26902 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
26904 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
26905 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
26906 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
26907 r=`${PWD_COMMAND}`; export r; \
26908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26910 AR="$(AR_FOR_TARGET)"; export AR; \
26911 AS="$(AS_FOR_TARGET)"; export AS; \
26912 CC="$(CC_FOR_TARGET)"; export CC; \
26913 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
26914 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
26915 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
26916 CXX="$(CXX_FOR_TARGET)"; export CXX; \
26917 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
26918 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
26919 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
26920 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
26921 LD="$(LD_FOR_TARGET)"; export LD; \
26922 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
26923 NM="$(NM_FOR_TARGET)"; export NM; \
26924 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
26925 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
26926 echo Configuring in $(TARGET_SUBDIR)/rda; \
26927 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
26928 case $(srcdir) in \
26929 /* | [A-Za-z]:[\\/]*) \
26930 topdir=$(srcdir) ;; \
26932 case "$(TARGET_SUBDIR)" in \
26933 .) topdir="../$(srcdir)" ;; \
26934 *) topdir="../../$(srcdir)" ;; \
26937 srcdiroption="--srcdir=$${topdir}/rda"; \
26938 libsrcdir="$$s/rda"; \
26939 rm -f no-such-file || : ; \
26940 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26941 $(TARGET_CONFIGARGS) $${srcdiroption} \
26942 --with-target-subdir="$(TARGET_SUBDIR)" \
26946 .PHONY: all-target-rda maybe-all-target-rda
26947 maybe-all-target-rda:
26949 maybe-all-target-rda: all-target-rda
26950 all-target-rda: configure-target-rda
26951 @r=`${PWD_COMMAND}`; export r; \
26952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26954 (cd $(TARGET_SUBDIR)/rda && \
26955 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
26958 .PHONY: check-target-rda maybe-check-target-rda
26959 maybe-check-target-rda:
26961 maybe-check-target-rda: check-target-rda
26964 @r=`${PWD_COMMAND}`; export r; \
26965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26967 (cd $(TARGET_SUBDIR)/rda && \
26968 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26972 .PHONY: install-target-rda maybe-install-target-rda
26973 maybe-install-target-rda:
26975 maybe-install-target-rda: install-target-rda
26977 install-target-rda: installdirs
26978 @r=`${PWD_COMMAND}`; export r; \
26979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26981 (cd $(TARGET_SUBDIR)/rda && \
26982 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26986 # Other targets (info, dvi, etc.)
26988 .PHONY: maybe-info-target-rda info-target-rda
26989 maybe-info-target-rda:
26991 maybe-info-target-rda: info-target-rda
26994 configure-target-rda
26995 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
26996 r=`${PWD_COMMAND}`; export r; \
26997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26999 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
27000 for flag in $(EXTRA_TARGET_FLAGS); do \
27001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27003 (cd $(TARGET_SUBDIR)/rda && \
27004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27006 "RANLIB=$${RANLIB}" \
27007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27013 .PHONY: maybe-dvi-target-rda dvi-target-rda
27014 maybe-dvi-target-rda:
27016 maybe-dvi-target-rda: dvi-target-rda
27019 configure-target-rda
27020 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27021 r=`${PWD_COMMAND}`; export r; \
27022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27024 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
27025 for flag in $(EXTRA_TARGET_FLAGS); do \
27026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27028 (cd $(TARGET_SUBDIR)/rda && \
27029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27031 "RANLIB=$${RANLIB}" \
27032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27038 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
27039 maybe-TAGS-target-rda:
27041 maybe-TAGS-target-rda: TAGS-target-rda
27044 configure-target-rda
27045 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27046 r=`${PWD_COMMAND}`; export r; \
27047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27049 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
27050 for flag in $(EXTRA_TARGET_FLAGS); do \
27051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27053 (cd $(TARGET_SUBDIR)/rda && \
27054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27056 "RANLIB=$${RANLIB}" \
27057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27063 .PHONY: maybe-install-info-target-rda install-info-target-rda
27064 maybe-install-info-target-rda:
27066 maybe-install-info-target-rda: install-info-target-rda
27068 install-info-target-rda: \
27069 configure-target-rda \
27071 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27072 r=`${PWD_COMMAND}`; export r; \
27073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27075 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
27076 for flag in $(EXTRA_TARGET_FLAGS); do \
27077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27079 (cd $(TARGET_SUBDIR)/rda && \
27080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27082 "RANLIB=$${RANLIB}" \
27083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27089 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
27090 maybe-installcheck-target-rda:
27092 maybe-installcheck-target-rda: installcheck-target-rda
27094 installcheck-target-rda: \
27095 configure-target-rda
27096 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27097 r=`${PWD_COMMAND}`; export r; \
27098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27100 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
27101 for flag in $(EXTRA_TARGET_FLAGS); do \
27102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27104 (cd $(TARGET_SUBDIR)/rda && \
27105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27107 "RANLIB=$${RANLIB}" \
27108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27114 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
27115 maybe-mostlyclean-target-rda:
27117 maybe-mostlyclean-target-rda: mostlyclean-target-rda
27119 mostlyclean-target-rda:
27120 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27121 r=`${PWD_COMMAND}`; export r; \
27122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27124 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
27125 for flag in $(EXTRA_TARGET_FLAGS); do \
27126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27128 (cd $(TARGET_SUBDIR)/rda && \
27129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27131 "RANLIB=$${RANLIB}" \
27132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27138 .PHONY: maybe-clean-target-rda clean-target-rda
27139 maybe-clean-target-rda:
27141 maybe-clean-target-rda: clean-target-rda
27144 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27145 r=`${PWD_COMMAND}`; export r; \
27146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27148 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
27149 for flag in $(EXTRA_TARGET_FLAGS); do \
27150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27152 (cd $(TARGET_SUBDIR)/rda && \
27153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27155 "RANLIB=$${RANLIB}" \
27156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27162 .PHONY: maybe-distclean-target-rda distclean-target-rda
27163 maybe-distclean-target-rda:
27165 maybe-distclean-target-rda: distclean-target-rda
27167 distclean-target-rda:
27168 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27169 r=`${PWD_COMMAND}`; export r; \
27170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27172 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
27173 for flag in $(EXTRA_TARGET_FLAGS); do \
27174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27176 (cd $(TARGET_SUBDIR)/rda && \
27177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27179 "RANLIB=$${RANLIB}" \
27180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27186 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
27187 maybe-maintainer-clean-target-rda:
27189 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
27191 maintainer-clean-target-rda:
27192 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27193 r=`${PWD_COMMAND}`; export r; \
27194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27196 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
27197 for flag in $(EXTRA_TARGET_FLAGS); do \
27198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27200 (cd $(TARGET_SUBDIR)/rda && \
27201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27203 "RANLIB=$${RANLIB}" \
27204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27205 maintainer-clean) \
27211 .PHONY: configure-target-libada maybe-configure-target-libada
27212 maybe-configure-target-libada:
27214 maybe-configure-target-libada: configure-target-libada
27216 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27217 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
27218 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27219 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
27220 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
27222 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
27223 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
27224 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27225 r=`${PWD_COMMAND}`; export r; \
27226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27228 AR="$(AR_FOR_TARGET)"; export AR; \
27229 AS="$(AS_FOR_TARGET)"; export AS; \
27230 CC="$(CC_FOR_TARGET)"; export CC; \
27231 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
27232 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
27233 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
27234 CXX="$(CXX_FOR_TARGET)"; export CXX; \
27235 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
27236 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
27237 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
27238 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
27239 LD="$(LD_FOR_TARGET)"; export LD; \
27240 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
27241 NM="$(NM_FOR_TARGET)"; export NM; \
27242 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
27243 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
27244 echo Configuring in $(TARGET_SUBDIR)/libada; \
27245 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
27246 case $(srcdir) in \
27247 /* | [A-Za-z]:[\\/]*) \
27248 topdir=$(srcdir) ;; \
27250 case "$(TARGET_SUBDIR)" in \
27251 .) topdir="../$(srcdir)" ;; \
27252 *) topdir="../../$(srcdir)" ;; \
27255 srcdiroption="--srcdir=$${topdir}/libada"; \
27256 libsrcdir="$$s/libada"; \
27257 rm -f no-such-file || : ; \
27258 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27259 $(TARGET_CONFIGARGS) $${srcdiroption} \
27260 --with-target-subdir="$(TARGET_SUBDIR)" \
27262 @endif target-libada
27264 .PHONY: all-target-libada maybe-all-target-libada
27265 maybe-all-target-libada:
27267 maybe-all-target-libada: all-target-libada
27268 all-target-libada: configure-target-libada
27269 @r=`${PWD_COMMAND}`; export r; \
27270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27272 (cd $(TARGET_SUBDIR)/libada && \
27273 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
27274 @endif target-libada
27276 .PHONY: check-target-libada maybe-check-target-libada
27277 maybe-check-target-libada:
27279 maybe-check-target-libada: check-target-libada
27281 check-target-libada:
27282 @r=`${PWD_COMMAND}`; export r; \
27283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27285 (cd $(TARGET_SUBDIR)/libada && \
27286 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27288 @endif target-libada
27290 .PHONY: install-target-libada maybe-install-target-libada
27291 maybe-install-target-libada:
27293 maybe-install-target-libada: install-target-libada
27295 install-target-libada: installdirs
27296 @r=`${PWD_COMMAND}`; export r; \
27297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27299 (cd $(TARGET_SUBDIR)/libada && \
27300 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27302 @endif target-libada
27304 # Other targets (info, dvi, etc.)
27306 .PHONY: maybe-info-target-libada info-target-libada
27307 maybe-info-target-libada:
27309 maybe-info-target-libada: info-target-libada
27311 info-target-libada: \
27312 configure-target-libada
27313 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27314 r=`${PWD_COMMAND}`; export r; \
27315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27317 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
27318 for flag in $(EXTRA_TARGET_FLAGS); do \
27319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27321 (cd $(TARGET_SUBDIR)/libada && \
27322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27324 "RANLIB=$${RANLIB}" \
27325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27329 @endif target-libada
27331 .PHONY: maybe-dvi-target-libada dvi-target-libada
27332 maybe-dvi-target-libada:
27334 maybe-dvi-target-libada: dvi-target-libada
27336 dvi-target-libada: \
27337 configure-target-libada
27338 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27339 r=`${PWD_COMMAND}`; export r; \
27340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27342 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
27343 for flag in $(EXTRA_TARGET_FLAGS); do \
27344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27346 (cd $(TARGET_SUBDIR)/libada && \
27347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27349 "RANLIB=$${RANLIB}" \
27350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27354 @endif target-libada
27356 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
27357 maybe-TAGS-target-libada:
27359 maybe-TAGS-target-libada: TAGS-target-libada
27361 TAGS-target-libada: \
27362 configure-target-libada
27363 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27364 r=`${PWD_COMMAND}`; export r; \
27365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27367 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
27368 for flag in $(EXTRA_TARGET_FLAGS); do \
27369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27371 (cd $(TARGET_SUBDIR)/libada && \
27372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27374 "RANLIB=$${RANLIB}" \
27375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27379 @endif target-libada
27381 .PHONY: maybe-install-info-target-libada install-info-target-libada
27382 maybe-install-info-target-libada:
27384 maybe-install-info-target-libada: install-info-target-libada
27386 install-info-target-libada: \
27387 configure-target-libada \
27389 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27390 r=`${PWD_COMMAND}`; export r; \
27391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27393 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
27394 for flag in $(EXTRA_TARGET_FLAGS); do \
27395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27397 (cd $(TARGET_SUBDIR)/libada && \
27398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27400 "RANLIB=$${RANLIB}" \
27401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27405 @endif target-libada
27407 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
27408 maybe-installcheck-target-libada:
27410 maybe-installcheck-target-libada: installcheck-target-libada
27412 installcheck-target-libada: \
27413 configure-target-libada
27414 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27415 r=`${PWD_COMMAND}`; export r; \
27416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27418 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
27419 for flag in $(EXTRA_TARGET_FLAGS); do \
27420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27422 (cd $(TARGET_SUBDIR)/libada && \
27423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27425 "RANLIB=$${RANLIB}" \
27426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27430 @endif target-libada
27432 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
27433 maybe-mostlyclean-target-libada:
27435 maybe-mostlyclean-target-libada: mostlyclean-target-libada
27437 mostlyclean-target-libada:
27438 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27439 r=`${PWD_COMMAND}`; export r; \
27440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27442 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
27443 for flag in $(EXTRA_TARGET_FLAGS); do \
27444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27446 (cd $(TARGET_SUBDIR)/libada && \
27447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27449 "RANLIB=$${RANLIB}" \
27450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27454 @endif target-libada
27456 .PHONY: maybe-clean-target-libada clean-target-libada
27457 maybe-clean-target-libada:
27459 maybe-clean-target-libada: clean-target-libada
27461 clean-target-libada:
27462 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27463 r=`${PWD_COMMAND}`; export r; \
27464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27466 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
27467 for flag in $(EXTRA_TARGET_FLAGS); do \
27468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27470 (cd $(TARGET_SUBDIR)/libada && \
27471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27473 "RANLIB=$${RANLIB}" \
27474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27478 @endif target-libada
27480 .PHONY: maybe-distclean-target-libada distclean-target-libada
27481 maybe-distclean-target-libada:
27483 maybe-distclean-target-libada: distclean-target-libada
27485 distclean-target-libada:
27486 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27487 r=`${PWD_COMMAND}`; export r; \
27488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27490 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
27491 for flag in $(EXTRA_TARGET_FLAGS); do \
27492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27494 (cd $(TARGET_SUBDIR)/libada && \
27495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27497 "RANLIB=$${RANLIB}" \
27498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27502 @endif target-libada
27504 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
27505 maybe-maintainer-clean-target-libada:
27507 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
27509 maintainer-clean-target-libada:
27510 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27511 r=`${PWD_COMMAND}`; export r; \
27512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27514 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
27515 for flag in $(EXTRA_TARGET_FLAGS); do \
27516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27518 (cd $(TARGET_SUBDIR)/libada && \
27519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27521 "RANLIB=$${RANLIB}" \
27522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27523 maintainer-clean) \
27526 @endif target-libada
27534 # Unfortunately, while gcc _should_ be a host module,
27535 # libgcc is a target module, and gen* programs are
27536 # build modules. So GCC is a sort of hybrid.
27538 # gcc is the only module which uses GCC_FLAGS_TO_PASS.
27539 # Don't use shared host config.cache, as it will confuse later
27540 # directories; GCC wants slightly different values for some
27541 # precious variables. *sigh*
27543 # We must skip configuring if toplevel bootstrap is going.
27544 .PHONY: configure-gcc maybe-configure-gcc
27545 maybe-configure-gcc:
27547 maybe-configure-gcc: configure-gcc
27549 @test ! -f gcc/Makefile || exit 0; \
27550 [ -f stage_last ] && exit 0; \
27551 [ -d gcc ] || mkdir gcc; \
27552 r=`${PWD_COMMAND}`; export r; \
27553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27554 CC="$(CC)"; export CC; \
27555 CFLAGS="$(CFLAGS)"; export CFLAGS; \
27556 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
27557 CXX="$(CXX)"; export CXX; \
27558 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
27559 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
27560 AR="$(AR)"; export AR; \
27561 AS="$(AS)"; export AS; \
27562 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
27563 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
27564 LD="$(LD)"; export LD; \
27565 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
27566 NM="$(NM)"; export NM; \
27567 RANLIB="$(RANLIB)"; export RANLIB; \
27568 WINDRES="$(WINDRES)"; export WINDRES; \
27569 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
27570 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
27571 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
27572 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
27573 echo Configuring in gcc; \
27574 cd gcc || exit 1; \
27575 case $(srcdir) in \
27577 srcdiroption="--srcdir=."; \
27579 /* | [A-Za-z]:[\\/]*) \
27580 srcdiroption="--srcdir=$(srcdir)/gcc"; \
27581 libsrcdir="$$s/gcc";; \
27583 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
27584 libsrcdir="$$s/gcc";; \
27586 $(SHELL) $${libsrcdir}/configure \
27587 $(HOST_CONFIGARGS) $${srcdiroption} \
27591 # Don't 'make all' in gcc if it's already been made by 'bootstrap'; that
27592 # causes trouble. This wart will be fixed eventually by moving
27593 # the bootstrap behavior to this file.
27594 .PHONY: all-gcc maybe-all-gcc
27597 maybe-all-gcc: all-gcc
27598 all-gcc: configure-gcc
27599 r=`${PWD_COMMAND}`; export r; \
27600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27601 if [ -f stage_last ] ; then \
27603 elif [ -f gcc/stage_last ] ; then \
27605 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) quickstrap); \
27608 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) all); \
27612 # Building GCC uses some tools for rebuilding "source" files
27613 # like texinfo, bison/byacc, etc. So we must depend on those.
27615 # While building GCC, it may be necessary to run various target
27616 # programs like the assembler, linker, etc. So we depend on
27619 # In theory, on an SMP all those dependencies can be resolved
27622 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
27623 .PHONY: $(GCC_STRAP_TARGETS)
27624 $(GCC_STRAP_TARGETS): all-bootstrap configure-gcc
27625 @r=`${PWD_COMMAND}`; export r; \
27626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27628 echo "Bootstrapping the compiler"; \
27629 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
27630 @r=`${PWD_COMMAND}`; export r; \
27631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27633 *bootstrap4-lean ) \
27634 msg="Comparing stage3 and stage4 of the compiler"; \
27635 compare=compare3-lean ;; \
27637 msg="Comparing stage3 and stage4 of the compiler"; \
27638 compare=compare3 ;; \
27640 msg="Comparing stage2 and stage3 of the compiler"; \
27641 compare=compare-lean ;; \
27643 msg="Comparing stage2 and stage3 of the compiler"; \
27644 compare=compare ;; \
27648 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
27649 @r=`${PWD_COMMAND}`; export r; \
27650 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27652 echo "Building runtime libraries"; \
27653 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
27655 profiledbootstrap: all-bootstrap configure-gcc
27656 @r=`${PWD_COMMAND}`; export r; \
27657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27659 echo "Bootstrapping the compiler"; \
27660 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
27661 @r=`${PWD_COMMAND}`; export r; \
27662 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27664 echo "Building runtime libraries and training compiler"; \
27665 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
27666 @r=`${PWD_COMMAND}`; export r; \
27667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27669 echo "Building feedback based compiler"; \
27670 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
27673 cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
27674 @r=`${PWD_COMMAND}`; export r; \
27675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27677 echo "Building the C and C++ compiler"; \
27678 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
27679 @r=`${PWD_COMMAND}`; export r; \
27680 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27682 echo "Building runtime libraries"; \
27683 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) \
27684 LANGUAGES="c c++" all
27686 .PHONY: check-gcc maybe-check-gcc
27689 maybe-check-gcc: check-gcc
27691 @if [ -f ./gcc/Makefile ] ; then \
27692 r=`${PWD_COMMAND}`; export r; \
27693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27695 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check); \
27700 .PHONY: check-gcc-c++
27702 @if [ -f ./gcc/Makefile ] ; then \
27703 r=`${PWD_COMMAND}`; export r; \
27704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27706 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
27712 check-c++: check-target-libstdc++-v3 check-gcc-c++
27715 .PHONY: install-gcc maybe-install-gcc
27718 maybe-install-gcc: install-gcc
27720 @if [ -f ./gcc/Makefile ] ; then \
27721 r=`${PWD_COMMAND}`; export r; \
27722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27724 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
27730 # Install the gcc headers files, but not the fixed include files,
27731 # which Cygnus is not allowed to distribute. This rule is very
27732 # dependent on the workings of the gcc Makefile.in.
27733 .PHONY: gcc-no-fixedincludes
27734 gcc-no-fixedincludes:
27735 @if [ -f ./gcc/Makefile ]; then \
27736 rm -rf gcc/tmp-include; \
27737 mv gcc/include gcc/tmp-include 2>/dev/null; \
27738 mkdir gcc/include; \
27739 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
27740 touch gcc/stmp-fixinc gcc/include/fixed; \
27741 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
27742 r=`${PWD_COMMAND}`; export r; \
27743 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27746 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
27747 rm -rf gcc/include; \
27748 mv gcc/tmp-include gcc/include 2>/dev/null; \
27751 # Other targets (dvi, info, etc.)
27753 .PHONY: maybe-info-gcc info-gcc
27756 maybe-info-gcc: info-gcc
27759 @[ -f ./gcc/Makefile ] || exit 0; \
27760 r=`${PWD_COMMAND}`; export r; \
27761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27763 for flag in $(EXTRA_GCC_FLAGS); do \
27764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27766 echo "Doing info in gcc" ; \
27768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27770 "RANLIB=$${RANLIB}" \
27771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27777 .PHONY: maybe-dvi-gcc dvi-gcc
27780 maybe-dvi-gcc: dvi-gcc
27783 @[ -f ./gcc/Makefile ] || exit 0; \
27784 r=`${PWD_COMMAND}`; export r; \
27785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27787 for flag in $(EXTRA_GCC_FLAGS); do \
27788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27790 echo "Doing dvi in gcc" ; \
27792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27794 "RANLIB=$${RANLIB}" \
27795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27801 .PHONY: maybe-TAGS-gcc TAGS-gcc
27804 maybe-TAGS-gcc: TAGS-gcc
27807 @[ -f ./gcc/Makefile ] || exit 0; \
27808 r=`${PWD_COMMAND}`; export r; \
27809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27811 for flag in $(EXTRA_GCC_FLAGS); do \
27812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27814 echo "Doing TAGS in gcc" ; \
27816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27818 "RANLIB=$${RANLIB}" \
27819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27825 .PHONY: maybe-install-info-gcc install-info-gcc
27826 maybe-install-info-gcc:
27828 maybe-install-info-gcc: install-info-gcc
27829 install-info-gcc: \
27832 @[ -f ./gcc/Makefile ] || exit 0; \
27833 r=`${PWD_COMMAND}`; export r; \
27834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27836 for flag in $(EXTRA_GCC_FLAGS); do \
27837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27839 echo "Doing install-info in gcc" ; \
27841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27843 "RANLIB=$${RANLIB}" \
27844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27850 .PHONY: maybe-installcheck-gcc installcheck-gcc
27851 maybe-installcheck-gcc:
27853 maybe-installcheck-gcc: installcheck-gcc
27854 installcheck-gcc: \
27856 @[ -f ./gcc/Makefile ] || exit 0; \
27857 r=`${PWD_COMMAND}`; export r; \
27858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27860 for flag in $(EXTRA_GCC_FLAGS); do \
27861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27863 echo "Doing installcheck in gcc" ; \
27865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27867 "RANLIB=$${RANLIB}" \
27868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27874 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
27875 maybe-mostlyclean-gcc:
27877 maybe-mostlyclean-gcc: mostlyclean-gcc
27879 @[ -f ./gcc/Makefile ] || exit 0; \
27880 r=`${PWD_COMMAND}`; export r; \
27881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27883 for flag in $(EXTRA_GCC_FLAGS); do \
27884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27886 echo "Doing mostlyclean in gcc" ; \
27888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27890 "RANLIB=$${RANLIB}" \
27891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27897 .PHONY: maybe-clean-gcc clean-gcc
27900 maybe-clean-gcc: clean-gcc
27902 @[ -f ./gcc/Makefile ] || exit 0; \
27903 r=`${PWD_COMMAND}`; export r; \
27904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27906 for flag in $(EXTRA_GCC_FLAGS); do \
27907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27909 echo "Doing clean in gcc" ; \
27911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27913 "RANLIB=$${RANLIB}" \
27914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27920 .PHONY: maybe-distclean-gcc distclean-gcc
27921 maybe-distclean-gcc:
27923 maybe-distclean-gcc: distclean-gcc
27925 @[ -f ./gcc/Makefile ] || exit 0; \
27926 r=`${PWD_COMMAND}`; export r; \
27927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27929 for flag in $(EXTRA_GCC_FLAGS); do \
27930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27932 echo "Doing distclean in gcc" ; \
27934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27936 "RANLIB=$${RANLIB}" \
27937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27943 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
27944 maybe-maintainer-clean-gcc:
27946 maybe-maintainer-clean-gcc: maintainer-clean-gcc
27947 maintainer-clean-gcc:
27948 @[ -f ./gcc/Makefile ] || exit 0; \
27949 r=`${PWD_COMMAND}`; export r; \
27950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27952 for flag in $(EXTRA_GCC_FLAGS); do \
27953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27955 echo "Doing maintainer-clean in gcc" ; \
27957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27959 "RANLIB=$${RANLIB}" \
27960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27961 maintainer-clean) \
27967 # ---------------------
27968 # GCC bootstrap support
27969 # ---------------------
27971 # We name the directories for the various stages "stage1-gcc",
27972 # "stage2-gcc","stage3-gcc", etc.
27973 # Unfortunately, the 'compare' process will fail (on debugging information)
27974 # if any directory names are different!
27975 # So in the building rule for each stage, we relocate them before and after.
27976 # The current one is 'gcc', while the previous one is 'prev-gcc'. (The
27977 # current one must be 'gcc' for now because the scripts in that directory
27979 # At the end of the bootstrap, 'stage3-gcc' must be moved to 'gcc' so that
27980 # libraries can find it. Ick!
27982 # Bugs: This is almost certainly not parallel-make safe.
27984 # 'touch' doesn't work right on some platforms.
27985 STAMP = echo timestamp >
27987 # Only build the C compiler for stage1, because that is the only one that
27988 # we can guarantee will build with the native compiler, and also it is the
27989 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
27990 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
27991 # overrideable (for a bootstrap build stage1 also builds gcc.info).
27993 STAGE1_CFLAGS=@stage1_cflags@
27994 STAGE1_LANGUAGES=@stage1_languages@
27997 # * We force-disable intermodule optimizations, even if
27998 # --enable-intermodule was passed, since the installed compiler probably
27999 # can't handle them. Luckily, autoconf always respects
28000 # the last argument when conflicting --enable arguments are passed.
28001 # * Likewise, we force-disable coverage flags, since the installed compiler
28002 # probably has never heard of them.
28003 # * We build only C (and possibly Ada).
28004 configure-stage1-gcc:
28005 echo configure-stage1-gcc > stage_last ; \
28006 if [ -f stage1-gcc/Makefile ] ; then \
28007 $(STAMP) configure-stage1-gcc ; \
28012 [ -d stage1-gcc ] || mkdir stage1-gcc; \
28013 mv stage1-gcc gcc ; \
28014 r=`${PWD_COMMAND}`; export r; \
28015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28016 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
28017 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
28018 CC="$(CC)"; export CC; \
28019 CFLAGS="$(CFLAGS)"; export CFLAGS; \
28020 CXX="$(CXX)"; export CXX; \
28021 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
28022 AR="$(AR)"; export AR; \
28023 AS="$(AS)"; export AS; \
28024 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
28025 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
28026 LD="$(LD)"; export LD; \
28027 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
28028 NM="$(NM)"; export NM; \
28029 RANLIB="$(RANLIB)"; export RANLIB; \
28030 WINDRES="$(WINDRES)"; export WINDRES; \
28031 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
28032 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
28033 echo Configuring stage 1 in gcc; \
28034 cd gcc || exit 1; \
28035 case $(srcdir) in \
28037 srcdiroption="--srcdir=."; \
28039 /* | [A-Za-z]:[\\/]*) \
28040 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28041 libsrcdir="$$s/gcc";; \
28043 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28044 libsrcdir="$$s/gcc";; \
28046 $(SHELL) $${libsrcdir}/configure \
28047 $(HOST_CONFIGARGS) $${srcdiroption} \
28048 --disable-intermodule --disable-coverage \
28049 --enable-languages="$(STAGE1_LANGUAGES)"; \
28051 mv gcc stage1-gcc ; \
28052 $(STAMP) configure-stage1-gcc
28054 # Real targets act phony if they depend on phony targets; this hack
28055 # prevents gratuitous rebuilding of stage 1.
28057 $(MAKE) all-bootstrap
28058 $(STAMP) prebootstrap
28060 all-stage1-gcc: configure-stage1-gcc prebootstrap
28061 echo all-stage1-gcc > stage_last ; \
28062 r=`${PWD_COMMAND}`; export r; \
28063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28064 mv stage1-gcc gcc ; \
28066 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28067 CFLAGS="$(STAGE1_CFLAGS)" && $(STAMP) ../all-stage1-gcc ; \
28070 mv gcc stage1-gcc ; \
28073 # TODO: Deal with STAGE_PREFIX (which is only for ada, incidentally)
28074 # Possibly pass --enable-werror-always (depending on --enable-werror);
28075 # that's what @stage2_werror_flag@ is for
28076 configure-stage2-gcc: all-stage1-gcc
28077 echo configure-stage2-gcc > stage_last ; \
28078 if [ -f stage2-gcc/Makefile ] ; then \
28079 $(STAMP) configure-stage2-gcc ; \
28084 [ -d stage2-gcc ] || mkdir stage2-gcc; \
28085 mv stage2-gcc gcc ; \
28086 mv stage1-gcc prev-gcc ; \
28087 r=`${PWD_COMMAND}`; export r; \
28088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28089 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
28090 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
28091 CFLAGS="$(CFLAGS)"; export CFLAGS; \
28092 CXX="$(CXX)"; export CXX; \
28093 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
28094 AR="$(AR)"; export AR; \
28095 AS="$(AS)"; export AS; \
28096 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
28097 LD="$(LD)"; export LD; \
28098 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
28099 NM="$(NM)"; export NM; \
28100 RANLIB="$(RANLIB)"; export RANLIB; \
28101 WINDRES="$(WINDRES)"; export WINDRES; \
28102 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
28103 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
28104 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
28105 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \
28106 echo Configuring stage 2 in gcc; \
28107 cd gcc || exit 1; \
28108 case $(srcdir) in \
28110 srcdiroption="--srcdir=."; \
28112 /* | [A-Za-z]:[\\/]*) \
28113 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28114 libsrcdir="$$s/gcc";; \
28116 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28117 libsrcdir="$$s/gcc";; \
28119 $(SHELL) $${libsrcdir}/configure \
28120 $(HOST_CONFIGARGS) $${srcdiroption} @stage2_werror_flag@ ; \
28122 mv gcc stage2-gcc ; \
28123 mv prev-gcc stage1-gcc ; \
28124 $(STAMP) configure-stage2-gcc
28126 # Flags to pass to stage2 and later makes.
28127 BOOT_CFLAGS= -g -O2
28128 POSTSTAGE1_FLAGS_TO_PASS = \
28129 CFLAGS="$(BOOT_CFLAGS)" \
28132 all-stage2-gcc: all-stage1-gcc configure-stage2-gcc
28133 echo all-stage2-gcc > stage_last ; \
28134 r=`${PWD_COMMAND}`; export r; \
28135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28136 mv stage2-gcc gcc ; \
28137 mv stage1-gcc prev-gcc ; \
28139 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28140 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/" \
28141 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/" \
28142 STAGE_PREFIX=$$r/prev-gcc/ \
28143 $(POSTSTAGE1_FLAGS_TO_PASS) && $(STAMP) ../all-stage2-gcc ; \
28146 mv prev-gcc stage1-gcc ; \
28147 mv gcc stage2-gcc ; \
28150 configure-stage3-gcc: all-stage2-gcc
28151 echo configure-stage3-gcc > stage_last ; \
28152 if [ -f stage3-gcc/Makefile ] ; then \
28153 $(STAMP) configure-stage3-gcc ; \
28158 [ -d stage3-gcc ] || mkdir stage3-gcc; \
28159 mv stage3-gcc gcc ; \
28160 mv stage2-gcc prev-gcc ; \
28161 r=`${PWD_COMMAND}`; export r; \
28162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28163 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
28164 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
28165 CFLAGS="$(CFLAGS)"; export CFLAGS; \
28166 CXX="$(CXX)"; export CXX; \
28167 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
28168 AR="$(AR)"; export AR; \
28169 AS="$(AS)"; export AS; \
28170 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
28171 LD="$(LD)"; export LD; \
28172 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
28173 NM="$(NM)"; export NM; \
28174 RANLIB="$(RANLIB)"; export RANLIB; \
28175 WINDRES="$(WINDRES)"; export WINDRES; \
28176 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
28177 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
28178 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
28179 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \
28180 echo Configuring stage 3 in gcc; \
28181 cd gcc || exit 1; \
28182 case $(srcdir) in \
28184 srcdiroption="--srcdir=."; \
28186 /* | [A-Za-z]:[\\/]*) \
28187 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28188 libsrcdir="$$s/gcc";; \
28190 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28191 libsrcdir="$$s/gcc";; \
28193 $(SHELL) $${libsrcdir}/configure \
28194 $(HOST_CONFIGARGS) $${srcdiroption} @stage2_werror_flag@ ; \
28196 mv gcc stage3-gcc ; \
28197 mv prev-gcc stage2-gcc ; \
28198 $(STAMP) configure-stage3-gcc
28200 all-stage3-gcc: all-stage2-gcc configure-stage3-gcc
28201 echo all-stage3-gcc > stage_last ; \
28202 r=`${PWD_COMMAND}`; export r; \
28203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28204 mv stage2-gcc prev-gcc ; \
28205 mv stage3-gcc gcc ; \
28207 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28208 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/" \
28209 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/" \
28210 STAGE_PREFIX=$$r/prev-gcc/ \
28211 $(POSTSTAGE1_FLAGS_TO_PASS) && $(STAMP) ../all-stage3-gcc \
28214 mv prev-gcc stage2-gcc ; \
28215 mv gcc stage3-gcc ; \
28218 # We only want to compare .o files, so set this!
28221 compare: all-stage3-gcc
28222 r=`${PWD_COMMAND}`; export r; \
28223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28224 rm -f .bad_compare ; \
28226 files=`find . -name "*$(objext)" -print` ; \
28228 for file in $${files} ; do \
28229 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
28230 @do_compare@ > /dev/null 2>&1; \
28231 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
28233 if [ -f .bad_compare ]; then \
28234 echo "Bootstrap comparison failure!"; \
28235 cat .bad_compare; \
28242 .PHONY: new-bootstrap
28243 # This target exists so that everything can be made in one pass.
28244 # 'all-gcc' has to avoid stomping on the bootstrap-generated gcc for
28246 new-bootstrap: compare
28247 mv stage3-gcc gcc ; \
28252 rm -rf configure-stage1-gcc all-stage1-gcc stage1-gcc \
28253 configure-stage2-gcc all-stage2-gcc stage2-gcc \
28254 configure-stage3-gcc all-stage3-gcc stage3-gcc \
28256 $(MAKE) new-bootstrap
28259 rm -rf all-stage1-gcc \
28260 configure-stage2-gcc all-stage2-gcc stage2-gcc \
28261 configure-stage3-gcc all-stage3-gcc stage3-gcc \
28263 $(MAKE) all-stage1-gcc
28265 new-restage2: all-stage1-gcc
28266 rm -rf all-stage2-gcc \
28267 configure-stage3-gcc all-stage3-gcc stage3-gcc \
28269 $(MAKE) all-stage2-gcc
28271 new-restage3: all-stage2-gcc
28272 rm -rf all-stage3-gcc compare
28275 # --------------------------------------
28276 # Dependencies between different modules
28277 # --------------------------------------
28279 # There are two types of dependencies here: 'hard' dependencies, where one
28280 # module simply won't build without the other; and 'soft' dependencies, where
28281 # if the depended-on module is missing, the depending module will do without
28282 # or find a substitute somewhere (perhaps installed). Soft dependencies
28283 # are specified by depending on a 'maybe-' target. If you're not sure,
28284 # it's safer to use a soft dependency.
28286 # Host modules specific to gcc.
28287 # GCC needs to identify certain tools.
28288 # GCC also needs the information exported by the intl configure script.
28289 configure-gcc: maybe-configure-intl maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex
28290 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
28291 # This is a slightly kludgy method of getting dependencies on
28292 # all-build-libiberty correct; it would be better to build it every time.
28293 all-gcc: maybe-all-build-libiberty maybe-all-libbanshee
28294 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
28296 # Host modules specific to gdb.
28297 # GDB needs to know that the simulator is being built.
28298 configure-gdb: maybe-configure-itcl maybe-configure-tcl maybe-configure-tk maybe-configure-sim
28300 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)
28301 install-gdb: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui
28302 configure-libgui: maybe-configure-tcl maybe-configure-tk
28303 all-libgui: maybe-all-tcl maybe-all-tk maybe-all-itcl
28305 # Host modules specific to binutils.
28306 configure-bfd: configure-libiberty
28307 all-bfd: maybe-all-libiberty maybe-all-intl
28308 all-binutils: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex maybe-all-bison maybe-all-byacc maybe-all-intl
28309 # We put install-opcodes before install-binutils because the installed
28310 # binutils might be on PATH, and they might need the shared opcodes
28312 install-binutils: maybe-install-opcodes
28313 # libopcodes depends on libbfd
28314 install-opcodes: maybe-install-bfd
28315 all-gas: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl
28316 all-gprof: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl
28317 all-ld: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl
28318 all-opcodes: maybe-all-bfd maybe-all-libiberty
28320 # Other host modules in the 'src' repository.
28321 all-dejagnu: maybe-all-tcl maybe-all-expect maybe-all-tk
28322 configure-expect: maybe-configure-tcl maybe-configure-tk
28323 all-expect: maybe-all-tcl maybe-all-tk
28324 configure-itcl: maybe-configure-tcl maybe-configure-tk
28325 all-itcl: maybe-all-tcl maybe-all-tk
28326 # We put install-tcl before install-itcl because itcl wants to run a
28327 # program on installation which uses the Tcl libraries.
28328 install-itcl: maybe-install-tcl
28329 all-sid: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-tcl maybe-all-tk
28330 install-sid: maybe-install-tcl maybe-install-tk
28331 all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb
28332 configure-tk: maybe-configure-tcl
28333 all-tk: maybe-all-tcl
28334 configure-tix: maybe-configure-tcl maybe-configure-tk
28335 all-tix: maybe-all-tcl maybe-all-tk
28336 all-texinfo: maybe-all-libiberty
28338 # Other host modules. Warning, these are not well tested.
28339 all-autoconf: maybe-all-m4 maybe-all-texinfo
28340 all-automake: maybe-all-m4 maybe-all-texinfo
28341 all-bison: maybe-all-texinfo
28342 all-diff: maybe-all-libiberty
28343 all-fastjar: maybe-all-zlib maybe-all-libiberty
28344 all-fileutils: maybe-all-libiberty
28345 all-flex: maybe-all-libiberty maybe-all-bison maybe-all-byacc
28346 all-gzip: maybe-all-libiberty
28347 all-hello: maybe-all-libiberty
28348 all-m4: maybe-all-libiberty maybe-all-texinfo
28349 all-make: maybe-all-libiberty maybe-all-intl
28350 all-patch: maybe-all-libiberty
28351 all-prms: maybe-all-libiberty
28352 all-recode: maybe-all-libiberty
28353 all-sed: maybe-all-libiberty
28354 all-send-pr: maybe-all-prms
28355 all-tar: maybe-all-libiberty
28356 all-uudecode: maybe-all-libiberty
28358 ALL_GCC = maybe-all-gcc
28359 ALL_GCC_C = $(ALL_GCC) maybe-all-target-newlib maybe-all-target-libgloss
28360 ALL_GCC_CXX = $(ALL_GCC_C) maybe-all-target-libstdc++-v3
28362 # Target modules specific to gcc.
28363 configure-target-boehm-gc: $(ALL_GCC_C) maybe-configure-target-qthreads
28364 configure-target-fastjar: maybe-configure-target-zlib
28365 all-target-fastjar: maybe-all-target-zlib maybe-all-target-libiberty
28366 configure-target-libada: $(ALL_GCC_C)
28367 configure-target-libgfortran: $(ALL_GCC_C)
28368 configure-target-libffi: $(ALL_GCC_C)
28369 configure-target-libjava: $(ALL_GCC_C) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi
28370 all-target-libjava: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi
28371 configure-target-libobjc: $(ALL_GCC_C)
28372 all-target-libobjc: maybe-all-target-libiberty
28373 configure-target-libstdc++-v3: $(ALL_GCC_C)
28374 all-target-libstdc++-v3: maybe-all-target-libiberty
28375 configure-target-zlib: $(ALL_GCC_C)
28377 # Target modules in the 'src' repository.
28378 configure-target-examples: $(ALL_GCC_C)
28379 configure-target-libgloss: $(ALL_GCC)
28380 all-target-libgloss: maybe-configure-target-newlib
28381 configure-target-libiberty: $(ALL_GCC)
28382 configure-target-libtermcap: $(ALL_GCC_C)
28383 configure-target-newlib: $(ALL_GCC)
28384 configure-target-rda: $(ALL_GCC_C)
28385 configure-target-winsup: $(ALL_GCC_C)
28386 all-target-winsup: maybe-all-target-libiberty maybe-all-target-libtermcap
28388 # Other target modules. Warning, these are not well tested.
28389 configure-target-gperf: $(ALL_GCC_CXX)
28390 all-target-gperf: maybe-all-target-libiberty maybe-all-target-libstdc++-v3
28391 configure-target-qthreads: $(ALL_GCC_C)
28393 # Serialization dependencies. Host configures don't work well in parallel to
28394 # each other, due to contention over config.cache. Target configures and
28395 # build configures are similar.
28396 @serialization_dependencies@
28398 # --------------------------------
28399 # Regenerating top level configury
28400 # --------------------------------
28402 # Multilib.out tells target dirs what multilibs they should build.
28403 # There is really only one copy. We use the 'timestamp' method to
28404 # work around various timestamp bugs on some systems.
28405 # We use move-if-change so that it's only considered updated when it
28406 # actually changes, because it has to depend on a phony target.
28407 multilib.out: maybe-all-gcc
28408 @r=`${PWD_COMMAND}`; export r; \
28409 echo "Checking multilib configuration..."; \
28410 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
28411 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
28413 # Rebuilding Makefile.in, using autogen.
28415 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
28416 cd $(srcdir) && $(AUTOGEN) Makefile.def
28418 # Rebuilding Makefile.
28419 Makefile: $(srcdir)/Makefile.in config.status
28420 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
28422 config.status: configure $(gcc_version_trigger)
28423 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
28425 # Rebuilding configure.
28426 AUTOCONF = autoconf
28427 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
28428 cd $(srcdir) && $(AUTOCONF)
28430 # ------------------------------
28431 # Special directives to GNU Make
28432 # ------------------------------
28434 # Don't pass command-line variables to submakes.
28438 # end of Makefile.in