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
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@
127 # ----------------------------------------------
128 # Programs producing files for the BUILD machine
129 # ----------------------------------------------
131 SHELL = @config_shell@
133 # pwd command to use. Allow user to override default by setting PWDCMD in
134 # the environment to account for automounters. The make variable must not
135 # be called PWDCMD, otherwise the value set here is passed to make
136 # subprocesses and overrides the setting from the user's environment.
137 # Don't use PWD since it is a common shell environment variable and we
138 # don't want to corrupt it.
139 PWD_COMMAND = $${PWDCMD-pwd}
141 # compilers to use to create programs which must be run in the build
143 CC_FOR_BUILD = @CC_FOR_BUILD@
144 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
146 CXX_FOR_BUILD = $(CXX)
148 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
149 # here so that they can be overridden by Makefile fragments.
150 BUILD_PREFIX = @BUILD_PREFIX@
151 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
154 USUAL_BISON = `if [ -f $$r/bison/bison ] ; then \
155 echo $$r/bison/bison -L $$s/bison/ ; \
160 DEFAULT_YACC = @DEFAULT_YACC@
162 USUAL_YACC = `if [ -f $$r/bison/bison ] ; then \
163 echo $$r/bison/bison -y -L $$s/bison/ ; \
164 elif [ -f $$r/byacc/byacc ] ; then \
165 echo $$r/byacc/byacc ; \
167 echo ${DEFAULT_YACC} ; \
170 DEFAULT_LEX = @DEFAULT_LEX@
172 USUAL_LEX = `if [ -f $$r/flex/flex ] ; \
173 then echo $$r/flex/flex ; \
174 else echo ${DEFAULT_LEX} ; fi`
176 DEFAULT_M4 = @DEFAULT_M4@
177 M4 = `if [ -f $$r/m4/m4 ] ; \
178 then echo $$r/m4/m4 ; \
179 else echo ${DEFAULT_M4} ; fi`
181 # For an installed makeinfo, we require it to be from texinfo 4.2 or
182 # higher, else we use the "missing" dummy.
184 USUAL_MAKEINFO = `if [ -f $$r/texinfo/makeinfo/makeinfo ] ; \
185 then echo $$r/texinfo/makeinfo/makeinfo ; \
186 else if (makeinfo --version \
187 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
188 then echo makeinfo; else echo $$s/missing makeinfo; fi; fi`
190 # This just becomes part of the MAKEINFO definition passed down to
191 # sub-makes. It lets flags be given on the command line while still
192 # using the makeinfo from the object tree.
193 # (Default to avoid splitting info files by setting the threshold high.)
194 MAKEINFOFLAGS = --split-size=5000000
196 EXPECT = `if [ -f $$r/expect/expect ] ; \
197 then echo $$r/expect/expect ; \
198 else echo expect ; fi`
200 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
201 then echo $$s/dejagnu/runtest ; \
202 else echo runtest ; fi`
204 # ---------------------------------------------
205 # Programs producing files for the HOST machine
206 # ---------------------------------------------
208 # This is the list of directories that may be needed in RPATH_ENVVAR
209 # so that programs built for the host machine work.
210 HOST_LIB_PATH = $$r/bfd:$$r/opcodes
219 LIBCFLAGS = $(CFLAGS)
222 CXXFLAGS = @CXXFLAGS@
223 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
238 # -----------------------------------------------
239 # Programs producing files for the TARGET machine
240 # -----------------------------------------------
242 # This is the list of directories that may be needed in RPATH_ENVVAR
243 # so that prorgams built for the target machine work.
244 TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:
246 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
248 AR_FOR_TARGET=@AR_FOR_TARGET@
249 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
250 USUAL_AR_FOR_TARGET = ` \
251 if [ -f $$r/binutils/ar ] ; then \
252 echo $$r/binutils/ar ; \
254 if [ '$(host)' = '$(target)' ] ; then \
257 echo $(CONFIGURED_AR_FOR_TARGET) ; \
261 AS_FOR_TARGET=@AS_FOR_TARGET@
262 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
263 USUAL_AS_FOR_TARGET = ` \
264 if [ -f $$r/gas/as-new ] ; then \
265 echo $$r/gas/as-new ; \
266 elif [ -f $$r/gcc/xgcc ]; then \
267 $(CC_FOR_TARGET) -print-prog-name=as ; \
269 if [ '$(host)' = '$(target)' ] ; then \
272 echo $(CONFIGURED_AS_FOR_TARGET) ; \
276 CC_FOR_TARGET = @CC_FOR_TARGET@
277 # During gcc bootstrap, if we use some random cc for stage1 then
278 # CFLAGS will be just -g. We want to ensure that TARGET libraries
279 # (which we know are built with gcc) are built with optimizations so
280 # prepend -O2 when setting CFLAGS_FOR_TARGET.
281 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
282 # If GCC_FOR_TARGET is not overriden on the command line, then this
283 # variable is passed down to the gcc Makefile, where it is used to
284 # build libgcc2.a. We define it here so that it can itself be
285 # overridden on the command line.
286 GCC_FOR_TARGET=@GCC_FOR_TARGET@
287 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
288 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
290 CXX_FOR_TARGET = @CXX_FOR_TARGET@
291 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
292 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
293 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
294 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
295 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
297 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
298 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
299 USUAL_DLLTOOL_FOR_TARGET = ` \
300 if [ -f $$r/binutils/dlltool ] ; then \
301 echo $$r/binutils/dlltool ; \
303 if [ '$(host)' = '$(target)' ] ; then \
306 echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
310 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
312 LD_FOR_TARGET=@LD_FOR_TARGET@
313 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
314 USUAL_LD_FOR_TARGET = ` \
315 if [ -f $$r/ld/ld-new ] ; then \
316 echo $$r/ld/ld-new ; \
317 elif [ -f $$r/gcc/xgcc ]; then \
318 $(CC_FOR_TARGET) -print-prog-name=ld ; \
320 if [ '$(host)' = '$(target)' ] ; then \
323 echo $(CONFIGURED_LD_FOR_TARGET) ; \
329 NM_FOR_TARGET=@NM_FOR_TARGET@
330 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
331 USUAL_NM_FOR_TARGET = ` \
332 if [ -f $$r/binutils/nm-new ] ; then \
333 echo $$r/binutils/nm-new ; \
334 elif [ -f $$r/gcc/xgcc ]; then \
335 $(CC_FOR_TARGET) -print-prog-name=nm ; \
337 if [ '$(host)' = '$(target)' ] ; then \
340 echo $(CONFIGURED_NM_FOR_TARGET) ; \
344 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
345 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
346 USUAL_RANLIB_FOR_TARGET = ` \
347 if [ -f $$r/binutils/ranlib ] ; then \
348 echo $$r/binutils/ranlib ; \
350 if [ '$(host)' = '$(target)' ] ; then \
351 if [ x'$(RANLIB)' != x ]; then \
357 echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
361 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
362 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
363 USUAL_WINDRES_FOR_TARGET = ` \
364 if [ -f $$r/binutils/windres ] ; then \
365 echo $$r/binutils/windres ; \
367 if [ '$(host)' = '$(target)' ] ; then \
370 echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
376 # ------------------------------------
377 # Miscellaneous targets and flag lists
378 # ------------------------------------
380 # The first rule in the file had better be this one. Don't put any above it.
381 # This lives here to allow makefile fragments to contain dependencies.
385 #### host and target specific makefile fragments come in here.
386 @target_makefile_frag@
392 # Flags to pass down to all sub-makes.
393 BASE_FLAGS_TO_PASS = \
394 "DESTDIR=$(DESTDIR)" \
395 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
396 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
398 "datadir=$(datadir)" \
399 "exec_prefix=$(exec_prefix)" \
400 "includedir=$(includedir)" \
401 "infodir=$(infodir)" \
403 "libexecdir=$(libexecdir)" \
404 "lispdir=$(lispdir)" \
405 "libstdcxx_incdir=$(libstdcxx_incdir)" \
406 "libsubdir=$(libsubdir)" \
407 "localstatedir=$(localstatedir)" \
409 "oldincludedir=$(oldincludedir)" \
411 "sbindir=$(sbindir)" \
412 "sharedstatedir=$(sharedstatedir)" \
413 "sysconfdir=$(sysconfdir)" \
414 "tooldir=$(tooldir)" \
415 "build_tooldir=$(build_tooldir)" \
416 "gxx_include_dir=$(gxx_include_dir)" \
417 "gcc_version=$(gcc_version)" \
418 "gcc_version_trigger=$(gcc_version_trigger)" \
419 "target_alias=$(target_alias)" \
421 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
422 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
424 "INSTALL=$(INSTALL)" \
425 "INSTALL_DATA=$(INSTALL_DATA)" \
426 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
427 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
431 "RUNTEST=$(RUNTEST)" \
432 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
435 "AR_FLAGS=$(AR_FLAGS)" \
437 "CXXFLAGS=$(CXXFLAGS)" \
438 "LDFLAGS=$(LDFLAGS)" \
439 "LIBCFLAGS=$(LIBCFLAGS)" \
440 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
441 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
442 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
443 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
444 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
445 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
446 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
447 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
448 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
449 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
450 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
451 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
452 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
453 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
454 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
455 "CONFIG_SHELL=$(SHELL)" \
456 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
458 # For any flags above that may contain shell code that varies from one
459 # target library to another. When doing recursive invocations of the
460 # top-level Makefile, we don't want the outer make to evaluate them,
461 # so we pass these variables down unchanged. They must not contain
462 # single nor double quotes.
464 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
465 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
467 # Flags to pass down to most sub-makes, in which we're building with
468 # the host environment.
474 'DLLTOOL=$(DLLTOOL)' \
480 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
482 # Flags that are concerned with the location of the X11 include files
485 # NOTE: until the top-level is getting the values via autoconf, it only
486 # causes problems to have this top-level Makefile overriding the autoconf-set
487 # values in child directories. Only variables that don't conflict with
488 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
490 X11_FLAGS_TO_PASS = \
491 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
492 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
494 # Flags to pass down to makes which are built with the target environment.
495 # The double $ decreases the length of the command line; the variables
496 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
497 EXTRA_TARGET_FLAGS = \
498 'AR=$$(AR_FOR_TARGET)' \
499 'AS=$$(AS_FOR_TARGET)' \
500 'CC=$$(CC_FOR_TARGET)' \
501 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
502 'CXX=$$(CXX_FOR_TARGET)' \
503 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
504 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
505 'LD=$$(LD_FOR_TARGET)' \
506 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
507 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
508 'NM=$$(NM_FOR_TARGET)' \
509 'RANLIB=$$(RANLIB_FOR_TARGET)' \
510 'WINDRES=$$(WINDRES_FOR_TARGET)'
512 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
514 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
515 # unfortunately needs the native compiler and the target ar and
517 # If any variables are added here, they must be added to do-*, below.
518 # The BUILD_* variables are a special case, which are used for the gcc
519 # cross-building scheme.
521 'BUILD_PREFIX=$(BUILD_PREFIX)' \
522 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
523 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
524 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
525 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
526 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
527 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
528 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
529 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
530 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
531 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
532 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
533 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
535 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
537 .PHONY: configure-host
538 configure-host: maybe-configure-gcc \
539 maybe-configure-ash \
540 maybe-configure-autoconf \
541 maybe-configure-automake \
542 maybe-configure-bash \
543 maybe-configure-bfd \
544 maybe-configure-opcodes \
545 maybe-configure-binutils \
546 maybe-configure-bison \
547 maybe-configure-byacc \
548 maybe-configure-bzip2 \
549 maybe-configure-dejagnu \
550 maybe-configure-diff \
551 maybe-configure-dosutils \
552 maybe-configure-etc \
553 maybe-configure-fastjar \
554 maybe-configure-fileutils \
555 maybe-configure-findutils \
556 maybe-configure-find \
557 maybe-configure-flex \
558 maybe-configure-gas \
559 maybe-configure-gawk \
560 maybe-configure-gettext \
561 maybe-configure-gnuserv \
562 maybe-configure-gprof \
563 maybe-configure-gzip \
564 maybe-configure-hello \
565 maybe-configure-indent \
566 maybe-configure-intl \
567 maybe-configure-tcl \
568 maybe-configure-itcl \
570 maybe-configure-libgui \
571 maybe-configure-libiberty \
572 maybe-configure-libtool \
574 maybe-configure-make \
575 maybe-configure-mmalloc \
576 maybe-configure-patch \
577 maybe-configure-perl \
578 maybe-configure-prms \
579 maybe-configure-rcs \
580 maybe-configure-readline \
581 maybe-configure-release \
582 maybe-configure-recode \
583 maybe-configure-sed \
584 maybe-configure-send-pr \
585 maybe-configure-shellutils \
586 maybe-configure-sid \
587 maybe-configure-sim \
588 maybe-configure-tar \
589 maybe-configure-texinfo \
590 maybe-configure-textutils \
591 maybe-configure-time \
592 maybe-configure-uudecode \
593 maybe-configure-wdiff \
594 maybe-configure-zip \
595 maybe-configure-zlib \
596 maybe-configure-gdb \
597 maybe-configure-expect \
598 maybe-configure-guile \
600 maybe-configure-tix \
601 maybe-configure-libtermcap \
602 maybe-configure-utils
603 .PHONY: configure-target
605 maybe-configure-target-libstdc++-v3 \
606 maybe-configure-target-newlib \
607 maybe-configure-target-libf2c \
608 maybe-configure-target-libobjc \
609 maybe-configure-target-libtermcap \
610 maybe-configure-target-winsup \
611 maybe-configure-target-libgloss \
612 maybe-configure-target-libiberty \
613 maybe-configure-target-gperf \
614 maybe-configure-target-examples \
615 maybe-configure-target-libffi \
616 maybe-configure-target-libjava \
617 maybe-configure-target-zlib \
618 maybe-configure-target-boehm-gc \
619 maybe-configure-target-qthreads \
620 maybe-configure-target-rda \
621 maybe-configure-target-libada
623 # The target built for a native build.
625 all.normal: @all_build_modules@ all-host all-target
628 all-host: maybe-all-gcc \
644 maybe-all-fileutils \
645 maybe-all-findutils \
661 maybe-all-libiberty \
675 maybe-all-shellutils \
680 maybe-all-textutils \
691 maybe-all-libtermcap \
695 maybe-all-target-libstdc++-v3 \
696 maybe-all-target-newlib \
697 maybe-all-target-libf2c \
698 maybe-all-target-libobjc \
699 maybe-all-target-libtermcap \
700 maybe-all-target-winsup \
701 maybe-all-target-libgloss \
702 maybe-all-target-libiberty \
703 maybe-all-target-gperf \
704 maybe-all-target-examples \
705 maybe-all-target-libffi \
706 maybe-all-target-libjava \
707 maybe-all-target-zlib \
708 maybe-all-target-boehm-gc \
709 maybe-all-target-qthreads \
710 maybe-all-target-rda \
711 maybe-all-target-libada
713 # Do a target for all the subdirectories. A ``make do-X'' will do a
714 # ``make X'' in all subdirectories (because, in general, there is a
715 # dependency (below) of X upon do-X, a ``make X'' will also do this,
716 # but it may do additional work as well).
719 do-info: info-host info-target
722 info-host: maybe-info-gcc \
724 maybe-info-autoconf \
725 maybe-info-automake \
729 maybe-info-binutils \
735 maybe-info-dosutils \
738 maybe-info-fileutils \
739 maybe-info-findutils \
755 maybe-info-libiberty \
764 maybe-info-readline \
769 maybe-info-shellutils \
774 maybe-info-textutils \
776 maybe-info-uudecode \
785 maybe-info-libtermcap \
790 maybe-info-target-libstdc++-v3 \
791 maybe-info-target-newlib \
792 maybe-info-target-libf2c \
793 maybe-info-target-libobjc \
794 maybe-info-target-libtermcap \
795 maybe-info-target-winsup \
796 maybe-info-target-libgloss \
797 maybe-info-target-libiberty \
798 maybe-info-target-gperf \
799 maybe-info-target-examples \
800 maybe-info-target-libffi \
801 maybe-info-target-libjava \
802 maybe-info-target-zlib \
803 maybe-info-target-boehm-gc \
804 maybe-info-target-qthreads \
805 maybe-info-target-rda \
806 maybe-info-target-libada
809 do-dvi: dvi-host dvi-target
812 dvi-host: maybe-dvi-gcc \
828 maybe-dvi-fileutils \
829 maybe-dvi-findutils \
845 maybe-dvi-libiberty \
859 maybe-dvi-shellutils \
864 maybe-dvi-textutils \
875 maybe-dvi-libtermcap \
880 maybe-dvi-target-libstdc++-v3 \
881 maybe-dvi-target-newlib \
882 maybe-dvi-target-libf2c \
883 maybe-dvi-target-libobjc \
884 maybe-dvi-target-libtermcap \
885 maybe-dvi-target-winsup \
886 maybe-dvi-target-libgloss \
887 maybe-dvi-target-libiberty \
888 maybe-dvi-target-gperf \
889 maybe-dvi-target-examples \
890 maybe-dvi-target-libffi \
891 maybe-dvi-target-libjava \
892 maybe-dvi-target-zlib \
893 maybe-dvi-target-boehm-gc \
894 maybe-dvi-target-qthreads \
895 maybe-dvi-target-rda \
896 maybe-dvi-target-libada
899 do-TAGS: TAGS-host TAGS-target
902 TAGS-host: maybe-TAGS-gcc \
904 maybe-TAGS-autoconf \
905 maybe-TAGS-automake \
909 maybe-TAGS-binutils \
915 maybe-TAGS-dosutils \
918 maybe-TAGS-fileutils \
919 maybe-TAGS-findutils \
935 maybe-TAGS-libiberty \
944 maybe-TAGS-readline \
949 maybe-TAGS-shellutils \
954 maybe-TAGS-textutils \
956 maybe-TAGS-uudecode \
965 maybe-TAGS-libtermcap \
970 maybe-TAGS-target-libstdc++-v3 \
971 maybe-TAGS-target-newlib \
972 maybe-TAGS-target-libf2c \
973 maybe-TAGS-target-libobjc \
974 maybe-TAGS-target-libtermcap \
975 maybe-TAGS-target-winsup \
976 maybe-TAGS-target-libgloss \
977 maybe-TAGS-target-libiberty \
978 maybe-TAGS-target-gperf \
979 maybe-TAGS-target-examples \
980 maybe-TAGS-target-libffi \
981 maybe-TAGS-target-libjava \
982 maybe-TAGS-target-zlib \
983 maybe-TAGS-target-boehm-gc \
984 maybe-TAGS-target-qthreads \
985 maybe-TAGS-target-rda \
986 maybe-TAGS-target-libada
988 .PHONY: do-install-info
989 do-install-info: install-info-host install-info-target
991 .PHONY: install-info-host
992 install-info-host: maybe-install-info-gcc \
993 maybe-install-info-ash \
994 maybe-install-info-autoconf \
995 maybe-install-info-automake \
996 maybe-install-info-bash \
997 maybe-install-info-bfd \
998 maybe-install-info-opcodes \
999 maybe-install-info-binutils \
1000 maybe-install-info-bison \
1001 maybe-install-info-byacc \
1002 maybe-install-info-bzip2 \
1003 maybe-install-info-dejagnu \
1004 maybe-install-info-diff \
1005 maybe-install-info-dosutils \
1006 maybe-install-info-etc \
1007 maybe-install-info-fastjar \
1008 maybe-install-info-fileutils \
1009 maybe-install-info-findutils \
1010 maybe-install-info-find \
1011 maybe-install-info-flex \
1012 maybe-install-info-gas \
1013 maybe-install-info-gawk \
1014 maybe-install-info-gettext \
1015 maybe-install-info-gnuserv \
1016 maybe-install-info-gprof \
1017 maybe-install-info-gzip \
1018 maybe-install-info-hello \
1019 maybe-install-info-indent \
1020 maybe-install-info-intl \
1021 maybe-install-info-tcl \
1022 maybe-install-info-itcl \
1023 maybe-install-info-ld \
1024 maybe-install-info-libgui \
1025 maybe-install-info-libiberty \
1026 maybe-install-info-libtool \
1027 maybe-install-info-m4 \
1028 maybe-install-info-make \
1029 maybe-install-info-mmalloc \
1030 maybe-install-info-patch \
1031 maybe-install-info-perl \
1032 maybe-install-info-prms \
1033 maybe-install-info-rcs \
1034 maybe-install-info-readline \
1035 maybe-install-info-release \
1036 maybe-install-info-recode \
1037 maybe-install-info-sed \
1038 maybe-install-info-send-pr \
1039 maybe-install-info-shellutils \
1040 maybe-install-info-sid \
1041 maybe-install-info-sim \
1042 maybe-install-info-tar \
1043 maybe-install-info-texinfo \
1044 maybe-install-info-textutils \
1045 maybe-install-info-time \
1046 maybe-install-info-uudecode \
1047 maybe-install-info-wdiff \
1048 maybe-install-info-zip \
1049 maybe-install-info-zlib \
1050 maybe-install-info-gdb \
1051 maybe-install-info-expect \
1052 maybe-install-info-guile \
1053 maybe-install-info-tk \
1054 maybe-install-info-tix \
1055 maybe-install-info-libtermcap \
1056 maybe-install-info-utils
1058 .PHONY: install-info-target
1059 install-info-target: \
1060 maybe-install-info-target-libstdc++-v3 \
1061 maybe-install-info-target-newlib \
1062 maybe-install-info-target-libf2c \
1063 maybe-install-info-target-libobjc \
1064 maybe-install-info-target-libtermcap \
1065 maybe-install-info-target-winsup \
1066 maybe-install-info-target-libgloss \
1067 maybe-install-info-target-libiberty \
1068 maybe-install-info-target-gperf \
1069 maybe-install-info-target-examples \
1070 maybe-install-info-target-libffi \
1071 maybe-install-info-target-libjava \
1072 maybe-install-info-target-zlib \
1073 maybe-install-info-target-boehm-gc \
1074 maybe-install-info-target-qthreads \
1075 maybe-install-info-target-rda \
1076 maybe-install-info-target-libada
1078 .PHONY: do-installcheck
1079 do-installcheck: installcheck-host installcheck-target
1081 .PHONY: installcheck-host
1082 installcheck-host: maybe-installcheck-gcc \
1083 maybe-installcheck-ash \
1084 maybe-installcheck-autoconf \
1085 maybe-installcheck-automake \
1086 maybe-installcheck-bash \
1087 maybe-installcheck-bfd \
1088 maybe-installcheck-opcodes \
1089 maybe-installcheck-binutils \
1090 maybe-installcheck-bison \
1091 maybe-installcheck-byacc \
1092 maybe-installcheck-bzip2 \
1093 maybe-installcheck-dejagnu \
1094 maybe-installcheck-diff \
1095 maybe-installcheck-dosutils \
1096 maybe-installcheck-etc \
1097 maybe-installcheck-fastjar \
1098 maybe-installcheck-fileutils \
1099 maybe-installcheck-findutils \
1100 maybe-installcheck-find \
1101 maybe-installcheck-flex \
1102 maybe-installcheck-gas \
1103 maybe-installcheck-gawk \
1104 maybe-installcheck-gettext \
1105 maybe-installcheck-gnuserv \
1106 maybe-installcheck-gprof \
1107 maybe-installcheck-gzip \
1108 maybe-installcheck-hello \
1109 maybe-installcheck-indent \
1110 maybe-installcheck-intl \
1111 maybe-installcheck-tcl \
1112 maybe-installcheck-itcl \
1113 maybe-installcheck-ld \
1114 maybe-installcheck-libgui \
1115 maybe-installcheck-libiberty \
1116 maybe-installcheck-libtool \
1117 maybe-installcheck-m4 \
1118 maybe-installcheck-make \
1119 maybe-installcheck-mmalloc \
1120 maybe-installcheck-patch \
1121 maybe-installcheck-perl \
1122 maybe-installcheck-prms \
1123 maybe-installcheck-rcs \
1124 maybe-installcheck-readline \
1125 maybe-installcheck-release \
1126 maybe-installcheck-recode \
1127 maybe-installcheck-sed \
1128 maybe-installcheck-send-pr \
1129 maybe-installcheck-shellutils \
1130 maybe-installcheck-sid \
1131 maybe-installcheck-sim \
1132 maybe-installcheck-tar \
1133 maybe-installcheck-texinfo \
1134 maybe-installcheck-textutils \
1135 maybe-installcheck-time \
1136 maybe-installcheck-uudecode \
1137 maybe-installcheck-wdiff \
1138 maybe-installcheck-zip \
1139 maybe-installcheck-zlib \
1140 maybe-installcheck-gdb \
1141 maybe-installcheck-expect \
1142 maybe-installcheck-guile \
1143 maybe-installcheck-tk \
1144 maybe-installcheck-tix \
1145 maybe-installcheck-libtermcap \
1146 maybe-installcheck-utils
1148 .PHONY: installcheck-target
1149 installcheck-target: \
1150 maybe-installcheck-target-libstdc++-v3 \
1151 maybe-installcheck-target-newlib \
1152 maybe-installcheck-target-libf2c \
1153 maybe-installcheck-target-libobjc \
1154 maybe-installcheck-target-libtermcap \
1155 maybe-installcheck-target-winsup \
1156 maybe-installcheck-target-libgloss \
1157 maybe-installcheck-target-libiberty \
1158 maybe-installcheck-target-gperf \
1159 maybe-installcheck-target-examples \
1160 maybe-installcheck-target-libffi \
1161 maybe-installcheck-target-libjava \
1162 maybe-installcheck-target-zlib \
1163 maybe-installcheck-target-boehm-gc \
1164 maybe-installcheck-target-qthreads \
1165 maybe-installcheck-target-rda \
1166 maybe-installcheck-target-libada
1168 .PHONY: do-mostlyclean
1169 do-mostlyclean: mostlyclean-host mostlyclean-target
1171 .PHONY: mostlyclean-host
1172 mostlyclean-host: maybe-mostlyclean-gcc \
1173 maybe-mostlyclean-ash \
1174 maybe-mostlyclean-autoconf \
1175 maybe-mostlyclean-automake \
1176 maybe-mostlyclean-bash \
1177 maybe-mostlyclean-bfd \
1178 maybe-mostlyclean-opcodes \
1179 maybe-mostlyclean-binutils \
1180 maybe-mostlyclean-bison \
1181 maybe-mostlyclean-byacc \
1182 maybe-mostlyclean-bzip2 \
1183 maybe-mostlyclean-dejagnu \
1184 maybe-mostlyclean-diff \
1185 maybe-mostlyclean-dosutils \
1186 maybe-mostlyclean-etc \
1187 maybe-mostlyclean-fastjar \
1188 maybe-mostlyclean-fileutils \
1189 maybe-mostlyclean-findutils \
1190 maybe-mostlyclean-find \
1191 maybe-mostlyclean-flex \
1192 maybe-mostlyclean-gas \
1193 maybe-mostlyclean-gawk \
1194 maybe-mostlyclean-gettext \
1195 maybe-mostlyclean-gnuserv \
1196 maybe-mostlyclean-gprof \
1197 maybe-mostlyclean-gzip \
1198 maybe-mostlyclean-hello \
1199 maybe-mostlyclean-indent \
1200 maybe-mostlyclean-intl \
1201 maybe-mostlyclean-tcl \
1202 maybe-mostlyclean-itcl \
1203 maybe-mostlyclean-ld \
1204 maybe-mostlyclean-libgui \
1205 maybe-mostlyclean-libiberty \
1206 maybe-mostlyclean-libtool \
1207 maybe-mostlyclean-m4 \
1208 maybe-mostlyclean-make \
1209 maybe-mostlyclean-mmalloc \
1210 maybe-mostlyclean-patch \
1211 maybe-mostlyclean-perl \
1212 maybe-mostlyclean-prms \
1213 maybe-mostlyclean-rcs \
1214 maybe-mostlyclean-readline \
1215 maybe-mostlyclean-release \
1216 maybe-mostlyclean-recode \
1217 maybe-mostlyclean-sed \
1218 maybe-mostlyclean-send-pr \
1219 maybe-mostlyclean-shellutils \
1220 maybe-mostlyclean-sid \
1221 maybe-mostlyclean-sim \
1222 maybe-mostlyclean-tar \
1223 maybe-mostlyclean-texinfo \
1224 maybe-mostlyclean-textutils \
1225 maybe-mostlyclean-time \
1226 maybe-mostlyclean-uudecode \
1227 maybe-mostlyclean-wdiff \
1228 maybe-mostlyclean-zip \
1229 maybe-mostlyclean-zlib \
1230 maybe-mostlyclean-gdb \
1231 maybe-mostlyclean-expect \
1232 maybe-mostlyclean-guile \
1233 maybe-mostlyclean-tk \
1234 maybe-mostlyclean-tix \
1235 maybe-mostlyclean-libtermcap \
1236 maybe-mostlyclean-utils
1238 .PHONY: mostlyclean-target
1239 mostlyclean-target: \
1240 maybe-mostlyclean-target-libstdc++-v3 \
1241 maybe-mostlyclean-target-newlib \
1242 maybe-mostlyclean-target-libf2c \
1243 maybe-mostlyclean-target-libobjc \
1244 maybe-mostlyclean-target-libtermcap \
1245 maybe-mostlyclean-target-winsup \
1246 maybe-mostlyclean-target-libgloss \
1247 maybe-mostlyclean-target-libiberty \
1248 maybe-mostlyclean-target-gperf \
1249 maybe-mostlyclean-target-examples \
1250 maybe-mostlyclean-target-libffi \
1251 maybe-mostlyclean-target-libjava \
1252 maybe-mostlyclean-target-zlib \
1253 maybe-mostlyclean-target-boehm-gc \
1254 maybe-mostlyclean-target-qthreads \
1255 maybe-mostlyclean-target-rda \
1256 maybe-mostlyclean-target-libada
1259 do-clean: clean-host clean-target
1262 clean-host: maybe-clean-gcc \
1264 maybe-clean-autoconf \
1265 maybe-clean-automake \
1268 maybe-clean-opcodes \
1269 maybe-clean-binutils \
1273 maybe-clean-dejagnu \
1275 maybe-clean-dosutils \
1277 maybe-clean-fastjar \
1278 maybe-clean-fileutils \
1279 maybe-clean-findutils \
1284 maybe-clean-gettext \
1285 maybe-clean-gnuserv \
1289 maybe-clean-indent \
1294 maybe-clean-libgui \
1295 maybe-clean-libiberty \
1296 maybe-clean-libtool \
1299 maybe-clean-mmalloc \
1304 maybe-clean-readline \
1305 maybe-clean-release \
1306 maybe-clean-recode \
1308 maybe-clean-send-pr \
1309 maybe-clean-shellutils \
1313 maybe-clean-texinfo \
1314 maybe-clean-textutils \
1316 maybe-clean-uudecode \
1321 maybe-clean-expect \
1325 maybe-clean-libtermcap \
1328 .PHONY: clean-target
1330 maybe-clean-target-libstdc++-v3 \
1331 maybe-clean-target-newlib \
1332 maybe-clean-target-libf2c \
1333 maybe-clean-target-libobjc \
1334 maybe-clean-target-libtermcap \
1335 maybe-clean-target-winsup \
1336 maybe-clean-target-libgloss \
1337 maybe-clean-target-libiberty \
1338 maybe-clean-target-gperf \
1339 maybe-clean-target-examples \
1340 maybe-clean-target-libffi \
1341 maybe-clean-target-libjava \
1342 maybe-clean-target-zlib \
1343 maybe-clean-target-boehm-gc \
1344 maybe-clean-target-qthreads \
1345 maybe-clean-target-rda \
1346 maybe-clean-target-libada
1348 .PHONY: do-distclean
1349 do-distclean: distclean-host distclean-target
1351 .PHONY: distclean-host
1352 distclean-host: maybe-distclean-gcc \
1353 maybe-distclean-ash \
1354 maybe-distclean-autoconf \
1355 maybe-distclean-automake \
1356 maybe-distclean-bash \
1357 maybe-distclean-bfd \
1358 maybe-distclean-opcodes \
1359 maybe-distclean-binutils \
1360 maybe-distclean-bison \
1361 maybe-distclean-byacc \
1362 maybe-distclean-bzip2 \
1363 maybe-distclean-dejagnu \
1364 maybe-distclean-diff \
1365 maybe-distclean-dosutils \
1366 maybe-distclean-etc \
1367 maybe-distclean-fastjar \
1368 maybe-distclean-fileutils \
1369 maybe-distclean-findutils \
1370 maybe-distclean-find \
1371 maybe-distclean-flex \
1372 maybe-distclean-gas \
1373 maybe-distclean-gawk \
1374 maybe-distclean-gettext \
1375 maybe-distclean-gnuserv \
1376 maybe-distclean-gprof \
1377 maybe-distclean-gzip \
1378 maybe-distclean-hello \
1379 maybe-distclean-indent \
1380 maybe-distclean-intl \
1381 maybe-distclean-tcl \
1382 maybe-distclean-itcl \
1383 maybe-distclean-ld \
1384 maybe-distclean-libgui \
1385 maybe-distclean-libiberty \
1386 maybe-distclean-libtool \
1387 maybe-distclean-m4 \
1388 maybe-distclean-make \
1389 maybe-distclean-mmalloc \
1390 maybe-distclean-patch \
1391 maybe-distclean-perl \
1392 maybe-distclean-prms \
1393 maybe-distclean-rcs \
1394 maybe-distclean-readline \
1395 maybe-distclean-release \
1396 maybe-distclean-recode \
1397 maybe-distclean-sed \
1398 maybe-distclean-send-pr \
1399 maybe-distclean-shellutils \
1400 maybe-distclean-sid \
1401 maybe-distclean-sim \
1402 maybe-distclean-tar \
1403 maybe-distclean-texinfo \
1404 maybe-distclean-textutils \
1405 maybe-distclean-time \
1406 maybe-distclean-uudecode \
1407 maybe-distclean-wdiff \
1408 maybe-distclean-zip \
1409 maybe-distclean-zlib \
1410 maybe-distclean-gdb \
1411 maybe-distclean-expect \
1412 maybe-distclean-guile \
1413 maybe-distclean-tk \
1414 maybe-distclean-tix \
1415 maybe-distclean-libtermcap \
1416 maybe-distclean-utils
1418 .PHONY: distclean-target
1420 maybe-distclean-target-libstdc++-v3 \
1421 maybe-distclean-target-newlib \
1422 maybe-distclean-target-libf2c \
1423 maybe-distclean-target-libobjc \
1424 maybe-distclean-target-libtermcap \
1425 maybe-distclean-target-winsup \
1426 maybe-distclean-target-libgloss \
1427 maybe-distclean-target-libiberty \
1428 maybe-distclean-target-gperf \
1429 maybe-distclean-target-examples \
1430 maybe-distclean-target-libffi \
1431 maybe-distclean-target-libjava \
1432 maybe-distclean-target-zlib \
1433 maybe-distclean-target-boehm-gc \
1434 maybe-distclean-target-qthreads \
1435 maybe-distclean-target-rda \
1436 maybe-distclean-target-libada
1438 .PHONY: do-maintainer-clean
1439 do-maintainer-clean: maintainer-clean-host maintainer-clean-target
1441 .PHONY: maintainer-clean-host
1442 maintainer-clean-host: maybe-maintainer-clean-gcc \
1443 maybe-maintainer-clean-ash \
1444 maybe-maintainer-clean-autoconf \
1445 maybe-maintainer-clean-automake \
1446 maybe-maintainer-clean-bash \
1447 maybe-maintainer-clean-bfd \
1448 maybe-maintainer-clean-opcodes \
1449 maybe-maintainer-clean-binutils \
1450 maybe-maintainer-clean-bison \
1451 maybe-maintainer-clean-byacc \
1452 maybe-maintainer-clean-bzip2 \
1453 maybe-maintainer-clean-dejagnu \
1454 maybe-maintainer-clean-diff \
1455 maybe-maintainer-clean-dosutils \
1456 maybe-maintainer-clean-etc \
1457 maybe-maintainer-clean-fastjar \
1458 maybe-maintainer-clean-fileutils \
1459 maybe-maintainer-clean-findutils \
1460 maybe-maintainer-clean-find \
1461 maybe-maintainer-clean-flex \
1462 maybe-maintainer-clean-gas \
1463 maybe-maintainer-clean-gawk \
1464 maybe-maintainer-clean-gettext \
1465 maybe-maintainer-clean-gnuserv \
1466 maybe-maintainer-clean-gprof \
1467 maybe-maintainer-clean-gzip \
1468 maybe-maintainer-clean-hello \
1469 maybe-maintainer-clean-indent \
1470 maybe-maintainer-clean-intl \
1471 maybe-maintainer-clean-tcl \
1472 maybe-maintainer-clean-itcl \
1473 maybe-maintainer-clean-ld \
1474 maybe-maintainer-clean-libgui \
1475 maybe-maintainer-clean-libiberty \
1476 maybe-maintainer-clean-libtool \
1477 maybe-maintainer-clean-m4 \
1478 maybe-maintainer-clean-make \
1479 maybe-maintainer-clean-mmalloc \
1480 maybe-maintainer-clean-patch \
1481 maybe-maintainer-clean-perl \
1482 maybe-maintainer-clean-prms \
1483 maybe-maintainer-clean-rcs \
1484 maybe-maintainer-clean-readline \
1485 maybe-maintainer-clean-release \
1486 maybe-maintainer-clean-recode \
1487 maybe-maintainer-clean-sed \
1488 maybe-maintainer-clean-send-pr \
1489 maybe-maintainer-clean-shellutils \
1490 maybe-maintainer-clean-sid \
1491 maybe-maintainer-clean-sim \
1492 maybe-maintainer-clean-tar \
1493 maybe-maintainer-clean-texinfo \
1494 maybe-maintainer-clean-textutils \
1495 maybe-maintainer-clean-time \
1496 maybe-maintainer-clean-uudecode \
1497 maybe-maintainer-clean-wdiff \
1498 maybe-maintainer-clean-zip \
1499 maybe-maintainer-clean-zlib \
1500 maybe-maintainer-clean-gdb \
1501 maybe-maintainer-clean-expect \
1502 maybe-maintainer-clean-guile \
1503 maybe-maintainer-clean-tk \
1504 maybe-maintainer-clean-tix \
1505 maybe-maintainer-clean-libtermcap \
1506 maybe-maintainer-clean-utils
1508 .PHONY: maintainer-clean-target
1509 maintainer-clean-target: \
1510 maybe-maintainer-clean-target-libstdc++-v3 \
1511 maybe-maintainer-clean-target-newlib \
1512 maybe-maintainer-clean-target-libf2c \
1513 maybe-maintainer-clean-target-libobjc \
1514 maybe-maintainer-clean-target-libtermcap \
1515 maybe-maintainer-clean-target-winsup \
1516 maybe-maintainer-clean-target-libgloss \
1517 maybe-maintainer-clean-target-libiberty \
1518 maybe-maintainer-clean-target-gperf \
1519 maybe-maintainer-clean-target-examples \
1520 maybe-maintainer-clean-target-libffi \
1521 maybe-maintainer-clean-target-libjava \
1522 maybe-maintainer-clean-target-zlib \
1523 maybe-maintainer-clean-target-boehm-gc \
1524 maybe-maintainer-clean-target-qthreads \
1525 maybe-maintainer-clean-target-rda \
1526 maybe-maintainer-clean-target-libada
1529 # Here are the targets which correspond to the do-X targets.
1531 .PHONY: info installcheck dvi install-info
1532 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1533 .PHONY: local-clean local-distclean local-maintainer-clean
1535 installcheck: do-installcheck
1538 # Make sure makeinfo is built before we do a `make info', if we're
1539 # in fact building texinfo.
1540 do-info: maybe-all-texinfo
1542 install-info: do-install-info dir.info
1543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1544 if [ -f dir.info ] ; then \
1545 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1549 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1552 -rm -f Makefile config.status config.cache mh-frag mt-frag
1553 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1554 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1555 rm -rf $(TARGET_SUBDIR); \
1557 -rm -rf $(BUILD_SUBDIR)
1558 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1559 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1560 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1561 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1562 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1564 local-maintainer-clean:
1565 @echo "This command is intended for maintainers to use;"
1566 @echo "it deletes files that may require special tools to rebuild."
1568 clean: do-clean local-clean
1569 mostlyclean: do-mostlyclean local-clean
1570 distclean: do-distclean local-clean local-distclean
1571 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1572 maintainer-clean: local-distclean
1573 realclean: maintainer-clean
1575 # Extra dependency for clean-target, owing to the mixed nature of gcc
1576 clean-target: clean-target-libgcc
1577 clean-target-libgcc:
1578 test ! -d gcc/libgcc || \
1579 (cd gcc/libgcc && find . -type d -print) | \
1580 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1585 .PHONY: check do-check
1588 # Only include modules actually being configured and built.
1589 do-check: maybe-check-gcc \
1591 maybe-check-autoconf \
1592 maybe-check-automake \
1595 maybe-check-opcodes \
1596 maybe-check-binutils \
1600 maybe-check-dejagnu \
1602 maybe-check-dosutils \
1604 maybe-check-fastjar \
1605 maybe-check-fileutils \
1606 maybe-check-findutils \
1611 maybe-check-gettext \
1612 maybe-check-gnuserv \
1616 maybe-check-indent \
1621 maybe-check-libgui \
1622 maybe-check-libiberty \
1623 maybe-check-libtool \
1626 maybe-check-mmalloc \
1631 maybe-check-readline \
1632 maybe-check-release \
1633 maybe-check-recode \
1635 maybe-check-send-pr \
1636 maybe-check-shellutils \
1640 maybe-check-texinfo \
1641 maybe-check-textutils \
1643 maybe-check-uudecode \
1648 maybe-check-expect \
1652 maybe-check-libtermcap \
1654 maybe-check-target-libstdc++-v3 \
1655 maybe-check-target-newlib \
1656 maybe-check-target-libf2c \
1657 maybe-check-target-libobjc \
1658 maybe-check-target-libtermcap \
1659 maybe-check-target-winsup \
1660 maybe-check-target-libgloss \
1661 maybe-check-target-libiberty \
1662 maybe-check-target-gperf \
1663 maybe-check-target-examples \
1664 maybe-check-target-libffi \
1665 maybe-check-target-libjava \
1666 maybe-check-target-zlib \
1667 maybe-check-target-boehm-gc \
1668 maybe-check-target-qthreads \
1669 maybe-check-target-rda \
1670 maybe-check-target-libada
1672 # Automated reporting of test results.
1674 warning.log: build.log
1675 $(srcdir)/contrib/warn_summary build.log > $@
1678 if test x'$(BOOT_CFLAGS)' != x''; then \
1679 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1681 $(srcdir)/contrib/test_summary -t >$@
1683 echo If you really want to send e-mail, run ./$@ now
1685 mail-report-with-warnings.log: warning.log
1686 if test x'$(BOOT_CFLAGS)' != x''; then \
1687 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1689 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1691 echo If you really want to send e-mail, run ./$@ now
1693 # Installation targets.
1695 .PHONY: install uninstall
1696 install: installdirs install-host install-target
1698 .PHONY: install-host-nogcc
1699 install-host-nogcc: \
1701 maybe-install-autoconf \
1702 maybe-install-automake \
1703 maybe-install-bash \
1705 maybe-install-opcodes \
1706 maybe-install-binutils \
1707 maybe-install-bison \
1708 maybe-install-byacc \
1709 maybe-install-bzip2 \
1710 maybe-install-dejagnu \
1711 maybe-install-diff \
1712 maybe-install-dosutils \
1714 maybe-install-fastjar \
1715 maybe-install-fileutils \
1716 maybe-install-findutils \
1717 maybe-install-find \
1718 maybe-install-flex \
1720 maybe-install-gawk \
1721 maybe-install-gettext \
1722 maybe-install-gnuserv \
1723 maybe-install-gprof \
1724 maybe-install-gzip \
1725 maybe-install-hello \
1726 maybe-install-indent \
1727 maybe-install-intl \
1729 maybe-install-itcl \
1731 maybe-install-libgui \
1732 maybe-install-libiberty \
1733 maybe-install-libtool \
1735 maybe-install-make \
1736 maybe-install-mmalloc \
1737 maybe-install-patch \
1738 maybe-install-perl \
1739 maybe-install-prms \
1741 maybe-install-readline \
1742 maybe-install-release \
1743 maybe-install-recode \
1745 maybe-install-send-pr \
1746 maybe-install-shellutils \
1750 maybe-install-texinfo \
1751 maybe-install-textutils \
1752 maybe-install-time \
1753 maybe-install-uudecode \
1754 maybe-install-wdiff \
1756 maybe-install-zlib \
1758 maybe-install-expect \
1759 maybe-install-guile \
1762 maybe-install-libtermcap \
1765 .PHONY: install-host
1766 install-host: maybe-install-gcc \
1768 maybe-install-autoconf \
1769 maybe-install-automake \
1770 maybe-install-bash \
1772 maybe-install-opcodes \
1773 maybe-install-binutils \
1774 maybe-install-bison \
1775 maybe-install-byacc \
1776 maybe-install-bzip2 \
1777 maybe-install-dejagnu \
1778 maybe-install-diff \
1779 maybe-install-dosutils \
1781 maybe-install-fastjar \
1782 maybe-install-fileutils \
1783 maybe-install-findutils \
1784 maybe-install-find \
1785 maybe-install-flex \
1787 maybe-install-gawk \
1788 maybe-install-gettext \
1789 maybe-install-gnuserv \
1790 maybe-install-gprof \
1791 maybe-install-gzip \
1792 maybe-install-hello \
1793 maybe-install-indent \
1794 maybe-install-intl \
1796 maybe-install-itcl \
1798 maybe-install-libgui \
1799 maybe-install-libiberty \
1800 maybe-install-libtool \
1802 maybe-install-make \
1803 maybe-install-mmalloc \
1804 maybe-install-patch \
1805 maybe-install-perl \
1806 maybe-install-prms \
1808 maybe-install-readline \
1809 maybe-install-release \
1810 maybe-install-recode \
1812 maybe-install-send-pr \
1813 maybe-install-shellutils \
1817 maybe-install-texinfo \
1818 maybe-install-textutils \
1819 maybe-install-time \
1820 maybe-install-uudecode \
1821 maybe-install-wdiff \
1823 maybe-install-zlib \
1825 maybe-install-expect \
1826 maybe-install-guile \
1829 maybe-install-libtermcap \
1832 .PHONY: install-target
1834 maybe-install-target-libstdc++-v3 \
1835 maybe-install-target-newlib \
1836 maybe-install-target-libf2c \
1837 maybe-install-target-libobjc \
1838 maybe-install-target-libtermcap \
1839 maybe-install-target-winsup \
1840 maybe-install-target-libgloss \
1841 maybe-install-target-libiberty \
1842 maybe-install-target-gperf \
1843 maybe-install-target-examples \
1844 maybe-install-target-libffi \
1845 maybe-install-target-libjava \
1846 maybe-install-target-zlib \
1847 maybe-install-target-boehm-gc \
1848 maybe-install-target-qthreads \
1849 maybe-install-target-rda \
1850 maybe-install-target-libada
1853 @echo "the uninstall target is not supported in this tree"
1856 install.all: install-no-fixedincludes
1857 @if [ -f ./gcc/Makefile ] ; then \
1858 r=`${PWD_COMMAND}` ; export r ; \
1861 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
1866 # install-no-fixedincludes is used because Cygnus can not distribute
1867 # the fixed header files.
1868 .PHONY: install-no-fixedincludes
1869 install-no-fixedincludes: installdirs install-host-nogcc \
1870 install-target gcc-no-fixedincludes
1872 ### other supporting targets
1875 $(DESTDIR)$(prefix) \
1876 $(DESTDIR)$(exec_prefix)
1878 installdirs: mkinstalldirs
1879 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
1881 dir.info: do-install-info
1882 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
1883 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
1884 mv -f dir.info.new dir.info ; \
1889 @echo "Building a full distribution of this tree isn't done"
1890 @echo "via 'make dist'. Check out the etc/ subdirectory"
1894 # Right now this just builds TAGS in each subdirectory. emacs19 has the
1895 # ability to use several tags files at once, so there is probably no need
1896 # to combine them into one big TAGS file (like CVS 1.3 does). We could
1897 # (if we felt like it) have this Makefile write a piece of elisp which
1898 # the user could load to tell emacs19 where all the TAGS files we just
1902 # --------------------------------------
1903 # Modules which run on the build machine
1904 # --------------------------------------
1906 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
1907 maybe-configure-build-libiberty:
1908 configure-build-libiberty:
1909 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
1910 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
1911 r=`${PWD_COMMAND}`; export r; \
1912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1913 AR="$(AR_FOR_BUILD)"; export AR; \
1914 AS="$(AS_FOR_BUILD)"; export AS; \
1915 CC="$(CC_FOR_BUILD)"; export CC; \
1916 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
1917 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
1918 CXX="$(CXX_FOR_BUILD)"; export CXX; \
1919 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
1920 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
1921 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
1922 LD="$(LD_FOR_BUILD)"; export LD; \
1923 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
1924 NM="$(NM_FOR_BUILD)"; export NM; \
1925 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
1926 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES; \
1927 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
1928 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
1930 /* | [A-Za-z]:[\\/]*) \
1931 topdir=$(srcdir) ;; \
1933 case "$(BUILD_SUBDIR)" in \
1934 .) topdir="../$(srcdir)" ;; \
1935 *) topdir="../../$(srcdir)" ;; \
1938 if [ "$(srcdir)" = "." ] ; then \
1939 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
1940 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
1941 if [ -f Makefile ]; then \
1942 if $(MAKE) distclean; then \
1956 srcdiroption="--srcdir=."; \
1959 srcdiroption="--srcdir=$${topdir}/libiberty"; \
1960 libsrcdir="$$s/libiberty"; \
1962 rm -f no-such-file || : ; \
1963 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
1964 $(BUILD_CONFIGARGS) $${srcdiroption} \
1965 --with-build-subdir="$(BUILD_SUBDIR)" \
1968 .PHONY: all-build-libiberty maybe-all-build-libiberty
1969 maybe-all-build-libiberty:
1970 all-build-libiberty: configure-build-libiberty
1971 @r=`${PWD_COMMAND}`; export r; \
1972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1973 (cd $(BUILD_SUBDIR)/libiberty && $(MAKE) all)
1976 # --------------------------------------
1977 # Modules which run on the host machine
1978 # --------------------------------------
1980 .PHONY: configure-ash maybe-configure-ash
1981 maybe-configure-ash:
1983 @test ! -f ash/Makefile || exit 0; \
1984 [ -d ash ] || mkdir ash; \
1985 r=`${PWD_COMMAND}`; export r; \
1986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1987 CC="$(CC)"; export CC; \
1988 CFLAGS="$(CFLAGS)"; export CFLAGS; \
1989 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
1990 CXX="$(CXX)"; export CXX; \
1991 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
1992 AR="$(AR)"; export AR; \
1993 AS="$(AS)"; export AS; \
1994 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
1995 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
1996 LD="$(LD)"; export LD; \
1997 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
1998 NM="$(NM)"; export NM; \
1999 RANLIB="$(RANLIB)"; export RANLIB; \
2000 WINDRES="$(WINDRES)"; export WINDRES; \
2001 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2002 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2003 echo Configuring in ash; \
2007 srcdiroption="--srcdir=."; \
2009 /* | [A-Za-z]:[\\/]*) \
2010 srcdiroption="--srcdir=$(srcdir)/ash"; \
2011 libsrcdir="$$s/ash";; \
2013 srcdiroption="--srcdir=../$(srcdir)/ash"; \
2014 libsrcdir="$$s/ash";; \
2016 $(SHELL) $${libsrcdir}/configure \
2017 $(HOST_CONFIGARGS) $${srcdiroption} \
2020 .PHONY: all-ash maybe-all-ash
2022 all-ash: configure-ash
2023 @r=`${PWD_COMMAND}`; export r; \
2024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2026 (cd ash && $(MAKE) $(FLAGS_TO_PASS) all)
2028 .PHONY: check-ash maybe-check-ash
2032 @r=`${PWD_COMMAND}`; export r; \
2033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2035 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2038 .PHONY: install-ash maybe-install-ash
2041 install-ash: installdirs
2042 @r=`${PWD_COMMAND}`; export r; \
2043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2045 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2048 # Other targets (info, dvi, etc.)
2050 .PHONY: maybe-info-ash info-ash
2055 @[ -f ./ash/Makefile ] || exit 0; \
2056 r=`${PWD_COMMAND}`; export r; \
2057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2059 for flag in $(EXTRA_HOST_FLAGS); do \
2060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2062 echo "Doing info in ash" ; \
2064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2066 "RANLIB=$${RANLIB}" \
2067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2072 .PHONY: maybe-dvi-ash dvi-ash
2077 @[ -f ./ash/Makefile ] || exit 0; \
2078 r=`${PWD_COMMAND}`; export r; \
2079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2081 for flag in $(EXTRA_HOST_FLAGS); do \
2082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2084 echo "Doing dvi in ash" ; \
2086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2088 "RANLIB=$${RANLIB}" \
2089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2094 .PHONY: maybe-TAGS-ash TAGS-ash
2099 @[ -f ./ash/Makefile ] || exit 0; \
2100 r=`${PWD_COMMAND}`; export r; \
2101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2103 for flag in $(EXTRA_HOST_FLAGS); do \
2104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2106 echo "Doing TAGS in ash" ; \
2108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2110 "RANLIB=$${RANLIB}" \
2111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2116 .PHONY: maybe-install-info-ash install-info-ash
2117 maybe-install-info-ash:
2122 @[ -f ./ash/Makefile ] || exit 0; \
2123 r=`${PWD_COMMAND}`; export r; \
2124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2126 for flag in $(EXTRA_HOST_FLAGS); do \
2127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2129 echo "Doing install-info in ash" ; \
2131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2133 "RANLIB=$${RANLIB}" \
2134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2139 .PHONY: maybe-installcheck-ash installcheck-ash
2140 maybe-installcheck-ash:
2144 @[ -f ./ash/Makefile ] || exit 0; \
2145 r=`${PWD_COMMAND}`; export r; \
2146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2148 for flag in $(EXTRA_HOST_FLAGS); do \
2149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2151 echo "Doing installcheck in ash" ; \
2153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2155 "RANLIB=$${RANLIB}" \
2156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2161 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2162 maybe-mostlyclean-ash:
2165 @[ -f ./ash/Makefile ] || exit 0; \
2166 r=`${PWD_COMMAND}`; export r; \
2167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2169 for flag in $(EXTRA_HOST_FLAGS); do \
2170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2172 echo "Doing mostlyclean in ash" ; \
2174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2176 "RANLIB=$${RANLIB}" \
2177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2182 .PHONY: maybe-clean-ash clean-ash
2186 @[ -f ./ash/Makefile ] || exit 0; \
2187 r=`${PWD_COMMAND}`; export r; \
2188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2190 for flag in $(EXTRA_HOST_FLAGS); do \
2191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2193 echo "Doing clean in ash" ; \
2195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2197 "RANLIB=$${RANLIB}" \
2198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2203 .PHONY: maybe-distclean-ash distclean-ash
2204 maybe-distclean-ash:
2207 @[ -f ./ash/Makefile ] || exit 0; \
2208 r=`${PWD_COMMAND}`; export r; \
2209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2211 for flag in $(EXTRA_HOST_FLAGS); do \
2212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2214 echo "Doing distclean in ash" ; \
2216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2218 "RANLIB=$${RANLIB}" \
2219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2224 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2225 maybe-maintainer-clean-ash:
2227 maintainer-clean-ash:
2228 @[ -f ./ash/Makefile ] || exit 0; \
2229 r=`${PWD_COMMAND}`; export r; \
2230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2232 for flag in $(EXTRA_HOST_FLAGS); do \
2233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2235 echo "Doing maintainer-clean in ash" ; \
2237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2239 "RANLIB=$${RANLIB}" \
2240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2246 .PHONY: configure-autoconf maybe-configure-autoconf
2247 maybe-configure-autoconf:
2249 @test ! -f autoconf/Makefile || exit 0; \
2250 [ -d autoconf ] || mkdir autoconf; \
2251 r=`${PWD_COMMAND}`; export r; \
2252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2253 CC="$(CC)"; export CC; \
2254 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2255 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
2256 CXX="$(CXX)"; export CXX; \
2257 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2258 AR="$(AR)"; export AR; \
2259 AS="$(AS)"; export AS; \
2260 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2261 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2262 LD="$(LD)"; export LD; \
2263 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
2264 NM="$(NM)"; export NM; \
2265 RANLIB="$(RANLIB)"; export RANLIB; \
2266 WINDRES="$(WINDRES)"; export WINDRES; \
2267 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2268 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2269 echo Configuring in autoconf; \
2270 cd autoconf || exit 1; \
2273 srcdiroption="--srcdir=."; \
2275 /* | [A-Za-z]:[\\/]*) \
2276 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2277 libsrcdir="$$s/autoconf";; \
2279 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2280 libsrcdir="$$s/autoconf";; \
2282 $(SHELL) $${libsrcdir}/configure \
2283 $(HOST_CONFIGARGS) $${srcdiroption} \
2286 .PHONY: all-autoconf maybe-all-autoconf
2288 all-autoconf: configure-autoconf
2289 @r=`${PWD_COMMAND}`; export r; \
2290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2292 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all)
2294 .PHONY: check-autoconf maybe-check-autoconf
2295 maybe-check-autoconf:
2298 @r=`${PWD_COMMAND}`; export r; \
2299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2301 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
2304 .PHONY: install-autoconf maybe-install-autoconf
2305 maybe-install-autoconf:
2307 install-autoconf: installdirs
2308 @r=`${PWD_COMMAND}`; export r; \
2309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2311 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
2314 # Other targets (info, dvi, etc.)
2316 .PHONY: maybe-info-autoconf info-autoconf
2317 maybe-info-autoconf:
2321 @[ -f ./autoconf/Makefile ] || exit 0; \
2322 r=`${PWD_COMMAND}`; export r; \
2323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2325 for flag in $(EXTRA_HOST_FLAGS); do \
2326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2328 echo "Doing info in autoconf" ; \
2330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2332 "RANLIB=$${RANLIB}" \
2333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2338 .PHONY: maybe-dvi-autoconf dvi-autoconf
2343 @[ -f ./autoconf/Makefile ] || exit 0; \
2344 r=`${PWD_COMMAND}`; export r; \
2345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2347 for flag in $(EXTRA_HOST_FLAGS); do \
2348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2350 echo "Doing dvi in autoconf" ; \
2352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2354 "RANLIB=$${RANLIB}" \
2355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2360 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2361 maybe-TAGS-autoconf:
2365 @[ -f ./autoconf/Makefile ] || exit 0; \
2366 r=`${PWD_COMMAND}`; export r; \
2367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2369 for flag in $(EXTRA_HOST_FLAGS); do \
2370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2372 echo "Doing TAGS in autoconf" ; \
2374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2376 "RANLIB=$${RANLIB}" \
2377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2382 .PHONY: maybe-install-info-autoconf install-info-autoconf
2383 maybe-install-info-autoconf:
2385 install-info-autoconf: \
2386 configure-autoconf \
2388 @[ -f ./autoconf/Makefile ] || exit 0; \
2389 r=`${PWD_COMMAND}`; export r; \
2390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2392 for flag in $(EXTRA_HOST_FLAGS); do \
2393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2395 echo "Doing install-info in autoconf" ; \
2397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2399 "RANLIB=$${RANLIB}" \
2400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2405 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
2406 maybe-installcheck-autoconf:
2408 installcheck-autoconf: \
2410 @[ -f ./autoconf/Makefile ] || exit 0; \
2411 r=`${PWD_COMMAND}`; export r; \
2412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2414 for flag in $(EXTRA_HOST_FLAGS); do \
2415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2417 echo "Doing installcheck in autoconf" ; \
2419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2421 "RANLIB=$${RANLIB}" \
2422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2427 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
2428 maybe-mostlyclean-autoconf:
2430 mostlyclean-autoconf:
2431 @[ -f ./autoconf/Makefile ] || exit 0; \
2432 r=`${PWD_COMMAND}`; export r; \
2433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2435 for flag in $(EXTRA_HOST_FLAGS); do \
2436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2438 echo "Doing mostlyclean in autoconf" ; \
2440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2442 "RANLIB=$${RANLIB}" \
2443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2448 .PHONY: maybe-clean-autoconf clean-autoconf
2449 maybe-clean-autoconf:
2452 @[ -f ./autoconf/Makefile ] || exit 0; \
2453 r=`${PWD_COMMAND}`; export r; \
2454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2456 for flag in $(EXTRA_HOST_FLAGS); do \
2457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2459 echo "Doing clean in autoconf" ; \
2461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2463 "RANLIB=$${RANLIB}" \
2464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2469 .PHONY: maybe-distclean-autoconf distclean-autoconf
2470 maybe-distclean-autoconf:
2473 @[ -f ./autoconf/Makefile ] || exit 0; \
2474 r=`${PWD_COMMAND}`; export r; \
2475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2477 for flag in $(EXTRA_HOST_FLAGS); do \
2478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2480 echo "Doing distclean in autoconf" ; \
2482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2484 "RANLIB=$${RANLIB}" \
2485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2490 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
2491 maybe-maintainer-clean-autoconf:
2493 maintainer-clean-autoconf:
2494 @[ -f ./autoconf/Makefile ] || exit 0; \
2495 r=`${PWD_COMMAND}`; export r; \
2496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2498 for flag in $(EXTRA_HOST_FLAGS); do \
2499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2501 echo "Doing maintainer-clean in autoconf" ; \
2503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2505 "RANLIB=$${RANLIB}" \
2506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2512 .PHONY: configure-automake maybe-configure-automake
2513 maybe-configure-automake:
2515 @test ! -f automake/Makefile || exit 0; \
2516 [ -d automake ] || mkdir automake; \
2517 r=`${PWD_COMMAND}`; export r; \
2518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2519 CC="$(CC)"; export CC; \
2520 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2521 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
2522 CXX="$(CXX)"; export CXX; \
2523 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2524 AR="$(AR)"; export AR; \
2525 AS="$(AS)"; export AS; \
2526 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2527 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2528 LD="$(LD)"; export LD; \
2529 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
2530 NM="$(NM)"; export NM; \
2531 RANLIB="$(RANLIB)"; export RANLIB; \
2532 WINDRES="$(WINDRES)"; export WINDRES; \
2533 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2534 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2535 echo Configuring in automake; \
2536 cd automake || exit 1; \
2539 srcdiroption="--srcdir=."; \
2541 /* | [A-Za-z]:[\\/]*) \
2542 srcdiroption="--srcdir=$(srcdir)/automake"; \
2543 libsrcdir="$$s/automake";; \
2545 srcdiroption="--srcdir=../$(srcdir)/automake"; \
2546 libsrcdir="$$s/automake";; \
2548 $(SHELL) $${libsrcdir}/configure \
2549 $(HOST_CONFIGARGS) $${srcdiroption} \
2552 .PHONY: all-automake maybe-all-automake
2554 all-automake: configure-automake
2555 @r=`${PWD_COMMAND}`; export r; \
2556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2558 (cd automake && $(MAKE) $(FLAGS_TO_PASS) all)
2560 .PHONY: check-automake maybe-check-automake
2561 maybe-check-automake:
2564 @r=`${PWD_COMMAND}`; export r; \
2565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2567 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
2570 .PHONY: install-automake maybe-install-automake
2571 maybe-install-automake:
2573 install-automake: installdirs
2574 @r=`${PWD_COMMAND}`; export r; \
2575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2577 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
2580 # Other targets (info, dvi, etc.)
2582 .PHONY: maybe-info-automake info-automake
2583 maybe-info-automake:
2587 @[ -f ./automake/Makefile ] || exit 0; \
2588 r=`${PWD_COMMAND}`; export r; \
2589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2591 for flag in $(EXTRA_HOST_FLAGS); do \
2592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2594 echo "Doing info in automake" ; \
2596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2598 "RANLIB=$${RANLIB}" \
2599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2604 .PHONY: maybe-dvi-automake dvi-automake
2609 @[ -f ./automake/Makefile ] || exit 0; \
2610 r=`${PWD_COMMAND}`; export r; \
2611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2613 for flag in $(EXTRA_HOST_FLAGS); do \
2614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2616 echo "Doing dvi in automake" ; \
2618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2620 "RANLIB=$${RANLIB}" \
2621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2626 .PHONY: maybe-TAGS-automake TAGS-automake
2627 maybe-TAGS-automake:
2631 @[ -f ./automake/Makefile ] || exit 0; \
2632 r=`${PWD_COMMAND}`; export r; \
2633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2635 for flag in $(EXTRA_HOST_FLAGS); do \
2636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2638 echo "Doing TAGS in automake" ; \
2640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2642 "RANLIB=$${RANLIB}" \
2643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2648 .PHONY: maybe-install-info-automake install-info-automake
2649 maybe-install-info-automake:
2651 install-info-automake: \
2652 configure-automake \
2654 @[ -f ./automake/Makefile ] || exit 0; \
2655 r=`${PWD_COMMAND}`; export r; \
2656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2658 for flag in $(EXTRA_HOST_FLAGS); do \
2659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2661 echo "Doing install-info in automake" ; \
2663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2665 "RANLIB=$${RANLIB}" \
2666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2671 .PHONY: maybe-installcheck-automake installcheck-automake
2672 maybe-installcheck-automake:
2674 installcheck-automake: \
2676 @[ -f ./automake/Makefile ] || exit 0; \
2677 r=`${PWD_COMMAND}`; export r; \
2678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2680 for flag in $(EXTRA_HOST_FLAGS); do \
2681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2683 echo "Doing installcheck in automake" ; \
2685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2687 "RANLIB=$${RANLIB}" \
2688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2693 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
2694 maybe-mostlyclean-automake:
2696 mostlyclean-automake:
2697 @[ -f ./automake/Makefile ] || exit 0; \
2698 r=`${PWD_COMMAND}`; export r; \
2699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2701 for flag in $(EXTRA_HOST_FLAGS); do \
2702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2704 echo "Doing mostlyclean in automake" ; \
2706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2708 "RANLIB=$${RANLIB}" \
2709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2714 .PHONY: maybe-clean-automake clean-automake
2715 maybe-clean-automake:
2718 @[ -f ./automake/Makefile ] || exit 0; \
2719 r=`${PWD_COMMAND}`; export r; \
2720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2722 for flag in $(EXTRA_HOST_FLAGS); do \
2723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2725 echo "Doing clean in automake" ; \
2727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2729 "RANLIB=$${RANLIB}" \
2730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2735 .PHONY: maybe-distclean-automake distclean-automake
2736 maybe-distclean-automake:
2739 @[ -f ./automake/Makefile ] || exit 0; \
2740 r=`${PWD_COMMAND}`; export r; \
2741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2743 for flag in $(EXTRA_HOST_FLAGS); do \
2744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2746 echo "Doing distclean in automake" ; \
2748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2750 "RANLIB=$${RANLIB}" \
2751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2756 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
2757 maybe-maintainer-clean-automake:
2759 maintainer-clean-automake:
2760 @[ -f ./automake/Makefile ] || exit 0; \
2761 r=`${PWD_COMMAND}`; export r; \
2762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2764 for flag in $(EXTRA_HOST_FLAGS); do \
2765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2767 echo "Doing maintainer-clean in automake" ; \
2769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2771 "RANLIB=$${RANLIB}" \
2772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2778 .PHONY: configure-bash maybe-configure-bash
2779 maybe-configure-bash:
2781 @test ! -f bash/Makefile || exit 0; \
2782 [ -d bash ] || mkdir bash; \
2783 r=`${PWD_COMMAND}`; export r; \
2784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2785 CC="$(CC)"; export CC; \
2786 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2787 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
2788 CXX="$(CXX)"; export CXX; \
2789 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2790 AR="$(AR)"; export AR; \
2791 AS="$(AS)"; export AS; \
2792 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2793 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2794 LD="$(LD)"; export LD; \
2795 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
2796 NM="$(NM)"; export NM; \
2797 RANLIB="$(RANLIB)"; export RANLIB; \
2798 WINDRES="$(WINDRES)"; export WINDRES; \
2799 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2800 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2801 echo Configuring in bash; \
2802 cd bash || exit 1; \
2805 srcdiroption="--srcdir=."; \
2807 /* | [A-Za-z]:[\\/]*) \
2808 srcdiroption="--srcdir=$(srcdir)/bash"; \
2809 libsrcdir="$$s/bash";; \
2811 srcdiroption="--srcdir=../$(srcdir)/bash"; \
2812 libsrcdir="$$s/bash";; \
2814 $(SHELL) $${libsrcdir}/configure \
2815 $(HOST_CONFIGARGS) $${srcdiroption} \
2818 .PHONY: all-bash maybe-all-bash
2820 all-bash: configure-bash
2821 @r=`${PWD_COMMAND}`; export r; \
2822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2824 (cd bash && $(MAKE) $(FLAGS_TO_PASS) all)
2826 .PHONY: check-bash maybe-check-bash
2830 @r=`${PWD_COMMAND}`; export r; \
2831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2833 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
2836 .PHONY: install-bash maybe-install-bash
2839 install-bash: installdirs
2840 @r=`${PWD_COMMAND}`; export r; \
2841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2843 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
2846 # Other targets (info, dvi, etc.)
2848 .PHONY: maybe-info-bash info-bash
2853 @[ -f ./bash/Makefile ] || exit 0; \
2854 r=`${PWD_COMMAND}`; export r; \
2855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2857 for flag in $(EXTRA_HOST_FLAGS); do \
2858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2860 echo "Doing info in bash" ; \
2862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2864 "RANLIB=$${RANLIB}" \
2865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2870 .PHONY: maybe-dvi-bash dvi-bash
2875 @[ -f ./bash/Makefile ] || exit 0; \
2876 r=`${PWD_COMMAND}`; export r; \
2877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2879 for flag in $(EXTRA_HOST_FLAGS); do \
2880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2882 echo "Doing dvi in bash" ; \
2884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2886 "RANLIB=$${RANLIB}" \
2887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2892 .PHONY: maybe-TAGS-bash TAGS-bash
2897 @[ -f ./bash/Makefile ] || exit 0; \
2898 r=`${PWD_COMMAND}`; export r; \
2899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2901 for flag in $(EXTRA_HOST_FLAGS); do \
2902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2904 echo "Doing TAGS in bash" ; \
2906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2908 "RANLIB=$${RANLIB}" \
2909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2914 .PHONY: maybe-install-info-bash install-info-bash
2915 maybe-install-info-bash:
2917 install-info-bash: \
2920 @[ -f ./bash/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 install-info in bash" ; \
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}" \
2937 .PHONY: maybe-installcheck-bash installcheck-bash
2938 maybe-installcheck-bash:
2940 installcheck-bash: \
2942 @[ -f ./bash/Makefile ] || exit 0; \
2943 r=`${PWD_COMMAND}`; export r; \
2944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2946 for flag in $(EXTRA_HOST_FLAGS); do \
2947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2949 echo "Doing installcheck in bash" ; \
2951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2953 "RANLIB=$${RANLIB}" \
2954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2959 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
2960 maybe-mostlyclean-bash:
2963 @[ -f ./bash/Makefile ] || exit 0; \
2964 r=`${PWD_COMMAND}`; export r; \
2965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2967 for flag in $(EXTRA_HOST_FLAGS); do \
2968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2970 echo "Doing mostlyclean in bash" ; \
2972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2974 "RANLIB=$${RANLIB}" \
2975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2980 .PHONY: maybe-clean-bash clean-bash
2984 @[ -f ./bash/Makefile ] || exit 0; \
2985 r=`${PWD_COMMAND}`; export r; \
2986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2988 for flag in $(EXTRA_HOST_FLAGS); do \
2989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2991 echo "Doing clean in bash" ; \
2993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2995 "RANLIB=$${RANLIB}" \
2996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3001 .PHONY: maybe-distclean-bash distclean-bash
3002 maybe-distclean-bash:
3005 @[ -f ./bash/Makefile ] || exit 0; \
3006 r=`${PWD_COMMAND}`; export r; \
3007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3009 for flag in $(EXTRA_HOST_FLAGS); do \
3010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3012 echo "Doing distclean in bash" ; \
3014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3016 "RANLIB=$${RANLIB}" \
3017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3022 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3023 maybe-maintainer-clean-bash:
3025 maintainer-clean-bash:
3026 @[ -f ./bash/Makefile ] || exit 0; \
3027 r=`${PWD_COMMAND}`; export r; \
3028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3030 for flag in $(EXTRA_HOST_FLAGS); do \
3031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3033 echo "Doing maintainer-clean in bash" ; \
3035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3037 "RANLIB=$${RANLIB}" \
3038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3044 .PHONY: configure-bfd maybe-configure-bfd
3045 maybe-configure-bfd:
3047 @test ! -f bfd/Makefile || exit 0; \
3048 [ -d bfd ] || mkdir bfd; \
3049 r=`${PWD_COMMAND}`; export r; \
3050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3051 CC="$(CC)"; export CC; \
3052 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3053 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3054 CXX="$(CXX)"; export CXX; \
3055 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3056 AR="$(AR)"; export AR; \
3057 AS="$(AS)"; export AS; \
3058 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3059 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3060 LD="$(LD)"; export LD; \
3061 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
3062 NM="$(NM)"; export NM; \
3063 RANLIB="$(RANLIB)"; export RANLIB; \
3064 WINDRES="$(WINDRES)"; export WINDRES; \
3065 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3066 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3067 echo Configuring in bfd; \
3071 srcdiroption="--srcdir=."; \
3073 /* | [A-Za-z]:[\\/]*) \
3074 srcdiroption="--srcdir=$(srcdir)/bfd"; \
3075 libsrcdir="$$s/bfd";; \
3077 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3078 libsrcdir="$$s/bfd";; \
3080 $(SHELL) $${libsrcdir}/configure \
3081 $(HOST_CONFIGARGS) $${srcdiroption} \
3084 .PHONY: all-bfd maybe-all-bfd
3086 all-bfd: configure-bfd
3087 @r=`${PWD_COMMAND}`; export r; \
3088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3090 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) all)
3092 .PHONY: check-bfd maybe-check-bfd
3096 @r=`${PWD_COMMAND}`; export r; \
3097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3099 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
3102 .PHONY: install-bfd maybe-install-bfd
3105 install-bfd: installdirs
3106 @r=`${PWD_COMMAND}`; export r; \
3107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3109 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
3112 # Other targets (info, dvi, etc.)
3114 .PHONY: maybe-info-bfd info-bfd
3119 @[ -f ./bfd/Makefile ] || exit 0; \
3120 r=`${PWD_COMMAND}`; export r; \
3121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3123 for flag in $(EXTRA_HOST_FLAGS); do \
3124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3126 echo "Doing info in bfd" ; \
3128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3130 "RANLIB=$${RANLIB}" \
3131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3136 .PHONY: maybe-dvi-bfd dvi-bfd
3141 @[ -f ./bfd/Makefile ] || exit 0; \
3142 r=`${PWD_COMMAND}`; export r; \
3143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3145 for flag in $(EXTRA_HOST_FLAGS); do \
3146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3148 echo "Doing dvi in bfd" ; \
3150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3152 "RANLIB=$${RANLIB}" \
3153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3158 .PHONY: maybe-TAGS-bfd TAGS-bfd
3163 @[ -f ./bfd/Makefile ] || exit 0; \
3164 r=`${PWD_COMMAND}`; export r; \
3165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3167 for flag in $(EXTRA_HOST_FLAGS); do \
3168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3170 echo "Doing TAGS in bfd" ; \
3172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3174 "RANLIB=$${RANLIB}" \
3175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3180 .PHONY: maybe-install-info-bfd install-info-bfd
3181 maybe-install-info-bfd:
3186 @[ -f ./bfd/Makefile ] || exit 0; \
3187 r=`${PWD_COMMAND}`; export r; \
3188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3190 for flag in $(EXTRA_HOST_FLAGS); do \
3191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3193 echo "Doing install-info in bfd" ; \
3195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3197 "RANLIB=$${RANLIB}" \
3198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3203 .PHONY: maybe-installcheck-bfd installcheck-bfd
3204 maybe-installcheck-bfd:
3208 @[ -f ./bfd/Makefile ] || exit 0; \
3209 r=`${PWD_COMMAND}`; export r; \
3210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3212 for flag in $(EXTRA_HOST_FLAGS); do \
3213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3215 echo "Doing installcheck in bfd" ; \
3217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3219 "RANLIB=$${RANLIB}" \
3220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3225 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3226 maybe-mostlyclean-bfd:
3229 @[ -f ./bfd/Makefile ] || exit 0; \
3230 r=`${PWD_COMMAND}`; export r; \
3231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3233 for flag in $(EXTRA_HOST_FLAGS); do \
3234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3236 echo "Doing mostlyclean in bfd" ; \
3238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3240 "RANLIB=$${RANLIB}" \
3241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3246 .PHONY: maybe-clean-bfd clean-bfd
3250 @[ -f ./bfd/Makefile ] || exit 0; \
3251 r=`${PWD_COMMAND}`; export r; \
3252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3254 for flag in $(EXTRA_HOST_FLAGS); do \
3255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3257 echo "Doing clean in bfd" ; \
3259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3261 "RANLIB=$${RANLIB}" \
3262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3267 .PHONY: maybe-distclean-bfd distclean-bfd
3268 maybe-distclean-bfd:
3271 @[ -f ./bfd/Makefile ] || exit 0; \
3272 r=`${PWD_COMMAND}`; export r; \
3273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3275 for flag in $(EXTRA_HOST_FLAGS); do \
3276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3278 echo "Doing distclean in bfd" ; \
3280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3282 "RANLIB=$${RANLIB}" \
3283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3288 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3289 maybe-maintainer-clean-bfd:
3291 maintainer-clean-bfd:
3292 @[ -f ./bfd/Makefile ] || exit 0; \
3293 r=`${PWD_COMMAND}`; export r; \
3294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3296 for flag in $(EXTRA_HOST_FLAGS); do \
3297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3299 echo "Doing maintainer-clean in bfd" ; \
3301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3303 "RANLIB=$${RANLIB}" \
3304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3310 .PHONY: configure-opcodes maybe-configure-opcodes
3311 maybe-configure-opcodes:
3313 @test ! -f opcodes/Makefile || exit 0; \
3314 [ -d opcodes ] || mkdir opcodes; \
3315 r=`${PWD_COMMAND}`; export r; \
3316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3317 CC="$(CC)"; export CC; \
3318 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3319 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3320 CXX="$(CXX)"; export CXX; \
3321 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3322 AR="$(AR)"; export AR; \
3323 AS="$(AS)"; export AS; \
3324 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3325 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3326 LD="$(LD)"; export LD; \
3327 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
3328 NM="$(NM)"; export NM; \
3329 RANLIB="$(RANLIB)"; export RANLIB; \
3330 WINDRES="$(WINDRES)"; export WINDRES; \
3331 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3332 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3333 echo Configuring in opcodes; \
3334 cd opcodes || exit 1; \
3337 srcdiroption="--srcdir=."; \
3339 /* | [A-Za-z]:[\\/]*) \
3340 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
3341 libsrcdir="$$s/opcodes";; \
3343 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
3344 libsrcdir="$$s/opcodes";; \
3346 $(SHELL) $${libsrcdir}/configure \
3347 $(HOST_CONFIGARGS) $${srcdiroption} \
3350 .PHONY: all-opcodes maybe-all-opcodes
3352 all-opcodes: configure-opcodes
3353 @r=`${PWD_COMMAND}`; export r; \
3354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3356 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) all)
3358 .PHONY: check-opcodes maybe-check-opcodes
3359 maybe-check-opcodes:
3362 @r=`${PWD_COMMAND}`; export r; \
3363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3365 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
3368 .PHONY: install-opcodes maybe-install-opcodes
3369 maybe-install-opcodes:
3371 install-opcodes: installdirs
3372 @r=`${PWD_COMMAND}`; export r; \
3373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3375 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
3378 # Other targets (info, dvi, etc.)
3380 .PHONY: maybe-info-opcodes info-opcodes
3385 @[ -f ./opcodes/Makefile ] || exit 0; \
3386 r=`${PWD_COMMAND}`; export r; \
3387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3389 for flag in $(EXTRA_HOST_FLAGS); do \
3390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3392 echo "Doing info in opcodes" ; \
3394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3396 "RANLIB=$${RANLIB}" \
3397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3402 .PHONY: maybe-dvi-opcodes dvi-opcodes
3407 @[ -f ./opcodes/Makefile ] || exit 0; \
3408 r=`${PWD_COMMAND}`; export r; \
3409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3411 for flag in $(EXTRA_HOST_FLAGS); do \
3412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3414 echo "Doing dvi in opcodes" ; \
3416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3418 "RANLIB=$${RANLIB}" \
3419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3424 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
3429 @[ -f ./opcodes/Makefile ] || exit 0; \
3430 r=`${PWD_COMMAND}`; export r; \
3431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3433 for flag in $(EXTRA_HOST_FLAGS); do \
3434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3436 echo "Doing TAGS in opcodes" ; \
3438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3440 "RANLIB=$${RANLIB}" \
3441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3446 .PHONY: maybe-install-info-opcodes install-info-opcodes
3447 maybe-install-info-opcodes:
3449 install-info-opcodes: \
3452 @[ -f ./opcodes/Makefile ] || exit 0; \
3453 r=`${PWD_COMMAND}`; export r; \
3454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3456 for flag in $(EXTRA_HOST_FLAGS); do \
3457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3459 echo "Doing install-info in opcodes" ; \
3461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3463 "RANLIB=$${RANLIB}" \
3464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3469 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
3470 maybe-installcheck-opcodes:
3472 installcheck-opcodes: \
3474 @[ -f ./opcodes/Makefile ] || exit 0; \
3475 r=`${PWD_COMMAND}`; export r; \
3476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3478 for flag in $(EXTRA_HOST_FLAGS); do \
3479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3481 echo "Doing installcheck in opcodes" ; \
3483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3485 "RANLIB=$${RANLIB}" \
3486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3491 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
3492 maybe-mostlyclean-opcodes:
3494 mostlyclean-opcodes:
3495 @[ -f ./opcodes/Makefile ] || exit 0; \
3496 r=`${PWD_COMMAND}`; export r; \
3497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3499 for flag in $(EXTRA_HOST_FLAGS); do \
3500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3502 echo "Doing mostlyclean in opcodes" ; \
3504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3506 "RANLIB=$${RANLIB}" \
3507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3512 .PHONY: maybe-clean-opcodes clean-opcodes
3513 maybe-clean-opcodes:
3516 @[ -f ./opcodes/Makefile ] || exit 0; \
3517 r=`${PWD_COMMAND}`; export r; \
3518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3520 for flag in $(EXTRA_HOST_FLAGS); do \
3521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3523 echo "Doing clean in opcodes" ; \
3525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3527 "RANLIB=$${RANLIB}" \
3528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3533 .PHONY: maybe-distclean-opcodes distclean-opcodes
3534 maybe-distclean-opcodes:
3537 @[ -f ./opcodes/Makefile ] || exit 0; \
3538 r=`${PWD_COMMAND}`; export r; \
3539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3541 for flag in $(EXTRA_HOST_FLAGS); do \
3542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3544 echo "Doing distclean in opcodes" ; \
3546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3548 "RANLIB=$${RANLIB}" \
3549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3554 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
3555 maybe-maintainer-clean-opcodes:
3557 maintainer-clean-opcodes:
3558 @[ -f ./opcodes/Makefile ] || exit 0; \
3559 r=`${PWD_COMMAND}`; export r; \
3560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3562 for flag in $(EXTRA_HOST_FLAGS); do \
3563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3565 echo "Doing maintainer-clean in opcodes" ; \
3567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3569 "RANLIB=$${RANLIB}" \
3570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3576 .PHONY: configure-binutils maybe-configure-binutils
3577 maybe-configure-binutils:
3579 @test ! -f binutils/Makefile || exit 0; \
3580 [ -d binutils ] || mkdir binutils; \
3581 r=`${PWD_COMMAND}`; export r; \
3582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3583 CC="$(CC)"; export CC; \
3584 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3585 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3586 CXX="$(CXX)"; export CXX; \
3587 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3588 AR="$(AR)"; export AR; \
3589 AS="$(AS)"; export AS; \
3590 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3591 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3592 LD="$(LD)"; export LD; \
3593 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
3594 NM="$(NM)"; export NM; \
3595 RANLIB="$(RANLIB)"; export RANLIB; \
3596 WINDRES="$(WINDRES)"; export WINDRES; \
3597 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3598 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3599 echo Configuring in binutils; \
3600 cd binutils || exit 1; \
3603 srcdiroption="--srcdir=."; \
3605 /* | [A-Za-z]:[\\/]*) \
3606 srcdiroption="--srcdir=$(srcdir)/binutils"; \
3607 libsrcdir="$$s/binutils";; \
3609 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
3610 libsrcdir="$$s/binutils";; \
3612 $(SHELL) $${libsrcdir}/configure \
3613 $(HOST_CONFIGARGS) $${srcdiroption} \
3616 .PHONY: all-binutils maybe-all-binutils
3618 all-binutils: configure-binutils
3619 @r=`${PWD_COMMAND}`; export r; \
3620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3622 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) all)
3624 .PHONY: check-binutils maybe-check-binutils
3625 maybe-check-binutils:
3628 @r=`${PWD_COMMAND}`; export r; \
3629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3631 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
3634 .PHONY: install-binutils maybe-install-binutils
3635 maybe-install-binutils:
3637 install-binutils: installdirs
3638 @r=`${PWD_COMMAND}`; export r; \
3639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3641 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
3644 # Other targets (info, dvi, etc.)
3646 .PHONY: maybe-info-binutils info-binutils
3647 maybe-info-binutils:
3651 @[ -f ./binutils/Makefile ] || exit 0; \
3652 r=`${PWD_COMMAND}`; export r; \
3653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3655 for flag in $(EXTRA_HOST_FLAGS); do \
3656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3658 echo "Doing info in binutils" ; \
3660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3662 "RANLIB=$${RANLIB}" \
3663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3668 .PHONY: maybe-dvi-binutils dvi-binutils
3673 @[ -f ./binutils/Makefile ] || exit 0; \
3674 r=`${PWD_COMMAND}`; export r; \
3675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3677 for flag in $(EXTRA_HOST_FLAGS); do \
3678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3680 echo "Doing dvi in binutils" ; \
3682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3684 "RANLIB=$${RANLIB}" \
3685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3690 .PHONY: maybe-TAGS-binutils TAGS-binutils
3691 maybe-TAGS-binutils:
3695 @[ -f ./binutils/Makefile ] || exit 0; \
3696 r=`${PWD_COMMAND}`; export r; \
3697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3699 for flag in $(EXTRA_HOST_FLAGS); do \
3700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3702 echo "Doing TAGS in binutils" ; \
3704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3706 "RANLIB=$${RANLIB}" \
3707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3712 .PHONY: maybe-install-info-binutils install-info-binutils
3713 maybe-install-info-binutils:
3715 install-info-binutils: \
3716 configure-binutils \
3718 @[ -f ./binutils/Makefile ] || exit 0; \
3719 r=`${PWD_COMMAND}`; export r; \
3720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3722 for flag in $(EXTRA_HOST_FLAGS); do \
3723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3725 echo "Doing install-info in binutils" ; \
3727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3729 "RANLIB=$${RANLIB}" \
3730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3735 .PHONY: maybe-installcheck-binutils installcheck-binutils
3736 maybe-installcheck-binutils:
3738 installcheck-binutils: \
3740 @[ -f ./binutils/Makefile ] || exit 0; \
3741 r=`${PWD_COMMAND}`; export r; \
3742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3744 for flag in $(EXTRA_HOST_FLAGS); do \
3745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3747 echo "Doing installcheck in binutils" ; \
3749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3751 "RANLIB=$${RANLIB}" \
3752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3757 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
3758 maybe-mostlyclean-binutils:
3760 mostlyclean-binutils:
3761 @[ -f ./binutils/Makefile ] || exit 0; \
3762 r=`${PWD_COMMAND}`; export r; \
3763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3765 for flag in $(EXTRA_HOST_FLAGS); do \
3766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3768 echo "Doing mostlyclean in binutils" ; \
3770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3772 "RANLIB=$${RANLIB}" \
3773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3778 .PHONY: maybe-clean-binutils clean-binutils
3779 maybe-clean-binutils:
3782 @[ -f ./binutils/Makefile ] || exit 0; \
3783 r=`${PWD_COMMAND}`; export r; \
3784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3786 for flag in $(EXTRA_HOST_FLAGS); do \
3787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3789 echo "Doing clean in binutils" ; \
3791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3793 "RANLIB=$${RANLIB}" \
3794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3799 .PHONY: maybe-distclean-binutils distclean-binutils
3800 maybe-distclean-binutils:
3803 @[ -f ./binutils/Makefile ] || exit 0; \
3804 r=`${PWD_COMMAND}`; export r; \
3805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3807 for flag in $(EXTRA_HOST_FLAGS); do \
3808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3810 echo "Doing distclean in binutils" ; \
3812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3814 "RANLIB=$${RANLIB}" \
3815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3820 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
3821 maybe-maintainer-clean-binutils:
3823 maintainer-clean-binutils:
3824 @[ -f ./binutils/Makefile ] || exit 0; \
3825 r=`${PWD_COMMAND}`; export r; \
3826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3828 for flag in $(EXTRA_HOST_FLAGS); do \
3829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3831 echo "Doing maintainer-clean in binutils" ; \
3833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3835 "RANLIB=$${RANLIB}" \
3836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3842 .PHONY: configure-bison maybe-configure-bison
3843 maybe-configure-bison:
3845 @test ! -f bison/Makefile || exit 0; \
3846 [ -d bison ] || mkdir bison; \
3847 r=`${PWD_COMMAND}`; export r; \
3848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3849 CC="$(CC)"; export CC; \
3850 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3851 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3852 CXX="$(CXX)"; export CXX; \
3853 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3854 AR="$(AR)"; export AR; \
3855 AS="$(AS)"; export AS; \
3856 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3857 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3858 LD="$(LD)"; export LD; \
3859 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
3860 NM="$(NM)"; export NM; \
3861 RANLIB="$(RANLIB)"; export RANLIB; \
3862 WINDRES="$(WINDRES)"; export WINDRES; \
3863 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3864 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3865 echo Configuring in bison; \
3866 cd bison || exit 1; \
3869 srcdiroption="--srcdir=."; \
3871 /* | [A-Za-z]:[\\/]*) \
3872 srcdiroption="--srcdir=$(srcdir)/bison"; \
3873 libsrcdir="$$s/bison";; \
3875 srcdiroption="--srcdir=../$(srcdir)/bison"; \
3876 libsrcdir="$$s/bison";; \
3878 $(SHELL) $${libsrcdir}/configure \
3879 $(HOST_CONFIGARGS) $${srcdiroption} \
3882 .PHONY: all-bison maybe-all-bison
3884 all-bison: configure-bison
3885 @r=`${PWD_COMMAND}`; export r; \
3886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3888 (cd bison && $(MAKE) $(FLAGS_TO_PASS) all)
3890 .PHONY: check-bison maybe-check-bison
3893 # This module is only tested in a native toolchain.
3895 @if [ '$(host)' = '$(target)' ] ; then \
3896 r=`${PWD_COMMAND}`; export r; \
3897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3899 (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
3903 .PHONY: install-bison maybe-install-bison
3904 maybe-install-bison:
3906 install-bison: installdirs
3907 @r=`${PWD_COMMAND}`; export r; \
3908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3910 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
3913 # Other targets (info, dvi, etc.)
3915 .PHONY: maybe-info-bison info-bison
3920 @[ -f ./bison/Makefile ] || exit 0; \
3921 r=`${PWD_COMMAND}`; export r; \
3922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3924 for flag in $(EXTRA_HOST_FLAGS); do \
3925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3927 echo "Doing info in bison" ; \
3929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3931 "RANLIB=$${RANLIB}" \
3932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3937 .PHONY: maybe-dvi-bison dvi-bison
3942 @[ -f ./bison/Makefile ] || exit 0; \
3943 r=`${PWD_COMMAND}`; export r; \
3944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3946 for flag in $(EXTRA_HOST_FLAGS); do \
3947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3949 echo "Doing dvi in bison" ; \
3951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3953 "RANLIB=$${RANLIB}" \
3954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3959 .PHONY: maybe-TAGS-bison TAGS-bison
3964 @[ -f ./bison/Makefile ] || exit 0; \
3965 r=`${PWD_COMMAND}`; export r; \
3966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3968 for flag in $(EXTRA_HOST_FLAGS); do \
3969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3971 echo "Doing TAGS in bison" ; \
3973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3975 "RANLIB=$${RANLIB}" \
3976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3981 .PHONY: maybe-install-info-bison install-info-bison
3982 maybe-install-info-bison:
3984 install-info-bison: \
3987 @[ -f ./bison/Makefile ] || exit 0; \
3988 r=`${PWD_COMMAND}`; export r; \
3989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3991 for flag in $(EXTRA_HOST_FLAGS); do \
3992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3994 echo "Doing install-info in bison" ; \
3996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3998 "RANLIB=$${RANLIB}" \
3999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4004 .PHONY: maybe-installcheck-bison installcheck-bison
4005 maybe-installcheck-bison:
4007 installcheck-bison: \
4009 @[ -f ./bison/Makefile ] || exit 0; \
4010 r=`${PWD_COMMAND}`; export r; \
4011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4013 for flag in $(EXTRA_HOST_FLAGS); do \
4014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4016 echo "Doing installcheck in bison" ; \
4018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4020 "RANLIB=$${RANLIB}" \
4021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4026 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
4027 maybe-mostlyclean-bison:
4030 @[ -f ./bison/Makefile ] || exit 0; \
4031 r=`${PWD_COMMAND}`; export r; \
4032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4034 for flag in $(EXTRA_HOST_FLAGS); do \
4035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4037 echo "Doing mostlyclean in bison" ; \
4039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4041 "RANLIB=$${RANLIB}" \
4042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4047 .PHONY: maybe-clean-bison clean-bison
4051 @[ -f ./bison/Makefile ] || exit 0; \
4052 r=`${PWD_COMMAND}`; export r; \
4053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4055 for flag in $(EXTRA_HOST_FLAGS); do \
4056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4058 echo "Doing clean in bison" ; \
4060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4062 "RANLIB=$${RANLIB}" \
4063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4068 .PHONY: maybe-distclean-bison distclean-bison
4069 maybe-distclean-bison:
4072 @[ -f ./bison/Makefile ] || exit 0; \
4073 r=`${PWD_COMMAND}`; export r; \
4074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4076 for flag in $(EXTRA_HOST_FLAGS); do \
4077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4079 echo "Doing distclean in bison" ; \
4081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4083 "RANLIB=$${RANLIB}" \
4084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4089 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
4090 maybe-maintainer-clean-bison:
4092 maintainer-clean-bison:
4093 @[ -f ./bison/Makefile ] || exit 0; \
4094 r=`${PWD_COMMAND}`; export r; \
4095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4097 for flag in $(EXTRA_HOST_FLAGS); do \
4098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4100 echo "Doing maintainer-clean in bison" ; \
4102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4104 "RANLIB=$${RANLIB}" \
4105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4111 .PHONY: configure-byacc maybe-configure-byacc
4112 maybe-configure-byacc:
4114 @test ! -f byacc/Makefile || exit 0; \
4115 [ -d byacc ] || mkdir byacc; \
4116 r=`${PWD_COMMAND}`; export r; \
4117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4118 CC="$(CC)"; export CC; \
4119 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4120 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
4121 CXX="$(CXX)"; export CXX; \
4122 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4123 AR="$(AR)"; export AR; \
4124 AS="$(AS)"; export AS; \
4125 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4126 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4127 LD="$(LD)"; export LD; \
4128 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
4129 NM="$(NM)"; export NM; \
4130 RANLIB="$(RANLIB)"; export RANLIB; \
4131 WINDRES="$(WINDRES)"; export WINDRES; \
4132 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4133 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4134 echo Configuring in byacc; \
4135 cd byacc || exit 1; \
4138 srcdiroption="--srcdir=."; \
4140 /* | [A-Za-z]:[\\/]*) \
4141 srcdiroption="--srcdir=$(srcdir)/byacc"; \
4142 libsrcdir="$$s/byacc";; \
4144 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
4145 libsrcdir="$$s/byacc";; \
4147 $(SHELL) $${libsrcdir}/configure \
4148 $(HOST_CONFIGARGS) $${srcdiroption} \
4151 .PHONY: all-byacc maybe-all-byacc
4153 all-byacc: configure-byacc
4154 @r=`${PWD_COMMAND}`; export r; \
4155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4157 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) all)
4159 .PHONY: check-byacc maybe-check-byacc
4162 # This module is only tested in a native toolchain.
4164 @if [ '$(host)' = '$(target)' ] ; then \
4165 r=`${PWD_COMMAND}`; export r; \
4166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4168 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \
4172 .PHONY: install-byacc maybe-install-byacc
4173 maybe-install-byacc:
4175 install-byacc: installdirs
4176 @r=`${PWD_COMMAND}`; export r; \
4177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4179 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
4182 # Other targets (info, dvi, etc.)
4184 .PHONY: maybe-info-byacc info-byacc
4189 @[ -f ./byacc/Makefile ] || exit 0; \
4190 r=`${PWD_COMMAND}`; export r; \
4191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4193 for flag in $(EXTRA_HOST_FLAGS); do \
4194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4196 echo "Doing info in byacc" ; \
4198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4200 "RANLIB=$${RANLIB}" \
4201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4206 .PHONY: maybe-dvi-byacc dvi-byacc
4211 @[ -f ./byacc/Makefile ] || exit 0; \
4212 r=`${PWD_COMMAND}`; export r; \
4213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4215 for flag in $(EXTRA_HOST_FLAGS); do \
4216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4218 echo "Doing dvi in byacc" ; \
4220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4222 "RANLIB=$${RANLIB}" \
4223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4228 .PHONY: maybe-TAGS-byacc TAGS-byacc
4233 @[ -f ./byacc/Makefile ] || exit 0; \
4234 r=`${PWD_COMMAND}`; export r; \
4235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4237 for flag in $(EXTRA_HOST_FLAGS); do \
4238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4240 echo "Doing TAGS in byacc" ; \
4242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4244 "RANLIB=$${RANLIB}" \
4245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4250 .PHONY: maybe-install-info-byacc install-info-byacc
4251 maybe-install-info-byacc:
4253 install-info-byacc: \
4256 @[ -f ./byacc/Makefile ] || exit 0; \
4257 r=`${PWD_COMMAND}`; export r; \
4258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4260 for flag in $(EXTRA_HOST_FLAGS); do \
4261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4263 echo "Doing install-info in byacc" ; \
4265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4267 "RANLIB=$${RANLIB}" \
4268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4273 .PHONY: maybe-installcheck-byacc installcheck-byacc
4274 maybe-installcheck-byacc:
4276 installcheck-byacc: \
4278 @[ -f ./byacc/Makefile ] || exit 0; \
4279 r=`${PWD_COMMAND}`; export r; \
4280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4282 for flag in $(EXTRA_HOST_FLAGS); do \
4283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4285 echo "Doing installcheck in byacc" ; \
4287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4289 "RANLIB=$${RANLIB}" \
4290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4295 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
4296 maybe-mostlyclean-byacc:
4299 @[ -f ./byacc/Makefile ] || exit 0; \
4300 r=`${PWD_COMMAND}`; export r; \
4301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4303 for flag in $(EXTRA_HOST_FLAGS); do \
4304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4306 echo "Doing mostlyclean in byacc" ; \
4308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4310 "RANLIB=$${RANLIB}" \
4311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4316 .PHONY: maybe-clean-byacc clean-byacc
4320 @[ -f ./byacc/Makefile ] || exit 0; \
4321 r=`${PWD_COMMAND}`; export r; \
4322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4324 for flag in $(EXTRA_HOST_FLAGS); do \
4325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4327 echo "Doing clean in byacc" ; \
4329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4331 "RANLIB=$${RANLIB}" \
4332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4337 .PHONY: maybe-distclean-byacc distclean-byacc
4338 maybe-distclean-byacc:
4341 @[ -f ./byacc/Makefile ] || exit 0; \
4342 r=`${PWD_COMMAND}`; export r; \
4343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4345 for flag in $(EXTRA_HOST_FLAGS); do \
4346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4348 echo "Doing distclean in byacc" ; \
4350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4352 "RANLIB=$${RANLIB}" \
4353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4358 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
4359 maybe-maintainer-clean-byacc:
4361 maintainer-clean-byacc:
4362 @[ -f ./byacc/Makefile ] || exit 0; \
4363 r=`${PWD_COMMAND}`; export r; \
4364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4366 for flag in $(EXTRA_HOST_FLAGS); do \
4367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4369 echo "Doing maintainer-clean in byacc" ; \
4371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4373 "RANLIB=$${RANLIB}" \
4374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4380 .PHONY: configure-bzip2 maybe-configure-bzip2
4381 maybe-configure-bzip2:
4383 @test ! -f bzip2/Makefile || exit 0; \
4384 [ -d bzip2 ] || mkdir bzip2; \
4385 r=`${PWD_COMMAND}`; export r; \
4386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4387 CC="$(CC)"; export CC; \
4388 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4389 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
4390 CXX="$(CXX)"; export CXX; \
4391 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4392 AR="$(AR)"; export AR; \
4393 AS="$(AS)"; export AS; \
4394 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4395 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4396 LD="$(LD)"; export LD; \
4397 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
4398 NM="$(NM)"; export NM; \
4399 RANLIB="$(RANLIB)"; export RANLIB; \
4400 WINDRES="$(WINDRES)"; export WINDRES; \
4401 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4402 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4403 echo Configuring in bzip2; \
4404 cd bzip2 || exit 1; \
4407 srcdiroption="--srcdir=."; \
4409 /* | [A-Za-z]:[\\/]*) \
4410 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
4411 libsrcdir="$$s/bzip2";; \
4413 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
4414 libsrcdir="$$s/bzip2";; \
4416 $(SHELL) $${libsrcdir}/configure \
4417 $(HOST_CONFIGARGS) $${srcdiroption} \
4420 .PHONY: all-bzip2 maybe-all-bzip2
4422 all-bzip2: configure-bzip2
4423 @r=`${PWD_COMMAND}`; export r; \
4424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4426 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) all)
4428 .PHONY: check-bzip2 maybe-check-bzip2
4432 @r=`${PWD_COMMAND}`; export r; \
4433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4435 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
4438 .PHONY: install-bzip2 maybe-install-bzip2
4439 maybe-install-bzip2:
4441 install-bzip2: installdirs
4442 @r=`${PWD_COMMAND}`; export r; \
4443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4445 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
4448 # Other targets (info, dvi, etc.)
4450 .PHONY: maybe-info-bzip2 info-bzip2
4455 @[ -f ./bzip2/Makefile ] || exit 0; \
4456 r=`${PWD_COMMAND}`; export r; \
4457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4459 for flag in $(EXTRA_HOST_FLAGS); do \
4460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4462 echo "Doing info in bzip2" ; \
4464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4466 "RANLIB=$${RANLIB}" \
4467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4472 .PHONY: maybe-dvi-bzip2 dvi-bzip2
4477 @[ -f ./bzip2/Makefile ] || exit 0; \
4478 r=`${PWD_COMMAND}`; export r; \
4479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4481 for flag in $(EXTRA_HOST_FLAGS); do \
4482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4484 echo "Doing dvi in bzip2" ; \
4486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4488 "RANLIB=$${RANLIB}" \
4489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4494 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
4499 @[ -f ./bzip2/Makefile ] || exit 0; \
4500 r=`${PWD_COMMAND}`; export r; \
4501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4503 for flag in $(EXTRA_HOST_FLAGS); do \
4504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4506 echo "Doing TAGS in bzip2" ; \
4508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4510 "RANLIB=$${RANLIB}" \
4511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4516 .PHONY: maybe-install-info-bzip2 install-info-bzip2
4517 maybe-install-info-bzip2:
4519 install-info-bzip2: \
4522 @[ -f ./bzip2/Makefile ] || exit 0; \
4523 r=`${PWD_COMMAND}`; export r; \
4524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4526 for flag in $(EXTRA_HOST_FLAGS); do \
4527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4529 echo "Doing install-info in bzip2" ; \
4531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4533 "RANLIB=$${RANLIB}" \
4534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4539 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
4540 maybe-installcheck-bzip2:
4542 installcheck-bzip2: \
4544 @[ -f ./bzip2/Makefile ] || exit 0; \
4545 r=`${PWD_COMMAND}`; export r; \
4546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4548 for flag in $(EXTRA_HOST_FLAGS); do \
4549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4551 echo "Doing installcheck in bzip2" ; \
4553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4555 "RANLIB=$${RANLIB}" \
4556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4561 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
4562 maybe-mostlyclean-bzip2:
4565 @[ -f ./bzip2/Makefile ] || exit 0; \
4566 r=`${PWD_COMMAND}`; export r; \
4567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4569 for flag in $(EXTRA_HOST_FLAGS); do \
4570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4572 echo "Doing mostlyclean in bzip2" ; \
4574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4576 "RANLIB=$${RANLIB}" \
4577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4582 .PHONY: maybe-clean-bzip2 clean-bzip2
4586 @[ -f ./bzip2/Makefile ] || exit 0; \
4587 r=`${PWD_COMMAND}`; export r; \
4588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4590 for flag in $(EXTRA_HOST_FLAGS); do \
4591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4593 echo "Doing clean in bzip2" ; \
4595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4597 "RANLIB=$${RANLIB}" \
4598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4603 .PHONY: maybe-distclean-bzip2 distclean-bzip2
4604 maybe-distclean-bzip2:
4607 @[ -f ./bzip2/Makefile ] || exit 0; \
4608 r=`${PWD_COMMAND}`; export r; \
4609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4611 for flag in $(EXTRA_HOST_FLAGS); do \
4612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4614 echo "Doing distclean in bzip2" ; \
4616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4618 "RANLIB=$${RANLIB}" \
4619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4624 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
4625 maybe-maintainer-clean-bzip2:
4627 maintainer-clean-bzip2:
4628 @[ -f ./bzip2/Makefile ] || exit 0; \
4629 r=`${PWD_COMMAND}`; export r; \
4630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4632 for flag in $(EXTRA_HOST_FLAGS); do \
4633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4635 echo "Doing maintainer-clean in bzip2" ; \
4637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4639 "RANLIB=$${RANLIB}" \
4640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4646 .PHONY: configure-dejagnu maybe-configure-dejagnu
4647 maybe-configure-dejagnu:
4649 @test ! -f dejagnu/Makefile || exit 0; \
4650 [ -d dejagnu ] || mkdir dejagnu; \
4651 r=`${PWD_COMMAND}`; export r; \
4652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4653 CC="$(CC)"; export CC; \
4654 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4655 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
4656 CXX="$(CXX)"; export CXX; \
4657 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4658 AR="$(AR)"; export AR; \
4659 AS="$(AS)"; export AS; \
4660 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4661 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4662 LD="$(LD)"; export LD; \
4663 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
4664 NM="$(NM)"; export NM; \
4665 RANLIB="$(RANLIB)"; export RANLIB; \
4666 WINDRES="$(WINDRES)"; export WINDRES; \
4667 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4668 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4669 echo Configuring in dejagnu; \
4670 cd dejagnu || exit 1; \
4673 srcdiroption="--srcdir=."; \
4675 /* | [A-Za-z]:[\\/]*) \
4676 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
4677 libsrcdir="$$s/dejagnu";; \
4679 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
4680 libsrcdir="$$s/dejagnu";; \
4682 $(SHELL) $${libsrcdir}/configure \
4683 $(HOST_CONFIGARGS) $${srcdiroption} \
4686 .PHONY: all-dejagnu maybe-all-dejagnu
4688 all-dejagnu: configure-dejagnu
4689 @r=`${PWD_COMMAND}`; export r; \
4690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4692 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) all)
4694 .PHONY: check-dejagnu maybe-check-dejagnu
4695 maybe-check-dejagnu:
4698 @r=`${PWD_COMMAND}`; export r; \
4699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4701 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
4704 .PHONY: install-dejagnu maybe-install-dejagnu
4705 maybe-install-dejagnu:
4707 install-dejagnu: installdirs
4708 @r=`${PWD_COMMAND}`; export r; \
4709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4711 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
4714 # Other targets (info, dvi, etc.)
4716 .PHONY: maybe-info-dejagnu info-dejagnu
4721 @[ -f ./dejagnu/Makefile ] || exit 0; \
4722 r=`${PWD_COMMAND}`; export r; \
4723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4725 for flag in $(EXTRA_HOST_FLAGS); do \
4726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4728 echo "Doing info in dejagnu" ; \
4730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4732 "RANLIB=$${RANLIB}" \
4733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4738 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
4743 @[ -f ./dejagnu/Makefile ] || exit 0; \
4744 r=`${PWD_COMMAND}`; export r; \
4745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4747 for flag in $(EXTRA_HOST_FLAGS); do \
4748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4750 echo "Doing dvi in dejagnu" ; \
4752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4754 "RANLIB=$${RANLIB}" \
4755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4760 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
4765 @[ -f ./dejagnu/Makefile ] || exit 0; \
4766 r=`${PWD_COMMAND}`; export r; \
4767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4769 for flag in $(EXTRA_HOST_FLAGS); do \
4770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4772 echo "Doing TAGS in dejagnu" ; \
4774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4776 "RANLIB=$${RANLIB}" \
4777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4782 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
4783 maybe-install-info-dejagnu:
4785 install-info-dejagnu: \
4788 @[ -f ./dejagnu/Makefile ] || exit 0; \
4789 r=`${PWD_COMMAND}`; export r; \
4790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4792 for flag in $(EXTRA_HOST_FLAGS); do \
4793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4795 echo "Doing install-info in dejagnu" ; \
4797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4799 "RANLIB=$${RANLIB}" \
4800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4805 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
4806 maybe-installcheck-dejagnu:
4808 installcheck-dejagnu: \
4810 @[ -f ./dejagnu/Makefile ] || exit 0; \
4811 r=`${PWD_COMMAND}`; export r; \
4812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4814 for flag in $(EXTRA_HOST_FLAGS); do \
4815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4817 echo "Doing installcheck in dejagnu" ; \
4819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4821 "RANLIB=$${RANLIB}" \
4822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4827 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
4828 maybe-mostlyclean-dejagnu:
4830 mostlyclean-dejagnu:
4831 @[ -f ./dejagnu/Makefile ] || exit 0; \
4832 r=`${PWD_COMMAND}`; export r; \
4833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4835 for flag in $(EXTRA_HOST_FLAGS); do \
4836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4838 echo "Doing mostlyclean in dejagnu" ; \
4840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4842 "RANLIB=$${RANLIB}" \
4843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4848 .PHONY: maybe-clean-dejagnu clean-dejagnu
4849 maybe-clean-dejagnu:
4852 @[ -f ./dejagnu/Makefile ] || exit 0; \
4853 r=`${PWD_COMMAND}`; export r; \
4854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4856 for flag in $(EXTRA_HOST_FLAGS); do \
4857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4859 echo "Doing clean in dejagnu" ; \
4861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4863 "RANLIB=$${RANLIB}" \
4864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4869 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
4870 maybe-distclean-dejagnu:
4873 @[ -f ./dejagnu/Makefile ] || exit 0; \
4874 r=`${PWD_COMMAND}`; export r; \
4875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4877 for flag in $(EXTRA_HOST_FLAGS); do \
4878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4880 echo "Doing distclean in dejagnu" ; \
4882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4884 "RANLIB=$${RANLIB}" \
4885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4890 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
4891 maybe-maintainer-clean-dejagnu:
4893 maintainer-clean-dejagnu:
4894 @[ -f ./dejagnu/Makefile ] || exit 0; \
4895 r=`${PWD_COMMAND}`; export r; \
4896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4898 for flag in $(EXTRA_HOST_FLAGS); do \
4899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4901 echo "Doing maintainer-clean in dejagnu" ; \
4903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4905 "RANLIB=$${RANLIB}" \
4906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4912 .PHONY: configure-diff maybe-configure-diff
4913 maybe-configure-diff:
4915 @test ! -f diff/Makefile || exit 0; \
4916 [ -d diff ] || mkdir diff; \
4917 r=`${PWD_COMMAND}`; export r; \
4918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4919 CC="$(CC)"; export CC; \
4920 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4921 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
4922 CXX="$(CXX)"; export CXX; \
4923 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4924 AR="$(AR)"; export AR; \
4925 AS="$(AS)"; export AS; \
4926 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4927 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4928 LD="$(LD)"; export LD; \
4929 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
4930 NM="$(NM)"; export NM; \
4931 RANLIB="$(RANLIB)"; export RANLIB; \
4932 WINDRES="$(WINDRES)"; export WINDRES; \
4933 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4934 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4935 echo Configuring in diff; \
4936 cd diff || exit 1; \
4939 srcdiroption="--srcdir=."; \
4941 /* | [A-Za-z]:[\\/]*) \
4942 srcdiroption="--srcdir=$(srcdir)/diff"; \
4943 libsrcdir="$$s/diff";; \
4945 srcdiroption="--srcdir=../$(srcdir)/diff"; \
4946 libsrcdir="$$s/diff";; \
4948 $(SHELL) $${libsrcdir}/configure \
4949 $(HOST_CONFIGARGS) $${srcdiroption} \
4952 .PHONY: all-diff maybe-all-diff
4954 all-diff: configure-diff
4955 @r=`${PWD_COMMAND}`; export r; \
4956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4958 (cd diff && $(MAKE) $(FLAGS_TO_PASS) all)
4960 .PHONY: check-diff maybe-check-diff
4964 @r=`${PWD_COMMAND}`; export r; \
4965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4967 (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
4970 .PHONY: install-diff maybe-install-diff
4973 install-diff: installdirs
4974 @r=`${PWD_COMMAND}`; export r; \
4975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977 (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
4980 # Other targets (info, dvi, etc.)
4982 .PHONY: maybe-info-diff info-diff
4987 @[ -f ./diff/Makefile ] || exit 0; \
4988 r=`${PWD_COMMAND}`; export r; \
4989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4991 for flag in $(EXTRA_HOST_FLAGS); do \
4992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4994 echo "Doing info in diff" ; \
4996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4998 "RANLIB=$${RANLIB}" \
4999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5004 .PHONY: maybe-dvi-diff dvi-diff
5009 @[ -f ./diff/Makefile ] || exit 0; \
5010 r=`${PWD_COMMAND}`; export r; \
5011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5013 for flag in $(EXTRA_HOST_FLAGS); do \
5014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5016 echo "Doing dvi in diff" ; \
5018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5020 "RANLIB=$${RANLIB}" \
5021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5026 .PHONY: maybe-TAGS-diff TAGS-diff
5031 @[ -f ./diff/Makefile ] || exit 0; \
5032 r=`${PWD_COMMAND}`; export r; \
5033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5035 for flag in $(EXTRA_HOST_FLAGS); do \
5036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5038 echo "Doing TAGS in diff" ; \
5040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5042 "RANLIB=$${RANLIB}" \
5043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5048 .PHONY: maybe-install-info-diff install-info-diff
5049 maybe-install-info-diff:
5051 install-info-diff: \
5054 @[ -f ./diff/Makefile ] || exit 0; \
5055 r=`${PWD_COMMAND}`; export r; \
5056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5058 for flag in $(EXTRA_HOST_FLAGS); do \
5059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5061 echo "Doing install-info in diff" ; \
5063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5065 "RANLIB=$${RANLIB}" \
5066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5071 .PHONY: maybe-installcheck-diff installcheck-diff
5072 maybe-installcheck-diff:
5074 installcheck-diff: \
5076 @[ -f ./diff/Makefile ] || exit 0; \
5077 r=`${PWD_COMMAND}`; export r; \
5078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5080 for flag in $(EXTRA_HOST_FLAGS); do \
5081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5083 echo "Doing installcheck in diff" ; \
5085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5087 "RANLIB=$${RANLIB}" \
5088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5093 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
5094 maybe-mostlyclean-diff:
5097 @[ -f ./diff/Makefile ] || exit 0; \
5098 r=`${PWD_COMMAND}`; export r; \
5099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5101 for flag in $(EXTRA_HOST_FLAGS); do \
5102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5104 echo "Doing mostlyclean in diff" ; \
5106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5108 "RANLIB=$${RANLIB}" \
5109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5114 .PHONY: maybe-clean-diff clean-diff
5118 @[ -f ./diff/Makefile ] || exit 0; \
5119 r=`${PWD_COMMAND}`; export r; \
5120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5122 for flag in $(EXTRA_HOST_FLAGS); do \
5123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5125 echo "Doing clean in diff" ; \
5127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5129 "RANLIB=$${RANLIB}" \
5130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5135 .PHONY: maybe-distclean-diff distclean-diff
5136 maybe-distclean-diff:
5139 @[ -f ./diff/Makefile ] || exit 0; \
5140 r=`${PWD_COMMAND}`; export r; \
5141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5143 for flag in $(EXTRA_HOST_FLAGS); do \
5144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5146 echo "Doing distclean in diff" ; \
5148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5150 "RANLIB=$${RANLIB}" \
5151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5156 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
5157 maybe-maintainer-clean-diff:
5159 maintainer-clean-diff:
5160 @[ -f ./diff/Makefile ] || exit 0; \
5161 r=`${PWD_COMMAND}`; export r; \
5162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5164 for flag in $(EXTRA_HOST_FLAGS); do \
5165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5167 echo "Doing maintainer-clean in diff" ; \
5169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5171 "RANLIB=$${RANLIB}" \
5172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5178 .PHONY: configure-dosutils maybe-configure-dosutils
5179 maybe-configure-dosutils:
5181 @test ! -f dosutils/Makefile || exit 0; \
5182 [ -d dosutils ] || mkdir dosutils; \
5183 r=`${PWD_COMMAND}`; export r; \
5184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5185 CC="$(CC)"; export CC; \
5186 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5187 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
5188 CXX="$(CXX)"; export CXX; \
5189 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5190 AR="$(AR)"; export AR; \
5191 AS="$(AS)"; export AS; \
5192 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5193 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5194 LD="$(LD)"; export LD; \
5195 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
5196 NM="$(NM)"; export NM; \
5197 RANLIB="$(RANLIB)"; export RANLIB; \
5198 WINDRES="$(WINDRES)"; export WINDRES; \
5199 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5200 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5201 echo Configuring in dosutils; \
5202 cd dosutils || exit 1; \
5205 srcdiroption="--srcdir=."; \
5207 /* | [A-Za-z]:[\\/]*) \
5208 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
5209 libsrcdir="$$s/dosutils";; \
5211 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
5212 libsrcdir="$$s/dosutils";; \
5214 $(SHELL) $${libsrcdir}/configure \
5215 $(HOST_CONFIGARGS) $${srcdiroption} \
5218 .PHONY: all-dosutils maybe-all-dosutils
5220 all-dosutils: configure-dosutils
5221 @r=`${PWD_COMMAND}`; export r; \
5222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5224 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) all)
5226 .PHONY: check-dosutils maybe-check-dosutils
5227 maybe-check-dosutils:
5232 .PHONY: install-dosutils maybe-install-dosutils
5233 maybe-install-dosutils:
5235 install-dosutils: installdirs
5236 @r=`${PWD_COMMAND}`; export r; \
5237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5239 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
5242 # Other targets (info, dvi, etc.)
5244 .PHONY: maybe-info-dosutils info-dosutils
5245 maybe-info-dosutils:
5249 @[ -f ./dosutils/Makefile ] || exit 0; \
5250 r=`${PWD_COMMAND}`; export r; \
5251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5253 for flag in $(EXTRA_HOST_FLAGS); do \
5254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5256 echo "Doing info in dosutils" ; \
5258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5260 "RANLIB=$${RANLIB}" \
5261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5266 .PHONY: maybe-dvi-dosutils dvi-dosutils
5271 @[ -f ./dosutils/Makefile ] || exit 0; \
5272 r=`${PWD_COMMAND}`; export r; \
5273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5275 for flag in $(EXTRA_HOST_FLAGS); do \
5276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5278 echo "Doing dvi in dosutils" ; \
5280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5282 "RANLIB=$${RANLIB}" \
5283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5288 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
5289 maybe-TAGS-dosutils:
5293 @[ -f ./dosutils/Makefile ] || exit 0; \
5294 r=`${PWD_COMMAND}`; export r; \
5295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5297 for flag in $(EXTRA_HOST_FLAGS); do \
5298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5300 echo "Doing TAGS in dosutils" ; \
5302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5304 "RANLIB=$${RANLIB}" \
5305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5310 .PHONY: maybe-install-info-dosutils install-info-dosutils
5311 maybe-install-info-dosutils:
5313 install-info-dosutils: \
5314 configure-dosutils \
5316 @[ -f ./dosutils/Makefile ] || exit 0; \
5317 r=`${PWD_COMMAND}`; export r; \
5318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5320 for flag in $(EXTRA_HOST_FLAGS); do \
5321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5323 echo "Doing install-info in dosutils" ; \
5325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5327 "RANLIB=$${RANLIB}" \
5328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5333 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
5334 maybe-installcheck-dosutils:
5336 installcheck-dosutils: \
5338 @[ -f ./dosutils/Makefile ] || exit 0; \
5339 r=`${PWD_COMMAND}`; export r; \
5340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5342 for flag in $(EXTRA_HOST_FLAGS); do \
5343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5345 echo "Doing installcheck in dosutils" ; \
5347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5349 "RANLIB=$${RANLIB}" \
5350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5355 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
5356 maybe-mostlyclean-dosutils:
5358 mostlyclean-dosutils:
5359 @[ -f ./dosutils/Makefile ] || exit 0; \
5360 r=`${PWD_COMMAND}`; export r; \
5361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5363 for flag in $(EXTRA_HOST_FLAGS); do \
5364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5366 echo "Doing mostlyclean in dosutils" ; \
5368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5370 "RANLIB=$${RANLIB}" \
5371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5376 .PHONY: maybe-clean-dosutils clean-dosutils
5377 maybe-clean-dosutils:
5380 @[ -f ./dosutils/Makefile ] || exit 0; \
5381 r=`${PWD_COMMAND}`; export r; \
5382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5384 for flag in $(EXTRA_HOST_FLAGS); do \
5385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5387 echo "Doing clean in dosutils" ; \
5389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5391 "RANLIB=$${RANLIB}" \
5392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5397 .PHONY: maybe-distclean-dosutils distclean-dosutils
5398 maybe-distclean-dosutils:
5401 @[ -f ./dosutils/Makefile ] || exit 0; \
5402 r=`${PWD_COMMAND}`; export r; \
5403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5405 for flag in $(EXTRA_HOST_FLAGS); do \
5406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5408 echo "Doing distclean in dosutils" ; \
5410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5412 "RANLIB=$${RANLIB}" \
5413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5418 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
5419 maybe-maintainer-clean-dosutils:
5421 maintainer-clean-dosutils:
5422 @[ -f ./dosutils/Makefile ] || exit 0; \
5423 r=`${PWD_COMMAND}`; export r; \
5424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5426 for flag in $(EXTRA_HOST_FLAGS); do \
5427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5429 echo "Doing maintainer-clean in dosutils" ; \
5431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5433 "RANLIB=$${RANLIB}" \
5434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5440 .PHONY: configure-etc maybe-configure-etc
5441 maybe-configure-etc:
5443 @test ! -f etc/Makefile || exit 0; \
5444 [ -d etc ] || mkdir etc; \
5445 r=`${PWD_COMMAND}`; export r; \
5446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5447 CC="$(CC)"; export CC; \
5448 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5449 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
5450 CXX="$(CXX)"; export CXX; \
5451 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5452 AR="$(AR)"; export AR; \
5453 AS="$(AS)"; export AS; \
5454 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5455 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5456 LD="$(LD)"; export LD; \
5457 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
5458 NM="$(NM)"; export NM; \
5459 RANLIB="$(RANLIB)"; export RANLIB; \
5460 WINDRES="$(WINDRES)"; export WINDRES; \
5461 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5462 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5463 echo Configuring in etc; \
5467 srcdiroption="--srcdir=."; \
5469 /* | [A-Za-z]:[\\/]*) \
5470 srcdiroption="--srcdir=$(srcdir)/etc"; \
5471 libsrcdir="$$s/etc";; \
5473 srcdiroption="--srcdir=../$(srcdir)/etc"; \
5474 libsrcdir="$$s/etc";; \
5476 $(SHELL) $${libsrcdir}/configure \
5477 $(HOST_CONFIGARGS) $${srcdiroption} \
5480 .PHONY: all-etc maybe-all-etc
5482 all-etc: configure-etc
5483 @r=`${PWD_COMMAND}`; export r; \
5484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5486 (cd etc && $(MAKE) $(FLAGS_TO_PASS) all)
5488 .PHONY: check-etc maybe-check-etc
5492 @r=`${PWD_COMMAND}`; export r; \
5493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5495 (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
5498 .PHONY: install-etc maybe-install-etc
5501 install-etc: installdirs
5502 @r=`${PWD_COMMAND}`; export r; \
5503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5505 (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
5508 # Other targets (info, dvi, etc.)
5510 .PHONY: maybe-info-etc info-etc
5515 @[ -f ./etc/Makefile ] || exit 0; \
5516 r=`${PWD_COMMAND}`; export r; \
5517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5519 for flag in $(EXTRA_HOST_FLAGS); do \
5520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5522 echo "Doing info in etc" ; \
5524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5526 "RANLIB=$${RANLIB}" \
5527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5532 .PHONY: maybe-dvi-etc dvi-etc
5537 @[ -f ./etc/Makefile ] || exit 0; \
5538 r=`${PWD_COMMAND}`; export r; \
5539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5541 for flag in $(EXTRA_HOST_FLAGS); do \
5542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5544 echo "Doing dvi in etc" ; \
5546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5548 "RANLIB=$${RANLIB}" \
5549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5554 .PHONY: maybe-TAGS-etc TAGS-etc
5559 @[ -f ./etc/Makefile ] || exit 0; \
5560 r=`${PWD_COMMAND}`; export r; \
5561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5563 for flag in $(EXTRA_HOST_FLAGS); do \
5564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5566 echo "Doing TAGS in etc" ; \
5568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5570 "RANLIB=$${RANLIB}" \
5571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5576 .PHONY: maybe-install-info-etc install-info-etc
5577 maybe-install-info-etc:
5582 @[ -f ./etc/Makefile ] || exit 0; \
5583 r=`${PWD_COMMAND}`; export r; \
5584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5586 for flag in $(EXTRA_HOST_FLAGS); do \
5587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5589 echo "Doing install-info in etc" ; \
5591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5593 "RANLIB=$${RANLIB}" \
5594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5599 .PHONY: maybe-installcheck-etc installcheck-etc
5600 maybe-installcheck-etc:
5604 @[ -f ./etc/Makefile ] || exit 0; \
5605 r=`${PWD_COMMAND}`; export r; \
5606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5608 for flag in $(EXTRA_HOST_FLAGS); do \
5609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5611 echo "Doing installcheck in etc" ; \
5613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5615 "RANLIB=$${RANLIB}" \
5616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5621 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
5622 maybe-mostlyclean-etc:
5625 @[ -f ./etc/Makefile ] || exit 0; \
5626 r=`${PWD_COMMAND}`; export r; \
5627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5629 for flag in $(EXTRA_HOST_FLAGS); do \
5630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5632 echo "Doing mostlyclean in etc" ; \
5634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5636 "RANLIB=$${RANLIB}" \
5637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5642 .PHONY: maybe-clean-etc clean-etc
5646 @[ -f ./etc/Makefile ] || exit 0; \
5647 r=`${PWD_COMMAND}`; export r; \
5648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5650 for flag in $(EXTRA_HOST_FLAGS); do \
5651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5653 echo "Doing clean in etc" ; \
5655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5657 "RANLIB=$${RANLIB}" \
5658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5663 .PHONY: maybe-distclean-etc distclean-etc
5664 maybe-distclean-etc:
5667 @[ -f ./etc/Makefile ] || exit 0; \
5668 r=`${PWD_COMMAND}`; export r; \
5669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5671 for flag in $(EXTRA_HOST_FLAGS); do \
5672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5674 echo "Doing distclean in etc" ; \
5676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5678 "RANLIB=$${RANLIB}" \
5679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5684 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
5685 maybe-maintainer-clean-etc:
5687 maintainer-clean-etc:
5688 @[ -f ./etc/Makefile ] || exit 0; \
5689 r=`${PWD_COMMAND}`; export r; \
5690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5692 for flag in $(EXTRA_HOST_FLAGS); do \
5693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5695 echo "Doing maintainer-clean in etc" ; \
5697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5699 "RANLIB=$${RANLIB}" \
5700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5706 .PHONY: configure-fastjar maybe-configure-fastjar
5707 maybe-configure-fastjar:
5709 @test ! -f fastjar/Makefile || exit 0; \
5710 [ -d fastjar ] || mkdir fastjar; \
5711 r=`${PWD_COMMAND}`; export r; \
5712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5713 CC="$(CC)"; export CC; \
5714 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5715 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
5716 CXX="$(CXX)"; export CXX; \
5717 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5718 AR="$(AR)"; export AR; \
5719 AS="$(AS)"; export AS; \
5720 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5721 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5722 LD="$(LD)"; export LD; \
5723 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
5724 NM="$(NM)"; export NM; \
5725 RANLIB="$(RANLIB)"; export RANLIB; \
5726 WINDRES="$(WINDRES)"; export WINDRES; \
5727 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5728 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5729 echo Configuring in fastjar; \
5730 cd fastjar || exit 1; \
5733 srcdiroption="--srcdir=."; \
5735 /* | [A-Za-z]:[\\/]*) \
5736 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
5737 libsrcdir="$$s/fastjar";; \
5739 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
5740 libsrcdir="$$s/fastjar";; \
5742 $(SHELL) $${libsrcdir}/configure \
5743 $(HOST_CONFIGARGS) $${srcdiroption} \
5746 .PHONY: all-fastjar maybe-all-fastjar
5748 all-fastjar: configure-fastjar
5749 @r=`${PWD_COMMAND}`; export r; \
5750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5752 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) all)
5754 .PHONY: check-fastjar maybe-check-fastjar
5755 maybe-check-fastjar:
5757 # This module is only tested in a native toolchain.
5759 @if [ '$(host)' = '$(target)' ] ; then \
5760 r=`${PWD_COMMAND}`; export r; \
5761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5763 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \
5767 .PHONY: install-fastjar maybe-install-fastjar
5768 maybe-install-fastjar:
5770 install-fastjar: installdirs
5771 @r=`${PWD_COMMAND}`; export r; \
5772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5774 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
5777 # Other targets (info, dvi, etc.)
5779 .PHONY: maybe-info-fastjar info-fastjar
5784 @[ -f ./fastjar/Makefile ] || exit 0; \
5785 r=`${PWD_COMMAND}`; export r; \
5786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5788 for flag in $(EXTRA_HOST_FLAGS); do \
5789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5791 echo "Doing info in fastjar" ; \
5793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5795 "RANLIB=$${RANLIB}" \
5796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5801 .PHONY: maybe-dvi-fastjar dvi-fastjar
5806 @[ -f ./fastjar/Makefile ] || exit 0; \
5807 r=`${PWD_COMMAND}`; export r; \
5808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5810 for flag in $(EXTRA_HOST_FLAGS); do \
5811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5813 echo "Doing dvi in fastjar" ; \
5815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5817 "RANLIB=$${RANLIB}" \
5818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5823 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
5828 @[ -f ./fastjar/Makefile ] || exit 0; \
5829 r=`${PWD_COMMAND}`; export r; \
5830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5832 for flag in $(EXTRA_HOST_FLAGS); do \
5833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5835 echo "Doing TAGS in fastjar" ; \
5837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5839 "RANLIB=$${RANLIB}" \
5840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5845 .PHONY: maybe-install-info-fastjar install-info-fastjar
5846 maybe-install-info-fastjar:
5848 install-info-fastjar: \
5851 @[ -f ./fastjar/Makefile ] || exit 0; \
5852 r=`${PWD_COMMAND}`; export r; \
5853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5855 for flag in $(EXTRA_HOST_FLAGS); do \
5856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5858 echo "Doing install-info in fastjar" ; \
5860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5862 "RANLIB=$${RANLIB}" \
5863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5868 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
5869 maybe-installcheck-fastjar:
5871 installcheck-fastjar: \
5873 @[ -f ./fastjar/Makefile ] || exit 0; \
5874 r=`${PWD_COMMAND}`; export r; \
5875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5877 for flag in $(EXTRA_HOST_FLAGS); do \
5878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5880 echo "Doing installcheck in fastjar" ; \
5882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5884 "RANLIB=$${RANLIB}" \
5885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5890 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
5891 maybe-mostlyclean-fastjar:
5893 mostlyclean-fastjar:
5894 @[ -f ./fastjar/Makefile ] || exit 0; \
5895 r=`${PWD_COMMAND}`; export r; \
5896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5898 for flag in $(EXTRA_HOST_FLAGS); do \
5899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5901 echo "Doing mostlyclean in fastjar" ; \
5903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5905 "RANLIB=$${RANLIB}" \
5906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5911 .PHONY: maybe-clean-fastjar clean-fastjar
5912 maybe-clean-fastjar:
5915 @[ -f ./fastjar/Makefile ] || exit 0; \
5916 r=`${PWD_COMMAND}`; export r; \
5917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5919 for flag in $(EXTRA_HOST_FLAGS); do \
5920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5922 echo "Doing clean in fastjar" ; \
5924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5926 "RANLIB=$${RANLIB}" \
5927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5932 .PHONY: maybe-distclean-fastjar distclean-fastjar
5933 maybe-distclean-fastjar:
5936 @[ -f ./fastjar/Makefile ] || exit 0; \
5937 r=`${PWD_COMMAND}`; export r; \
5938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5940 for flag in $(EXTRA_HOST_FLAGS); do \
5941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5943 echo "Doing distclean in fastjar" ; \
5945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5947 "RANLIB=$${RANLIB}" \
5948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5953 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
5954 maybe-maintainer-clean-fastjar:
5956 maintainer-clean-fastjar:
5957 @[ -f ./fastjar/Makefile ] || exit 0; \
5958 r=`${PWD_COMMAND}`; export r; \
5959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5961 for flag in $(EXTRA_HOST_FLAGS); do \
5962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5964 echo "Doing maintainer-clean in fastjar" ; \
5966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5968 "RANLIB=$${RANLIB}" \
5969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5975 .PHONY: configure-fileutils maybe-configure-fileutils
5976 maybe-configure-fileutils:
5977 configure-fileutils:
5978 @test ! -f fileutils/Makefile || exit 0; \
5979 [ -d fileutils ] || mkdir fileutils; \
5980 r=`${PWD_COMMAND}`; export r; \
5981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5982 CC="$(CC)"; export CC; \
5983 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5984 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
5985 CXX="$(CXX)"; export CXX; \
5986 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5987 AR="$(AR)"; export AR; \
5988 AS="$(AS)"; export AS; \
5989 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5990 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5991 LD="$(LD)"; export LD; \
5992 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
5993 NM="$(NM)"; export NM; \
5994 RANLIB="$(RANLIB)"; export RANLIB; \
5995 WINDRES="$(WINDRES)"; export WINDRES; \
5996 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5997 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5998 echo Configuring in fileutils; \
5999 cd fileutils || exit 1; \
6002 srcdiroption="--srcdir=."; \
6004 /* | [A-Za-z]:[\\/]*) \
6005 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
6006 libsrcdir="$$s/fileutils";; \
6008 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
6009 libsrcdir="$$s/fileutils";; \
6011 $(SHELL) $${libsrcdir}/configure \
6012 $(HOST_CONFIGARGS) $${srcdiroption} \
6015 .PHONY: all-fileutils maybe-all-fileutils
6016 maybe-all-fileutils:
6017 all-fileutils: configure-fileutils
6018 @r=`${PWD_COMMAND}`; export r; \
6019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6021 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) all)
6023 .PHONY: check-fileutils maybe-check-fileutils
6024 maybe-check-fileutils:
6027 @r=`${PWD_COMMAND}`; export r; \
6028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6030 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
6033 .PHONY: install-fileutils maybe-install-fileutils
6034 maybe-install-fileutils:
6036 install-fileutils: installdirs
6037 @r=`${PWD_COMMAND}`; export r; \
6038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6040 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
6043 # Other targets (info, dvi, etc.)
6045 .PHONY: maybe-info-fileutils info-fileutils
6046 maybe-info-fileutils:
6050 @[ -f ./fileutils/Makefile ] || exit 0; \
6051 r=`${PWD_COMMAND}`; export r; \
6052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6054 for flag in $(EXTRA_HOST_FLAGS); do \
6055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6057 echo "Doing info in fileutils" ; \
6059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6061 "RANLIB=$${RANLIB}" \
6062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6067 .PHONY: maybe-dvi-fileutils dvi-fileutils
6068 maybe-dvi-fileutils:
6072 @[ -f ./fileutils/Makefile ] || exit 0; \
6073 r=`${PWD_COMMAND}`; export r; \
6074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6076 for flag in $(EXTRA_HOST_FLAGS); do \
6077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6079 echo "Doing dvi in fileutils" ; \
6081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6083 "RANLIB=$${RANLIB}" \
6084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6089 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
6090 maybe-TAGS-fileutils:
6094 @[ -f ./fileutils/Makefile ] || exit 0; \
6095 r=`${PWD_COMMAND}`; export r; \
6096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6098 for flag in $(EXTRA_HOST_FLAGS); do \
6099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6101 echo "Doing TAGS in fileutils" ; \
6103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6105 "RANLIB=$${RANLIB}" \
6106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6111 .PHONY: maybe-install-info-fileutils install-info-fileutils
6112 maybe-install-info-fileutils:
6114 install-info-fileutils: \
6115 configure-fileutils \
6117 @[ -f ./fileutils/Makefile ] || exit 0; \
6118 r=`${PWD_COMMAND}`; export r; \
6119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6121 for flag in $(EXTRA_HOST_FLAGS); do \
6122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6124 echo "Doing install-info in fileutils" ; \
6126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6128 "RANLIB=$${RANLIB}" \
6129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6134 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
6135 maybe-installcheck-fileutils:
6137 installcheck-fileutils: \
6139 @[ -f ./fileutils/Makefile ] || exit 0; \
6140 r=`${PWD_COMMAND}`; export r; \
6141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6143 for flag in $(EXTRA_HOST_FLAGS); do \
6144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6146 echo "Doing installcheck in fileutils" ; \
6148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6150 "RANLIB=$${RANLIB}" \
6151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6156 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
6157 maybe-mostlyclean-fileutils:
6159 mostlyclean-fileutils:
6160 @[ -f ./fileutils/Makefile ] || exit 0; \
6161 r=`${PWD_COMMAND}`; export r; \
6162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6164 for flag in $(EXTRA_HOST_FLAGS); do \
6165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6167 echo "Doing mostlyclean in fileutils" ; \
6169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6171 "RANLIB=$${RANLIB}" \
6172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6177 .PHONY: maybe-clean-fileutils clean-fileutils
6178 maybe-clean-fileutils:
6181 @[ -f ./fileutils/Makefile ] || exit 0; \
6182 r=`${PWD_COMMAND}`; export r; \
6183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6185 for flag in $(EXTRA_HOST_FLAGS); do \
6186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6188 echo "Doing clean in fileutils" ; \
6190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6192 "RANLIB=$${RANLIB}" \
6193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6198 .PHONY: maybe-distclean-fileutils distclean-fileutils
6199 maybe-distclean-fileutils:
6201 distclean-fileutils:
6202 @[ -f ./fileutils/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 distclean in fileutils" ; \
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}" \
6219 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
6220 maybe-maintainer-clean-fileutils:
6222 maintainer-clean-fileutils:
6223 @[ -f ./fileutils/Makefile ] || exit 0; \
6224 r=`${PWD_COMMAND}`; export r; \
6225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6227 for flag in $(EXTRA_HOST_FLAGS); do \
6228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6230 echo "Doing maintainer-clean in fileutils" ; \
6232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6234 "RANLIB=$${RANLIB}" \
6235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6241 .PHONY: configure-findutils maybe-configure-findutils
6242 maybe-configure-findutils:
6243 configure-findutils:
6244 @test ! -f findutils/Makefile || exit 0; \
6245 [ -d findutils ] || mkdir findutils; \
6246 r=`${PWD_COMMAND}`; export r; \
6247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6248 CC="$(CC)"; export CC; \
6249 CFLAGS="$(CFLAGS)"; export CFLAGS; \
6250 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
6251 CXX="$(CXX)"; export CXX; \
6252 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
6253 AR="$(AR)"; export AR; \
6254 AS="$(AS)"; export AS; \
6255 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
6256 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
6257 LD="$(LD)"; export LD; \
6258 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
6259 NM="$(NM)"; export NM; \
6260 RANLIB="$(RANLIB)"; export RANLIB; \
6261 WINDRES="$(WINDRES)"; export WINDRES; \
6262 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
6263 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
6264 echo Configuring in findutils; \
6265 cd findutils || exit 1; \
6268 srcdiroption="--srcdir=."; \
6270 /* | [A-Za-z]:[\\/]*) \
6271 srcdiroption="--srcdir=$(srcdir)/findutils"; \
6272 libsrcdir="$$s/findutils";; \
6274 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
6275 libsrcdir="$$s/findutils";; \
6277 $(SHELL) $${libsrcdir}/configure \
6278 $(HOST_CONFIGARGS) $${srcdiroption} \
6281 .PHONY: all-findutils maybe-all-findutils
6282 maybe-all-findutils:
6283 all-findutils: configure-findutils
6284 @r=`${PWD_COMMAND}`; export r; \
6285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6287 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) all)
6289 .PHONY: check-findutils maybe-check-findutils
6290 maybe-check-findutils:
6293 @r=`${PWD_COMMAND}`; export r; \
6294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6296 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
6299 .PHONY: install-findutils maybe-install-findutils
6300 maybe-install-findutils:
6302 install-findutils: installdirs
6303 @r=`${PWD_COMMAND}`; export r; \
6304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6306 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
6309 # Other targets (info, dvi, etc.)
6311 .PHONY: maybe-info-findutils info-findutils
6312 maybe-info-findutils:
6316 @[ -f ./findutils/Makefile ] || exit 0; \
6317 r=`${PWD_COMMAND}`; export r; \
6318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6320 for flag in $(EXTRA_HOST_FLAGS); do \
6321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6323 echo "Doing info in findutils" ; \
6325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6327 "RANLIB=$${RANLIB}" \
6328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6333 .PHONY: maybe-dvi-findutils dvi-findutils
6334 maybe-dvi-findutils:
6338 @[ -f ./findutils/Makefile ] || exit 0; \
6339 r=`${PWD_COMMAND}`; export r; \
6340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6342 for flag in $(EXTRA_HOST_FLAGS); do \
6343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6345 echo "Doing dvi in findutils" ; \
6347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6349 "RANLIB=$${RANLIB}" \
6350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6355 .PHONY: maybe-TAGS-findutils TAGS-findutils
6356 maybe-TAGS-findutils:
6360 @[ -f ./findutils/Makefile ] || exit 0; \
6361 r=`${PWD_COMMAND}`; export r; \
6362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6364 for flag in $(EXTRA_HOST_FLAGS); do \
6365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6367 echo "Doing TAGS in findutils" ; \
6369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6371 "RANLIB=$${RANLIB}" \
6372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6377 .PHONY: maybe-install-info-findutils install-info-findutils
6378 maybe-install-info-findutils:
6380 install-info-findutils: \
6381 configure-findutils \
6383 @[ -f ./findutils/Makefile ] || exit 0; \
6384 r=`${PWD_COMMAND}`; export r; \
6385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6387 for flag in $(EXTRA_HOST_FLAGS); do \
6388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6390 echo "Doing install-info in findutils" ; \
6392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6394 "RANLIB=$${RANLIB}" \
6395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6400 .PHONY: maybe-installcheck-findutils installcheck-findutils
6401 maybe-installcheck-findutils:
6403 installcheck-findutils: \
6405 @[ -f ./findutils/Makefile ] || exit 0; \
6406 r=`${PWD_COMMAND}`; export r; \
6407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6409 for flag in $(EXTRA_HOST_FLAGS); do \
6410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6412 echo "Doing installcheck in findutils" ; \
6414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6416 "RANLIB=$${RANLIB}" \
6417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6422 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
6423 maybe-mostlyclean-findutils:
6425 mostlyclean-findutils:
6426 @[ -f ./findutils/Makefile ] || exit 0; \
6427 r=`${PWD_COMMAND}`; export r; \
6428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6430 for flag in $(EXTRA_HOST_FLAGS); do \
6431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6433 echo "Doing mostlyclean in findutils" ; \
6435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6437 "RANLIB=$${RANLIB}" \
6438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6443 .PHONY: maybe-clean-findutils clean-findutils
6444 maybe-clean-findutils:
6447 @[ -f ./findutils/Makefile ] || exit 0; \
6448 r=`${PWD_COMMAND}`; export r; \
6449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6451 for flag in $(EXTRA_HOST_FLAGS); do \
6452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6454 echo "Doing clean in findutils" ; \
6456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6458 "RANLIB=$${RANLIB}" \
6459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6464 .PHONY: maybe-distclean-findutils distclean-findutils
6465 maybe-distclean-findutils:
6467 distclean-findutils:
6468 @[ -f ./findutils/Makefile ] || exit 0; \
6469 r=`${PWD_COMMAND}`; export r; \
6470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6472 for flag in $(EXTRA_HOST_FLAGS); do \
6473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6475 echo "Doing distclean in findutils" ; \
6477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6479 "RANLIB=$${RANLIB}" \
6480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6485 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
6486 maybe-maintainer-clean-findutils:
6488 maintainer-clean-findutils:
6489 @[ -f ./findutils/Makefile ] || exit 0; \
6490 r=`${PWD_COMMAND}`; export r; \
6491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6493 for flag in $(EXTRA_HOST_FLAGS); do \
6494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6496 echo "Doing maintainer-clean in findutils" ; \
6498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6500 "RANLIB=$${RANLIB}" \
6501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6507 .PHONY: configure-find maybe-configure-find
6508 maybe-configure-find:
6510 @test ! -f find/Makefile || exit 0; \
6511 [ -d find ] || mkdir find; \
6512 r=`${PWD_COMMAND}`; export r; \
6513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6514 CC="$(CC)"; export CC; \
6515 CFLAGS="$(CFLAGS)"; export CFLAGS; \
6516 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
6517 CXX="$(CXX)"; export CXX; \
6518 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
6519 AR="$(AR)"; export AR; \
6520 AS="$(AS)"; export AS; \
6521 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
6522 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
6523 LD="$(LD)"; export LD; \
6524 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
6525 NM="$(NM)"; export NM; \
6526 RANLIB="$(RANLIB)"; export RANLIB; \
6527 WINDRES="$(WINDRES)"; export WINDRES; \
6528 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
6529 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
6530 echo Configuring in find; \
6531 cd find || exit 1; \
6534 srcdiroption="--srcdir=."; \
6536 /* | [A-Za-z]:[\\/]*) \
6537 srcdiroption="--srcdir=$(srcdir)/find"; \
6538 libsrcdir="$$s/find";; \
6540 srcdiroption="--srcdir=../$(srcdir)/find"; \
6541 libsrcdir="$$s/find";; \
6543 $(SHELL) $${libsrcdir}/configure \
6544 $(HOST_CONFIGARGS) $${srcdiroption} \
6547 .PHONY: all-find maybe-all-find
6549 all-find: configure-find
6550 @r=`${PWD_COMMAND}`; export r; \
6551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6553 (cd find && $(MAKE) $(FLAGS_TO_PASS) all)
6555 .PHONY: check-find maybe-check-find
6559 @r=`${PWD_COMMAND}`; export r; \
6560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6562 (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
6565 .PHONY: install-find maybe-install-find
6568 install-find: installdirs
6569 @r=`${PWD_COMMAND}`; export r; \
6570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6572 (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
6575 # Other targets (info, dvi, etc.)
6577 .PHONY: maybe-info-find info-find
6582 @[ -f ./find/Makefile ] || exit 0; \
6583 r=`${PWD_COMMAND}`; export r; \
6584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6586 for flag in $(EXTRA_HOST_FLAGS); do \
6587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6589 echo "Doing info in find" ; \
6591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6593 "RANLIB=$${RANLIB}" \
6594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6599 .PHONY: maybe-dvi-find dvi-find
6604 @[ -f ./find/Makefile ] || exit 0; \
6605 r=`${PWD_COMMAND}`; export r; \
6606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6608 for flag in $(EXTRA_HOST_FLAGS); do \
6609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6611 echo "Doing dvi in find" ; \
6613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6615 "RANLIB=$${RANLIB}" \
6616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6621 .PHONY: maybe-TAGS-find TAGS-find
6626 @[ -f ./find/Makefile ] || exit 0; \
6627 r=`${PWD_COMMAND}`; export r; \
6628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6630 for flag in $(EXTRA_HOST_FLAGS); do \
6631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6633 echo "Doing TAGS in find" ; \
6635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6637 "RANLIB=$${RANLIB}" \
6638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6643 .PHONY: maybe-install-info-find install-info-find
6644 maybe-install-info-find:
6646 install-info-find: \
6649 @[ -f ./find/Makefile ] || exit 0; \
6650 r=`${PWD_COMMAND}`; export r; \
6651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6653 for flag in $(EXTRA_HOST_FLAGS); do \
6654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6656 echo "Doing install-info in find" ; \
6658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6660 "RANLIB=$${RANLIB}" \
6661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6666 .PHONY: maybe-installcheck-find installcheck-find
6667 maybe-installcheck-find:
6669 installcheck-find: \
6671 @[ -f ./find/Makefile ] || exit 0; \
6672 r=`${PWD_COMMAND}`; export r; \
6673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6675 for flag in $(EXTRA_HOST_FLAGS); do \
6676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6678 echo "Doing installcheck in find" ; \
6680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6682 "RANLIB=$${RANLIB}" \
6683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6688 .PHONY: maybe-mostlyclean-find mostlyclean-find
6689 maybe-mostlyclean-find:
6692 @[ -f ./find/Makefile ] || exit 0; \
6693 r=`${PWD_COMMAND}`; export r; \
6694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6696 for flag in $(EXTRA_HOST_FLAGS); do \
6697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6699 echo "Doing mostlyclean in find" ; \
6701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6703 "RANLIB=$${RANLIB}" \
6704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6709 .PHONY: maybe-clean-find clean-find
6713 @[ -f ./find/Makefile ] || exit 0; \
6714 r=`${PWD_COMMAND}`; export r; \
6715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6717 for flag in $(EXTRA_HOST_FLAGS); do \
6718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6720 echo "Doing clean in find" ; \
6722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6724 "RANLIB=$${RANLIB}" \
6725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6730 .PHONY: maybe-distclean-find distclean-find
6731 maybe-distclean-find:
6734 @[ -f ./find/Makefile ] || exit 0; \
6735 r=`${PWD_COMMAND}`; export r; \
6736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6738 for flag in $(EXTRA_HOST_FLAGS); do \
6739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6741 echo "Doing distclean in find" ; \
6743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6745 "RANLIB=$${RANLIB}" \
6746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6751 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
6752 maybe-maintainer-clean-find:
6754 maintainer-clean-find:
6755 @[ -f ./find/Makefile ] || exit 0; \
6756 r=`${PWD_COMMAND}`; export r; \
6757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6759 for flag in $(EXTRA_HOST_FLAGS); do \
6760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6762 echo "Doing maintainer-clean in find" ; \
6764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6766 "RANLIB=$${RANLIB}" \
6767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6773 .PHONY: configure-flex maybe-configure-flex
6774 maybe-configure-flex:
6776 @test ! -f flex/Makefile || exit 0; \
6777 [ -d flex ] || mkdir flex; \
6778 r=`${PWD_COMMAND}`; export r; \
6779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6780 CC="$(CC)"; export CC; \
6781 CFLAGS="$(CFLAGS)"; export CFLAGS; \
6782 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
6783 CXX="$(CXX)"; export CXX; \
6784 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
6785 AR="$(AR)"; export AR; \
6786 AS="$(AS)"; export AS; \
6787 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
6788 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
6789 LD="$(LD)"; export LD; \
6790 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
6791 NM="$(NM)"; export NM; \
6792 RANLIB="$(RANLIB)"; export RANLIB; \
6793 WINDRES="$(WINDRES)"; export WINDRES; \
6794 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
6795 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
6796 echo Configuring in flex; \
6797 cd flex || exit 1; \
6800 srcdiroption="--srcdir=."; \
6802 /* | [A-Za-z]:[\\/]*) \
6803 srcdiroption="--srcdir=$(srcdir)/flex"; \
6804 libsrcdir="$$s/flex";; \
6806 srcdiroption="--srcdir=../$(srcdir)/flex"; \
6807 libsrcdir="$$s/flex";; \
6809 $(SHELL) $${libsrcdir}/configure \
6810 $(HOST_CONFIGARGS) $${srcdiroption} \
6813 .PHONY: all-flex maybe-all-flex
6815 all-flex: configure-flex
6816 @r=`${PWD_COMMAND}`; export r; \
6817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6819 (cd flex && $(MAKE) $(FLAGS_TO_PASS) all)
6821 .PHONY: check-flex maybe-check-flex
6824 # This module is only tested in a native toolchain.
6826 @if [ '$(host)' = '$(target)' ] ; then \
6827 r=`${PWD_COMMAND}`; export r; \
6828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6830 (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \
6834 .PHONY: install-flex maybe-install-flex
6837 install-flex: installdirs
6838 @r=`${PWD_COMMAND}`; export r; \
6839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6841 (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
6844 # Other targets (info, dvi, etc.)
6846 .PHONY: maybe-info-flex info-flex
6851 @[ -f ./flex/Makefile ] || exit 0; \
6852 r=`${PWD_COMMAND}`; export r; \
6853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6855 for flag in $(EXTRA_HOST_FLAGS); do \
6856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6858 echo "Doing info in flex" ; \
6860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6862 "RANLIB=$${RANLIB}" \
6863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6868 .PHONY: maybe-dvi-flex dvi-flex
6873 @[ -f ./flex/Makefile ] || exit 0; \
6874 r=`${PWD_COMMAND}`; export r; \
6875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6877 for flag in $(EXTRA_HOST_FLAGS); do \
6878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6880 echo "Doing dvi in flex" ; \
6882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6884 "RANLIB=$${RANLIB}" \
6885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6890 .PHONY: maybe-TAGS-flex TAGS-flex
6895 @[ -f ./flex/Makefile ] || exit 0; \
6896 r=`${PWD_COMMAND}`; export r; \
6897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6899 for flag in $(EXTRA_HOST_FLAGS); do \
6900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6902 echo "Doing TAGS in flex" ; \
6904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6906 "RANLIB=$${RANLIB}" \
6907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6912 .PHONY: maybe-install-info-flex install-info-flex
6913 maybe-install-info-flex:
6915 install-info-flex: \
6918 @[ -f ./flex/Makefile ] || exit 0; \
6919 r=`${PWD_COMMAND}`; export r; \
6920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6922 for flag in $(EXTRA_HOST_FLAGS); do \
6923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6925 echo "Doing install-info in flex" ; \
6927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6929 "RANLIB=$${RANLIB}" \
6930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6935 .PHONY: maybe-installcheck-flex installcheck-flex
6936 maybe-installcheck-flex:
6938 installcheck-flex: \
6940 @[ -f ./flex/Makefile ] || exit 0; \
6941 r=`${PWD_COMMAND}`; export r; \
6942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6944 for flag in $(EXTRA_HOST_FLAGS); do \
6945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6947 echo "Doing installcheck in flex" ; \
6949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6951 "RANLIB=$${RANLIB}" \
6952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6957 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
6958 maybe-mostlyclean-flex:
6961 @[ -f ./flex/Makefile ] || exit 0; \
6962 r=`${PWD_COMMAND}`; export r; \
6963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6965 for flag in $(EXTRA_HOST_FLAGS); do \
6966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6968 echo "Doing mostlyclean in flex" ; \
6970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6972 "RANLIB=$${RANLIB}" \
6973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6978 .PHONY: maybe-clean-flex clean-flex
6982 @[ -f ./flex/Makefile ] || exit 0; \
6983 r=`${PWD_COMMAND}`; export r; \
6984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6986 for flag in $(EXTRA_HOST_FLAGS); do \
6987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6989 echo "Doing clean in flex" ; \
6991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6993 "RANLIB=$${RANLIB}" \
6994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6999 .PHONY: maybe-distclean-flex distclean-flex
7000 maybe-distclean-flex:
7003 @[ -f ./flex/Makefile ] || exit 0; \
7004 r=`${PWD_COMMAND}`; export r; \
7005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7007 for flag in $(EXTRA_HOST_FLAGS); do \
7008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7010 echo "Doing distclean in flex" ; \
7012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7014 "RANLIB=$${RANLIB}" \
7015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7020 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
7021 maybe-maintainer-clean-flex:
7023 maintainer-clean-flex:
7024 @[ -f ./flex/Makefile ] || exit 0; \
7025 r=`${PWD_COMMAND}`; export r; \
7026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7028 for flag in $(EXTRA_HOST_FLAGS); do \
7029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7031 echo "Doing maintainer-clean in flex" ; \
7033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7035 "RANLIB=$${RANLIB}" \
7036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7042 .PHONY: configure-gas maybe-configure-gas
7043 maybe-configure-gas:
7045 @test ! -f gas/Makefile || exit 0; \
7046 [ -d gas ] || mkdir gas; \
7047 r=`${PWD_COMMAND}`; export r; \
7048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7049 CC="$(CC)"; export CC; \
7050 CFLAGS="$(CFLAGS)"; export CFLAGS; \
7051 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
7052 CXX="$(CXX)"; export CXX; \
7053 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
7054 AR="$(AR)"; export AR; \
7055 AS="$(AS)"; export AS; \
7056 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
7057 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
7058 LD="$(LD)"; export LD; \
7059 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
7060 NM="$(NM)"; export NM; \
7061 RANLIB="$(RANLIB)"; export RANLIB; \
7062 WINDRES="$(WINDRES)"; export WINDRES; \
7063 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
7064 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
7065 echo Configuring in gas; \
7069 srcdiroption="--srcdir=."; \
7071 /* | [A-Za-z]:[\\/]*) \
7072 srcdiroption="--srcdir=$(srcdir)/gas"; \
7073 libsrcdir="$$s/gas";; \
7075 srcdiroption="--srcdir=../$(srcdir)/gas"; \
7076 libsrcdir="$$s/gas";; \
7078 $(SHELL) $${libsrcdir}/configure \
7079 $(HOST_CONFIGARGS) $${srcdiroption} \
7082 .PHONY: all-gas maybe-all-gas
7084 all-gas: configure-gas
7085 @r=`${PWD_COMMAND}`; export r; \
7086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7088 (cd gas && $(MAKE) $(FLAGS_TO_PASS) all)
7090 .PHONY: check-gas maybe-check-gas
7094 @r=`${PWD_COMMAND}`; export r; \
7095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7097 (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
7100 .PHONY: install-gas maybe-install-gas
7103 install-gas: installdirs
7104 @r=`${PWD_COMMAND}`; export r; \
7105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7107 (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
7110 # Other targets (info, dvi, etc.)
7112 .PHONY: maybe-info-gas info-gas
7117 @[ -f ./gas/Makefile ] || exit 0; \
7118 r=`${PWD_COMMAND}`; export r; \
7119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7121 for flag in $(EXTRA_HOST_FLAGS); do \
7122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7124 echo "Doing info in gas" ; \
7126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7128 "RANLIB=$${RANLIB}" \
7129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7134 .PHONY: maybe-dvi-gas dvi-gas
7139 @[ -f ./gas/Makefile ] || exit 0; \
7140 r=`${PWD_COMMAND}`; export r; \
7141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7143 for flag in $(EXTRA_HOST_FLAGS); do \
7144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7146 echo "Doing dvi in gas" ; \
7148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7150 "RANLIB=$${RANLIB}" \
7151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7156 .PHONY: maybe-TAGS-gas TAGS-gas
7161 @[ -f ./gas/Makefile ] || exit 0; \
7162 r=`${PWD_COMMAND}`; export r; \
7163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7165 for flag in $(EXTRA_HOST_FLAGS); do \
7166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7168 echo "Doing TAGS in gas" ; \
7170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7172 "RANLIB=$${RANLIB}" \
7173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7178 .PHONY: maybe-install-info-gas install-info-gas
7179 maybe-install-info-gas:
7184 @[ -f ./gas/Makefile ] || exit 0; \
7185 r=`${PWD_COMMAND}`; export r; \
7186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7188 for flag in $(EXTRA_HOST_FLAGS); do \
7189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7191 echo "Doing install-info in gas" ; \
7193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7195 "RANLIB=$${RANLIB}" \
7196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7201 .PHONY: maybe-installcheck-gas installcheck-gas
7202 maybe-installcheck-gas:
7206 @[ -f ./gas/Makefile ] || exit 0; \
7207 r=`${PWD_COMMAND}`; export r; \
7208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7210 for flag in $(EXTRA_HOST_FLAGS); do \
7211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7213 echo "Doing installcheck in gas" ; \
7215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7217 "RANLIB=$${RANLIB}" \
7218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7223 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
7224 maybe-mostlyclean-gas:
7227 @[ -f ./gas/Makefile ] || exit 0; \
7228 r=`${PWD_COMMAND}`; export r; \
7229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7231 for flag in $(EXTRA_HOST_FLAGS); do \
7232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7234 echo "Doing mostlyclean in gas" ; \
7236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7238 "RANLIB=$${RANLIB}" \
7239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7244 .PHONY: maybe-clean-gas clean-gas
7248 @[ -f ./gas/Makefile ] || exit 0; \
7249 r=`${PWD_COMMAND}`; export r; \
7250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7252 for flag in $(EXTRA_HOST_FLAGS); do \
7253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7255 echo "Doing clean in gas" ; \
7257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7259 "RANLIB=$${RANLIB}" \
7260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7265 .PHONY: maybe-distclean-gas distclean-gas
7266 maybe-distclean-gas:
7269 @[ -f ./gas/Makefile ] || exit 0; \
7270 r=`${PWD_COMMAND}`; export r; \
7271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7273 for flag in $(EXTRA_HOST_FLAGS); do \
7274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7276 echo "Doing distclean in gas" ; \
7278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7280 "RANLIB=$${RANLIB}" \
7281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7286 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
7287 maybe-maintainer-clean-gas:
7289 maintainer-clean-gas:
7290 @[ -f ./gas/Makefile ] || exit 0; \
7291 r=`${PWD_COMMAND}`; export r; \
7292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7294 for flag in $(EXTRA_HOST_FLAGS); do \
7295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7297 echo "Doing maintainer-clean in gas" ; \
7299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7301 "RANLIB=$${RANLIB}" \
7302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7308 .PHONY: configure-gawk maybe-configure-gawk
7309 maybe-configure-gawk:
7311 @test ! -f gawk/Makefile || exit 0; \
7312 [ -d gawk ] || mkdir gawk; \
7313 r=`${PWD_COMMAND}`; export r; \
7314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7315 CC="$(CC)"; export CC; \
7316 CFLAGS="$(CFLAGS)"; export CFLAGS; \
7317 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
7318 CXX="$(CXX)"; export CXX; \
7319 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
7320 AR="$(AR)"; export AR; \
7321 AS="$(AS)"; export AS; \
7322 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
7323 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
7324 LD="$(LD)"; export LD; \
7325 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
7326 NM="$(NM)"; export NM; \
7327 RANLIB="$(RANLIB)"; export RANLIB; \
7328 WINDRES="$(WINDRES)"; export WINDRES; \
7329 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
7330 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
7331 echo Configuring in gawk; \
7332 cd gawk || exit 1; \
7335 srcdiroption="--srcdir=."; \
7337 /* | [A-Za-z]:[\\/]*) \
7338 srcdiroption="--srcdir=$(srcdir)/gawk"; \
7339 libsrcdir="$$s/gawk";; \
7341 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
7342 libsrcdir="$$s/gawk";; \
7344 $(SHELL) $${libsrcdir}/configure \
7345 $(HOST_CONFIGARGS) $${srcdiroption} \
7348 .PHONY: all-gawk maybe-all-gawk
7350 all-gawk: configure-gawk
7351 @r=`${PWD_COMMAND}`; export r; \
7352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7354 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) all)
7356 .PHONY: check-gawk maybe-check-gawk
7360 @r=`${PWD_COMMAND}`; export r; \
7361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7363 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
7366 .PHONY: install-gawk maybe-install-gawk
7369 install-gawk: installdirs
7370 @r=`${PWD_COMMAND}`; export r; \
7371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7373 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
7376 # Other targets (info, dvi, etc.)
7378 .PHONY: maybe-info-gawk info-gawk
7383 @[ -f ./gawk/Makefile ] || exit 0; \
7384 r=`${PWD_COMMAND}`; export r; \
7385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7387 for flag in $(EXTRA_HOST_FLAGS); do \
7388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7390 echo "Doing info in gawk" ; \
7392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7394 "RANLIB=$${RANLIB}" \
7395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7400 .PHONY: maybe-dvi-gawk dvi-gawk
7405 @[ -f ./gawk/Makefile ] || exit 0; \
7406 r=`${PWD_COMMAND}`; export r; \
7407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7409 for flag in $(EXTRA_HOST_FLAGS); do \
7410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7412 echo "Doing dvi in gawk" ; \
7414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7416 "RANLIB=$${RANLIB}" \
7417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7422 .PHONY: maybe-TAGS-gawk TAGS-gawk
7427 @[ -f ./gawk/Makefile ] || exit 0; \
7428 r=`${PWD_COMMAND}`; export r; \
7429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7431 for flag in $(EXTRA_HOST_FLAGS); do \
7432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7434 echo "Doing TAGS in gawk" ; \
7436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7438 "RANLIB=$${RANLIB}" \
7439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7444 .PHONY: maybe-install-info-gawk install-info-gawk
7445 maybe-install-info-gawk:
7447 install-info-gawk: \
7450 @[ -f ./gawk/Makefile ] || exit 0; \
7451 r=`${PWD_COMMAND}`; export r; \
7452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7454 for flag in $(EXTRA_HOST_FLAGS); do \
7455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7457 echo "Doing install-info in gawk" ; \
7459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7461 "RANLIB=$${RANLIB}" \
7462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7467 .PHONY: maybe-installcheck-gawk installcheck-gawk
7468 maybe-installcheck-gawk:
7470 installcheck-gawk: \
7472 @[ -f ./gawk/Makefile ] || exit 0; \
7473 r=`${PWD_COMMAND}`; export r; \
7474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7476 for flag in $(EXTRA_HOST_FLAGS); do \
7477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7479 echo "Doing installcheck in gawk" ; \
7481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7483 "RANLIB=$${RANLIB}" \
7484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7489 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
7490 maybe-mostlyclean-gawk:
7493 @[ -f ./gawk/Makefile ] || exit 0; \
7494 r=`${PWD_COMMAND}`; export r; \
7495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7497 for flag in $(EXTRA_HOST_FLAGS); do \
7498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7500 echo "Doing mostlyclean in gawk" ; \
7502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7504 "RANLIB=$${RANLIB}" \
7505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7510 .PHONY: maybe-clean-gawk clean-gawk
7514 @[ -f ./gawk/Makefile ] || exit 0; \
7515 r=`${PWD_COMMAND}`; export r; \
7516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7518 for flag in $(EXTRA_HOST_FLAGS); do \
7519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7521 echo "Doing clean in gawk" ; \
7523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7525 "RANLIB=$${RANLIB}" \
7526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7531 .PHONY: maybe-distclean-gawk distclean-gawk
7532 maybe-distclean-gawk:
7535 @[ -f ./gawk/Makefile ] || exit 0; \
7536 r=`${PWD_COMMAND}`; export r; \
7537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7539 for flag in $(EXTRA_HOST_FLAGS); do \
7540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7542 echo "Doing distclean in gawk" ; \
7544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7546 "RANLIB=$${RANLIB}" \
7547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7552 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
7553 maybe-maintainer-clean-gawk:
7555 maintainer-clean-gawk:
7556 @[ -f ./gawk/Makefile ] || exit 0; \
7557 r=`${PWD_COMMAND}`; export r; \
7558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7560 for flag in $(EXTRA_HOST_FLAGS); do \
7561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7563 echo "Doing maintainer-clean in gawk" ; \
7565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7567 "RANLIB=$${RANLIB}" \
7568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7574 .PHONY: configure-gettext maybe-configure-gettext
7575 maybe-configure-gettext:
7577 @test ! -f gettext/Makefile || exit 0; \
7578 [ -d gettext ] || mkdir gettext; \
7579 r=`${PWD_COMMAND}`; export r; \
7580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7581 CC="$(CC)"; export CC; \
7582 CFLAGS="$(CFLAGS)"; export CFLAGS; \
7583 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
7584 CXX="$(CXX)"; export CXX; \
7585 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
7586 AR="$(AR)"; export AR; \
7587 AS="$(AS)"; export AS; \
7588 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
7589 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
7590 LD="$(LD)"; export LD; \
7591 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
7592 NM="$(NM)"; export NM; \
7593 RANLIB="$(RANLIB)"; export RANLIB; \
7594 WINDRES="$(WINDRES)"; export WINDRES; \
7595 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
7596 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
7597 echo Configuring in gettext; \
7598 cd gettext || exit 1; \
7601 srcdiroption="--srcdir=."; \
7603 /* | [A-Za-z]:[\\/]*) \
7604 srcdiroption="--srcdir=$(srcdir)/gettext"; \
7605 libsrcdir="$$s/gettext";; \
7607 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
7608 libsrcdir="$$s/gettext";; \
7610 $(SHELL) $${libsrcdir}/configure \
7611 $(HOST_CONFIGARGS) $${srcdiroption} \
7614 .PHONY: all-gettext maybe-all-gettext
7616 all-gettext: configure-gettext
7617 @r=`${PWD_COMMAND}`; export r; \
7618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7620 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) all)
7622 .PHONY: check-gettext maybe-check-gettext
7623 maybe-check-gettext:
7626 @r=`${PWD_COMMAND}`; export r; \
7627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7629 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
7632 .PHONY: install-gettext maybe-install-gettext
7633 maybe-install-gettext:
7635 install-gettext: installdirs
7636 @r=`${PWD_COMMAND}`; export r; \
7637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7639 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
7642 # Other targets (info, dvi, etc.)
7644 .PHONY: maybe-info-gettext info-gettext
7649 @[ -f ./gettext/Makefile ] || exit 0; \
7650 r=`${PWD_COMMAND}`; export r; \
7651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7653 for flag in $(EXTRA_HOST_FLAGS); do \
7654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7656 echo "Doing info in gettext" ; \
7658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7660 "RANLIB=$${RANLIB}" \
7661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7666 .PHONY: maybe-dvi-gettext dvi-gettext
7671 @[ -f ./gettext/Makefile ] || exit 0; \
7672 r=`${PWD_COMMAND}`; export r; \
7673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7675 for flag in $(EXTRA_HOST_FLAGS); do \
7676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7678 echo "Doing dvi in gettext" ; \
7680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7682 "RANLIB=$${RANLIB}" \
7683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7688 .PHONY: maybe-TAGS-gettext TAGS-gettext
7693 @[ -f ./gettext/Makefile ] || exit 0; \
7694 r=`${PWD_COMMAND}`; export r; \
7695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7697 for flag in $(EXTRA_HOST_FLAGS); do \
7698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7700 echo "Doing TAGS in gettext" ; \
7702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7704 "RANLIB=$${RANLIB}" \
7705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7710 .PHONY: maybe-install-info-gettext install-info-gettext
7711 maybe-install-info-gettext:
7713 install-info-gettext: \
7716 @[ -f ./gettext/Makefile ] || exit 0; \
7717 r=`${PWD_COMMAND}`; export r; \
7718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7720 for flag in $(EXTRA_HOST_FLAGS); do \
7721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7723 echo "Doing install-info in gettext" ; \
7725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7727 "RANLIB=$${RANLIB}" \
7728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7733 .PHONY: maybe-installcheck-gettext installcheck-gettext
7734 maybe-installcheck-gettext:
7736 installcheck-gettext: \
7738 @[ -f ./gettext/Makefile ] || exit 0; \
7739 r=`${PWD_COMMAND}`; export r; \
7740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7742 for flag in $(EXTRA_HOST_FLAGS); do \
7743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7745 echo "Doing installcheck in gettext" ; \
7747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7749 "RANLIB=$${RANLIB}" \
7750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7755 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
7756 maybe-mostlyclean-gettext:
7758 mostlyclean-gettext:
7759 @[ -f ./gettext/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 mostlyclean in gettext" ; \
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}" \
7776 .PHONY: maybe-clean-gettext clean-gettext
7777 maybe-clean-gettext:
7780 @[ -f ./gettext/Makefile ] || exit 0; \
7781 r=`${PWD_COMMAND}`; export r; \
7782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7784 for flag in $(EXTRA_HOST_FLAGS); do \
7785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7787 echo "Doing clean in gettext" ; \
7789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7791 "RANLIB=$${RANLIB}" \
7792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7797 .PHONY: maybe-distclean-gettext distclean-gettext
7798 maybe-distclean-gettext:
7801 @[ -f ./gettext/Makefile ] || exit 0; \
7802 r=`${PWD_COMMAND}`; export r; \
7803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7805 for flag in $(EXTRA_HOST_FLAGS); do \
7806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7808 echo "Doing distclean in gettext" ; \
7810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7812 "RANLIB=$${RANLIB}" \
7813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7818 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
7819 maybe-maintainer-clean-gettext:
7821 maintainer-clean-gettext:
7822 @[ -f ./gettext/Makefile ] || exit 0; \
7823 r=`${PWD_COMMAND}`; export r; \
7824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7826 for flag in $(EXTRA_HOST_FLAGS); do \
7827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7829 echo "Doing maintainer-clean in gettext" ; \
7831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7833 "RANLIB=$${RANLIB}" \
7834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7840 .PHONY: configure-gnuserv maybe-configure-gnuserv
7841 maybe-configure-gnuserv:
7843 @test ! -f gnuserv/Makefile || exit 0; \
7844 [ -d gnuserv ] || mkdir gnuserv; \
7845 r=`${PWD_COMMAND}`; export r; \
7846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7847 CC="$(CC)"; export CC; \
7848 CFLAGS="$(CFLAGS)"; export CFLAGS; \
7849 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
7850 CXX="$(CXX)"; export CXX; \
7851 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
7852 AR="$(AR)"; export AR; \
7853 AS="$(AS)"; export AS; \
7854 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
7855 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
7856 LD="$(LD)"; export LD; \
7857 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
7858 NM="$(NM)"; export NM; \
7859 RANLIB="$(RANLIB)"; export RANLIB; \
7860 WINDRES="$(WINDRES)"; export WINDRES; \
7861 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
7862 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
7863 echo Configuring in gnuserv; \
7864 cd gnuserv || exit 1; \
7867 srcdiroption="--srcdir=."; \
7869 /* | [A-Za-z]:[\\/]*) \
7870 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
7871 libsrcdir="$$s/gnuserv";; \
7873 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
7874 libsrcdir="$$s/gnuserv";; \
7876 $(SHELL) $${libsrcdir}/configure \
7877 $(HOST_CONFIGARGS) $${srcdiroption} \
7880 .PHONY: all-gnuserv maybe-all-gnuserv
7882 all-gnuserv: configure-gnuserv
7883 @r=`${PWD_COMMAND}`; export r; \
7884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7886 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) all)
7888 .PHONY: check-gnuserv maybe-check-gnuserv
7889 maybe-check-gnuserv:
7892 @r=`${PWD_COMMAND}`; export r; \
7893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7895 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
7898 .PHONY: install-gnuserv maybe-install-gnuserv
7899 maybe-install-gnuserv:
7901 install-gnuserv: installdirs
7902 @r=`${PWD_COMMAND}`; export r; \
7903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7905 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
7908 # Other targets (info, dvi, etc.)
7910 .PHONY: maybe-info-gnuserv info-gnuserv
7915 @[ -f ./gnuserv/Makefile ] || exit 0; \
7916 r=`${PWD_COMMAND}`; export r; \
7917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7919 for flag in $(EXTRA_HOST_FLAGS); do \
7920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7922 echo "Doing info in gnuserv" ; \
7924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7926 "RANLIB=$${RANLIB}" \
7927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7932 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
7937 @[ -f ./gnuserv/Makefile ] || exit 0; \
7938 r=`${PWD_COMMAND}`; export r; \
7939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7941 for flag in $(EXTRA_HOST_FLAGS); do \
7942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7944 echo "Doing dvi in gnuserv" ; \
7946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7948 "RANLIB=$${RANLIB}" \
7949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7954 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
7959 @[ -f ./gnuserv/Makefile ] || exit 0; \
7960 r=`${PWD_COMMAND}`; export r; \
7961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7963 for flag in $(EXTRA_HOST_FLAGS); do \
7964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7966 echo "Doing TAGS in gnuserv" ; \
7968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7970 "RANLIB=$${RANLIB}" \
7971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7976 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
7977 maybe-install-info-gnuserv:
7979 install-info-gnuserv: \
7982 @[ -f ./gnuserv/Makefile ] || exit 0; \
7983 r=`${PWD_COMMAND}`; export r; \
7984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7986 for flag in $(EXTRA_HOST_FLAGS); do \
7987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7989 echo "Doing install-info in gnuserv" ; \
7991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7993 "RANLIB=$${RANLIB}" \
7994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7999 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
8000 maybe-installcheck-gnuserv:
8002 installcheck-gnuserv: \
8004 @[ -f ./gnuserv/Makefile ] || exit 0; \
8005 r=`${PWD_COMMAND}`; export r; \
8006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8008 for flag in $(EXTRA_HOST_FLAGS); do \
8009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8011 echo "Doing installcheck in gnuserv" ; \
8013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8015 "RANLIB=$${RANLIB}" \
8016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8021 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
8022 maybe-mostlyclean-gnuserv:
8024 mostlyclean-gnuserv:
8025 @[ -f ./gnuserv/Makefile ] || exit 0; \
8026 r=`${PWD_COMMAND}`; export r; \
8027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8029 for flag in $(EXTRA_HOST_FLAGS); do \
8030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8032 echo "Doing mostlyclean in gnuserv" ; \
8034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8036 "RANLIB=$${RANLIB}" \
8037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8042 .PHONY: maybe-clean-gnuserv clean-gnuserv
8043 maybe-clean-gnuserv:
8046 @[ -f ./gnuserv/Makefile ] || exit 0; \
8047 r=`${PWD_COMMAND}`; export r; \
8048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8050 for flag in $(EXTRA_HOST_FLAGS); do \
8051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8053 echo "Doing clean in gnuserv" ; \
8055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8057 "RANLIB=$${RANLIB}" \
8058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8063 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
8064 maybe-distclean-gnuserv:
8067 @[ -f ./gnuserv/Makefile ] || exit 0; \
8068 r=`${PWD_COMMAND}`; export r; \
8069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8071 for flag in $(EXTRA_HOST_FLAGS); do \
8072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8074 echo "Doing distclean in gnuserv" ; \
8076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8078 "RANLIB=$${RANLIB}" \
8079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8084 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
8085 maybe-maintainer-clean-gnuserv:
8087 maintainer-clean-gnuserv:
8088 @[ -f ./gnuserv/Makefile ] || exit 0; \
8089 r=`${PWD_COMMAND}`; export r; \
8090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8092 for flag in $(EXTRA_HOST_FLAGS); do \
8093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8095 echo "Doing maintainer-clean in gnuserv" ; \
8097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8099 "RANLIB=$${RANLIB}" \
8100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8106 .PHONY: configure-gprof maybe-configure-gprof
8107 maybe-configure-gprof:
8109 @test ! -f gprof/Makefile || exit 0; \
8110 [ -d gprof ] || mkdir gprof; \
8111 r=`${PWD_COMMAND}`; export r; \
8112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8113 CC="$(CC)"; export CC; \
8114 CFLAGS="$(CFLAGS)"; export CFLAGS; \
8115 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
8116 CXX="$(CXX)"; export CXX; \
8117 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
8118 AR="$(AR)"; export AR; \
8119 AS="$(AS)"; export AS; \
8120 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
8121 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
8122 LD="$(LD)"; export LD; \
8123 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
8124 NM="$(NM)"; export NM; \
8125 RANLIB="$(RANLIB)"; export RANLIB; \
8126 WINDRES="$(WINDRES)"; export WINDRES; \
8127 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
8128 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
8129 echo Configuring in gprof; \
8130 cd gprof || exit 1; \
8133 srcdiroption="--srcdir=."; \
8135 /* | [A-Za-z]:[\\/]*) \
8136 srcdiroption="--srcdir=$(srcdir)/gprof"; \
8137 libsrcdir="$$s/gprof";; \
8139 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
8140 libsrcdir="$$s/gprof";; \
8142 $(SHELL) $${libsrcdir}/configure \
8143 $(HOST_CONFIGARGS) $${srcdiroption} \
8146 .PHONY: all-gprof maybe-all-gprof
8148 all-gprof: configure-gprof
8149 @r=`${PWD_COMMAND}`; export r; \
8150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8152 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) all)
8154 .PHONY: check-gprof maybe-check-gprof
8158 @r=`${PWD_COMMAND}`; export r; \
8159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8161 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
8164 .PHONY: install-gprof maybe-install-gprof
8165 maybe-install-gprof:
8167 install-gprof: installdirs
8168 @r=`${PWD_COMMAND}`; export r; \
8169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8171 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
8174 # Other targets (info, dvi, etc.)
8176 .PHONY: maybe-info-gprof info-gprof
8181 @[ -f ./gprof/Makefile ] || exit 0; \
8182 r=`${PWD_COMMAND}`; export r; \
8183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8185 for flag in $(EXTRA_HOST_FLAGS); do \
8186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8188 echo "Doing info in gprof" ; \
8190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8192 "RANLIB=$${RANLIB}" \
8193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8198 .PHONY: maybe-dvi-gprof dvi-gprof
8203 @[ -f ./gprof/Makefile ] || exit 0; \
8204 r=`${PWD_COMMAND}`; export r; \
8205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8207 for flag in $(EXTRA_HOST_FLAGS); do \
8208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8210 echo "Doing dvi in gprof" ; \
8212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8214 "RANLIB=$${RANLIB}" \
8215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8220 .PHONY: maybe-TAGS-gprof TAGS-gprof
8225 @[ -f ./gprof/Makefile ] || exit 0; \
8226 r=`${PWD_COMMAND}`; export r; \
8227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8229 for flag in $(EXTRA_HOST_FLAGS); do \
8230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8232 echo "Doing TAGS in gprof" ; \
8234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8236 "RANLIB=$${RANLIB}" \
8237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8242 .PHONY: maybe-install-info-gprof install-info-gprof
8243 maybe-install-info-gprof:
8245 install-info-gprof: \
8248 @[ -f ./gprof/Makefile ] || exit 0; \
8249 r=`${PWD_COMMAND}`; export r; \
8250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8252 for flag in $(EXTRA_HOST_FLAGS); do \
8253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8255 echo "Doing install-info in gprof" ; \
8257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8259 "RANLIB=$${RANLIB}" \
8260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8265 .PHONY: maybe-installcheck-gprof installcheck-gprof
8266 maybe-installcheck-gprof:
8268 installcheck-gprof: \
8270 @[ -f ./gprof/Makefile ] || exit 0; \
8271 r=`${PWD_COMMAND}`; export r; \
8272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8274 for flag in $(EXTRA_HOST_FLAGS); do \
8275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8277 echo "Doing installcheck in gprof" ; \
8279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8281 "RANLIB=$${RANLIB}" \
8282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8287 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
8288 maybe-mostlyclean-gprof:
8291 @[ -f ./gprof/Makefile ] || exit 0; \
8292 r=`${PWD_COMMAND}`; export r; \
8293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8295 for flag in $(EXTRA_HOST_FLAGS); do \
8296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8298 echo "Doing mostlyclean in gprof" ; \
8300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8302 "RANLIB=$${RANLIB}" \
8303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8308 .PHONY: maybe-clean-gprof clean-gprof
8312 @[ -f ./gprof/Makefile ] || exit 0; \
8313 r=`${PWD_COMMAND}`; export r; \
8314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8316 for flag in $(EXTRA_HOST_FLAGS); do \
8317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8319 echo "Doing clean in gprof" ; \
8321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8323 "RANLIB=$${RANLIB}" \
8324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8329 .PHONY: maybe-distclean-gprof distclean-gprof
8330 maybe-distclean-gprof:
8333 @[ -f ./gprof/Makefile ] || exit 0; \
8334 r=`${PWD_COMMAND}`; export r; \
8335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8337 for flag in $(EXTRA_HOST_FLAGS); do \
8338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8340 echo "Doing distclean in gprof" ; \
8342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8344 "RANLIB=$${RANLIB}" \
8345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8350 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
8351 maybe-maintainer-clean-gprof:
8353 maintainer-clean-gprof:
8354 @[ -f ./gprof/Makefile ] || exit 0; \
8355 r=`${PWD_COMMAND}`; export r; \
8356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8358 for flag in $(EXTRA_HOST_FLAGS); do \
8359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8361 echo "Doing maintainer-clean in gprof" ; \
8363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8365 "RANLIB=$${RANLIB}" \
8366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8372 .PHONY: configure-gzip maybe-configure-gzip
8373 maybe-configure-gzip:
8375 @test ! -f gzip/Makefile || exit 0; \
8376 [ -d gzip ] || mkdir gzip; \
8377 r=`${PWD_COMMAND}`; export r; \
8378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8379 CC="$(CC)"; export CC; \
8380 CFLAGS="$(CFLAGS)"; export CFLAGS; \
8381 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
8382 CXX="$(CXX)"; export CXX; \
8383 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
8384 AR="$(AR)"; export AR; \
8385 AS="$(AS)"; export AS; \
8386 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
8387 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
8388 LD="$(LD)"; export LD; \
8389 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
8390 NM="$(NM)"; export NM; \
8391 RANLIB="$(RANLIB)"; export RANLIB; \
8392 WINDRES="$(WINDRES)"; export WINDRES; \
8393 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
8394 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
8395 echo Configuring in gzip; \
8396 cd gzip || exit 1; \
8399 srcdiroption="--srcdir=."; \
8401 /* | [A-Za-z]:[\\/]*) \
8402 srcdiroption="--srcdir=$(srcdir)/gzip"; \
8403 libsrcdir="$$s/gzip";; \
8405 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
8406 libsrcdir="$$s/gzip";; \
8408 $(SHELL) $${libsrcdir}/configure \
8409 $(HOST_CONFIGARGS) $${srcdiroption} \
8412 .PHONY: all-gzip maybe-all-gzip
8414 all-gzip: configure-gzip
8415 @r=`${PWD_COMMAND}`; export r; \
8416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8418 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) all)
8420 .PHONY: check-gzip maybe-check-gzip
8424 @r=`${PWD_COMMAND}`; export r; \
8425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8427 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
8430 .PHONY: install-gzip maybe-install-gzip
8433 install-gzip: installdirs
8434 @r=`${PWD_COMMAND}`; export r; \
8435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8437 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
8440 # Other targets (info, dvi, etc.)
8442 .PHONY: maybe-info-gzip info-gzip
8447 @[ -f ./gzip/Makefile ] || exit 0; \
8448 r=`${PWD_COMMAND}`; export r; \
8449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8451 for flag in $(EXTRA_HOST_FLAGS); do \
8452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8454 echo "Doing info in gzip" ; \
8456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8458 "RANLIB=$${RANLIB}" \
8459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8464 .PHONY: maybe-dvi-gzip dvi-gzip
8469 @[ -f ./gzip/Makefile ] || exit 0; \
8470 r=`${PWD_COMMAND}`; export r; \
8471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8473 for flag in $(EXTRA_HOST_FLAGS); do \
8474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8476 echo "Doing dvi in gzip" ; \
8478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8480 "RANLIB=$${RANLIB}" \
8481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8486 .PHONY: maybe-TAGS-gzip TAGS-gzip
8491 @[ -f ./gzip/Makefile ] || exit 0; \
8492 r=`${PWD_COMMAND}`; export r; \
8493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8495 for flag in $(EXTRA_HOST_FLAGS); do \
8496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8498 echo "Doing TAGS in gzip" ; \
8500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8502 "RANLIB=$${RANLIB}" \
8503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8508 .PHONY: maybe-install-info-gzip install-info-gzip
8509 maybe-install-info-gzip:
8511 install-info-gzip: \
8514 @[ -f ./gzip/Makefile ] || exit 0; \
8515 r=`${PWD_COMMAND}`; export r; \
8516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8518 for flag in $(EXTRA_HOST_FLAGS); do \
8519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8521 echo "Doing install-info in gzip" ; \
8523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8525 "RANLIB=$${RANLIB}" \
8526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8531 .PHONY: maybe-installcheck-gzip installcheck-gzip
8532 maybe-installcheck-gzip:
8534 installcheck-gzip: \
8536 @[ -f ./gzip/Makefile ] || exit 0; \
8537 r=`${PWD_COMMAND}`; export r; \
8538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8540 for flag in $(EXTRA_HOST_FLAGS); do \
8541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8543 echo "Doing installcheck in gzip" ; \
8545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8547 "RANLIB=$${RANLIB}" \
8548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8553 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
8554 maybe-mostlyclean-gzip:
8557 @[ -f ./gzip/Makefile ] || exit 0; \
8558 r=`${PWD_COMMAND}`; export r; \
8559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8561 for flag in $(EXTRA_HOST_FLAGS); do \
8562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8564 echo "Doing mostlyclean in gzip" ; \
8566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8568 "RANLIB=$${RANLIB}" \
8569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8574 .PHONY: maybe-clean-gzip clean-gzip
8578 @[ -f ./gzip/Makefile ] || exit 0; \
8579 r=`${PWD_COMMAND}`; export r; \
8580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8582 for flag in $(EXTRA_HOST_FLAGS); do \
8583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8585 echo "Doing clean in gzip" ; \
8587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8589 "RANLIB=$${RANLIB}" \
8590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8595 .PHONY: maybe-distclean-gzip distclean-gzip
8596 maybe-distclean-gzip:
8599 @[ -f ./gzip/Makefile ] || exit 0; \
8600 r=`${PWD_COMMAND}`; export r; \
8601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8603 for flag in $(EXTRA_HOST_FLAGS); do \
8604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8606 echo "Doing distclean in gzip" ; \
8608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8610 "RANLIB=$${RANLIB}" \
8611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8616 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
8617 maybe-maintainer-clean-gzip:
8619 maintainer-clean-gzip:
8620 @[ -f ./gzip/Makefile ] || exit 0; \
8621 r=`${PWD_COMMAND}`; export r; \
8622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8624 for flag in $(EXTRA_HOST_FLAGS); do \
8625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8627 echo "Doing maintainer-clean in gzip" ; \
8629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8631 "RANLIB=$${RANLIB}" \
8632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8638 .PHONY: configure-hello maybe-configure-hello
8639 maybe-configure-hello:
8641 @test ! -f hello/Makefile || exit 0; \
8642 [ -d hello ] || mkdir hello; \
8643 r=`${PWD_COMMAND}`; export r; \
8644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8645 CC="$(CC)"; export CC; \
8646 CFLAGS="$(CFLAGS)"; export CFLAGS; \
8647 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
8648 CXX="$(CXX)"; export CXX; \
8649 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
8650 AR="$(AR)"; export AR; \
8651 AS="$(AS)"; export AS; \
8652 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
8653 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
8654 LD="$(LD)"; export LD; \
8655 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
8656 NM="$(NM)"; export NM; \
8657 RANLIB="$(RANLIB)"; export RANLIB; \
8658 WINDRES="$(WINDRES)"; export WINDRES; \
8659 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
8660 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
8661 echo Configuring in hello; \
8662 cd hello || exit 1; \
8665 srcdiroption="--srcdir=."; \
8667 /* | [A-Za-z]:[\\/]*) \
8668 srcdiroption="--srcdir=$(srcdir)/hello"; \
8669 libsrcdir="$$s/hello";; \
8671 srcdiroption="--srcdir=../$(srcdir)/hello"; \
8672 libsrcdir="$$s/hello";; \
8674 $(SHELL) $${libsrcdir}/configure \
8675 $(HOST_CONFIGARGS) $${srcdiroption} \
8678 .PHONY: all-hello maybe-all-hello
8680 all-hello: configure-hello
8681 @r=`${PWD_COMMAND}`; export r; \
8682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8684 (cd hello && $(MAKE) $(FLAGS_TO_PASS) all)
8686 .PHONY: check-hello maybe-check-hello
8690 @r=`${PWD_COMMAND}`; export r; \
8691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8693 (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
8696 .PHONY: install-hello maybe-install-hello
8697 maybe-install-hello:
8699 install-hello: installdirs
8700 @r=`${PWD_COMMAND}`; export r; \
8701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8703 (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
8706 # Other targets (info, dvi, etc.)
8708 .PHONY: maybe-info-hello info-hello
8713 @[ -f ./hello/Makefile ] || exit 0; \
8714 r=`${PWD_COMMAND}`; export r; \
8715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8717 for flag in $(EXTRA_HOST_FLAGS); do \
8718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8720 echo "Doing info in hello" ; \
8722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8724 "RANLIB=$${RANLIB}" \
8725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8730 .PHONY: maybe-dvi-hello dvi-hello
8735 @[ -f ./hello/Makefile ] || exit 0; \
8736 r=`${PWD_COMMAND}`; export r; \
8737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8739 for flag in $(EXTRA_HOST_FLAGS); do \
8740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8742 echo "Doing dvi in hello" ; \
8744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8746 "RANLIB=$${RANLIB}" \
8747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8752 .PHONY: maybe-TAGS-hello TAGS-hello
8757 @[ -f ./hello/Makefile ] || exit 0; \
8758 r=`${PWD_COMMAND}`; export r; \
8759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8761 for flag in $(EXTRA_HOST_FLAGS); do \
8762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8764 echo "Doing TAGS in hello" ; \
8766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8768 "RANLIB=$${RANLIB}" \
8769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8774 .PHONY: maybe-install-info-hello install-info-hello
8775 maybe-install-info-hello:
8777 install-info-hello: \
8780 @[ -f ./hello/Makefile ] || exit 0; \
8781 r=`${PWD_COMMAND}`; export r; \
8782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8784 for flag in $(EXTRA_HOST_FLAGS); do \
8785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8787 echo "Doing install-info in hello" ; \
8789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8791 "RANLIB=$${RANLIB}" \
8792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8797 .PHONY: maybe-installcheck-hello installcheck-hello
8798 maybe-installcheck-hello:
8800 installcheck-hello: \
8802 @[ -f ./hello/Makefile ] || exit 0; \
8803 r=`${PWD_COMMAND}`; export r; \
8804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8806 for flag in $(EXTRA_HOST_FLAGS); do \
8807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8809 echo "Doing installcheck in hello" ; \
8811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8813 "RANLIB=$${RANLIB}" \
8814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8819 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
8820 maybe-mostlyclean-hello:
8823 @[ -f ./hello/Makefile ] || exit 0; \
8824 r=`${PWD_COMMAND}`; export r; \
8825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8827 for flag in $(EXTRA_HOST_FLAGS); do \
8828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8830 echo "Doing mostlyclean in hello" ; \
8832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8834 "RANLIB=$${RANLIB}" \
8835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8840 .PHONY: maybe-clean-hello clean-hello
8844 @[ -f ./hello/Makefile ] || exit 0; \
8845 r=`${PWD_COMMAND}`; export r; \
8846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8848 for flag in $(EXTRA_HOST_FLAGS); do \
8849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8851 echo "Doing clean in hello" ; \
8853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8855 "RANLIB=$${RANLIB}" \
8856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8861 .PHONY: maybe-distclean-hello distclean-hello
8862 maybe-distclean-hello:
8865 @[ -f ./hello/Makefile ] || exit 0; \
8866 r=`${PWD_COMMAND}`; export r; \
8867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8869 for flag in $(EXTRA_HOST_FLAGS); do \
8870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8872 echo "Doing distclean in hello" ; \
8874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8876 "RANLIB=$${RANLIB}" \
8877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8882 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
8883 maybe-maintainer-clean-hello:
8885 maintainer-clean-hello:
8886 @[ -f ./hello/Makefile ] || exit 0; \
8887 r=`${PWD_COMMAND}`; export r; \
8888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8890 for flag in $(EXTRA_HOST_FLAGS); do \
8891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8893 echo "Doing maintainer-clean in hello" ; \
8895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8897 "RANLIB=$${RANLIB}" \
8898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8904 .PHONY: configure-indent maybe-configure-indent
8905 maybe-configure-indent:
8907 @test ! -f indent/Makefile || exit 0; \
8908 [ -d indent ] || mkdir indent; \
8909 r=`${PWD_COMMAND}`; export r; \
8910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8911 CC="$(CC)"; export CC; \
8912 CFLAGS="$(CFLAGS)"; export CFLAGS; \
8913 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
8914 CXX="$(CXX)"; export CXX; \
8915 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
8916 AR="$(AR)"; export AR; \
8917 AS="$(AS)"; export AS; \
8918 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
8919 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
8920 LD="$(LD)"; export LD; \
8921 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
8922 NM="$(NM)"; export NM; \
8923 RANLIB="$(RANLIB)"; export RANLIB; \
8924 WINDRES="$(WINDRES)"; export WINDRES; \
8925 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
8926 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
8927 echo Configuring in indent; \
8928 cd indent || exit 1; \
8931 srcdiroption="--srcdir=."; \
8933 /* | [A-Za-z]:[\\/]*) \
8934 srcdiroption="--srcdir=$(srcdir)/indent"; \
8935 libsrcdir="$$s/indent";; \
8937 srcdiroption="--srcdir=../$(srcdir)/indent"; \
8938 libsrcdir="$$s/indent";; \
8940 $(SHELL) $${libsrcdir}/configure \
8941 $(HOST_CONFIGARGS) $${srcdiroption} \
8944 .PHONY: all-indent maybe-all-indent
8946 all-indent: configure-indent
8947 @r=`${PWD_COMMAND}`; export r; \
8948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8950 (cd indent && $(MAKE) $(FLAGS_TO_PASS) all)
8952 .PHONY: check-indent maybe-check-indent
8956 @r=`${PWD_COMMAND}`; export r; \
8957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8959 (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
8962 .PHONY: install-indent maybe-install-indent
8963 maybe-install-indent:
8965 install-indent: installdirs
8966 @r=`${PWD_COMMAND}`; export r; \
8967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8969 (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
8972 # Other targets (info, dvi, etc.)
8974 .PHONY: maybe-info-indent info-indent
8979 @[ -f ./indent/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 info in indent" ; \
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}" \
8996 .PHONY: maybe-dvi-indent dvi-indent
9001 @[ -f ./indent/Makefile ] || exit 0; \
9002 r=`${PWD_COMMAND}`; export r; \
9003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9005 for flag in $(EXTRA_HOST_FLAGS); do \
9006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9008 echo "Doing dvi in indent" ; \
9010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9012 "RANLIB=$${RANLIB}" \
9013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9018 .PHONY: maybe-TAGS-indent TAGS-indent
9023 @[ -f ./indent/Makefile ] || exit 0; \
9024 r=`${PWD_COMMAND}`; export r; \
9025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9027 for flag in $(EXTRA_HOST_FLAGS); do \
9028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9030 echo "Doing TAGS in indent" ; \
9032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9034 "RANLIB=$${RANLIB}" \
9035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9040 .PHONY: maybe-install-info-indent install-info-indent
9041 maybe-install-info-indent:
9043 install-info-indent: \
9046 @[ -f ./indent/Makefile ] || exit 0; \
9047 r=`${PWD_COMMAND}`; export r; \
9048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9050 for flag in $(EXTRA_HOST_FLAGS); do \
9051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9053 echo "Doing install-info in indent" ; \
9055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9057 "RANLIB=$${RANLIB}" \
9058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9063 .PHONY: maybe-installcheck-indent installcheck-indent
9064 maybe-installcheck-indent:
9066 installcheck-indent: \
9068 @[ -f ./indent/Makefile ] || exit 0; \
9069 r=`${PWD_COMMAND}`; export r; \
9070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9072 for flag in $(EXTRA_HOST_FLAGS); do \
9073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9075 echo "Doing installcheck in indent" ; \
9077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9079 "RANLIB=$${RANLIB}" \
9080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9085 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
9086 maybe-mostlyclean-indent:
9089 @[ -f ./indent/Makefile ] || exit 0; \
9090 r=`${PWD_COMMAND}`; export r; \
9091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9093 for flag in $(EXTRA_HOST_FLAGS); do \
9094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9096 echo "Doing mostlyclean in indent" ; \
9098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9100 "RANLIB=$${RANLIB}" \
9101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9106 .PHONY: maybe-clean-indent clean-indent
9110 @[ -f ./indent/Makefile ] || exit 0; \
9111 r=`${PWD_COMMAND}`; export r; \
9112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9114 for flag in $(EXTRA_HOST_FLAGS); do \
9115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9117 echo "Doing clean in indent" ; \
9119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9121 "RANLIB=$${RANLIB}" \
9122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9127 .PHONY: maybe-distclean-indent distclean-indent
9128 maybe-distclean-indent:
9131 @[ -f ./indent/Makefile ] || exit 0; \
9132 r=`${PWD_COMMAND}`; export r; \
9133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9135 for flag in $(EXTRA_HOST_FLAGS); do \
9136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9138 echo "Doing distclean in indent" ; \
9140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9142 "RANLIB=$${RANLIB}" \
9143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9148 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
9149 maybe-maintainer-clean-indent:
9151 maintainer-clean-indent:
9152 @[ -f ./indent/Makefile ] || exit 0; \
9153 r=`${PWD_COMMAND}`; export r; \
9154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9156 for flag in $(EXTRA_HOST_FLAGS); do \
9157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9159 echo "Doing maintainer-clean in indent" ; \
9161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9163 "RANLIB=$${RANLIB}" \
9164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9170 .PHONY: configure-intl maybe-configure-intl
9171 maybe-configure-intl:
9173 @test ! -f intl/Makefile || exit 0; \
9174 [ -d intl ] || mkdir intl; \
9175 r=`${PWD_COMMAND}`; export r; \
9176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9177 CC="$(CC)"; export CC; \
9178 CFLAGS="$(CFLAGS)"; export CFLAGS; \
9179 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
9180 CXX="$(CXX)"; export CXX; \
9181 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
9182 AR="$(AR)"; export AR; \
9183 AS="$(AS)"; export AS; \
9184 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
9185 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
9186 LD="$(LD)"; export LD; \
9187 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
9188 NM="$(NM)"; export NM; \
9189 RANLIB="$(RANLIB)"; export RANLIB; \
9190 WINDRES="$(WINDRES)"; export WINDRES; \
9191 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
9192 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
9193 echo Configuring in intl; \
9194 cd intl || exit 1; \
9197 srcdiroption="--srcdir=."; \
9199 /* | [A-Za-z]:[\\/]*) \
9200 srcdiroption="--srcdir=$(srcdir)/intl"; \
9201 libsrcdir="$$s/intl";; \
9203 srcdiroption="--srcdir=../$(srcdir)/intl"; \
9204 libsrcdir="$$s/intl";; \
9206 $(SHELL) $${libsrcdir}/configure \
9207 $(HOST_CONFIGARGS) $${srcdiroption} \
9210 .PHONY: all-intl maybe-all-intl
9212 all-intl: configure-intl
9213 @r=`${PWD_COMMAND}`; export r; \
9214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9216 (cd intl && $(MAKE) $(FLAGS_TO_PASS) all)
9218 .PHONY: check-intl maybe-check-intl
9222 @r=`${PWD_COMMAND}`; export r; \
9223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9225 (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
9228 .PHONY: install-intl maybe-install-intl
9231 install-intl: installdirs
9232 @r=`${PWD_COMMAND}`; export r; \
9233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9235 (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
9238 # Other targets (info, dvi, etc.)
9240 .PHONY: maybe-info-intl info-intl
9245 @[ -f ./intl/Makefile ] || exit 0; \
9246 r=`${PWD_COMMAND}`; export r; \
9247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9249 for flag in $(EXTRA_HOST_FLAGS); do \
9250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9252 echo "Doing info in intl" ; \
9254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9256 "RANLIB=$${RANLIB}" \
9257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9262 .PHONY: maybe-dvi-intl dvi-intl
9267 @[ -f ./intl/Makefile ] || exit 0; \
9268 r=`${PWD_COMMAND}`; export r; \
9269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9271 for flag in $(EXTRA_HOST_FLAGS); do \
9272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9274 echo "Doing dvi in intl" ; \
9276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9278 "RANLIB=$${RANLIB}" \
9279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9284 .PHONY: maybe-TAGS-intl TAGS-intl
9289 @[ -f ./intl/Makefile ] || exit 0; \
9290 r=`${PWD_COMMAND}`; export r; \
9291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9293 for flag in $(EXTRA_HOST_FLAGS); do \
9294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9296 echo "Doing TAGS in intl" ; \
9298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9300 "RANLIB=$${RANLIB}" \
9301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9306 .PHONY: maybe-install-info-intl install-info-intl
9307 maybe-install-info-intl:
9309 install-info-intl: \
9312 @[ -f ./intl/Makefile ] || exit 0; \
9313 r=`${PWD_COMMAND}`; export r; \
9314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9316 for flag in $(EXTRA_HOST_FLAGS); do \
9317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9319 echo "Doing install-info in intl" ; \
9321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9323 "RANLIB=$${RANLIB}" \
9324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9329 .PHONY: maybe-installcheck-intl installcheck-intl
9330 maybe-installcheck-intl:
9332 installcheck-intl: \
9334 @[ -f ./intl/Makefile ] || exit 0; \
9335 r=`${PWD_COMMAND}`; export r; \
9336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9338 for flag in $(EXTRA_HOST_FLAGS); do \
9339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9341 echo "Doing installcheck in intl" ; \
9343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9345 "RANLIB=$${RANLIB}" \
9346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9351 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
9352 maybe-mostlyclean-intl:
9355 @[ -f ./intl/Makefile ] || exit 0; \
9356 r=`${PWD_COMMAND}`; export r; \
9357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9359 for flag in $(EXTRA_HOST_FLAGS); do \
9360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9362 echo "Doing mostlyclean in intl" ; \
9364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9366 "RANLIB=$${RANLIB}" \
9367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9372 .PHONY: maybe-clean-intl clean-intl
9376 @[ -f ./intl/Makefile ] || exit 0; \
9377 r=`${PWD_COMMAND}`; export r; \
9378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9380 for flag in $(EXTRA_HOST_FLAGS); do \
9381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9383 echo "Doing clean in intl" ; \
9385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9387 "RANLIB=$${RANLIB}" \
9388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9393 .PHONY: maybe-distclean-intl distclean-intl
9394 maybe-distclean-intl:
9397 @[ -f ./intl/Makefile ] || exit 0; \
9398 r=`${PWD_COMMAND}`; export r; \
9399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9401 for flag in $(EXTRA_HOST_FLAGS); do \
9402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9404 echo "Doing distclean in intl" ; \
9406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9408 "RANLIB=$${RANLIB}" \
9409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9414 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
9415 maybe-maintainer-clean-intl:
9417 maintainer-clean-intl:
9418 @[ -f ./intl/Makefile ] || exit 0; \
9419 r=`${PWD_COMMAND}`; export r; \
9420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9422 for flag in $(EXTRA_HOST_FLAGS); do \
9423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9425 echo "Doing maintainer-clean in intl" ; \
9427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9429 "RANLIB=$${RANLIB}" \
9430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9436 .PHONY: configure-tcl maybe-configure-tcl
9437 maybe-configure-tcl:
9439 @test ! -f tcl/Makefile || exit 0; \
9440 [ -d tcl ] || mkdir tcl; \
9441 r=`${PWD_COMMAND}`; export r; \
9442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9443 CC="$(CC)"; export CC; \
9444 CFLAGS="$(CFLAGS)"; export CFLAGS; \
9445 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
9446 CXX="$(CXX)"; export CXX; \
9447 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
9448 AR="$(AR)"; export AR; \
9449 AS="$(AS)"; export AS; \
9450 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
9451 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
9452 LD="$(LD)"; export LD; \
9453 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
9454 NM="$(NM)"; export NM; \
9455 RANLIB="$(RANLIB)"; export RANLIB; \
9456 WINDRES="$(WINDRES)"; export WINDRES; \
9457 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
9458 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
9459 echo Configuring in tcl; \
9463 srcdiroption="--srcdir=."; \
9465 /* | [A-Za-z]:[\\/]*) \
9466 srcdiroption="--srcdir=$(srcdir)/tcl"; \
9467 libsrcdir="$$s/tcl";; \
9469 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
9470 libsrcdir="$$s/tcl";; \
9472 $(SHELL) $${libsrcdir}/configure \
9473 $(HOST_CONFIGARGS) $${srcdiroption} \
9476 .PHONY: all-tcl maybe-all-tcl
9478 all-tcl: configure-tcl
9479 @r=`${PWD_COMMAND}`; export r; \
9480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9482 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) all)
9484 .PHONY: check-tcl maybe-check-tcl
9488 @r=`${PWD_COMMAND}`; export r; \
9489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9491 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
9494 .PHONY: install-tcl maybe-install-tcl
9497 install-tcl: installdirs
9498 @r=`${PWD_COMMAND}`; export r; \
9499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9501 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
9504 # Other targets (info, dvi, etc.)
9506 .PHONY: maybe-info-tcl info-tcl
9511 @[ -f ./tcl/Makefile ] || exit 0; \
9512 r=`${PWD_COMMAND}`; export r; \
9513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9515 for flag in $(EXTRA_HOST_FLAGS); do \
9516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9518 echo "Doing info in tcl" ; \
9520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9522 "RANLIB=$${RANLIB}" \
9523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9528 .PHONY: maybe-dvi-tcl dvi-tcl
9533 @[ -f ./tcl/Makefile ] || exit 0; \
9534 r=`${PWD_COMMAND}`; export r; \
9535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9537 for flag in $(EXTRA_HOST_FLAGS); do \
9538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9540 echo "Doing dvi in tcl" ; \
9542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9544 "RANLIB=$${RANLIB}" \
9545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9550 .PHONY: maybe-TAGS-tcl TAGS-tcl
9555 @[ -f ./tcl/Makefile ] || exit 0; \
9556 r=`${PWD_COMMAND}`; export r; \
9557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9559 for flag in $(EXTRA_HOST_FLAGS); do \
9560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9562 echo "Doing TAGS in tcl" ; \
9564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9566 "RANLIB=$${RANLIB}" \
9567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9572 .PHONY: maybe-install-info-tcl install-info-tcl
9573 maybe-install-info-tcl:
9578 @[ -f ./tcl/Makefile ] || exit 0; \
9579 r=`${PWD_COMMAND}`; export r; \
9580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9582 for flag in $(EXTRA_HOST_FLAGS); do \
9583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9585 echo "Doing install-info in tcl" ; \
9587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9589 "RANLIB=$${RANLIB}" \
9590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9595 .PHONY: maybe-installcheck-tcl installcheck-tcl
9596 maybe-installcheck-tcl:
9600 @[ -f ./tcl/Makefile ] || exit 0; \
9601 r=`${PWD_COMMAND}`; export r; \
9602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9604 for flag in $(EXTRA_HOST_FLAGS); do \
9605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9607 echo "Doing installcheck in tcl" ; \
9609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9611 "RANLIB=$${RANLIB}" \
9612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9617 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
9618 maybe-mostlyclean-tcl:
9620 # tcl doesn't support mostlyclean.
9624 .PHONY: maybe-clean-tcl clean-tcl
9628 @[ -f ./tcl/Makefile ] || exit 0; \
9629 r=`${PWD_COMMAND}`; export r; \
9630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9632 for flag in $(EXTRA_HOST_FLAGS); do \
9633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9635 echo "Doing clean in tcl" ; \
9637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9639 "RANLIB=$${RANLIB}" \
9640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9645 .PHONY: maybe-distclean-tcl distclean-tcl
9646 maybe-distclean-tcl:
9649 @[ -f ./tcl/Makefile ] || exit 0; \
9650 r=`${PWD_COMMAND}`; export r; \
9651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9653 for flag in $(EXTRA_HOST_FLAGS); do \
9654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9656 echo "Doing distclean in tcl" ; \
9658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9660 "RANLIB=$${RANLIB}" \
9661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9666 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
9667 maybe-maintainer-clean-tcl:
9669 maintainer-clean-tcl:
9670 @[ -f ./tcl/Makefile ] || exit 0; \
9671 r=`${PWD_COMMAND}`; export r; \
9672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9674 for flag in $(EXTRA_HOST_FLAGS); do \
9675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9677 echo "Doing maintainer-clean in tcl" ; \
9679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9681 "RANLIB=$${RANLIB}" \
9682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9688 .PHONY: configure-itcl maybe-configure-itcl
9689 maybe-configure-itcl:
9691 @test ! -f itcl/Makefile || exit 0; \
9692 [ -d itcl ] || mkdir itcl; \
9693 r=`${PWD_COMMAND}`; export r; \
9694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9695 CC="$(CC)"; export CC; \
9696 CFLAGS="$(CFLAGS)"; export CFLAGS; \
9697 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
9698 CXX="$(CXX)"; export CXX; \
9699 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
9700 AR="$(AR)"; export AR; \
9701 AS="$(AS)"; export AS; \
9702 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
9703 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
9704 LD="$(LD)"; export LD; \
9705 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
9706 NM="$(NM)"; export NM; \
9707 RANLIB="$(RANLIB)"; export RANLIB; \
9708 WINDRES="$(WINDRES)"; export WINDRES; \
9709 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
9710 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
9711 echo Configuring in itcl; \
9712 cd itcl || exit 1; \
9715 srcdiroption="--srcdir=."; \
9717 /* | [A-Za-z]:[\\/]*) \
9718 srcdiroption="--srcdir=$(srcdir)/itcl"; \
9719 libsrcdir="$$s/itcl";; \
9721 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
9722 libsrcdir="$$s/itcl";; \
9724 $(SHELL) $${libsrcdir}/configure \
9725 $(HOST_CONFIGARGS) $${srcdiroption} \
9728 .PHONY: all-itcl maybe-all-itcl
9730 all-itcl: configure-itcl
9731 @r=`${PWD_COMMAND}`; export r; \
9732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9734 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) all)
9736 .PHONY: check-itcl maybe-check-itcl
9740 @r=`${PWD_COMMAND}`; export r; \
9741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9743 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
9746 .PHONY: install-itcl maybe-install-itcl
9749 install-itcl: installdirs
9750 @r=`${PWD_COMMAND}`; export r; \
9751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9753 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
9756 # Other targets (info, dvi, etc.)
9758 .PHONY: maybe-info-itcl info-itcl
9763 @[ -f ./itcl/Makefile ] || exit 0; \
9764 r=`${PWD_COMMAND}`; export r; \
9765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9767 for flag in $(EXTRA_HOST_FLAGS); do \
9768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9770 echo "Doing info in itcl" ; \
9772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9774 "RANLIB=$${RANLIB}" \
9775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9780 .PHONY: maybe-dvi-itcl dvi-itcl
9785 @[ -f ./itcl/Makefile ] || exit 0; \
9786 r=`${PWD_COMMAND}`; export r; \
9787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9789 for flag in $(EXTRA_HOST_FLAGS); do \
9790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9792 echo "Doing dvi in itcl" ; \
9794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9796 "RANLIB=$${RANLIB}" \
9797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9802 .PHONY: maybe-TAGS-itcl TAGS-itcl
9807 @[ -f ./itcl/Makefile ] || exit 0; \
9808 r=`${PWD_COMMAND}`; export r; \
9809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9811 for flag in $(EXTRA_HOST_FLAGS); do \
9812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9814 echo "Doing TAGS in itcl" ; \
9816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9818 "RANLIB=$${RANLIB}" \
9819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9824 .PHONY: maybe-install-info-itcl install-info-itcl
9825 maybe-install-info-itcl:
9827 install-info-itcl: \
9830 @[ -f ./itcl/Makefile ] || exit 0; \
9831 r=`${PWD_COMMAND}`; export r; \
9832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9834 for flag in $(EXTRA_HOST_FLAGS); do \
9835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9837 echo "Doing install-info in itcl" ; \
9839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9841 "RANLIB=$${RANLIB}" \
9842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9847 .PHONY: maybe-installcheck-itcl installcheck-itcl
9848 maybe-installcheck-itcl:
9850 installcheck-itcl: \
9852 @[ -f ./itcl/Makefile ] || exit 0; \
9853 r=`${PWD_COMMAND}`; export r; \
9854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9856 for flag in $(EXTRA_HOST_FLAGS); do \
9857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9859 echo "Doing installcheck in itcl" ; \
9861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9863 "RANLIB=$${RANLIB}" \
9864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9869 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
9870 maybe-mostlyclean-itcl:
9873 @[ -f ./itcl/Makefile ] || exit 0; \
9874 r=`${PWD_COMMAND}`; export r; \
9875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9877 for flag in $(EXTRA_HOST_FLAGS); do \
9878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9880 echo "Doing mostlyclean in itcl" ; \
9882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9884 "RANLIB=$${RANLIB}" \
9885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9890 .PHONY: maybe-clean-itcl clean-itcl
9894 @[ -f ./itcl/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 clean in itcl" ; \
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}" \
9911 .PHONY: maybe-distclean-itcl distclean-itcl
9912 maybe-distclean-itcl:
9915 @[ -f ./itcl/Makefile ] || exit 0; \
9916 r=`${PWD_COMMAND}`; export r; \
9917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9919 for flag in $(EXTRA_HOST_FLAGS); do \
9920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9922 echo "Doing distclean in itcl" ; \
9924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9926 "RANLIB=$${RANLIB}" \
9927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9932 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
9933 maybe-maintainer-clean-itcl:
9935 maintainer-clean-itcl:
9936 @[ -f ./itcl/Makefile ] || exit 0; \
9937 r=`${PWD_COMMAND}`; export r; \
9938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9940 for flag in $(EXTRA_HOST_FLAGS); do \
9941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9943 echo "Doing maintainer-clean in itcl" ; \
9945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9947 "RANLIB=$${RANLIB}" \
9948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9954 .PHONY: configure-ld maybe-configure-ld
9957 @test ! -f ld/Makefile || exit 0; \
9958 [ -d ld ] || mkdir ld; \
9959 r=`${PWD_COMMAND}`; export r; \
9960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9961 CC="$(CC)"; export CC; \
9962 CFLAGS="$(CFLAGS)"; export CFLAGS; \
9963 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
9964 CXX="$(CXX)"; export CXX; \
9965 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
9966 AR="$(AR)"; export AR; \
9967 AS="$(AS)"; export AS; \
9968 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
9969 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
9970 LD="$(LD)"; export LD; \
9971 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
9972 NM="$(NM)"; export NM; \
9973 RANLIB="$(RANLIB)"; export RANLIB; \
9974 WINDRES="$(WINDRES)"; export WINDRES; \
9975 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
9976 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
9977 echo Configuring in ld; \
9981 srcdiroption="--srcdir=."; \
9983 /* | [A-Za-z]:[\\/]*) \
9984 srcdiroption="--srcdir=$(srcdir)/ld"; \
9985 libsrcdir="$$s/ld";; \
9987 srcdiroption="--srcdir=../$(srcdir)/ld"; \
9988 libsrcdir="$$s/ld";; \
9990 $(SHELL) $${libsrcdir}/configure \
9991 $(HOST_CONFIGARGS) $${srcdiroption} \
9994 .PHONY: all-ld maybe-all-ld
9996 all-ld: configure-ld
9997 @r=`${PWD_COMMAND}`; export r; \
9998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10000 (cd ld && $(MAKE) $(FLAGS_TO_PASS) all)
10002 .PHONY: check-ld maybe-check-ld
10006 @r=`${PWD_COMMAND}`; export r; \
10007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10009 (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
10012 .PHONY: install-ld maybe-install-ld
10015 install-ld: installdirs
10016 @r=`${PWD_COMMAND}`; export r; \
10017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10019 (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
10022 # Other targets (info, dvi, etc.)
10024 .PHONY: maybe-info-ld info-ld
10029 @[ -f ./ld/Makefile ] || exit 0; \
10030 r=`${PWD_COMMAND}`; export r; \
10031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10033 for flag in $(EXTRA_HOST_FLAGS); do \
10034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10036 echo "Doing info in ld" ; \
10038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10040 "RANLIB=$${RANLIB}" \
10041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10046 .PHONY: maybe-dvi-ld dvi-ld
10051 @[ -f ./ld/Makefile ] || exit 0; \
10052 r=`${PWD_COMMAND}`; export r; \
10053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10055 for flag in $(EXTRA_HOST_FLAGS); do \
10056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10058 echo "Doing dvi in ld" ; \
10060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10062 "RANLIB=$${RANLIB}" \
10063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10068 .PHONY: maybe-TAGS-ld TAGS-ld
10073 @[ -f ./ld/Makefile ] || exit 0; \
10074 r=`${PWD_COMMAND}`; export r; \
10075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10077 for flag in $(EXTRA_HOST_FLAGS); do \
10078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10080 echo "Doing TAGS in ld" ; \
10082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10084 "RANLIB=$${RANLIB}" \
10085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10090 .PHONY: maybe-install-info-ld install-info-ld
10091 maybe-install-info-ld:
10096 @[ -f ./ld/Makefile ] || exit 0; \
10097 r=`${PWD_COMMAND}`; export r; \
10098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10100 for flag in $(EXTRA_HOST_FLAGS); do \
10101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10103 echo "Doing install-info in ld" ; \
10105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10107 "RANLIB=$${RANLIB}" \
10108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10113 .PHONY: maybe-installcheck-ld installcheck-ld
10114 maybe-installcheck-ld:
10118 @[ -f ./ld/Makefile ] || exit 0; \
10119 r=`${PWD_COMMAND}`; export r; \
10120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10122 for flag in $(EXTRA_HOST_FLAGS); do \
10123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10125 echo "Doing installcheck in ld" ; \
10127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10129 "RANLIB=$${RANLIB}" \
10130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10135 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
10136 maybe-mostlyclean-ld:
10139 @[ -f ./ld/Makefile ] || exit 0; \
10140 r=`${PWD_COMMAND}`; export r; \
10141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10143 for flag in $(EXTRA_HOST_FLAGS); do \
10144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10146 echo "Doing mostlyclean in ld" ; \
10148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10150 "RANLIB=$${RANLIB}" \
10151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10156 .PHONY: maybe-clean-ld clean-ld
10160 @[ -f ./ld/Makefile ] || exit 0; \
10161 r=`${PWD_COMMAND}`; export r; \
10162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10164 for flag in $(EXTRA_HOST_FLAGS); do \
10165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10167 echo "Doing clean in ld" ; \
10169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10171 "RANLIB=$${RANLIB}" \
10172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10177 .PHONY: maybe-distclean-ld distclean-ld
10178 maybe-distclean-ld:
10181 @[ -f ./ld/Makefile ] || exit 0; \
10182 r=`${PWD_COMMAND}`; export r; \
10183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10185 for flag in $(EXTRA_HOST_FLAGS); do \
10186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10188 echo "Doing distclean in ld" ; \
10190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10192 "RANLIB=$${RANLIB}" \
10193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10198 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
10199 maybe-maintainer-clean-ld:
10201 maintainer-clean-ld:
10202 @[ -f ./ld/Makefile ] || exit 0; \
10203 r=`${PWD_COMMAND}`; export r; \
10204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10206 for flag in $(EXTRA_HOST_FLAGS); do \
10207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10209 echo "Doing maintainer-clean in ld" ; \
10211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10213 "RANLIB=$${RANLIB}" \
10214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10215 maintainer-clean) \
10220 .PHONY: configure-libgui maybe-configure-libgui
10221 maybe-configure-libgui:
10223 @test ! -f libgui/Makefile || exit 0; \
10224 [ -d libgui ] || mkdir libgui; \
10225 r=`${PWD_COMMAND}`; export r; \
10226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10227 CC="$(CC)"; export CC; \
10228 CFLAGS="$(CFLAGS)"; export CFLAGS; \
10229 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
10230 CXX="$(CXX)"; export CXX; \
10231 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
10232 AR="$(AR)"; export AR; \
10233 AS="$(AS)"; export AS; \
10234 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
10235 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
10236 LD="$(LD)"; export LD; \
10237 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
10238 NM="$(NM)"; export NM; \
10239 RANLIB="$(RANLIB)"; export RANLIB; \
10240 WINDRES="$(WINDRES)"; export WINDRES; \
10241 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
10242 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
10243 echo Configuring in libgui; \
10244 cd libgui || exit 1; \
10245 case $(srcdir) in \
10247 srcdiroption="--srcdir=."; \
10249 /* | [A-Za-z]:[\\/]*) \
10250 srcdiroption="--srcdir=$(srcdir)/libgui"; \
10251 libsrcdir="$$s/libgui";; \
10253 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
10254 libsrcdir="$$s/libgui";; \
10256 $(SHELL) $${libsrcdir}/configure \
10257 $(HOST_CONFIGARGS) $${srcdiroption} \
10260 .PHONY: all-libgui maybe-all-libgui
10262 all-libgui: configure-libgui
10263 @r=`${PWD_COMMAND}`; export r; \
10264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10266 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) all)
10268 .PHONY: check-libgui maybe-check-libgui
10269 maybe-check-libgui:
10272 @r=`${PWD_COMMAND}`; export r; \
10273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10275 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
10278 .PHONY: install-libgui maybe-install-libgui
10279 maybe-install-libgui:
10281 install-libgui: installdirs
10282 @r=`${PWD_COMMAND}`; export r; \
10283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10285 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
10288 # Other targets (info, dvi, etc.)
10290 .PHONY: maybe-info-libgui info-libgui
10295 @[ -f ./libgui/Makefile ] || exit 0; \
10296 r=`${PWD_COMMAND}`; export r; \
10297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10299 for flag in $(EXTRA_HOST_FLAGS); do \
10300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10302 echo "Doing info in libgui" ; \
10304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10306 "RANLIB=$${RANLIB}" \
10307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10312 .PHONY: maybe-dvi-libgui dvi-libgui
10317 @[ -f ./libgui/Makefile ] || exit 0; \
10318 r=`${PWD_COMMAND}`; export r; \
10319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10321 for flag in $(EXTRA_HOST_FLAGS); do \
10322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10324 echo "Doing dvi in libgui" ; \
10326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10328 "RANLIB=$${RANLIB}" \
10329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10334 .PHONY: maybe-TAGS-libgui TAGS-libgui
10339 @[ -f ./libgui/Makefile ] || exit 0; \
10340 r=`${PWD_COMMAND}`; export r; \
10341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10343 for flag in $(EXTRA_HOST_FLAGS); do \
10344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10346 echo "Doing TAGS in libgui" ; \
10348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10350 "RANLIB=$${RANLIB}" \
10351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10356 .PHONY: maybe-install-info-libgui install-info-libgui
10357 maybe-install-info-libgui:
10359 install-info-libgui: \
10362 @[ -f ./libgui/Makefile ] || exit 0; \
10363 r=`${PWD_COMMAND}`; export r; \
10364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10366 for flag in $(EXTRA_HOST_FLAGS); do \
10367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10369 echo "Doing install-info in libgui" ; \
10371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10373 "RANLIB=$${RANLIB}" \
10374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10379 .PHONY: maybe-installcheck-libgui installcheck-libgui
10380 maybe-installcheck-libgui:
10382 installcheck-libgui: \
10384 @[ -f ./libgui/Makefile ] || exit 0; \
10385 r=`${PWD_COMMAND}`; export r; \
10386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10388 for flag in $(EXTRA_HOST_FLAGS); do \
10389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10391 echo "Doing installcheck in libgui" ; \
10393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10395 "RANLIB=$${RANLIB}" \
10396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10401 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
10402 maybe-mostlyclean-libgui:
10404 mostlyclean-libgui:
10405 @[ -f ./libgui/Makefile ] || exit 0; \
10406 r=`${PWD_COMMAND}`; export r; \
10407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10409 for flag in $(EXTRA_HOST_FLAGS); do \
10410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10412 echo "Doing mostlyclean in libgui" ; \
10414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10416 "RANLIB=$${RANLIB}" \
10417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10422 .PHONY: maybe-clean-libgui clean-libgui
10423 maybe-clean-libgui:
10426 @[ -f ./libgui/Makefile ] || exit 0; \
10427 r=`${PWD_COMMAND}`; export r; \
10428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10430 for flag in $(EXTRA_HOST_FLAGS); do \
10431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10433 echo "Doing clean in libgui" ; \
10435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10437 "RANLIB=$${RANLIB}" \
10438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10443 .PHONY: maybe-distclean-libgui distclean-libgui
10444 maybe-distclean-libgui:
10447 @[ -f ./libgui/Makefile ] || exit 0; \
10448 r=`${PWD_COMMAND}`; export r; \
10449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10451 for flag in $(EXTRA_HOST_FLAGS); do \
10452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10454 echo "Doing distclean in libgui" ; \
10456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10458 "RANLIB=$${RANLIB}" \
10459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10464 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
10465 maybe-maintainer-clean-libgui:
10467 maintainer-clean-libgui:
10468 @[ -f ./libgui/Makefile ] || exit 0; \
10469 r=`${PWD_COMMAND}`; export r; \
10470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10472 for flag in $(EXTRA_HOST_FLAGS); do \
10473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10475 echo "Doing maintainer-clean in libgui" ; \
10477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10479 "RANLIB=$${RANLIB}" \
10480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10481 maintainer-clean) \
10486 .PHONY: configure-libiberty maybe-configure-libiberty
10487 maybe-configure-libiberty:
10488 configure-libiberty:
10489 @test ! -f libiberty/Makefile || exit 0; \
10490 [ -d libiberty ] || mkdir libiberty; \
10491 r=`${PWD_COMMAND}`; export r; \
10492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10493 CC="$(CC)"; export CC; \
10494 CFLAGS="$(CFLAGS)"; export CFLAGS; \
10495 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
10496 CXX="$(CXX)"; export CXX; \
10497 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
10498 AR="$(AR)"; export AR; \
10499 AS="$(AS)"; export AS; \
10500 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
10501 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
10502 LD="$(LD)"; export LD; \
10503 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
10504 NM="$(NM)"; export NM; \
10505 RANLIB="$(RANLIB)"; export RANLIB; \
10506 WINDRES="$(WINDRES)"; export WINDRES; \
10507 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
10508 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
10509 echo Configuring in libiberty; \
10510 cd libiberty || exit 1; \
10511 case $(srcdir) in \
10513 srcdiroption="--srcdir=."; \
10515 /* | [A-Za-z]:[\\/]*) \
10516 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
10517 libsrcdir="$$s/libiberty";; \
10519 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
10520 libsrcdir="$$s/libiberty";; \
10522 $(SHELL) $${libsrcdir}/configure \
10523 $(HOST_CONFIGARGS) $${srcdiroption} \
10526 .PHONY: all-libiberty maybe-all-libiberty
10527 maybe-all-libiberty:
10528 all-libiberty: configure-libiberty
10529 @r=`${PWD_COMMAND}`; export r; \
10530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10532 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) all)
10534 .PHONY: check-libiberty maybe-check-libiberty
10535 maybe-check-libiberty:
10538 @r=`${PWD_COMMAND}`; export r; \
10539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10541 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
10544 .PHONY: install-libiberty maybe-install-libiberty
10545 maybe-install-libiberty:
10547 install-libiberty: installdirs
10548 @r=`${PWD_COMMAND}`; export r; \
10549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10551 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
10554 # Other targets (info, dvi, etc.)
10556 .PHONY: maybe-info-libiberty info-libiberty
10557 maybe-info-libiberty:
10560 configure-libiberty
10561 @[ -f ./libiberty/Makefile ] || exit 0; \
10562 r=`${PWD_COMMAND}`; export r; \
10563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10565 for flag in $(EXTRA_HOST_FLAGS); do \
10566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10568 echo "Doing info in libiberty" ; \
10570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10572 "RANLIB=$${RANLIB}" \
10573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10578 .PHONY: maybe-dvi-libiberty dvi-libiberty
10579 maybe-dvi-libiberty:
10582 configure-libiberty
10583 @[ -f ./libiberty/Makefile ] || exit 0; \
10584 r=`${PWD_COMMAND}`; export r; \
10585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10587 for flag in $(EXTRA_HOST_FLAGS); do \
10588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10590 echo "Doing dvi in libiberty" ; \
10592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10594 "RANLIB=$${RANLIB}" \
10595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10600 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
10601 maybe-TAGS-libiberty:
10604 configure-libiberty
10605 @[ -f ./libiberty/Makefile ] || exit 0; \
10606 r=`${PWD_COMMAND}`; export r; \
10607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10609 for flag in $(EXTRA_HOST_FLAGS); do \
10610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10612 echo "Doing TAGS in libiberty" ; \
10614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10616 "RANLIB=$${RANLIB}" \
10617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10622 .PHONY: maybe-install-info-libiberty install-info-libiberty
10623 maybe-install-info-libiberty:
10625 install-info-libiberty: \
10626 configure-libiberty \
10628 @[ -f ./libiberty/Makefile ] || exit 0; \
10629 r=`${PWD_COMMAND}`; export r; \
10630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10632 for flag in $(EXTRA_HOST_FLAGS); do \
10633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10635 echo "Doing install-info in libiberty" ; \
10637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10639 "RANLIB=$${RANLIB}" \
10640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10645 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
10646 maybe-installcheck-libiberty:
10648 installcheck-libiberty: \
10649 configure-libiberty
10650 @[ -f ./libiberty/Makefile ] || exit 0; \
10651 r=`${PWD_COMMAND}`; export r; \
10652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10654 for flag in $(EXTRA_HOST_FLAGS); do \
10655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10657 echo "Doing installcheck in libiberty" ; \
10659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10661 "RANLIB=$${RANLIB}" \
10662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10667 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
10668 maybe-mostlyclean-libiberty:
10670 mostlyclean-libiberty:
10671 @[ -f ./libiberty/Makefile ] || exit 0; \
10672 r=`${PWD_COMMAND}`; export r; \
10673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10675 for flag in $(EXTRA_HOST_FLAGS); do \
10676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10678 echo "Doing mostlyclean in libiberty" ; \
10680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10682 "RANLIB=$${RANLIB}" \
10683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10688 .PHONY: maybe-clean-libiberty clean-libiberty
10689 maybe-clean-libiberty:
10692 @[ -f ./libiberty/Makefile ] || exit 0; \
10693 r=`${PWD_COMMAND}`; export r; \
10694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10696 for flag in $(EXTRA_HOST_FLAGS); do \
10697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10699 echo "Doing clean in libiberty" ; \
10701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10703 "RANLIB=$${RANLIB}" \
10704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10709 .PHONY: maybe-distclean-libiberty distclean-libiberty
10710 maybe-distclean-libiberty:
10712 distclean-libiberty:
10713 @[ -f ./libiberty/Makefile ] || exit 0; \
10714 r=`${PWD_COMMAND}`; export r; \
10715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10717 for flag in $(EXTRA_HOST_FLAGS); do \
10718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10720 echo "Doing distclean in libiberty" ; \
10722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10724 "RANLIB=$${RANLIB}" \
10725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10730 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
10731 maybe-maintainer-clean-libiberty:
10733 maintainer-clean-libiberty:
10734 @[ -f ./libiberty/Makefile ] || exit 0; \
10735 r=`${PWD_COMMAND}`; export r; \
10736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10738 for flag in $(EXTRA_HOST_FLAGS); do \
10739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10741 echo "Doing maintainer-clean in libiberty" ; \
10743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10745 "RANLIB=$${RANLIB}" \
10746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10747 maintainer-clean) \
10752 .PHONY: configure-libtool maybe-configure-libtool
10753 maybe-configure-libtool:
10755 @test ! -f libtool/Makefile || exit 0; \
10756 [ -d libtool ] || mkdir libtool; \
10757 r=`${PWD_COMMAND}`; export r; \
10758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10759 CC="$(CC)"; export CC; \
10760 CFLAGS="$(CFLAGS)"; export CFLAGS; \
10761 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
10762 CXX="$(CXX)"; export CXX; \
10763 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
10764 AR="$(AR)"; export AR; \
10765 AS="$(AS)"; export AS; \
10766 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
10767 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
10768 LD="$(LD)"; export LD; \
10769 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
10770 NM="$(NM)"; export NM; \
10771 RANLIB="$(RANLIB)"; export RANLIB; \
10772 WINDRES="$(WINDRES)"; export WINDRES; \
10773 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
10774 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
10775 echo Configuring in libtool; \
10776 cd libtool || exit 1; \
10777 case $(srcdir) in \
10779 srcdiroption="--srcdir=."; \
10781 /* | [A-Za-z]:[\\/]*) \
10782 srcdiroption="--srcdir=$(srcdir)/libtool"; \
10783 libsrcdir="$$s/libtool";; \
10785 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
10786 libsrcdir="$$s/libtool";; \
10788 $(SHELL) $${libsrcdir}/configure \
10789 $(HOST_CONFIGARGS) $${srcdiroption} \
10792 .PHONY: all-libtool maybe-all-libtool
10794 all-libtool: configure-libtool
10795 @r=`${PWD_COMMAND}`; export r; \
10796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10798 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) all)
10800 .PHONY: check-libtool maybe-check-libtool
10801 maybe-check-libtool:
10804 @r=`${PWD_COMMAND}`; export r; \
10805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10807 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
10810 .PHONY: install-libtool maybe-install-libtool
10811 maybe-install-libtool:
10813 install-libtool: installdirs
10814 @r=`${PWD_COMMAND}`; export r; \
10815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10817 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
10820 # Other targets (info, dvi, etc.)
10822 .PHONY: maybe-info-libtool info-libtool
10823 maybe-info-libtool:
10827 @[ -f ./libtool/Makefile ] || exit 0; \
10828 r=`${PWD_COMMAND}`; export r; \
10829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10831 for flag in $(EXTRA_HOST_FLAGS); do \
10832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10834 echo "Doing info in libtool" ; \
10836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10838 "RANLIB=$${RANLIB}" \
10839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10844 .PHONY: maybe-dvi-libtool dvi-libtool
10849 @[ -f ./libtool/Makefile ] || exit 0; \
10850 r=`${PWD_COMMAND}`; export r; \
10851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10853 for flag in $(EXTRA_HOST_FLAGS); do \
10854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10856 echo "Doing dvi in libtool" ; \
10858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10860 "RANLIB=$${RANLIB}" \
10861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10866 .PHONY: maybe-TAGS-libtool TAGS-libtool
10867 maybe-TAGS-libtool:
10871 @[ -f ./libtool/Makefile ] || exit 0; \
10872 r=`${PWD_COMMAND}`; export r; \
10873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10875 for flag in $(EXTRA_HOST_FLAGS); do \
10876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10878 echo "Doing TAGS in libtool" ; \
10880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10882 "RANLIB=$${RANLIB}" \
10883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10888 .PHONY: maybe-install-info-libtool install-info-libtool
10889 maybe-install-info-libtool:
10891 install-info-libtool: \
10892 configure-libtool \
10894 @[ -f ./libtool/Makefile ] || exit 0; \
10895 r=`${PWD_COMMAND}`; export r; \
10896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10898 for flag in $(EXTRA_HOST_FLAGS); do \
10899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10901 echo "Doing install-info in libtool" ; \
10903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10905 "RANLIB=$${RANLIB}" \
10906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10911 .PHONY: maybe-installcheck-libtool installcheck-libtool
10912 maybe-installcheck-libtool:
10914 installcheck-libtool: \
10916 @[ -f ./libtool/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 installcheck in libtool" ; \
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}" \
10933 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
10934 maybe-mostlyclean-libtool:
10936 mostlyclean-libtool:
10937 @[ -f ./libtool/Makefile ] || exit 0; \
10938 r=`${PWD_COMMAND}`; export r; \
10939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10941 for flag in $(EXTRA_HOST_FLAGS); do \
10942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10944 echo "Doing mostlyclean in libtool" ; \
10946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10948 "RANLIB=$${RANLIB}" \
10949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10954 .PHONY: maybe-clean-libtool clean-libtool
10955 maybe-clean-libtool:
10958 @[ -f ./libtool/Makefile ] || exit 0; \
10959 r=`${PWD_COMMAND}`; export r; \
10960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10962 for flag in $(EXTRA_HOST_FLAGS); do \
10963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10965 echo "Doing clean in libtool" ; \
10967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10969 "RANLIB=$${RANLIB}" \
10970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10975 .PHONY: maybe-distclean-libtool distclean-libtool
10976 maybe-distclean-libtool:
10979 @[ -f ./libtool/Makefile ] || exit 0; \
10980 r=`${PWD_COMMAND}`; export r; \
10981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10983 for flag in $(EXTRA_HOST_FLAGS); do \
10984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10986 echo "Doing distclean in libtool" ; \
10988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10990 "RANLIB=$${RANLIB}" \
10991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10996 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
10997 maybe-maintainer-clean-libtool:
10999 maintainer-clean-libtool:
11000 @[ -f ./libtool/Makefile ] || exit 0; \
11001 r=`${PWD_COMMAND}`; export r; \
11002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11004 for flag in $(EXTRA_HOST_FLAGS); do \
11005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11007 echo "Doing maintainer-clean in libtool" ; \
11009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11011 "RANLIB=$${RANLIB}" \
11012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11013 maintainer-clean) \
11018 .PHONY: configure-m4 maybe-configure-m4
11019 maybe-configure-m4:
11021 @test ! -f m4/Makefile || exit 0; \
11022 [ -d m4 ] || mkdir m4; \
11023 r=`${PWD_COMMAND}`; export r; \
11024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11025 CC="$(CC)"; export CC; \
11026 CFLAGS="$(CFLAGS)"; export CFLAGS; \
11027 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
11028 CXX="$(CXX)"; export CXX; \
11029 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
11030 AR="$(AR)"; export AR; \
11031 AS="$(AS)"; export AS; \
11032 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
11033 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
11034 LD="$(LD)"; export LD; \
11035 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
11036 NM="$(NM)"; export NM; \
11037 RANLIB="$(RANLIB)"; export RANLIB; \
11038 WINDRES="$(WINDRES)"; export WINDRES; \
11039 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
11040 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
11041 echo Configuring in m4; \
11043 case $(srcdir) in \
11045 srcdiroption="--srcdir=."; \
11047 /* | [A-Za-z]:[\\/]*) \
11048 srcdiroption="--srcdir=$(srcdir)/m4"; \
11049 libsrcdir="$$s/m4";; \
11051 srcdiroption="--srcdir=../$(srcdir)/m4"; \
11052 libsrcdir="$$s/m4";; \
11054 $(SHELL) $${libsrcdir}/configure \
11055 $(HOST_CONFIGARGS) $${srcdiroption} \
11058 .PHONY: all-m4 maybe-all-m4
11060 all-m4: configure-m4
11061 @r=`${PWD_COMMAND}`; export r; \
11062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11064 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) all)
11066 .PHONY: check-m4 maybe-check-m4
11070 @r=`${PWD_COMMAND}`; export r; \
11071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11073 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
11076 .PHONY: install-m4 maybe-install-m4
11079 install-m4: installdirs
11080 @r=`${PWD_COMMAND}`; export r; \
11081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11083 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
11086 # Other targets (info, dvi, etc.)
11088 .PHONY: maybe-info-m4 info-m4
11093 @[ -f ./m4/Makefile ] || exit 0; \
11094 r=`${PWD_COMMAND}`; export r; \
11095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11097 for flag in $(EXTRA_HOST_FLAGS); do \
11098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11100 echo "Doing info in m4" ; \
11102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11104 "RANLIB=$${RANLIB}" \
11105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11110 .PHONY: maybe-dvi-m4 dvi-m4
11115 @[ -f ./m4/Makefile ] || exit 0; \
11116 r=`${PWD_COMMAND}`; export r; \
11117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11119 for flag in $(EXTRA_HOST_FLAGS); do \
11120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11122 echo "Doing dvi in m4" ; \
11124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11126 "RANLIB=$${RANLIB}" \
11127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11132 .PHONY: maybe-TAGS-m4 TAGS-m4
11137 @[ -f ./m4/Makefile ] || exit 0; \
11138 r=`${PWD_COMMAND}`; export r; \
11139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11141 for flag in $(EXTRA_HOST_FLAGS); do \
11142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11144 echo "Doing TAGS in m4" ; \
11146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11148 "RANLIB=$${RANLIB}" \
11149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11154 .PHONY: maybe-install-info-m4 install-info-m4
11155 maybe-install-info-m4:
11160 @[ -f ./m4/Makefile ] || exit 0; \
11161 r=`${PWD_COMMAND}`; export r; \
11162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11164 for flag in $(EXTRA_HOST_FLAGS); do \
11165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11167 echo "Doing install-info in m4" ; \
11169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11171 "RANLIB=$${RANLIB}" \
11172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11177 .PHONY: maybe-installcheck-m4 installcheck-m4
11178 maybe-installcheck-m4:
11182 @[ -f ./m4/Makefile ] || exit 0; \
11183 r=`${PWD_COMMAND}`; export r; \
11184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11186 for flag in $(EXTRA_HOST_FLAGS); do \
11187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11189 echo "Doing installcheck in m4" ; \
11191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11193 "RANLIB=$${RANLIB}" \
11194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11199 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
11200 maybe-mostlyclean-m4:
11203 @[ -f ./m4/Makefile ] || exit 0; \
11204 r=`${PWD_COMMAND}`; export r; \
11205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11207 for flag in $(EXTRA_HOST_FLAGS); do \
11208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11210 echo "Doing mostlyclean in m4" ; \
11212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11214 "RANLIB=$${RANLIB}" \
11215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11220 .PHONY: maybe-clean-m4 clean-m4
11224 @[ -f ./m4/Makefile ] || exit 0; \
11225 r=`${PWD_COMMAND}`; export r; \
11226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11228 for flag in $(EXTRA_HOST_FLAGS); do \
11229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11231 echo "Doing clean in m4" ; \
11233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11235 "RANLIB=$${RANLIB}" \
11236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11241 .PHONY: maybe-distclean-m4 distclean-m4
11242 maybe-distclean-m4:
11245 @[ -f ./m4/Makefile ] || exit 0; \
11246 r=`${PWD_COMMAND}`; export r; \
11247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11249 for flag in $(EXTRA_HOST_FLAGS); do \
11250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11252 echo "Doing distclean in m4" ; \
11254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11256 "RANLIB=$${RANLIB}" \
11257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11262 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
11263 maybe-maintainer-clean-m4:
11265 maintainer-clean-m4:
11266 @[ -f ./m4/Makefile ] || exit 0; \
11267 r=`${PWD_COMMAND}`; export r; \
11268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11270 for flag in $(EXTRA_HOST_FLAGS); do \
11271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11273 echo "Doing maintainer-clean in m4" ; \
11275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11277 "RANLIB=$${RANLIB}" \
11278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11279 maintainer-clean) \
11284 .PHONY: configure-make maybe-configure-make
11285 maybe-configure-make:
11287 @test ! -f make/Makefile || exit 0; \
11288 [ -d make ] || mkdir make; \
11289 r=`${PWD_COMMAND}`; export r; \
11290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11291 CC="$(CC)"; export CC; \
11292 CFLAGS="$(CFLAGS)"; export CFLAGS; \
11293 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
11294 CXX="$(CXX)"; export CXX; \
11295 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
11296 AR="$(AR)"; export AR; \
11297 AS="$(AS)"; export AS; \
11298 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
11299 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
11300 LD="$(LD)"; export LD; \
11301 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
11302 NM="$(NM)"; export NM; \
11303 RANLIB="$(RANLIB)"; export RANLIB; \
11304 WINDRES="$(WINDRES)"; export WINDRES; \
11305 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
11306 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
11307 echo Configuring in make; \
11308 cd make || exit 1; \
11309 case $(srcdir) in \
11311 srcdiroption="--srcdir=."; \
11313 /* | [A-Za-z]:[\\/]*) \
11314 srcdiroption="--srcdir=$(srcdir)/make"; \
11315 libsrcdir="$$s/make";; \
11317 srcdiroption="--srcdir=../$(srcdir)/make"; \
11318 libsrcdir="$$s/make";; \
11320 $(SHELL) $${libsrcdir}/configure \
11321 $(HOST_CONFIGARGS) $${srcdiroption} \
11324 .PHONY: all-make maybe-all-make
11326 all-make: configure-make
11327 @r=`${PWD_COMMAND}`; export r; \
11328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11330 (cd make && $(MAKE) $(FLAGS_TO_PASS) all)
11332 .PHONY: check-make maybe-check-make
11336 @r=`${PWD_COMMAND}`; export r; \
11337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11339 (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
11342 .PHONY: install-make maybe-install-make
11343 maybe-install-make:
11345 install-make: installdirs
11346 @r=`${PWD_COMMAND}`; export r; \
11347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11349 (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
11352 # Other targets (info, dvi, etc.)
11354 .PHONY: maybe-info-make info-make
11359 @[ -f ./make/Makefile ] || exit 0; \
11360 r=`${PWD_COMMAND}`; export r; \
11361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11363 for flag in $(EXTRA_HOST_FLAGS); do \
11364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11366 echo "Doing info in make" ; \
11368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11370 "RANLIB=$${RANLIB}" \
11371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11376 .PHONY: maybe-dvi-make dvi-make
11381 @[ -f ./make/Makefile ] || exit 0; \
11382 r=`${PWD_COMMAND}`; export r; \
11383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11385 for flag in $(EXTRA_HOST_FLAGS); do \
11386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11388 echo "Doing dvi in make" ; \
11390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11392 "RANLIB=$${RANLIB}" \
11393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11398 .PHONY: maybe-TAGS-make TAGS-make
11403 @[ -f ./make/Makefile ] || exit 0; \
11404 r=`${PWD_COMMAND}`; export r; \
11405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11407 for flag in $(EXTRA_HOST_FLAGS); do \
11408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11410 echo "Doing TAGS in make" ; \
11412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11414 "RANLIB=$${RANLIB}" \
11415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11420 .PHONY: maybe-install-info-make install-info-make
11421 maybe-install-info-make:
11423 install-info-make: \
11426 @[ -f ./make/Makefile ] || exit 0; \
11427 r=`${PWD_COMMAND}`; export r; \
11428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11430 for flag in $(EXTRA_HOST_FLAGS); do \
11431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11433 echo "Doing install-info in make" ; \
11435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11437 "RANLIB=$${RANLIB}" \
11438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11443 .PHONY: maybe-installcheck-make installcheck-make
11444 maybe-installcheck-make:
11446 installcheck-make: \
11448 @[ -f ./make/Makefile ] || exit 0; \
11449 r=`${PWD_COMMAND}`; export r; \
11450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11452 for flag in $(EXTRA_HOST_FLAGS); do \
11453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11455 echo "Doing installcheck in make" ; \
11457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11459 "RANLIB=$${RANLIB}" \
11460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11465 .PHONY: maybe-mostlyclean-make mostlyclean-make
11466 maybe-mostlyclean-make:
11469 @[ -f ./make/Makefile ] || exit 0; \
11470 r=`${PWD_COMMAND}`; export r; \
11471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11473 for flag in $(EXTRA_HOST_FLAGS); do \
11474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11476 echo "Doing mostlyclean in make" ; \
11478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11480 "RANLIB=$${RANLIB}" \
11481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11486 .PHONY: maybe-clean-make clean-make
11490 @[ -f ./make/Makefile ] || exit 0; \
11491 r=`${PWD_COMMAND}`; export r; \
11492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11494 for flag in $(EXTRA_HOST_FLAGS); do \
11495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11497 echo "Doing clean in make" ; \
11499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11501 "RANLIB=$${RANLIB}" \
11502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11507 .PHONY: maybe-distclean-make distclean-make
11508 maybe-distclean-make:
11511 @[ -f ./make/Makefile ] || exit 0; \
11512 r=`${PWD_COMMAND}`; export r; \
11513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11515 for flag in $(EXTRA_HOST_FLAGS); do \
11516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11518 echo "Doing distclean in make" ; \
11520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11522 "RANLIB=$${RANLIB}" \
11523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11528 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
11529 maybe-maintainer-clean-make:
11531 maintainer-clean-make:
11532 @[ -f ./make/Makefile ] || exit 0; \
11533 r=`${PWD_COMMAND}`; export r; \
11534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11536 for flag in $(EXTRA_HOST_FLAGS); do \
11537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11539 echo "Doing maintainer-clean in make" ; \
11541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11543 "RANLIB=$${RANLIB}" \
11544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11545 maintainer-clean) \
11550 .PHONY: configure-mmalloc maybe-configure-mmalloc
11551 maybe-configure-mmalloc:
11553 @test ! -f mmalloc/Makefile || exit 0; \
11554 [ -d mmalloc ] || mkdir mmalloc; \
11555 r=`${PWD_COMMAND}`; export r; \
11556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11557 CC="$(CC)"; export CC; \
11558 CFLAGS="$(CFLAGS)"; export CFLAGS; \
11559 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
11560 CXX="$(CXX)"; export CXX; \
11561 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
11562 AR="$(AR)"; export AR; \
11563 AS="$(AS)"; export AS; \
11564 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
11565 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
11566 LD="$(LD)"; export LD; \
11567 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
11568 NM="$(NM)"; export NM; \
11569 RANLIB="$(RANLIB)"; export RANLIB; \
11570 WINDRES="$(WINDRES)"; export WINDRES; \
11571 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
11572 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
11573 echo Configuring in mmalloc; \
11574 cd mmalloc || exit 1; \
11575 case $(srcdir) in \
11577 srcdiroption="--srcdir=."; \
11579 /* | [A-Za-z]:[\\/]*) \
11580 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
11581 libsrcdir="$$s/mmalloc";; \
11583 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
11584 libsrcdir="$$s/mmalloc";; \
11586 $(SHELL) $${libsrcdir}/configure \
11587 $(HOST_CONFIGARGS) $${srcdiroption} \
11590 .PHONY: all-mmalloc maybe-all-mmalloc
11592 all-mmalloc: configure-mmalloc
11593 @r=`${PWD_COMMAND}`; export r; \
11594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11596 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) all)
11598 .PHONY: check-mmalloc maybe-check-mmalloc
11599 maybe-check-mmalloc:
11604 .PHONY: install-mmalloc maybe-install-mmalloc
11605 maybe-install-mmalloc:
11607 install-mmalloc: installdirs
11608 @r=`${PWD_COMMAND}`; export r; \
11609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11611 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
11614 # Other targets (info, dvi, etc.)
11616 .PHONY: maybe-info-mmalloc info-mmalloc
11617 maybe-info-mmalloc:
11621 @[ -f ./mmalloc/Makefile ] || exit 0; \
11622 r=`${PWD_COMMAND}`; export r; \
11623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11625 for flag in $(EXTRA_HOST_FLAGS); do \
11626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11628 echo "Doing info in mmalloc" ; \
11630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11632 "RANLIB=$${RANLIB}" \
11633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11638 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
11643 @[ -f ./mmalloc/Makefile ] || exit 0; \
11644 r=`${PWD_COMMAND}`; export r; \
11645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11647 for flag in $(EXTRA_HOST_FLAGS); do \
11648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11650 echo "Doing dvi in mmalloc" ; \
11652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11654 "RANLIB=$${RANLIB}" \
11655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11660 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
11661 maybe-TAGS-mmalloc:
11665 @[ -f ./mmalloc/Makefile ] || exit 0; \
11666 r=`${PWD_COMMAND}`; export r; \
11667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11669 for flag in $(EXTRA_HOST_FLAGS); do \
11670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11672 echo "Doing TAGS in mmalloc" ; \
11674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11676 "RANLIB=$${RANLIB}" \
11677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11682 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
11683 maybe-install-info-mmalloc:
11685 install-info-mmalloc: \
11686 configure-mmalloc \
11688 @[ -f ./mmalloc/Makefile ] || exit 0; \
11689 r=`${PWD_COMMAND}`; export r; \
11690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11692 for flag in $(EXTRA_HOST_FLAGS); do \
11693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11695 echo "Doing install-info in mmalloc" ; \
11697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11699 "RANLIB=$${RANLIB}" \
11700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11705 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
11706 maybe-installcheck-mmalloc:
11708 installcheck-mmalloc: \
11710 @[ -f ./mmalloc/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 installcheck in mmalloc" ; \
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}" \
11727 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
11728 maybe-mostlyclean-mmalloc:
11730 mostlyclean-mmalloc:
11731 @[ -f ./mmalloc/Makefile ] || exit 0; \
11732 r=`${PWD_COMMAND}`; export r; \
11733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11735 for flag in $(EXTRA_HOST_FLAGS); do \
11736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11738 echo "Doing mostlyclean in mmalloc" ; \
11740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11742 "RANLIB=$${RANLIB}" \
11743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11748 .PHONY: maybe-clean-mmalloc clean-mmalloc
11749 maybe-clean-mmalloc:
11752 @[ -f ./mmalloc/Makefile ] || exit 0; \
11753 r=`${PWD_COMMAND}`; export r; \
11754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11756 for flag in $(EXTRA_HOST_FLAGS); do \
11757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11759 echo "Doing clean in mmalloc" ; \
11761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11763 "RANLIB=$${RANLIB}" \
11764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11769 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
11770 maybe-distclean-mmalloc:
11773 @[ -f ./mmalloc/Makefile ] || exit 0; \
11774 r=`${PWD_COMMAND}`; export r; \
11775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11777 for flag in $(EXTRA_HOST_FLAGS); do \
11778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11780 echo "Doing distclean in mmalloc" ; \
11782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11784 "RANLIB=$${RANLIB}" \
11785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11790 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
11791 maybe-maintainer-clean-mmalloc:
11793 maintainer-clean-mmalloc:
11794 @[ -f ./mmalloc/Makefile ] || exit 0; \
11795 r=`${PWD_COMMAND}`; export r; \
11796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11798 for flag in $(EXTRA_HOST_FLAGS); do \
11799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11801 echo "Doing maintainer-clean in mmalloc" ; \
11803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11805 "RANLIB=$${RANLIB}" \
11806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11807 maintainer-clean) \
11812 .PHONY: configure-patch maybe-configure-patch
11813 maybe-configure-patch:
11815 @test ! -f patch/Makefile || exit 0; \
11816 [ -d patch ] || mkdir patch; \
11817 r=`${PWD_COMMAND}`; export r; \
11818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11819 CC="$(CC)"; export CC; \
11820 CFLAGS="$(CFLAGS)"; export CFLAGS; \
11821 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
11822 CXX="$(CXX)"; export CXX; \
11823 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
11824 AR="$(AR)"; export AR; \
11825 AS="$(AS)"; export AS; \
11826 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
11827 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
11828 LD="$(LD)"; export LD; \
11829 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
11830 NM="$(NM)"; export NM; \
11831 RANLIB="$(RANLIB)"; export RANLIB; \
11832 WINDRES="$(WINDRES)"; export WINDRES; \
11833 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
11834 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
11835 echo Configuring in patch; \
11836 cd patch || exit 1; \
11837 case $(srcdir) in \
11839 srcdiroption="--srcdir=."; \
11841 /* | [A-Za-z]:[\\/]*) \
11842 srcdiroption="--srcdir=$(srcdir)/patch"; \
11843 libsrcdir="$$s/patch";; \
11845 srcdiroption="--srcdir=../$(srcdir)/patch"; \
11846 libsrcdir="$$s/patch";; \
11848 $(SHELL) $${libsrcdir}/configure \
11849 $(HOST_CONFIGARGS) $${srcdiroption} \
11852 .PHONY: all-patch maybe-all-patch
11854 all-patch: configure-patch
11855 @r=`${PWD_COMMAND}`; export r; \
11856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11858 (cd patch && $(MAKE) $(FLAGS_TO_PASS) all)
11860 .PHONY: check-patch maybe-check-patch
11864 @r=`${PWD_COMMAND}`; export r; \
11865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11867 (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
11870 .PHONY: install-patch maybe-install-patch
11871 maybe-install-patch:
11873 install-patch: installdirs
11874 @r=`${PWD_COMMAND}`; export r; \
11875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11877 (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
11880 # Other targets (info, dvi, etc.)
11882 .PHONY: maybe-info-patch info-patch
11887 @[ -f ./patch/Makefile ] || exit 0; \
11888 r=`${PWD_COMMAND}`; export r; \
11889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11891 for flag in $(EXTRA_HOST_FLAGS); do \
11892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11894 echo "Doing info in patch" ; \
11896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11898 "RANLIB=$${RANLIB}" \
11899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11904 .PHONY: maybe-dvi-patch dvi-patch
11909 @[ -f ./patch/Makefile ] || exit 0; \
11910 r=`${PWD_COMMAND}`; export r; \
11911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11913 for flag in $(EXTRA_HOST_FLAGS); do \
11914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11916 echo "Doing dvi in patch" ; \
11918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11920 "RANLIB=$${RANLIB}" \
11921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11926 .PHONY: maybe-TAGS-patch TAGS-patch
11931 @[ -f ./patch/Makefile ] || exit 0; \
11932 r=`${PWD_COMMAND}`; export r; \
11933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11935 for flag in $(EXTRA_HOST_FLAGS); do \
11936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11938 echo "Doing TAGS in patch" ; \
11940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11942 "RANLIB=$${RANLIB}" \
11943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11948 .PHONY: maybe-install-info-patch install-info-patch
11949 maybe-install-info-patch:
11951 install-info-patch: \
11954 @[ -f ./patch/Makefile ] || exit 0; \
11955 r=`${PWD_COMMAND}`; export r; \
11956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11958 for flag in $(EXTRA_HOST_FLAGS); do \
11959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11961 echo "Doing install-info in patch" ; \
11963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11965 "RANLIB=$${RANLIB}" \
11966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11971 .PHONY: maybe-installcheck-patch installcheck-patch
11972 maybe-installcheck-patch:
11974 installcheck-patch: \
11976 @[ -f ./patch/Makefile ] || exit 0; \
11977 r=`${PWD_COMMAND}`; export r; \
11978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11980 for flag in $(EXTRA_HOST_FLAGS); do \
11981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11983 echo "Doing installcheck in patch" ; \
11985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11987 "RANLIB=$${RANLIB}" \
11988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11993 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
11994 maybe-mostlyclean-patch:
11997 @[ -f ./patch/Makefile ] || exit 0; \
11998 r=`${PWD_COMMAND}`; export r; \
11999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12001 for flag in $(EXTRA_HOST_FLAGS); do \
12002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12004 echo "Doing mostlyclean in patch" ; \
12006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12008 "RANLIB=$${RANLIB}" \
12009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12014 .PHONY: maybe-clean-patch clean-patch
12018 @[ -f ./patch/Makefile ] || exit 0; \
12019 r=`${PWD_COMMAND}`; export r; \
12020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12022 for flag in $(EXTRA_HOST_FLAGS); do \
12023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12025 echo "Doing clean in patch" ; \
12027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12029 "RANLIB=$${RANLIB}" \
12030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12035 .PHONY: maybe-distclean-patch distclean-patch
12036 maybe-distclean-patch:
12039 @[ -f ./patch/Makefile ] || exit 0; \
12040 r=`${PWD_COMMAND}`; export r; \
12041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12043 for flag in $(EXTRA_HOST_FLAGS); do \
12044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12046 echo "Doing distclean in patch" ; \
12048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12050 "RANLIB=$${RANLIB}" \
12051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12056 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
12057 maybe-maintainer-clean-patch:
12059 maintainer-clean-patch:
12060 @[ -f ./patch/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 maintainer-clean in patch" ; \
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}" \
12073 maintainer-clean) \
12078 .PHONY: configure-perl maybe-configure-perl
12079 maybe-configure-perl:
12081 @test ! -f perl/Makefile || exit 0; \
12082 [ -d perl ] || mkdir perl; \
12083 r=`${PWD_COMMAND}`; export r; \
12084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12085 CC="$(CC)"; export CC; \
12086 CFLAGS="$(CFLAGS)"; export CFLAGS; \
12087 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
12088 CXX="$(CXX)"; export CXX; \
12089 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
12090 AR="$(AR)"; export AR; \
12091 AS="$(AS)"; export AS; \
12092 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
12093 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
12094 LD="$(LD)"; export LD; \
12095 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
12096 NM="$(NM)"; export NM; \
12097 RANLIB="$(RANLIB)"; export RANLIB; \
12098 WINDRES="$(WINDRES)"; export WINDRES; \
12099 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
12100 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
12101 echo Configuring in perl; \
12102 cd perl || exit 1; \
12103 case $(srcdir) in \
12105 srcdiroption="--srcdir=."; \
12107 /* | [A-Za-z]:[\\/]*) \
12108 srcdiroption="--srcdir=$(srcdir)/perl"; \
12109 libsrcdir="$$s/perl";; \
12111 srcdiroption="--srcdir=../$(srcdir)/perl"; \
12112 libsrcdir="$$s/perl";; \
12114 $(SHELL) $${libsrcdir}/configure \
12115 $(HOST_CONFIGARGS) $${srcdiroption} \
12118 .PHONY: all-perl maybe-all-perl
12120 all-perl: configure-perl
12121 @r=`${PWD_COMMAND}`; export r; \
12122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12124 (cd perl && $(MAKE) $(FLAGS_TO_PASS) all)
12126 .PHONY: check-perl maybe-check-perl
12130 @r=`${PWD_COMMAND}`; export r; \
12131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12133 (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
12136 .PHONY: install-perl maybe-install-perl
12137 maybe-install-perl:
12139 install-perl: installdirs
12140 @r=`${PWD_COMMAND}`; export r; \
12141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12143 (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
12146 # Other targets (info, dvi, etc.)
12148 .PHONY: maybe-info-perl info-perl
12153 @[ -f ./perl/Makefile ] || exit 0; \
12154 r=`${PWD_COMMAND}`; export r; \
12155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12157 for flag in $(EXTRA_HOST_FLAGS); do \
12158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12160 echo "Doing info in perl" ; \
12162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12164 "RANLIB=$${RANLIB}" \
12165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12170 .PHONY: maybe-dvi-perl dvi-perl
12175 @[ -f ./perl/Makefile ] || exit 0; \
12176 r=`${PWD_COMMAND}`; export r; \
12177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12179 for flag in $(EXTRA_HOST_FLAGS); do \
12180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12182 echo "Doing dvi in perl" ; \
12184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12186 "RANLIB=$${RANLIB}" \
12187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12192 .PHONY: maybe-TAGS-perl TAGS-perl
12197 @[ -f ./perl/Makefile ] || exit 0; \
12198 r=`${PWD_COMMAND}`; export r; \
12199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12201 for flag in $(EXTRA_HOST_FLAGS); do \
12202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12204 echo "Doing TAGS in perl" ; \
12206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12208 "RANLIB=$${RANLIB}" \
12209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12214 .PHONY: maybe-install-info-perl install-info-perl
12215 maybe-install-info-perl:
12217 install-info-perl: \
12220 @[ -f ./perl/Makefile ] || exit 0; \
12221 r=`${PWD_COMMAND}`; export r; \
12222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12224 for flag in $(EXTRA_HOST_FLAGS); do \
12225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12227 echo "Doing install-info in perl" ; \
12229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12231 "RANLIB=$${RANLIB}" \
12232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12237 .PHONY: maybe-installcheck-perl installcheck-perl
12238 maybe-installcheck-perl:
12240 installcheck-perl: \
12242 @[ -f ./perl/Makefile ] || exit 0; \
12243 r=`${PWD_COMMAND}`; export r; \
12244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12246 for flag in $(EXTRA_HOST_FLAGS); do \
12247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12249 echo "Doing installcheck in perl" ; \
12251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12253 "RANLIB=$${RANLIB}" \
12254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12259 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
12260 maybe-mostlyclean-perl:
12263 @[ -f ./perl/Makefile ] || exit 0; \
12264 r=`${PWD_COMMAND}`; export r; \
12265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12267 for flag in $(EXTRA_HOST_FLAGS); do \
12268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12270 echo "Doing mostlyclean in perl" ; \
12272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12274 "RANLIB=$${RANLIB}" \
12275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12280 .PHONY: maybe-clean-perl clean-perl
12284 @[ -f ./perl/Makefile ] || exit 0; \
12285 r=`${PWD_COMMAND}`; export r; \
12286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12288 for flag in $(EXTRA_HOST_FLAGS); do \
12289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12291 echo "Doing clean in perl" ; \
12293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12295 "RANLIB=$${RANLIB}" \
12296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12301 .PHONY: maybe-distclean-perl distclean-perl
12302 maybe-distclean-perl:
12305 @[ -f ./perl/Makefile ] || exit 0; \
12306 r=`${PWD_COMMAND}`; export r; \
12307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12309 for flag in $(EXTRA_HOST_FLAGS); do \
12310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12312 echo "Doing distclean in perl" ; \
12314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12316 "RANLIB=$${RANLIB}" \
12317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12322 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
12323 maybe-maintainer-clean-perl:
12325 maintainer-clean-perl:
12326 @[ -f ./perl/Makefile ] || exit 0; \
12327 r=`${PWD_COMMAND}`; export r; \
12328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12330 for flag in $(EXTRA_HOST_FLAGS); do \
12331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12333 echo "Doing maintainer-clean in perl" ; \
12335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12337 "RANLIB=$${RANLIB}" \
12338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12339 maintainer-clean) \
12344 .PHONY: configure-prms maybe-configure-prms
12345 maybe-configure-prms:
12347 @test ! -f prms/Makefile || exit 0; \
12348 [ -d prms ] || mkdir prms; \
12349 r=`${PWD_COMMAND}`; export r; \
12350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12351 CC="$(CC)"; export CC; \
12352 CFLAGS="$(CFLAGS)"; export CFLAGS; \
12353 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
12354 CXX="$(CXX)"; export CXX; \
12355 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
12356 AR="$(AR)"; export AR; \
12357 AS="$(AS)"; export AS; \
12358 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
12359 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
12360 LD="$(LD)"; export LD; \
12361 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
12362 NM="$(NM)"; export NM; \
12363 RANLIB="$(RANLIB)"; export RANLIB; \
12364 WINDRES="$(WINDRES)"; export WINDRES; \
12365 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
12366 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
12367 echo Configuring in prms; \
12368 cd prms || exit 1; \
12369 case $(srcdir) in \
12371 srcdiroption="--srcdir=."; \
12373 /* | [A-Za-z]:[\\/]*) \
12374 srcdiroption="--srcdir=$(srcdir)/prms"; \
12375 libsrcdir="$$s/prms";; \
12377 srcdiroption="--srcdir=../$(srcdir)/prms"; \
12378 libsrcdir="$$s/prms";; \
12380 $(SHELL) $${libsrcdir}/configure \
12381 $(HOST_CONFIGARGS) $${srcdiroption} \
12384 .PHONY: all-prms maybe-all-prms
12386 all-prms: configure-prms
12387 @r=`${PWD_COMMAND}`; export r; \
12388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12390 (cd prms && $(MAKE) $(FLAGS_TO_PASS) all)
12392 .PHONY: check-prms maybe-check-prms
12396 @r=`${PWD_COMMAND}`; export r; \
12397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12399 (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
12402 .PHONY: install-prms maybe-install-prms
12403 maybe-install-prms:
12405 install-prms: installdirs
12406 @r=`${PWD_COMMAND}`; export r; \
12407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12409 (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
12412 # Other targets (info, dvi, etc.)
12414 .PHONY: maybe-info-prms info-prms
12419 @[ -f ./prms/Makefile ] || exit 0; \
12420 r=`${PWD_COMMAND}`; export r; \
12421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12423 for flag in $(EXTRA_HOST_FLAGS); do \
12424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12426 echo "Doing info in prms" ; \
12428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12430 "RANLIB=$${RANLIB}" \
12431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12436 .PHONY: maybe-dvi-prms dvi-prms
12441 @[ -f ./prms/Makefile ] || exit 0; \
12442 r=`${PWD_COMMAND}`; export r; \
12443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12445 for flag in $(EXTRA_HOST_FLAGS); do \
12446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12448 echo "Doing dvi in prms" ; \
12450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12452 "RANLIB=$${RANLIB}" \
12453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12458 .PHONY: maybe-TAGS-prms TAGS-prms
12463 @[ -f ./prms/Makefile ] || exit 0; \
12464 r=`${PWD_COMMAND}`; export r; \
12465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12467 for flag in $(EXTRA_HOST_FLAGS); do \
12468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12470 echo "Doing TAGS in prms" ; \
12472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12474 "RANLIB=$${RANLIB}" \
12475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12480 .PHONY: maybe-install-info-prms install-info-prms
12481 maybe-install-info-prms:
12483 install-info-prms: \
12486 @[ -f ./prms/Makefile ] || exit 0; \
12487 r=`${PWD_COMMAND}`; export r; \
12488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12490 for flag in $(EXTRA_HOST_FLAGS); do \
12491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12493 echo "Doing install-info in prms" ; \
12495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12497 "RANLIB=$${RANLIB}" \
12498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12503 .PHONY: maybe-installcheck-prms installcheck-prms
12504 maybe-installcheck-prms:
12506 installcheck-prms: \
12508 @[ -f ./prms/Makefile ] || exit 0; \
12509 r=`${PWD_COMMAND}`; export r; \
12510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12512 for flag in $(EXTRA_HOST_FLAGS); do \
12513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12515 echo "Doing installcheck in prms" ; \
12517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12519 "RANLIB=$${RANLIB}" \
12520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12525 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
12526 maybe-mostlyclean-prms:
12529 @[ -f ./prms/Makefile ] || exit 0; \
12530 r=`${PWD_COMMAND}`; export r; \
12531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12533 for flag in $(EXTRA_HOST_FLAGS); do \
12534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12536 echo "Doing mostlyclean in prms" ; \
12538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12540 "RANLIB=$${RANLIB}" \
12541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12546 .PHONY: maybe-clean-prms clean-prms
12550 @[ -f ./prms/Makefile ] || exit 0; \
12551 r=`${PWD_COMMAND}`; export r; \
12552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12554 for flag in $(EXTRA_HOST_FLAGS); do \
12555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12557 echo "Doing clean in prms" ; \
12559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12561 "RANLIB=$${RANLIB}" \
12562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12567 .PHONY: maybe-distclean-prms distclean-prms
12568 maybe-distclean-prms:
12571 @[ -f ./prms/Makefile ] || exit 0; \
12572 r=`${PWD_COMMAND}`; export r; \
12573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12575 for flag in $(EXTRA_HOST_FLAGS); do \
12576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12578 echo "Doing distclean in prms" ; \
12580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12582 "RANLIB=$${RANLIB}" \
12583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12588 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
12589 maybe-maintainer-clean-prms:
12591 maintainer-clean-prms:
12592 @[ -f ./prms/Makefile ] || exit 0; \
12593 r=`${PWD_COMMAND}`; export r; \
12594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12596 for flag in $(EXTRA_HOST_FLAGS); do \
12597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12599 echo "Doing maintainer-clean in prms" ; \
12601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12603 "RANLIB=$${RANLIB}" \
12604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12605 maintainer-clean) \
12610 .PHONY: configure-rcs maybe-configure-rcs
12611 maybe-configure-rcs:
12613 @test ! -f rcs/Makefile || exit 0; \
12614 [ -d rcs ] || mkdir rcs; \
12615 r=`${PWD_COMMAND}`; export r; \
12616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12617 CC="$(CC)"; export CC; \
12618 CFLAGS="$(CFLAGS)"; export CFLAGS; \
12619 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
12620 CXX="$(CXX)"; export CXX; \
12621 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
12622 AR="$(AR)"; export AR; \
12623 AS="$(AS)"; export AS; \
12624 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
12625 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
12626 LD="$(LD)"; export LD; \
12627 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
12628 NM="$(NM)"; export NM; \
12629 RANLIB="$(RANLIB)"; export RANLIB; \
12630 WINDRES="$(WINDRES)"; export WINDRES; \
12631 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
12632 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
12633 echo Configuring in rcs; \
12634 cd rcs || exit 1; \
12635 case $(srcdir) in \
12637 srcdiroption="--srcdir=."; \
12639 /* | [A-Za-z]:[\\/]*) \
12640 srcdiroption="--srcdir=$(srcdir)/rcs"; \
12641 libsrcdir="$$s/rcs";; \
12643 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
12644 libsrcdir="$$s/rcs";; \
12646 $(SHELL) $${libsrcdir}/configure \
12647 $(HOST_CONFIGARGS) $${srcdiroption} \
12650 .PHONY: all-rcs maybe-all-rcs
12652 all-rcs: configure-rcs
12653 @r=`${PWD_COMMAND}`; export r; \
12654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12656 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) all)
12658 .PHONY: check-rcs maybe-check-rcs
12662 @r=`${PWD_COMMAND}`; export r; \
12663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12665 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
12668 .PHONY: install-rcs maybe-install-rcs
12671 install-rcs: installdirs
12672 @r=`${PWD_COMMAND}`; export r; \
12673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12675 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
12678 # Other targets (info, dvi, etc.)
12680 .PHONY: maybe-info-rcs info-rcs
12685 @[ -f ./rcs/Makefile ] || exit 0; \
12686 r=`${PWD_COMMAND}`; export r; \
12687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12689 for flag in $(EXTRA_HOST_FLAGS); do \
12690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12692 echo "Doing info in rcs" ; \
12694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12696 "RANLIB=$${RANLIB}" \
12697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12702 .PHONY: maybe-dvi-rcs dvi-rcs
12707 @[ -f ./rcs/Makefile ] || exit 0; \
12708 r=`${PWD_COMMAND}`; export r; \
12709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12711 for flag in $(EXTRA_HOST_FLAGS); do \
12712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12714 echo "Doing dvi in rcs" ; \
12716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12718 "RANLIB=$${RANLIB}" \
12719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12724 .PHONY: maybe-TAGS-rcs TAGS-rcs
12729 @[ -f ./rcs/Makefile ] || exit 0; \
12730 r=`${PWD_COMMAND}`; export r; \
12731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12733 for flag in $(EXTRA_HOST_FLAGS); do \
12734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12736 echo "Doing TAGS in rcs" ; \
12738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12740 "RANLIB=$${RANLIB}" \
12741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12746 .PHONY: maybe-install-info-rcs install-info-rcs
12747 maybe-install-info-rcs:
12749 install-info-rcs: \
12752 @[ -f ./rcs/Makefile ] || exit 0; \
12753 r=`${PWD_COMMAND}`; export r; \
12754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12756 for flag in $(EXTRA_HOST_FLAGS); do \
12757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12759 echo "Doing install-info in rcs" ; \
12761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12763 "RANLIB=$${RANLIB}" \
12764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12769 .PHONY: maybe-installcheck-rcs installcheck-rcs
12770 maybe-installcheck-rcs:
12772 installcheck-rcs: \
12774 @[ -f ./rcs/Makefile ] || exit 0; \
12775 r=`${PWD_COMMAND}`; export r; \
12776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12778 for flag in $(EXTRA_HOST_FLAGS); do \
12779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12781 echo "Doing installcheck in rcs" ; \
12783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12785 "RANLIB=$${RANLIB}" \
12786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12791 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
12792 maybe-mostlyclean-rcs:
12795 @[ -f ./rcs/Makefile ] || exit 0; \
12796 r=`${PWD_COMMAND}`; export r; \
12797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12799 for flag in $(EXTRA_HOST_FLAGS); do \
12800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12802 echo "Doing mostlyclean in rcs" ; \
12804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12806 "RANLIB=$${RANLIB}" \
12807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12812 .PHONY: maybe-clean-rcs clean-rcs
12816 @[ -f ./rcs/Makefile ] || exit 0; \
12817 r=`${PWD_COMMAND}`; export r; \
12818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12820 for flag in $(EXTRA_HOST_FLAGS); do \
12821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12823 echo "Doing clean in rcs" ; \
12825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12827 "RANLIB=$${RANLIB}" \
12828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12833 .PHONY: maybe-distclean-rcs distclean-rcs
12834 maybe-distclean-rcs:
12837 @[ -f ./rcs/Makefile ] || exit 0; \
12838 r=`${PWD_COMMAND}`; export r; \
12839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12841 for flag in $(EXTRA_HOST_FLAGS); do \
12842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12844 echo "Doing distclean in rcs" ; \
12846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12848 "RANLIB=$${RANLIB}" \
12849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12854 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
12855 maybe-maintainer-clean-rcs:
12857 maintainer-clean-rcs:
12858 @[ -f ./rcs/Makefile ] || exit 0; \
12859 r=`${PWD_COMMAND}`; export r; \
12860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12862 for flag in $(EXTRA_HOST_FLAGS); do \
12863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12865 echo "Doing maintainer-clean in rcs" ; \
12867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12869 "RANLIB=$${RANLIB}" \
12870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12871 maintainer-clean) \
12876 .PHONY: configure-readline maybe-configure-readline
12877 maybe-configure-readline:
12878 configure-readline:
12879 @test ! -f readline/Makefile || exit 0; \
12880 [ -d readline ] || mkdir readline; \
12881 r=`${PWD_COMMAND}`; export r; \
12882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12883 CC="$(CC)"; export CC; \
12884 CFLAGS="$(CFLAGS)"; export CFLAGS; \
12885 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
12886 CXX="$(CXX)"; export CXX; \
12887 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
12888 AR="$(AR)"; export AR; \
12889 AS="$(AS)"; export AS; \
12890 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
12891 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
12892 LD="$(LD)"; export LD; \
12893 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
12894 NM="$(NM)"; export NM; \
12895 RANLIB="$(RANLIB)"; export RANLIB; \
12896 WINDRES="$(WINDRES)"; export WINDRES; \
12897 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
12898 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
12899 echo Configuring in readline; \
12900 cd readline || exit 1; \
12901 case $(srcdir) in \
12903 srcdiroption="--srcdir=."; \
12905 /* | [A-Za-z]:[\\/]*) \
12906 srcdiroption="--srcdir=$(srcdir)/readline"; \
12907 libsrcdir="$$s/readline";; \
12909 srcdiroption="--srcdir=../$(srcdir)/readline"; \
12910 libsrcdir="$$s/readline";; \
12912 $(SHELL) $${libsrcdir}/configure \
12913 $(HOST_CONFIGARGS) $${srcdiroption} \
12916 .PHONY: all-readline maybe-all-readline
12917 maybe-all-readline:
12918 all-readline: configure-readline
12919 @r=`${PWD_COMMAND}`; export r; \
12920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12922 (cd readline && $(MAKE) $(FLAGS_TO_PASS) all)
12924 .PHONY: check-readline maybe-check-readline
12925 maybe-check-readline:
12928 @r=`${PWD_COMMAND}`; export r; \
12929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12931 (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
12934 .PHONY: install-readline maybe-install-readline
12935 maybe-install-readline:
12937 install-readline: installdirs
12938 @r=`${PWD_COMMAND}`; export r; \
12939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12941 (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
12944 # Other targets (info, dvi, etc.)
12946 .PHONY: maybe-info-readline info-readline
12947 maybe-info-readline:
12951 @[ -f ./readline/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 info in readline" ; \
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}" \
12968 .PHONY: maybe-dvi-readline dvi-readline
12969 maybe-dvi-readline:
12973 @[ -f ./readline/Makefile ] || exit 0; \
12974 r=`${PWD_COMMAND}`; export r; \
12975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12977 for flag in $(EXTRA_HOST_FLAGS); do \
12978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12980 echo "Doing dvi in readline" ; \
12982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12984 "RANLIB=$${RANLIB}" \
12985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12990 .PHONY: maybe-TAGS-readline TAGS-readline
12991 maybe-TAGS-readline:
12995 @[ -f ./readline/Makefile ] || exit 0; \
12996 r=`${PWD_COMMAND}`; export r; \
12997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12999 for flag in $(EXTRA_HOST_FLAGS); do \
13000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13002 echo "Doing TAGS in readline" ; \
13004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13006 "RANLIB=$${RANLIB}" \
13007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13012 .PHONY: maybe-install-info-readline install-info-readline
13013 maybe-install-info-readline:
13015 install-info-readline: \
13016 configure-readline \
13018 @[ -f ./readline/Makefile ] || exit 0; \
13019 r=`${PWD_COMMAND}`; export r; \
13020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13022 for flag in $(EXTRA_HOST_FLAGS); do \
13023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13025 echo "Doing install-info in readline" ; \
13027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13029 "RANLIB=$${RANLIB}" \
13030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13035 .PHONY: maybe-installcheck-readline installcheck-readline
13036 maybe-installcheck-readline:
13038 installcheck-readline: \
13040 @[ -f ./readline/Makefile ] || exit 0; \
13041 r=`${PWD_COMMAND}`; export r; \
13042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13044 for flag in $(EXTRA_HOST_FLAGS); do \
13045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13047 echo "Doing installcheck in readline" ; \
13049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13051 "RANLIB=$${RANLIB}" \
13052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13057 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
13058 maybe-mostlyclean-readline:
13060 mostlyclean-readline:
13061 @[ -f ./readline/Makefile ] || exit 0; \
13062 r=`${PWD_COMMAND}`; export r; \
13063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13065 for flag in $(EXTRA_HOST_FLAGS); do \
13066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13068 echo "Doing mostlyclean in readline" ; \
13070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13072 "RANLIB=$${RANLIB}" \
13073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13078 .PHONY: maybe-clean-readline clean-readline
13079 maybe-clean-readline:
13082 @[ -f ./readline/Makefile ] || exit 0; \
13083 r=`${PWD_COMMAND}`; export r; \
13084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13086 for flag in $(EXTRA_HOST_FLAGS); do \
13087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13089 echo "Doing clean in readline" ; \
13091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13093 "RANLIB=$${RANLIB}" \
13094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13099 .PHONY: maybe-distclean-readline distclean-readline
13100 maybe-distclean-readline:
13102 distclean-readline:
13103 @[ -f ./readline/Makefile ] || exit 0; \
13104 r=`${PWD_COMMAND}`; export r; \
13105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13107 for flag in $(EXTRA_HOST_FLAGS); do \
13108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13110 echo "Doing distclean in readline" ; \
13112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13114 "RANLIB=$${RANLIB}" \
13115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13120 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
13121 maybe-maintainer-clean-readline:
13123 maintainer-clean-readline:
13124 @[ -f ./readline/Makefile ] || exit 0; \
13125 r=`${PWD_COMMAND}`; export r; \
13126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13128 for flag in $(EXTRA_HOST_FLAGS); do \
13129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13131 echo "Doing maintainer-clean in readline" ; \
13133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13135 "RANLIB=$${RANLIB}" \
13136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13137 maintainer-clean) \
13142 .PHONY: configure-release maybe-configure-release
13143 maybe-configure-release:
13145 @test ! -f release/Makefile || exit 0; \
13146 [ -d release ] || mkdir release; \
13147 r=`${PWD_COMMAND}`; export r; \
13148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13149 CC="$(CC)"; export CC; \
13150 CFLAGS="$(CFLAGS)"; export CFLAGS; \
13151 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
13152 CXX="$(CXX)"; export CXX; \
13153 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
13154 AR="$(AR)"; export AR; \
13155 AS="$(AS)"; export AS; \
13156 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
13157 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
13158 LD="$(LD)"; export LD; \
13159 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
13160 NM="$(NM)"; export NM; \
13161 RANLIB="$(RANLIB)"; export RANLIB; \
13162 WINDRES="$(WINDRES)"; export WINDRES; \
13163 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
13164 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
13165 echo Configuring in release; \
13166 cd release || exit 1; \
13167 case $(srcdir) in \
13169 srcdiroption="--srcdir=."; \
13171 /* | [A-Za-z]:[\\/]*) \
13172 srcdiroption="--srcdir=$(srcdir)/release"; \
13173 libsrcdir="$$s/release";; \
13175 srcdiroption="--srcdir=../$(srcdir)/release"; \
13176 libsrcdir="$$s/release";; \
13178 $(SHELL) $${libsrcdir}/configure \
13179 $(HOST_CONFIGARGS) $${srcdiroption} \
13182 .PHONY: all-release maybe-all-release
13184 all-release: configure-release
13185 @r=`${PWD_COMMAND}`; export r; \
13186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13188 (cd release && $(MAKE) $(FLAGS_TO_PASS) all)
13190 .PHONY: check-release maybe-check-release
13191 maybe-check-release:
13196 .PHONY: install-release maybe-install-release
13197 maybe-install-release:
13202 # Other targets (info, dvi, etc.)
13204 .PHONY: maybe-info-release info-release
13205 maybe-info-release:
13209 @[ -f ./release/Makefile ] || exit 0; \
13210 r=`${PWD_COMMAND}`; export r; \
13211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13213 for flag in $(EXTRA_HOST_FLAGS); do \
13214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13216 echo "Doing info in release" ; \
13218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13220 "RANLIB=$${RANLIB}" \
13221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13226 .PHONY: maybe-dvi-release dvi-release
13231 @[ -f ./release/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 dvi in release" ; \
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}" \
13248 .PHONY: maybe-TAGS-release TAGS-release
13249 maybe-TAGS-release:
13253 @[ -f ./release/Makefile ] || exit 0; \
13254 r=`${PWD_COMMAND}`; export r; \
13255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13257 for flag in $(EXTRA_HOST_FLAGS); do \
13258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13260 echo "Doing TAGS in release" ; \
13262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13264 "RANLIB=$${RANLIB}" \
13265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13270 .PHONY: maybe-install-info-release install-info-release
13271 maybe-install-info-release:
13273 install-info-release: \
13274 configure-release \
13276 @[ -f ./release/Makefile ] || exit 0; \
13277 r=`${PWD_COMMAND}`; export r; \
13278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13280 for flag in $(EXTRA_HOST_FLAGS); do \
13281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13283 echo "Doing install-info in release" ; \
13285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13287 "RANLIB=$${RANLIB}" \
13288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13293 .PHONY: maybe-installcheck-release installcheck-release
13294 maybe-installcheck-release:
13296 installcheck-release: \
13298 @[ -f ./release/Makefile ] || exit 0; \
13299 r=`${PWD_COMMAND}`; export r; \
13300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13302 for flag in $(EXTRA_HOST_FLAGS); do \
13303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13305 echo "Doing installcheck in release" ; \
13307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13309 "RANLIB=$${RANLIB}" \
13310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13315 .PHONY: maybe-mostlyclean-release mostlyclean-release
13316 maybe-mostlyclean-release:
13318 mostlyclean-release:
13319 @[ -f ./release/Makefile ] || exit 0; \
13320 r=`${PWD_COMMAND}`; export r; \
13321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13323 for flag in $(EXTRA_HOST_FLAGS); do \
13324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13326 echo "Doing mostlyclean in release" ; \
13328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13330 "RANLIB=$${RANLIB}" \
13331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13336 .PHONY: maybe-clean-release clean-release
13337 maybe-clean-release:
13340 @[ -f ./release/Makefile ] || exit 0; \
13341 r=`${PWD_COMMAND}`; export r; \
13342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13344 for flag in $(EXTRA_HOST_FLAGS); do \
13345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13347 echo "Doing clean in release" ; \
13349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13351 "RANLIB=$${RANLIB}" \
13352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13357 .PHONY: maybe-distclean-release distclean-release
13358 maybe-distclean-release:
13361 @[ -f ./release/Makefile ] || exit 0; \
13362 r=`${PWD_COMMAND}`; export r; \
13363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13365 for flag in $(EXTRA_HOST_FLAGS); do \
13366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13368 echo "Doing distclean in release" ; \
13370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13372 "RANLIB=$${RANLIB}" \
13373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13378 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
13379 maybe-maintainer-clean-release:
13381 maintainer-clean-release:
13382 @[ -f ./release/Makefile ] || exit 0; \
13383 r=`${PWD_COMMAND}`; export r; \
13384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13386 for flag in $(EXTRA_HOST_FLAGS); do \
13387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13389 echo "Doing maintainer-clean in release" ; \
13391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13393 "RANLIB=$${RANLIB}" \
13394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13395 maintainer-clean) \
13400 .PHONY: configure-recode maybe-configure-recode
13401 maybe-configure-recode:
13403 @test ! -f recode/Makefile || exit 0; \
13404 [ -d recode ] || mkdir recode; \
13405 r=`${PWD_COMMAND}`; export r; \
13406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13407 CC="$(CC)"; export CC; \
13408 CFLAGS="$(CFLAGS)"; export CFLAGS; \
13409 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
13410 CXX="$(CXX)"; export CXX; \
13411 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
13412 AR="$(AR)"; export AR; \
13413 AS="$(AS)"; export AS; \
13414 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
13415 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
13416 LD="$(LD)"; export LD; \
13417 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
13418 NM="$(NM)"; export NM; \
13419 RANLIB="$(RANLIB)"; export RANLIB; \
13420 WINDRES="$(WINDRES)"; export WINDRES; \
13421 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
13422 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
13423 echo Configuring in recode; \
13424 cd recode || exit 1; \
13425 case $(srcdir) in \
13427 srcdiroption="--srcdir=."; \
13429 /* | [A-Za-z]:[\\/]*) \
13430 srcdiroption="--srcdir=$(srcdir)/recode"; \
13431 libsrcdir="$$s/recode";; \
13433 srcdiroption="--srcdir=../$(srcdir)/recode"; \
13434 libsrcdir="$$s/recode";; \
13436 $(SHELL) $${libsrcdir}/configure \
13437 $(HOST_CONFIGARGS) $${srcdiroption} \
13440 .PHONY: all-recode maybe-all-recode
13442 all-recode: configure-recode
13443 @r=`${PWD_COMMAND}`; export r; \
13444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13446 (cd recode && $(MAKE) $(FLAGS_TO_PASS) all)
13448 .PHONY: check-recode maybe-check-recode
13449 maybe-check-recode:
13452 @r=`${PWD_COMMAND}`; export r; \
13453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13455 (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
13458 .PHONY: install-recode maybe-install-recode
13459 maybe-install-recode:
13461 install-recode: installdirs
13462 @r=`${PWD_COMMAND}`; export r; \
13463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13465 (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
13468 # Other targets (info, dvi, etc.)
13470 .PHONY: maybe-info-recode info-recode
13475 @[ -f ./recode/Makefile ] || exit 0; \
13476 r=`${PWD_COMMAND}`; export r; \
13477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13479 for flag in $(EXTRA_HOST_FLAGS); do \
13480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13482 echo "Doing info in recode" ; \
13484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13486 "RANLIB=$${RANLIB}" \
13487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13492 .PHONY: maybe-dvi-recode dvi-recode
13497 @[ -f ./recode/Makefile ] || exit 0; \
13498 r=`${PWD_COMMAND}`; export r; \
13499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13501 for flag in $(EXTRA_HOST_FLAGS); do \
13502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13504 echo "Doing dvi in recode" ; \
13506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13508 "RANLIB=$${RANLIB}" \
13509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13514 .PHONY: maybe-TAGS-recode TAGS-recode
13519 @[ -f ./recode/Makefile ] || exit 0; \
13520 r=`${PWD_COMMAND}`; export r; \
13521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13523 for flag in $(EXTRA_HOST_FLAGS); do \
13524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13526 echo "Doing TAGS in recode" ; \
13528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13530 "RANLIB=$${RANLIB}" \
13531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13536 .PHONY: maybe-install-info-recode install-info-recode
13537 maybe-install-info-recode:
13539 install-info-recode: \
13542 @[ -f ./recode/Makefile ] || exit 0; \
13543 r=`${PWD_COMMAND}`; export r; \
13544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13546 for flag in $(EXTRA_HOST_FLAGS); do \
13547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13549 echo "Doing install-info in recode" ; \
13551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13553 "RANLIB=$${RANLIB}" \
13554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13559 .PHONY: maybe-installcheck-recode installcheck-recode
13560 maybe-installcheck-recode:
13562 installcheck-recode: \
13564 @[ -f ./recode/Makefile ] || exit 0; \
13565 r=`${PWD_COMMAND}`; export r; \
13566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13568 for flag in $(EXTRA_HOST_FLAGS); do \
13569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13571 echo "Doing installcheck in recode" ; \
13573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13575 "RANLIB=$${RANLIB}" \
13576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13581 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
13582 maybe-mostlyclean-recode:
13584 mostlyclean-recode:
13585 @[ -f ./recode/Makefile ] || exit 0; \
13586 r=`${PWD_COMMAND}`; export r; \
13587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13589 for flag in $(EXTRA_HOST_FLAGS); do \
13590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13592 echo "Doing mostlyclean in recode" ; \
13594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13596 "RANLIB=$${RANLIB}" \
13597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13602 .PHONY: maybe-clean-recode clean-recode
13603 maybe-clean-recode:
13606 @[ -f ./recode/Makefile ] || exit 0; \
13607 r=`${PWD_COMMAND}`; export r; \
13608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13610 for flag in $(EXTRA_HOST_FLAGS); do \
13611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13613 echo "Doing clean in recode" ; \
13615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13617 "RANLIB=$${RANLIB}" \
13618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13623 .PHONY: maybe-distclean-recode distclean-recode
13624 maybe-distclean-recode:
13627 @[ -f ./recode/Makefile ] || exit 0; \
13628 r=`${PWD_COMMAND}`; export r; \
13629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13631 for flag in $(EXTRA_HOST_FLAGS); do \
13632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13634 echo "Doing distclean in recode" ; \
13636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13638 "RANLIB=$${RANLIB}" \
13639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13644 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
13645 maybe-maintainer-clean-recode:
13647 maintainer-clean-recode:
13648 @[ -f ./recode/Makefile ] || exit 0; \
13649 r=`${PWD_COMMAND}`; export r; \
13650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13652 for flag in $(EXTRA_HOST_FLAGS); do \
13653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13655 echo "Doing maintainer-clean in recode" ; \
13657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13659 "RANLIB=$${RANLIB}" \
13660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13661 maintainer-clean) \
13666 .PHONY: configure-sed maybe-configure-sed
13667 maybe-configure-sed:
13669 @test ! -f sed/Makefile || exit 0; \
13670 [ -d sed ] || mkdir sed; \
13671 r=`${PWD_COMMAND}`; export r; \
13672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13673 CC="$(CC)"; export CC; \
13674 CFLAGS="$(CFLAGS)"; export CFLAGS; \
13675 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
13676 CXX="$(CXX)"; export CXX; \
13677 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
13678 AR="$(AR)"; export AR; \
13679 AS="$(AS)"; export AS; \
13680 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
13681 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
13682 LD="$(LD)"; export LD; \
13683 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
13684 NM="$(NM)"; export NM; \
13685 RANLIB="$(RANLIB)"; export RANLIB; \
13686 WINDRES="$(WINDRES)"; export WINDRES; \
13687 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
13688 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
13689 echo Configuring in sed; \
13690 cd sed || exit 1; \
13691 case $(srcdir) in \
13693 srcdiroption="--srcdir=."; \
13695 /* | [A-Za-z]:[\\/]*) \
13696 srcdiroption="--srcdir=$(srcdir)/sed"; \
13697 libsrcdir="$$s/sed";; \
13699 srcdiroption="--srcdir=../$(srcdir)/sed"; \
13700 libsrcdir="$$s/sed";; \
13702 $(SHELL) $${libsrcdir}/configure \
13703 $(HOST_CONFIGARGS) $${srcdiroption} \
13706 .PHONY: all-sed maybe-all-sed
13708 all-sed: configure-sed
13709 @r=`${PWD_COMMAND}`; export r; \
13710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13712 (cd sed && $(MAKE) $(FLAGS_TO_PASS) all)
13714 .PHONY: check-sed maybe-check-sed
13718 @r=`${PWD_COMMAND}`; export r; \
13719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13721 (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
13724 .PHONY: install-sed maybe-install-sed
13727 install-sed: installdirs
13728 @r=`${PWD_COMMAND}`; export r; \
13729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13731 (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
13734 # Other targets (info, dvi, etc.)
13736 .PHONY: maybe-info-sed info-sed
13741 @[ -f ./sed/Makefile ] || exit 0; \
13742 r=`${PWD_COMMAND}`; export r; \
13743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13745 for flag in $(EXTRA_HOST_FLAGS); do \
13746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13748 echo "Doing info in sed" ; \
13750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13752 "RANLIB=$${RANLIB}" \
13753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13758 .PHONY: maybe-dvi-sed dvi-sed
13763 @[ -f ./sed/Makefile ] || exit 0; \
13764 r=`${PWD_COMMAND}`; export r; \
13765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13767 for flag in $(EXTRA_HOST_FLAGS); do \
13768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13770 echo "Doing dvi in sed" ; \
13772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13774 "RANLIB=$${RANLIB}" \
13775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13780 .PHONY: maybe-TAGS-sed TAGS-sed
13785 @[ -f ./sed/Makefile ] || exit 0; \
13786 r=`${PWD_COMMAND}`; export r; \
13787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13789 for flag in $(EXTRA_HOST_FLAGS); do \
13790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13792 echo "Doing TAGS in sed" ; \
13794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13796 "RANLIB=$${RANLIB}" \
13797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13802 .PHONY: maybe-install-info-sed install-info-sed
13803 maybe-install-info-sed:
13805 install-info-sed: \
13808 @[ -f ./sed/Makefile ] || exit 0; \
13809 r=`${PWD_COMMAND}`; export r; \
13810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13812 for flag in $(EXTRA_HOST_FLAGS); do \
13813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13815 echo "Doing install-info in sed" ; \
13817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13819 "RANLIB=$${RANLIB}" \
13820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13825 .PHONY: maybe-installcheck-sed installcheck-sed
13826 maybe-installcheck-sed:
13828 installcheck-sed: \
13830 @[ -f ./sed/Makefile ] || exit 0; \
13831 r=`${PWD_COMMAND}`; export r; \
13832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13834 for flag in $(EXTRA_HOST_FLAGS); do \
13835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13837 echo "Doing installcheck in sed" ; \
13839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13841 "RANLIB=$${RANLIB}" \
13842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13847 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
13848 maybe-mostlyclean-sed:
13851 @[ -f ./sed/Makefile ] || exit 0; \
13852 r=`${PWD_COMMAND}`; export r; \
13853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13855 for flag in $(EXTRA_HOST_FLAGS); do \
13856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13858 echo "Doing mostlyclean in sed" ; \
13860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13862 "RANLIB=$${RANLIB}" \
13863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13868 .PHONY: maybe-clean-sed clean-sed
13872 @[ -f ./sed/Makefile ] || exit 0; \
13873 r=`${PWD_COMMAND}`; export r; \
13874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13876 for flag in $(EXTRA_HOST_FLAGS); do \
13877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13879 echo "Doing clean in sed" ; \
13881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13883 "RANLIB=$${RANLIB}" \
13884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13889 .PHONY: maybe-distclean-sed distclean-sed
13890 maybe-distclean-sed:
13893 @[ -f ./sed/Makefile ] || exit 0; \
13894 r=`${PWD_COMMAND}`; export r; \
13895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13897 for flag in $(EXTRA_HOST_FLAGS); do \
13898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13900 echo "Doing distclean in sed" ; \
13902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13904 "RANLIB=$${RANLIB}" \
13905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13910 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
13911 maybe-maintainer-clean-sed:
13913 maintainer-clean-sed:
13914 @[ -f ./sed/Makefile ] || exit 0; \
13915 r=`${PWD_COMMAND}`; export r; \
13916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13918 for flag in $(EXTRA_HOST_FLAGS); do \
13919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13921 echo "Doing maintainer-clean in sed" ; \
13923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13925 "RANLIB=$${RANLIB}" \
13926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13927 maintainer-clean) \
13932 .PHONY: configure-send-pr maybe-configure-send-pr
13933 maybe-configure-send-pr:
13935 @test ! -f send-pr/Makefile || exit 0; \
13936 [ -d send-pr ] || mkdir send-pr; \
13937 r=`${PWD_COMMAND}`; export r; \
13938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13939 CC="$(CC)"; export CC; \
13940 CFLAGS="$(CFLAGS)"; export CFLAGS; \
13941 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
13942 CXX="$(CXX)"; export CXX; \
13943 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
13944 AR="$(AR)"; export AR; \
13945 AS="$(AS)"; export AS; \
13946 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
13947 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
13948 LD="$(LD)"; export LD; \
13949 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
13950 NM="$(NM)"; export NM; \
13951 RANLIB="$(RANLIB)"; export RANLIB; \
13952 WINDRES="$(WINDRES)"; export WINDRES; \
13953 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
13954 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
13955 echo Configuring in send-pr; \
13956 cd send-pr || exit 1; \
13957 case $(srcdir) in \
13959 srcdiroption="--srcdir=."; \
13961 /* | [A-Za-z]:[\\/]*) \
13962 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
13963 libsrcdir="$$s/send-pr";; \
13965 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
13966 libsrcdir="$$s/send-pr";; \
13968 $(SHELL) $${libsrcdir}/configure \
13969 $(HOST_CONFIGARGS) $${srcdiroption} \
13972 .PHONY: all-send-pr maybe-all-send-pr
13974 all-send-pr: configure-send-pr
13975 @r=`${PWD_COMMAND}`; export r; \
13976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13978 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) all)
13980 .PHONY: check-send-pr maybe-check-send-pr
13981 maybe-check-send-pr:
13984 @r=`${PWD_COMMAND}`; export r; \
13985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13987 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
13990 .PHONY: install-send-pr maybe-install-send-pr
13991 maybe-install-send-pr:
13993 install-send-pr: installdirs
13994 @r=`${PWD_COMMAND}`; export r; \
13995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13997 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
14000 # Other targets (info, dvi, etc.)
14002 .PHONY: maybe-info-send-pr info-send-pr
14003 maybe-info-send-pr:
14007 @[ -f ./send-pr/Makefile ] || exit 0; \
14008 r=`${PWD_COMMAND}`; export r; \
14009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14011 for flag in $(EXTRA_HOST_FLAGS); do \
14012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14014 echo "Doing info in send-pr" ; \
14016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14018 "RANLIB=$${RANLIB}" \
14019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14024 .PHONY: maybe-dvi-send-pr dvi-send-pr
14029 @[ -f ./send-pr/Makefile ] || exit 0; \
14030 r=`${PWD_COMMAND}`; export r; \
14031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14033 for flag in $(EXTRA_HOST_FLAGS); do \
14034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14036 echo "Doing dvi in send-pr" ; \
14038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14040 "RANLIB=$${RANLIB}" \
14041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14046 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
14047 maybe-TAGS-send-pr:
14051 @[ -f ./send-pr/Makefile ] || exit 0; \
14052 r=`${PWD_COMMAND}`; export r; \
14053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14055 for flag in $(EXTRA_HOST_FLAGS); do \
14056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14058 echo "Doing TAGS in send-pr" ; \
14060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14062 "RANLIB=$${RANLIB}" \
14063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14068 .PHONY: maybe-install-info-send-pr install-info-send-pr
14069 maybe-install-info-send-pr:
14071 install-info-send-pr: \
14072 configure-send-pr \
14074 @[ -f ./send-pr/Makefile ] || exit 0; \
14075 r=`${PWD_COMMAND}`; export r; \
14076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14078 for flag in $(EXTRA_HOST_FLAGS); do \
14079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14081 echo "Doing install-info in send-pr" ; \
14083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14085 "RANLIB=$${RANLIB}" \
14086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14091 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
14092 maybe-installcheck-send-pr:
14094 installcheck-send-pr: \
14096 @[ -f ./send-pr/Makefile ] || exit 0; \
14097 r=`${PWD_COMMAND}`; export r; \
14098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14100 for flag in $(EXTRA_HOST_FLAGS); do \
14101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14103 echo "Doing installcheck in send-pr" ; \
14105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14107 "RANLIB=$${RANLIB}" \
14108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14113 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
14114 maybe-mostlyclean-send-pr:
14116 mostlyclean-send-pr:
14117 @[ -f ./send-pr/Makefile ] || exit 0; \
14118 r=`${PWD_COMMAND}`; export r; \
14119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14121 for flag in $(EXTRA_HOST_FLAGS); do \
14122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14124 echo "Doing mostlyclean in send-pr" ; \
14126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14128 "RANLIB=$${RANLIB}" \
14129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14134 .PHONY: maybe-clean-send-pr clean-send-pr
14135 maybe-clean-send-pr:
14138 @[ -f ./send-pr/Makefile ] || exit 0; \
14139 r=`${PWD_COMMAND}`; export r; \
14140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14142 for flag in $(EXTRA_HOST_FLAGS); do \
14143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14145 echo "Doing clean in send-pr" ; \
14147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14149 "RANLIB=$${RANLIB}" \
14150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14155 .PHONY: maybe-distclean-send-pr distclean-send-pr
14156 maybe-distclean-send-pr:
14159 @[ -f ./send-pr/Makefile ] || exit 0; \
14160 r=`${PWD_COMMAND}`; export r; \
14161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14163 for flag in $(EXTRA_HOST_FLAGS); do \
14164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14166 echo "Doing distclean in send-pr" ; \
14168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14170 "RANLIB=$${RANLIB}" \
14171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14176 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
14177 maybe-maintainer-clean-send-pr:
14179 maintainer-clean-send-pr:
14180 @[ -f ./send-pr/Makefile ] || exit 0; \
14181 r=`${PWD_COMMAND}`; export r; \
14182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14184 for flag in $(EXTRA_HOST_FLAGS); do \
14185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14187 echo "Doing maintainer-clean in send-pr" ; \
14189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14191 "RANLIB=$${RANLIB}" \
14192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14193 maintainer-clean) \
14198 .PHONY: configure-shellutils maybe-configure-shellutils
14199 maybe-configure-shellutils:
14200 configure-shellutils:
14201 @test ! -f shellutils/Makefile || exit 0; \
14202 [ -d shellutils ] || mkdir shellutils; \
14203 r=`${PWD_COMMAND}`; export r; \
14204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14205 CC="$(CC)"; export CC; \
14206 CFLAGS="$(CFLAGS)"; export CFLAGS; \
14207 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
14208 CXX="$(CXX)"; export CXX; \
14209 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
14210 AR="$(AR)"; export AR; \
14211 AS="$(AS)"; export AS; \
14212 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
14213 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
14214 LD="$(LD)"; export LD; \
14215 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
14216 NM="$(NM)"; export NM; \
14217 RANLIB="$(RANLIB)"; export RANLIB; \
14218 WINDRES="$(WINDRES)"; export WINDRES; \
14219 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
14220 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
14221 echo Configuring in shellutils; \
14222 cd shellutils || exit 1; \
14223 case $(srcdir) in \
14225 srcdiroption="--srcdir=."; \
14227 /* | [A-Za-z]:[\\/]*) \
14228 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
14229 libsrcdir="$$s/shellutils";; \
14231 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
14232 libsrcdir="$$s/shellutils";; \
14234 $(SHELL) $${libsrcdir}/configure \
14235 $(HOST_CONFIGARGS) $${srcdiroption} \
14238 .PHONY: all-shellutils maybe-all-shellutils
14239 maybe-all-shellutils:
14240 all-shellutils: configure-shellutils
14241 @r=`${PWD_COMMAND}`; export r; \
14242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14244 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) all)
14246 .PHONY: check-shellutils maybe-check-shellutils
14247 maybe-check-shellutils:
14250 @r=`${PWD_COMMAND}`; export r; \
14251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14253 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
14256 .PHONY: install-shellutils maybe-install-shellutils
14257 maybe-install-shellutils:
14259 install-shellutils: installdirs
14260 @r=`${PWD_COMMAND}`; export r; \
14261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14263 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
14266 # Other targets (info, dvi, etc.)
14268 .PHONY: maybe-info-shellutils info-shellutils
14269 maybe-info-shellutils:
14272 configure-shellutils
14273 @[ -f ./shellutils/Makefile ] || exit 0; \
14274 r=`${PWD_COMMAND}`; export r; \
14275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14277 for flag in $(EXTRA_HOST_FLAGS); do \
14278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14280 echo "Doing info in shellutils" ; \
14281 (cd shellutils && \
14282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14284 "RANLIB=$${RANLIB}" \
14285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14290 .PHONY: maybe-dvi-shellutils dvi-shellutils
14291 maybe-dvi-shellutils:
14294 configure-shellutils
14295 @[ -f ./shellutils/Makefile ] || exit 0; \
14296 r=`${PWD_COMMAND}`; export r; \
14297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14299 for flag in $(EXTRA_HOST_FLAGS); do \
14300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14302 echo "Doing dvi in shellutils" ; \
14303 (cd shellutils && \
14304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14306 "RANLIB=$${RANLIB}" \
14307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14312 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
14313 maybe-TAGS-shellutils:
14316 configure-shellutils
14317 @[ -f ./shellutils/Makefile ] || exit 0; \
14318 r=`${PWD_COMMAND}`; export r; \
14319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14321 for flag in $(EXTRA_HOST_FLAGS); do \
14322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14324 echo "Doing TAGS in shellutils" ; \
14325 (cd shellutils && \
14326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14328 "RANLIB=$${RANLIB}" \
14329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14334 .PHONY: maybe-install-info-shellutils install-info-shellutils
14335 maybe-install-info-shellutils:
14337 install-info-shellutils: \
14338 configure-shellutils \
14340 @[ -f ./shellutils/Makefile ] || exit 0; \
14341 r=`${PWD_COMMAND}`; export r; \
14342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14344 for flag in $(EXTRA_HOST_FLAGS); do \
14345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14347 echo "Doing install-info in shellutils" ; \
14348 (cd shellutils && \
14349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14351 "RANLIB=$${RANLIB}" \
14352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14357 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
14358 maybe-installcheck-shellutils:
14360 installcheck-shellutils: \
14361 configure-shellutils
14362 @[ -f ./shellutils/Makefile ] || exit 0; \
14363 r=`${PWD_COMMAND}`; export r; \
14364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14366 for flag in $(EXTRA_HOST_FLAGS); do \
14367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14369 echo "Doing installcheck in shellutils" ; \
14370 (cd shellutils && \
14371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14373 "RANLIB=$${RANLIB}" \
14374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14379 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
14380 maybe-mostlyclean-shellutils:
14382 mostlyclean-shellutils:
14383 @[ -f ./shellutils/Makefile ] || exit 0; \
14384 r=`${PWD_COMMAND}`; export r; \
14385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14387 for flag in $(EXTRA_HOST_FLAGS); do \
14388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14390 echo "Doing mostlyclean in shellutils" ; \
14391 (cd shellutils && \
14392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14394 "RANLIB=$${RANLIB}" \
14395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14400 .PHONY: maybe-clean-shellutils clean-shellutils
14401 maybe-clean-shellutils:
14404 @[ -f ./shellutils/Makefile ] || exit 0; \
14405 r=`${PWD_COMMAND}`; export r; \
14406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14408 for flag in $(EXTRA_HOST_FLAGS); do \
14409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14411 echo "Doing clean in shellutils" ; \
14412 (cd shellutils && \
14413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14415 "RANLIB=$${RANLIB}" \
14416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14421 .PHONY: maybe-distclean-shellutils distclean-shellutils
14422 maybe-distclean-shellutils:
14424 distclean-shellutils:
14425 @[ -f ./shellutils/Makefile ] || exit 0; \
14426 r=`${PWD_COMMAND}`; export r; \
14427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14429 for flag in $(EXTRA_HOST_FLAGS); do \
14430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14432 echo "Doing distclean in shellutils" ; \
14433 (cd shellutils && \
14434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14436 "RANLIB=$${RANLIB}" \
14437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14442 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
14443 maybe-maintainer-clean-shellutils:
14445 maintainer-clean-shellutils:
14446 @[ -f ./shellutils/Makefile ] || exit 0; \
14447 r=`${PWD_COMMAND}`; export r; \
14448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14450 for flag in $(EXTRA_HOST_FLAGS); do \
14451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14453 echo "Doing maintainer-clean in shellutils" ; \
14454 (cd shellutils && \
14455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14457 "RANLIB=$${RANLIB}" \
14458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14459 maintainer-clean) \
14464 .PHONY: configure-sid maybe-configure-sid
14465 maybe-configure-sid:
14467 @test ! -f sid/Makefile || exit 0; \
14468 [ -d sid ] || mkdir sid; \
14469 r=`${PWD_COMMAND}`; export r; \
14470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14471 CC="$(CC)"; export CC; \
14472 CFLAGS="$(CFLAGS)"; export CFLAGS; \
14473 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
14474 CXX="$(CXX)"; export CXX; \
14475 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
14476 AR="$(AR)"; export AR; \
14477 AS="$(AS)"; export AS; \
14478 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
14479 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
14480 LD="$(LD)"; export LD; \
14481 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
14482 NM="$(NM)"; export NM; \
14483 RANLIB="$(RANLIB)"; export RANLIB; \
14484 WINDRES="$(WINDRES)"; export WINDRES; \
14485 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
14486 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
14487 echo Configuring in sid; \
14488 cd sid || exit 1; \
14489 case $(srcdir) in \
14491 srcdiroption="--srcdir=."; \
14493 /* | [A-Za-z]:[\\/]*) \
14494 srcdiroption="--srcdir=$(srcdir)/sid"; \
14495 libsrcdir="$$s/sid";; \
14497 srcdiroption="--srcdir=../$(srcdir)/sid"; \
14498 libsrcdir="$$s/sid";; \
14500 $(SHELL) $${libsrcdir}/configure \
14501 $(HOST_CONFIGARGS) $${srcdiroption} \
14504 .PHONY: all-sid maybe-all-sid
14506 all-sid: configure-sid
14507 @r=`${PWD_COMMAND}`; export r; \
14508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14510 (cd sid && $(MAKE) $(FLAGS_TO_PASS) all)
14512 .PHONY: check-sid maybe-check-sid
14516 @r=`${PWD_COMMAND}`; export r; \
14517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14519 (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
14522 .PHONY: install-sid maybe-install-sid
14525 install-sid: installdirs
14526 @r=`${PWD_COMMAND}`; export r; \
14527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14529 (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
14532 # Other targets (info, dvi, etc.)
14534 .PHONY: maybe-info-sid info-sid
14539 @[ -f ./sid/Makefile ] || exit 0; \
14540 r=`${PWD_COMMAND}`; export r; \
14541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14543 for flag in $(EXTRA_HOST_FLAGS); do \
14544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14546 echo "Doing info in sid" ; \
14548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14550 "RANLIB=$${RANLIB}" \
14551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14556 .PHONY: maybe-dvi-sid dvi-sid
14561 @[ -f ./sid/Makefile ] || exit 0; \
14562 r=`${PWD_COMMAND}`; export r; \
14563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14565 for flag in $(EXTRA_HOST_FLAGS); do \
14566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14568 echo "Doing dvi in sid" ; \
14570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14572 "RANLIB=$${RANLIB}" \
14573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14578 .PHONY: maybe-TAGS-sid TAGS-sid
14583 @[ -f ./sid/Makefile ] || exit 0; \
14584 r=`${PWD_COMMAND}`; export r; \
14585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14587 for flag in $(EXTRA_HOST_FLAGS); do \
14588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14590 echo "Doing TAGS in sid" ; \
14592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14594 "RANLIB=$${RANLIB}" \
14595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14600 .PHONY: maybe-install-info-sid install-info-sid
14601 maybe-install-info-sid:
14603 install-info-sid: \
14606 @[ -f ./sid/Makefile ] || exit 0; \
14607 r=`${PWD_COMMAND}`; export r; \
14608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14610 for flag in $(EXTRA_HOST_FLAGS); do \
14611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14613 echo "Doing install-info in sid" ; \
14615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14617 "RANLIB=$${RANLIB}" \
14618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14623 .PHONY: maybe-installcheck-sid installcheck-sid
14624 maybe-installcheck-sid:
14626 installcheck-sid: \
14628 @[ -f ./sid/Makefile ] || exit 0; \
14629 r=`${PWD_COMMAND}`; export r; \
14630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14632 for flag in $(EXTRA_HOST_FLAGS); do \
14633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14635 echo "Doing installcheck in sid" ; \
14637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14639 "RANLIB=$${RANLIB}" \
14640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14645 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
14646 maybe-mostlyclean-sid:
14649 @[ -f ./sid/Makefile ] || exit 0; \
14650 r=`${PWD_COMMAND}`; export r; \
14651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14653 for flag in $(EXTRA_HOST_FLAGS); do \
14654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14656 echo "Doing mostlyclean in sid" ; \
14658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14660 "RANLIB=$${RANLIB}" \
14661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14666 .PHONY: maybe-clean-sid clean-sid
14670 @[ -f ./sid/Makefile ] || exit 0; \
14671 r=`${PWD_COMMAND}`; export r; \
14672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14674 for flag in $(EXTRA_HOST_FLAGS); do \
14675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14677 echo "Doing clean in sid" ; \
14679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14681 "RANLIB=$${RANLIB}" \
14682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14687 .PHONY: maybe-distclean-sid distclean-sid
14688 maybe-distclean-sid:
14691 @[ -f ./sid/Makefile ] || exit 0; \
14692 r=`${PWD_COMMAND}`; export r; \
14693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14695 for flag in $(EXTRA_HOST_FLAGS); do \
14696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14698 echo "Doing distclean in sid" ; \
14700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14702 "RANLIB=$${RANLIB}" \
14703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14708 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
14709 maybe-maintainer-clean-sid:
14711 maintainer-clean-sid:
14712 @[ -f ./sid/Makefile ] || exit 0; \
14713 r=`${PWD_COMMAND}`; export r; \
14714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14716 for flag in $(EXTRA_HOST_FLAGS); do \
14717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14719 echo "Doing maintainer-clean in sid" ; \
14721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14723 "RANLIB=$${RANLIB}" \
14724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14725 maintainer-clean) \
14730 .PHONY: configure-sim maybe-configure-sim
14731 maybe-configure-sim:
14733 @test ! -f sim/Makefile || exit 0; \
14734 [ -d sim ] || mkdir sim; \
14735 r=`${PWD_COMMAND}`; export r; \
14736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14737 CC="$(CC)"; export CC; \
14738 CFLAGS="$(CFLAGS)"; export CFLAGS; \
14739 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
14740 CXX="$(CXX)"; export CXX; \
14741 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
14742 AR="$(AR)"; export AR; \
14743 AS="$(AS)"; export AS; \
14744 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
14745 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
14746 LD="$(LD)"; export LD; \
14747 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
14748 NM="$(NM)"; export NM; \
14749 RANLIB="$(RANLIB)"; export RANLIB; \
14750 WINDRES="$(WINDRES)"; export WINDRES; \
14751 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
14752 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
14753 echo Configuring in sim; \
14754 cd sim || exit 1; \
14755 case $(srcdir) in \
14757 srcdiroption="--srcdir=."; \
14759 /* | [A-Za-z]:[\\/]*) \
14760 srcdiroption="--srcdir=$(srcdir)/sim"; \
14761 libsrcdir="$$s/sim";; \
14763 srcdiroption="--srcdir=../$(srcdir)/sim"; \
14764 libsrcdir="$$s/sim";; \
14766 $(SHELL) $${libsrcdir}/configure \
14767 $(HOST_CONFIGARGS) $${srcdiroption} \
14770 .PHONY: all-sim maybe-all-sim
14772 all-sim: configure-sim
14773 @r=`${PWD_COMMAND}`; export r; \
14774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14776 (cd sim && $(MAKE) $(FLAGS_TO_PASS) all)
14778 .PHONY: check-sim maybe-check-sim
14782 @r=`${PWD_COMMAND}`; export r; \
14783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14785 (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
14788 .PHONY: install-sim maybe-install-sim
14791 install-sim: installdirs
14792 @r=`${PWD_COMMAND}`; export r; \
14793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14795 (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
14798 # Other targets (info, dvi, etc.)
14800 .PHONY: maybe-info-sim info-sim
14805 @[ -f ./sim/Makefile ] || exit 0; \
14806 r=`${PWD_COMMAND}`; export r; \
14807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14809 for flag in $(EXTRA_HOST_FLAGS); do \
14810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14812 echo "Doing info in sim" ; \
14814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14816 "RANLIB=$${RANLIB}" \
14817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14822 .PHONY: maybe-dvi-sim dvi-sim
14827 @[ -f ./sim/Makefile ] || exit 0; \
14828 r=`${PWD_COMMAND}`; export r; \
14829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14831 for flag in $(EXTRA_HOST_FLAGS); do \
14832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14834 echo "Doing dvi in sim" ; \
14836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14838 "RANLIB=$${RANLIB}" \
14839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14844 .PHONY: maybe-TAGS-sim TAGS-sim
14849 @[ -f ./sim/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 TAGS in sim" ; \
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}" \
14866 .PHONY: maybe-install-info-sim install-info-sim
14867 maybe-install-info-sim:
14869 install-info-sim: \
14872 @[ -f ./sim/Makefile ] || exit 0; \
14873 r=`${PWD_COMMAND}`; export r; \
14874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14876 for flag in $(EXTRA_HOST_FLAGS); do \
14877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14879 echo "Doing install-info in sim" ; \
14881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14883 "RANLIB=$${RANLIB}" \
14884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14889 .PHONY: maybe-installcheck-sim installcheck-sim
14890 maybe-installcheck-sim:
14892 installcheck-sim: \
14894 @[ -f ./sim/Makefile ] || exit 0; \
14895 r=`${PWD_COMMAND}`; export r; \
14896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14898 for flag in $(EXTRA_HOST_FLAGS); do \
14899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14901 echo "Doing installcheck in sim" ; \
14903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14905 "RANLIB=$${RANLIB}" \
14906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14911 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
14912 maybe-mostlyclean-sim:
14915 @[ -f ./sim/Makefile ] || exit 0; \
14916 r=`${PWD_COMMAND}`; export r; \
14917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14919 for flag in $(EXTRA_HOST_FLAGS); do \
14920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14922 echo "Doing mostlyclean in sim" ; \
14924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14926 "RANLIB=$${RANLIB}" \
14927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14932 .PHONY: maybe-clean-sim clean-sim
14936 @[ -f ./sim/Makefile ] || exit 0; \
14937 r=`${PWD_COMMAND}`; export r; \
14938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14940 for flag in $(EXTRA_HOST_FLAGS); do \
14941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14943 echo "Doing clean in sim" ; \
14945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14947 "RANLIB=$${RANLIB}" \
14948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14953 .PHONY: maybe-distclean-sim distclean-sim
14954 maybe-distclean-sim:
14957 @[ -f ./sim/Makefile ] || exit 0; \
14958 r=`${PWD_COMMAND}`; export r; \
14959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14961 for flag in $(EXTRA_HOST_FLAGS); do \
14962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14964 echo "Doing distclean in sim" ; \
14966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14968 "RANLIB=$${RANLIB}" \
14969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14974 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
14975 maybe-maintainer-clean-sim:
14977 maintainer-clean-sim:
14978 @[ -f ./sim/Makefile ] || exit 0; \
14979 r=`${PWD_COMMAND}`; export r; \
14980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14982 for flag in $(EXTRA_HOST_FLAGS); do \
14983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14985 echo "Doing maintainer-clean in sim" ; \
14987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14989 "RANLIB=$${RANLIB}" \
14990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14991 maintainer-clean) \
14996 .PHONY: configure-tar maybe-configure-tar
14997 maybe-configure-tar:
14999 @test ! -f tar/Makefile || exit 0; \
15000 [ -d tar ] || mkdir tar; \
15001 r=`${PWD_COMMAND}`; export r; \
15002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15003 CC="$(CC)"; export CC; \
15004 CFLAGS="$(CFLAGS)"; export CFLAGS; \
15005 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
15006 CXX="$(CXX)"; export CXX; \
15007 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
15008 AR="$(AR)"; export AR; \
15009 AS="$(AS)"; export AS; \
15010 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
15011 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
15012 LD="$(LD)"; export LD; \
15013 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
15014 NM="$(NM)"; export NM; \
15015 RANLIB="$(RANLIB)"; export RANLIB; \
15016 WINDRES="$(WINDRES)"; export WINDRES; \
15017 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
15018 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
15019 echo Configuring in tar; \
15020 cd tar || exit 1; \
15021 case $(srcdir) in \
15023 srcdiroption="--srcdir=."; \
15025 /* | [A-Za-z]:[\\/]*) \
15026 srcdiroption="--srcdir=$(srcdir)/tar"; \
15027 libsrcdir="$$s/tar";; \
15029 srcdiroption="--srcdir=../$(srcdir)/tar"; \
15030 libsrcdir="$$s/tar";; \
15032 $(SHELL) $${libsrcdir}/configure \
15033 $(HOST_CONFIGARGS) $${srcdiroption} \
15036 .PHONY: all-tar maybe-all-tar
15038 all-tar: configure-tar
15039 @r=`${PWD_COMMAND}`; export r; \
15040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15042 (cd tar && $(MAKE) $(FLAGS_TO_PASS) all)
15044 .PHONY: check-tar maybe-check-tar
15048 @r=`${PWD_COMMAND}`; export r; \
15049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15051 (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
15054 .PHONY: install-tar maybe-install-tar
15057 install-tar: installdirs
15058 @r=`${PWD_COMMAND}`; export r; \
15059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15061 (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
15064 # Other targets (info, dvi, etc.)
15066 .PHONY: maybe-info-tar info-tar
15071 @[ -f ./tar/Makefile ] || exit 0; \
15072 r=`${PWD_COMMAND}`; export r; \
15073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15075 for flag in $(EXTRA_HOST_FLAGS); do \
15076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15078 echo "Doing info in tar" ; \
15080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15082 "RANLIB=$${RANLIB}" \
15083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15088 .PHONY: maybe-dvi-tar dvi-tar
15093 @[ -f ./tar/Makefile ] || exit 0; \
15094 r=`${PWD_COMMAND}`; export r; \
15095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15097 for flag in $(EXTRA_HOST_FLAGS); do \
15098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15100 echo "Doing dvi in tar" ; \
15102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15104 "RANLIB=$${RANLIB}" \
15105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15110 .PHONY: maybe-TAGS-tar TAGS-tar
15115 @[ -f ./tar/Makefile ] || exit 0; \
15116 r=`${PWD_COMMAND}`; export r; \
15117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15119 for flag in $(EXTRA_HOST_FLAGS); do \
15120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15122 echo "Doing TAGS in tar" ; \
15124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15126 "RANLIB=$${RANLIB}" \
15127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15132 .PHONY: maybe-install-info-tar install-info-tar
15133 maybe-install-info-tar:
15135 install-info-tar: \
15138 @[ -f ./tar/Makefile ] || exit 0; \
15139 r=`${PWD_COMMAND}`; export r; \
15140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15142 for flag in $(EXTRA_HOST_FLAGS); do \
15143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15145 echo "Doing install-info in tar" ; \
15147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15149 "RANLIB=$${RANLIB}" \
15150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15155 .PHONY: maybe-installcheck-tar installcheck-tar
15156 maybe-installcheck-tar:
15158 installcheck-tar: \
15160 @[ -f ./tar/Makefile ] || exit 0; \
15161 r=`${PWD_COMMAND}`; export r; \
15162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15164 for flag in $(EXTRA_HOST_FLAGS); do \
15165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15167 echo "Doing installcheck in tar" ; \
15169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15171 "RANLIB=$${RANLIB}" \
15172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15177 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
15178 maybe-mostlyclean-tar:
15181 @[ -f ./tar/Makefile ] || exit 0; \
15182 r=`${PWD_COMMAND}`; export r; \
15183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15185 for flag in $(EXTRA_HOST_FLAGS); do \
15186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15188 echo "Doing mostlyclean in tar" ; \
15190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15192 "RANLIB=$${RANLIB}" \
15193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15198 .PHONY: maybe-clean-tar clean-tar
15202 @[ -f ./tar/Makefile ] || exit 0; \
15203 r=`${PWD_COMMAND}`; export r; \
15204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15206 for flag in $(EXTRA_HOST_FLAGS); do \
15207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15209 echo "Doing clean in tar" ; \
15211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15213 "RANLIB=$${RANLIB}" \
15214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15219 .PHONY: maybe-distclean-tar distclean-tar
15220 maybe-distclean-tar:
15223 @[ -f ./tar/Makefile ] || exit 0; \
15224 r=`${PWD_COMMAND}`; export r; \
15225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15227 for flag in $(EXTRA_HOST_FLAGS); do \
15228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15230 echo "Doing distclean in tar" ; \
15232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15234 "RANLIB=$${RANLIB}" \
15235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15240 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
15241 maybe-maintainer-clean-tar:
15243 maintainer-clean-tar:
15244 @[ -f ./tar/Makefile ] || exit 0; \
15245 r=`${PWD_COMMAND}`; export r; \
15246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15248 for flag in $(EXTRA_HOST_FLAGS); do \
15249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15251 echo "Doing maintainer-clean in tar" ; \
15253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15255 "RANLIB=$${RANLIB}" \
15256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15257 maintainer-clean) \
15262 .PHONY: configure-texinfo maybe-configure-texinfo
15263 maybe-configure-texinfo:
15265 @test ! -f texinfo/Makefile || exit 0; \
15266 [ -d texinfo ] || mkdir texinfo; \
15267 r=`${PWD_COMMAND}`; export r; \
15268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15269 CC="$(CC)"; export CC; \
15270 CFLAGS="$(CFLAGS)"; export CFLAGS; \
15271 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
15272 CXX="$(CXX)"; export CXX; \
15273 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
15274 AR="$(AR)"; export AR; \
15275 AS="$(AS)"; export AS; \
15276 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
15277 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
15278 LD="$(LD)"; export LD; \
15279 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
15280 NM="$(NM)"; export NM; \
15281 RANLIB="$(RANLIB)"; export RANLIB; \
15282 WINDRES="$(WINDRES)"; export WINDRES; \
15283 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
15284 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
15285 echo Configuring in texinfo; \
15286 cd texinfo || exit 1; \
15287 case $(srcdir) in \
15289 srcdiroption="--srcdir=."; \
15291 /* | [A-Za-z]:[\\/]*) \
15292 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
15293 libsrcdir="$$s/texinfo";; \
15295 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
15296 libsrcdir="$$s/texinfo";; \
15298 $(SHELL) $${libsrcdir}/configure \
15299 $(HOST_CONFIGARGS) $${srcdiroption} \
15302 .PHONY: all-texinfo maybe-all-texinfo
15304 all-texinfo: configure-texinfo
15305 @r=`${PWD_COMMAND}`; export r; \
15306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15308 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) all)
15310 .PHONY: check-texinfo maybe-check-texinfo
15311 maybe-check-texinfo:
15314 @r=`${PWD_COMMAND}`; export r; \
15315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15317 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
15320 .PHONY: install-texinfo maybe-install-texinfo
15321 maybe-install-texinfo:
15326 # Other targets (info, dvi, etc.)
15328 .PHONY: maybe-info-texinfo info-texinfo
15329 maybe-info-texinfo:
15333 @[ -f ./texinfo/Makefile ] || exit 0; \
15334 r=`${PWD_COMMAND}`; export r; \
15335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15337 for flag in $(EXTRA_HOST_FLAGS); do \
15338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15340 echo "Doing info in texinfo" ; \
15342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15344 "RANLIB=$${RANLIB}" \
15345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15350 .PHONY: maybe-dvi-texinfo dvi-texinfo
15355 @[ -f ./texinfo/Makefile ] || exit 0; \
15356 r=`${PWD_COMMAND}`; export r; \
15357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15359 for flag in $(EXTRA_HOST_FLAGS); do \
15360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15362 echo "Doing dvi in texinfo" ; \
15364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15366 "RANLIB=$${RANLIB}" \
15367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15372 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
15373 maybe-TAGS-texinfo:
15377 @[ -f ./texinfo/Makefile ] || exit 0; \
15378 r=`${PWD_COMMAND}`; export r; \
15379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15381 for flag in $(EXTRA_HOST_FLAGS); do \
15382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15384 echo "Doing TAGS in texinfo" ; \
15386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15388 "RANLIB=$${RANLIB}" \
15389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15394 .PHONY: maybe-install-info-texinfo install-info-texinfo
15395 maybe-install-info-texinfo:
15397 install-info-texinfo: \
15398 configure-texinfo \
15400 @[ -f ./texinfo/Makefile ] || exit 0; \
15401 r=`${PWD_COMMAND}`; export r; \
15402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15404 for flag in $(EXTRA_HOST_FLAGS); do \
15405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15407 echo "Doing install-info in texinfo" ; \
15409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15411 "RANLIB=$${RANLIB}" \
15412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15417 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
15418 maybe-installcheck-texinfo:
15420 installcheck-texinfo: \
15422 @[ -f ./texinfo/Makefile ] || exit 0; \
15423 r=`${PWD_COMMAND}`; export r; \
15424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15426 for flag in $(EXTRA_HOST_FLAGS); do \
15427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15429 echo "Doing installcheck in texinfo" ; \
15431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15433 "RANLIB=$${RANLIB}" \
15434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15439 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
15440 maybe-mostlyclean-texinfo:
15442 mostlyclean-texinfo:
15443 @[ -f ./texinfo/Makefile ] || exit 0; \
15444 r=`${PWD_COMMAND}`; export r; \
15445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15447 for flag in $(EXTRA_HOST_FLAGS); do \
15448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15450 echo "Doing mostlyclean in texinfo" ; \
15452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15454 "RANLIB=$${RANLIB}" \
15455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15460 .PHONY: maybe-clean-texinfo clean-texinfo
15461 maybe-clean-texinfo:
15464 @[ -f ./texinfo/Makefile ] || exit 0; \
15465 r=`${PWD_COMMAND}`; export r; \
15466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15468 for flag in $(EXTRA_HOST_FLAGS); do \
15469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15471 echo "Doing clean in texinfo" ; \
15473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15475 "RANLIB=$${RANLIB}" \
15476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15481 .PHONY: maybe-distclean-texinfo distclean-texinfo
15482 maybe-distclean-texinfo:
15485 @[ -f ./texinfo/Makefile ] || exit 0; \
15486 r=`${PWD_COMMAND}`; export r; \
15487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15489 for flag in $(EXTRA_HOST_FLAGS); do \
15490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15492 echo "Doing distclean in texinfo" ; \
15494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15496 "RANLIB=$${RANLIB}" \
15497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15502 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
15503 maybe-maintainer-clean-texinfo:
15505 maintainer-clean-texinfo:
15506 @[ -f ./texinfo/Makefile ] || exit 0; \
15507 r=`${PWD_COMMAND}`; export r; \
15508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15510 for flag in $(EXTRA_HOST_FLAGS); do \
15511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15513 echo "Doing maintainer-clean in texinfo" ; \
15515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15517 "RANLIB=$${RANLIB}" \
15518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15519 maintainer-clean) \
15524 .PHONY: configure-textutils maybe-configure-textutils
15525 maybe-configure-textutils:
15526 configure-textutils:
15527 @test ! -f textutils/Makefile || exit 0; \
15528 [ -d textutils ] || mkdir textutils; \
15529 r=`${PWD_COMMAND}`; export r; \
15530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15531 CC="$(CC)"; export CC; \
15532 CFLAGS="$(CFLAGS)"; export CFLAGS; \
15533 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
15534 CXX="$(CXX)"; export CXX; \
15535 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
15536 AR="$(AR)"; export AR; \
15537 AS="$(AS)"; export AS; \
15538 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
15539 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
15540 LD="$(LD)"; export LD; \
15541 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
15542 NM="$(NM)"; export NM; \
15543 RANLIB="$(RANLIB)"; export RANLIB; \
15544 WINDRES="$(WINDRES)"; export WINDRES; \
15545 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
15546 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
15547 echo Configuring in textutils; \
15548 cd textutils || exit 1; \
15549 case $(srcdir) in \
15551 srcdiroption="--srcdir=."; \
15553 /* | [A-Za-z]:[\\/]*) \
15554 srcdiroption="--srcdir=$(srcdir)/textutils"; \
15555 libsrcdir="$$s/textutils";; \
15557 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
15558 libsrcdir="$$s/textutils";; \
15560 $(SHELL) $${libsrcdir}/configure \
15561 $(HOST_CONFIGARGS) $${srcdiroption} \
15564 .PHONY: all-textutils maybe-all-textutils
15565 maybe-all-textutils:
15566 all-textutils: configure-textutils
15567 @r=`${PWD_COMMAND}`; export r; \
15568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15570 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) all)
15572 .PHONY: check-textutils maybe-check-textutils
15573 maybe-check-textutils:
15576 @r=`${PWD_COMMAND}`; export r; \
15577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15579 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
15582 .PHONY: install-textutils maybe-install-textutils
15583 maybe-install-textutils:
15585 install-textutils: installdirs
15586 @r=`${PWD_COMMAND}`; export r; \
15587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15589 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
15592 # Other targets (info, dvi, etc.)
15594 .PHONY: maybe-info-textutils info-textutils
15595 maybe-info-textutils:
15598 configure-textutils
15599 @[ -f ./textutils/Makefile ] || exit 0; \
15600 r=`${PWD_COMMAND}`; export r; \
15601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15603 for flag in $(EXTRA_HOST_FLAGS); do \
15604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15606 echo "Doing info in textutils" ; \
15608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15610 "RANLIB=$${RANLIB}" \
15611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15616 .PHONY: maybe-dvi-textutils dvi-textutils
15617 maybe-dvi-textutils:
15620 configure-textutils
15621 @[ -f ./textutils/Makefile ] || exit 0; \
15622 r=`${PWD_COMMAND}`; export r; \
15623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15625 for flag in $(EXTRA_HOST_FLAGS); do \
15626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15628 echo "Doing dvi in textutils" ; \
15630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15632 "RANLIB=$${RANLIB}" \
15633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15638 .PHONY: maybe-TAGS-textutils TAGS-textutils
15639 maybe-TAGS-textutils:
15642 configure-textutils
15643 @[ -f ./textutils/Makefile ] || exit 0; \
15644 r=`${PWD_COMMAND}`; export r; \
15645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15647 for flag in $(EXTRA_HOST_FLAGS); do \
15648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15650 echo "Doing TAGS in textutils" ; \
15652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15654 "RANLIB=$${RANLIB}" \
15655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15660 .PHONY: maybe-install-info-textutils install-info-textutils
15661 maybe-install-info-textutils:
15663 install-info-textutils: \
15664 configure-textutils \
15666 @[ -f ./textutils/Makefile ] || exit 0; \
15667 r=`${PWD_COMMAND}`; export r; \
15668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15670 for flag in $(EXTRA_HOST_FLAGS); do \
15671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15673 echo "Doing install-info in textutils" ; \
15675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15677 "RANLIB=$${RANLIB}" \
15678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15683 .PHONY: maybe-installcheck-textutils installcheck-textutils
15684 maybe-installcheck-textutils:
15686 installcheck-textutils: \
15687 configure-textutils
15688 @[ -f ./textutils/Makefile ] || exit 0; \
15689 r=`${PWD_COMMAND}`; export r; \
15690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15692 for flag in $(EXTRA_HOST_FLAGS); do \
15693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15695 echo "Doing installcheck in textutils" ; \
15697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15699 "RANLIB=$${RANLIB}" \
15700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15705 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
15706 maybe-mostlyclean-textutils:
15708 mostlyclean-textutils:
15709 @[ -f ./textutils/Makefile ] || exit 0; \
15710 r=`${PWD_COMMAND}`; export r; \
15711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15713 for flag in $(EXTRA_HOST_FLAGS); do \
15714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15716 echo "Doing mostlyclean in textutils" ; \
15718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15720 "RANLIB=$${RANLIB}" \
15721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15726 .PHONY: maybe-clean-textutils clean-textutils
15727 maybe-clean-textutils:
15730 @[ -f ./textutils/Makefile ] || exit 0; \
15731 r=`${PWD_COMMAND}`; export r; \
15732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15734 for flag in $(EXTRA_HOST_FLAGS); do \
15735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15737 echo "Doing clean in textutils" ; \
15739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15741 "RANLIB=$${RANLIB}" \
15742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15747 .PHONY: maybe-distclean-textutils distclean-textutils
15748 maybe-distclean-textutils:
15750 distclean-textutils:
15751 @[ -f ./textutils/Makefile ] || exit 0; \
15752 r=`${PWD_COMMAND}`; export r; \
15753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15755 for flag in $(EXTRA_HOST_FLAGS); do \
15756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15758 echo "Doing distclean in textutils" ; \
15760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15762 "RANLIB=$${RANLIB}" \
15763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15768 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
15769 maybe-maintainer-clean-textutils:
15771 maintainer-clean-textutils:
15772 @[ -f ./textutils/Makefile ] || exit 0; \
15773 r=`${PWD_COMMAND}`; export r; \
15774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15776 for flag in $(EXTRA_HOST_FLAGS); do \
15777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15779 echo "Doing maintainer-clean in textutils" ; \
15781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15783 "RANLIB=$${RANLIB}" \
15784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15785 maintainer-clean) \
15790 .PHONY: configure-time maybe-configure-time
15791 maybe-configure-time:
15793 @test ! -f time/Makefile || exit 0; \
15794 [ -d time ] || mkdir time; \
15795 r=`${PWD_COMMAND}`; export r; \
15796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15797 CC="$(CC)"; export CC; \
15798 CFLAGS="$(CFLAGS)"; export CFLAGS; \
15799 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
15800 CXX="$(CXX)"; export CXX; \
15801 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
15802 AR="$(AR)"; export AR; \
15803 AS="$(AS)"; export AS; \
15804 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
15805 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
15806 LD="$(LD)"; export LD; \
15807 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
15808 NM="$(NM)"; export NM; \
15809 RANLIB="$(RANLIB)"; export RANLIB; \
15810 WINDRES="$(WINDRES)"; export WINDRES; \
15811 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
15812 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
15813 echo Configuring in time; \
15814 cd time || exit 1; \
15815 case $(srcdir) in \
15817 srcdiroption="--srcdir=."; \
15819 /* | [A-Za-z]:[\\/]*) \
15820 srcdiroption="--srcdir=$(srcdir)/time"; \
15821 libsrcdir="$$s/time";; \
15823 srcdiroption="--srcdir=../$(srcdir)/time"; \
15824 libsrcdir="$$s/time";; \
15826 $(SHELL) $${libsrcdir}/configure \
15827 $(HOST_CONFIGARGS) $${srcdiroption} \
15830 .PHONY: all-time maybe-all-time
15832 all-time: configure-time
15833 @r=`${PWD_COMMAND}`; export r; \
15834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15836 (cd time && $(MAKE) $(FLAGS_TO_PASS) all)
15838 .PHONY: check-time maybe-check-time
15842 @r=`${PWD_COMMAND}`; export r; \
15843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15845 (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
15848 .PHONY: install-time maybe-install-time
15849 maybe-install-time:
15851 install-time: installdirs
15852 @r=`${PWD_COMMAND}`; export r; \
15853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15855 (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
15858 # Other targets (info, dvi, etc.)
15860 .PHONY: maybe-info-time info-time
15865 @[ -f ./time/Makefile ] || exit 0; \
15866 r=`${PWD_COMMAND}`; export r; \
15867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15869 for flag in $(EXTRA_HOST_FLAGS); do \
15870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15872 echo "Doing info in time" ; \
15874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15876 "RANLIB=$${RANLIB}" \
15877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15882 .PHONY: maybe-dvi-time dvi-time
15887 @[ -f ./time/Makefile ] || exit 0; \
15888 r=`${PWD_COMMAND}`; export r; \
15889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15891 for flag in $(EXTRA_HOST_FLAGS); do \
15892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15894 echo "Doing dvi in time" ; \
15896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15898 "RANLIB=$${RANLIB}" \
15899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15904 .PHONY: maybe-TAGS-time TAGS-time
15909 @[ -f ./time/Makefile ] || exit 0; \
15910 r=`${PWD_COMMAND}`; export r; \
15911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15913 for flag in $(EXTRA_HOST_FLAGS); do \
15914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15916 echo "Doing TAGS in time" ; \
15918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15920 "RANLIB=$${RANLIB}" \
15921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15926 .PHONY: maybe-install-info-time install-info-time
15927 maybe-install-info-time:
15929 install-info-time: \
15932 @[ -f ./time/Makefile ] || exit 0; \
15933 r=`${PWD_COMMAND}`; export r; \
15934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15936 for flag in $(EXTRA_HOST_FLAGS); do \
15937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15939 echo "Doing install-info in time" ; \
15941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15943 "RANLIB=$${RANLIB}" \
15944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15949 .PHONY: maybe-installcheck-time installcheck-time
15950 maybe-installcheck-time:
15952 installcheck-time: \
15954 @[ -f ./time/Makefile ] || exit 0; \
15955 r=`${PWD_COMMAND}`; export r; \
15956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15958 for flag in $(EXTRA_HOST_FLAGS); do \
15959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15961 echo "Doing installcheck in time" ; \
15963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15965 "RANLIB=$${RANLIB}" \
15966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15971 .PHONY: maybe-mostlyclean-time mostlyclean-time
15972 maybe-mostlyclean-time:
15975 @[ -f ./time/Makefile ] || exit 0; \
15976 r=`${PWD_COMMAND}`; export r; \
15977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15979 for flag in $(EXTRA_HOST_FLAGS); do \
15980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15982 echo "Doing mostlyclean in time" ; \
15984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15986 "RANLIB=$${RANLIB}" \
15987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15992 .PHONY: maybe-clean-time clean-time
15996 @[ -f ./time/Makefile ] || exit 0; \
15997 r=`${PWD_COMMAND}`; export r; \
15998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16000 for flag in $(EXTRA_HOST_FLAGS); do \
16001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16003 echo "Doing clean in time" ; \
16005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16007 "RANLIB=$${RANLIB}" \
16008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16013 .PHONY: maybe-distclean-time distclean-time
16014 maybe-distclean-time:
16017 @[ -f ./time/Makefile ] || exit 0; \
16018 r=`${PWD_COMMAND}`; export r; \
16019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16021 for flag in $(EXTRA_HOST_FLAGS); do \
16022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16024 echo "Doing distclean in time" ; \
16026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16028 "RANLIB=$${RANLIB}" \
16029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16034 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
16035 maybe-maintainer-clean-time:
16037 maintainer-clean-time:
16038 @[ -f ./time/Makefile ] || exit 0; \
16039 r=`${PWD_COMMAND}`; export r; \
16040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16042 for flag in $(EXTRA_HOST_FLAGS); do \
16043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16045 echo "Doing maintainer-clean in time" ; \
16047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16049 "RANLIB=$${RANLIB}" \
16050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16051 maintainer-clean) \
16056 .PHONY: configure-uudecode maybe-configure-uudecode
16057 maybe-configure-uudecode:
16058 configure-uudecode:
16059 @test ! -f uudecode/Makefile || exit 0; \
16060 [ -d uudecode ] || mkdir uudecode; \
16061 r=`${PWD_COMMAND}`; export r; \
16062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16063 CC="$(CC)"; export CC; \
16064 CFLAGS="$(CFLAGS)"; export CFLAGS; \
16065 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
16066 CXX="$(CXX)"; export CXX; \
16067 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
16068 AR="$(AR)"; export AR; \
16069 AS="$(AS)"; export AS; \
16070 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
16071 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
16072 LD="$(LD)"; export LD; \
16073 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
16074 NM="$(NM)"; export NM; \
16075 RANLIB="$(RANLIB)"; export RANLIB; \
16076 WINDRES="$(WINDRES)"; export WINDRES; \
16077 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
16078 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
16079 echo Configuring in uudecode; \
16080 cd uudecode || exit 1; \
16081 case $(srcdir) in \
16083 srcdiroption="--srcdir=."; \
16085 /* | [A-Za-z]:[\\/]*) \
16086 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
16087 libsrcdir="$$s/uudecode";; \
16089 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
16090 libsrcdir="$$s/uudecode";; \
16092 $(SHELL) $${libsrcdir}/configure \
16093 $(HOST_CONFIGARGS) $${srcdiroption} \
16096 .PHONY: all-uudecode maybe-all-uudecode
16097 maybe-all-uudecode:
16098 all-uudecode: configure-uudecode
16099 @r=`${PWD_COMMAND}`; export r; \
16100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16102 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) all)
16104 .PHONY: check-uudecode maybe-check-uudecode
16105 maybe-check-uudecode:
16108 @r=`${PWD_COMMAND}`; export r; \
16109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16111 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
16114 .PHONY: install-uudecode maybe-install-uudecode
16115 maybe-install-uudecode:
16117 install-uudecode: installdirs
16118 @r=`${PWD_COMMAND}`; export r; \
16119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16121 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
16124 # Other targets (info, dvi, etc.)
16126 .PHONY: maybe-info-uudecode info-uudecode
16127 maybe-info-uudecode:
16131 @[ -f ./uudecode/Makefile ] || exit 0; \
16132 r=`${PWD_COMMAND}`; export r; \
16133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16135 for flag in $(EXTRA_HOST_FLAGS); do \
16136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16138 echo "Doing info in uudecode" ; \
16140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16142 "RANLIB=$${RANLIB}" \
16143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16148 .PHONY: maybe-dvi-uudecode dvi-uudecode
16149 maybe-dvi-uudecode:
16153 @[ -f ./uudecode/Makefile ] || exit 0; \
16154 r=`${PWD_COMMAND}`; export r; \
16155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16157 for flag in $(EXTRA_HOST_FLAGS); do \
16158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16160 echo "Doing dvi in uudecode" ; \
16162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16164 "RANLIB=$${RANLIB}" \
16165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16170 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
16171 maybe-TAGS-uudecode:
16175 @[ -f ./uudecode/Makefile ] || exit 0; \
16176 r=`${PWD_COMMAND}`; export r; \
16177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16179 for flag in $(EXTRA_HOST_FLAGS); do \
16180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16182 echo "Doing TAGS in uudecode" ; \
16184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16186 "RANLIB=$${RANLIB}" \
16187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16192 .PHONY: maybe-install-info-uudecode install-info-uudecode
16193 maybe-install-info-uudecode:
16195 install-info-uudecode: \
16196 configure-uudecode \
16198 @[ -f ./uudecode/Makefile ] || exit 0; \
16199 r=`${PWD_COMMAND}`; export r; \
16200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16202 for flag in $(EXTRA_HOST_FLAGS); do \
16203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16205 echo "Doing install-info in uudecode" ; \
16207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16209 "RANLIB=$${RANLIB}" \
16210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16215 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
16216 maybe-installcheck-uudecode:
16218 installcheck-uudecode: \
16220 @[ -f ./uudecode/Makefile ] || exit 0; \
16221 r=`${PWD_COMMAND}`; export r; \
16222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16224 for flag in $(EXTRA_HOST_FLAGS); do \
16225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16227 echo "Doing installcheck in uudecode" ; \
16229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16231 "RANLIB=$${RANLIB}" \
16232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16237 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
16238 maybe-mostlyclean-uudecode:
16240 mostlyclean-uudecode:
16241 @[ -f ./uudecode/Makefile ] || exit 0; \
16242 r=`${PWD_COMMAND}`; export r; \
16243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16245 for flag in $(EXTRA_HOST_FLAGS); do \
16246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16248 echo "Doing mostlyclean in uudecode" ; \
16250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16252 "RANLIB=$${RANLIB}" \
16253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16258 .PHONY: maybe-clean-uudecode clean-uudecode
16259 maybe-clean-uudecode:
16262 @[ -f ./uudecode/Makefile ] || exit 0; \
16263 r=`${PWD_COMMAND}`; export r; \
16264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16266 for flag in $(EXTRA_HOST_FLAGS); do \
16267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16269 echo "Doing clean in uudecode" ; \
16271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16273 "RANLIB=$${RANLIB}" \
16274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16279 .PHONY: maybe-distclean-uudecode distclean-uudecode
16280 maybe-distclean-uudecode:
16282 distclean-uudecode:
16283 @[ -f ./uudecode/Makefile ] || exit 0; \
16284 r=`${PWD_COMMAND}`; export r; \
16285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16287 for flag in $(EXTRA_HOST_FLAGS); do \
16288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16290 echo "Doing distclean in uudecode" ; \
16292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16294 "RANLIB=$${RANLIB}" \
16295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16300 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
16301 maybe-maintainer-clean-uudecode:
16303 maintainer-clean-uudecode:
16304 @[ -f ./uudecode/Makefile ] || exit 0; \
16305 r=`${PWD_COMMAND}`; export r; \
16306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16308 for flag in $(EXTRA_HOST_FLAGS); do \
16309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16311 echo "Doing maintainer-clean in uudecode" ; \
16313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16315 "RANLIB=$${RANLIB}" \
16316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16317 maintainer-clean) \
16322 .PHONY: configure-wdiff maybe-configure-wdiff
16323 maybe-configure-wdiff:
16325 @test ! -f wdiff/Makefile || exit 0; \
16326 [ -d wdiff ] || mkdir wdiff; \
16327 r=`${PWD_COMMAND}`; export r; \
16328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16329 CC="$(CC)"; export CC; \
16330 CFLAGS="$(CFLAGS)"; export CFLAGS; \
16331 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
16332 CXX="$(CXX)"; export CXX; \
16333 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
16334 AR="$(AR)"; export AR; \
16335 AS="$(AS)"; export AS; \
16336 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
16337 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
16338 LD="$(LD)"; export LD; \
16339 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
16340 NM="$(NM)"; export NM; \
16341 RANLIB="$(RANLIB)"; export RANLIB; \
16342 WINDRES="$(WINDRES)"; export WINDRES; \
16343 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
16344 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
16345 echo Configuring in wdiff; \
16346 cd wdiff || exit 1; \
16347 case $(srcdir) in \
16349 srcdiroption="--srcdir=."; \
16351 /* | [A-Za-z]:[\\/]*) \
16352 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
16353 libsrcdir="$$s/wdiff";; \
16355 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
16356 libsrcdir="$$s/wdiff";; \
16358 $(SHELL) $${libsrcdir}/configure \
16359 $(HOST_CONFIGARGS) $${srcdiroption} \
16362 .PHONY: all-wdiff maybe-all-wdiff
16364 all-wdiff: configure-wdiff
16365 @r=`${PWD_COMMAND}`; export r; \
16366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16368 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) all)
16370 .PHONY: check-wdiff maybe-check-wdiff
16374 @r=`${PWD_COMMAND}`; export r; \
16375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16377 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
16380 .PHONY: install-wdiff maybe-install-wdiff
16381 maybe-install-wdiff:
16383 install-wdiff: installdirs
16384 @r=`${PWD_COMMAND}`; export r; \
16385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16387 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
16390 # Other targets (info, dvi, etc.)
16392 .PHONY: maybe-info-wdiff info-wdiff
16397 @[ -f ./wdiff/Makefile ] || exit 0; \
16398 r=`${PWD_COMMAND}`; export r; \
16399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16401 for flag in $(EXTRA_HOST_FLAGS); do \
16402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16404 echo "Doing info in wdiff" ; \
16406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16408 "RANLIB=$${RANLIB}" \
16409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16414 .PHONY: maybe-dvi-wdiff dvi-wdiff
16419 @[ -f ./wdiff/Makefile ] || exit 0; \
16420 r=`${PWD_COMMAND}`; export r; \
16421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16423 for flag in $(EXTRA_HOST_FLAGS); do \
16424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16426 echo "Doing dvi in wdiff" ; \
16428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16430 "RANLIB=$${RANLIB}" \
16431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16436 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
16441 @[ -f ./wdiff/Makefile ] || exit 0; \
16442 r=`${PWD_COMMAND}`; export r; \
16443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16445 for flag in $(EXTRA_HOST_FLAGS); do \
16446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16448 echo "Doing TAGS in wdiff" ; \
16450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16452 "RANLIB=$${RANLIB}" \
16453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16458 .PHONY: maybe-install-info-wdiff install-info-wdiff
16459 maybe-install-info-wdiff:
16461 install-info-wdiff: \
16464 @[ -f ./wdiff/Makefile ] || exit 0; \
16465 r=`${PWD_COMMAND}`; export r; \
16466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16468 for flag in $(EXTRA_HOST_FLAGS); do \
16469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16471 echo "Doing install-info in wdiff" ; \
16473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16475 "RANLIB=$${RANLIB}" \
16476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16481 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
16482 maybe-installcheck-wdiff:
16484 installcheck-wdiff: \
16486 @[ -f ./wdiff/Makefile ] || exit 0; \
16487 r=`${PWD_COMMAND}`; export r; \
16488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16490 for flag in $(EXTRA_HOST_FLAGS); do \
16491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16493 echo "Doing installcheck in wdiff" ; \
16495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16497 "RANLIB=$${RANLIB}" \
16498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16503 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
16504 maybe-mostlyclean-wdiff:
16507 @[ -f ./wdiff/Makefile ] || exit 0; \
16508 r=`${PWD_COMMAND}`; export r; \
16509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16511 for flag in $(EXTRA_HOST_FLAGS); do \
16512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16514 echo "Doing mostlyclean in wdiff" ; \
16516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16518 "RANLIB=$${RANLIB}" \
16519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16524 .PHONY: maybe-clean-wdiff clean-wdiff
16528 @[ -f ./wdiff/Makefile ] || exit 0; \
16529 r=`${PWD_COMMAND}`; export r; \
16530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16532 for flag in $(EXTRA_HOST_FLAGS); do \
16533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16535 echo "Doing clean in wdiff" ; \
16537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16539 "RANLIB=$${RANLIB}" \
16540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16545 .PHONY: maybe-distclean-wdiff distclean-wdiff
16546 maybe-distclean-wdiff:
16549 @[ -f ./wdiff/Makefile ] || exit 0; \
16550 r=`${PWD_COMMAND}`; export r; \
16551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16553 for flag in $(EXTRA_HOST_FLAGS); do \
16554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16556 echo "Doing distclean in wdiff" ; \
16558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16560 "RANLIB=$${RANLIB}" \
16561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16566 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
16567 maybe-maintainer-clean-wdiff:
16569 maintainer-clean-wdiff:
16570 @[ -f ./wdiff/Makefile ] || exit 0; \
16571 r=`${PWD_COMMAND}`; export r; \
16572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16574 for flag in $(EXTRA_HOST_FLAGS); do \
16575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16577 echo "Doing maintainer-clean in wdiff" ; \
16579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16581 "RANLIB=$${RANLIB}" \
16582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16583 maintainer-clean) \
16588 .PHONY: configure-zip maybe-configure-zip
16589 maybe-configure-zip:
16591 @test ! -f zip/Makefile || exit 0; \
16592 [ -d zip ] || mkdir zip; \
16593 r=`${PWD_COMMAND}`; export r; \
16594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16595 CC="$(CC)"; export CC; \
16596 CFLAGS="$(CFLAGS)"; export CFLAGS; \
16597 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
16598 CXX="$(CXX)"; export CXX; \
16599 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
16600 AR="$(AR)"; export AR; \
16601 AS="$(AS)"; export AS; \
16602 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
16603 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
16604 LD="$(LD)"; export LD; \
16605 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
16606 NM="$(NM)"; export NM; \
16607 RANLIB="$(RANLIB)"; export RANLIB; \
16608 WINDRES="$(WINDRES)"; export WINDRES; \
16609 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
16610 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
16611 echo Configuring in zip; \
16612 cd zip || exit 1; \
16613 case $(srcdir) in \
16615 srcdiroption="--srcdir=."; \
16617 /* | [A-Za-z]:[\\/]*) \
16618 srcdiroption="--srcdir=$(srcdir)/zip"; \
16619 libsrcdir="$$s/zip";; \
16621 srcdiroption="--srcdir=../$(srcdir)/zip"; \
16622 libsrcdir="$$s/zip";; \
16624 $(SHELL) $${libsrcdir}/configure \
16625 $(HOST_CONFIGARGS) $${srcdiroption} \
16628 .PHONY: all-zip maybe-all-zip
16630 all-zip: configure-zip
16631 @r=`${PWD_COMMAND}`; export r; \
16632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16634 (cd zip && $(MAKE) $(FLAGS_TO_PASS) all)
16636 .PHONY: check-zip maybe-check-zip
16639 # This module is only tested in a native toolchain.
16641 @if [ '$(host)' = '$(target)' ] ; then \
16642 r=`${PWD_COMMAND}`; export r; \
16643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16645 (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \
16649 .PHONY: install-zip maybe-install-zip
16652 install-zip: installdirs
16653 @r=`${PWD_COMMAND}`; export r; \
16654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16656 (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
16659 # Other targets (info, dvi, etc.)
16661 .PHONY: maybe-info-zip info-zip
16666 @[ -f ./zip/Makefile ] || exit 0; \
16667 r=`${PWD_COMMAND}`; export r; \
16668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16670 for flag in $(EXTRA_HOST_FLAGS); do \
16671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16673 echo "Doing info in zip" ; \
16675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16677 "RANLIB=$${RANLIB}" \
16678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16683 .PHONY: maybe-dvi-zip dvi-zip
16688 @[ -f ./zip/Makefile ] || exit 0; \
16689 r=`${PWD_COMMAND}`; export r; \
16690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16692 for flag in $(EXTRA_HOST_FLAGS); do \
16693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16695 echo "Doing dvi in zip" ; \
16697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16699 "RANLIB=$${RANLIB}" \
16700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16705 .PHONY: maybe-TAGS-zip TAGS-zip
16710 @[ -f ./zip/Makefile ] || exit 0; \
16711 r=`${PWD_COMMAND}`; export r; \
16712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16714 for flag in $(EXTRA_HOST_FLAGS); do \
16715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16717 echo "Doing TAGS in zip" ; \
16719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16721 "RANLIB=$${RANLIB}" \
16722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16727 .PHONY: maybe-install-info-zip install-info-zip
16728 maybe-install-info-zip:
16730 install-info-zip: \
16733 @[ -f ./zip/Makefile ] || exit 0; \
16734 r=`${PWD_COMMAND}`; export r; \
16735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16737 for flag in $(EXTRA_HOST_FLAGS); do \
16738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16740 echo "Doing install-info in zip" ; \
16742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16744 "RANLIB=$${RANLIB}" \
16745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16750 .PHONY: maybe-installcheck-zip installcheck-zip
16751 maybe-installcheck-zip:
16753 installcheck-zip: \
16755 @[ -f ./zip/Makefile ] || exit 0; \
16756 r=`${PWD_COMMAND}`; export r; \
16757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16759 for flag in $(EXTRA_HOST_FLAGS); do \
16760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16762 echo "Doing installcheck in zip" ; \
16764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16766 "RANLIB=$${RANLIB}" \
16767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16772 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
16773 maybe-mostlyclean-zip:
16776 @[ -f ./zip/Makefile ] || exit 0; \
16777 r=`${PWD_COMMAND}`; export r; \
16778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16780 for flag in $(EXTRA_HOST_FLAGS); do \
16781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16783 echo "Doing mostlyclean in zip" ; \
16785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16787 "RANLIB=$${RANLIB}" \
16788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16793 .PHONY: maybe-clean-zip clean-zip
16797 @[ -f ./zip/Makefile ] || exit 0; \
16798 r=`${PWD_COMMAND}`; export r; \
16799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16801 for flag in $(EXTRA_HOST_FLAGS); do \
16802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16804 echo "Doing clean in zip" ; \
16806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16808 "RANLIB=$${RANLIB}" \
16809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16814 .PHONY: maybe-distclean-zip distclean-zip
16815 maybe-distclean-zip:
16818 @[ -f ./zip/Makefile ] || exit 0; \
16819 r=`${PWD_COMMAND}`; export r; \
16820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16822 for flag in $(EXTRA_HOST_FLAGS); do \
16823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16825 echo "Doing distclean in zip" ; \
16827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16829 "RANLIB=$${RANLIB}" \
16830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16835 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
16836 maybe-maintainer-clean-zip:
16838 maintainer-clean-zip:
16839 @[ -f ./zip/Makefile ] || exit 0; \
16840 r=`${PWD_COMMAND}`; export r; \
16841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16843 for flag in $(EXTRA_HOST_FLAGS); do \
16844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16846 echo "Doing maintainer-clean in zip" ; \
16848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16850 "RANLIB=$${RANLIB}" \
16851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16852 maintainer-clean) \
16857 .PHONY: configure-zlib maybe-configure-zlib
16858 maybe-configure-zlib:
16860 @test ! -f zlib/Makefile || exit 0; \
16861 [ -d zlib ] || mkdir zlib; \
16862 r=`${PWD_COMMAND}`; export r; \
16863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16864 CC="$(CC)"; export CC; \
16865 CFLAGS="$(CFLAGS)"; export CFLAGS; \
16866 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
16867 CXX="$(CXX)"; export CXX; \
16868 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
16869 AR="$(AR)"; export AR; \
16870 AS="$(AS)"; export AS; \
16871 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
16872 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
16873 LD="$(LD)"; export LD; \
16874 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
16875 NM="$(NM)"; export NM; \
16876 RANLIB="$(RANLIB)"; export RANLIB; \
16877 WINDRES="$(WINDRES)"; export WINDRES; \
16878 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
16879 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
16880 echo Configuring in zlib; \
16881 cd zlib || exit 1; \
16882 case $(srcdir) in \
16884 srcdiroption="--srcdir=."; \
16886 /* | [A-Za-z]:[\\/]*) \
16887 srcdiroption="--srcdir=$(srcdir)/zlib"; \
16888 libsrcdir="$$s/zlib";; \
16890 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
16891 libsrcdir="$$s/zlib";; \
16893 $(SHELL) $${libsrcdir}/configure \
16894 $(HOST_CONFIGARGS) $${srcdiroption} \
16897 .PHONY: all-zlib maybe-all-zlib
16899 all-zlib: configure-zlib
16900 @r=`${PWD_COMMAND}`; export r; \
16901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16903 (cd zlib && $(MAKE) $(FLAGS_TO_PASS) all)
16905 .PHONY: check-zlib maybe-check-zlib
16911 .PHONY: install-zlib maybe-install-zlib
16912 maybe-install-zlib:
16917 # Other targets (info, dvi, etc.)
16919 .PHONY: maybe-info-zlib info-zlib
16924 @[ -f ./zlib/Makefile ] || exit 0; \
16925 r=`${PWD_COMMAND}`; export r; \
16926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16928 for flag in $(EXTRA_HOST_FLAGS); do \
16929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16931 echo "Doing info in zlib" ; \
16933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16935 "RANLIB=$${RANLIB}" \
16936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16941 .PHONY: maybe-dvi-zlib dvi-zlib
16946 @[ -f ./zlib/Makefile ] || exit 0; \
16947 r=`${PWD_COMMAND}`; export r; \
16948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16950 for flag in $(EXTRA_HOST_FLAGS); do \
16951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16953 echo "Doing dvi in zlib" ; \
16955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16957 "RANLIB=$${RANLIB}" \
16958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16963 .PHONY: maybe-TAGS-zlib TAGS-zlib
16968 @[ -f ./zlib/Makefile ] || exit 0; \
16969 r=`${PWD_COMMAND}`; export r; \
16970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16972 for flag in $(EXTRA_HOST_FLAGS); do \
16973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16975 echo "Doing TAGS in zlib" ; \
16977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16979 "RANLIB=$${RANLIB}" \
16980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16985 .PHONY: maybe-install-info-zlib install-info-zlib
16986 maybe-install-info-zlib:
16988 install-info-zlib: \
16991 @[ -f ./zlib/Makefile ] || exit 0; \
16992 r=`${PWD_COMMAND}`; export r; \
16993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16995 for flag in $(EXTRA_HOST_FLAGS); do \
16996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16998 echo "Doing install-info in zlib" ; \
17000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17002 "RANLIB=$${RANLIB}" \
17003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17008 .PHONY: maybe-installcheck-zlib installcheck-zlib
17009 maybe-installcheck-zlib:
17011 installcheck-zlib: \
17013 @[ -f ./zlib/Makefile ] || exit 0; \
17014 r=`${PWD_COMMAND}`; export r; \
17015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17017 for flag in $(EXTRA_HOST_FLAGS); do \
17018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17020 echo "Doing installcheck in zlib" ; \
17022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17024 "RANLIB=$${RANLIB}" \
17025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17030 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
17031 maybe-mostlyclean-zlib:
17034 @[ -f ./zlib/Makefile ] || exit 0; \
17035 r=`${PWD_COMMAND}`; export r; \
17036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17038 for flag in $(EXTRA_HOST_FLAGS); do \
17039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17041 echo "Doing mostlyclean in zlib" ; \
17043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17045 "RANLIB=$${RANLIB}" \
17046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17051 .PHONY: maybe-clean-zlib clean-zlib
17055 @[ -f ./zlib/Makefile ] || exit 0; \
17056 r=`${PWD_COMMAND}`; export r; \
17057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17059 for flag in $(EXTRA_HOST_FLAGS); do \
17060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17062 echo "Doing clean in zlib" ; \
17064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17066 "RANLIB=$${RANLIB}" \
17067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17072 .PHONY: maybe-distclean-zlib distclean-zlib
17073 maybe-distclean-zlib:
17076 @[ -f ./zlib/Makefile ] || exit 0; \
17077 r=`${PWD_COMMAND}`; export r; \
17078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17080 for flag in $(EXTRA_HOST_FLAGS); do \
17081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17083 echo "Doing distclean in zlib" ; \
17085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17087 "RANLIB=$${RANLIB}" \
17088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17093 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
17094 maybe-maintainer-clean-zlib:
17096 maintainer-clean-zlib:
17097 @[ -f ./zlib/Makefile ] || exit 0; \
17098 r=`${PWD_COMMAND}`; export r; \
17099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17101 for flag in $(EXTRA_HOST_FLAGS); do \
17102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17104 echo "Doing maintainer-clean in zlib" ; \
17106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17108 "RANLIB=$${RANLIB}" \
17109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17110 maintainer-clean) \
17115 .PHONY: configure-gdb maybe-configure-gdb
17116 maybe-configure-gdb:
17118 @test ! -f gdb/Makefile || exit 0; \
17119 [ -d gdb ] || mkdir gdb; \
17120 r=`${PWD_COMMAND}`; export r; \
17121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17122 CC="$(CC)"; export CC; \
17123 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17124 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
17125 CXX="$(CXX)"; export CXX; \
17126 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17127 AR="$(AR)"; export AR; \
17128 AS="$(AS)"; export AS; \
17129 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17130 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17131 LD="$(LD)"; export LD; \
17132 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
17133 NM="$(NM)"; export NM; \
17134 RANLIB="$(RANLIB)"; export RANLIB; \
17135 WINDRES="$(WINDRES)"; export WINDRES; \
17136 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17137 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17138 echo Configuring in gdb; \
17139 cd gdb || exit 1; \
17140 case $(srcdir) in \
17142 srcdiroption="--srcdir=."; \
17144 /* | [A-Za-z]:[\\/]*) \
17145 srcdiroption="--srcdir=$(srcdir)/gdb"; \
17146 libsrcdir="$$s/gdb";; \
17148 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
17149 libsrcdir="$$s/gdb";; \
17151 $(SHELL) $${libsrcdir}/configure \
17152 $(HOST_CONFIGARGS) $${srcdiroption} \
17155 .PHONY: all-gdb maybe-all-gdb
17157 all-gdb: configure-gdb
17158 @r=`${PWD_COMMAND}`; export r; \
17159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17161 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
17163 .PHONY: check-gdb maybe-check-gdb
17167 @r=`${PWD_COMMAND}`; export r; \
17168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17170 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
17173 .PHONY: install-gdb maybe-install-gdb
17176 install-gdb: installdirs
17177 @r=`${PWD_COMMAND}`; export r; \
17178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17180 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
17183 # Other targets (info, dvi, etc.)
17185 .PHONY: maybe-info-gdb info-gdb
17190 @[ -f ./gdb/Makefile ] || exit 0; \
17191 r=`${PWD_COMMAND}`; export r; \
17192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17194 for flag in $(EXTRA_HOST_FLAGS); do \
17195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17197 echo "Doing info in gdb" ; \
17199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17201 "RANLIB=$${RANLIB}" \
17202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17207 .PHONY: maybe-dvi-gdb dvi-gdb
17212 @[ -f ./gdb/Makefile ] || exit 0; \
17213 r=`${PWD_COMMAND}`; export r; \
17214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17216 for flag in $(EXTRA_HOST_FLAGS); do \
17217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17219 echo "Doing dvi in gdb" ; \
17221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17223 "RANLIB=$${RANLIB}" \
17224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17229 .PHONY: maybe-TAGS-gdb TAGS-gdb
17234 @[ -f ./gdb/Makefile ] || exit 0; \
17235 r=`${PWD_COMMAND}`; export r; \
17236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17238 for flag in $(EXTRA_HOST_FLAGS); do \
17239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17241 echo "Doing TAGS in gdb" ; \
17243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17245 "RANLIB=$${RANLIB}" \
17246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17251 .PHONY: maybe-install-info-gdb install-info-gdb
17252 maybe-install-info-gdb:
17254 install-info-gdb: \
17257 @[ -f ./gdb/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 install-info in gdb" ; \
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}" \
17274 .PHONY: maybe-installcheck-gdb installcheck-gdb
17275 maybe-installcheck-gdb:
17277 installcheck-gdb: \
17279 @[ -f ./gdb/Makefile ] || exit 0; \
17280 r=`${PWD_COMMAND}`; export r; \
17281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17283 for flag in $(EXTRA_HOST_FLAGS); do \
17284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17286 echo "Doing installcheck in gdb" ; \
17288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17290 "RANLIB=$${RANLIB}" \
17291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17296 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
17297 maybe-mostlyclean-gdb:
17300 @[ -f ./gdb/Makefile ] || exit 0; \
17301 r=`${PWD_COMMAND}`; export r; \
17302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17304 for flag in $(EXTRA_HOST_FLAGS); do \
17305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17307 echo "Doing mostlyclean in gdb" ; \
17309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17311 "RANLIB=$${RANLIB}" \
17312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17317 .PHONY: maybe-clean-gdb clean-gdb
17321 @[ -f ./gdb/Makefile ] || exit 0; \
17322 r=`${PWD_COMMAND}`; export r; \
17323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17325 for flag in $(EXTRA_HOST_FLAGS); do \
17326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17328 echo "Doing clean in gdb" ; \
17330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17332 "RANLIB=$${RANLIB}" \
17333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17338 .PHONY: maybe-distclean-gdb distclean-gdb
17339 maybe-distclean-gdb:
17342 @[ -f ./gdb/Makefile ] || exit 0; \
17343 r=`${PWD_COMMAND}`; export r; \
17344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17346 for flag in $(EXTRA_HOST_FLAGS); do \
17347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17349 echo "Doing distclean in gdb" ; \
17351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17353 "RANLIB=$${RANLIB}" \
17354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17359 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
17360 maybe-maintainer-clean-gdb:
17362 maintainer-clean-gdb:
17363 @[ -f ./gdb/Makefile ] || exit 0; \
17364 r=`${PWD_COMMAND}`; export r; \
17365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17367 for flag in $(EXTRA_HOST_FLAGS); do \
17368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17370 echo "Doing maintainer-clean in gdb" ; \
17372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17374 "RANLIB=$${RANLIB}" \
17375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17376 maintainer-clean) \
17381 .PHONY: configure-expect maybe-configure-expect
17382 maybe-configure-expect:
17384 @test ! -f expect/Makefile || exit 0; \
17385 [ -d expect ] || mkdir expect; \
17386 r=`${PWD_COMMAND}`; export r; \
17387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17388 CC="$(CC)"; export CC; \
17389 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17390 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
17391 CXX="$(CXX)"; export CXX; \
17392 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17393 AR="$(AR)"; export AR; \
17394 AS="$(AS)"; export AS; \
17395 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17396 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17397 LD="$(LD)"; export LD; \
17398 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
17399 NM="$(NM)"; export NM; \
17400 RANLIB="$(RANLIB)"; export RANLIB; \
17401 WINDRES="$(WINDRES)"; export WINDRES; \
17402 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17403 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17404 echo Configuring in expect; \
17405 cd expect || exit 1; \
17406 case $(srcdir) in \
17408 srcdiroption="--srcdir=."; \
17410 /* | [A-Za-z]:[\\/]*) \
17411 srcdiroption="--srcdir=$(srcdir)/expect"; \
17412 libsrcdir="$$s/expect";; \
17414 srcdiroption="--srcdir=../$(srcdir)/expect"; \
17415 libsrcdir="$$s/expect";; \
17417 $(SHELL) $${libsrcdir}/configure \
17418 $(HOST_CONFIGARGS) $${srcdiroption} \
17421 .PHONY: all-expect maybe-all-expect
17423 all-expect: configure-expect
17424 @r=`${PWD_COMMAND}`; export r; \
17425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17427 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
17429 .PHONY: check-expect maybe-check-expect
17430 maybe-check-expect:
17433 @r=`${PWD_COMMAND}`; export r; \
17434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17436 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
17439 .PHONY: install-expect maybe-install-expect
17440 maybe-install-expect:
17442 install-expect: installdirs
17443 @r=`${PWD_COMMAND}`; export r; \
17444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17446 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
17449 # Other targets (info, dvi, etc.)
17451 .PHONY: maybe-info-expect info-expect
17456 @[ -f ./expect/Makefile ] || exit 0; \
17457 r=`${PWD_COMMAND}`; export r; \
17458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17460 for flag in $(EXTRA_HOST_FLAGS); do \
17461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17463 echo "Doing info in expect" ; \
17465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17467 "RANLIB=$${RANLIB}" \
17468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17473 .PHONY: maybe-dvi-expect dvi-expect
17478 @[ -f ./expect/Makefile ] || exit 0; \
17479 r=`${PWD_COMMAND}`; export r; \
17480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17482 for flag in $(EXTRA_HOST_FLAGS); do \
17483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17485 echo "Doing dvi in expect" ; \
17487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17489 "RANLIB=$${RANLIB}" \
17490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17495 .PHONY: maybe-TAGS-expect TAGS-expect
17500 @[ -f ./expect/Makefile ] || exit 0; \
17501 r=`${PWD_COMMAND}`; export r; \
17502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17504 for flag in $(EXTRA_HOST_FLAGS); do \
17505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17507 echo "Doing TAGS in expect" ; \
17509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17511 "RANLIB=$${RANLIB}" \
17512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17517 .PHONY: maybe-install-info-expect install-info-expect
17518 maybe-install-info-expect:
17520 install-info-expect: \
17523 @[ -f ./expect/Makefile ] || exit 0; \
17524 r=`${PWD_COMMAND}`; export r; \
17525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17527 for flag in $(EXTRA_HOST_FLAGS); do \
17528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17530 echo "Doing install-info in expect" ; \
17532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17534 "RANLIB=$${RANLIB}" \
17535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17540 .PHONY: maybe-installcheck-expect installcheck-expect
17541 maybe-installcheck-expect:
17543 installcheck-expect: \
17545 @[ -f ./expect/Makefile ] || exit 0; \
17546 r=`${PWD_COMMAND}`; export r; \
17547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17549 for flag in $(EXTRA_HOST_FLAGS); do \
17550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17552 echo "Doing installcheck in expect" ; \
17554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17556 "RANLIB=$${RANLIB}" \
17557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17562 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
17563 maybe-mostlyclean-expect:
17565 mostlyclean-expect:
17566 @[ -f ./expect/Makefile ] || exit 0; \
17567 r=`${PWD_COMMAND}`; export r; \
17568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17570 for flag in $(EXTRA_HOST_FLAGS); do \
17571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17573 echo "Doing mostlyclean in expect" ; \
17575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17577 "RANLIB=$${RANLIB}" \
17578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17583 .PHONY: maybe-clean-expect clean-expect
17584 maybe-clean-expect:
17587 @[ -f ./expect/Makefile ] || exit 0; \
17588 r=`${PWD_COMMAND}`; export r; \
17589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17591 for flag in $(EXTRA_HOST_FLAGS); do \
17592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17594 echo "Doing clean in expect" ; \
17596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17598 "RANLIB=$${RANLIB}" \
17599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17604 .PHONY: maybe-distclean-expect distclean-expect
17605 maybe-distclean-expect:
17608 @[ -f ./expect/Makefile ] || exit 0; \
17609 r=`${PWD_COMMAND}`; export r; \
17610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17612 for flag in $(EXTRA_HOST_FLAGS); do \
17613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17615 echo "Doing distclean in expect" ; \
17617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17619 "RANLIB=$${RANLIB}" \
17620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17625 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
17626 maybe-maintainer-clean-expect:
17628 maintainer-clean-expect:
17629 @[ -f ./expect/Makefile ] || exit 0; \
17630 r=`${PWD_COMMAND}`; export r; \
17631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17633 for flag in $(EXTRA_HOST_FLAGS); do \
17634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17636 echo "Doing maintainer-clean in expect" ; \
17638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17640 "RANLIB=$${RANLIB}" \
17641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17642 maintainer-clean) \
17647 .PHONY: configure-guile maybe-configure-guile
17648 maybe-configure-guile:
17650 @test ! -f guile/Makefile || exit 0; \
17651 [ -d guile ] || mkdir guile; \
17652 r=`${PWD_COMMAND}`; export r; \
17653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17654 CC="$(CC)"; export CC; \
17655 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17656 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
17657 CXX="$(CXX)"; export CXX; \
17658 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17659 AR="$(AR)"; export AR; \
17660 AS="$(AS)"; export AS; \
17661 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17662 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17663 LD="$(LD)"; export LD; \
17664 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
17665 NM="$(NM)"; export NM; \
17666 RANLIB="$(RANLIB)"; export RANLIB; \
17667 WINDRES="$(WINDRES)"; export WINDRES; \
17668 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17669 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17670 echo Configuring in guile; \
17671 cd guile || exit 1; \
17672 case $(srcdir) in \
17674 srcdiroption="--srcdir=."; \
17676 /* | [A-Za-z]:[\\/]*) \
17677 srcdiroption="--srcdir=$(srcdir)/guile"; \
17678 libsrcdir="$$s/guile";; \
17680 srcdiroption="--srcdir=../$(srcdir)/guile"; \
17681 libsrcdir="$$s/guile";; \
17683 $(SHELL) $${libsrcdir}/configure \
17684 $(HOST_CONFIGARGS) $${srcdiroption} \
17687 .PHONY: all-guile maybe-all-guile
17689 all-guile: configure-guile
17690 @r=`${PWD_COMMAND}`; export r; \
17691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17693 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
17695 .PHONY: check-guile maybe-check-guile
17699 @r=`${PWD_COMMAND}`; export r; \
17700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17702 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
17705 .PHONY: install-guile maybe-install-guile
17706 maybe-install-guile:
17708 install-guile: installdirs
17709 @r=`${PWD_COMMAND}`; export r; \
17710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17712 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
17715 # Other targets (info, dvi, etc.)
17717 .PHONY: maybe-info-guile info-guile
17722 @[ -f ./guile/Makefile ] || exit 0; \
17723 r=`${PWD_COMMAND}`; export r; \
17724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17726 for flag in $(EXTRA_HOST_FLAGS); do \
17727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17729 echo "Doing info in guile" ; \
17731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17733 "RANLIB=$${RANLIB}" \
17734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17739 .PHONY: maybe-dvi-guile dvi-guile
17744 @[ -f ./guile/Makefile ] || exit 0; \
17745 r=`${PWD_COMMAND}`; export r; \
17746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17748 for flag in $(EXTRA_HOST_FLAGS); do \
17749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17751 echo "Doing dvi in guile" ; \
17753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17755 "RANLIB=$${RANLIB}" \
17756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17761 .PHONY: maybe-TAGS-guile TAGS-guile
17766 @[ -f ./guile/Makefile ] || exit 0; \
17767 r=`${PWD_COMMAND}`; export r; \
17768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17770 for flag in $(EXTRA_HOST_FLAGS); do \
17771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17773 echo "Doing TAGS in guile" ; \
17775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17777 "RANLIB=$${RANLIB}" \
17778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17783 .PHONY: maybe-install-info-guile install-info-guile
17784 maybe-install-info-guile:
17786 install-info-guile: \
17789 @[ -f ./guile/Makefile ] || exit 0; \
17790 r=`${PWD_COMMAND}`; export r; \
17791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17793 for flag in $(EXTRA_HOST_FLAGS); do \
17794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17796 echo "Doing install-info in guile" ; \
17798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17800 "RANLIB=$${RANLIB}" \
17801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17806 .PHONY: maybe-installcheck-guile installcheck-guile
17807 maybe-installcheck-guile:
17809 installcheck-guile: \
17811 @[ -f ./guile/Makefile ] || exit 0; \
17812 r=`${PWD_COMMAND}`; export r; \
17813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17815 for flag in $(EXTRA_HOST_FLAGS); do \
17816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17818 echo "Doing installcheck in guile" ; \
17820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17822 "RANLIB=$${RANLIB}" \
17823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17828 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
17829 maybe-mostlyclean-guile:
17832 @[ -f ./guile/Makefile ] || exit 0; \
17833 r=`${PWD_COMMAND}`; export r; \
17834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17836 for flag in $(EXTRA_HOST_FLAGS); do \
17837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17839 echo "Doing mostlyclean in guile" ; \
17841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17843 "RANLIB=$${RANLIB}" \
17844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17849 .PHONY: maybe-clean-guile clean-guile
17853 @[ -f ./guile/Makefile ] || exit 0; \
17854 r=`${PWD_COMMAND}`; export r; \
17855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17857 for flag in $(EXTRA_HOST_FLAGS); do \
17858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17860 echo "Doing clean in guile" ; \
17862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17864 "RANLIB=$${RANLIB}" \
17865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17870 .PHONY: maybe-distclean-guile distclean-guile
17871 maybe-distclean-guile:
17874 @[ -f ./guile/Makefile ] || exit 0; \
17875 r=`${PWD_COMMAND}`; export r; \
17876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17878 for flag in $(EXTRA_HOST_FLAGS); do \
17879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17881 echo "Doing distclean in guile" ; \
17883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17885 "RANLIB=$${RANLIB}" \
17886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17891 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
17892 maybe-maintainer-clean-guile:
17894 maintainer-clean-guile:
17895 @[ -f ./guile/Makefile ] || exit 0; \
17896 r=`${PWD_COMMAND}`; export r; \
17897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17899 for flag in $(EXTRA_HOST_FLAGS); do \
17900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17902 echo "Doing maintainer-clean in guile" ; \
17904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17906 "RANLIB=$${RANLIB}" \
17907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17908 maintainer-clean) \
17913 .PHONY: configure-tk maybe-configure-tk
17914 maybe-configure-tk:
17916 @test ! -f tk/Makefile || exit 0; \
17917 [ -d tk ] || mkdir tk; \
17918 r=`${PWD_COMMAND}`; export r; \
17919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17920 CC="$(CC)"; export CC; \
17921 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17922 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
17923 CXX="$(CXX)"; export CXX; \
17924 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17925 AR="$(AR)"; export AR; \
17926 AS="$(AS)"; export AS; \
17927 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17928 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17929 LD="$(LD)"; export LD; \
17930 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
17931 NM="$(NM)"; export NM; \
17932 RANLIB="$(RANLIB)"; export RANLIB; \
17933 WINDRES="$(WINDRES)"; export WINDRES; \
17934 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17935 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17936 echo Configuring in tk; \
17938 case $(srcdir) in \
17940 srcdiroption="--srcdir=."; \
17942 /* | [A-Za-z]:[\\/]*) \
17943 srcdiroption="--srcdir=$(srcdir)/tk"; \
17944 libsrcdir="$$s/tk";; \
17946 srcdiroption="--srcdir=../$(srcdir)/tk"; \
17947 libsrcdir="$$s/tk";; \
17949 $(SHELL) $${libsrcdir}/configure \
17950 $(HOST_CONFIGARGS) $${srcdiroption} \
17953 .PHONY: all-tk maybe-all-tk
17955 all-tk: configure-tk
17956 @r=`${PWD_COMMAND}`; export r; \
17957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17959 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
17961 .PHONY: check-tk maybe-check-tk
17965 @r=`${PWD_COMMAND}`; export r; \
17966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17968 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
17971 .PHONY: install-tk maybe-install-tk
17974 install-tk: installdirs
17975 @r=`${PWD_COMMAND}`; export r; \
17976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17978 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
17981 # Other targets (info, dvi, etc.)
17983 .PHONY: maybe-info-tk info-tk
17988 @[ -f ./tk/Makefile ] || exit 0; \
17989 r=`${PWD_COMMAND}`; export r; \
17990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17992 for flag in $(EXTRA_HOST_FLAGS); do \
17993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17995 echo "Doing info in tk" ; \
17997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17999 "RANLIB=$${RANLIB}" \
18000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18005 .PHONY: maybe-dvi-tk dvi-tk
18010 @[ -f ./tk/Makefile ] || exit 0; \
18011 r=`${PWD_COMMAND}`; export r; \
18012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18014 for flag in $(EXTRA_HOST_FLAGS); do \
18015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18017 echo "Doing dvi in tk" ; \
18019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18021 "RANLIB=$${RANLIB}" \
18022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18027 .PHONY: maybe-TAGS-tk TAGS-tk
18032 @[ -f ./tk/Makefile ] || exit 0; \
18033 r=`${PWD_COMMAND}`; export r; \
18034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18036 for flag in $(EXTRA_HOST_FLAGS); do \
18037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18039 echo "Doing TAGS in tk" ; \
18041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18043 "RANLIB=$${RANLIB}" \
18044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18049 .PHONY: maybe-install-info-tk install-info-tk
18050 maybe-install-info-tk:
18055 @[ -f ./tk/Makefile ] || exit 0; \
18056 r=`${PWD_COMMAND}`; export r; \
18057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18059 for flag in $(EXTRA_HOST_FLAGS); do \
18060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18062 echo "Doing install-info in tk" ; \
18064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18066 "RANLIB=$${RANLIB}" \
18067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18072 .PHONY: maybe-installcheck-tk installcheck-tk
18073 maybe-installcheck-tk:
18077 @[ -f ./tk/Makefile ] || exit 0; \
18078 r=`${PWD_COMMAND}`; export r; \
18079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18081 for flag in $(EXTRA_HOST_FLAGS); do \
18082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18084 echo "Doing installcheck in tk" ; \
18086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18088 "RANLIB=$${RANLIB}" \
18089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18094 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
18095 maybe-mostlyclean-tk:
18098 @[ -f ./tk/Makefile ] || exit 0; \
18099 r=`${PWD_COMMAND}`; export r; \
18100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18102 for flag in $(EXTRA_HOST_FLAGS); do \
18103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18105 echo "Doing mostlyclean in tk" ; \
18107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18109 "RANLIB=$${RANLIB}" \
18110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18115 .PHONY: maybe-clean-tk clean-tk
18119 @[ -f ./tk/Makefile ] || exit 0; \
18120 r=`${PWD_COMMAND}`; export r; \
18121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18123 for flag in $(EXTRA_HOST_FLAGS); do \
18124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18126 echo "Doing clean in tk" ; \
18128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18130 "RANLIB=$${RANLIB}" \
18131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18136 .PHONY: maybe-distclean-tk distclean-tk
18137 maybe-distclean-tk:
18140 @[ -f ./tk/Makefile ] || exit 0; \
18141 r=`${PWD_COMMAND}`; export r; \
18142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18144 for flag in $(EXTRA_HOST_FLAGS); do \
18145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18147 echo "Doing distclean in tk" ; \
18149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18151 "RANLIB=$${RANLIB}" \
18152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18157 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
18158 maybe-maintainer-clean-tk:
18160 maintainer-clean-tk:
18161 @[ -f ./tk/Makefile ] || exit 0; \
18162 r=`${PWD_COMMAND}`; export r; \
18163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18165 for flag in $(EXTRA_HOST_FLAGS); do \
18166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18168 echo "Doing maintainer-clean in tk" ; \
18170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18172 "RANLIB=$${RANLIB}" \
18173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18174 maintainer-clean) \
18179 .PHONY: configure-tix maybe-configure-tix
18180 maybe-configure-tix:
18182 @test ! -f tix/Makefile || exit 0; \
18183 [ -d tix ] || mkdir tix; \
18184 r=`${PWD_COMMAND}`; export r; \
18185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18186 CC="$(CC)"; export CC; \
18187 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18188 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
18189 CXX="$(CXX)"; export CXX; \
18190 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18191 AR="$(AR)"; export AR; \
18192 AS="$(AS)"; export AS; \
18193 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18194 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18195 LD="$(LD)"; export LD; \
18196 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
18197 NM="$(NM)"; export NM; \
18198 RANLIB="$(RANLIB)"; export RANLIB; \
18199 WINDRES="$(WINDRES)"; export WINDRES; \
18200 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18201 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18202 echo Configuring in tix; \
18203 cd tix || exit 1; \
18204 case $(srcdir) in \
18206 srcdiroption="--srcdir=."; \
18208 /* | [A-Za-z]:[\\/]*) \
18209 srcdiroption="--srcdir=$(srcdir)/tix"; \
18210 libsrcdir="$$s/tix";; \
18212 srcdiroption="--srcdir=../$(srcdir)/tix"; \
18213 libsrcdir="$$s/tix";; \
18215 $(SHELL) $${libsrcdir}/configure \
18216 $(HOST_CONFIGARGS) $${srcdiroption} \
18219 .PHONY: all-tix maybe-all-tix
18221 all-tix: configure-tix
18222 @r=`${PWD_COMMAND}`; export r; \
18223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18225 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
18227 .PHONY: check-tix maybe-check-tix
18231 @r=`${PWD_COMMAND}`; export r; \
18232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18234 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
18237 .PHONY: install-tix maybe-install-tix
18240 install-tix: installdirs
18241 @r=`${PWD_COMMAND}`; export r; \
18242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18244 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
18247 # Other targets (info, dvi, etc.)
18249 .PHONY: maybe-info-tix info-tix
18254 @[ -f ./tix/Makefile ] || exit 0; \
18255 r=`${PWD_COMMAND}`; export r; \
18256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18258 for flag in $(EXTRA_HOST_FLAGS); do \
18259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18261 echo "Doing info in tix" ; \
18263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18265 "RANLIB=$${RANLIB}" \
18266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18271 .PHONY: maybe-dvi-tix dvi-tix
18276 @[ -f ./tix/Makefile ] || exit 0; \
18277 r=`${PWD_COMMAND}`; export r; \
18278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18280 for flag in $(EXTRA_HOST_FLAGS); do \
18281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18283 echo "Doing dvi in tix" ; \
18285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18287 "RANLIB=$${RANLIB}" \
18288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18293 .PHONY: maybe-TAGS-tix TAGS-tix
18298 @[ -f ./tix/Makefile ] || exit 0; \
18299 r=`${PWD_COMMAND}`; export r; \
18300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18302 for flag in $(EXTRA_HOST_FLAGS); do \
18303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18305 echo "Doing TAGS in tix" ; \
18307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18309 "RANLIB=$${RANLIB}" \
18310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18315 .PHONY: maybe-install-info-tix install-info-tix
18316 maybe-install-info-tix:
18318 install-info-tix: \
18321 @[ -f ./tix/Makefile ] || exit 0; \
18322 r=`${PWD_COMMAND}`; export r; \
18323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18325 for flag in $(EXTRA_HOST_FLAGS); do \
18326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18328 echo "Doing install-info in tix" ; \
18330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18332 "RANLIB=$${RANLIB}" \
18333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18338 .PHONY: maybe-installcheck-tix installcheck-tix
18339 maybe-installcheck-tix:
18341 installcheck-tix: \
18343 @[ -f ./tix/Makefile ] || exit 0; \
18344 r=`${PWD_COMMAND}`; export r; \
18345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18347 for flag in $(EXTRA_HOST_FLAGS); do \
18348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18350 echo "Doing installcheck in tix" ; \
18352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18354 "RANLIB=$${RANLIB}" \
18355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18360 .PHONY: maybe-mostlyclean-tix mostlyclean-tix
18361 maybe-mostlyclean-tix:
18364 @[ -f ./tix/Makefile ] || exit 0; \
18365 r=`${PWD_COMMAND}`; export r; \
18366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18368 for flag in $(EXTRA_HOST_FLAGS); do \
18369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18371 echo "Doing mostlyclean in tix" ; \
18373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18375 "RANLIB=$${RANLIB}" \
18376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18381 .PHONY: maybe-clean-tix clean-tix
18385 @[ -f ./tix/Makefile ] || exit 0; \
18386 r=`${PWD_COMMAND}`; export r; \
18387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18389 for flag in $(EXTRA_HOST_FLAGS); do \
18390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18392 echo "Doing clean in tix" ; \
18394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18396 "RANLIB=$${RANLIB}" \
18397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18402 .PHONY: maybe-distclean-tix distclean-tix
18403 maybe-distclean-tix:
18406 @[ -f ./tix/Makefile ] || exit 0; \
18407 r=`${PWD_COMMAND}`; export r; \
18408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18410 for flag in $(EXTRA_HOST_FLAGS); do \
18411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18413 echo "Doing distclean in tix" ; \
18415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18417 "RANLIB=$${RANLIB}" \
18418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18423 .PHONY: maybe-maintainer-clean-tix maintainer-clean-tix
18424 maybe-maintainer-clean-tix:
18426 maintainer-clean-tix:
18427 @[ -f ./tix/Makefile ] || exit 0; \
18428 r=`${PWD_COMMAND}`; export r; \
18429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18431 for flag in $(EXTRA_HOST_FLAGS); do \
18432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18434 echo "Doing maintainer-clean in tix" ; \
18436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18438 "RANLIB=$${RANLIB}" \
18439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18440 maintainer-clean) \
18445 .PHONY: configure-libtermcap maybe-configure-libtermcap
18446 maybe-configure-libtermcap:
18447 configure-libtermcap:
18448 @test ! -f libtermcap/Makefile || exit 0; \
18449 [ -d libtermcap ] || mkdir libtermcap; \
18450 r=`${PWD_COMMAND}`; export r; \
18451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18452 CC="$(CC)"; export CC; \
18453 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18454 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
18455 CXX="$(CXX)"; export CXX; \
18456 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18457 AR="$(AR)"; export AR; \
18458 AS="$(AS)"; export AS; \
18459 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18460 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18461 LD="$(LD)"; export LD; \
18462 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
18463 NM="$(NM)"; export NM; \
18464 RANLIB="$(RANLIB)"; export RANLIB; \
18465 WINDRES="$(WINDRES)"; export WINDRES; \
18466 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18467 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18468 echo Configuring in libtermcap; \
18469 cd libtermcap || exit 1; \
18470 case $(srcdir) in \
18472 srcdiroption="--srcdir=."; \
18474 /* | [A-Za-z]:[\\/]*) \
18475 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
18476 libsrcdir="$$s/libtermcap";; \
18478 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
18479 libsrcdir="$$s/libtermcap";; \
18481 $(SHELL) $${libsrcdir}/configure \
18482 $(HOST_CONFIGARGS) $${srcdiroption} \
18485 .PHONY: all-libtermcap maybe-all-libtermcap
18486 maybe-all-libtermcap:
18487 all-libtermcap: configure-libtermcap
18488 @r=`${PWD_COMMAND}`; export r; \
18489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18491 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) all)
18493 .PHONY: check-libtermcap maybe-check-libtermcap
18494 maybe-check-libtermcap:
18499 .PHONY: install-libtermcap maybe-install-libtermcap
18500 maybe-install-libtermcap:
18502 install-libtermcap: installdirs
18503 @r=`${PWD_COMMAND}`; export r; \
18504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18506 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
18509 # Other targets (info, dvi, etc.)
18511 .PHONY: maybe-info-libtermcap info-libtermcap
18512 maybe-info-libtermcap:
18515 configure-libtermcap
18516 @[ -f ./libtermcap/Makefile ] || exit 0; \
18517 r=`${PWD_COMMAND}`; export r; \
18518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18520 for flag in $(EXTRA_HOST_FLAGS); do \
18521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18523 echo "Doing info in libtermcap" ; \
18524 (cd libtermcap && \
18525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18527 "RANLIB=$${RANLIB}" \
18528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18533 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
18534 maybe-dvi-libtermcap:
18537 configure-libtermcap
18538 @[ -f ./libtermcap/Makefile ] || exit 0; \
18539 r=`${PWD_COMMAND}`; export r; \
18540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18542 for flag in $(EXTRA_HOST_FLAGS); do \
18543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18545 echo "Doing dvi in libtermcap" ; \
18546 (cd libtermcap && \
18547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18549 "RANLIB=$${RANLIB}" \
18550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18555 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
18556 maybe-TAGS-libtermcap:
18559 configure-libtermcap
18560 @[ -f ./libtermcap/Makefile ] || exit 0; \
18561 r=`${PWD_COMMAND}`; export r; \
18562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18564 for flag in $(EXTRA_HOST_FLAGS); do \
18565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18567 echo "Doing TAGS in libtermcap" ; \
18568 (cd libtermcap && \
18569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18571 "RANLIB=$${RANLIB}" \
18572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18577 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
18578 maybe-install-info-libtermcap:
18580 install-info-libtermcap: \
18581 configure-libtermcap \
18583 @[ -f ./libtermcap/Makefile ] || exit 0; \
18584 r=`${PWD_COMMAND}`; export r; \
18585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18587 for flag in $(EXTRA_HOST_FLAGS); do \
18588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18590 echo "Doing install-info in libtermcap" ; \
18591 (cd libtermcap && \
18592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18594 "RANLIB=$${RANLIB}" \
18595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18600 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
18601 maybe-installcheck-libtermcap:
18603 installcheck-libtermcap: \
18604 configure-libtermcap
18605 @[ -f ./libtermcap/Makefile ] || exit 0; \
18606 r=`${PWD_COMMAND}`; export r; \
18607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18609 for flag in $(EXTRA_HOST_FLAGS); do \
18610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18612 echo "Doing installcheck in libtermcap" ; \
18613 (cd libtermcap && \
18614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18616 "RANLIB=$${RANLIB}" \
18617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18622 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
18623 maybe-mostlyclean-libtermcap:
18625 # libtermcap doesn't support mostlyclean.
18626 mostlyclean-libtermcap:
18629 .PHONY: maybe-clean-libtermcap clean-libtermcap
18630 maybe-clean-libtermcap:
18632 # libtermcap doesn't support clean.
18636 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
18637 maybe-distclean-libtermcap:
18639 # libtermcap doesn't support distclean.
18640 distclean-libtermcap:
18643 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
18644 maybe-maintainer-clean-libtermcap:
18646 # libtermcap doesn't support maintainer-clean.
18647 maintainer-clean-libtermcap:
18651 .PHONY: configure-utils maybe-configure-utils
18652 maybe-configure-utils:
18654 @test ! -f utils/Makefile || exit 0; \
18655 [ -d utils ] || mkdir utils; \
18656 r=`${PWD_COMMAND}`; export r; \
18657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18658 CC="$(CC)"; export CC; \
18659 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18660 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
18661 CXX="$(CXX)"; export CXX; \
18662 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18663 AR="$(AR)"; export AR; \
18664 AS="$(AS)"; export AS; \
18665 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18666 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18667 LD="$(LD)"; export LD; \
18668 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
18669 NM="$(NM)"; export NM; \
18670 RANLIB="$(RANLIB)"; export RANLIB; \
18671 WINDRES="$(WINDRES)"; export WINDRES; \
18672 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18673 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18674 echo Configuring in utils; \
18675 cd utils || exit 1; \
18676 case $(srcdir) in \
18678 srcdiroption="--srcdir=."; \
18680 /* | [A-Za-z]:[\\/]*) \
18681 srcdiroption="--srcdir=$(srcdir)/utils"; \
18682 libsrcdir="$$s/utils";; \
18684 srcdiroption="--srcdir=../$(srcdir)/utils"; \
18685 libsrcdir="$$s/utils";; \
18687 $(SHELL) $${libsrcdir}/configure \
18688 $(HOST_CONFIGARGS) $${srcdiroption} \
18691 .PHONY: all-utils maybe-all-utils
18693 all-utils: configure-utils
18694 @r=`${PWD_COMMAND}`; export r; \
18695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18697 (cd utils && $(MAKE) $(FLAGS_TO_PASS) all)
18699 .PHONY: check-utils maybe-check-utils
18705 .PHONY: install-utils maybe-install-utils
18706 maybe-install-utils:
18708 install-utils: installdirs
18709 @r=`${PWD_COMMAND}`; export r; \
18710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18712 (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
18715 # Other targets (info, dvi, etc.)
18717 .PHONY: maybe-info-utils info-utils
18722 @[ -f ./utils/Makefile ] || exit 0; \
18723 r=`${PWD_COMMAND}`; export r; \
18724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18726 for flag in $(EXTRA_HOST_FLAGS); do \
18727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18729 echo "Doing info in utils" ; \
18731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18733 "RANLIB=$${RANLIB}" \
18734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18739 .PHONY: maybe-dvi-utils dvi-utils
18744 @[ -f ./utils/Makefile ] || exit 0; \
18745 r=`${PWD_COMMAND}`; export r; \
18746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18748 for flag in $(EXTRA_HOST_FLAGS); do \
18749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18751 echo "Doing dvi in utils" ; \
18753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18755 "RANLIB=$${RANLIB}" \
18756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18761 .PHONY: maybe-TAGS-utils TAGS-utils
18766 @[ -f ./utils/Makefile ] || exit 0; \
18767 r=`${PWD_COMMAND}`; export r; \
18768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18770 for flag in $(EXTRA_HOST_FLAGS); do \
18771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18773 echo "Doing TAGS in utils" ; \
18775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18777 "RANLIB=$${RANLIB}" \
18778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18783 .PHONY: maybe-install-info-utils install-info-utils
18784 maybe-install-info-utils:
18786 install-info-utils: \
18789 @[ -f ./utils/Makefile ] || exit 0; \
18790 r=`${PWD_COMMAND}`; export r; \
18791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18793 for flag in $(EXTRA_HOST_FLAGS); do \
18794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18796 echo "Doing install-info in utils" ; \
18798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18800 "RANLIB=$${RANLIB}" \
18801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18806 .PHONY: maybe-installcheck-utils installcheck-utils
18807 maybe-installcheck-utils:
18809 installcheck-utils: \
18811 @[ -f ./utils/Makefile ] || exit 0; \
18812 r=`${PWD_COMMAND}`; export r; \
18813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18815 for flag in $(EXTRA_HOST_FLAGS); do \
18816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18818 echo "Doing installcheck in utils" ; \
18820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18822 "RANLIB=$${RANLIB}" \
18823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18828 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
18829 maybe-mostlyclean-utils:
18832 @[ -f ./utils/Makefile ] || exit 0; \
18833 r=`${PWD_COMMAND}`; export r; \
18834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18836 for flag in $(EXTRA_HOST_FLAGS); do \
18837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18839 echo "Doing mostlyclean in utils" ; \
18841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18843 "RANLIB=$${RANLIB}" \
18844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18849 .PHONY: maybe-clean-utils clean-utils
18853 @[ -f ./utils/Makefile ] || exit 0; \
18854 r=`${PWD_COMMAND}`; export r; \
18855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18857 for flag in $(EXTRA_HOST_FLAGS); do \
18858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18860 echo "Doing clean in utils" ; \
18862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18864 "RANLIB=$${RANLIB}" \
18865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18870 .PHONY: maybe-distclean-utils distclean-utils
18871 maybe-distclean-utils:
18874 @[ -f ./utils/Makefile ] || exit 0; \
18875 r=`${PWD_COMMAND}`; export r; \
18876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18878 for flag in $(EXTRA_HOST_FLAGS); do \
18879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18881 echo "Doing distclean in utils" ; \
18883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18885 "RANLIB=$${RANLIB}" \
18886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18891 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
18892 maybe-maintainer-clean-utils:
18894 maintainer-clean-utils:
18895 @[ -f ./utils/Makefile ] || exit 0; \
18896 r=`${PWD_COMMAND}`; export r; \
18897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18899 for flag in $(EXTRA_HOST_FLAGS); do \
18900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18902 echo "Doing maintainer-clean in utils" ; \
18904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18906 "RANLIB=$${RANLIB}" \
18907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18908 maintainer-clean) \
18914 # ---------------------------------------
18915 # Modules which run on the target machine
18916 # ---------------------------------------
18918 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
18919 maybe-configure-target-libstdc++-v3:
18921 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
18922 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
18923 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
18924 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
18925 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
18927 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
18928 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
18929 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
18930 r=`${PWD_COMMAND}`; export r; \
18931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18933 AR="$(AR_FOR_TARGET)"; export AR; \
18934 AS="$(AS_FOR_TARGET)"; export AS; \
18935 CC="$(CC_FOR_TARGET)"; export CC; \
18936 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
18937 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
18938 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
18939 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
18940 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \
18941 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
18942 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
18943 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
18944 LD="$(LD_FOR_TARGET)"; export LD; \
18945 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
18946 NM="$(NM_FOR_TARGET)"; export NM; \
18947 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
18948 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
18949 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
18950 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
18951 case $(srcdir) in \
18952 /* | [A-Za-z]:[\\/]*) \
18953 topdir=$(srcdir) ;; \
18955 case "$(TARGET_SUBDIR)" in \
18956 .) topdir="../$(srcdir)" ;; \
18957 *) topdir="../../$(srcdir)" ;; \
18960 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
18961 libsrcdir="$$s/libstdc++-v3"; \
18962 rm -f no-such-file || : ; \
18963 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
18964 $(TARGET_CONFIGARGS) $${srcdiroption} \
18965 --with-target-subdir="$(TARGET_SUBDIR)" \
18968 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
18969 maybe-all-target-libstdc++-v3:
18970 all-target-libstdc++-v3: configure-target-libstdc++-v3
18971 @r=`${PWD_COMMAND}`; export r; \
18972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18974 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
18975 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
18977 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
18978 maybe-check-target-libstdc++-v3:
18980 check-target-libstdc++-v3:
18981 @r=`${PWD_COMMAND}`; export r; \
18982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18984 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
18985 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
18988 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
18989 maybe-install-target-libstdc++-v3:
18991 install-target-libstdc++-v3: installdirs
18992 @r=`${PWD_COMMAND}`; export r; \
18993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18995 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
18996 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
18999 # Other targets (info, dvi, etc.)
19001 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
19002 maybe-info-target-libstdc++-v3:
19004 info-target-libstdc++-v3: \
19005 configure-target-libstdc++-v3
19006 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19007 r=`${PWD_COMMAND}`; export r; \
19008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19010 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19011 for flag in $(EXTRA_TARGET_FLAGS); do \
19012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19014 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19017 "RANLIB=$${RANLIB}" \
19018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19023 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
19024 maybe-dvi-target-libstdc++-v3:
19026 dvi-target-libstdc++-v3: \
19027 configure-target-libstdc++-v3
19028 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19029 r=`${PWD_COMMAND}`; export r; \
19030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19032 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19033 for flag in $(EXTRA_TARGET_FLAGS); do \
19034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19036 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19039 "RANLIB=$${RANLIB}" \
19040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19045 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
19046 maybe-TAGS-target-libstdc++-v3:
19048 TAGS-target-libstdc++-v3: \
19049 configure-target-libstdc++-v3
19050 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19051 r=`${PWD_COMMAND}`; export r; \
19052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19054 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19055 for flag in $(EXTRA_TARGET_FLAGS); do \
19056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19058 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19061 "RANLIB=$${RANLIB}" \
19062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19067 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
19068 maybe-install-info-target-libstdc++-v3:
19070 install-info-target-libstdc++-v3: \
19071 configure-target-libstdc++-v3 \
19072 info-target-libstdc++-v3
19073 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19074 r=`${PWD_COMMAND}`; export r; \
19075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19077 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19078 for flag in $(EXTRA_TARGET_FLAGS); do \
19079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19081 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19084 "RANLIB=$${RANLIB}" \
19085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19090 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
19091 maybe-installcheck-target-libstdc++-v3:
19093 installcheck-target-libstdc++-v3: \
19094 configure-target-libstdc++-v3
19095 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19096 r=`${PWD_COMMAND}`; export r; \
19097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19099 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19100 for flag in $(EXTRA_TARGET_FLAGS); do \
19101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19103 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19106 "RANLIB=$${RANLIB}" \
19107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19112 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
19113 maybe-mostlyclean-target-libstdc++-v3:
19115 mostlyclean-target-libstdc++-v3:
19116 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19117 r=`${PWD_COMMAND}`; export r; \
19118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19120 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19121 for flag in $(EXTRA_TARGET_FLAGS); do \
19122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19124 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19127 "RANLIB=$${RANLIB}" \
19128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19133 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
19134 maybe-clean-target-libstdc++-v3:
19136 clean-target-libstdc++-v3:
19137 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19138 r=`${PWD_COMMAND}`; export r; \
19139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19141 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19142 for flag in $(EXTRA_TARGET_FLAGS); do \
19143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19145 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19148 "RANLIB=$${RANLIB}" \
19149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19154 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
19155 maybe-distclean-target-libstdc++-v3:
19157 distclean-target-libstdc++-v3:
19158 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19159 r=`${PWD_COMMAND}`; export r; \
19160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19162 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19163 for flag in $(EXTRA_TARGET_FLAGS); do \
19164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19166 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19169 "RANLIB=$${RANLIB}" \
19170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19175 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
19176 maybe-maintainer-clean-target-libstdc++-v3:
19178 maintainer-clean-target-libstdc++-v3:
19179 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19180 r=`${PWD_COMMAND}`; export r; \
19181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19183 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19184 for flag in $(EXTRA_TARGET_FLAGS); do \
19185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19187 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19190 "RANLIB=$${RANLIB}" \
19191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19192 maintainer-clean) \
19197 .PHONY: configure-target-newlib maybe-configure-target-newlib
19198 maybe-configure-target-newlib:
19200 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
19201 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
19202 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
19203 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
19204 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
19206 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
19207 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
19208 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
19209 r=`${PWD_COMMAND}`; export r; \
19210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19212 AR="$(AR_FOR_TARGET)"; export AR; \
19213 AS="$(AS_FOR_TARGET)"; export AS; \
19214 CC="$(CC_FOR_TARGET)"; export CC; \
19215 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
19216 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
19217 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
19218 CXX="$(CXX_FOR_TARGET)"; export CXX; \
19219 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
19220 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
19221 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
19222 LD="$(LD_FOR_TARGET)"; export LD; \
19223 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
19224 NM="$(NM_FOR_TARGET)"; export NM; \
19225 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
19226 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
19227 echo Configuring in $(TARGET_SUBDIR)/newlib; \
19228 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
19229 case $(srcdir) in \
19230 /* | [A-Za-z]:[\\/]*) \
19231 topdir=$(srcdir) ;; \
19233 case "$(TARGET_SUBDIR)" in \
19234 .) topdir="../$(srcdir)" ;; \
19235 *) topdir="../../$(srcdir)" ;; \
19238 srcdiroption="--srcdir=$${topdir}/newlib"; \
19239 libsrcdir="$$s/newlib"; \
19240 rm -f no-such-file || : ; \
19241 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
19242 $(TARGET_CONFIGARGS) $${srcdiroption} \
19243 --with-target-subdir="$(TARGET_SUBDIR)" \
19246 .PHONY: all-target-newlib maybe-all-target-newlib
19247 maybe-all-target-newlib:
19248 all-target-newlib: configure-target-newlib
19249 @r=`${PWD_COMMAND}`; export r; \
19250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19252 (cd $(TARGET_SUBDIR)/newlib && \
19253 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
19255 .PHONY: check-target-newlib maybe-check-target-newlib
19256 maybe-check-target-newlib:
19258 check-target-newlib:
19259 @r=`${PWD_COMMAND}`; export r; \
19260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19262 (cd $(TARGET_SUBDIR)/newlib && \
19263 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
19266 .PHONY: install-target-newlib maybe-install-target-newlib
19267 maybe-install-target-newlib:
19269 install-target-newlib: installdirs
19270 @r=`${PWD_COMMAND}`; export r; \
19271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19273 (cd $(TARGET_SUBDIR)/newlib && \
19274 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
19277 # Other targets (info, dvi, etc.)
19279 .PHONY: maybe-info-target-newlib info-target-newlib
19280 maybe-info-target-newlib:
19282 info-target-newlib: \
19283 configure-target-newlib
19284 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19285 r=`${PWD_COMMAND}`; export r; \
19286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19288 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
19289 for flag in $(EXTRA_TARGET_FLAGS); do \
19290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19292 (cd $(TARGET_SUBDIR)/newlib && \
19293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19295 "RANLIB=$${RANLIB}" \
19296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19301 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
19302 maybe-dvi-target-newlib:
19304 dvi-target-newlib: \
19305 configure-target-newlib
19306 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19307 r=`${PWD_COMMAND}`; export r; \
19308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19310 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
19311 for flag in $(EXTRA_TARGET_FLAGS); do \
19312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19314 (cd $(TARGET_SUBDIR)/newlib && \
19315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19317 "RANLIB=$${RANLIB}" \
19318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19323 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
19324 maybe-TAGS-target-newlib:
19326 TAGS-target-newlib: \
19327 configure-target-newlib
19328 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19329 r=`${PWD_COMMAND}`; export r; \
19330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19332 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
19333 for flag in $(EXTRA_TARGET_FLAGS); do \
19334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19336 (cd $(TARGET_SUBDIR)/newlib && \
19337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19339 "RANLIB=$${RANLIB}" \
19340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19345 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
19346 maybe-install-info-target-newlib:
19348 install-info-target-newlib: \
19349 configure-target-newlib \
19351 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19352 r=`${PWD_COMMAND}`; export r; \
19353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19355 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
19356 for flag in $(EXTRA_TARGET_FLAGS); do \
19357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19359 (cd $(TARGET_SUBDIR)/newlib && \
19360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19362 "RANLIB=$${RANLIB}" \
19363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19368 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
19369 maybe-installcheck-target-newlib:
19371 installcheck-target-newlib: \
19372 configure-target-newlib
19373 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19374 r=`${PWD_COMMAND}`; export r; \
19375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19377 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
19378 for flag in $(EXTRA_TARGET_FLAGS); do \
19379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19381 (cd $(TARGET_SUBDIR)/newlib && \
19382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19384 "RANLIB=$${RANLIB}" \
19385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19390 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
19391 maybe-mostlyclean-target-newlib:
19393 mostlyclean-target-newlib:
19394 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19395 r=`${PWD_COMMAND}`; export r; \
19396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19398 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
19399 for flag in $(EXTRA_TARGET_FLAGS); do \
19400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19402 (cd $(TARGET_SUBDIR)/newlib && \
19403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19405 "RANLIB=$${RANLIB}" \
19406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19411 .PHONY: maybe-clean-target-newlib clean-target-newlib
19412 maybe-clean-target-newlib:
19414 clean-target-newlib:
19415 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19416 r=`${PWD_COMMAND}`; export r; \
19417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19419 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
19420 for flag in $(EXTRA_TARGET_FLAGS); do \
19421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19423 (cd $(TARGET_SUBDIR)/newlib && \
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}" \
19432 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
19433 maybe-distclean-target-newlib:
19435 distclean-target-newlib:
19436 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19437 r=`${PWD_COMMAND}`; export r; \
19438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19440 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
19441 for flag in $(EXTRA_TARGET_FLAGS); do \
19442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19444 (cd $(TARGET_SUBDIR)/newlib && \
19445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19447 "RANLIB=$${RANLIB}" \
19448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19453 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
19454 maybe-maintainer-clean-target-newlib:
19456 maintainer-clean-target-newlib:
19457 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19458 r=`${PWD_COMMAND}`; export r; \
19459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19461 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
19462 for flag in $(EXTRA_TARGET_FLAGS); do \
19463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19465 (cd $(TARGET_SUBDIR)/newlib && \
19466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19468 "RANLIB=$${RANLIB}" \
19469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19470 maintainer-clean) \
19475 .PHONY: configure-target-libf2c maybe-configure-target-libf2c
19476 maybe-configure-target-libf2c:
19478 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
19479 $(TARGET_SUBDIR)/libf2c/multilib.out: multilib.out
19480 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libf2c ; \
19481 rm -f $(TARGET_SUBDIR)/libf2c/Makefile || : ; \
19482 cp multilib.out $(TARGET_SUBDIR)/libf2c/multilib.out
19484 configure-target-libf2c: $(TARGET_SUBDIR)/libf2c/multilib.out
19485 @test ! -f $(TARGET_SUBDIR)/libf2c/Makefile || exit 0; \
19486 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libf2c ; \
19487 r=`${PWD_COMMAND}`; export r; \
19488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19490 AR="$(AR_FOR_TARGET)"; export AR; \
19491 AS="$(AS_FOR_TARGET)"; export AS; \
19492 CC="$(CC_FOR_TARGET)"; export CC; \
19493 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
19494 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
19495 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
19496 CXX="$(CXX_FOR_TARGET)"; export CXX; \
19497 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
19498 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
19499 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
19500 LD="$(LD_FOR_TARGET)"; export LD; \
19501 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
19502 NM="$(NM_FOR_TARGET)"; export NM; \
19503 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
19504 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
19505 echo Configuring in $(TARGET_SUBDIR)/libf2c; \
19506 cd "$(TARGET_SUBDIR)/libf2c" || exit 1; \
19507 case $(srcdir) in \
19508 /* | [A-Za-z]:[\\/]*) \
19509 topdir=$(srcdir) ;; \
19511 case "$(TARGET_SUBDIR)" in \
19512 .) topdir="../$(srcdir)" ;; \
19513 *) topdir="../../$(srcdir)" ;; \
19516 srcdiroption="--srcdir=$${topdir}/libf2c"; \
19517 libsrcdir="$$s/libf2c"; \
19518 rm -f no-such-file || : ; \
19519 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
19520 $(TARGET_CONFIGARGS) $${srcdiroption} \
19521 --with-target-subdir="$(TARGET_SUBDIR)" \
19524 .PHONY: all-target-libf2c maybe-all-target-libf2c
19525 maybe-all-target-libf2c:
19526 all-target-libf2c: configure-target-libf2c
19527 @r=`${PWD_COMMAND}`; export r; \
19528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19530 (cd $(TARGET_SUBDIR)/libf2c && \
19531 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
19533 .PHONY: check-target-libf2c maybe-check-target-libf2c
19534 maybe-check-target-libf2c:
19536 check-target-libf2c:
19537 @r=`${PWD_COMMAND}`; export r; \
19538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19540 (cd $(TARGET_SUBDIR)/libf2c && \
19541 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
19544 .PHONY: install-target-libf2c maybe-install-target-libf2c
19545 maybe-install-target-libf2c:
19547 install-target-libf2c: installdirs
19548 @r=`${PWD_COMMAND}`; export r; \
19549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19551 (cd $(TARGET_SUBDIR)/libf2c && \
19552 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
19555 # Other targets (info, dvi, etc.)
19557 .PHONY: maybe-info-target-libf2c info-target-libf2c
19558 maybe-info-target-libf2c:
19560 info-target-libf2c: \
19561 configure-target-libf2c
19562 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
19563 r=`${PWD_COMMAND}`; export r; \
19564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19566 echo "Doing info in $(TARGET_SUBDIR)/libf2c" ; \
19567 for flag in $(EXTRA_TARGET_FLAGS); do \
19568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19570 (cd $(TARGET_SUBDIR)/libf2c && \
19571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19573 "RANLIB=$${RANLIB}" \
19574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19579 .PHONY: maybe-dvi-target-libf2c dvi-target-libf2c
19580 maybe-dvi-target-libf2c:
19582 dvi-target-libf2c: \
19583 configure-target-libf2c
19584 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
19585 r=`${PWD_COMMAND}`; export r; \
19586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19588 echo "Doing dvi in $(TARGET_SUBDIR)/libf2c" ; \
19589 for flag in $(EXTRA_TARGET_FLAGS); do \
19590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19592 (cd $(TARGET_SUBDIR)/libf2c && \
19593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19595 "RANLIB=$${RANLIB}" \
19596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19601 .PHONY: maybe-TAGS-target-libf2c TAGS-target-libf2c
19602 maybe-TAGS-target-libf2c:
19604 TAGS-target-libf2c: \
19605 configure-target-libf2c
19606 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
19607 r=`${PWD_COMMAND}`; export r; \
19608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19610 echo "Doing TAGS in $(TARGET_SUBDIR)/libf2c" ; \
19611 for flag in $(EXTRA_TARGET_FLAGS); do \
19612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19614 (cd $(TARGET_SUBDIR)/libf2c && \
19615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19617 "RANLIB=$${RANLIB}" \
19618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19623 .PHONY: maybe-install-info-target-libf2c install-info-target-libf2c
19624 maybe-install-info-target-libf2c:
19626 install-info-target-libf2c: \
19627 configure-target-libf2c \
19629 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
19630 r=`${PWD_COMMAND}`; export r; \
19631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19633 echo "Doing install-info in $(TARGET_SUBDIR)/libf2c" ; \
19634 for flag in $(EXTRA_TARGET_FLAGS); do \
19635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19637 (cd $(TARGET_SUBDIR)/libf2c && \
19638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19640 "RANLIB=$${RANLIB}" \
19641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19646 .PHONY: maybe-installcheck-target-libf2c installcheck-target-libf2c
19647 maybe-installcheck-target-libf2c:
19649 installcheck-target-libf2c: \
19650 configure-target-libf2c
19651 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
19652 r=`${PWD_COMMAND}`; export r; \
19653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19655 echo "Doing installcheck in $(TARGET_SUBDIR)/libf2c" ; \
19656 for flag in $(EXTRA_TARGET_FLAGS); do \
19657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19659 (cd $(TARGET_SUBDIR)/libf2c && \
19660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19662 "RANLIB=$${RANLIB}" \
19663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19668 .PHONY: maybe-mostlyclean-target-libf2c mostlyclean-target-libf2c
19669 maybe-mostlyclean-target-libf2c:
19671 mostlyclean-target-libf2c:
19672 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
19673 r=`${PWD_COMMAND}`; export r; \
19674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19676 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libf2c" ; \
19677 for flag in $(EXTRA_TARGET_FLAGS); do \
19678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19680 (cd $(TARGET_SUBDIR)/libf2c && \
19681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19683 "RANLIB=$${RANLIB}" \
19684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19689 .PHONY: maybe-clean-target-libf2c clean-target-libf2c
19690 maybe-clean-target-libf2c:
19692 clean-target-libf2c:
19693 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
19694 r=`${PWD_COMMAND}`; export r; \
19695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19697 echo "Doing clean in $(TARGET_SUBDIR)/libf2c" ; \
19698 for flag in $(EXTRA_TARGET_FLAGS); do \
19699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19701 (cd $(TARGET_SUBDIR)/libf2c && \
19702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19704 "RANLIB=$${RANLIB}" \
19705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19710 .PHONY: maybe-distclean-target-libf2c distclean-target-libf2c
19711 maybe-distclean-target-libf2c:
19713 distclean-target-libf2c:
19714 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
19715 r=`${PWD_COMMAND}`; export r; \
19716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19718 echo "Doing distclean in $(TARGET_SUBDIR)/libf2c" ; \
19719 for flag in $(EXTRA_TARGET_FLAGS); do \
19720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19722 (cd $(TARGET_SUBDIR)/libf2c && \
19723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19725 "RANLIB=$${RANLIB}" \
19726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19731 .PHONY: maybe-maintainer-clean-target-libf2c maintainer-clean-target-libf2c
19732 maybe-maintainer-clean-target-libf2c:
19734 maintainer-clean-target-libf2c:
19735 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
19736 r=`${PWD_COMMAND}`; export r; \
19737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19739 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libf2c" ; \
19740 for flag in $(EXTRA_TARGET_FLAGS); do \
19741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19743 (cd $(TARGET_SUBDIR)/libf2c && \
19744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19746 "RANLIB=$${RANLIB}" \
19747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19748 maintainer-clean) \
19753 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
19754 maybe-configure-target-libobjc:
19756 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
19757 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
19758 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
19759 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
19760 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
19762 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
19763 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
19764 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
19765 r=`${PWD_COMMAND}`; export r; \
19766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19768 AR="$(AR_FOR_TARGET)"; export AR; \
19769 AS="$(AS_FOR_TARGET)"; export AS; \
19770 CC="$(CC_FOR_TARGET)"; export CC; \
19771 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
19772 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
19773 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
19774 CXX="$(CXX_FOR_TARGET)"; export CXX; \
19775 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
19776 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
19777 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
19778 LD="$(LD_FOR_TARGET)"; export LD; \
19779 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
19780 NM="$(NM_FOR_TARGET)"; export NM; \
19781 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
19782 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
19783 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
19784 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
19785 case $(srcdir) in \
19786 /* | [A-Za-z]:[\\/]*) \
19787 topdir=$(srcdir) ;; \
19789 case "$(TARGET_SUBDIR)" in \
19790 .) topdir="../$(srcdir)" ;; \
19791 *) topdir="../../$(srcdir)" ;; \
19794 srcdiroption="--srcdir=$${topdir}/libobjc"; \
19795 libsrcdir="$$s/libobjc"; \
19796 rm -f no-such-file || : ; \
19797 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
19798 $(TARGET_CONFIGARGS) $${srcdiroption} \
19799 --with-target-subdir="$(TARGET_SUBDIR)" \
19802 .PHONY: all-target-libobjc maybe-all-target-libobjc
19803 maybe-all-target-libobjc:
19804 all-target-libobjc: configure-target-libobjc
19805 @r=`${PWD_COMMAND}`; export r; \
19806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19808 (cd $(TARGET_SUBDIR)/libobjc && \
19809 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
19811 .PHONY: check-target-libobjc maybe-check-target-libobjc
19812 maybe-check-target-libobjc:
19814 check-target-libobjc:
19815 @r=`${PWD_COMMAND}`; export r; \
19816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19818 (cd $(TARGET_SUBDIR)/libobjc && \
19819 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
19822 .PHONY: install-target-libobjc maybe-install-target-libobjc
19823 maybe-install-target-libobjc:
19825 install-target-libobjc: installdirs
19826 @r=`${PWD_COMMAND}`; export r; \
19827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19829 (cd $(TARGET_SUBDIR)/libobjc && \
19830 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
19833 # Other targets (info, dvi, etc.)
19835 .PHONY: maybe-info-target-libobjc info-target-libobjc
19836 maybe-info-target-libobjc:
19838 info-target-libobjc: \
19839 configure-target-libobjc
19840 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
19841 r=`${PWD_COMMAND}`; export r; \
19842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19844 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
19845 for flag in $(EXTRA_TARGET_FLAGS); do \
19846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19848 (cd $(TARGET_SUBDIR)/libobjc && \
19849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19851 "RANLIB=$${RANLIB}" \
19852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19857 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
19858 maybe-dvi-target-libobjc:
19860 dvi-target-libobjc: \
19861 configure-target-libobjc
19862 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
19863 r=`${PWD_COMMAND}`; export r; \
19864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19866 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
19867 for flag in $(EXTRA_TARGET_FLAGS); do \
19868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19870 (cd $(TARGET_SUBDIR)/libobjc && \
19871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19873 "RANLIB=$${RANLIB}" \
19874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19879 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
19880 maybe-TAGS-target-libobjc:
19882 TAGS-target-libobjc: \
19883 configure-target-libobjc
19884 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
19885 r=`${PWD_COMMAND}`; export r; \
19886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19888 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
19889 for flag in $(EXTRA_TARGET_FLAGS); do \
19890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19892 (cd $(TARGET_SUBDIR)/libobjc && \
19893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19895 "RANLIB=$${RANLIB}" \
19896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19901 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
19902 maybe-install-info-target-libobjc:
19904 install-info-target-libobjc: \
19905 configure-target-libobjc \
19906 info-target-libobjc
19907 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
19908 r=`${PWD_COMMAND}`; export r; \
19909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19911 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
19912 for flag in $(EXTRA_TARGET_FLAGS); do \
19913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19915 (cd $(TARGET_SUBDIR)/libobjc && \
19916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19918 "RANLIB=$${RANLIB}" \
19919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19924 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
19925 maybe-installcheck-target-libobjc:
19927 installcheck-target-libobjc: \
19928 configure-target-libobjc
19929 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
19930 r=`${PWD_COMMAND}`; export r; \
19931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19933 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
19934 for flag in $(EXTRA_TARGET_FLAGS); do \
19935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19937 (cd $(TARGET_SUBDIR)/libobjc && \
19938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19940 "RANLIB=$${RANLIB}" \
19941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19946 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
19947 maybe-mostlyclean-target-libobjc:
19949 mostlyclean-target-libobjc:
19950 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
19951 r=`${PWD_COMMAND}`; export r; \
19952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19954 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
19955 for flag in $(EXTRA_TARGET_FLAGS); do \
19956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19958 (cd $(TARGET_SUBDIR)/libobjc && \
19959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19961 "RANLIB=$${RANLIB}" \
19962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19967 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
19968 maybe-clean-target-libobjc:
19970 clean-target-libobjc:
19971 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
19972 r=`${PWD_COMMAND}`; export r; \
19973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19975 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
19976 for flag in $(EXTRA_TARGET_FLAGS); do \
19977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19979 (cd $(TARGET_SUBDIR)/libobjc && \
19980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19982 "RANLIB=$${RANLIB}" \
19983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19988 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
19989 maybe-distclean-target-libobjc:
19991 distclean-target-libobjc:
19992 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
19993 r=`${PWD_COMMAND}`; export r; \
19994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19996 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
19997 for flag in $(EXTRA_TARGET_FLAGS); do \
19998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20000 (cd $(TARGET_SUBDIR)/libobjc && \
20001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20003 "RANLIB=$${RANLIB}" \
20004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20009 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
20010 maybe-maintainer-clean-target-libobjc:
20012 maintainer-clean-target-libobjc:
20013 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
20014 r=`${PWD_COMMAND}`; export r; \
20015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20017 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
20018 for flag in $(EXTRA_TARGET_FLAGS); do \
20019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20021 (cd $(TARGET_SUBDIR)/libobjc && \
20022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20024 "RANLIB=$${RANLIB}" \
20025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20026 maintainer-clean) \
20031 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
20032 maybe-configure-target-libtermcap:
20034 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
20035 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
20036 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
20037 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
20038 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
20040 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
20041 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
20042 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
20043 r=`${PWD_COMMAND}`; export r; \
20044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20046 AR="$(AR_FOR_TARGET)"; export AR; \
20047 AS="$(AS_FOR_TARGET)"; export AS; \
20048 CC="$(CC_FOR_TARGET)"; export CC; \
20049 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
20050 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
20051 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
20052 CXX="$(CXX_FOR_TARGET)"; export CXX; \
20053 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
20054 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
20055 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
20056 LD="$(LD_FOR_TARGET)"; export LD; \
20057 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
20058 NM="$(NM_FOR_TARGET)"; export NM; \
20059 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
20060 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
20061 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
20062 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
20063 case $(srcdir) in \
20064 /* | [A-Za-z]:[\\/]*) \
20065 topdir=$(srcdir) ;; \
20067 case "$(TARGET_SUBDIR)" in \
20068 .) topdir="../$(srcdir)" ;; \
20069 *) topdir="../../$(srcdir)" ;; \
20072 if [ "$(srcdir)" = "." ] ; then \
20073 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
20074 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
20075 if [ -f Makefile ]; then \
20076 if $(MAKE) distclean; then \
20090 srcdiroption="--srcdir=."; \
20093 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
20094 libsrcdir="$$s/libtermcap"; \
20096 rm -f no-such-file || : ; \
20097 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
20098 $(TARGET_CONFIGARGS) $${srcdiroption} \
20099 --with-target-subdir="$(TARGET_SUBDIR)" \
20102 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
20103 maybe-all-target-libtermcap:
20104 all-target-libtermcap: configure-target-libtermcap
20105 @r=`${PWD_COMMAND}`; export r; \
20106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20108 (cd $(TARGET_SUBDIR)/libtermcap && \
20109 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
20111 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
20112 maybe-check-target-libtermcap:
20114 # Dummy target for uncheckable module.
20115 check-target-libtermcap:
20118 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
20119 maybe-install-target-libtermcap:
20121 install-target-libtermcap: installdirs
20122 @r=`${PWD_COMMAND}`; export r; \
20123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20125 (cd $(TARGET_SUBDIR)/libtermcap && \
20126 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
20129 # Other targets (info, dvi, etc.)
20131 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
20132 maybe-info-target-libtermcap:
20134 info-target-libtermcap: \
20135 configure-target-libtermcap
20136 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
20137 r=`${PWD_COMMAND}`; export r; \
20138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20140 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
20141 for flag in $(EXTRA_TARGET_FLAGS); do \
20142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20144 (cd $(TARGET_SUBDIR)/libtermcap && \
20145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20147 "RANLIB=$${RANLIB}" \
20148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20153 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
20154 maybe-dvi-target-libtermcap:
20156 dvi-target-libtermcap: \
20157 configure-target-libtermcap
20158 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
20159 r=`${PWD_COMMAND}`; export r; \
20160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20162 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
20163 for flag in $(EXTRA_TARGET_FLAGS); do \
20164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20166 (cd $(TARGET_SUBDIR)/libtermcap && \
20167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20169 "RANLIB=$${RANLIB}" \
20170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20175 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
20176 maybe-TAGS-target-libtermcap:
20178 TAGS-target-libtermcap: \
20179 configure-target-libtermcap
20180 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
20181 r=`${PWD_COMMAND}`; export r; \
20182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20184 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
20185 for flag in $(EXTRA_TARGET_FLAGS); do \
20186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20188 (cd $(TARGET_SUBDIR)/libtermcap && \
20189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20191 "RANLIB=$${RANLIB}" \
20192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20197 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
20198 maybe-install-info-target-libtermcap:
20200 install-info-target-libtermcap: \
20201 configure-target-libtermcap \
20202 info-target-libtermcap
20203 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
20204 r=`${PWD_COMMAND}`; export r; \
20205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20207 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
20208 for flag in $(EXTRA_TARGET_FLAGS); do \
20209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20211 (cd $(TARGET_SUBDIR)/libtermcap && \
20212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20214 "RANLIB=$${RANLIB}" \
20215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20220 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
20221 maybe-installcheck-target-libtermcap:
20223 installcheck-target-libtermcap: \
20224 configure-target-libtermcap
20225 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
20226 r=`${PWD_COMMAND}`; export r; \
20227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20229 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
20230 for flag in $(EXTRA_TARGET_FLAGS); do \
20231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20233 (cd $(TARGET_SUBDIR)/libtermcap && \
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}" \
20242 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
20243 maybe-mostlyclean-target-libtermcap:
20245 # libtermcap doesn't support mostlyclean.
20246 mostlyclean-target-libtermcap:
20249 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
20250 maybe-clean-target-libtermcap:
20252 # libtermcap doesn't support clean.
20253 clean-target-libtermcap:
20256 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
20257 maybe-distclean-target-libtermcap:
20259 # libtermcap doesn't support distclean.
20260 distclean-target-libtermcap:
20263 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
20264 maybe-maintainer-clean-target-libtermcap:
20266 # libtermcap doesn't support maintainer-clean.
20267 maintainer-clean-target-libtermcap:
20271 .PHONY: configure-target-winsup maybe-configure-target-winsup
20272 maybe-configure-target-winsup:
20274 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
20275 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
20276 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
20277 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
20278 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
20280 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
20281 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
20282 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
20283 r=`${PWD_COMMAND}`; export r; \
20284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20286 AR="$(AR_FOR_TARGET)"; export AR; \
20287 AS="$(AS_FOR_TARGET)"; export AS; \
20288 CC="$(CC_FOR_TARGET)"; export CC; \
20289 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
20290 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
20291 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
20292 CXX="$(CXX_FOR_TARGET)"; export CXX; \
20293 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
20294 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
20295 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
20296 LD="$(LD_FOR_TARGET)"; export LD; \
20297 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
20298 NM="$(NM_FOR_TARGET)"; export NM; \
20299 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
20300 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
20301 echo Configuring in $(TARGET_SUBDIR)/winsup; \
20302 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
20303 case $(srcdir) in \
20304 /* | [A-Za-z]:[\\/]*) \
20305 topdir=$(srcdir) ;; \
20307 case "$(TARGET_SUBDIR)" in \
20308 .) topdir="../$(srcdir)" ;; \
20309 *) topdir="../../$(srcdir)" ;; \
20312 srcdiroption="--srcdir=$${topdir}/winsup"; \
20313 libsrcdir="$$s/winsup"; \
20314 rm -f no-such-file || : ; \
20315 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
20316 $(TARGET_CONFIGARGS) $${srcdiroption} \
20317 --with-target-subdir="$(TARGET_SUBDIR)" \
20320 .PHONY: all-target-winsup maybe-all-target-winsup
20321 maybe-all-target-winsup:
20322 all-target-winsup: configure-target-winsup
20323 @r=`${PWD_COMMAND}`; export r; \
20324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20326 (cd $(TARGET_SUBDIR)/winsup && \
20327 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
20329 .PHONY: check-target-winsup maybe-check-target-winsup
20330 maybe-check-target-winsup:
20332 check-target-winsup:
20333 @r=`${PWD_COMMAND}`; export r; \
20334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20336 (cd $(TARGET_SUBDIR)/winsup && \
20337 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
20340 .PHONY: install-target-winsup maybe-install-target-winsup
20341 maybe-install-target-winsup:
20343 install-target-winsup: installdirs
20344 @r=`${PWD_COMMAND}`; export r; \
20345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20347 (cd $(TARGET_SUBDIR)/winsup && \
20348 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
20351 # Other targets (info, dvi, etc.)
20353 .PHONY: maybe-info-target-winsup info-target-winsup
20354 maybe-info-target-winsup:
20356 info-target-winsup: \
20357 configure-target-winsup
20358 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
20359 r=`${PWD_COMMAND}`; export r; \
20360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20362 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
20363 for flag in $(EXTRA_TARGET_FLAGS); do \
20364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20366 (cd $(TARGET_SUBDIR)/winsup && \
20367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20369 "RANLIB=$${RANLIB}" \
20370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20375 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
20376 maybe-dvi-target-winsup:
20378 dvi-target-winsup: \
20379 configure-target-winsup
20380 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
20381 r=`${PWD_COMMAND}`; export r; \
20382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20384 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
20385 for flag in $(EXTRA_TARGET_FLAGS); do \
20386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20388 (cd $(TARGET_SUBDIR)/winsup && \
20389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20391 "RANLIB=$${RANLIB}" \
20392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20397 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
20398 maybe-TAGS-target-winsup:
20400 TAGS-target-winsup: \
20401 configure-target-winsup
20402 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
20403 r=`${PWD_COMMAND}`; export r; \
20404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20406 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
20407 for flag in $(EXTRA_TARGET_FLAGS); do \
20408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20410 (cd $(TARGET_SUBDIR)/winsup && \
20411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20413 "RANLIB=$${RANLIB}" \
20414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20419 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
20420 maybe-install-info-target-winsup:
20422 install-info-target-winsup: \
20423 configure-target-winsup \
20425 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
20426 r=`${PWD_COMMAND}`; export r; \
20427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20429 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
20430 for flag in $(EXTRA_TARGET_FLAGS); do \
20431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20433 (cd $(TARGET_SUBDIR)/winsup && \
20434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20436 "RANLIB=$${RANLIB}" \
20437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20442 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
20443 maybe-installcheck-target-winsup:
20445 installcheck-target-winsup: \
20446 configure-target-winsup
20447 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
20448 r=`${PWD_COMMAND}`; export r; \
20449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20451 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
20452 for flag in $(EXTRA_TARGET_FLAGS); do \
20453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20455 (cd $(TARGET_SUBDIR)/winsup && \
20456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20458 "RANLIB=$${RANLIB}" \
20459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20464 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
20465 maybe-mostlyclean-target-winsup:
20467 mostlyclean-target-winsup:
20468 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
20469 r=`${PWD_COMMAND}`; export r; \
20470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20472 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
20473 for flag in $(EXTRA_TARGET_FLAGS); do \
20474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20476 (cd $(TARGET_SUBDIR)/winsup && \
20477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20479 "RANLIB=$${RANLIB}" \
20480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20485 .PHONY: maybe-clean-target-winsup clean-target-winsup
20486 maybe-clean-target-winsup:
20488 clean-target-winsup:
20489 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
20490 r=`${PWD_COMMAND}`; export r; \
20491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20493 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
20494 for flag in $(EXTRA_TARGET_FLAGS); do \
20495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20497 (cd $(TARGET_SUBDIR)/winsup && \
20498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20500 "RANLIB=$${RANLIB}" \
20501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20506 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
20507 maybe-distclean-target-winsup:
20509 distclean-target-winsup:
20510 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
20511 r=`${PWD_COMMAND}`; export r; \
20512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20514 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
20515 for flag in $(EXTRA_TARGET_FLAGS); do \
20516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20518 (cd $(TARGET_SUBDIR)/winsup && \
20519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20521 "RANLIB=$${RANLIB}" \
20522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20527 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
20528 maybe-maintainer-clean-target-winsup:
20530 maintainer-clean-target-winsup:
20531 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
20532 r=`${PWD_COMMAND}`; export r; \
20533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20535 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
20536 for flag in $(EXTRA_TARGET_FLAGS); do \
20537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20539 (cd $(TARGET_SUBDIR)/winsup && \
20540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20542 "RANLIB=$${RANLIB}" \
20543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20544 maintainer-clean) \
20549 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
20550 maybe-configure-target-libgloss:
20552 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
20553 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
20554 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
20555 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
20556 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
20558 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
20559 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
20560 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
20561 r=`${PWD_COMMAND}`; export r; \
20562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20564 AR="$(AR_FOR_TARGET)"; export AR; \
20565 AS="$(AS_FOR_TARGET)"; export AS; \
20566 CC="$(CC_FOR_TARGET)"; export CC; \
20567 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
20568 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
20569 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
20570 CXX="$(CXX_FOR_TARGET)"; export CXX; \
20571 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
20572 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
20573 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
20574 LD="$(LD_FOR_TARGET)"; export LD; \
20575 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
20576 NM="$(NM_FOR_TARGET)"; export NM; \
20577 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
20578 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
20579 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
20580 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
20581 case $(srcdir) in \
20582 /* | [A-Za-z]:[\\/]*) \
20583 topdir=$(srcdir) ;; \
20585 case "$(TARGET_SUBDIR)" in \
20586 .) topdir="../$(srcdir)" ;; \
20587 *) topdir="../../$(srcdir)" ;; \
20590 srcdiroption="--srcdir=$${topdir}/libgloss"; \
20591 libsrcdir="$$s/libgloss"; \
20592 rm -f no-such-file || : ; \
20593 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
20594 $(TARGET_CONFIGARGS) $${srcdiroption} \
20595 --with-target-subdir="$(TARGET_SUBDIR)" \
20598 .PHONY: all-target-libgloss maybe-all-target-libgloss
20599 maybe-all-target-libgloss:
20600 all-target-libgloss: configure-target-libgloss
20601 @r=`${PWD_COMMAND}`; export r; \
20602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20604 (cd $(TARGET_SUBDIR)/libgloss && \
20605 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
20607 .PHONY: check-target-libgloss maybe-check-target-libgloss
20608 maybe-check-target-libgloss:
20610 # Dummy target for uncheckable module.
20611 check-target-libgloss:
20614 .PHONY: install-target-libgloss maybe-install-target-libgloss
20615 maybe-install-target-libgloss:
20617 install-target-libgloss: installdirs
20618 @r=`${PWD_COMMAND}`; export r; \
20619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20621 (cd $(TARGET_SUBDIR)/libgloss && \
20622 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
20625 # Other targets (info, dvi, etc.)
20627 .PHONY: maybe-info-target-libgloss info-target-libgloss
20628 maybe-info-target-libgloss:
20630 info-target-libgloss: \
20631 configure-target-libgloss
20632 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
20633 r=`${PWD_COMMAND}`; export r; \
20634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20636 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
20637 for flag in $(EXTRA_TARGET_FLAGS); do \
20638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20640 (cd $(TARGET_SUBDIR)/libgloss && \
20641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20643 "RANLIB=$${RANLIB}" \
20644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20649 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
20650 maybe-dvi-target-libgloss:
20652 dvi-target-libgloss: \
20653 configure-target-libgloss
20654 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
20655 r=`${PWD_COMMAND}`; export r; \
20656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20658 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
20659 for flag in $(EXTRA_TARGET_FLAGS); do \
20660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20662 (cd $(TARGET_SUBDIR)/libgloss && \
20663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20665 "RANLIB=$${RANLIB}" \
20666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20671 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
20672 maybe-TAGS-target-libgloss:
20674 TAGS-target-libgloss: \
20675 configure-target-libgloss
20676 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
20677 r=`${PWD_COMMAND}`; export r; \
20678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20680 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
20681 for flag in $(EXTRA_TARGET_FLAGS); do \
20682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20684 (cd $(TARGET_SUBDIR)/libgloss && \
20685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20687 "RANLIB=$${RANLIB}" \
20688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20693 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
20694 maybe-install-info-target-libgloss:
20696 install-info-target-libgloss: \
20697 configure-target-libgloss \
20698 info-target-libgloss
20699 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
20700 r=`${PWD_COMMAND}`; export r; \
20701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20703 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
20704 for flag in $(EXTRA_TARGET_FLAGS); do \
20705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20707 (cd $(TARGET_SUBDIR)/libgloss && \
20708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20710 "RANLIB=$${RANLIB}" \
20711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20716 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
20717 maybe-installcheck-target-libgloss:
20719 installcheck-target-libgloss: \
20720 configure-target-libgloss
20721 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
20722 r=`${PWD_COMMAND}`; export r; \
20723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20725 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
20726 for flag in $(EXTRA_TARGET_FLAGS); do \
20727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20729 (cd $(TARGET_SUBDIR)/libgloss && \
20730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20732 "RANLIB=$${RANLIB}" \
20733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20738 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
20739 maybe-mostlyclean-target-libgloss:
20741 mostlyclean-target-libgloss:
20742 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
20743 r=`${PWD_COMMAND}`; export r; \
20744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20746 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
20747 for flag in $(EXTRA_TARGET_FLAGS); do \
20748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20750 (cd $(TARGET_SUBDIR)/libgloss && \
20751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20753 "RANLIB=$${RANLIB}" \
20754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20759 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
20760 maybe-clean-target-libgloss:
20762 clean-target-libgloss:
20763 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
20764 r=`${PWD_COMMAND}`; export r; \
20765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20767 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
20768 for flag in $(EXTRA_TARGET_FLAGS); do \
20769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20771 (cd $(TARGET_SUBDIR)/libgloss && \
20772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20774 "RANLIB=$${RANLIB}" \
20775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20780 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
20781 maybe-distclean-target-libgloss:
20783 distclean-target-libgloss:
20784 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
20785 r=`${PWD_COMMAND}`; export r; \
20786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20788 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
20789 for flag in $(EXTRA_TARGET_FLAGS); do \
20790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20792 (cd $(TARGET_SUBDIR)/libgloss && \
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}" \
20801 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
20802 maybe-maintainer-clean-target-libgloss:
20804 maintainer-clean-target-libgloss:
20805 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
20806 r=`${PWD_COMMAND}`; export r; \
20807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20809 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
20810 for flag in $(EXTRA_TARGET_FLAGS); do \
20811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20813 (cd $(TARGET_SUBDIR)/libgloss && \
20814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20816 "RANLIB=$${RANLIB}" \
20817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20818 maintainer-clean) \
20823 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
20824 maybe-configure-target-libiberty:
20826 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
20827 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
20828 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
20829 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
20830 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
20832 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
20833 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
20834 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
20835 r=`${PWD_COMMAND}`; export r; \
20836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20838 AR="$(AR_FOR_TARGET)"; export AR; \
20839 AS="$(AS_FOR_TARGET)"; export AS; \
20840 CC="$(CC_FOR_TARGET)"; export CC; \
20841 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
20842 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
20843 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
20844 CXX="$(CXX_FOR_TARGET)"; export CXX; \
20845 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
20846 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
20847 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
20848 LD="$(LD_FOR_TARGET)"; export LD; \
20849 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
20850 NM="$(NM_FOR_TARGET)"; export NM; \
20851 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
20852 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
20853 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
20854 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
20855 case $(srcdir) in \
20856 /* | [A-Za-z]:[\\/]*) \
20857 topdir=$(srcdir) ;; \
20859 case "$(TARGET_SUBDIR)" in \
20860 .) topdir="../$(srcdir)" ;; \
20861 *) topdir="../../$(srcdir)" ;; \
20864 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20865 libsrcdir="$$s/libiberty"; \
20866 rm -f no-such-file || : ; \
20867 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
20868 $(TARGET_CONFIGARGS) $${srcdiroption} \
20869 --with-target-subdir="$(TARGET_SUBDIR)" \
20872 .PHONY: all-target-libiberty maybe-all-target-libiberty
20873 maybe-all-target-libiberty:
20874 all-target-libiberty: configure-target-libiberty
20875 @r=`${PWD_COMMAND}`; export r; \
20876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20878 (cd $(TARGET_SUBDIR)/libiberty && \
20879 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
20881 .PHONY: check-target-libiberty maybe-check-target-libiberty
20882 maybe-check-target-libiberty:
20884 check-target-libiberty:
20885 @r=`${PWD_COMMAND}`; export r; \
20886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20888 (cd $(TARGET_SUBDIR)/libiberty && \
20889 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
20892 .PHONY: install-target-libiberty maybe-install-target-libiberty
20893 maybe-install-target-libiberty:
20895 install-target-libiberty: installdirs
20896 @r=`${PWD_COMMAND}`; export r; \
20897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20899 (cd $(TARGET_SUBDIR)/libiberty && \
20900 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
20903 # Other targets (info, dvi, etc.)
20905 .PHONY: maybe-info-target-libiberty info-target-libiberty
20906 maybe-info-target-libiberty:
20908 info-target-libiberty: \
20909 configure-target-libiberty
20910 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
20911 r=`${PWD_COMMAND}`; export r; \
20912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20914 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
20915 for flag in $(EXTRA_TARGET_FLAGS); do \
20916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20918 (cd $(TARGET_SUBDIR)/libiberty && \
20919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20921 "RANLIB=$${RANLIB}" \
20922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20927 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
20928 maybe-dvi-target-libiberty:
20930 dvi-target-libiberty: \
20931 configure-target-libiberty
20932 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
20933 r=`${PWD_COMMAND}`; export r; \
20934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20936 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
20937 for flag in $(EXTRA_TARGET_FLAGS); do \
20938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20940 (cd $(TARGET_SUBDIR)/libiberty && \
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}" \
20949 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
20950 maybe-TAGS-target-libiberty:
20952 TAGS-target-libiberty: \
20953 configure-target-libiberty
20954 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
20955 r=`${PWD_COMMAND}`; export r; \
20956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20958 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
20959 for flag in $(EXTRA_TARGET_FLAGS); do \
20960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20962 (cd $(TARGET_SUBDIR)/libiberty && \
20963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20965 "RANLIB=$${RANLIB}" \
20966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20971 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
20972 maybe-install-info-target-libiberty:
20974 install-info-target-libiberty: \
20975 configure-target-libiberty \
20976 info-target-libiberty
20977 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
20978 r=`${PWD_COMMAND}`; export r; \
20979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20981 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
20982 for flag in $(EXTRA_TARGET_FLAGS); do \
20983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20985 (cd $(TARGET_SUBDIR)/libiberty && \
20986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20988 "RANLIB=$${RANLIB}" \
20989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20994 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
20995 maybe-installcheck-target-libiberty:
20997 installcheck-target-libiberty: \
20998 configure-target-libiberty
20999 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
21000 r=`${PWD_COMMAND}`; export r; \
21001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21003 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
21004 for flag in $(EXTRA_TARGET_FLAGS); do \
21005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21007 (cd $(TARGET_SUBDIR)/libiberty && \
21008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21010 "RANLIB=$${RANLIB}" \
21011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21016 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
21017 maybe-mostlyclean-target-libiberty:
21019 mostlyclean-target-libiberty:
21020 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
21021 r=`${PWD_COMMAND}`; export r; \
21022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21024 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
21025 for flag in $(EXTRA_TARGET_FLAGS); do \
21026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21028 (cd $(TARGET_SUBDIR)/libiberty && \
21029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21031 "RANLIB=$${RANLIB}" \
21032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21037 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
21038 maybe-clean-target-libiberty:
21040 clean-target-libiberty:
21041 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
21042 r=`${PWD_COMMAND}`; export r; \
21043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21045 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
21046 for flag in $(EXTRA_TARGET_FLAGS); do \
21047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21049 (cd $(TARGET_SUBDIR)/libiberty && \
21050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21052 "RANLIB=$${RANLIB}" \
21053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21058 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
21059 maybe-distclean-target-libiberty:
21061 distclean-target-libiberty:
21062 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
21063 r=`${PWD_COMMAND}`; export r; \
21064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21066 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
21067 for flag in $(EXTRA_TARGET_FLAGS); do \
21068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21070 (cd $(TARGET_SUBDIR)/libiberty && \
21071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21073 "RANLIB=$${RANLIB}" \
21074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21079 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
21080 maybe-maintainer-clean-target-libiberty:
21082 maintainer-clean-target-libiberty:
21083 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
21084 r=`${PWD_COMMAND}`; export r; \
21085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21087 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
21088 for flag in $(EXTRA_TARGET_FLAGS); do \
21089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21091 (cd $(TARGET_SUBDIR)/libiberty && \
21092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21094 "RANLIB=$${RANLIB}" \
21095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21096 maintainer-clean) \
21101 .PHONY: configure-target-gperf maybe-configure-target-gperf
21102 maybe-configure-target-gperf:
21104 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
21105 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
21106 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
21107 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
21108 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
21110 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
21111 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
21112 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
21113 r=`${PWD_COMMAND}`; export r; \
21114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21116 AR="$(AR_FOR_TARGET)"; export AR; \
21117 AS="$(AS_FOR_TARGET)"; export AS; \
21118 CC="$(CC_FOR_TARGET)"; export CC; \
21119 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
21120 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
21121 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
21122 CXX="$(CXX_FOR_TARGET)"; export CXX; \
21123 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
21124 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
21125 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
21126 LD="$(LD_FOR_TARGET)"; export LD; \
21127 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
21128 NM="$(NM_FOR_TARGET)"; export NM; \
21129 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
21130 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
21131 echo Configuring in $(TARGET_SUBDIR)/gperf; \
21132 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
21133 case $(srcdir) in \
21134 /* | [A-Za-z]:[\\/]*) \
21135 topdir=$(srcdir) ;; \
21137 case "$(TARGET_SUBDIR)" in \
21138 .) topdir="../$(srcdir)" ;; \
21139 *) topdir="../../$(srcdir)" ;; \
21142 srcdiroption="--srcdir=$${topdir}/gperf"; \
21143 libsrcdir="$$s/gperf"; \
21144 rm -f no-such-file || : ; \
21145 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
21146 $(TARGET_CONFIGARGS) $${srcdiroption} \
21147 --with-target-subdir="$(TARGET_SUBDIR)" \
21150 .PHONY: all-target-gperf maybe-all-target-gperf
21151 maybe-all-target-gperf:
21152 all-target-gperf: configure-target-gperf
21153 @r=`${PWD_COMMAND}`; export r; \
21154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21156 (cd $(TARGET_SUBDIR)/gperf && \
21157 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
21159 .PHONY: check-target-gperf maybe-check-target-gperf
21160 maybe-check-target-gperf:
21162 check-target-gperf:
21163 @r=`${PWD_COMMAND}`; export r; \
21164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21166 (cd $(TARGET_SUBDIR)/gperf && \
21167 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
21170 .PHONY: install-target-gperf maybe-install-target-gperf
21171 maybe-install-target-gperf:
21173 install-target-gperf: installdirs
21174 @r=`${PWD_COMMAND}`; export r; \
21175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21177 (cd $(TARGET_SUBDIR)/gperf && \
21178 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
21181 # Other targets (info, dvi, etc.)
21183 .PHONY: maybe-info-target-gperf info-target-gperf
21184 maybe-info-target-gperf:
21186 info-target-gperf: \
21187 configure-target-gperf
21188 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21189 r=`${PWD_COMMAND}`; export r; \
21190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21192 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
21193 for flag in $(EXTRA_TARGET_FLAGS); do \
21194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21196 (cd $(TARGET_SUBDIR)/gperf && \
21197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21199 "RANLIB=$${RANLIB}" \
21200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21205 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
21206 maybe-dvi-target-gperf:
21208 dvi-target-gperf: \
21209 configure-target-gperf
21210 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21211 r=`${PWD_COMMAND}`; export r; \
21212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21214 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
21215 for flag in $(EXTRA_TARGET_FLAGS); do \
21216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21218 (cd $(TARGET_SUBDIR)/gperf && \
21219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21221 "RANLIB=$${RANLIB}" \
21222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21227 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
21228 maybe-TAGS-target-gperf:
21230 TAGS-target-gperf: \
21231 configure-target-gperf
21232 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21233 r=`${PWD_COMMAND}`; export r; \
21234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21236 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
21237 for flag in $(EXTRA_TARGET_FLAGS); do \
21238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21240 (cd $(TARGET_SUBDIR)/gperf && \
21241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21243 "RANLIB=$${RANLIB}" \
21244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21249 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
21250 maybe-install-info-target-gperf:
21252 install-info-target-gperf: \
21253 configure-target-gperf \
21255 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21256 r=`${PWD_COMMAND}`; export r; \
21257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21259 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
21260 for flag in $(EXTRA_TARGET_FLAGS); do \
21261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21263 (cd $(TARGET_SUBDIR)/gperf && \
21264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21266 "RANLIB=$${RANLIB}" \
21267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21272 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
21273 maybe-installcheck-target-gperf:
21275 installcheck-target-gperf: \
21276 configure-target-gperf
21277 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21278 r=`${PWD_COMMAND}`; export r; \
21279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21281 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
21282 for flag in $(EXTRA_TARGET_FLAGS); do \
21283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21285 (cd $(TARGET_SUBDIR)/gperf && \
21286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21288 "RANLIB=$${RANLIB}" \
21289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21294 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
21295 maybe-mostlyclean-target-gperf:
21297 mostlyclean-target-gperf:
21298 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21299 r=`${PWD_COMMAND}`; export r; \
21300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21302 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
21303 for flag in $(EXTRA_TARGET_FLAGS); do \
21304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21306 (cd $(TARGET_SUBDIR)/gperf && \
21307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21309 "RANLIB=$${RANLIB}" \
21310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21315 .PHONY: maybe-clean-target-gperf clean-target-gperf
21316 maybe-clean-target-gperf:
21318 clean-target-gperf:
21319 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21320 r=`${PWD_COMMAND}`; export r; \
21321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21323 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
21324 for flag in $(EXTRA_TARGET_FLAGS); do \
21325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21327 (cd $(TARGET_SUBDIR)/gperf && \
21328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21330 "RANLIB=$${RANLIB}" \
21331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21336 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
21337 maybe-distclean-target-gperf:
21339 distclean-target-gperf:
21340 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21341 r=`${PWD_COMMAND}`; export r; \
21342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21344 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
21345 for flag in $(EXTRA_TARGET_FLAGS); do \
21346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21348 (cd $(TARGET_SUBDIR)/gperf && \
21349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21351 "RANLIB=$${RANLIB}" \
21352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21357 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
21358 maybe-maintainer-clean-target-gperf:
21360 maintainer-clean-target-gperf:
21361 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21362 r=`${PWD_COMMAND}`; export r; \
21363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21365 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
21366 for flag in $(EXTRA_TARGET_FLAGS); do \
21367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21369 (cd $(TARGET_SUBDIR)/gperf && \
21370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21372 "RANLIB=$${RANLIB}" \
21373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21374 maintainer-clean) \
21379 .PHONY: configure-target-examples maybe-configure-target-examples
21380 maybe-configure-target-examples:
21382 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
21383 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
21384 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
21385 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
21386 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
21388 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
21389 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
21390 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
21391 r=`${PWD_COMMAND}`; export r; \
21392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21394 AR="$(AR_FOR_TARGET)"; export AR; \
21395 AS="$(AS_FOR_TARGET)"; export AS; \
21396 CC="$(CC_FOR_TARGET)"; export CC; \
21397 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
21398 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
21399 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
21400 CXX="$(CXX_FOR_TARGET)"; export CXX; \
21401 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
21402 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
21403 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
21404 LD="$(LD_FOR_TARGET)"; export LD; \
21405 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
21406 NM="$(NM_FOR_TARGET)"; export NM; \
21407 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
21408 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
21409 echo Configuring in $(TARGET_SUBDIR)/examples; \
21410 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
21411 case $(srcdir) in \
21412 /* | [A-Za-z]:[\\/]*) \
21413 topdir=$(srcdir) ;; \
21415 case "$(TARGET_SUBDIR)" in \
21416 .) topdir="../$(srcdir)" ;; \
21417 *) topdir="../../$(srcdir)" ;; \
21420 srcdiroption="--srcdir=$${topdir}/examples"; \
21421 libsrcdir="$$s/examples"; \
21422 rm -f no-such-file || : ; \
21423 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
21424 $(TARGET_CONFIGARGS) $${srcdiroption} \
21425 --with-target-subdir="$(TARGET_SUBDIR)" \
21428 .PHONY: all-target-examples maybe-all-target-examples
21429 maybe-all-target-examples:
21430 all-target-examples: configure-target-examples
21431 @r=`${PWD_COMMAND}`; export r; \
21432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21434 (cd $(TARGET_SUBDIR)/examples && \
21435 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
21437 .PHONY: check-target-examples maybe-check-target-examples
21438 maybe-check-target-examples:
21440 # Dummy target for uncheckable module.
21441 check-target-examples:
21444 .PHONY: install-target-examples maybe-install-target-examples
21445 maybe-install-target-examples:
21447 # Dummy target for uninstallable.
21448 install-target-examples:
21451 # Other targets (info, dvi, etc.)
21453 .PHONY: maybe-info-target-examples info-target-examples
21454 maybe-info-target-examples:
21456 info-target-examples: \
21457 configure-target-examples
21458 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
21459 r=`${PWD_COMMAND}`; export r; \
21460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21462 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
21463 for flag in $(EXTRA_TARGET_FLAGS); do \
21464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21466 (cd $(TARGET_SUBDIR)/examples && \
21467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21469 "RANLIB=$${RANLIB}" \
21470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21475 .PHONY: maybe-dvi-target-examples dvi-target-examples
21476 maybe-dvi-target-examples:
21478 dvi-target-examples: \
21479 configure-target-examples
21480 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
21481 r=`${PWD_COMMAND}`; export r; \
21482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21484 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
21485 for flag in $(EXTRA_TARGET_FLAGS); do \
21486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21488 (cd $(TARGET_SUBDIR)/examples && \
21489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21491 "RANLIB=$${RANLIB}" \
21492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21497 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
21498 maybe-TAGS-target-examples:
21500 TAGS-target-examples: \
21501 configure-target-examples
21502 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
21503 r=`${PWD_COMMAND}`; export r; \
21504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21506 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
21507 for flag in $(EXTRA_TARGET_FLAGS); do \
21508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21510 (cd $(TARGET_SUBDIR)/examples && \
21511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21513 "RANLIB=$${RANLIB}" \
21514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21519 .PHONY: maybe-install-info-target-examples install-info-target-examples
21520 maybe-install-info-target-examples:
21522 install-info-target-examples: \
21523 configure-target-examples \
21524 info-target-examples
21525 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
21526 r=`${PWD_COMMAND}`; export r; \
21527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21529 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
21530 for flag in $(EXTRA_TARGET_FLAGS); do \
21531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21533 (cd $(TARGET_SUBDIR)/examples && \
21534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21536 "RANLIB=$${RANLIB}" \
21537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21542 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
21543 maybe-installcheck-target-examples:
21545 installcheck-target-examples: \
21546 configure-target-examples
21547 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
21548 r=`${PWD_COMMAND}`; export r; \
21549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21551 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
21552 for flag in $(EXTRA_TARGET_FLAGS); do \
21553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21555 (cd $(TARGET_SUBDIR)/examples && \
21556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21558 "RANLIB=$${RANLIB}" \
21559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21564 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
21565 maybe-mostlyclean-target-examples:
21567 mostlyclean-target-examples:
21568 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
21569 r=`${PWD_COMMAND}`; export r; \
21570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21572 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
21573 for flag in $(EXTRA_TARGET_FLAGS); do \
21574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21576 (cd $(TARGET_SUBDIR)/examples && \
21577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21579 "RANLIB=$${RANLIB}" \
21580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21585 .PHONY: maybe-clean-target-examples clean-target-examples
21586 maybe-clean-target-examples:
21588 clean-target-examples:
21589 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
21590 r=`${PWD_COMMAND}`; export r; \
21591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21593 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
21594 for flag in $(EXTRA_TARGET_FLAGS); do \
21595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21597 (cd $(TARGET_SUBDIR)/examples && \
21598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21600 "RANLIB=$${RANLIB}" \
21601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21606 .PHONY: maybe-distclean-target-examples distclean-target-examples
21607 maybe-distclean-target-examples:
21609 distclean-target-examples:
21610 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
21611 r=`${PWD_COMMAND}`; export r; \
21612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21614 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
21615 for flag in $(EXTRA_TARGET_FLAGS); do \
21616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21618 (cd $(TARGET_SUBDIR)/examples && \
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}" \
21627 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
21628 maybe-maintainer-clean-target-examples:
21630 maintainer-clean-target-examples:
21631 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
21632 r=`${PWD_COMMAND}`; export r; \
21633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21635 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
21636 for flag in $(EXTRA_TARGET_FLAGS); do \
21637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21639 (cd $(TARGET_SUBDIR)/examples && \
21640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21642 "RANLIB=$${RANLIB}" \
21643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21644 maintainer-clean) \
21649 .PHONY: configure-target-libffi maybe-configure-target-libffi
21650 maybe-configure-target-libffi:
21652 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
21653 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
21654 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
21655 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
21656 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
21658 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
21659 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
21660 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
21661 r=`${PWD_COMMAND}`; export r; \
21662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21664 AR="$(AR_FOR_TARGET)"; export AR; \
21665 AS="$(AS_FOR_TARGET)"; export AS; \
21666 CC="$(CC_FOR_TARGET)"; export CC; \
21667 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
21668 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
21669 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
21670 CXX="$(CXX_FOR_TARGET)"; export CXX; \
21671 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
21672 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
21673 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
21674 LD="$(LD_FOR_TARGET)"; export LD; \
21675 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
21676 NM="$(NM_FOR_TARGET)"; export NM; \
21677 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
21678 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
21679 echo Configuring in $(TARGET_SUBDIR)/libffi; \
21680 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
21681 case $(srcdir) in \
21682 /* | [A-Za-z]:[\\/]*) \
21683 topdir=$(srcdir) ;; \
21685 case "$(TARGET_SUBDIR)" in \
21686 .) topdir="../$(srcdir)" ;; \
21687 *) topdir="../../$(srcdir)" ;; \
21690 srcdiroption="--srcdir=$${topdir}/libffi"; \
21691 libsrcdir="$$s/libffi"; \
21692 rm -f no-such-file || : ; \
21693 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
21694 $(TARGET_CONFIGARGS) $${srcdiroption} \
21695 --with-target-subdir="$(TARGET_SUBDIR)" \
21698 .PHONY: all-target-libffi maybe-all-target-libffi
21699 maybe-all-target-libffi:
21700 all-target-libffi: configure-target-libffi
21701 @r=`${PWD_COMMAND}`; export r; \
21702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21704 (cd $(TARGET_SUBDIR)/libffi && \
21705 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
21707 .PHONY: check-target-libffi maybe-check-target-libffi
21708 maybe-check-target-libffi:
21710 check-target-libffi:
21711 @r=`${PWD_COMMAND}`; export r; \
21712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21714 (cd $(TARGET_SUBDIR)/libffi && \
21715 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
21718 .PHONY: install-target-libffi maybe-install-target-libffi
21719 maybe-install-target-libffi:
21721 install-target-libffi: installdirs
21722 @r=`${PWD_COMMAND}`; export r; \
21723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21725 (cd $(TARGET_SUBDIR)/libffi && \
21726 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
21729 # Other targets (info, dvi, etc.)
21731 .PHONY: maybe-info-target-libffi info-target-libffi
21732 maybe-info-target-libffi:
21734 info-target-libffi: \
21735 configure-target-libffi
21736 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
21737 r=`${PWD_COMMAND}`; export r; \
21738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21740 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
21741 for flag in $(EXTRA_TARGET_FLAGS); do \
21742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21744 (cd $(TARGET_SUBDIR)/libffi && \
21745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21747 "RANLIB=$${RANLIB}" \
21748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21753 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
21754 maybe-dvi-target-libffi:
21756 dvi-target-libffi: \
21757 configure-target-libffi
21758 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
21759 r=`${PWD_COMMAND}`; export r; \
21760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21762 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
21763 for flag in $(EXTRA_TARGET_FLAGS); do \
21764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21766 (cd $(TARGET_SUBDIR)/libffi && \
21767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21769 "RANLIB=$${RANLIB}" \
21770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21775 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
21776 maybe-TAGS-target-libffi:
21778 TAGS-target-libffi: \
21779 configure-target-libffi
21780 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
21781 r=`${PWD_COMMAND}`; export r; \
21782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21784 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
21785 for flag in $(EXTRA_TARGET_FLAGS); do \
21786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21788 (cd $(TARGET_SUBDIR)/libffi && \
21789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21791 "RANLIB=$${RANLIB}" \
21792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21797 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
21798 maybe-install-info-target-libffi:
21800 install-info-target-libffi: \
21801 configure-target-libffi \
21803 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
21804 r=`${PWD_COMMAND}`; export r; \
21805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21807 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
21808 for flag in $(EXTRA_TARGET_FLAGS); do \
21809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21811 (cd $(TARGET_SUBDIR)/libffi && \
21812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21814 "RANLIB=$${RANLIB}" \
21815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21820 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
21821 maybe-installcheck-target-libffi:
21823 installcheck-target-libffi: \
21824 configure-target-libffi
21825 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
21826 r=`${PWD_COMMAND}`; export r; \
21827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21829 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
21830 for flag in $(EXTRA_TARGET_FLAGS); do \
21831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21833 (cd $(TARGET_SUBDIR)/libffi && \
21834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21836 "RANLIB=$${RANLIB}" \
21837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21842 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
21843 maybe-mostlyclean-target-libffi:
21845 mostlyclean-target-libffi:
21846 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
21847 r=`${PWD_COMMAND}`; export r; \
21848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21850 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
21851 for flag in $(EXTRA_TARGET_FLAGS); do \
21852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21854 (cd $(TARGET_SUBDIR)/libffi && \
21855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21857 "RANLIB=$${RANLIB}" \
21858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21863 .PHONY: maybe-clean-target-libffi clean-target-libffi
21864 maybe-clean-target-libffi:
21866 clean-target-libffi:
21867 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
21868 r=`${PWD_COMMAND}`; export r; \
21869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21871 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
21872 for flag in $(EXTRA_TARGET_FLAGS); do \
21873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21875 (cd $(TARGET_SUBDIR)/libffi && \
21876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21878 "RANLIB=$${RANLIB}" \
21879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21884 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
21885 maybe-distclean-target-libffi:
21887 distclean-target-libffi:
21888 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
21889 r=`${PWD_COMMAND}`; export r; \
21890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21892 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
21893 for flag in $(EXTRA_TARGET_FLAGS); do \
21894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21896 (cd $(TARGET_SUBDIR)/libffi && \
21897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21899 "RANLIB=$${RANLIB}" \
21900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21905 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
21906 maybe-maintainer-clean-target-libffi:
21908 maintainer-clean-target-libffi:
21909 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
21910 r=`${PWD_COMMAND}`; export r; \
21911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21913 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
21914 for flag in $(EXTRA_TARGET_FLAGS); do \
21915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21917 (cd $(TARGET_SUBDIR)/libffi && \
21918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21920 "RANLIB=$${RANLIB}" \
21921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21922 maintainer-clean) \
21927 .PHONY: configure-target-libjava maybe-configure-target-libjava
21928 maybe-configure-target-libjava:
21930 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
21931 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
21932 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
21933 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
21934 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
21936 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
21937 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
21938 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
21939 r=`${PWD_COMMAND}`; export r; \
21940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21942 AR="$(AR_FOR_TARGET)"; export AR; \
21943 AS="$(AS_FOR_TARGET)"; export AS; \
21944 CC="$(CC_FOR_TARGET)"; export CC; \
21945 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
21946 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
21947 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
21948 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
21949 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \
21950 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
21951 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
21952 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
21953 LD="$(LD_FOR_TARGET)"; export LD; \
21954 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
21955 NM="$(NM_FOR_TARGET)"; export NM; \
21956 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
21957 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
21958 echo Configuring in $(TARGET_SUBDIR)/libjava; \
21959 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
21960 case $(srcdir) in \
21961 /* | [A-Za-z]:[\\/]*) \
21962 topdir=$(srcdir) ;; \
21964 case "$(TARGET_SUBDIR)" in \
21965 .) topdir="../$(srcdir)" ;; \
21966 *) topdir="../../$(srcdir)" ;; \
21969 srcdiroption="--srcdir=$${topdir}/libjava"; \
21970 libsrcdir="$$s/libjava"; \
21971 rm -f no-such-file || : ; \
21972 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
21973 $(TARGET_CONFIGARGS) $${srcdiroption} \
21974 --with-target-subdir="$(TARGET_SUBDIR)" \
21977 .PHONY: all-target-libjava maybe-all-target-libjava
21978 maybe-all-target-libjava:
21979 all-target-libjava: configure-target-libjava
21980 @r=`${PWD_COMMAND}`; export r; \
21981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21983 (cd $(TARGET_SUBDIR)/libjava && \
21984 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
21986 .PHONY: check-target-libjava maybe-check-target-libjava
21987 maybe-check-target-libjava:
21989 check-target-libjava:
21990 @r=`${PWD_COMMAND}`; export r; \
21991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21993 (cd $(TARGET_SUBDIR)/libjava && \
21994 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
21997 .PHONY: install-target-libjava maybe-install-target-libjava
21998 maybe-install-target-libjava:
22000 install-target-libjava: installdirs
22001 @r=`${PWD_COMMAND}`; export r; \
22002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22004 (cd $(TARGET_SUBDIR)/libjava && \
22005 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22008 # Other targets (info, dvi, etc.)
22010 .PHONY: maybe-info-target-libjava info-target-libjava
22011 maybe-info-target-libjava:
22013 info-target-libjava: \
22014 configure-target-libjava
22015 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22016 r=`${PWD_COMMAND}`; export r; \
22017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22019 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
22020 for flag in $(EXTRA_TARGET_FLAGS); do \
22021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22023 (cd $(TARGET_SUBDIR)/libjava && \
22024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22026 "RANLIB=$${RANLIB}" \
22027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22032 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
22033 maybe-dvi-target-libjava:
22035 dvi-target-libjava: \
22036 configure-target-libjava
22037 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22038 r=`${PWD_COMMAND}`; export r; \
22039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22041 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
22042 for flag in $(EXTRA_TARGET_FLAGS); do \
22043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22045 (cd $(TARGET_SUBDIR)/libjava && \
22046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22048 "RANLIB=$${RANLIB}" \
22049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22054 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
22055 maybe-TAGS-target-libjava:
22057 TAGS-target-libjava: \
22058 configure-target-libjava
22059 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22060 r=`${PWD_COMMAND}`; export r; \
22061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22063 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
22064 for flag in $(EXTRA_TARGET_FLAGS); do \
22065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22067 (cd $(TARGET_SUBDIR)/libjava && \
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}" \
22076 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
22077 maybe-install-info-target-libjava:
22079 install-info-target-libjava: \
22080 configure-target-libjava \
22081 info-target-libjava
22082 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22083 r=`${PWD_COMMAND}`; export r; \
22084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22086 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
22087 for flag in $(EXTRA_TARGET_FLAGS); do \
22088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22090 (cd $(TARGET_SUBDIR)/libjava && \
22091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22093 "RANLIB=$${RANLIB}" \
22094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22099 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
22100 maybe-installcheck-target-libjava:
22102 installcheck-target-libjava: \
22103 configure-target-libjava
22104 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22105 r=`${PWD_COMMAND}`; export r; \
22106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22108 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
22109 for flag in $(EXTRA_TARGET_FLAGS); do \
22110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22112 (cd $(TARGET_SUBDIR)/libjava && \
22113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22115 "RANLIB=$${RANLIB}" \
22116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22121 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
22122 maybe-mostlyclean-target-libjava:
22124 mostlyclean-target-libjava:
22125 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22126 r=`${PWD_COMMAND}`; export r; \
22127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22129 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
22130 for flag in $(EXTRA_TARGET_FLAGS); do \
22131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22133 (cd $(TARGET_SUBDIR)/libjava && \
22134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22136 "RANLIB=$${RANLIB}" \
22137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22142 .PHONY: maybe-clean-target-libjava clean-target-libjava
22143 maybe-clean-target-libjava:
22145 clean-target-libjava:
22146 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22147 r=`${PWD_COMMAND}`; export r; \
22148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22150 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
22151 for flag in $(EXTRA_TARGET_FLAGS); do \
22152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22154 (cd $(TARGET_SUBDIR)/libjava && \
22155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22157 "RANLIB=$${RANLIB}" \
22158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22163 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
22164 maybe-distclean-target-libjava:
22166 distclean-target-libjava:
22167 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22168 r=`${PWD_COMMAND}`; export r; \
22169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22171 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
22172 for flag in $(EXTRA_TARGET_FLAGS); do \
22173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22175 (cd $(TARGET_SUBDIR)/libjava && \
22176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22178 "RANLIB=$${RANLIB}" \
22179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22184 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
22185 maybe-maintainer-clean-target-libjava:
22187 maintainer-clean-target-libjava:
22188 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22189 r=`${PWD_COMMAND}`; export r; \
22190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22192 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
22193 for flag in $(EXTRA_TARGET_FLAGS); do \
22194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22196 (cd $(TARGET_SUBDIR)/libjava && \
22197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22199 "RANLIB=$${RANLIB}" \
22200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22201 maintainer-clean) \
22206 .PHONY: configure-target-zlib maybe-configure-target-zlib
22207 maybe-configure-target-zlib:
22209 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22210 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
22211 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
22212 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
22213 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
22215 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
22216 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
22217 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
22218 r=`${PWD_COMMAND}`; export r; \
22219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22221 AR="$(AR_FOR_TARGET)"; export AR; \
22222 AS="$(AS_FOR_TARGET)"; export AS; \
22223 CC="$(CC_FOR_TARGET)"; export CC; \
22224 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22225 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
22226 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22227 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22228 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22229 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22230 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22231 LD="$(LD_FOR_TARGET)"; export LD; \
22232 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22233 NM="$(NM_FOR_TARGET)"; export NM; \
22234 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22235 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22236 echo Configuring in $(TARGET_SUBDIR)/zlib; \
22237 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
22238 case $(srcdir) in \
22239 /* | [A-Za-z]:[\\/]*) \
22240 topdir=$(srcdir) ;; \
22242 case "$(TARGET_SUBDIR)" in \
22243 .) topdir="../$(srcdir)" ;; \
22244 *) topdir="../../$(srcdir)" ;; \
22247 if [ "$(srcdir)" = "." ] ; then \
22248 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22249 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
22250 if [ -f Makefile ]; then \
22251 if $(MAKE) distclean; then \
22265 srcdiroption="--srcdir=."; \
22268 srcdiroption="--srcdir=$${topdir}/zlib"; \
22269 libsrcdir="$$s/zlib"; \
22271 rm -f no-such-file || : ; \
22272 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22273 $(TARGET_CONFIGARGS) $${srcdiroption} \
22274 --with-target-subdir="$(TARGET_SUBDIR)" \
22277 .PHONY: all-target-zlib maybe-all-target-zlib
22278 maybe-all-target-zlib:
22279 all-target-zlib: configure-target-zlib
22280 @r=`${PWD_COMMAND}`; export r; \
22281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22283 (cd $(TARGET_SUBDIR)/zlib && \
22284 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22286 .PHONY: check-target-zlib maybe-check-target-zlib
22287 maybe-check-target-zlib:
22290 @r=`${PWD_COMMAND}`; export r; \
22291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22293 (cd $(TARGET_SUBDIR)/zlib && \
22294 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22297 .PHONY: install-target-zlib maybe-install-target-zlib
22298 maybe-install-target-zlib:
22300 install-target-zlib: installdirs
22301 @r=`${PWD_COMMAND}`; export r; \
22302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22304 (cd $(TARGET_SUBDIR)/zlib && \
22305 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22308 # Other targets (info, dvi, etc.)
22310 .PHONY: maybe-info-target-zlib info-target-zlib
22311 maybe-info-target-zlib:
22313 info-target-zlib: \
22314 configure-target-zlib
22315 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
22316 r=`${PWD_COMMAND}`; export r; \
22317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22319 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
22320 for flag in $(EXTRA_TARGET_FLAGS); do \
22321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22323 (cd $(TARGET_SUBDIR)/zlib && \
22324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22326 "RANLIB=$${RANLIB}" \
22327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22332 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
22333 maybe-dvi-target-zlib:
22336 configure-target-zlib
22337 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
22338 r=`${PWD_COMMAND}`; export r; \
22339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22341 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
22342 for flag in $(EXTRA_TARGET_FLAGS); do \
22343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22345 (cd $(TARGET_SUBDIR)/zlib && \
22346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22348 "RANLIB=$${RANLIB}" \
22349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22354 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
22355 maybe-TAGS-target-zlib:
22357 TAGS-target-zlib: \
22358 configure-target-zlib
22359 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
22360 r=`${PWD_COMMAND}`; export r; \
22361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22363 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
22364 for flag in $(EXTRA_TARGET_FLAGS); do \
22365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22367 (cd $(TARGET_SUBDIR)/zlib && \
22368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22370 "RANLIB=$${RANLIB}" \
22371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22376 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
22377 maybe-install-info-target-zlib:
22379 install-info-target-zlib: \
22380 configure-target-zlib \
22382 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
22383 r=`${PWD_COMMAND}`; export r; \
22384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22386 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
22387 for flag in $(EXTRA_TARGET_FLAGS); do \
22388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22390 (cd $(TARGET_SUBDIR)/zlib && \
22391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22393 "RANLIB=$${RANLIB}" \
22394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22399 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
22400 maybe-installcheck-target-zlib:
22402 installcheck-target-zlib: \
22403 configure-target-zlib
22404 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
22405 r=`${PWD_COMMAND}`; export r; \
22406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22408 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
22409 for flag in $(EXTRA_TARGET_FLAGS); do \
22410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22412 (cd $(TARGET_SUBDIR)/zlib && \
22413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22415 "RANLIB=$${RANLIB}" \
22416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22421 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
22422 maybe-mostlyclean-target-zlib:
22424 mostlyclean-target-zlib:
22425 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
22426 r=`${PWD_COMMAND}`; export r; \
22427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22429 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
22430 for flag in $(EXTRA_TARGET_FLAGS); do \
22431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22433 (cd $(TARGET_SUBDIR)/zlib && \
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}" \
22442 .PHONY: maybe-clean-target-zlib clean-target-zlib
22443 maybe-clean-target-zlib:
22446 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
22447 r=`${PWD_COMMAND}`; export r; \
22448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22450 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
22451 for flag in $(EXTRA_TARGET_FLAGS); do \
22452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22454 (cd $(TARGET_SUBDIR)/zlib && \
22455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22457 "RANLIB=$${RANLIB}" \
22458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22463 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
22464 maybe-distclean-target-zlib:
22466 distclean-target-zlib:
22467 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
22468 r=`${PWD_COMMAND}`; export r; \
22469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22471 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
22472 for flag in $(EXTRA_TARGET_FLAGS); do \
22473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22475 (cd $(TARGET_SUBDIR)/zlib && \
22476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22478 "RANLIB=$${RANLIB}" \
22479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22484 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
22485 maybe-maintainer-clean-target-zlib:
22487 maintainer-clean-target-zlib:
22488 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
22489 r=`${PWD_COMMAND}`; export r; \
22490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22492 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
22493 for flag in $(EXTRA_TARGET_FLAGS); do \
22494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22496 (cd $(TARGET_SUBDIR)/zlib && \
22497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22499 "RANLIB=$${RANLIB}" \
22500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22501 maintainer-clean) \
22506 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
22507 maybe-configure-target-boehm-gc:
22509 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22510 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
22511 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
22512 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
22513 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
22515 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
22516 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
22517 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
22518 r=`${PWD_COMMAND}`; export r; \
22519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22521 AR="$(AR_FOR_TARGET)"; export AR; \
22522 AS="$(AS_FOR_TARGET)"; export AS; \
22523 CC="$(CC_FOR_TARGET)"; export CC; \
22524 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22525 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
22526 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22527 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22528 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22529 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22530 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22531 LD="$(LD_FOR_TARGET)"; export LD; \
22532 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22533 NM="$(NM_FOR_TARGET)"; export NM; \
22534 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22535 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22536 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
22537 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
22538 case $(srcdir) in \
22539 /* | [A-Za-z]:[\\/]*) \
22540 topdir=$(srcdir) ;; \
22542 case "$(TARGET_SUBDIR)" in \
22543 .) topdir="../$(srcdir)" ;; \
22544 *) topdir="../../$(srcdir)" ;; \
22547 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
22548 libsrcdir="$$s/boehm-gc"; \
22549 rm -f no-such-file || : ; \
22550 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22551 $(TARGET_CONFIGARGS) $${srcdiroption} \
22552 --with-target-subdir="$(TARGET_SUBDIR)" \
22555 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
22556 maybe-all-target-boehm-gc:
22557 all-target-boehm-gc: configure-target-boehm-gc
22558 @r=`${PWD_COMMAND}`; export r; \
22559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22561 (cd $(TARGET_SUBDIR)/boehm-gc && \
22562 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22564 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
22565 maybe-check-target-boehm-gc:
22567 check-target-boehm-gc:
22568 @r=`${PWD_COMMAND}`; export r; \
22569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22571 (cd $(TARGET_SUBDIR)/boehm-gc && \
22572 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22575 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
22576 maybe-install-target-boehm-gc:
22578 install-target-boehm-gc: installdirs
22579 @r=`${PWD_COMMAND}`; export r; \
22580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22582 (cd $(TARGET_SUBDIR)/boehm-gc && \
22583 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22586 # Other targets (info, dvi, etc.)
22588 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
22589 maybe-info-target-boehm-gc:
22591 info-target-boehm-gc: \
22592 configure-target-boehm-gc
22593 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
22594 r=`${PWD_COMMAND}`; export r; \
22595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22597 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
22598 for flag in $(EXTRA_TARGET_FLAGS); do \
22599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22601 (cd $(TARGET_SUBDIR)/boehm-gc && \
22602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22604 "RANLIB=$${RANLIB}" \
22605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22610 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
22611 maybe-dvi-target-boehm-gc:
22613 dvi-target-boehm-gc: \
22614 configure-target-boehm-gc
22615 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
22616 r=`${PWD_COMMAND}`; export r; \
22617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22619 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
22620 for flag in $(EXTRA_TARGET_FLAGS); do \
22621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22623 (cd $(TARGET_SUBDIR)/boehm-gc && \
22624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22626 "RANLIB=$${RANLIB}" \
22627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22632 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
22633 maybe-TAGS-target-boehm-gc:
22635 TAGS-target-boehm-gc: \
22636 configure-target-boehm-gc
22637 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
22638 r=`${PWD_COMMAND}`; export r; \
22639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22641 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
22642 for flag in $(EXTRA_TARGET_FLAGS); do \
22643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22645 (cd $(TARGET_SUBDIR)/boehm-gc && \
22646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22648 "RANLIB=$${RANLIB}" \
22649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22654 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
22655 maybe-install-info-target-boehm-gc:
22657 install-info-target-boehm-gc: \
22658 configure-target-boehm-gc \
22659 info-target-boehm-gc
22660 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
22661 r=`${PWD_COMMAND}`; export r; \
22662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22664 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
22665 for flag in $(EXTRA_TARGET_FLAGS); do \
22666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22668 (cd $(TARGET_SUBDIR)/boehm-gc && \
22669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22671 "RANLIB=$${RANLIB}" \
22672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22677 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
22678 maybe-installcheck-target-boehm-gc:
22680 installcheck-target-boehm-gc: \
22681 configure-target-boehm-gc
22682 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
22683 r=`${PWD_COMMAND}`; export r; \
22684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22686 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
22687 for flag in $(EXTRA_TARGET_FLAGS); do \
22688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22690 (cd $(TARGET_SUBDIR)/boehm-gc && \
22691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22693 "RANLIB=$${RANLIB}" \
22694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22699 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
22700 maybe-mostlyclean-target-boehm-gc:
22702 mostlyclean-target-boehm-gc:
22703 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
22704 r=`${PWD_COMMAND}`; export r; \
22705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22707 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
22708 for flag in $(EXTRA_TARGET_FLAGS); do \
22709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22711 (cd $(TARGET_SUBDIR)/boehm-gc && \
22712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22714 "RANLIB=$${RANLIB}" \
22715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22720 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
22721 maybe-clean-target-boehm-gc:
22723 clean-target-boehm-gc:
22724 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
22725 r=`${PWD_COMMAND}`; export r; \
22726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22728 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
22729 for flag in $(EXTRA_TARGET_FLAGS); do \
22730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22732 (cd $(TARGET_SUBDIR)/boehm-gc && \
22733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22735 "RANLIB=$${RANLIB}" \
22736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22741 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
22742 maybe-distclean-target-boehm-gc:
22744 distclean-target-boehm-gc:
22745 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
22746 r=`${PWD_COMMAND}`; export r; \
22747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22749 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
22750 for flag in $(EXTRA_TARGET_FLAGS); do \
22751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22753 (cd $(TARGET_SUBDIR)/boehm-gc && \
22754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22756 "RANLIB=$${RANLIB}" \
22757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22762 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
22763 maybe-maintainer-clean-target-boehm-gc:
22765 maintainer-clean-target-boehm-gc:
22766 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
22767 r=`${PWD_COMMAND}`; export r; \
22768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22770 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
22771 for flag in $(EXTRA_TARGET_FLAGS); do \
22772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22774 (cd $(TARGET_SUBDIR)/boehm-gc && \
22775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22777 "RANLIB=$${RANLIB}" \
22778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22779 maintainer-clean) \
22784 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
22785 maybe-configure-target-qthreads:
22787 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22788 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
22789 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
22790 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
22791 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
22793 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
22794 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
22795 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
22796 r=`${PWD_COMMAND}`; export r; \
22797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22799 AR="$(AR_FOR_TARGET)"; export AR; \
22800 AS="$(AS_FOR_TARGET)"; export AS; \
22801 CC="$(CC_FOR_TARGET)"; export CC; \
22802 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22803 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
22804 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22805 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22806 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22807 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22808 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22809 LD="$(LD_FOR_TARGET)"; export LD; \
22810 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22811 NM="$(NM_FOR_TARGET)"; export NM; \
22812 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22813 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22814 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
22815 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
22816 case $(srcdir) in \
22817 /* | [A-Za-z]:[\\/]*) \
22818 topdir=$(srcdir) ;; \
22820 case "$(TARGET_SUBDIR)" in \
22821 .) topdir="../$(srcdir)" ;; \
22822 *) topdir="../../$(srcdir)" ;; \
22825 srcdiroption="--srcdir=$${topdir}/qthreads"; \
22826 libsrcdir="$$s/qthreads"; \
22827 rm -f no-such-file || : ; \
22828 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22829 $(TARGET_CONFIGARGS) $${srcdiroption} \
22830 --with-target-subdir="$(TARGET_SUBDIR)" \
22833 .PHONY: all-target-qthreads maybe-all-target-qthreads
22834 maybe-all-target-qthreads:
22835 all-target-qthreads: configure-target-qthreads
22836 @r=`${PWD_COMMAND}`; export r; \
22837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22839 (cd $(TARGET_SUBDIR)/qthreads && \
22840 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22842 .PHONY: check-target-qthreads maybe-check-target-qthreads
22843 maybe-check-target-qthreads:
22845 check-target-qthreads:
22846 @r=`${PWD_COMMAND}`; export r; \
22847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22849 (cd $(TARGET_SUBDIR)/qthreads && \
22850 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22853 .PHONY: install-target-qthreads maybe-install-target-qthreads
22854 maybe-install-target-qthreads:
22856 install-target-qthreads: installdirs
22857 @r=`${PWD_COMMAND}`; export r; \
22858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22860 (cd $(TARGET_SUBDIR)/qthreads && \
22861 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22864 # Other targets (info, dvi, etc.)
22866 .PHONY: maybe-info-target-qthreads info-target-qthreads
22867 maybe-info-target-qthreads:
22869 info-target-qthreads: \
22870 configure-target-qthreads
22871 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
22872 r=`${PWD_COMMAND}`; export r; \
22873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22875 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
22876 for flag in $(EXTRA_TARGET_FLAGS); do \
22877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22879 (cd $(TARGET_SUBDIR)/qthreads && \
22880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22882 "RANLIB=$${RANLIB}" \
22883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22888 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
22889 maybe-dvi-target-qthreads:
22891 dvi-target-qthreads: \
22892 configure-target-qthreads
22893 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
22894 r=`${PWD_COMMAND}`; export r; \
22895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22897 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
22898 for flag in $(EXTRA_TARGET_FLAGS); do \
22899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22901 (cd $(TARGET_SUBDIR)/qthreads && \
22902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22904 "RANLIB=$${RANLIB}" \
22905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22910 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
22911 maybe-TAGS-target-qthreads:
22913 TAGS-target-qthreads: \
22914 configure-target-qthreads
22915 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
22916 r=`${PWD_COMMAND}`; export r; \
22917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22919 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
22920 for flag in $(EXTRA_TARGET_FLAGS); do \
22921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22923 (cd $(TARGET_SUBDIR)/qthreads && \
22924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22926 "RANLIB=$${RANLIB}" \
22927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22932 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
22933 maybe-install-info-target-qthreads:
22935 install-info-target-qthreads: \
22936 configure-target-qthreads \
22937 info-target-qthreads
22938 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
22939 r=`${PWD_COMMAND}`; export r; \
22940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22942 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
22943 for flag in $(EXTRA_TARGET_FLAGS); do \
22944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22946 (cd $(TARGET_SUBDIR)/qthreads && \
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}" \
22955 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
22956 maybe-installcheck-target-qthreads:
22958 installcheck-target-qthreads: \
22959 configure-target-qthreads
22960 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
22961 r=`${PWD_COMMAND}`; export r; \
22962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22964 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
22965 for flag in $(EXTRA_TARGET_FLAGS); do \
22966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22968 (cd $(TARGET_SUBDIR)/qthreads && \
22969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22971 "RANLIB=$${RANLIB}" \
22972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22977 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
22978 maybe-mostlyclean-target-qthreads:
22980 mostlyclean-target-qthreads:
22981 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
22982 r=`${PWD_COMMAND}`; export r; \
22983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22985 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
22986 for flag in $(EXTRA_TARGET_FLAGS); do \
22987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22989 (cd $(TARGET_SUBDIR)/qthreads && \
22990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22992 "RANLIB=$${RANLIB}" \
22993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22998 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
22999 maybe-clean-target-qthreads:
23001 clean-target-qthreads:
23002 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
23003 r=`${PWD_COMMAND}`; export r; \
23004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23006 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
23007 for flag in $(EXTRA_TARGET_FLAGS); do \
23008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23010 (cd $(TARGET_SUBDIR)/qthreads && \
23011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23013 "RANLIB=$${RANLIB}" \
23014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23019 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
23020 maybe-distclean-target-qthreads:
23022 distclean-target-qthreads:
23023 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
23024 r=`${PWD_COMMAND}`; export r; \
23025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23027 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
23028 for flag in $(EXTRA_TARGET_FLAGS); do \
23029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23031 (cd $(TARGET_SUBDIR)/qthreads && \
23032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23034 "RANLIB=$${RANLIB}" \
23035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23040 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
23041 maybe-maintainer-clean-target-qthreads:
23043 maintainer-clean-target-qthreads:
23044 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
23045 r=`${PWD_COMMAND}`; export r; \
23046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23048 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
23049 for flag in $(EXTRA_TARGET_FLAGS); do \
23050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23052 (cd $(TARGET_SUBDIR)/qthreads && \
23053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23055 "RANLIB=$${RANLIB}" \
23056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23057 maintainer-clean) \
23062 .PHONY: configure-target-rda maybe-configure-target-rda
23063 maybe-configure-target-rda:
23065 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23066 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
23067 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
23068 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
23069 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
23071 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
23072 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
23073 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
23074 r=`${PWD_COMMAND}`; export r; \
23075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23077 AR="$(AR_FOR_TARGET)"; export AR; \
23078 AS="$(AS_FOR_TARGET)"; export AS; \
23079 CC="$(CC_FOR_TARGET)"; export CC; \
23080 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23081 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
23082 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23083 CXX="$(CXX_FOR_TARGET)"; export CXX; \
23084 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23085 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23086 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23087 LD="$(LD_FOR_TARGET)"; export LD; \
23088 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23089 NM="$(NM_FOR_TARGET)"; export NM; \
23090 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23091 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23092 echo Configuring in $(TARGET_SUBDIR)/rda; \
23093 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
23094 case $(srcdir) in \
23095 /* | [A-Za-z]:[\\/]*) \
23096 topdir=$(srcdir) ;; \
23098 case "$(TARGET_SUBDIR)" in \
23099 .) topdir="../$(srcdir)" ;; \
23100 *) topdir="../../$(srcdir)" ;; \
23103 srcdiroption="--srcdir=$${topdir}/rda"; \
23104 libsrcdir="$$s/rda"; \
23105 rm -f no-such-file || : ; \
23106 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23107 $(TARGET_CONFIGARGS) $${srcdiroption} \
23108 --with-target-subdir="$(TARGET_SUBDIR)" \
23111 .PHONY: all-target-rda maybe-all-target-rda
23112 maybe-all-target-rda:
23113 all-target-rda: configure-target-rda
23114 @r=`${PWD_COMMAND}`; export r; \
23115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23117 (cd $(TARGET_SUBDIR)/rda && \
23118 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23120 .PHONY: check-target-rda maybe-check-target-rda
23121 maybe-check-target-rda:
23124 @r=`${PWD_COMMAND}`; export r; \
23125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23127 (cd $(TARGET_SUBDIR)/rda && \
23128 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23131 .PHONY: install-target-rda maybe-install-target-rda
23132 maybe-install-target-rda:
23134 install-target-rda: installdirs
23135 @r=`${PWD_COMMAND}`; export r; \
23136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23138 (cd $(TARGET_SUBDIR)/rda && \
23139 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23142 # Other targets (info, dvi, etc.)
23144 .PHONY: maybe-info-target-rda info-target-rda
23145 maybe-info-target-rda:
23148 configure-target-rda
23149 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23150 r=`${PWD_COMMAND}`; export r; \
23151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23153 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
23154 for flag in $(EXTRA_TARGET_FLAGS); do \
23155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23157 (cd $(TARGET_SUBDIR)/rda && \
23158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23160 "RANLIB=$${RANLIB}" \
23161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23166 .PHONY: maybe-dvi-target-rda dvi-target-rda
23167 maybe-dvi-target-rda:
23170 configure-target-rda
23171 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23172 r=`${PWD_COMMAND}`; export r; \
23173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23175 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
23176 for flag in $(EXTRA_TARGET_FLAGS); do \
23177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23179 (cd $(TARGET_SUBDIR)/rda && \
23180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23182 "RANLIB=$${RANLIB}" \
23183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23188 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
23189 maybe-TAGS-target-rda:
23192 configure-target-rda
23193 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23194 r=`${PWD_COMMAND}`; export r; \
23195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23197 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
23198 for flag in $(EXTRA_TARGET_FLAGS); do \
23199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23201 (cd $(TARGET_SUBDIR)/rda && \
23202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23204 "RANLIB=$${RANLIB}" \
23205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23210 .PHONY: maybe-install-info-target-rda install-info-target-rda
23211 maybe-install-info-target-rda:
23213 install-info-target-rda: \
23214 configure-target-rda \
23216 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23217 r=`${PWD_COMMAND}`; export r; \
23218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23220 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
23221 for flag in $(EXTRA_TARGET_FLAGS); do \
23222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23224 (cd $(TARGET_SUBDIR)/rda && \
23225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23227 "RANLIB=$${RANLIB}" \
23228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23233 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
23234 maybe-installcheck-target-rda:
23236 installcheck-target-rda: \
23237 configure-target-rda
23238 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23239 r=`${PWD_COMMAND}`; export r; \
23240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23242 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
23243 for flag in $(EXTRA_TARGET_FLAGS); do \
23244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23246 (cd $(TARGET_SUBDIR)/rda && \
23247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23249 "RANLIB=$${RANLIB}" \
23250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23255 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
23256 maybe-mostlyclean-target-rda:
23258 mostlyclean-target-rda:
23259 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23260 r=`${PWD_COMMAND}`; export r; \
23261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23263 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
23264 for flag in $(EXTRA_TARGET_FLAGS); do \
23265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23267 (cd $(TARGET_SUBDIR)/rda && \
23268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23270 "RANLIB=$${RANLIB}" \
23271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23276 .PHONY: maybe-clean-target-rda clean-target-rda
23277 maybe-clean-target-rda:
23280 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23281 r=`${PWD_COMMAND}`; export r; \
23282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23284 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
23285 for flag in $(EXTRA_TARGET_FLAGS); do \
23286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23288 (cd $(TARGET_SUBDIR)/rda && \
23289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23291 "RANLIB=$${RANLIB}" \
23292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23297 .PHONY: maybe-distclean-target-rda distclean-target-rda
23298 maybe-distclean-target-rda:
23300 distclean-target-rda:
23301 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23302 r=`${PWD_COMMAND}`; export r; \
23303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23305 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
23306 for flag in $(EXTRA_TARGET_FLAGS); do \
23307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23309 (cd $(TARGET_SUBDIR)/rda && \
23310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23312 "RANLIB=$${RANLIB}" \
23313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23318 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
23319 maybe-maintainer-clean-target-rda:
23321 maintainer-clean-target-rda:
23322 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23323 r=`${PWD_COMMAND}`; export r; \
23324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23326 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
23327 for flag in $(EXTRA_TARGET_FLAGS); do \
23328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23330 (cd $(TARGET_SUBDIR)/rda && \
23331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23333 "RANLIB=$${RANLIB}" \
23334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23335 maintainer-clean) \
23340 .PHONY: configure-target-libada maybe-configure-target-libada
23341 maybe-configure-target-libada:
23343 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23344 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
23345 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
23346 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
23347 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
23349 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
23350 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
23351 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
23352 r=`${PWD_COMMAND}`; export r; \
23353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23355 AR="$(AR_FOR_TARGET)"; export AR; \
23356 AS="$(AS_FOR_TARGET)"; export AS; \
23357 CC="$(CC_FOR_TARGET)"; export CC; \
23358 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23359 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
23360 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23361 CXX="$(CXX_FOR_TARGET)"; export CXX; \
23362 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23363 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23364 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23365 LD="$(LD_FOR_TARGET)"; export LD; \
23366 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23367 NM="$(NM_FOR_TARGET)"; export NM; \
23368 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23369 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23370 echo Configuring in $(TARGET_SUBDIR)/libada; \
23371 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
23372 case $(srcdir) in \
23373 /* | [A-Za-z]:[\\/]*) \
23374 topdir=$(srcdir) ;; \
23376 case "$(TARGET_SUBDIR)" in \
23377 .) topdir="../$(srcdir)" ;; \
23378 *) topdir="../../$(srcdir)" ;; \
23381 srcdiroption="--srcdir=$${topdir}/libada"; \
23382 libsrcdir="$$s/libada"; \
23383 rm -f no-such-file || : ; \
23384 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23385 $(TARGET_CONFIGARGS) $${srcdiroption} \
23386 --with-target-subdir="$(TARGET_SUBDIR)" \
23389 .PHONY: all-target-libada maybe-all-target-libada
23390 maybe-all-target-libada:
23391 all-target-libada: configure-target-libada
23392 @r=`${PWD_COMMAND}`; export r; \
23393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23395 (cd $(TARGET_SUBDIR)/libada && \
23396 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23398 .PHONY: check-target-libada maybe-check-target-libada
23399 maybe-check-target-libada:
23401 check-target-libada:
23402 @r=`${PWD_COMMAND}`; export r; \
23403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23405 (cd $(TARGET_SUBDIR)/libada && \
23406 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23409 .PHONY: install-target-libada maybe-install-target-libada
23410 maybe-install-target-libada:
23412 install-target-libada: installdirs
23413 @r=`${PWD_COMMAND}`; export r; \
23414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23416 (cd $(TARGET_SUBDIR)/libada && \
23417 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23420 # Other targets (info, dvi, etc.)
23422 .PHONY: maybe-info-target-libada info-target-libada
23423 maybe-info-target-libada:
23425 info-target-libada: \
23426 configure-target-libada
23427 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
23428 r=`${PWD_COMMAND}`; export r; \
23429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23431 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
23432 for flag in $(EXTRA_TARGET_FLAGS); do \
23433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23435 (cd $(TARGET_SUBDIR)/libada && \
23436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23438 "RANLIB=$${RANLIB}" \
23439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23444 .PHONY: maybe-dvi-target-libada dvi-target-libada
23445 maybe-dvi-target-libada:
23447 dvi-target-libada: \
23448 configure-target-libada
23449 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
23450 r=`${PWD_COMMAND}`; export r; \
23451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23453 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
23454 for flag in $(EXTRA_TARGET_FLAGS); do \
23455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23457 (cd $(TARGET_SUBDIR)/libada && \
23458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23460 "RANLIB=$${RANLIB}" \
23461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23466 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
23467 maybe-TAGS-target-libada:
23469 TAGS-target-libada: \
23470 configure-target-libada
23471 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
23472 r=`${PWD_COMMAND}`; export r; \
23473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23475 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
23476 for flag in $(EXTRA_TARGET_FLAGS); do \
23477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23479 (cd $(TARGET_SUBDIR)/libada && \
23480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23482 "RANLIB=$${RANLIB}" \
23483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23488 .PHONY: maybe-install-info-target-libada install-info-target-libada
23489 maybe-install-info-target-libada:
23491 install-info-target-libada: \
23492 configure-target-libada \
23494 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
23495 r=`${PWD_COMMAND}`; export r; \
23496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23498 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
23499 for flag in $(EXTRA_TARGET_FLAGS); do \
23500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23502 (cd $(TARGET_SUBDIR)/libada && \
23503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23505 "RANLIB=$${RANLIB}" \
23506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23511 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
23512 maybe-installcheck-target-libada:
23514 installcheck-target-libada: \
23515 configure-target-libada
23516 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
23517 r=`${PWD_COMMAND}`; export r; \
23518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23520 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
23521 for flag in $(EXTRA_TARGET_FLAGS); do \
23522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23524 (cd $(TARGET_SUBDIR)/libada && \
23525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23527 "RANLIB=$${RANLIB}" \
23528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23533 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
23534 maybe-mostlyclean-target-libada:
23536 mostlyclean-target-libada:
23537 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
23538 r=`${PWD_COMMAND}`; export r; \
23539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23541 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
23542 for flag in $(EXTRA_TARGET_FLAGS); do \
23543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23545 (cd $(TARGET_SUBDIR)/libada && \
23546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23548 "RANLIB=$${RANLIB}" \
23549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23554 .PHONY: maybe-clean-target-libada clean-target-libada
23555 maybe-clean-target-libada:
23557 clean-target-libada:
23558 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
23559 r=`${PWD_COMMAND}`; export r; \
23560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23562 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
23563 for flag in $(EXTRA_TARGET_FLAGS); do \
23564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23566 (cd $(TARGET_SUBDIR)/libada && \
23567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23569 "RANLIB=$${RANLIB}" \
23570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23575 .PHONY: maybe-distclean-target-libada distclean-target-libada
23576 maybe-distclean-target-libada:
23578 distclean-target-libada:
23579 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
23580 r=`${PWD_COMMAND}`; export r; \
23581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23583 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
23584 for flag in $(EXTRA_TARGET_FLAGS); do \
23585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23587 (cd $(TARGET_SUBDIR)/libada && \
23588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23590 "RANLIB=$${RANLIB}" \
23591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23596 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
23597 maybe-maintainer-clean-target-libada:
23599 maintainer-clean-target-libada:
23600 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
23601 r=`${PWD_COMMAND}`; export r; \
23602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23604 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
23605 for flag in $(EXTRA_TARGET_FLAGS); do \
23606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23608 (cd $(TARGET_SUBDIR)/libada && \
23609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23611 "RANLIB=$${RANLIB}" \
23612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23613 maintainer-clean) \
23623 # Unfortunately, while gcc _should_ be a host module,
23624 # libgcc is a target module, and gen* programs are
23625 # build modules. So GCC is a sort of hybrid.
23627 # gcc is the only module which uses GCC_FLAGS_TO_PASS.
23628 # Don't use shared host config.cache, as it will confuse later
23629 # directories; GCC wants slightly different values for some
23630 # precious variables. *sigh*
23632 # We must skip configuring if toplevel bootstrap is going.
23633 .PHONY: configure-gcc maybe-configure-gcc
23634 maybe-configure-gcc:
23636 @test ! -f gcc/Makefile || exit 0; \
23637 [ -f stage_last ] && exit 0; \
23638 [ -d gcc ] || mkdir gcc; \
23639 r=`${PWD_COMMAND}`; export r; \
23640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23641 CC="$(CC)"; export CC; \
23642 CFLAGS="$(CFLAGS)"; export CFLAGS; \
23643 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
23644 CXX="$(CXX)"; export CXX; \
23645 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
23646 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
23647 AR="$(AR)"; export AR; \
23648 AS="$(AS)"; export AS; \
23649 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
23650 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
23651 LD="$(LD)"; export LD; \
23652 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
23653 NM="$(NM)"; export NM; \
23654 RANLIB="$(RANLIB)"; export RANLIB; \
23655 WINDRES="$(WINDRES)"; export WINDRES; \
23656 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
23657 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
23658 echo Configuring in gcc; \
23659 cd gcc || exit 1; \
23660 case $(srcdir) in \
23662 srcdiroption="--srcdir=."; \
23664 /* | [A-Za-z]:[\\/]*) \
23665 srcdiroption="--srcdir=$(srcdir)/gcc"; \
23666 libsrcdir="$$s/gcc";; \
23668 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
23669 libsrcdir="$$s/gcc";; \
23671 $(SHELL) $${libsrcdir}/configure \
23672 $(HOST_CONFIGARGS) $${srcdiroption} \
23675 # Don't 'make all' in gcc if it's already been made by 'bootstrap'; that
23676 # causes trouble. This wart will be fixed eventually by moving
23677 # the bootstrap behavior to this file.
23678 .PHONY: all-gcc maybe-all-gcc
23680 all-gcc: configure-gcc
23681 r=`${PWD_COMMAND}`; export r; \
23682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23683 if [ -f stage_last ] ; then \
23685 elif [ -f gcc/stage_last ] ; then \
23687 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) quickstrap); \
23690 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) all); \
23693 # Building GCC uses some tools for rebuilding "source" files
23694 # like texinfo, bison/byacc, etc. So we must depend on those.
23696 # While building GCC, it may be necessary to run various target
23697 # programs like the assembler, linker, etc. So we depend on
23700 # In theory, on an SMP all those dependencies can be resolved
23703 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
23704 .PHONY: $(GCC_STRAP_TARGETS)
23705 $(GCC_STRAP_TARGETS): all-bootstrap configure-gcc
23706 @r=`${PWD_COMMAND}`; export r; \
23707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23709 echo "Bootstrapping the compiler"; \
23710 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
23711 @r=`${PWD_COMMAND}`; export r; \
23712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23714 *bootstrap4-lean ) \
23715 msg="Comparing stage3 and stage4 of the compiler"; \
23716 compare=compare3-lean ;; \
23718 msg="Comparing stage3 and stage4 of the compiler"; \
23719 compare=compare3 ;; \
23721 msg="Comparing stage2 and stage3 of the compiler"; \
23722 compare=compare-lean ;; \
23724 msg="Comparing stage2 and stage3 of the compiler"; \
23725 compare=compare ;; \
23729 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
23730 @r=`${PWD_COMMAND}`; export r; \
23731 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
23733 echo "Building runtime libraries"; \
23734 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
23736 profiledbootstrap: all-bootstrap configure-gcc
23737 @r=`${PWD_COMMAND}`; export r; \
23738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23740 echo "Bootstrapping the compiler"; \
23741 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
23742 @r=`${PWD_COMMAND}`; export r; \
23743 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
23745 echo "Building runtime libraries and training compiler"; \
23746 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
23747 @r=`${PWD_COMMAND}`; export r; \
23748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23750 echo "Building feedback based compiler"; \
23751 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
23754 cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
23755 @r=`${PWD_COMMAND}`; export r; \
23756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23758 echo "Building the C and C++ compiler"; \
23759 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
23760 @r=`${PWD_COMMAND}`; export r; \
23761 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
23763 echo "Building runtime libraries"; \
23764 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) \
23765 LANGUAGES="c c++" all
23767 .PHONY: check-gcc maybe-check-gcc
23770 @if [ -f ./gcc/Makefile ] ; then \
23771 r=`${PWD_COMMAND}`; export r; \
23772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23774 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check); \
23779 .PHONY: check-gcc-c++
23781 @if [ -f ./gcc/Makefile ] ; then \
23782 r=`${PWD_COMMAND}`; export r; \
23783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23785 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
23791 check-c++: check-target-libstdc++-v3 check-gcc-c++
23793 .PHONY: install-gcc maybe-install-gcc
23796 @if [ -f ./gcc/Makefile ] ; then \
23797 r=`${PWD_COMMAND}`; export r; \
23798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23800 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
23805 # Install the gcc headers files, but not the fixed include files,
23806 # which Cygnus is not allowed to distribute. This rule is very
23807 # dependent on the workings of the gcc Makefile.in.
23808 .PHONY: gcc-no-fixedincludes
23809 gcc-no-fixedincludes:
23810 @if [ -f ./gcc/Makefile ]; then \
23811 rm -rf gcc/tmp-include; \
23812 mv gcc/include gcc/tmp-include 2>/dev/null; \
23813 mkdir gcc/include; \
23814 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
23815 touch gcc/stmp-fixinc gcc/include/fixed; \
23816 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
23817 r=`${PWD_COMMAND}`; export r; \
23818 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
23821 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
23822 rm -rf gcc/include; \
23823 mv gcc/tmp-include gcc/include 2>/dev/null; \
23826 # Other targets (dvi, info, etc.)
23828 .PHONY: maybe-info-gcc info-gcc
23832 @[ -f ./gcc/Makefile ] || exit 0; \
23833 r=`${PWD_COMMAND}`; export r; \
23834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23836 for flag in $(EXTRA_GCC_FLAGS); do \
23837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23839 echo "Doing info in gcc" ; \
23841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23843 "RANLIB=$${RANLIB}" \
23844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23849 .PHONY: maybe-dvi-gcc dvi-gcc
23853 @[ -f ./gcc/Makefile ] || exit 0; \
23854 r=`${PWD_COMMAND}`; export r; \
23855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23857 for flag in $(EXTRA_GCC_FLAGS); do \
23858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23860 echo "Doing dvi in gcc" ; \
23862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23864 "RANLIB=$${RANLIB}" \
23865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23870 .PHONY: maybe-TAGS-gcc TAGS-gcc
23874 @[ -f ./gcc/Makefile ] || exit 0; \
23875 r=`${PWD_COMMAND}`; export r; \
23876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23878 for flag in $(EXTRA_GCC_FLAGS); do \
23879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23881 echo "Doing TAGS in gcc" ; \
23883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23885 "RANLIB=$${RANLIB}" \
23886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23891 .PHONY: maybe-install-info-gcc install-info-gcc
23892 maybe-install-info-gcc:
23893 install-info-gcc: \
23896 @[ -f ./gcc/Makefile ] || exit 0; \
23897 r=`${PWD_COMMAND}`; export r; \
23898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23900 for flag in $(EXTRA_GCC_FLAGS); do \
23901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23903 echo "Doing install-info in gcc" ; \
23905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23907 "RANLIB=$${RANLIB}" \
23908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23913 .PHONY: maybe-installcheck-gcc installcheck-gcc
23914 maybe-installcheck-gcc:
23915 installcheck-gcc: \
23917 @[ -f ./gcc/Makefile ] || exit 0; \
23918 r=`${PWD_COMMAND}`; export r; \
23919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23921 for flag in $(EXTRA_GCC_FLAGS); do \
23922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23924 echo "Doing installcheck in gcc" ; \
23926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23928 "RANLIB=$${RANLIB}" \
23929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23934 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
23935 maybe-mostlyclean-gcc:
23937 @[ -f ./gcc/Makefile ] || exit 0; \
23938 r=`${PWD_COMMAND}`; export r; \
23939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23941 for flag in $(EXTRA_GCC_FLAGS); do \
23942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23944 echo "Doing mostlyclean in gcc" ; \
23946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23948 "RANLIB=$${RANLIB}" \
23949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23954 .PHONY: maybe-clean-gcc clean-gcc
23957 @[ -f ./gcc/Makefile ] || exit 0; \
23958 r=`${PWD_COMMAND}`; export r; \
23959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23961 for flag in $(EXTRA_GCC_FLAGS); do \
23962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23964 echo "Doing clean in gcc" ; \
23966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23968 "RANLIB=$${RANLIB}" \
23969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23974 .PHONY: maybe-distclean-gcc distclean-gcc
23975 maybe-distclean-gcc:
23977 @[ -f ./gcc/Makefile ] || exit 0; \
23978 r=`${PWD_COMMAND}`; export r; \
23979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23981 for flag in $(EXTRA_GCC_FLAGS); do \
23982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23984 echo "Doing distclean in gcc" ; \
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}" \
23994 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
23995 maybe-maintainer-clean-gcc:
23996 maintainer-clean-gcc:
23997 @[ -f ./gcc/Makefile ] || exit 0; \
23998 r=`${PWD_COMMAND}`; export r; \
23999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24001 for flag in $(EXTRA_GCC_FLAGS); do \
24002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24004 echo "Doing maintainer-clean in gcc" ; \
24006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24008 "RANLIB=$${RANLIB}" \
24009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24010 maintainer-clean) \
24015 # ---------------------
24016 # GCC bootstrap support
24017 # ---------------------
24019 # We name the directories for the various stages "stage1-gcc",
24020 # "stage2-gcc","stage3-gcc", etc.
24021 # Unfortunately, the 'compare' process will fail (on debugging information)
24022 # if any directory names are different!
24023 # So in the building rule for each stage, we relocate them before and after.
24024 # The current one is 'gcc', while the previous one is 'prev-gcc'. (The
24025 # current one must be 'gcc' for now because the scripts in that directory
24027 # At the end of the bootstrap, 'stage3-gcc' must be moved to 'gcc' so that
24028 # libraries can find it. Ick!
24030 # Bugs: This is almost certainly not parallel-make safe.
24032 # 'touch' doesn't work right on some platforms.
24033 STAMP = echo timestamp >
24035 # Only build the C compiler for stage1, because that is the only one that
24036 # we can guarantee will build with the native compiler, and also it is the
24037 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
24038 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
24039 # overrideable (for a bootstrap build stage1 also builds gcc.info).
24041 STAGE1_CFLAGS=@stage1_cflags@
24042 STAGE1_LANGUAGES=@stage1_languages@
24045 # * We force-disable intermodule optimizations, even if
24046 # --enable-intermodule was passed, since the installed compiler probably
24047 # can't handle them. Luckily, autoconf always respects
24048 # the last argument when conflicting --enable arguments are passed.
24049 # * Likewise, we force-disable coverage flags, since the installed compiler
24050 # probably has never heard of them.
24051 # * We build only C (and possibly Ada).
24052 configure-stage1-gcc:
24053 echo configure-stage1-gcc > stage_last ; \
24054 if [ -f stage1-gcc/Makefile ] ; then \
24055 $(STAMP) configure-stage1-gcc ; \
24060 [ -d stage1-gcc ] || mkdir stage1-gcc; \
24061 mv stage1-gcc gcc ; \
24062 r=`${PWD_COMMAND}`; export r; \
24063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24064 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
24065 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
24066 CC="$(CC)"; export CC; \
24067 CFLAGS="$(CFLAGS)"; export CFLAGS; \
24068 CXX="$(CXX)"; export CXX; \
24069 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
24070 AR="$(AR)"; export AR; \
24071 AS="$(AS)"; export AS; \
24072 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
24073 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
24074 LD="$(LD)"; export LD; \
24075 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
24076 NM="$(NM)"; export NM; \
24077 RANLIB="$(RANLIB)"; export RANLIB; \
24078 WINDRES="$(WINDRES)"; export WINDRES; \
24079 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
24080 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
24081 echo Configuring stage 1 in gcc; \
24082 cd gcc || exit 1; \
24083 case $(srcdir) in \
24085 srcdiroption="--srcdir=."; \
24087 /* | [A-Za-z]:[\\/]*) \
24088 srcdiroption="--srcdir=$(srcdir)/gcc"; \
24089 libsrcdir="$$s/gcc";; \
24091 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
24092 libsrcdir="$$s/gcc";; \
24094 $(SHELL) $${libsrcdir}/configure \
24095 $(HOST_CONFIGARGS) $${srcdiroption} \
24096 --disable-intermodule --disable-coverage \
24097 --enable-languages="$(STAGE1_LANGUAGES)"; \
24099 mv gcc stage1-gcc ; \
24100 $(STAMP) configure-stage1-gcc
24102 # Real targets act phony if they depend on phony targets; this hack
24103 # prevents gratuitous rebuilding of stage 1.
24105 $(MAKE) all-bootstrap
24106 $(STAMP) prebootstrap
24108 all-stage1-gcc: configure-stage1-gcc prebootstrap
24109 echo all-stage1-gcc > stage_last ; \
24110 r=`${PWD_COMMAND}`; export r; \
24111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24112 mv stage1-gcc gcc ; \
24114 $(MAKE) $(GCC_FLAGS_TO_PASS) \
24115 CFLAGS="$(STAGE1_CFLAGS)" \
24118 mv gcc stage1-gcc ; \
24119 $(STAMP) all-stage1-gcc
24121 # TODO: Deal with STAGE_PREFIX (which is only for ada, incidentally)
24122 # Possibly pass --enable-werror-always (depending on --enable-werror);
24123 # that's what @stage2_werror_flag@ is for
24124 configure-stage2-gcc: all-stage1-gcc
24125 echo configure-stage2-gcc > stage_last ; \
24126 if [ -f stage2-gcc/Makefile ] ; then \
24127 $(STAMP) configure-stage2-gcc ; \
24132 [ -d stage2-gcc ] || mkdir stage2-gcc; \
24133 mv stage2-gcc gcc ; \
24134 mv stage1-gcc prev-gcc ; \
24135 r=`${PWD_COMMAND}`; export r; \
24136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24137 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
24138 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
24139 CFLAGS="$(CFLAGS)"; export CFLAGS; \
24140 CXX="$(CXX)"; export CXX; \
24141 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
24142 AR="$(AR)"; export AR; \
24143 AS="$(AS)"; export AS; \
24144 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
24145 LD="$(LD)"; export LD; \
24146 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
24147 NM="$(NM)"; export NM; \
24148 RANLIB="$(RANLIB)"; export RANLIB; \
24149 WINDRES="$(WINDRES)"; export WINDRES; \
24150 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
24151 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
24152 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
24153 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \
24154 echo Configuring stage 2 in gcc; \
24155 cd gcc || exit 1; \
24156 case $(srcdir) in \
24158 srcdiroption="--srcdir=."; \
24160 /* | [A-Za-z]:[\\/]*) \
24161 srcdiroption="--srcdir=$(srcdir)/gcc"; \
24162 libsrcdir="$$s/gcc";; \
24164 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
24165 libsrcdir="$$s/gcc";; \
24167 $(SHELL) $${libsrcdir}/configure \
24168 $(HOST_CONFIGARGS) $${srcdiroption} @stage2_werror_flag@ ; \
24170 mv gcc stage2-gcc ; \
24171 mv prev-gcc stage1-gcc ; \
24172 $(STAMP) configure-stage2-gcc
24174 # Flags to pass to stage2 and later makes.
24175 BOOT_CFLAGS= -g -O2
24176 POSTSTAGE1_FLAGS_TO_PASS = \
24177 CFLAGS="$(BOOT_CFLAGS)" \
24180 all-stage2-gcc: all-stage1-gcc configure-stage2-gcc
24181 echo all-stage2-gcc > stage_last ; \
24182 r=`${PWD_COMMAND}`; export r; \
24183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24184 mv stage2-gcc gcc ; \
24185 mv stage1-gcc prev-gcc ; \
24187 $(MAKE) $(GCC_FLAGS_TO_PASS) \
24188 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/" \
24189 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/" \
24190 STAGE_PREFIX=$$r/prev-gcc/ \
24191 $(POSTSTAGE1_FLAGS_TO_PASS) || exit 1 ; \
24193 mv prev-gcc stage1-gcc ; \
24194 mv gcc stage2-gcc ; \
24195 $(STAMP) all-stage2-gcc
24197 configure-stage3-gcc: all-stage2-gcc
24198 echo configure-stage3-gcc > stage_last ; \
24199 if [ -f stage3-gcc/Makefile ] ; then \
24200 $(STAMP) configure-stage3-gcc ; \
24205 [ -d stage3-gcc ] || mkdir stage3-gcc; \
24206 mv stage3-gcc gcc ; \
24207 mv stage2-gcc prev-gcc ; \
24208 r=`${PWD_COMMAND}`; export r; \
24209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24210 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
24211 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
24212 CFLAGS="$(CFLAGS)"; export CFLAGS; \
24213 CXX="$(CXX)"; export CXX; \
24214 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
24215 AR="$(AR)"; export AR; \
24216 AS="$(AS)"; export AS; \
24217 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
24218 LD="$(LD)"; export LD; \
24219 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
24220 NM="$(NM)"; export NM; \
24221 RANLIB="$(RANLIB)"; export RANLIB; \
24222 WINDRES="$(WINDRES)"; export WINDRES; \
24223 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
24224 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
24225 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
24226 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \
24227 echo Configuring stage 3 in gcc; \
24228 cd gcc || exit 1; \
24229 case $(srcdir) in \
24231 srcdiroption="--srcdir=."; \
24233 /* | [A-Za-z]:[\\/]*) \
24234 srcdiroption="--srcdir=$(srcdir)/gcc"; \
24235 libsrcdir="$$s/gcc";; \
24237 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
24238 libsrcdir="$$s/gcc";; \
24240 $(SHELL) $${libsrcdir}/configure \
24241 $(HOST_CONFIGARGS) $${srcdiroption} @stage2_werror_flag@ ; \
24243 mv gcc stage3-gcc ; \
24244 mv prev-gcc stage2-gcc ; \
24245 $(STAMP) configure-stage3-gcc
24247 all-stage3-gcc: all-stage2-gcc configure-stage3-gcc
24248 echo all-stage3-gcc > stage_last ; \
24249 r=`${PWD_COMMAND}`; export r; \
24250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24251 mv stage2-gcc prev-gcc ; \
24252 mv stage3-gcc gcc ; \
24254 $(MAKE) $(GCC_FLAGS_TO_PASS) \
24255 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/" \
24256 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/" \
24257 STAGE_PREFIX=$$r/prev-gcc/ \
24258 $(POSTSTAGE1_FLAGS_TO_PASS) || exit 1 ; \
24260 mv prev-gcc stage2-gcc ; \
24261 mv gcc stage3-gcc ; \
24262 $(STAMP) all-stage3-gcc
24264 # We only want to compare .o files, so set this!
24267 compare: all-stage3-gcc
24268 r=`${PWD_COMMAND}`; export r; \
24269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24270 rm -f .bad_compare ; \
24272 files=`find . -name "*$(objext)" -print` ; \
24274 for file in $${files} ; do \
24275 cmp --ignore-initial=16 $$r/stage2-gcc/$$file $$r/stage3-gcc/$$file \
24276 > /dev/null 2>&1; \
24277 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
24279 if [ -f .bad_compare ]; then \
24280 echo "Bootstrap comparison failure!"; \
24281 cat .bad_compare; \
24288 .PHONY: new-bootstrap
24289 # This target exists so that everything can be made in one pass.
24290 # 'all-gcc' has to avoid stomping on the bootstrap-generated gcc for
24292 new-bootstrap: compare
24293 mv stage3-gcc gcc ; \
24297 # --------------------------------------
24298 # Dependencies between different modules
24299 # --------------------------------------
24301 # There are two types of dependencies here: 'hard' dependencies, where one
24302 # module simply won't build without the other; and 'soft' dependencies, where
24303 # if the depended-on module is missing, the depending module will do without
24304 # or find a substitute somewhere (perhaps installed). Soft dependencies
24305 # are specified by depending on a 'maybe-' target. If you're not sure,
24306 # it's safer to use a soft dependency.
24308 # Host modules specific to gcc.
24309 # GCC needs to identify certain tools.
24310 # GCC also needs the information exported by the intl configure script.
24311 configure-gcc: maybe-configure-intl maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex
24312 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
24313 # This is a slightly kludgy method of getting dependencies on
24314 # all-build-libiberty correct; it would be better to build it every time.
24315 all-gcc: maybe-all-build-libiberty
24316 all-bootstrap: maybe-all-libiberty maybe-all-intl maybe-all-texinfo maybe-all-bison maybe-all-byacc maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib
24318 # Host modules specific to gdb.
24319 # GDB needs to know that the simulator is being built.
24320 configure-gdb: maybe-configure-itcl maybe-configure-tcl maybe-configure-tk maybe-configure-sim
24322 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)
24323 install-gdb: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui
24324 configure-libgui: maybe-configure-tcl maybe-configure-tk
24325 all-libgui: maybe-all-tcl maybe-all-tk maybe-all-itcl
24327 # Host modules specific to binutils.
24328 configure-bfd: configure-libiberty
24329 all-bfd: maybe-all-libiberty maybe-all-intl
24330 all-binutils: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex maybe-all-bison maybe-all-byacc maybe-all-intl
24331 # We put install-opcodes before install-binutils because the installed
24332 # binutils might be on PATH, and they might need the shared opcodes
24334 install-binutils: maybe-install-opcodes
24335 # libopcodes depends on libbfd
24336 install-opcodes: maybe-install-bfd
24337 all-gas: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl
24338 all-gprof: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl
24339 all-ld: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl
24340 all-opcodes: maybe-all-bfd maybe-all-libiberty
24342 # Other host modules in the 'src' repository.
24343 all-dejagnu: maybe-all-tcl maybe-all-expect maybe-all-tk
24344 configure-expect: maybe-configure-tcl maybe-configure-tk
24345 all-expect: maybe-all-tcl maybe-all-tk
24346 configure-itcl: maybe-configure-tcl maybe-configure-tk
24347 all-itcl: maybe-all-tcl maybe-all-tk
24348 # We put install-tcl before install-itcl because itcl wants to run a
24349 # program on installation which uses the Tcl libraries.
24350 install-itcl: maybe-install-tcl
24351 all-sid: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-tcl maybe-all-tk
24352 install-sid: maybe-install-tcl maybe-install-tk
24353 all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb
24354 configure-tk: maybe-configure-tcl
24355 all-tk: maybe-all-tcl
24356 configure-tix: maybe-configure-tcl maybe-configure-tk
24357 all-tix: maybe-all-tcl maybe-all-tk
24358 all-texinfo: maybe-all-libiberty
24360 # Other host modules. Warning, these are not well tested.
24361 all-autoconf: maybe-all-m4 maybe-all-texinfo
24362 all-automake: maybe-all-m4 maybe-all-texinfo
24363 all-bison: maybe-all-texinfo
24364 all-diff: maybe-all-libiberty
24365 all-fastjar: maybe-all-zlib maybe-all-libiberty
24366 all-fileutils: maybe-all-libiberty
24367 all-flex: maybe-all-libiberty maybe-all-bison maybe-all-byacc
24368 all-gzip: maybe-all-libiberty
24369 all-hello: maybe-all-libiberty
24370 all-m4: maybe-all-libiberty maybe-all-texinfo
24371 all-make: maybe-all-libiberty maybe-all-intl
24372 all-patch: maybe-all-libiberty
24373 all-prms: maybe-all-libiberty
24374 all-recode: maybe-all-libiberty
24375 all-sed: maybe-all-libiberty
24376 all-send-pr: maybe-all-prms
24377 all-tar: maybe-all-libiberty
24378 all-uudecode: maybe-all-libiberty
24380 ALL_GCC = maybe-all-gcc
24381 ALL_GCC_C = $(ALL_GCC) maybe-all-target-newlib maybe-all-target-libgloss
24382 ALL_GCC_CXX = $(ALL_GCC_C) maybe-all-target-libstdc++-v3
24384 # Target modules specific to gcc.
24385 configure-target-boehm-gc: $(ALL_GCC_C) maybe-configure-target-qthreads
24386 configure-target-fastjar: maybe-configure-target-zlib
24387 all-target-fastjar: maybe-all-target-zlib maybe-all-target-libiberty
24388 configure-target-libada: $(ALL_GCC_C)
24389 configure-target-libf2c: $(ALL_GCC_C)
24390 all-target-libf2c: maybe-all-target-libiberty
24391 configure-target-libffi: $(ALL_GCC_C)
24392 configure-target-libjava: $(ALL_GCC_C) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi
24393 all-target-libjava: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi
24394 configure-target-libobjc: $(ALL_GCC_C)
24395 all-target-libobjc: maybe-all-target-libiberty
24396 configure-target-libstdc++-v3: $(ALL_GCC_C)
24397 all-target-libstdc++-v3: maybe-all-target-libiberty
24398 configure-target-zlib: $(ALL_GCC_C)
24400 # Target modules in the 'src' repository.
24401 configure-target-examples: $(ALL_GCC_C)
24402 configure-target-libgloss: $(ALL_GCC)
24403 all-target-libgloss: maybe-configure-target-newlib
24404 configure-target-libiberty: $(ALL_GCC)
24405 configure-target-libtermcap: $(ALL_GCC_C)
24406 configure-target-newlib: $(ALL_GCC)
24407 configure-target-rda: $(ALL_GCC_C)
24408 configure-target-winsup: $(ALL_GCC_C)
24409 all-target-winsup: maybe-all-target-libiberty maybe-all-target-libtermcap
24411 # Other target modules. Warning, these are not well tested.
24412 configure-target-gperf: $(ALL_GCC_CXX)
24413 all-target-gperf: maybe-all-target-libiberty maybe-all-target-libstdc++-v3
24414 configure-target-qthreads: $(ALL_GCC_C)
24416 # Dependencies of maybe-foo on foo. These are used because, for example,
24417 # all-gcc only depends on all-gas if gas is present and being configured.
24418 @maybe_dependencies@
24420 # Serialization dependencies. Host configures don't work well in parallel to
24421 # each other, due to contention over config.cache. Target configures and
24422 # build configures are similar.
24423 @serialization_dependencies@
24425 # --------------------------------
24426 # Regenerating top level configury
24427 # --------------------------------
24429 # Multilib.out tells target dirs what multilibs they should build.
24430 # There is really only one copy. We use the 'timestamp' method to
24431 # work around various timestamp bugs on some systems.
24432 # We use move-if-change so that it's only considered updated when it
24433 # actually changes, because it has to depend on a phony target.
24434 multilib.out: maybe-all-gcc
24435 @r=`${PWD_COMMAND}`; export r; \
24436 echo "Checking multilib configuration..."; \
24437 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
24438 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
24440 # Rebuilding Makefile.in, using autogen.
24442 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
24443 cd $(srcdir) && $(AUTOGEN) Makefile.def
24445 # Rebuilding Makefile.
24446 Makefile: $(srcdir)/Makefile.in config.status
24447 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
24449 config.status: configure $(gcc_version_trigger)
24450 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
24452 # Rebuilding configure.
24453 AUTOCONF = autoconf
24454 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
24455 cd $(srcdir) && $(AUTOCONF)
24457 # ------------------------------
24458 # Special directives to GNU Make
24459 # ------------------------------
24461 # Don't pass command-line variables to submakes.
24465 # end of Makefile.in