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 NM="$(NM)"; export NM; \
1998 RANLIB="$(RANLIB)"; export RANLIB; \
1999 WINDRES="$(WINDRES)"; export WINDRES; \
2000 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2001 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2002 echo Configuring in ash; \
2006 srcdiroption="--srcdir=."; \
2008 /* | [A-Za-z]:[\\/]*) \
2009 srcdiroption="--srcdir=$(srcdir)/ash"; \
2010 libsrcdir="$$s/ash";; \
2012 srcdiroption="--srcdir=../$(srcdir)/ash"; \
2013 libsrcdir="$$s/ash";; \
2015 $(SHELL) $${libsrcdir}/configure \
2016 $(HOST_CONFIGARGS) $${srcdiroption} \
2019 .PHONY: all-ash maybe-all-ash
2021 all-ash: configure-ash
2022 @r=`${PWD_COMMAND}`; export r; \
2023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2025 (cd ash && $(MAKE) $(FLAGS_TO_PASS) all)
2027 .PHONY: check-ash maybe-check-ash
2031 @r=`${PWD_COMMAND}`; export r; \
2032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2034 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2037 .PHONY: install-ash maybe-install-ash
2040 install-ash: installdirs
2041 @r=`${PWD_COMMAND}`; export r; \
2042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2044 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2047 # Other targets (info, dvi, etc.)
2049 .PHONY: maybe-info-ash info-ash
2054 @[ -f ./ash/Makefile ] || exit 0; \
2055 r=`${PWD_COMMAND}`; export r; \
2056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2058 for flag in $(EXTRA_HOST_FLAGS); do \
2059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2061 echo "Doing info in ash" ; \
2063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2065 "RANLIB=$${RANLIB}" \
2066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2071 .PHONY: maybe-dvi-ash dvi-ash
2076 @[ -f ./ash/Makefile ] || exit 0; \
2077 r=`${PWD_COMMAND}`; export r; \
2078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2080 for flag in $(EXTRA_HOST_FLAGS); do \
2081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2083 echo "Doing dvi in ash" ; \
2085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2087 "RANLIB=$${RANLIB}" \
2088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2093 .PHONY: maybe-TAGS-ash TAGS-ash
2098 @[ -f ./ash/Makefile ] || exit 0; \
2099 r=`${PWD_COMMAND}`; export r; \
2100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2102 for flag in $(EXTRA_HOST_FLAGS); do \
2103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2105 echo "Doing TAGS in ash" ; \
2107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2109 "RANLIB=$${RANLIB}" \
2110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2115 .PHONY: maybe-install-info-ash install-info-ash
2116 maybe-install-info-ash:
2121 @[ -f ./ash/Makefile ] || exit 0; \
2122 r=`${PWD_COMMAND}`; export r; \
2123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2125 for flag in $(EXTRA_HOST_FLAGS); do \
2126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2128 echo "Doing install-info in ash" ; \
2130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2132 "RANLIB=$${RANLIB}" \
2133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2138 .PHONY: maybe-installcheck-ash installcheck-ash
2139 maybe-installcheck-ash:
2143 @[ -f ./ash/Makefile ] || exit 0; \
2144 r=`${PWD_COMMAND}`; export r; \
2145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2147 for flag in $(EXTRA_HOST_FLAGS); do \
2148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2150 echo "Doing installcheck in ash" ; \
2152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2154 "RANLIB=$${RANLIB}" \
2155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2160 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2161 maybe-mostlyclean-ash:
2164 @[ -f ./ash/Makefile ] || exit 0; \
2165 r=`${PWD_COMMAND}`; export r; \
2166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2168 for flag in $(EXTRA_HOST_FLAGS); do \
2169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2171 echo "Doing mostlyclean in ash" ; \
2173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2175 "RANLIB=$${RANLIB}" \
2176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2181 .PHONY: maybe-clean-ash clean-ash
2185 @[ -f ./ash/Makefile ] || exit 0; \
2186 r=`${PWD_COMMAND}`; export r; \
2187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2189 for flag in $(EXTRA_HOST_FLAGS); do \
2190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2192 echo "Doing clean in ash" ; \
2194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2196 "RANLIB=$${RANLIB}" \
2197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2202 .PHONY: maybe-distclean-ash distclean-ash
2203 maybe-distclean-ash:
2206 @[ -f ./ash/Makefile ] || exit 0; \
2207 r=`${PWD_COMMAND}`; export r; \
2208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2210 for flag in $(EXTRA_HOST_FLAGS); do \
2211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2213 echo "Doing distclean in ash" ; \
2215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2217 "RANLIB=$${RANLIB}" \
2218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2223 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2224 maybe-maintainer-clean-ash:
2226 maintainer-clean-ash:
2227 @[ -f ./ash/Makefile ] || exit 0; \
2228 r=`${PWD_COMMAND}`; export r; \
2229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2231 for flag in $(EXTRA_HOST_FLAGS); do \
2232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2234 echo "Doing maintainer-clean in ash" ; \
2236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2238 "RANLIB=$${RANLIB}" \
2239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2245 .PHONY: configure-autoconf maybe-configure-autoconf
2246 maybe-configure-autoconf:
2248 @test ! -f autoconf/Makefile || exit 0; \
2249 [ -d autoconf ] || mkdir autoconf; \
2250 r=`${PWD_COMMAND}`; export r; \
2251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2252 CC="$(CC)"; export CC; \
2253 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2254 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
2255 CXX="$(CXX)"; export CXX; \
2256 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2257 AR="$(AR)"; export AR; \
2258 AS="$(AS)"; export AS; \
2259 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2260 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2261 LD="$(LD)"; export LD; \
2262 NM="$(NM)"; export NM; \
2263 RANLIB="$(RANLIB)"; export RANLIB; \
2264 WINDRES="$(WINDRES)"; export WINDRES; \
2265 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2266 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2267 echo Configuring in autoconf; \
2268 cd autoconf || exit 1; \
2271 srcdiroption="--srcdir=."; \
2273 /* | [A-Za-z]:[\\/]*) \
2274 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2275 libsrcdir="$$s/autoconf";; \
2277 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2278 libsrcdir="$$s/autoconf";; \
2280 $(SHELL) $${libsrcdir}/configure \
2281 $(HOST_CONFIGARGS) $${srcdiroption} \
2284 .PHONY: all-autoconf maybe-all-autoconf
2286 all-autoconf: configure-autoconf
2287 @r=`${PWD_COMMAND}`; export r; \
2288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2290 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all)
2292 .PHONY: check-autoconf maybe-check-autoconf
2293 maybe-check-autoconf:
2296 @r=`${PWD_COMMAND}`; export r; \
2297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2299 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
2302 .PHONY: install-autoconf maybe-install-autoconf
2303 maybe-install-autoconf:
2305 install-autoconf: installdirs
2306 @r=`${PWD_COMMAND}`; export r; \
2307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2309 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
2312 # Other targets (info, dvi, etc.)
2314 .PHONY: maybe-info-autoconf info-autoconf
2315 maybe-info-autoconf:
2319 @[ -f ./autoconf/Makefile ] || exit 0; \
2320 r=`${PWD_COMMAND}`; export r; \
2321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2323 for flag in $(EXTRA_HOST_FLAGS); do \
2324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2326 echo "Doing info in autoconf" ; \
2328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2330 "RANLIB=$${RANLIB}" \
2331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2336 .PHONY: maybe-dvi-autoconf dvi-autoconf
2341 @[ -f ./autoconf/Makefile ] || exit 0; \
2342 r=`${PWD_COMMAND}`; export r; \
2343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2345 for flag in $(EXTRA_HOST_FLAGS); do \
2346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2348 echo "Doing dvi in autoconf" ; \
2350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2352 "RANLIB=$${RANLIB}" \
2353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2358 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2359 maybe-TAGS-autoconf:
2363 @[ -f ./autoconf/Makefile ] || exit 0; \
2364 r=`${PWD_COMMAND}`; export r; \
2365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2367 for flag in $(EXTRA_HOST_FLAGS); do \
2368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2370 echo "Doing TAGS in autoconf" ; \
2372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2374 "RANLIB=$${RANLIB}" \
2375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2380 .PHONY: maybe-install-info-autoconf install-info-autoconf
2381 maybe-install-info-autoconf:
2383 install-info-autoconf: \
2384 configure-autoconf \
2386 @[ -f ./autoconf/Makefile ] || exit 0; \
2387 r=`${PWD_COMMAND}`; export r; \
2388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2390 for flag in $(EXTRA_HOST_FLAGS); do \
2391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2393 echo "Doing install-info in autoconf" ; \
2395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2397 "RANLIB=$${RANLIB}" \
2398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2403 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
2404 maybe-installcheck-autoconf:
2406 installcheck-autoconf: \
2408 @[ -f ./autoconf/Makefile ] || exit 0; \
2409 r=`${PWD_COMMAND}`; export r; \
2410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2412 for flag in $(EXTRA_HOST_FLAGS); do \
2413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2415 echo "Doing installcheck in autoconf" ; \
2417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2419 "RANLIB=$${RANLIB}" \
2420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2425 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
2426 maybe-mostlyclean-autoconf:
2428 mostlyclean-autoconf:
2429 @[ -f ./autoconf/Makefile ] || exit 0; \
2430 r=`${PWD_COMMAND}`; export r; \
2431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2433 for flag in $(EXTRA_HOST_FLAGS); do \
2434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2436 echo "Doing mostlyclean in autoconf" ; \
2438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2440 "RANLIB=$${RANLIB}" \
2441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2446 .PHONY: maybe-clean-autoconf clean-autoconf
2447 maybe-clean-autoconf:
2450 @[ -f ./autoconf/Makefile ] || exit 0; \
2451 r=`${PWD_COMMAND}`; export r; \
2452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2454 for flag in $(EXTRA_HOST_FLAGS); do \
2455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2457 echo "Doing clean in autoconf" ; \
2459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2461 "RANLIB=$${RANLIB}" \
2462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2467 .PHONY: maybe-distclean-autoconf distclean-autoconf
2468 maybe-distclean-autoconf:
2471 @[ -f ./autoconf/Makefile ] || exit 0; \
2472 r=`${PWD_COMMAND}`; export r; \
2473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2475 for flag in $(EXTRA_HOST_FLAGS); do \
2476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2478 echo "Doing distclean in autoconf" ; \
2480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2482 "RANLIB=$${RANLIB}" \
2483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2488 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
2489 maybe-maintainer-clean-autoconf:
2491 maintainer-clean-autoconf:
2492 @[ -f ./autoconf/Makefile ] || exit 0; \
2493 r=`${PWD_COMMAND}`; export r; \
2494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2496 for flag in $(EXTRA_HOST_FLAGS); do \
2497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2499 echo "Doing maintainer-clean in autoconf" ; \
2501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2503 "RANLIB=$${RANLIB}" \
2504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2510 .PHONY: configure-automake maybe-configure-automake
2511 maybe-configure-automake:
2513 @test ! -f automake/Makefile || exit 0; \
2514 [ -d automake ] || mkdir automake; \
2515 r=`${PWD_COMMAND}`; export r; \
2516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2517 CC="$(CC)"; export CC; \
2518 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2519 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
2520 CXX="$(CXX)"; export CXX; \
2521 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2522 AR="$(AR)"; export AR; \
2523 AS="$(AS)"; export AS; \
2524 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2525 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2526 LD="$(LD)"; export LD; \
2527 NM="$(NM)"; export NM; \
2528 RANLIB="$(RANLIB)"; export RANLIB; \
2529 WINDRES="$(WINDRES)"; export WINDRES; \
2530 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2531 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2532 echo Configuring in automake; \
2533 cd automake || exit 1; \
2536 srcdiroption="--srcdir=."; \
2538 /* | [A-Za-z]:[\\/]*) \
2539 srcdiroption="--srcdir=$(srcdir)/automake"; \
2540 libsrcdir="$$s/automake";; \
2542 srcdiroption="--srcdir=../$(srcdir)/automake"; \
2543 libsrcdir="$$s/automake";; \
2545 $(SHELL) $${libsrcdir}/configure \
2546 $(HOST_CONFIGARGS) $${srcdiroption} \
2549 .PHONY: all-automake maybe-all-automake
2551 all-automake: configure-automake
2552 @r=`${PWD_COMMAND}`; export r; \
2553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2555 (cd automake && $(MAKE) $(FLAGS_TO_PASS) all)
2557 .PHONY: check-automake maybe-check-automake
2558 maybe-check-automake:
2561 @r=`${PWD_COMMAND}`; export r; \
2562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2564 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
2567 .PHONY: install-automake maybe-install-automake
2568 maybe-install-automake:
2570 install-automake: installdirs
2571 @r=`${PWD_COMMAND}`; export r; \
2572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2574 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
2577 # Other targets (info, dvi, etc.)
2579 .PHONY: maybe-info-automake info-automake
2580 maybe-info-automake:
2584 @[ -f ./automake/Makefile ] || exit 0; \
2585 r=`${PWD_COMMAND}`; export r; \
2586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2588 for flag in $(EXTRA_HOST_FLAGS); do \
2589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2591 echo "Doing info in automake" ; \
2593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2595 "RANLIB=$${RANLIB}" \
2596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2601 .PHONY: maybe-dvi-automake dvi-automake
2606 @[ -f ./automake/Makefile ] || exit 0; \
2607 r=`${PWD_COMMAND}`; export r; \
2608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2610 for flag in $(EXTRA_HOST_FLAGS); do \
2611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2613 echo "Doing dvi in automake" ; \
2615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2617 "RANLIB=$${RANLIB}" \
2618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2623 .PHONY: maybe-TAGS-automake TAGS-automake
2624 maybe-TAGS-automake:
2628 @[ -f ./automake/Makefile ] || exit 0; \
2629 r=`${PWD_COMMAND}`; export r; \
2630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2632 for flag in $(EXTRA_HOST_FLAGS); do \
2633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2635 echo "Doing TAGS in automake" ; \
2637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2639 "RANLIB=$${RANLIB}" \
2640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2645 .PHONY: maybe-install-info-automake install-info-automake
2646 maybe-install-info-automake:
2648 install-info-automake: \
2649 configure-automake \
2651 @[ -f ./automake/Makefile ] || exit 0; \
2652 r=`${PWD_COMMAND}`; export r; \
2653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2655 for flag in $(EXTRA_HOST_FLAGS); do \
2656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2658 echo "Doing install-info in automake" ; \
2660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2662 "RANLIB=$${RANLIB}" \
2663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2668 .PHONY: maybe-installcheck-automake installcheck-automake
2669 maybe-installcheck-automake:
2671 installcheck-automake: \
2673 @[ -f ./automake/Makefile ] || exit 0; \
2674 r=`${PWD_COMMAND}`; export r; \
2675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2677 for flag in $(EXTRA_HOST_FLAGS); do \
2678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2680 echo "Doing installcheck in automake" ; \
2682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2684 "RANLIB=$${RANLIB}" \
2685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2690 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
2691 maybe-mostlyclean-automake:
2693 mostlyclean-automake:
2694 @[ -f ./automake/Makefile ] || exit 0; \
2695 r=`${PWD_COMMAND}`; export r; \
2696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2698 for flag in $(EXTRA_HOST_FLAGS); do \
2699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2701 echo "Doing mostlyclean in automake" ; \
2703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2705 "RANLIB=$${RANLIB}" \
2706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2711 .PHONY: maybe-clean-automake clean-automake
2712 maybe-clean-automake:
2715 @[ -f ./automake/Makefile ] || exit 0; \
2716 r=`${PWD_COMMAND}`; export r; \
2717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2719 for flag in $(EXTRA_HOST_FLAGS); do \
2720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2722 echo "Doing clean in automake" ; \
2724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2726 "RANLIB=$${RANLIB}" \
2727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2732 .PHONY: maybe-distclean-automake distclean-automake
2733 maybe-distclean-automake:
2736 @[ -f ./automake/Makefile ] || exit 0; \
2737 r=`${PWD_COMMAND}`; export r; \
2738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2740 for flag in $(EXTRA_HOST_FLAGS); do \
2741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2743 echo "Doing distclean in automake" ; \
2745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2747 "RANLIB=$${RANLIB}" \
2748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2753 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
2754 maybe-maintainer-clean-automake:
2756 maintainer-clean-automake:
2757 @[ -f ./automake/Makefile ] || exit 0; \
2758 r=`${PWD_COMMAND}`; export r; \
2759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2761 for flag in $(EXTRA_HOST_FLAGS); do \
2762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2764 echo "Doing maintainer-clean in automake" ; \
2766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2768 "RANLIB=$${RANLIB}" \
2769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2775 .PHONY: configure-bash maybe-configure-bash
2776 maybe-configure-bash:
2778 @test ! -f bash/Makefile || exit 0; \
2779 [ -d bash ] || mkdir bash; \
2780 r=`${PWD_COMMAND}`; export r; \
2781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2782 CC="$(CC)"; export CC; \
2783 CFLAGS="$(CFLAGS)"; export CFLAGS; \
2784 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
2785 CXX="$(CXX)"; export CXX; \
2786 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
2787 AR="$(AR)"; export AR; \
2788 AS="$(AS)"; export AS; \
2789 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
2790 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
2791 LD="$(LD)"; export LD; \
2792 NM="$(NM)"; export NM; \
2793 RANLIB="$(RANLIB)"; export RANLIB; \
2794 WINDRES="$(WINDRES)"; export WINDRES; \
2795 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
2796 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
2797 echo Configuring in bash; \
2798 cd bash || exit 1; \
2801 srcdiroption="--srcdir=."; \
2803 /* | [A-Za-z]:[\\/]*) \
2804 srcdiroption="--srcdir=$(srcdir)/bash"; \
2805 libsrcdir="$$s/bash";; \
2807 srcdiroption="--srcdir=../$(srcdir)/bash"; \
2808 libsrcdir="$$s/bash";; \
2810 $(SHELL) $${libsrcdir}/configure \
2811 $(HOST_CONFIGARGS) $${srcdiroption} \
2814 .PHONY: all-bash maybe-all-bash
2816 all-bash: configure-bash
2817 @r=`${PWD_COMMAND}`; export r; \
2818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2820 (cd bash && $(MAKE) $(FLAGS_TO_PASS) all)
2822 .PHONY: check-bash maybe-check-bash
2826 @r=`${PWD_COMMAND}`; export r; \
2827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2829 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
2832 .PHONY: install-bash maybe-install-bash
2835 install-bash: installdirs
2836 @r=`${PWD_COMMAND}`; export r; \
2837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2839 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
2842 # Other targets (info, dvi, etc.)
2844 .PHONY: maybe-info-bash info-bash
2849 @[ -f ./bash/Makefile ] || exit 0; \
2850 r=`${PWD_COMMAND}`; export r; \
2851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2853 for flag in $(EXTRA_HOST_FLAGS); do \
2854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2856 echo "Doing info in bash" ; \
2858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2860 "RANLIB=$${RANLIB}" \
2861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2866 .PHONY: maybe-dvi-bash dvi-bash
2871 @[ -f ./bash/Makefile ] || exit 0; \
2872 r=`${PWD_COMMAND}`; export r; \
2873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2875 for flag in $(EXTRA_HOST_FLAGS); do \
2876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2878 echo "Doing dvi in bash" ; \
2880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2882 "RANLIB=$${RANLIB}" \
2883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2888 .PHONY: maybe-TAGS-bash TAGS-bash
2893 @[ -f ./bash/Makefile ] || exit 0; \
2894 r=`${PWD_COMMAND}`; export r; \
2895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2897 for flag in $(EXTRA_HOST_FLAGS); do \
2898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2900 echo "Doing TAGS in bash" ; \
2902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2904 "RANLIB=$${RANLIB}" \
2905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2910 .PHONY: maybe-install-info-bash install-info-bash
2911 maybe-install-info-bash:
2913 install-info-bash: \
2916 @[ -f ./bash/Makefile ] || exit 0; \
2917 r=`${PWD_COMMAND}`; export r; \
2918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2920 for flag in $(EXTRA_HOST_FLAGS); do \
2921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2923 echo "Doing install-info in bash" ; \
2925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2927 "RANLIB=$${RANLIB}" \
2928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2933 .PHONY: maybe-installcheck-bash installcheck-bash
2934 maybe-installcheck-bash:
2936 installcheck-bash: \
2938 @[ -f ./bash/Makefile ] || exit 0; \
2939 r=`${PWD_COMMAND}`; export r; \
2940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2942 for flag in $(EXTRA_HOST_FLAGS); do \
2943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2945 echo "Doing installcheck in bash" ; \
2947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2949 "RANLIB=$${RANLIB}" \
2950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2955 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
2956 maybe-mostlyclean-bash:
2959 @[ -f ./bash/Makefile ] || exit 0; \
2960 r=`${PWD_COMMAND}`; export r; \
2961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2963 for flag in $(EXTRA_HOST_FLAGS); do \
2964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2966 echo "Doing mostlyclean in bash" ; \
2968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2970 "RANLIB=$${RANLIB}" \
2971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2976 .PHONY: maybe-clean-bash clean-bash
2980 @[ -f ./bash/Makefile ] || exit 0; \
2981 r=`${PWD_COMMAND}`; export r; \
2982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2984 for flag in $(EXTRA_HOST_FLAGS); do \
2985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2987 echo "Doing clean in bash" ; \
2989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2991 "RANLIB=$${RANLIB}" \
2992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2997 .PHONY: maybe-distclean-bash distclean-bash
2998 maybe-distclean-bash:
3001 @[ -f ./bash/Makefile ] || exit 0; \
3002 r=`${PWD_COMMAND}`; export r; \
3003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3005 for flag in $(EXTRA_HOST_FLAGS); do \
3006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3008 echo "Doing distclean in bash" ; \
3010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3012 "RANLIB=$${RANLIB}" \
3013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3018 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3019 maybe-maintainer-clean-bash:
3021 maintainer-clean-bash:
3022 @[ -f ./bash/Makefile ] || exit 0; \
3023 r=`${PWD_COMMAND}`; export r; \
3024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3026 for flag in $(EXTRA_HOST_FLAGS); do \
3027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3029 echo "Doing maintainer-clean in bash" ; \
3031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3033 "RANLIB=$${RANLIB}" \
3034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3040 .PHONY: configure-bfd maybe-configure-bfd
3041 maybe-configure-bfd:
3043 @test ! -f bfd/Makefile || exit 0; \
3044 [ -d bfd ] || mkdir bfd; \
3045 r=`${PWD_COMMAND}`; export r; \
3046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3047 CC="$(CC)"; export CC; \
3048 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3049 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3050 CXX="$(CXX)"; export CXX; \
3051 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3052 AR="$(AR)"; export AR; \
3053 AS="$(AS)"; export AS; \
3054 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3055 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3056 LD="$(LD)"; export LD; \
3057 NM="$(NM)"; export NM; \
3058 RANLIB="$(RANLIB)"; export RANLIB; \
3059 WINDRES="$(WINDRES)"; export WINDRES; \
3060 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3061 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3062 echo Configuring in bfd; \
3066 srcdiroption="--srcdir=."; \
3068 /* | [A-Za-z]:[\\/]*) \
3069 srcdiroption="--srcdir=$(srcdir)/bfd"; \
3070 libsrcdir="$$s/bfd";; \
3072 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3073 libsrcdir="$$s/bfd";; \
3075 $(SHELL) $${libsrcdir}/configure \
3076 $(HOST_CONFIGARGS) $${srcdiroption} \
3079 .PHONY: all-bfd maybe-all-bfd
3081 all-bfd: configure-bfd
3082 @r=`${PWD_COMMAND}`; export r; \
3083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3085 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) all)
3087 .PHONY: check-bfd maybe-check-bfd
3091 @r=`${PWD_COMMAND}`; export r; \
3092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3094 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
3097 .PHONY: install-bfd maybe-install-bfd
3100 install-bfd: installdirs
3101 @r=`${PWD_COMMAND}`; export r; \
3102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3104 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
3107 # Other targets (info, dvi, etc.)
3109 .PHONY: maybe-info-bfd info-bfd
3114 @[ -f ./bfd/Makefile ] || exit 0; \
3115 r=`${PWD_COMMAND}`; export r; \
3116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3118 for flag in $(EXTRA_HOST_FLAGS); do \
3119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3121 echo "Doing info in bfd" ; \
3123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3125 "RANLIB=$${RANLIB}" \
3126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3131 .PHONY: maybe-dvi-bfd dvi-bfd
3136 @[ -f ./bfd/Makefile ] || exit 0; \
3137 r=`${PWD_COMMAND}`; export r; \
3138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3140 for flag in $(EXTRA_HOST_FLAGS); do \
3141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3143 echo "Doing dvi in bfd" ; \
3145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3147 "RANLIB=$${RANLIB}" \
3148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3153 .PHONY: maybe-TAGS-bfd TAGS-bfd
3158 @[ -f ./bfd/Makefile ] || exit 0; \
3159 r=`${PWD_COMMAND}`; export r; \
3160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3162 for flag in $(EXTRA_HOST_FLAGS); do \
3163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3165 echo "Doing TAGS in bfd" ; \
3167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3169 "RANLIB=$${RANLIB}" \
3170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3175 .PHONY: maybe-install-info-bfd install-info-bfd
3176 maybe-install-info-bfd:
3181 @[ -f ./bfd/Makefile ] || exit 0; \
3182 r=`${PWD_COMMAND}`; export r; \
3183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3185 for flag in $(EXTRA_HOST_FLAGS); do \
3186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3188 echo "Doing install-info in bfd" ; \
3190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3192 "RANLIB=$${RANLIB}" \
3193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3198 .PHONY: maybe-installcheck-bfd installcheck-bfd
3199 maybe-installcheck-bfd:
3203 @[ -f ./bfd/Makefile ] || exit 0; \
3204 r=`${PWD_COMMAND}`; export r; \
3205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3207 for flag in $(EXTRA_HOST_FLAGS); do \
3208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3210 echo "Doing installcheck in bfd" ; \
3212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3214 "RANLIB=$${RANLIB}" \
3215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3220 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3221 maybe-mostlyclean-bfd:
3224 @[ -f ./bfd/Makefile ] || exit 0; \
3225 r=`${PWD_COMMAND}`; export r; \
3226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3228 for flag in $(EXTRA_HOST_FLAGS); do \
3229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3231 echo "Doing mostlyclean in bfd" ; \
3233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3235 "RANLIB=$${RANLIB}" \
3236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3241 .PHONY: maybe-clean-bfd clean-bfd
3245 @[ -f ./bfd/Makefile ] || exit 0; \
3246 r=`${PWD_COMMAND}`; export r; \
3247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3249 for flag in $(EXTRA_HOST_FLAGS); do \
3250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3252 echo "Doing clean in bfd" ; \
3254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3256 "RANLIB=$${RANLIB}" \
3257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3262 .PHONY: maybe-distclean-bfd distclean-bfd
3263 maybe-distclean-bfd:
3266 @[ -f ./bfd/Makefile ] || exit 0; \
3267 r=`${PWD_COMMAND}`; export r; \
3268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3270 for flag in $(EXTRA_HOST_FLAGS); do \
3271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3273 echo "Doing distclean in bfd" ; \
3275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3277 "RANLIB=$${RANLIB}" \
3278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3283 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3284 maybe-maintainer-clean-bfd:
3286 maintainer-clean-bfd:
3287 @[ -f ./bfd/Makefile ] || exit 0; \
3288 r=`${PWD_COMMAND}`; export r; \
3289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3291 for flag in $(EXTRA_HOST_FLAGS); do \
3292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3294 echo "Doing maintainer-clean in bfd" ; \
3296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3298 "RANLIB=$${RANLIB}" \
3299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3305 .PHONY: configure-opcodes maybe-configure-opcodes
3306 maybe-configure-opcodes:
3308 @test ! -f opcodes/Makefile || exit 0; \
3309 [ -d opcodes ] || mkdir opcodes; \
3310 r=`${PWD_COMMAND}`; export r; \
3311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3312 CC="$(CC)"; export CC; \
3313 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3314 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3315 CXX="$(CXX)"; export CXX; \
3316 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3317 AR="$(AR)"; export AR; \
3318 AS="$(AS)"; export AS; \
3319 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3320 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3321 LD="$(LD)"; export LD; \
3322 NM="$(NM)"; export NM; \
3323 RANLIB="$(RANLIB)"; export RANLIB; \
3324 WINDRES="$(WINDRES)"; export WINDRES; \
3325 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3326 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3327 echo Configuring in opcodes; \
3328 cd opcodes || exit 1; \
3331 srcdiroption="--srcdir=."; \
3333 /* | [A-Za-z]:[\\/]*) \
3334 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
3335 libsrcdir="$$s/opcodes";; \
3337 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
3338 libsrcdir="$$s/opcodes";; \
3340 $(SHELL) $${libsrcdir}/configure \
3341 $(HOST_CONFIGARGS) $${srcdiroption} \
3344 .PHONY: all-opcodes maybe-all-opcodes
3346 all-opcodes: configure-opcodes
3347 @r=`${PWD_COMMAND}`; export r; \
3348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3350 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) all)
3352 .PHONY: check-opcodes maybe-check-opcodes
3353 maybe-check-opcodes:
3356 @r=`${PWD_COMMAND}`; export r; \
3357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3359 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
3362 .PHONY: install-opcodes maybe-install-opcodes
3363 maybe-install-opcodes:
3365 install-opcodes: installdirs
3366 @r=`${PWD_COMMAND}`; export r; \
3367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3369 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
3372 # Other targets (info, dvi, etc.)
3374 .PHONY: maybe-info-opcodes info-opcodes
3379 @[ -f ./opcodes/Makefile ] || exit 0; \
3380 r=`${PWD_COMMAND}`; export r; \
3381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3383 for flag in $(EXTRA_HOST_FLAGS); do \
3384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3386 echo "Doing info in opcodes" ; \
3388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3390 "RANLIB=$${RANLIB}" \
3391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3396 .PHONY: maybe-dvi-opcodes dvi-opcodes
3401 @[ -f ./opcodes/Makefile ] || exit 0; \
3402 r=`${PWD_COMMAND}`; export r; \
3403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3405 for flag in $(EXTRA_HOST_FLAGS); do \
3406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3408 echo "Doing dvi in opcodes" ; \
3410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3412 "RANLIB=$${RANLIB}" \
3413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3418 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
3423 @[ -f ./opcodes/Makefile ] || exit 0; \
3424 r=`${PWD_COMMAND}`; export r; \
3425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3427 for flag in $(EXTRA_HOST_FLAGS); do \
3428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3430 echo "Doing TAGS in opcodes" ; \
3432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3434 "RANLIB=$${RANLIB}" \
3435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3440 .PHONY: maybe-install-info-opcodes install-info-opcodes
3441 maybe-install-info-opcodes:
3443 install-info-opcodes: \
3446 @[ -f ./opcodes/Makefile ] || exit 0; \
3447 r=`${PWD_COMMAND}`; export r; \
3448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3450 for flag in $(EXTRA_HOST_FLAGS); do \
3451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3453 echo "Doing install-info in opcodes" ; \
3455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3457 "RANLIB=$${RANLIB}" \
3458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3463 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
3464 maybe-installcheck-opcodes:
3466 installcheck-opcodes: \
3468 @[ -f ./opcodes/Makefile ] || exit 0; \
3469 r=`${PWD_COMMAND}`; export r; \
3470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3472 for flag in $(EXTRA_HOST_FLAGS); do \
3473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3475 echo "Doing installcheck in opcodes" ; \
3477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3479 "RANLIB=$${RANLIB}" \
3480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3485 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
3486 maybe-mostlyclean-opcodes:
3488 mostlyclean-opcodes:
3489 @[ -f ./opcodes/Makefile ] || exit 0; \
3490 r=`${PWD_COMMAND}`; export r; \
3491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3493 for flag in $(EXTRA_HOST_FLAGS); do \
3494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3496 echo "Doing mostlyclean in opcodes" ; \
3498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3500 "RANLIB=$${RANLIB}" \
3501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3506 .PHONY: maybe-clean-opcodes clean-opcodes
3507 maybe-clean-opcodes:
3510 @[ -f ./opcodes/Makefile ] || exit 0; \
3511 r=`${PWD_COMMAND}`; export r; \
3512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3514 for flag in $(EXTRA_HOST_FLAGS); do \
3515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3517 echo "Doing clean in opcodes" ; \
3519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3521 "RANLIB=$${RANLIB}" \
3522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3527 .PHONY: maybe-distclean-opcodes distclean-opcodes
3528 maybe-distclean-opcodes:
3531 @[ -f ./opcodes/Makefile ] || exit 0; \
3532 r=`${PWD_COMMAND}`; export r; \
3533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3535 for flag in $(EXTRA_HOST_FLAGS); do \
3536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3538 echo "Doing distclean in opcodes" ; \
3540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3542 "RANLIB=$${RANLIB}" \
3543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3548 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
3549 maybe-maintainer-clean-opcodes:
3551 maintainer-clean-opcodes:
3552 @[ -f ./opcodes/Makefile ] || exit 0; \
3553 r=`${PWD_COMMAND}`; export r; \
3554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3556 for flag in $(EXTRA_HOST_FLAGS); do \
3557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3559 echo "Doing maintainer-clean in opcodes" ; \
3561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3563 "RANLIB=$${RANLIB}" \
3564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3570 .PHONY: configure-binutils maybe-configure-binutils
3571 maybe-configure-binutils:
3573 @test ! -f binutils/Makefile || exit 0; \
3574 [ -d binutils ] || mkdir binutils; \
3575 r=`${PWD_COMMAND}`; export r; \
3576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3577 CC="$(CC)"; export CC; \
3578 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3579 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3580 CXX="$(CXX)"; export CXX; \
3581 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3582 AR="$(AR)"; export AR; \
3583 AS="$(AS)"; export AS; \
3584 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3585 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3586 LD="$(LD)"; export LD; \
3587 NM="$(NM)"; export NM; \
3588 RANLIB="$(RANLIB)"; export RANLIB; \
3589 WINDRES="$(WINDRES)"; export WINDRES; \
3590 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3591 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3592 echo Configuring in binutils; \
3593 cd binutils || exit 1; \
3596 srcdiroption="--srcdir=."; \
3598 /* | [A-Za-z]:[\\/]*) \
3599 srcdiroption="--srcdir=$(srcdir)/binutils"; \
3600 libsrcdir="$$s/binutils";; \
3602 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
3603 libsrcdir="$$s/binutils";; \
3605 $(SHELL) $${libsrcdir}/configure \
3606 $(HOST_CONFIGARGS) $${srcdiroption} \
3609 .PHONY: all-binutils maybe-all-binutils
3611 all-binutils: configure-binutils
3612 @r=`${PWD_COMMAND}`; export r; \
3613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3615 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) all)
3617 .PHONY: check-binutils maybe-check-binutils
3618 maybe-check-binutils:
3621 @r=`${PWD_COMMAND}`; export r; \
3622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3624 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
3627 .PHONY: install-binutils maybe-install-binutils
3628 maybe-install-binutils:
3630 install-binutils: installdirs
3631 @r=`${PWD_COMMAND}`; export r; \
3632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3634 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
3637 # Other targets (info, dvi, etc.)
3639 .PHONY: maybe-info-binutils info-binutils
3640 maybe-info-binutils:
3644 @[ -f ./binutils/Makefile ] || exit 0; \
3645 r=`${PWD_COMMAND}`; export r; \
3646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3648 for flag in $(EXTRA_HOST_FLAGS); do \
3649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3651 echo "Doing info in binutils" ; \
3653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3655 "RANLIB=$${RANLIB}" \
3656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3661 .PHONY: maybe-dvi-binutils dvi-binutils
3666 @[ -f ./binutils/Makefile ] || exit 0; \
3667 r=`${PWD_COMMAND}`; export r; \
3668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3670 for flag in $(EXTRA_HOST_FLAGS); do \
3671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3673 echo "Doing dvi in binutils" ; \
3675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3677 "RANLIB=$${RANLIB}" \
3678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3683 .PHONY: maybe-TAGS-binutils TAGS-binutils
3684 maybe-TAGS-binutils:
3688 @[ -f ./binutils/Makefile ] || exit 0; \
3689 r=`${PWD_COMMAND}`; export r; \
3690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3692 for flag in $(EXTRA_HOST_FLAGS); do \
3693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3695 echo "Doing TAGS in binutils" ; \
3697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3699 "RANLIB=$${RANLIB}" \
3700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3705 .PHONY: maybe-install-info-binutils install-info-binutils
3706 maybe-install-info-binutils:
3708 install-info-binutils: \
3709 configure-binutils \
3711 @[ -f ./binutils/Makefile ] || exit 0; \
3712 r=`${PWD_COMMAND}`; export r; \
3713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3715 for flag in $(EXTRA_HOST_FLAGS); do \
3716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3718 echo "Doing install-info in binutils" ; \
3720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3722 "RANLIB=$${RANLIB}" \
3723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3728 .PHONY: maybe-installcheck-binutils installcheck-binutils
3729 maybe-installcheck-binutils:
3731 installcheck-binutils: \
3733 @[ -f ./binutils/Makefile ] || exit 0; \
3734 r=`${PWD_COMMAND}`; export r; \
3735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3737 for flag in $(EXTRA_HOST_FLAGS); do \
3738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3740 echo "Doing installcheck in binutils" ; \
3742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3744 "RANLIB=$${RANLIB}" \
3745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3750 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
3751 maybe-mostlyclean-binutils:
3753 mostlyclean-binutils:
3754 @[ -f ./binutils/Makefile ] || exit 0; \
3755 r=`${PWD_COMMAND}`; export r; \
3756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3758 for flag in $(EXTRA_HOST_FLAGS); do \
3759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3761 echo "Doing mostlyclean in binutils" ; \
3763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3765 "RANLIB=$${RANLIB}" \
3766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3771 .PHONY: maybe-clean-binutils clean-binutils
3772 maybe-clean-binutils:
3775 @[ -f ./binutils/Makefile ] || exit 0; \
3776 r=`${PWD_COMMAND}`; export r; \
3777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3779 for flag in $(EXTRA_HOST_FLAGS); do \
3780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3782 echo "Doing clean in binutils" ; \
3784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3786 "RANLIB=$${RANLIB}" \
3787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3792 .PHONY: maybe-distclean-binutils distclean-binutils
3793 maybe-distclean-binutils:
3796 @[ -f ./binutils/Makefile ] || exit 0; \
3797 r=`${PWD_COMMAND}`; export r; \
3798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3800 for flag in $(EXTRA_HOST_FLAGS); do \
3801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3803 echo "Doing distclean in binutils" ; \
3805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3807 "RANLIB=$${RANLIB}" \
3808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3813 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
3814 maybe-maintainer-clean-binutils:
3816 maintainer-clean-binutils:
3817 @[ -f ./binutils/Makefile ] || exit 0; \
3818 r=`${PWD_COMMAND}`; export r; \
3819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3821 for flag in $(EXTRA_HOST_FLAGS); do \
3822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3824 echo "Doing maintainer-clean in binutils" ; \
3826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3828 "RANLIB=$${RANLIB}" \
3829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3835 .PHONY: configure-bison maybe-configure-bison
3836 maybe-configure-bison:
3838 @test ! -f bison/Makefile || exit 0; \
3839 [ -d bison ] || mkdir bison; \
3840 r=`${PWD_COMMAND}`; export r; \
3841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3842 CC="$(CC)"; export CC; \
3843 CFLAGS="$(CFLAGS)"; export CFLAGS; \
3844 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
3845 CXX="$(CXX)"; export CXX; \
3846 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
3847 AR="$(AR)"; export AR; \
3848 AS="$(AS)"; export AS; \
3849 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
3850 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
3851 LD="$(LD)"; export LD; \
3852 NM="$(NM)"; export NM; \
3853 RANLIB="$(RANLIB)"; export RANLIB; \
3854 WINDRES="$(WINDRES)"; export WINDRES; \
3855 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
3856 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
3857 echo Configuring in bison; \
3858 cd bison || exit 1; \
3861 srcdiroption="--srcdir=."; \
3863 /* | [A-Za-z]:[\\/]*) \
3864 srcdiroption="--srcdir=$(srcdir)/bison"; \
3865 libsrcdir="$$s/bison";; \
3867 srcdiroption="--srcdir=../$(srcdir)/bison"; \
3868 libsrcdir="$$s/bison";; \
3870 $(SHELL) $${libsrcdir}/configure \
3871 $(HOST_CONFIGARGS) $${srcdiroption} \
3874 .PHONY: all-bison maybe-all-bison
3876 all-bison: configure-bison
3877 @r=`${PWD_COMMAND}`; export r; \
3878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3880 (cd bison && $(MAKE) $(FLAGS_TO_PASS) all)
3882 .PHONY: check-bison maybe-check-bison
3885 # This module is only tested in a native toolchain.
3887 @if [ '$(host)' = '$(target)' ] ; then \
3888 r=`${PWD_COMMAND}`; export r; \
3889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3891 (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
3895 .PHONY: install-bison maybe-install-bison
3896 maybe-install-bison:
3898 install-bison: installdirs
3899 @r=`${PWD_COMMAND}`; export r; \
3900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3902 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
3905 # Other targets (info, dvi, etc.)
3907 .PHONY: maybe-info-bison info-bison
3912 @[ -f ./bison/Makefile ] || exit 0; \
3913 r=`${PWD_COMMAND}`; export r; \
3914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3916 for flag in $(EXTRA_HOST_FLAGS); do \
3917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3919 echo "Doing info in bison" ; \
3921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3923 "RANLIB=$${RANLIB}" \
3924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3929 .PHONY: maybe-dvi-bison dvi-bison
3934 @[ -f ./bison/Makefile ] || exit 0; \
3935 r=`${PWD_COMMAND}`; export r; \
3936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3938 for flag in $(EXTRA_HOST_FLAGS); do \
3939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3941 echo "Doing dvi in bison" ; \
3943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3945 "RANLIB=$${RANLIB}" \
3946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3951 .PHONY: maybe-TAGS-bison TAGS-bison
3956 @[ -f ./bison/Makefile ] || exit 0; \
3957 r=`${PWD_COMMAND}`; export r; \
3958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3960 for flag in $(EXTRA_HOST_FLAGS); do \
3961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3963 echo "Doing TAGS in bison" ; \
3965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3967 "RANLIB=$${RANLIB}" \
3968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3973 .PHONY: maybe-install-info-bison install-info-bison
3974 maybe-install-info-bison:
3976 install-info-bison: \
3979 @[ -f ./bison/Makefile ] || exit 0; \
3980 r=`${PWD_COMMAND}`; export r; \
3981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3983 for flag in $(EXTRA_HOST_FLAGS); do \
3984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3986 echo "Doing install-info in bison" ; \
3988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3990 "RANLIB=$${RANLIB}" \
3991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3996 .PHONY: maybe-installcheck-bison installcheck-bison
3997 maybe-installcheck-bison:
3999 installcheck-bison: \
4001 @[ -f ./bison/Makefile ] || exit 0; \
4002 r=`${PWD_COMMAND}`; export r; \
4003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4005 for flag in $(EXTRA_HOST_FLAGS); do \
4006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4008 echo "Doing installcheck in bison" ; \
4010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4012 "RANLIB=$${RANLIB}" \
4013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4018 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
4019 maybe-mostlyclean-bison:
4022 @[ -f ./bison/Makefile ] || exit 0; \
4023 r=`${PWD_COMMAND}`; export r; \
4024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4026 for flag in $(EXTRA_HOST_FLAGS); do \
4027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4029 echo "Doing mostlyclean in bison" ; \
4031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4033 "RANLIB=$${RANLIB}" \
4034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4039 .PHONY: maybe-clean-bison clean-bison
4043 @[ -f ./bison/Makefile ] || exit 0; \
4044 r=`${PWD_COMMAND}`; export r; \
4045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4047 for flag in $(EXTRA_HOST_FLAGS); do \
4048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4050 echo "Doing clean in bison" ; \
4052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4054 "RANLIB=$${RANLIB}" \
4055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4060 .PHONY: maybe-distclean-bison distclean-bison
4061 maybe-distclean-bison:
4064 @[ -f ./bison/Makefile ] || exit 0; \
4065 r=`${PWD_COMMAND}`; export r; \
4066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4068 for flag in $(EXTRA_HOST_FLAGS); do \
4069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4071 echo "Doing distclean in bison" ; \
4073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4075 "RANLIB=$${RANLIB}" \
4076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4081 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
4082 maybe-maintainer-clean-bison:
4084 maintainer-clean-bison:
4085 @[ -f ./bison/Makefile ] || exit 0; \
4086 r=`${PWD_COMMAND}`; export r; \
4087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4089 for flag in $(EXTRA_HOST_FLAGS); do \
4090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4092 echo "Doing maintainer-clean in bison" ; \
4094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4096 "RANLIB=$${RANLIB}" \
4097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4103 .PHONY: configure-byacc maybe-configure-byacc
4104 maybe-configure-byacc:
4106 @test ! -f byacc/Makefile || exit 0; \
4107 [ -d byacc ] || mkdir byacc; \
4108 r=`${PWD_COMMAND}`; export r; \
4109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4110 CC="$(CC)"; export CC; \
4111 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4112 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
4113 CXX="$(CXX)"; export CXX; \
4114 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4115 AR="$(AR)"; export AR; \
4116 AS="$(AS)"; export AS; \
4117 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4118 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4119 LD="$(LD)"; export LD; \
4120 NM="$(NM)"; export NM; \
4121 RANLIB="$(RANLIB)"; export RANLIB; \
4122 WINDRES="$(WINDRES)"; export WINDRES; \
4123 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4124 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4125 echo Configuring in byacc; \
4126 cd byacc || exit 1; \
4129 srcdiroption="--srcdir=."; \
4131 /* | [A-Za-z]:[\\/]*) \
4132 srcdiroption="--srcdir=$(srcdir)/byacc"; \
4133 libsrcdir="$$s/byacc";; \
4135 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
4136 libsrcdir="$$s/byacc";; \
4138 $(SHELL) $${libsrcdir}/configure \
4139 $(HOST_CONFIGARGS) $${srcdiroption} \
4142 .PHONY: all-byacc maybe-all-byacc
4144 all-byacc: configure-byacc
4145 @r=`${PWD_COMMAND}`; export r; \
4146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4148 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) all)
4150 .PHONY: check-byacc maybe-check-byacc
4153 # This module is only tested in a native toolchain.
4155 @if [ '$(host)' = '$(target)' ] ; then \
4156 r=`${PWD_COMMAND}`; export r; \
4157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4159 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \
4163 .PHONY: install-byacc maybe-install-byacc
4164 maybe-install-byacc:
4166 install-byacc: installdirs
4167 @r=`${PWD_COMMAND}`; export r; \
4168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4170 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
4173 # Other targets (info, dvi, etc.)
4175 .PHONY: maybe-info-byacc info-byacc
4180 @[ -f ./byacc/Makefile ] || exit 0; \
4181 r=`${PWD_COMMAND}`; export r; \
4182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4184 for flag in $(EXTRA_HOST_FLAGS); do \
4185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4187 echo "Doing info in byacc" ; \
4189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4191 "RANLIB=$${RANLIB}" \
4192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4197 .PHONY: maybe-dvi-byacc dvi-byacc
4202 @[ -f ./byacc/Makefile ] || exit 0; \
4203 r=`${PWD_COMMAND}`; export r; \
4204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4206 for flag in $(EXTRA_HOST_FLAGS); do \
4207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4209 echo "Doing dvi in byacc" ; \
4211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4213 "RANLIB=$${RANLIB}" \
4214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4219 .PHONY: maybe-TAGS-byacc TAGS-byacc
4224 @[ -f ./byacc/Makefile ] || exit 0; \
4225 r=`${PWD_COMMAND}`; export r; \
4226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4228 for flag in $(EXTRA_HOST_FLAGS); do \
4229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4231 echo "Doing TAGS in byacc" ; \
4233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4235 "RANLIB=$${RANLIB}" \
4236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4241 .PHONY: maybe-install-info-byacc install-info-byacc
4242 maybe-install-info-byacc:
4244 install-info-byacc: \
4247 @[ -f ./byacc/Makefile ] || exit 0; \
4248 r=`${PWD_COMMAND}`; export r; \
4249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4251 for flag in $(EXTRA_HOST_FLAGS); do \
4252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4254 echo "Doing install-info in byacc" ; \
4256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4258 "RANLIB=$${RANLIB}" \
4259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4264 .PHONY: maybe-installcheck-byacc installcheck-byacc
4265 maybe-installcheck-byacc:
4267 installcheck-byacc: \
4269 @[ -f ./byacc/Makefile ] || exit 0; \
4270 r=`${PWD_COMMAND}`; export r; \
4271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4273 for flag in $(EXTRA_HOST_FLAGS); do \
4274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4276 echo "Doing installcheck in byacc" ; \
4278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4280 "RANLIB=$${RANLIB}" \
4281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4286 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
4287 maybe-mostlyclean-byacc:
4290 @[ -f ./byacc/Makefile ] || exit 0; \
4291 r=`${PWD_COMMAND}`; export r; \
4292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4294 for flag in $(EXTRA_HOST_FLAGS); do \
4295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4297 echo "Doing mostlyclean in byacc" ; \
4299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4301 "RANLIB=$${RANLIB}" \
4302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4307 .PHONY: maybe-clean-byacc clean-byacc
4311 @[ -f ./byacc/Makefile ] || exit 0; \
4312 r=`${PWD_COMMAND}`; export r; \
4313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4315 for flag in $(EXTRA_HOST_FLAGS); do \
4316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4318 echo "Doing clean in byacc" ; \
4320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4322 "RANLIB=$${RANLIB}" \
4323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4328 .PHONY: maybe-distclean-byacc distclean-byacc
4329 maybe-distclean-byacc:
4332 @[ -f ./byacc/Makefile ] || exit 0; \
4333 r=`${PWD_COMMAND}`; export r; \
4334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4336 for flag in $(EXTRA_HOST_FLAGS); do \
4337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4339 echo "Doing distclean in byacc" ; \
4341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4343 "RANLIB=$${RANLIB}" \
4344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4349 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
4350 maybe-maintainer-clean-byacc:
4352 maintainer-clean-byacc:
4353 @[ -f ./byacc/Makefile ] || exit 0; \
4354 r=`${PWD_COMMAND}`; export r; \
4355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4357 for flag in $(EXTRA_HOST_FLAGS); do \
4358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4360 echo "Doing maintainer-clean in byacc" ; \
4362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4364 "RANLIB=$${RANLIB}" \
4365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4371 .PHONY: configure-bzip2 maybe-configure-bzip2
4372 maybe-configure-bzip2:
4374 @test ! -f bzip2/Makefile || exit 0; \
4375 [ -d bzip2 ] || mkdir bzip2; \
4376 r=`${PWD_COMMAND}`; export r; \
4377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4378 CC="$(CC)"; export CC; \
4379 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4380 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
4381 CXX="$(CXX)"; export CXX; \
4382 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4383 AR="$(AR)"; export AR; \
4384 AS="$(AS)"; export AS; \
4385 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4386 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4387 LD="$(LD)"; export LD; \
4388 NM="$(NM)"; export NM; \
4389 RANLIB="$(RANLIB)"; export RANLIB; \
4390 WINDRES="$(WINDRES)"; export WINDRES; \
4391 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4392 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4393 echo Configuring in bzip2; \
4394 cd bzip2 || exit 1; \
4397 srcdiroption="--srcdir=."; \
4399 /* | [A-Za-z]:[\\/]*) \
4400 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
4401 libsrcdir="$$s/bzip2";; \
4403 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
4404 libsrcdir="$$s/bzip2";; \
4406 $(SHELL) $${libsrcdir}/configure \
4407 $(HOST_CONFIGARGS) $${srcdiroption} \
4410 .PHONY: all-bzip2 maybe-all-bzip2
4412 all-bzip2: configure-bzip2
4413 @r=`${PWD_COMMAND}`; export r; \
4414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4416 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) all)
4418 .PHONY: check-bzip2 maybe-check-bzip2
4422 @r=`${PWD_COMMAND}`; export r; \
4423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4425 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
4428 .PHONY: install-bzip2 maybe-install-bzip2
4429 maybe-install-bzip2:
4431 install-bzip2: installdirs
4432 @r=`${PWD_COMMAND}`; export r; \
4433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4435 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
4438 # Other targets (info, dvi, etc.)
4440 .PHONY: maybe-info-bzip2 info-bzip2
4445 @[ -f ./bzip2/Makefile ] || exit 0; \
4446 r=`${PWD_COMMAND}`; export r; \
4447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4449 for flag in $(EXTRA_HOST_FLAGS); do \
4450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4452 echo "Doing info in bzip2" ; \
4454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4456 "RANLIB=$${RANLIB}" \
4457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4462 .PHONY: maybe-dvi-bzip2 dvi-bzip2
4467 @[ -f ./bzip2/Makefile ] || exit 0; \
4468 r=`${PWD_COMMAND}`; export r; \
4469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4471 for flag in $(EXTRA_HOST_FLAGS); do \
4472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4474 echo "Doing dvi in bzip2" ; \
4476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4478 "RANLIB=$${RANLIB}" \
4479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4484 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
4489 @[ -f ./bzip2/Makefile ] || exit 0; \
4490 r=`${PWD_COMMAND}`; export r; \
4491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4493 for flag in $(EXTRA_HOST_FLAGS); do \
4494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4496 echo "Doing TAGS in bzip2" ; \
4498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4500 "RANLIB=$${RANLIB}" \
4501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4506 .PHONY: maybe-install-info-bzip2 install-info-bzip2
4507 maybe-install-info-bzip2:
4509 install-info-bzip2: \
4512 @[ -f ./bzip2/Makefile ] || exit 0; \
4513 r=`${PWD_COMMAND}`; export r; \
4514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4516 for flag in $(EXTRA_HOST_FLAGS); do \
4517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4519 echo "Doing install-info in bzip2" ; \
4521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4523 "RANLIB=$${RANLIB}" \
4524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4529 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
4530 maybe-installcheck-bzip2:
4532 installcheck-bzip2: \
4534 @[ -f ./bzip2/Makefile ] || exit 0; \
4535 r=`${PWD_COMMAND}`; export r; \
4536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4538 for flag in $(EXTRA_HOST_FLAGS); do \
4539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4541 echo "Doing installcheck in bzip2" ; \
4543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4545 "RANLIB=$${RANLIB}" \
4546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4551 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
4552 maybe-mostlyclean-bzip2:
4555 @[ -f ./bzip2/Makefile ] || exit 0; \
4556 r=`${PWD_COMMAND}`; export r; \
4557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4559 for flag in $(EXTRA_HOST_FLAGS); do \
4560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4562 echo "Doing mostlyclean in bzip2" ; \
4564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4566 "RANLIB=$${RANLIB}" \
4567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4572 .PHONY: maybe-clean-bzip2 clean-bzip2
4576 @[ -f ./bzip2/Makefile ] || exit 0; \
4577 r=`${PWD_COMMAND}`; export r; \
4578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4580 for flag in $(EXTRA_HOST_FLAGS); do \
4581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4583 echo "Doing clean in bzip2" ; \
4585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4587 "RANLIB=$${RANLIB}" \
4588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4593 .PHONY: maybe-distclean-bzip2 distclean-bzip2
4594 maybe-distclean-bzip2:
4597 @[ -f ./bzip2/Makefile ] || exit 0; \
4598 r=`${PWD_COMMAND}`; export r; \
4599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4601 for flag in $(EXTRA_HOST_FLAGS); do \
4602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4604 echo "Doing distclean in bzip2" ; \
4606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4608 "RANLIB=$${RANLIB}" \
4609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4614 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
4615 maybe-maintainer-clean-bzip2:
4617 maintainer-clean-bzip2:
4618 @[ -f ./bzip2/Makefile ] || exit 0; \
4619 r=`${PWD_COMMAND}`; export r; \
4620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4622 for flag in $(EXTRA_HOST_FLAGS); do \
4623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4625 echo "Doing maintainer-clean in bzip2" ; \
4627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4629 "RANLIB=$${RANLIB}" \
4630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4636 .PHONY: configure-dejagnu maybe-configure-dejagnu
4637 maybe-configure-dejagnu:
4639 @test ! -f dejagnu/Makefile || exit 0; \
4640 [ -d dejagnu ] || mkdir dejagnu; \
4641 r=`${PWD_COMMAND}`; export r; \
4642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4643 CC="$(CC)"; export CC; \
4644 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4645 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
4646 CXX="$(CXX)"; export CXX; \
4647 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4648 AR="$(AR)"; export AR; \
4649 AS="$(AS)"; export AS; \
4650 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4651 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4652 LD="$(LD)"; export LD; \
4653 NM="$(NM)"; export NM; \
4654 RANLIB="$(RANLIB)"; export RANLIB; \
4655 WINDRES="$(WINDRES)"; export WINDRES; \
4656 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4657 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4658 echo Configuring in dejagnu; \
4659 cd dejagnu || exit 1; \
4662 srcdiroption="--srcdir=."; \
4664 /* | [A-Za-z]:[\\/]*) \
4665 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
4666 libsrcdir="$$s/dejagnu";; \
4668 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
4669 libsrcdir="$$s/dejagnu";; \
4671 $(SHELL) $${libsrcdir}/configure \
4672 $(HOST_CONFIGARGS) $${srcdiroption} \
4675 .PHONY: all-dejagnu maybe-all-dejagnu
4677 all-dejagnu: configure-dejagnu
4678 @r=`${PWD_COMMAND}`; export r; \
4679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4681 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) all)
4683 .PHONY: check-dejagnu maybe-check-dejagnu
4684 maybe-check-dejagnu:
4687 @r=`${PWD_COMMAND}`; export r; \
4688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4690 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
4693 .PHONY: install-dejagnu maybe-install-dejagnu
4694 maybe-install-dejagnu:
4696 install-dejagnu: installdirs
4697 @r=`${PWD_COMMAND}`; export r; \
4698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4700 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
4703 # Other targets (info, dvi, etc.)
4705 .PHONY: maybe-info-dejagnu info-dejagnu
4710 @[ -f ./dejagnu/Makefile ] || exit 0; \
4711 r=`${PWD_COMMAND}`; export r; \
4712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4714 for flag in $(EXTRA_HOST_FLAGS); do \
4715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4717 echo "Doing info in dejagnu" ; \
4719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4721 "RANLIB=$${RANLIB}" \
4722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4727 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
4732 @[ -f ./dejagnu/Makefile ] || exit 0; \
4733 r=`${PWD_COMMAND}`; export r; \
4734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4736 for flag in $(EXTRA_HOST_FLAGS); do \
4737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4739 echo "Doing dvi in dejagnu" ; \
4741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4743 "RANLIB=$${RANLIB}" \
4744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4749 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
4754 @[ -f ./dejagnu/Makefile ] || exit 0; \
4755 r=`${PWD_COMMAND}`; export r; \
4756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4758 for flag in $(EXTRA_HOST_FLAGS); do \
4759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4761 echo "Doing TAGS in dejagnu" ; \
4763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4765 "RANLIB=$${RANLIB}" \
4766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4771 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
4772 maybe-install-info-dejagnu:
4774 install-info-dejagnu: \
4777 @[ -f ./dejagnu/Makefile ] || exit 0; \
4778 r=`${PWD_COMMAND}`; export r; \
4779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4781 for flag in $(EXTRA_HOST_FLAGS); do \
4782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4784 echo "Doing install-info in dejagnu" ; \
4786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4788 "RANLIB=$${RANLIB}" \
4789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4794 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
4795 maybe-installcheck-dejagnu:
4797 installcheck-dejagnu: \
4799 @[ -f ./dejagnu/Makefile ] || exit 0; \
4800 r=`${PWD_COMMAND}`; export r; \
4801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4803 for flag in $(EXTRA_HOST_FLAGS); do \
4804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4806 echo "Doing installcheck in dejagnu" ; \
4808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4810 "RANLIB=$${RANLIB}" \
4811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4816 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
4817 maybe-mostlyclean-dejagnu:
4819 mostlyclean-dejagnu:
4820 @[ -f ./dejagnu/Makefile ] || exit 0; \
4821 r=`${PWD_COMMAND}`; export r; \
4822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4824 for flag in $(EXTRA_HOST_FLAGS); do \
4825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4827 echo "Doing mostlyclean in dejagnu" ; \
4829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4831 "RANLIB=$${RANLIB}" \
4832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4837 .PHONY: maybe-clean-dejagnu clean-dejagnu
4838 maybe-clean-dejagnu:
4841 @[ -f ./dejagnu/Makefile ] || exit 0; \
4842 r=`${PWD_COMMAND}`; export r; \
4843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4845 for flag in $(EXTRA_HOST_FLAGS); do \
4846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4848 echo "Doing clean in dejagnu" ; \
4850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4852 "RANLIB=$${RANLIB}" \
4853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4858 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
4859 maybe-distclean-dejagnu:
4862 @[ -f ./dejagnu/Makefile ] || exit 0; \
4863 r=`${PWD_COMMAND}`; export r; \
4864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4866 for flag in $(EXTRA_HOST_FLAGS); do \
4867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4869 echo "Doing distclean in dejagnu" ; \
4871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4873 "RANLIB=$${RANLIB}" \
4874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4879 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
4880 maybe-maintainer-clean-dejagnu:
4882 maintainer-clean-dejagnu:
4883 @[ -f ./dejagnu/Makefile ] || exit 0; \
4884 r=`${PWD_COMMAND}`; export r; \
4885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4887 for flag in $(EXTRA_HOST_FLAGS); do \
4888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4890 echo "Doing maintainer-clean in dejagnu" ; \
4892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4894 "RANLIB=$${RANLIB}" \
4895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4901 .PHONY: configure-diff maybe-configure-diff
4902 maybe-configure-diff:
4904 @test ! -f diff/Makefile || exit 0; \
4905 [ -d diff ] || mkdir diff; \
4906 r=`${PWD_COMMAND}`; export r; \
4907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4908 CC="$(CC)"; export CC; \
4909 CFLAGS="$(CFLAGS)"; export CFLAGS; \
4910 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
4911 CXX="$(CXX)"; export CXX; \
4912 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
4913 AR="$(AR)"; export AR; \
4914 AS="$(AS)"; export AS; \
4915 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
4916 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
4917 LD="$(LD)"; export LD; \
4918 NM="$(NM)"; export NM; \
4919 RANLIB="$(RANLIB)"; export RANLIB; \
4920 WINDRES="$(WINDRES)"; export WINDRES; \
4921 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
4922 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
4923 echo Configuring in diff; \
4924 cd diff || exit 1; \
4927 srcdiroption="--srcdir=."; \
4929 /* | [A-Za-z]:[\\/]*) \
4930 srcdiroption="--srcdir=$(srcdir)/diff"; \
4931 libsrcdir="$$s/diff";; \
4933 srcdiroption="--srcdir=../$(srcdir)/diff"; \
4934 libsrcdir="$$s/diff";; \
4936 $(SHELL) $${libsrcdir}/configure \
4937 $(HOST_CONFIGARGS) $${srcdiroption} \
4940 .PHONY: all-diff maybe-all-diff
4942 all-diff: configure-diff
4943 @r=`${PWD_COMMAND}`; export r; \
4944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4946 (cd diff && $(MAKE) $(FLAGS_TO_PASS) all)
4948 .PHONY: check-diff maybe-check-diff
4952 @r=`${PWD_COMMAND}`; export r; \
4953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4955 (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
4958 .PHONY: install-diff maybe-install-diff
4961 install-diff: installdirs
4962 @r=`${PWD_COMMAND}`; export r; \
4963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4965 (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
4968 # Other targets (info, dvi, etc.)
4970 .PHONY: maybe-info-diff info-diff
4975 @[ -f ./diff/Makefile ] || exit 0; \
4976 r=`${PWD_COMMAND}`; export r; \
4977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4979 for flag in $(EXTRA_HOST_FLAGS); do \
4980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4982 echo "Doing info in diff" ; \
4984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4986 "RANLIB=$${RANLIB}" \
4987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4992 .PHONY: maybe-dvi-diff dvi-diff
4997 @[ -f ./diff/Makefile ] || exit 0; \
4998 r=`${PWD_COMMAND}`; export r; \
4999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5001 for flag in $(EXTRA_HOST_FLAGS); do \
5002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5004 echo "Doing dvi in diff" ; \
5006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5008 "RANLIB=$${RANLIB}" \
5009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5014 .PHONY: maybe-TAGS-diff TAGS-diff
5019 @[ -f ./diff/Makefile ] || exit 0; \
5020 r=`${PWD_COMMAND}`; export r; \
5021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5023 for flag in $(EXTRA_HOST_FLAGS); do \
5024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5026 echo "Doing TAGS in diff" ; \
5028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5030 "RANLIB=$${RANLIB}" \
5031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5036 .PHONY: maybe-install-info-diff install-info-diff
5037 maybe-install-info-diff:
5039 install-info-diff: \
5042 @[ -f ./diff/Makefile ] || exit 0; \
5043 r=`${PWD_COMMAND}`; export r; \
5044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5046 for flag in $(EXTRA_HOST_FLAGS); do \
5047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5049 echo "Doing install-info in diff" ; \
5051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5053 "RANLIB=$${RANLIB}" \
5054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5059 .PHONY: maybe-installcheck-diff installcheck-diff
5060 maybe-installcheck-diff:
5062 installcheck-diff: \
5064 @[ -f ./diff/Makefile ] || exit 0; \
5065 r=`${PWD_COMMAND}`; export r; \
5066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5068 for flag in $(EXTRA_HOST_FLAGS); do \
5069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5071 echo "Doing installcheck in diff" ; \
5073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5075 "RANLIB=$${RANLIB}" \
5076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5081 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
5082 maybe-mostlyclean-diff:
5085 @[ -f ./diff/Makefile ] || exit 0; \
5086 r=`${PWD_COMMAND}`; export r; \
5087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5089 for flag in $(EXTRA_HOST_FLAGS); do \
5090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5092 echo "Doing mostlyclean in diff" ; \
5094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5096 "RANLIB=$${RANLIB}" \
5097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5102 .PHONY: maybe-clean-diff clean-diff
5106 @[ -f ./diff/Makefile ] || exit 0; \
5107 r=`${PWD_COMMAND}`; export r; \
5108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5110 for flag in $(EXTRA_HOST_FLAGS); do \
5111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5113 echo "Doing clean in diff" ; \
5115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5117 "RANLIB=$${RANLIB}" \
5118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5123 .PHONY: maybe-distclean-diff distclean-diff
5124 maybe-distclean-diff:
5127 @[ -f ./diff/Makefile ] || exit 0; \
5128 r=`${PWD_COMMAND}`; export r; \
5129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5131 for flag in $(EXTRA_HOST_FLAGS); do \
5132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5134 echo "Doing distclean in diff" ; \
5136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5138 "RANLIB=$${RANLIB}" \
5139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5144 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
5145 maybe-maintainer-clean-diff:
5147 maintainer-clean-diff:
5148 @[ -f ./diff/Makefile ] || exit 0; \
5149 r=`${PWD_COMMAND}`; export r; \
5150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5152 for flag in $(EXTRA_HOST_FLAGS); do \
5153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5155 echo "Doing maintainer-clean in diff" ; \
5157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5159 "RANLIB=$${RANLIB}" \
5160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5166 .PHONY: configure-dosutils maybe-configure-dosutils
5167 maybe-configure-dosutils:
5169 @test ! -f dosutils/Makefile || exit 0; \
5170 [ -d dosutils ] || mkdir dosutils; \
5171 r=`${PWD_COMMAND}`; export r; \
5172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5173 CC="$(CC)"; export CC; \
5174 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5175 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
5176 CXX="$(CXX)"; export CXX; \
5177 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5178 AR="$(AR)"; export AR; \
5179 AS="$(AS)"; export AS; \
5180 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5181 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5182 LD="$(LD)"; export LD; \
5183 NM="$(NM)"; export NM; \
5184 RANLIB="$(RANLIB)"; export RANLIB; \
5185 WINDRES="$(WINDRES)"; export WINDRES; \
5186 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5187 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5188 echo Configuring in dosutils; \
5189 cd dosutils || exit 1; \
5192 srcdiroption="--srcdir=."; \
5194 /* | [A-Za-z]:[\\/]*) \
5195 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
5196 libsrcdir="$$s/dosutils";; \
5198 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
5199 libsrcdir="$$s/dosutils";; \
5201 $(SHELL) $${libsrcdir}/configure \
5202 $(HOST_CONFIGARGS) $${srcdiroption} \
5205 .PHONY: all-dosutils maybe-all-dosutils
5207 all-dosutils: configure-dosutils
5208 @r=`${PWD_COMMAND}`; export r; \
5209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5211 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) all)
5213 .PHONY: check-dosutils maybe-check-dosutils
5214 maybe-check-dosutils:
5219 .PHONY: install-dosutils maybe-install-dosutils
5220 maybe-install-dosutils:
5222 install-dosutils: installdirs
5223 @r=`${PWD_COMMAND}`; export r; \
5224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5226 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
5229 # Other targets (info, dvi, etc.)
5231 .PHONY: maybe-info-dosutils info-dosutils
5232 maybe-info-dosutils:
5236 @[ -f ./dosutils/Makefile ] || exit 0; \
5237 r=`${PWD_COMMAND}`; export r; \
5238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5240 for flag in $(EXTRA_HOST_FLAGS); do \
5241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5243 echo "Doing info in dosutils" ; \
5245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5247 "RANLIB=$${RANLIB}" \
5248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5253 .PHONY: maybe-dvi-dosutils dvi-dosutils
5258 @[ -f ./dosutils/Makefile ] || exit 0; \
5259 r=`${PWD_COMMAND}`; export r; \
5260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5262 for flag in $(EXTRA_HOST_FLAGS); do \
5263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5265 echo "Doing dvi in dosutils" ; \
5267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5269 "RANLIB=$${RANLIB}" \
5270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5275 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
5276 maybe-TAGS-dosutils:
5280 @[ -f ./dosutils/Makefile ] || exit 0; \
5281 r=`${PWD_COMMAND}`; export r; \
5282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5284 for flag in $(EXTRA_HOST_FLAGS); do \
5285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5287 echo "Doing TAGS in dosutils" ; \
5289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5291 "RANLIB=$${RANLIB}" \
5292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5297 .PHONY: maybe-install-info-dosutils install-info-dosutils
5298 maybe-install-info-dosutils:
5300 install-info-dosutils: \
5301 configure-dosutils \
5303 @[ -f ./dosutils/Makefile ] || exit 0; \
5304 r=`${PWD_COMMAND}`; export r; \
5305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5307 for flag in $(EXTRA_HOST_FLAGS); do \
5308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5310 echo "Doing install-info in dosutils" ; \
5312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5314 "RANLIB=$${RANLIB}" \
5315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5320 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
5321 maybe-installcheck-dosutils:
5323 installcheck-dosutils: \
5325 @[ -f ./dosutils/Makefile ] || exit 0; \
5326 r=`${PWD_COMMAND}`; export r; \
5327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5329 for flag in $(EXTRA_HOST_FLAGS); do \
5330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5332 echo "Doing installcheck in dosutils" ; \
5334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5336 "RANLIB=$${RANLIB}" \
5337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5342 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
5343 maybe-mostlyclean-dosutils:
5345 mostlyclean-dosutils:
5346 @[ -f ./dosutils/Makefile ] || exit 0; \
5347 r=`${PWD_COMMAND}`; export r; \
5348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5350 for flag in $(EXTRA_HOST_FLAGS); do \
5351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5353 echo "Doing mostlyclean in dosutils" ; \
5355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5357 "RANLIB=$${RANLIB}" \
5358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5363 .PHONY: maybe-clean-dosutils clean-dosutils
5364 maybe-clean-dosutils:
5367 @[ -f ./dosutils/Makefile ] || exit 0; \
5368 r=`${PWD_COMMAND}`; export r; \
5369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5371 for flag in $(EXTRA_HOST_FLAGS); do \
5372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5374 echo "Doing clean in dosutils" ; \
5376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5378 "RANLIB=$${RANLIB}" \
5379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5384 .PHONY: maybe-distclean-dosutils distclean-dosutils
5385 maybe-distclean-dosutils:
5388 @[ -f ./dosutils/Makefile ] || exit 0; \
5389 r=`${PWD_COMMAND}`; export r; \
5390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5392 for flag in $(EXTRA_HOST_FLAGS); do \
5393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5395 echo "Doing distclean in dosutils" ; \
5397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5399 "RANLIB=$${RANLIB}" \
5400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5405 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
5406 maybe-maintainer-clean-dosutils:
5408 maintainer-clean-dosutils:
5409 @[ -f ./dosutils/Makefile ] || exit 0; \
5410 r=`${PWD_COMMAND}`; export r; \
5411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5413 for flag in $(EXTRA_HOST_FLAGS); do \
5414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5416 echo "Doing maintainer-clean in dosutils" ; \
5418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5420 "RANLIB=$${RANLIB}" \
5421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5427 .PHONY: configure-etc maybe-configure-etc
5428 maybe-configure-etc:
5430 @test ! -f etc/Makefile || exit 0; \
5431 [ -d etc ] || mkdir etc; \
5432 r=`${PWD_COMMAND}`; export r; \
5433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5434 CC="$(CC)"; export CC; \
5435 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5436 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
5437 CXX="$(CXX)"; export CXX; \
5438 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5439 AR="$(AR)"; export AR; \
5440 AS="$(AS)"; export AS; \
5441 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5442 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5443 LD="$(LD)"; export LD; \
5444 NM="$(NM)"; export NM; \
5445 RANLIB="$(RANLIB)"; export RANLIB; \
5446 WINDRES="$(WINDRES)"; export WINDRES; \
5447 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5448 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5449 echo Configuring in etc; \
5453 srcdiroption="--srcdir=."; \
5455 /* | [A-Za-z]:[\\/]*) \
5456 srcdiroption="--srcdir=$(srcdir)/etc"; \
5457 libsrcdir="$$s/etc";; \
5459 srcdiroption="--srcdir=../$(srcdir)/etc"; \
5460 libsrcdir="$$s/etc";; \
5462 $(SHELL) $${libsrcdir}/configure \
5463 $(HOST_CONFIGARGS) $${srcdiroption} \
5466 .PHONY: all-etc maybe-all-etc
5468 all-etc: configure-etc
5469 @r=`${PWD_COMMAND}`; export r; \
5470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5472 (cd etc && $(MAKE) $(FLAGS_TO_PASS) all)
5474 .PHONY: check-etc maybe-check-etc
5478 @r=`${PWD_COMMAND}`; export r; \
5479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5481 (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
5484 .PHONY: install-etc maybe-install-etc
5487 install-etc: installdirs
5488 @r=`${PWD_COMMAND}`; export r; \
5489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5491 (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
5494 # Other targets (info, dvi, etc.)
5496 .PHONY: maybe-info-etc info-etc
5501 @[ -f ./etc/Makefile ] || exit 0; \
5502 r=`${PWD_COMMAND}`; export r; \
5503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5505 for flag in $(EXTRA_HOST_FLAGS); do \
5506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5508 echo "Doing info in etc" ; \
5510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5512 "RANLIB=$${RANLIB}" \
5513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5518 .PHONY: maybe-dvi-etc dvi-etc
5523 @[ -f ./etc/Makefile ] || exit 0; \
5524 r=`${PWD_COMMAND}`; export r; \
5525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5527 for flag in $(EXTRA_HOST_FLAGS); do \
5528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5530 echo "Doing dvi in etc" ; \
5532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5534 "RANLIB=$${RANLIB}" \
5535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5540 .PHONY: maybe-TAGS-etc TAGS-etc
5545 @[ -f ./etc/Makefile ] || exit 0; \
5546 r=`${PWD_COMMAND}`; export r; \
5547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5549 for flag in $(EXTRA_HOST_FLAGS); do \
5550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5552 echo "Doing TAGS in etc" ; \
5554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5556 "RANLIB=$${RANLIB}" \
5557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5562 .PHONY: maybe-install-info-etc install-info-etc
5563 maybe-install-info-etc:
5568 @[ -f ./etc/Makefile ] || exit 0; \
5569 r=`${PWD_COMMAND}`; export r; \
5570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5572 for flag in $(EXTRA_HOST_FLAGS); do \
5573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5575 echo "Doing install-info in etc" ; \
5577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5579 "RANLIB=$${RANLIB}" \
5580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5585 .PHONY: maybe-installcheck-etc installcheck-etc
5586 maybe-installcheck-etc:
5590 @[ -f ./etc/Makefile ] || exit 0; \
5591 r=`${PWD_COMMAND}`; export r; \
5592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5594 for flag in $(EXTRA_HOST_FLAGS); do \
5595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5597 echo "Doing installcheck in etc" ; \
5599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5601 "RANLIB=$${RANLIB}" \
5602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5607 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
5608 maybe-mostlyclean-etc:
5611 @[ -f ./etc/Makefile ] || exit 0; \
5612 r=`${PWD_COMMAND}`; export r; \
5613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5615 for flag in $(EXTRA_HOST_FLAGS); do \
5616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5618 echo "Doing mostlyclean in etc" ; \
5620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5622 "RANLIB=$${RANLIB}" \
5623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5628 .PHONY: maybe-clean-etc clean-etc
5632 @[ -f ./etc/Makefile ] || exit 0; \
5633 r=`${PWD_COMMAND}`; export r; \
5634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5636 for flag in $(EXTRA_HOST_FLAGS); do \
5637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5639 echo "Doing clean in etc" ; \
5641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5643 "RANLIB=$${RANLIB}" \
5644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5649 .PHONY: maybe-distclean-etc distclean-etc
5650 maybe-distclean-etc:
5653 @[ -f ./etc/Makefile ] || exit 0; \
5654 r=`${PWD_COMMAND}`; export r; \
5655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5657 for flag in $(EXTRA_HOST_FLAGS); do \
5658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5660 echo "Doing distclean in etc" ; \
5662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5664 "RANLIB=$${RANLIB}" \
5665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5670 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
5671 maybe-maintainer-clean-etc:
5673 maintainer-clean-etc:
5674 @[ -f ./etc/Makefile ] || exit 0; \
5675 r=`${PWD_COMMAND}`; export r; \
5676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5678 for flag in $(EXTRA_HOST_FLAGS); do \
5679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5681 echo "Doing maintainer-clean in etc" ; \
5683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5685 "RANLIB=$${RANLIB}" \
5686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5692 .PHONY: configure-fastjar maybe-configure-fastjar
5693 maybe-configure-fastjar:
5695 @test ! -f fastjar/Makefile || exit 0; \
5696 [ -d fastjar ] || mkdir fastjar; \
5697 r=`${PWD_COMMAND}`; export r; \
5698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5699 CC="$(CC)"; export CC; \
5700 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5701 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
5702 CXX="$(CXX)"; export CXX; \
5703 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5704 AR="$(AR)"; export AR; \
5705 AS="$(AS)"; export AS; \
5706 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5707 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5708 LD="$(LD)"; export LD; \
5709 NM="$(NM)"; export NM; \
5710 RANLIB="$(RANLIB)"; export RANLIB; \
5711 WINDRES="$(WINDRES)"; export WINDRES; \
5712 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5713 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5714 echo Configuring in fastjar; \
5715 cd fastjar || exit 1; \
5718 srcdiroption="--srcdir=."; \
5720 /* | [A-Za-z]:[\\/]*) \
5721 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
5722 libsrcdir="$$s/fastjar";; \
5724 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
5725 libsrcdir="$$s/fastjar";; \
5727 $(SHELL) $${libsrcdir}/configure \
5728 $(HOST_CONFIGARGS) $${srcdiroption} \
5731 .PHONY: all-fastjar maybe-all-fastjar
5733 all-fastjar: configure-fastjar
5734 @r=`${PWD_COMMAND}`; export r; \
5735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5737 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) all)
5739 .PHONY: check-fastjar maybe-check-fastjar
5740 maybe-check-fastjar:
5742 # This module is only tested in a native toolchain.
5744 @if [ '$(host)' = '$(target)' ] ; then \
5745 r=`${PWD_COMMAND}`; export r; \
5746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5748 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \
5752 .PHONY: install-fastjar maybe-install-fastjar
5753 maybe-install-fastjar:
5755 install-fastjar: installdirs
5756 @r=`${PWD_COMMAND}`; export r; \
5757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5759 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
5762 # Other targets (info, dvi, etc.)
5764 .PHONY: maybe-info-fastjar info-fastjar
5769 @[ -f ./fastjar/Makefile ] || exit 0; \
5770 r=`${PWD_COMMAND}`; export r; \
5771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5773 for flag in $(EXTRA_HOST_FLAGS); do \
5774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5776 echo "Doing info in fastjar" ; \
5778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5780 "RANLIB=$${RANLIB}" \
5781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5786 .PHONY: maybe-dvi-fastjar dvi-fastjar
5791 @[ -f ./fastjar/Makefile ] || exit 0; \
5792 r=`${PWD_COMMAND}`; export r; \
5793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5795 for flag in $(EXTRA_HOST_FLAGS); do \
5796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5798 echo "Doing dvi in fastjar" ; \
5800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5802 "RANLIB=$${RANLIB}" \
5803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5808 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
5813 @[ -f ./fastjar/Makefile ] || exit 0; \
5814 r=`${PWD_COMMAND}`; export r; \
5815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5817 for flag in $(EXTRA_HOST_FLAGS); do \
5818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5820 echo "Doing TAGS in fastjar" ; \
5822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5824 "RANLIB=$${RANLIB}" \
5825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5830 .PHONY: maybe-install-info-fastjar install-info-fastjar
5831 maybe-install-info-fastjar:
5833 install-info-fastjar: \
5836 @[ -f ./fastjar/Makefile ] || exit 0; \
5837 r=`${PWD_COMMAND}`; export r; \
5838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5840 for flag in $(EXTRA_HOST_FLAGS); do \
5841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5843 echo "Doing install-info in fastjar" ; \
5845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5847 "RANLIB=$${RANLIB}" \
5848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5853 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
5854 maybe-installcheck-fastjar:
5856 installcheck-fastjar: \
5858 @[ -f ./fastjar/Makefile ] || exit 0; \
5859 r=`${PWD_COMMAND}`; export r; \
5860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5862 for flag in $(EXTRA_HOST_FLAGS); do \
5863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5865 echo "Doing installcheck in fastjar" ; \
5867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5869 "RANLIB=$${RANLIB}" \
5870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5875 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
5876 maybe-mostlyclean-fastjar:
5878 mostlyclean-fastjar:
5879 @[ -f ./fastjar/Makefile ] || exit 0; \
5880 r=`${PWD_COMMAND}`; export r; \
5881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5883 for flag in $(EXTRA_HOST_FLAGS); do \
5884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5886 echo "Doing mostlyclean in fastjar" ; \
5888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5890 "RANLIB=$${RANLIB}" \
5891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5896 .PHONY: maybe-clean-fastjar clean-fastjar
5897 maybe-clean-fastjar:
5900 @[ -f ./fastjar/Makefile ] || exit 0; \
5901 r=`${PWD_COMMAND}`; export r; \
5902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5904 for flag in $(EXTRA_HOST_FLAGS); do \
5905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5907 echo "Doing clean in fastjar" ; \
5909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5911 "RANLIB=$${RANLIB}" \
5912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5917 .PHONY: maybe-distclean-fastjar distclean-fastjar
5918 maybe-distclean-fastjar:
5921 @[ -f ./fastjar/Makefile ] || exit 0; \
5922 r=`${PWD_COMMAND}`; export r; \
5923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5925 for flag in $(EXTRA_HOST_FLAGS); do \
5926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5928 echo "Doing distclean in fastjar" ; \
5930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5932 "RANLIB=$${RANLIB}" \
5933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5938 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
5939 maybe-maintainer-clean-fastjar:
5941 maintainer-clean-fastjar:
5942 @[ -f ./fastjar/Makefile ] || exit 0; \
5943 r=`${PWD_COMMAND}`; export r; \
5944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5946 for flag in $(EXTRA_HOST_FLAGS); do \
5947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5949 echo "Doing maintainer-clean in fastjar" ; \
5951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5953 "RANLIB=$${RANLIB}" \
5954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5960 .PHONY: configure-fileutils maybe-configure-fileutils
5961 maybe-configure-fileutils:
5962 configure-fileutils:
5963 @test ! -f fileutils/Makefile || exit 0; \
5964 [ -d fileutils ] || mkdir fileutils; \
5965 r=`${PWD_COMMAND}`; export r; \
5966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5967 CC="$(CC)"; export CC; \
5968 CFLAGS="$(CFLAGS)"; export CFLAGS; \
5969 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
5970 CXX="$(CXX)"; export CXX; \
5971 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
5972 AR="$(AR)"; export AR; \
5973 AS="$(AS)"; export AS; \
5974 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
5975 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
5976 LD="$(LD)"; export LD; \
5977 NM="$(NM)"; export NM; \
5978 RANLIB="$(RANLIB)"; export RANLIB; \
5979 WINDRES="$(WINDRES)"; export WINDRES; \
5980 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
5981 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
5982 echo Configuring in fileutils; \
5983 cd fileutils || exit 1; \
5986 srcdiroption="--srcdir=."; \
5988 /* | [A-Za-z]:[\\/]*) \
5989 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
5990 libsrcdir="$$s/fileutils";; \
5992 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
5993 libsrcdir="$$s/fileutils";; \
5995 $(SHELL) $${libsrcdir}/configure \
5996 $(HOST_CONFIGARGS) $${srcdiroption} \
5999 .PHONY: all-fileutils maybe-all-fileutils
6000 maybe-all-fileutils:
6001 all-fileutils: configure-fileutils
6002 @r=`${PWD_COMMAND}`; export r; \
6003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6005 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) all)
6007 .PHONY: check-fileutils maybe-check-fileutils
6008 maybe-check-fileutils:
6011 @r=`${PWD_COMMAND}`; export r; \
6012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6014 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
6017 .PHONY: install-fileutils maybe-install-fileutils
6018 maybe-install-fileutils:
6020 install-fileutils: installdirs
6021 @r=`${PWD_COMMAND}`; export r; \
6022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6024 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
6027 # Other targets (info, dvi, etc.)
6029 .PHONY: maybe-info-fileutils info-fileutils
6030 maybe-info-fileutils:
6034 @[ -f ./fileutils/Makefile ] || exit 0; \
6035 r=`${PWD_COMMAND}`; export r; \
6036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6038 for flag in $(EXTRA_HOST_FLAGS); do \
6039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6041 echo "Doing info in fileutils" ; \
6043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6045 "RANLIB=$${RANLIB}" \
6046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6051 .PHONY: maybe-dvi-fileutils dvi-fileutils
6052 maybe-dvi-fileutils:
6056 @[ -f ./fileutils/Makefile ] || exit 0; \
6057 r=`${PWD_COMMAND}`; export r; \
6058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6060 for flag in $(EXTRA_HOST_FLAGS); do \
6061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6063 echo "Doing dvi in fileutils" ; \
6065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6067 "RANLIB=$${RANLIB}" \
6068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6073 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
6074 maybe-TAGS-fileutils:
6078 @[ -f ./fileutils/Makefile ] || exit 0; \
6079 r=`${PWD_COMMAND}`; export r; \
6080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6082 for flag in $(EXTRA_HOST_FLAGS); do \
6083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6085 echo "Doing TAGS in fileutils" ; \
6087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6089 "RANLIB=$${RANLIB}" \
6090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6095 .PHONY: maybe-install-info-fileutils install-info-fileutils
6096 maybe-install-info-fileutils:
6098 install-info-fileutils: \
6099 configure-fileutils \
6101 @[ -f ./fileutils/Makefile ] || exit 0; \
6102 r=`${PWD_COMMAND}`; export r; \
6103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6105 for flag in $(EXTRA_HOST_FLAGS); do \
6106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6108 echo "Doing install-info in fileutils" ; \
6110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6112 "RANLIB=$${RANLIB}" \
6113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6118 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
6119 maybe-installcheck-fileutils:
6121 installcheck-fileutils: \
6123 @[ -f ./fileutils/Makefile ] || exit 0; \
6124 r=`${PWD_COMMAND}`; export r; \
6125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6127 for flag in $(EXTRA_HOST_FLAGS); do \
6128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6130 echo "Doing installcheck in fileutils" ; \
6132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6134 "RANLIB=$${RANLIB}" \
6135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6140 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
6141 maybe-mostlyclean-fileutils:
6143 mostlyclean-fileutils:
6144 @[ -f ./fileutils/Makefile ] || exit 0; \
6145 r=`${PWD_COMMAND}`; export r; \
6146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6148 for flag in $(EXTRA_HOST_FLAGS); do \
6149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6151 echo "Doing mostlyclean in fileutils" ; \
6153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6155 "RANLIB=$${RANLIB}" \
6156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6161 .PHONY: maybe-clean-fileutils clean-fileutils
6162 maybe-clean-fileutils:
6165 @[ -f ./fileutils/Makefile ] || exit 0; \
6166 r=`${PWD_COMMAND}`; export r; \
6167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6169 for flag in $(EXTRA_HOST_FLAGS); do \
6170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6172 echo "Doing clean in fileutils" ; \
6174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6176 "RANLIB=$${RANLIB}" \
6177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6182 .PHONY: maybe-distclean-fileutils distclean-fileutils
6183 maybe-distclean-fileutils:
6185 distclean-fileutils:
6186 @[ -f ./fileutils/Makefile ] || exit 0; \
6187 r=`${PWD_COMMAND}`; export r; \
6188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6190 for flag in $(EXTRA_HOST_FLAGS); do \
6191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6193 echo "Doing distclean in fileutils" ; \
6195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6197 "RANLIB=$${RANLIB}" \
6198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6203 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
6204 maybe-maintainer-clean-fileutils:
6206 maintainer-clean-fileutils:
6207 @[ -f ./fileutils/Makefile ] || exit 0; \
6208 r=`${PWD_COMMAND}`; export r; \
6209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6211 for flag in $(EXTRA_HOST_FLAGS); do \
6212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6214 echo "Doing maintainer-clean in fileutils" ; \
6216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6218 "RANLIB=$${RANLIB}" \
6219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6225 .PHONY: configure-findutils maybe-configure-findutils
6226 maybe-configure-findutils:
6227 configure-findutils:
6228 @test ! -f findutils/Makefile || exit 0; \
6229 [ -d findutils ] || mkdir findutils; \
6230 r=`${PWD_COMMAND}`; export r; \
6231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6232 CC="$(CC)"; export CC; \
6233 CFLAGS="$(CFLAGS)"; export CFLAGS; \
6234 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
6235 CXX="$(CXX)"; export CXX; \
6236 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
6237 AR="$(AR)"; export AR; \
6238 AS="$(AS)"; export AS; \
6239 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
6240 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
6241 LD="$(LD)"; export LD; \
6242 NM="$(NM)"; export NM; \
6243 RANLIB="$(RANLIB)"; export RANLIB; \
6244 WINDRES="$(WINDRES)"; export WINDRES; \
6245 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
6246 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
6247 echo Configuring in findutils; \
6248 cd findutils || exit 1; \
6251 srcdiroption="--srcdir=."; \
6253 /* | [A-Za-z]:[\\/]*) \
6254 srcdiroption="--srcdir=$(srcdir)/findutils"; \
6255 libsrcdir="$$s/findutils";; \
6257 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
6258 libsrcdir="$$s/findutils";; \
6260 $(SHELL) $${libsrcdir}/configure \
6261 $(HOST_CONFIGARGS) $${srcdiroption} \
6264 .PHONY: all-findutils maybe-all-findutils
6265 maybe-all-findutils:
6266 all-findutils: configure-findutils
6267 @r=`${PWD_COMMAND}`; export r; \
6268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6270 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) all)
6272 .PHONY: check-findutils maybe-check-findutils
6273 maybe-check-findutils:
6276 @r=`${PWD_COMMAND}`; export r; \
6277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6279 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
6282 .PHONY: install-findutils maybe-install-findutils
6283 maybe-install-findutils:
6285 install-findutils: installdirs
6286 @r=`${PWD_COMMAND}`; export r; \
6287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6289 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
6292 # Other targets (info, dvi, etc.)
6294 .PHONY: maybe-info-findutils info-findutils
6295 maybe-info-findutils:
6299 @[ -f ./findutils/Makefile ] || exit 0; \
6300 r=`${PWD_COMMAND}`; export r; \
6301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6303 for flag in $(EXTRA_HOST_FLAGS); do \
6304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6306 echo "Doing info in findutils" ; \
6308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6310 "RANLIB=$${RANLIB}" \
6311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6316 .PHONY: maybe-dvi-findutils dvi-findutils
6317 maybe-dvi-findutils:
6321 @[ -f ./findutils/Makefile ] || exit 0; \
6322 r=`${PWD_COMMAND}`; export r; \
6323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6325 for flag in $(EXTRA_HOST_FLAGS); do \
6326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6328 echo "Doing dvi in findutils" ; \
6330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6332 "RANLIB=$${RANLIB}" \
6333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6338 .PHONY: maybe-TAGS-findutils TAGS-findutils
6339 maybe-TAGS-findutils:
6343 @[ -f ./findutils/Makefile ] || exit 0; \
6344 r=`${PWD_COMMAND}`; export r; \
6345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6347 for flag in $(EXTRA_HOST_FLAGS); do \
6348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6350 echo "Doing TAGS in findutils" ; \
6352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6354 "RANLIB=$${RANLIB}" \
6355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6360 .PHONY: maybe-install-info-findutils install-info-findutils
6361 maybe-install-info-findutils:
6363 install-info-findutils: \
6364 configure-findutils \
6366 @[ -f ./findutils/Makefile ] || exit 0; \
6367 r=`${PWD_COMMAND}`; export r; \
6368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6370 for flag in $(EXTRA_HOST_FLAGS); do \
6371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6373 echo "Doing install-info in findutils" ; \
6375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6377 "RANLIB=$${RANLIB}" \
6378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6383 .PHONY: maybe-installcheck-findutils installcheck-findutils
6384 maybe-installcheck-findutils:
6386 installcheck-findutils: \
6388 @[ -f ./findutils/Makefile ] || exit 0; \
6389 r=`${PWD_COMMAND}`; export r; \
6390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6392 for flag in $(EXTRA_HOST_FLAGS); do \
6393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6395 echo "Doing installcheck in findutils" ; \
6397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6399 "RANLIB=$${RANLIB}" \
6400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6405 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
6406 maybe-mostlyclean-findutils:
6408 mostlyclean-findutils:
6409 @[ -f ./findutils/Makefile ] || exit 0; \
6410 r=`${PWD_COMMAND}`; export r; \
6411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6413 for flag in $(EXTRA_HOST_FLAGS); do \
6414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6416 echo "Doing mostlyclean in findutils" ; \
6418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6420 "RANLIB=$${RANLIB}" \
6421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6426 .PHONY: maybe-clean-findutils clean-findutils
6427 maybe-clean-findutils:
6430 @[ -f ./findutils/Makefile ] || exit 0; \
6431 r=`${PWD_COMMAND}`; export r; \
6432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6434 for flag in $(EXTRA_HOST_FLAGS); do \
6435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6437 echo "Doing clean in findutils" ; \
6439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6441 "RANLIB=$${RANLIB}" \
6442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6447 .PHONY: maybe-distclean-findutils distclean-findutils
6448 maybe-distclean-findutils:
6450 distclean-findutils:
6451 @[ -f ./findutils/Makefile ] || exit 0; \
6452 r=`${PWD_COMMAND}`; export r; \
6453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6455 for flag in $(EXTRA_HOST_FLAGS); do \
6456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6458 echo "Doing distclean in findutils" ; \
6460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6462 "RANLIB=$${RANLIB}" \
6463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6468 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
6469 maybe-maintainer-clean-findutils:
6471 maintainer-clean-findutils:
6472 @[ -f ./findutils/Makefile ] || exit 0; \
6473 r=`${PWD_COMMAND}`; export r; \
6474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6476 for flag in $(EXTRA_HOST_FLAGS); do \
6477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6479 echo "Doing maintainer-clean in findutils" ; \
6481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6483 "RANLIB=$${RANLIB}" \
6484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6490 .PHONY: configure-find maybe-configure-find
6491 maybe-configure-find:
6493 @test ! -f find/Makefile || exit 0; \
6494 [ -d find ] || mkdir find; \
6495 r=`${PWD_COMMAND}`; export r; \
6496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6497 CC="$(CC)"; export CC; \
6498 CFLAGS="$(CFLAGS)"; export CFLAGS; \
6499 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
6500 CXX="$(CXX)"; export CXX; \
6501 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
6502 AR="$(AR)"; export AR; \
6503 AS="$(AS)"; export AS; \
6504 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
6505 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
6506 LD="$(LD)"; export LD; \
6507 NM="$(NM)"; export NM; \
6508 RANLIB="$(RANLIB)"; export RANLIB; \
6509 WINDRES="$(WINDRES)"; export WINDRES; \
6510 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
6511 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
6512 echo Configuring in find; \
6513 cd find || exit 1; \
6516 srcdiroption="--srcdir=."; \
6518 /* | [A-Za-z]:[\\/]*) \
6519 srcdiroption="--srcdir=$(srcdir)/find"; \
6520 libsrcdir="$$s/find";; \
6522 srcdiroption="--srcdir=../$(srcdir)/find"; \
6523 libsrcdir="$$s/find";; \
6525 $(SHELL) $${libsrcdir}/configure \
6526 $(HOST_CONFIGARGS) $${srcdiroption} \
6529 .PHONY: all-find maybe-all-find
6531 all-find: configure-find
6532 @r=`${PWD_COMMAND}`; export r; \
6533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6535 (cd find && $(MAKE) $(FLAGS_TO_PASS) all)
6537 .PHONY: check-find maybe-check-find
6541 @r=`${PWD_COMMAND}`; export r; \
6542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6544 (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
6547 .PHONY: install-find maybe-install-find
6550 install-find: installdirs
6551 @r=`${PWD_COMMAND}`; export r; \
6552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6554 (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
6557 # Other targets (info, dvi, etc.)
6559 .PHONY: maybe-info-find info-find
6564 @[ -f ./find/Makefile ] || exit 0; \
6565 r=`${PWD_COMMAND}`; export r; \
6566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6568 for flag in $(EXTRA_HOST_FLAGS); do \
6569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6571 echo "Doing info in find" ; \
6573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6575 "RANLIB=$${RANLIB}" \
6576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6581 .PHONY: maybe-dvi-find dvi-find
6586 @[ -f ./find/Makefile ] || exit 0; \
6587 r=`${PWD_COMMAND}`; export r; \
6588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6590 for flag in $(EXTRA_HOST_FLAGS); do \
6591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6593 echo "Doing dvi in find" ; \
6595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6597 "RANLIB=$${RANLIB}" \
6598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6603 .PHONY: maybe-TAGS-find TAGS-find
6608 @[ -f ./find/Makefile ] || exit 0; \
6609 r=`${PWD_COMMAND}`; export r; \
6610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6612 for flag in $(EXTRA_HOST_FLAGS); do \
6613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6615 echo "Doing TAGS in find" ; \
6617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6619 "RANLIB=$${RANLIB}" \
6620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6625 .PHONY: maybe-install-info-find install-info-find
6626 maybe-install-info-find:
6628 install-info-find: \
6631 @[ -f ./find/Makefile ] || exit 0; \
6632 r=`${PWD_COMMAND}`; export r; \
6633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6635 for flag in $(EXTRA_HOST_FLAGS); do \
6636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6638 echo "Doing install-info in find" ; \
6640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6642 "RANLIB=$${RANLIB}" \
6643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6648 .PHONY: maybe-installcheck-find installcheck-find
6649 maybe-installcheck-find:
6651 installcheck-find: \
6653 @[ -f ./find/Makefile ] || exit 0; \
6654 r=`${PWD_COMMAND}`; export r; \
6655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6657 for flag in $(EXTRA_HOST_FLAGS); do \
6658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6660 echo "Doing installcheck in find" ; \
6662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6664 "RANLIB=$${RANLIB}" \
6665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6670 .PHONY: maybe-mostlyclean-find mostlyclean-find
6671 maybe-mostlyclean-find:
6674 @[ -f ./find/Makefile ] || exit 0; \
6675 r=`${PWD_COMMAND}`; export r; \
6676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6678 for flag in $(EXTRA_HOST_FLAGS); do \
6679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6681 echo "Doing mostlyclean in find" ; \
6683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6685 "RANLIB=$${RANLIB}" \
6686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6691 .PHONY: maybe-clean-find clean-find
6695 @[ -f ./find/Makefile ] || exit 0; \
6696 r=`${PWD_COMMAND}`; export r; \
6697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6699 for flag in $(EXTRA_HOST_FLAGS); do \
6700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6702 echo "Doing clean in find" ; \
6704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6706 "RANLIB=$${RANLIB}" \
6707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6712 .PHONY: maybe-distclean-find distclean-find
6713 maybe-distclean-find:
6716 @[ -f ./find/Makefile ] || exit 0; \
6717 r=`${PWD_COMMAND}`; export r; \
6718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6720 for flag in $(EXTRA_HOST_FLAGS); do \
6721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6723 echo "Doing distclean in find" ; \
6725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6727 "RANLIB=$${RANLIB}" \
6728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6733 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
6734 maybe-maintainer-clean-find:
6736 maintainer-clean-find:
6737 @[ -f ./find/Makefile ] || exit 0; \
6738 r=`${PWD_COMMAND}`; export r; \
6739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6741 for flag in $(EXTRA_HOST_FLAGS); do \
6742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6744 echo "Doing maintainer-clean in find" ; \
6746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6748 "RANLIB=$${RANLIB}" \
6749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6755 .PHONY: configure-flex maybe-configure-flex
6756 maybe-configure-flex:
6758 @test ! -f flex/Makefile || exit 0; \
6759 [ -d flex ] || mkdir flex; \
6760 r=`${PWD_COMMAND}`; export r; \
6761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6762 CC="$(CC)"; export CC; \
6763 CFLAGS="$(CFLAGS)"; export CFLAGS; \
6764 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
6765 CXX="$(CXX)"; export CXX; \
6766 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
6767 AR="$(AR)"; export AR; \
6768 AS="$(AS)"; export AS; \
6769 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
6770 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
6771 LD="$(LD)"; export LD; \
6772 NM="$(NM)"; export NM; \
6773 RANLIB="$(RANLIB)"; export RANLIB; \
6774 WINDRES="$(WINDRES)"; export WINDRES; \
6775 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
6776 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
6777 echo Configuring in flex; \
6778 cd flex || exit 1; \
6781 srcdiroption="--srcdir=."; \
6783 /* | [A-Za-z]:[\\/]*) \
6784 srcdiroption="--srcdir=$(srcdir)/flex"; \
6785 libsrcdir="$$s/flex";; \
6787 srcdiroption="--srcdir=../$(srcdir)/flex"; \
6788 libsrcdir="$$s/flex";; \
6790 $(SHELL) $${libsrcdir}/configure \
6791 $(HOST_CONFIGARGS) $${srcdiroption} \
6794 .PHONY: all-flex maybe-all-flex
6796 all-flex: configure-flex
6797 @r=`${PWD_COMMAND}`; export r; \
6798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6800 (cd flex && $(MAKE) $(FLAGS_TO_PASS) all)
6802 .PHONY: check-flex maybe-check-flex
6805 # This module is only tested in a native toolchain.
6807 @if [ '$(host)' = '$(target)' ] ; then \
6808 r=`${PWD_COMMAND}`; export r; \
6809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6811 (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \
6815 .PHONY: install-flex maybe-install-flex
6818 install-flex: installdirs
6819 @r=`${PWD_COMMAND}`; export r; \
6820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6822 (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
6825 # Other targets (info, dvi, etc.)
6827 .PHONY: maybe-info-flex info-flex
6832 @[ -f ./flex/Makefile ] || exit 0; \
6833 r=`${PWD_COMMAND}`; export r; \
6834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6836 for flag in $(EXTRA_HOST_FLAGS); do \
6837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6839 echo "Doing info in flex" ; \
6841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6843 "RANLIB=$${RANLIB}" \
6844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6849 .PHONY: maybe-dvi-flex dvi-flex
6854 @[ -f ./flex/Makefile ] || exit 0; \
6855 r=`${PWD_COMMAND}`; export r; \
6856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6858 for flag in $(EXTRA_HOST_FLAGS); do \
6859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6861 echo "Doing dvi in flex" ; \
6863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6865 "RANLIB=$${RANLIB}" \
6866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6871 .PHONY: maybe-TAGS-flex TAGS-flex
6876 @[ -f ./flex/Makefile ] || exit 0; \
6877 r=`${PWD_COMMAND}`; export r; \
6878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6880 for flag in $(EXTRA_HOST_FLAGS); do \
6881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6883 echo "Doing TAGS in flex" ; \
6885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6887 "RANLIB=$${RANLIB}" \
6888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6893 .PHONY: maybe-install-info-flex install-info-flex
6894 maybe-install-info-flex:
6896 install-info-flex: \
6899 @[ -f ./flex/Makefile ] || exit 0; \
6900 r=`${PWD_COMMAND}`; export r; \
6901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6903 for flag in $(EXTRA_HOST_FLAGS); do \
6904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6906 echo "Doing install-info in flex" ; \
6908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6910 "RANLIB=$${RANLIB}" \
6911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6916 .PHONY: maybe-installcheck-flex installcheck-flex
6917 maybe-installcheck-flex:
6919 installcheck-flex: \
6921 @[ -f ./flex/Makefile ] || exit 0; \
6922 r=`${PWD_COMMAND}`; export r; \
6923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6925 for flag in $(EXTRA_HOST_FLAGS); do \
6926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6928 echo "Doing installcheck in flex" ; \
6930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6932 "RANLIB=$${RANLIB}" \
6933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6938 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
6939 maybe-mostlyclean-flex:
6942 @[ -f ./flex/Makefile ] || exit 0; \
6943 r=`${PWD_COMMAND}`; export r; \
6944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6946 for flag in $(EXTRA_HOST_FLAGS); do \
6947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6949 echo "Doing mostlyclean in flex" ; \
6951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6953 "RANLIB=$${RANLIB}" \
6954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6959 .PHONY: maybe-clean-flex clean-flex
6963 @[ -f ./flex/Makefile ] || exit 0; \
6964 r=`${PWD_COMMAND}`; export r; \
6965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6967 for flag in $(EXTRA_HOST_FLAGS); do \
6968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6970 echo "Doing clean in flex" ; \
6972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6974 "RANLIB=$${RANLIB}" \
6975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6980 .PHONY: maybe-distclean-flex distclean-flex
6981 maybe-distclean-flex:
6984 @[ -f ./flex/Makefile ] || exit 0; \
6985 r=`${PWD_COMMAND}`; export r; \
6986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6988 for flag in $(EXTRA_HOST_FLAGS); do \
6989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6991 echo "Doing distclean in flex" ; \
6993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6995 "RANLIB=$${RANLIB}" \
6996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7001 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
7002 maybe-maintainer-clean-flex:
7004 maintainer-clean-flex:
7005 @[ -f ./flex/Makefile ] || exit 0; \
7006 r=`${PWD_COMMAND}`; export r; \
7007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7009 for flag in $(EXTRA_HOST_FLAGS); do \
7010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7012 echo "Doing maintainer-clean in flex" ; \
7014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7016 "RANLIB=$${RANLIB}" \
7017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7023 .PHONY: configure-gas maybe-configure-gas
7024 maybe-configure-gas:
7026 @test ! -f gas/Makefile || exit 0; \
7027 [ -d gas ] || mkdir gas; \
7028 r=`${PWD_COMMAND}`; export r; \
7029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7030 CC="$(CC)"; export CC; \
7031 CFLAGS="$(CFLAGS)"; export CFLAGS; \
7032 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
7033 CXX="$(CXX)"; export CXX; \
7034 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
7035 AR="$(AR)"; export AR; \
7036 AS="$(AS)"; export AS; \
7037 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
7038 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
7039 LD="$(LD)"; export LD; \
7040 NM="$(NM)"; export NM; \
7041 RANLIB="$(RANLIB)"; export RANLIB; \
7042 WINDRES="$(WINDRES)"; export WINDRES; \
7043 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
7044 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
7045 echo Configuring in gas; \
7049 srcdiroption="--srcdir=."; \
7051 /* | [A-Za-z]:[\\/]*) \
7052 srcdiroption="--srcdir=$(srcdir)/gas"; \
7053 libsrcdir="$$s/gas";; \
7055 srcdiroption="--srcdir=../$(srcdir)/gas"; \
7056 libsrcdir="$$s/gas";; \
7058 $(SHELL) $${libsrcdir}/configure \
7059 $(HOST_CONFIGARGS) $${srcdiroption} \
7062 .PHONY: all-gas maybe-all-gas
7064 all-gas: configure-gas
7065 @r=`${PWD_COMMAND}`; export r; \
7066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7068 (cd gas && $(MAKE) $(FLAGS_TO_PASS) all)
7070 .PHONY: check-gas maybe-check-gas
7074 @r=`${PWD_COMMAND}`; export r; \
7075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7077 (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
7080 .PHONY: install-gas maybe-install-gas
7083 install-gas: installdirs
7084 @r=`${PWD_COMMAND}`; export r; \
7085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7087 (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
7090 # Other targets (info, dvi, etc.)
7092 .PHONY: maybe-info-gas info-gas
7097 @[ -f ./gas/Makefile ] || exit 0; \
7098 r=`${PWD_COMMAND}`; export r; \
7099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7101 for flag in $(EXTRA_HOST_FLAGS); do \
7102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7104 echo "Doing info in gas" ; \
7106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7108 "RANLIB=$${RANLIB}" \
7109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7114 .PHONY: maybe-dvi-gas dvi-gas
7119 @[ -f ./gas/Makefile ] || exit 0; \
7120 r=`${PWD_COMMAND}`; export r; \
7121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7123 for flag in $(EXTRA_HOST_FLAGS); do \
7124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7126 echo "Doing dvi in gas" ; \
7128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7130 "RANLIB=$${RANLIB}" \
7131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7136 .PHONY: maybe-TAGS-gas TAGS-gas
7141 @[ -f ./gas/Makefile ] || exit 0; \
7142 r=`${PWD_COMMAND}`; export r; \
7143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7145 for flag in $(EXTRA_HOST_FLAGS); do \
7146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7148 echo "Doing TAGS in gas" ; \
7150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7152 "RANLIB=$${RANLIB}" \
7153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7158 .PHONY: maybe-install-info-gas install-info-gas
7159 maybe-install-info-gas:
7164 @[ -f ./gas/Makefile ] || exit 0; \
7165 r=`${PWD_COMMAND}`; export r; \
7166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7168 for flag in $(EXTRA_HOST_FLAGS); do \
7169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7171 echo "Doing install-info in gas" ; \
7173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7175 "RANLIB=$${RANLIB}" \
7176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7181 .PHONY: maybe-installcheck-gas installcheck-gas
7182 maybe-installcheck-gas:
7186 @[ -f ./gas/Makefile ] || exit 0; \
7187 r=`${PWD_COMMAND}`; export r; \
7188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7190 for flag in $(EXTRA_HOST_FLAGS); do \
7191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7193 echo "Doing installcheck in gas" ; \
7195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7197 "RANLIB=$${RANLIB}" \
7198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7203 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
7204 maybe-mostlyclean-gas:
7207 @[ -f ./gas/Makefile ] || exit 0; \
7208 r=`${PWD_COMMAND}`; export r; \
7209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7211 for flag in $(EXTRA_HOST_FLAGS); do \
7212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7214 echo "Doing mostlyclean in gas" ; \
7216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7218 "RANLIB=$${RANLIB}" \
7219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7224 .PHONY: maybe-clean-gas clean-gas
7228 @[ -f ./gas/Makefile ] || exit 0; \
7229 r=`${PWD_COMMAND}`; export r; \
7230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7232 for flag in $(EXTRA_HOST_FLAGS); do \
7233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7235 echo "Doing clean in gas" ; \
7237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7239 "RANLIB=$${RANLIB}" \
7240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7245 .PHONY: maybe-distclean-gas distclean-gas
7246 maybe-distclean-gas:
7249 @[ -f ./gas/Makefile ] || exit 0; \
7250 r=`${PWD_COMMAND}`; export r; \
7251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7253 for flag in $(EXTRA_HOST_FLAGS); do \
7254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7256 echo "Doing distclean in gas" ; \
7258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7260 "RANLIB=$${RANLIB}" \
7261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7266 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
7267 maybe-maintainer-clean-gas:
7269 maintainer-clean-gas:
7270 @[ -f ./gas/Makefile ] || exit 0; \
7271 r=`${PWD_COMMAND}`; export r; \
7272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7274 for flag in $(EXTRA_HOST_FLAGS); do \
7275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7277 echo "Doing maintainer-clean in gas" ; \
7279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7281 "RANLIB=$${RANLIB}" \
7282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7288 .PHONY: configure-gawk maybe-configure-gawk
7289 maybe-configure-gawk:
7291 @test ! -f gawk/Makefile || exit 0; \
7292 [ -d gawk ] || mkdir gawk; \
7293 r=`${PWD_COMMAND}`; export r; \
7294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7295 CC="$(CC)"; export CC; \
7296 CFLAGS="$(CFLAGS)"; export CFLAGS; \
7297 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
7298 CXX="$(CXX)"; export CXX; \
7299 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
7300 AR="$(AR)"; export AR; \
7301 AS="$(AS)"; export AS; \
7302 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
7303 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
7304 LD="$(LD)"; export LD; \
7305 NM="$(NM)"; export NM; \
7306 RANLIB="$(RANLIB)"; export RANLIB; \
7307 WINDRES="$(WINDRES)"; export WINDRES; \
7308 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
7309 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
7310 echo Configuring in gawk; \
7311 cd gawk || exit 1; \
7314 srcdiroption="--srcdir=."; \
7316 /* | [A-Za-z]:[\\/]*) \
7317 srcdiroption="--srcdir=$(srcdir)/gawk"; \
7318 libsrcdir="$$s/gawk";; \
7320 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
7321 libsrcdir="$$s/gawk";; \
7323 $(SHELL) $${libsrcdir}/configure \
7324 $(HOST_CONFIGARGS) $${srcdiroption} \
7327 .PHONY: all-gawk maybe-all-gawk
7329 all-gawk: configure-gawk
7330 @r=`${PWD_COMMAND}`; export r; \
7331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7333 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) all)
7335 .PHONY: check-gawk maybe-check-gawk
7339 @r=`${PWD_COMMAND}`; export r; \
7340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7342 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
7345 .PHONY: install-gawk maybe-install-gawk
7348 install-gawk: installdirs
7349 @r=`${PWD_COMMAND}`; export r; \
7350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7352 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
7355 # Other targets (info, dvi, etc.)
7357 .PHONY: maybe-info-gawk info-gawk
7362 @[ -f ./gawk/Makefile ] || exit 0; \
7363 r=`${PWD_COMMAND}`; export r; \
7364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7366 for flag in $(EXTRA_HOST_FLAGS); do \
7367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7369 echo "Doing info in gawk" ; \
7371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7373 "RANLIB=$${RANLIB}" \
7374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7379 .PHONY: maybe-dvi-gawk dvi-gawk
7384 @[ -f ./gawk/Makefile ] || exit 0; \
7385 r=`${PWD_COMMAND}`; export r; \
7386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7388 for flag in $(EXTRA_HOST_FLAGS); do \
7389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7391 echo "Doing dvi in gawk" ; \
7393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7395 "RANLIB=$${RANLIB}" \
7396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7401 .PHONY: maybe-TAGS-gawk TAGS-gawk
7406 @[ -f ./gawk/Makefile ] || exit 0; \
7407 r=`${PWD_COMMAND}`; export r; \
7408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7410 for flag in $(EXTRA_HOST_FLAGS); do \
7411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7413 echo "Doing TAGS in gawk" ; \
7415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7417 "RANLIB=$${RANLIB}" \
7418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7423 .PHONY: maybe-install-info-gawk install-info-gawk
7424 maybe-install-info-gawk:
7426 install-info-gawk: \
7429 @[ -f ./gawk/Makefile ] || exit 0; \
7430 r=`${PWD_COMMAND}`; export r; \
7431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7433 for flag in $(EXTRA_HOST_FLAGS); do \
7434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7436 echo "Doing install-info in gawk" ; \
7438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7440 "RANLIB=$${RANLIB}" \
7441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7446 .PHONY: maybe-installcheck-gawk installcheck-gawk
7447 maybe-installcheck-gawk:
7449 installcheck-gawk: \
7451 @[ -f ./gawk/Makefile ] || exit 0; \
7452 r=`${PWD_COMMAND}`; export r; \
7453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7455 for flag in $(EXTRA_HOST_FLAGS); do \
7456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7458 echo "Doing installcheck in gawk" ; \
7460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7462 "RANLIB=$${RANLIB}" \
7463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7468 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
7469 maybe-mostlyclean-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 mostlyclean 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-clean-gawk clean-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 clean 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-distclean-gawk distclean-gawk
7511 maybe-distclean-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 distclean 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-maintainer-clean-gawk maintainer-clean-gawk
7532 maybe-maintainer-clean-gawk:
7534 maintainer-clean-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 maintainer-clean 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}" \
7553 .PHONY: configure-gettext maybe-configure-gettext
7554 maybe-configure-gettext:
7556 @test ! -f gettext/Makefile || exit 0; \
7557 [ -d gettext ] || mkdir gettext; \
7558 r=`${PWD_COMMAND}`; export r; \
7559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7560 CC="$(CC)"; export CC; \
7561 CFLAGS="$(CFLAGS)"; export CFLAGS; \
7562 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
7563 CXX="$(CXX)"; export CXX; \
7564 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
7565 AR="$(AR)"; export AR; \
7566 AS="$(AS)"; export AS; \
7567 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
7568 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
7569 LD="$(LD)"; export LD; \
7570 NM="$(NM)"; export NM; \
7571 RANLIB="$(RANLIB)"; export RANLIB; \
7572 WINDRES="$(WINDRES)"; export WINDRES; \
7573 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
7574 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
7575 echo Configuring in gettext; \
7576 cd gettext || exit 1; \
7579 srcdiroption="--srcdir=."; \
7581 /* | [A-Za-z]:[\\/]*) \
7582 srcdiroption="--srcdir=$(srcdir)/gettext"; \
7583 libsrcdir="$$s/gettext";; \
7585 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
7586 libsrcdir="$$s/gettext";; \
7588 $(SHELL) $${libsrcdir}/configure \
7589 $(HOST_CONFIGARGS) $${srcdiroption} \
7592 .PHONY: all-gettext maybe-all-gettext
7594 all-gettext: configure-gettext
7595 @r=`${PWD_COMMAND}`; export r; \
7596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7598 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) all)
7600 .PHONY: check-gettext maybe-check-gettext
7601 maybe-check-gettext:
7604 @r=`${PWD_COMMAND}`; export r; \
7605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7607 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
7610 .PHONY: install-gettext maybe-install-gettext
7611 maybe-install-gettext:
7613 install-gettext: installdirs
7614 @r=`${PWD_COMMAND}`; export r; \
7615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7617 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
7620 # Other targets (info, dvi, etc.)
7622 .PHONY: maybe-info-gettext info-gettext
7627 @[ -f ./gettext/Makefile ] || exit 0; \
7628 r=`${PWD_COMMAND}`; export r; \
7629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7631 for flag in $(EXTRA_HOST_FLAGS); do \
7632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7634 echo "Doing info in gettext" ; \
7636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7638 "RANLIB=$${RANLIB}" \
7639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7644 .PHONY: maybe-dvi-gettext dvi-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 dvi 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-TAGS-gettext TAGS-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 TAGS 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-install-info-gettext install-info-gettext
7689 maybe-install-info-gettext:
7691 install-info-gettext: \
7694 @[ -f ./gettext/Makefile ] || exit 0; \
7695 r=`${PWD_COMMAND}`; export r; \
7696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7698 for flag in $(EXTRA_HOST_FLAGS); do \
7699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7701 echo "Doing install-info in gettext" ; \
7703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7705 "RANLIB=$${RANLIB}" \
7706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7711 .PHONY: maybe-installcheck-gettext installcheck-gettext
7712 maybe-installcheck-gettext:
7714 installcheck-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 installcheck 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-mostlyclean-gettext mostlyclean-gettext
7734 maybe-mostlyclean-gettext:
7736 mostlyclean-gettext:
7737 @[ -f ./gettext/Makefile ] || exit 0; \
7738 r=`${PWD_COMMAND}`; export r; \
7739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7741 for flag in $(EXTRA_HOST_FLAGS); do \
7742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7744 echo "Doing mostlyclean in gettext" ; \
7746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7748 "RANLIB=$${RANLIB}" \
7749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7754 .PHONY: maybe-clean-gettext clean-gettext
7755 maybe-clean-gettext:
7758 @[ -f ./gettext/Makefile ] || exit 0; \
7759 r=`${PWD_COMMAND}`; export r; \
7760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7762 for flag in $(EXTRA_HOST_FLAGS); do \
7763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7765 echo "Doing clean in gettext" ; \
7767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7769 "RANLIB=$${RANLIB}" \
7770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7775 .PHONY: maybe-distclean-gettext distclean-gettext
7776 maybe-distclean-gettext:
7779 @[ -f ./gettext/Makefile ] || exit 0; \
7780 r=`${PWD_COMMAND}`; export r; \
7781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7783 for flag in $(EXTRA_HOST_FLAGS); do \
7784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7786 echo "Doing distclean in gettext" ; \
7788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7790 "RANLIB=$${RANLIB}" \
7791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7796 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
7797 maybe-maintainer-clean-gettext:
7799 maintainer-clean-gettext:
7800 @[ -f ./gettext/Makefile ] || exit 0; \
7801 r=`${PWD_COMMAND}`; export r; \
7802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7804 for flag in $(EXTRA_HOST_FLAGS); do \
7805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7807 echo "Doing maintainer-clean in gettext" ; \
7809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7811 "RANLIB=$${RANLIB}" \
7812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7818 .PHONY: configure-gnuserv maybe-configure-gnuserv
7819 maybe-configure-gnuserv:
7821 @test ! -f gnuserv/Makefile || exit 0; \
7822 [ -d gnuserv ] || mkdir gnuserv; \
7823 r=`${PWD_COMMAND}`; export r; \
7824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7825 CC="$(CC)"; export CC; \
7826 CFLAGS="$(CFLAGS)"; export CFLAGS; \
7827 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
7828 CXX="$(CXX)"; export CXX; \
7829 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
7830 AR="$(AR)"; export AR; \
7831 AS="$(AS)"; export AS; \
7832 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
7833 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
7834 LD="$(LD)"; export LD; \
7835 NM="$(NM)"; export NM; \
7836 RANLIB="$(RANLIB)"; export RANLIB; \
7837 WINDRES="$(WINDRES)"; export WINDRES; \
7838 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
7839 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
7840 echo Configuring in gnuserv; \
7841 cd gnuserv || exit 1; \
7844 srcdiroption="--srcdir=."; \
7846 /* | [A-Za-z]:[\\/]*) \
7847 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
7848 libsrcdir="$$s/gnuserv";; \
7850 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
7851 libsrcdir="$$s/gnuserv";; \
7853 $(SHELL) $${libsrcdir}/configure \
7854 $(HOST_CONFIGARGS) $${srcdiroption} \
7857 .PHONY: all-gnuserv maybe-all-gnuserv
7859 all-gnuserv: configure-gnuserv
7860 @r=`${PWD_COMMAND}`; export r; \
7861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7863 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) all)
7865 .PHONY: check-gnuserv maybe-check-gnuserv
7866 maybe-check-gnuserv:
7869 @r=`${PWD_COMMAND}`; export r; \
7870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7872 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
7875 .PHONY: install-gnuserv maybe-install-gnuserv
7876 maybe-install-gnuserv:
7878 install-gnuserv: installdirs
7879 @r=`${PWD_COMMAND}`; export r; \
7880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7882 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
7885 # Other targets (info, dvi, etc.)
7887 .PHONY: maybe-info-gnuserv info-gnuserv
7892 @[ -f ./gnuserv/Makefile ] || exit 0; \
7893 r=`${PWD_COMMAND}`; export r; \
7894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7896 for flag in $(EXTRA_HOST_FLAGS); do \
7897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7899 echo "Doing info in gnuserv" ; \
7901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7903 "RANLIB=$${RANLIB}" \
7904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7909 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
7914 @[ -f ./gnuserv/Makefile ] || exit 0; \
7915 r=`${PWD_COMMAND}`; export r; \
7916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7918 for flag in $(EXTRA_HOST_FLAGS); do \
7919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7921 echo "Doing dvi in gnuserv" ; \
7923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7925 "RANLIB=$${RANLIB}" \
7926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7931 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
7936 @[ -f ./gnuserv/Makefile ] || exit 0; \
7937 r=`${PWD_COMMAND}`; export r; \
7938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7940 for flag in $(EXTRA_HOST_FLAGS); do \
7941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7943 echo "Doing TAGS in gnuserv" ; \
7945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7947 "RANLIB=$${RANLIB}" \
7948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7953 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
7954 maybe-install-info-gnuserv:
7956 install-info-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 install-info 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-installcheck-gnuserv installcheck-gnuserv
7977 maybe-installcheck-gnuserv:
7979 installcheck-gnuserv: \
7981 @[ -f ./gnuserv/Makefile ] || exit 0; \
7982 r=`${PWD_COMMAND}`; export r; \
7983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7985 for flag in $(EXTRA_HOST_FLAGS); do \
7986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7988 echo "Doing installcheck in gnuserv" ; \
7990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7992 "RANLIB=$${RANLIB}" \
7993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7998 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
7999 maybe-mostlyclean-gnuserv:
8001 mostlyclean-gnuserv:
8002 @[ -f ./gnuserv/Makefile ] || exit 0; \
8003 r=`${PWD_COMMAND}`; export r; \
8004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8006 for flag in $(EXTRA_HOST_FLAGS); do \
8007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8009 echo "Doing mostlyclean in gnuserv" ; \
8011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8013 "RANLIB=$${RANLIB}" \
8014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8019 .PHONY: maybe-clean-gnuserv clean-gnuserv
8020 maybe-clean-gnuserv:
8023 @[ -f ./gnuserv/Makefile ] || exit 0; \
8024 r=`${PWD_COMMAND}`; export r; \
8025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8027 for flag in $(EXTRA_HOST_FLAGS); do \
8028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8030 echo "Doing clean in gnuserv" ; \
8032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8034 "RANLIB=$${RANLIB}" \
8035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8040 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
8041 maybe-distclean-gnuserv:
8044 @[ -f ./gnuserv/Makefile ] || exit 0; \
8045 r=`${PWD_COMMAND}`; export r; \
8046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8048 for flag in $(EXTRA_HOST_FLAGS); do \
8049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8051 echo "Doing distclean in gnuserv" ; \
8053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8055 "RANLIB=$${RANLIB}" \
8056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8061 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
8062 maybe-maintainer-clean-gnuserv:
8064 maintainer-clean-gnuserv:
8065 @[ -f ./gnuserv/Makefile ] || exit 0; \
8066 r=`${PWD_COMMAND}`; export r; \
8067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8069 for flag in $(EXTRA_HOST_FLAGS); do \
8070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8072 echo "Doing maintainer-clean in gnuserv" ; \
8074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8076 "RANLIB=$${RANLIB}" \
8077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8083 .PHONY: configure-gprof maybe-configure-gprof
8084 maybe-configure-gprof:
8086 @test ! -f gprof/Makefile || exit 0; \
8087 [ -d gprof ] || mkdir gprof; \
8088 r=`${PWD_COMMAND}`; export r; \
8089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8090 CC="$(CC)"; export CC; \
8091 CFLAGS="$(CFLAGS)"; export CFLAGS; \
8092 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
8093 CXX="$(CXX)"; export CXX; \
8094 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
8095 AR="$(AR)"; export AR; \
8096 AS="$(AS)"; export AS; \
8097 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
8098 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
8099 LD="$(LD)"; export LD; \
8100 NM="$(NM)"; export NM; \
8101 RANLIB="$(RANLIB)"; export RANLIB; \
8102 WINDRES="$(WINDRES)"; export WINDRES; \
8103 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
8104 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
8105 echo Configuring in gprof; \
8106 cd gprof || exit 1; \
8109 srcdiroption="--srcdir=."; \
8111 /* | [A-Za-z]:[\\/]*) \
8112 srcdiroption="--srcdir=$(srcdir)/gprof"; \
8113 libsrcdir="$$s/gprof";; \
8115 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
8116 libsrcdir="$$s/gprof";; \
8118 $(SHELL) $${libsrcdir}/configure \
8119 $(HOST_CONFIGARGS) $${srcdiroption} \
8122 .PHONY: all-gprof maybe-all-gprof
8124 all-gprof: configure-gprof
8125 @r=`${PWD_COMMAND}`; export r; \
8126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8128 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) all)
8130 .PHONY: check-gprof maybe-check-gprof
8134 @r=`${PWD_COMMAND}`; export r; \
8135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8137 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
8140 .PHONY: install-gprof maybe-install-gprof
8141 maybe-install-gprof:
8143 install-gprof: installdirs
8144 @r=`${PWD_COMMAND}`; export r; \
8145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8147 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
8150 # Other targets (info, dvi, etc.)
8152 .PHONY: maybe-info-gprof info-gprof
8157 @[ -f ./gprof/Makefile ] || exit 0; \
8158 r=`${PWD_COMMAND}`; export r; \
8159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8161 for flag in $(EXTRA_HOST_FLAGS); do \
8162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8164 echo "Doing info in gprof" ; \
8166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8168 "RANLIB=$${RANLIB}" \
8169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8174 .PHONY: maybe-dvi-gprof dvi-gprof
8179 @[ -f ./gprof/Makefile ] || exit 0; \
8180 r=`${PWD_COMMAND}`; export r; \
8181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8183 for flag in $(EXTRA_HOST_FLAGS); do \
8184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8186 echo "Doing dvi in gprof" ; \
8188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8190 "RANLIB=$${RANLIB}" \
8191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8196 .PHONY: maybe-TAGS-gprof TAGS-gprof
8201 @[ -f ./gprof/Makefile ] || exit 0; \
8202 r=`${PWD_COMMAND}`; export r; \
8203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8205 for flag in $(EXTRA_HOST_FLAGS); do \
8206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8208 echo "Doing TAGS in gprof" ; \
8210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8212 "RANLIB=$${RANLIB}" \
8213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8218 .PHONY: maybe-install-info-gprof install-info-gprof
8219 maybe-install-info-gprof:
8221 install-info-gprof: \
8224 @[ -f ./gprof/Makefile ] || exit 0; \
8225 r=`${PWD_COMMAND}`; export r; \
8226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8228 for flag in $(EXTRA_HOST_FLAGS); do \
8229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8231 echo "Doing install-info in gprof" ; \
8233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8235 "RANLIB=$${RANLIB}" \
8236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8241 .PHONY: maybe-installcheck-gprof installcheck-gprof
8242 maybe-installcheck-gprof:
8244 installcheck-gprof: \
8246 @[ -f ./gprof/Makefile ] || exit 0; \
8247 r=`${PWD_COMMAND}`; export r; \
8248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8250 for flag in $(EXTRA_HOST_FLAGS); do \
8251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8253 echo "Doing installcheck in gprof" ; \
8255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8257 "RANLIB=$${RANLIB}" \
8258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8263 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
8264 maybe-mostlyclean-gprof:
8267 @[ -f ./gprof/Makefile ] || exit 0; \
8268 r=`${PWD_COMMAND}`; export r; \
8269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8271 for flag in $(EXTRA_HOST_FLAGS); do \
8272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8274 echo "Doing mostlyclean in gprof" ; \
8276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8278 "RANLIB=$${RANLIB}" \
8279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8284 .PHONY: maybe-clean-gprof clean-gprof
8288 @[ -f ./gprof/Makefile ] || exit 0; \
8289 r=`${PWD_COMMAND}`; export r; \
8290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8292 for flag in $(EXTRA_HOST_FLAGS); do \
8293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8295 echo "Doing clean in gprof" ; \
8297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8299 "RANLIB=$${RANLIB}" \
8300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8305 .PHONY: maybe-distclean-gprof distclean-gprof
8306 maybe-distclean-gprof:
8309 @[ -f ./gprof/Makefile ] || exit 0; \
8310 r=`${PWD_COMMAND}`; export r; \
8311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8313 for flag in $(EXTRA_HOST_FLAGS); do \
8314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8316 echo "Doing distclean in gprof" ; \
8318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8320 "RANLIB=$${RANLIB}" \
8321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8326 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
8327 maybe-maintainer-clean-gprof:
8329 maintainer-clean-gprof:
8330 @[ -f ./gprof/Makefile ] || exit 0; \
8331 r=`${PWD_COMMAND}`; export r; \
8332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8334 for flag in $(EXTRA_HOST_FLAGS); do \
8335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8337 echo "Doing maintainer-clean in gprof" ; \
8339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8341 "RANLIB=$${RANLIB}" \
8342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8348 .PHONY: configure-gzip maybe-configure-gzip
8349 maybe-configure-gzip:
8351 @test ! -f gzip/Makefile || exit 0; \
8352 [ -d gzip ] || mkdir gzip; \
8353 r=`${PWD_COMMAND}`; export r; \
8354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8355 CC="$(CC)"; export CC; \
8356 CFLAGS="$(CFLAGS)"; export CFLAGS; \
8357 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
8358 CXX="$(CXX)"; export CXX; \
8359 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
8360 AR="$(AR)"; export AR; \
8361 AS="$(AS)"; export AS; \
8362 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
8363 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
8364 LD="$(LD)"; export LD; \
8365 NM="$(NM)"; export NM; \
8366 RANLIB="$(RANLIB)"; export RANLIB; \
8367 WINDRES="$(WINDRES)"; export WINDRES; \
8368 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
8369 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
8370 echo Configuring in gzip; \
8371 cd gzip || exit 1; \
8374 srcdiroption="--srcdir=."; \
8376 /* | [A-Za-z]:[\\/]*) \
8377 srcdiroption="--srcdir=$(srcdir)/gzip"; \
8378 libsrcdir="$$s/gzip";; \
8380 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
8381 libsrcdir="$$s/gzip";; \
8383 $(SHELL) $${libsrcdir}/configure \
8384 $(HOST_CONFIGARGS) $${srcdiroption} \
8387 .PHONY: all-gzip maybe-all-gzip
8389 all-gzip: configure-gzip
8390 @r=`${PWD_COMMAND}`; export r; \
8391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8393 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) all)
8395 .PHONY: check-gzip maybe-check-gzip
8399 @r=`${PWD_COMMAND}`; export r; \
8400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8402 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
8405 .PHONY: install-gzip maybe-install-gzip
8408 install-gzip: installdirs
8409 @r=`${PWD_COMMAND}`; export r; \
8410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8412 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
8415 # Other targets (info, dvi, etc.)
8417 .PHONY: maybe-info-gzip info-gzip
8422 @[ -f ./gzip/Makefile ] || exit 0; \
8423 r=`${PWD_COMMAND}`; export r; \
8424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8426 for flag in $(EXTRA_HOST_FLAGS); do \
8427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8429 echo "Doing info in gzip" ; \
8431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8433 "RANLIB=$${RANLIB}" \
8434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8439 .PHONY: maybe-dvi-gzip dvi-gzip
8444 @[ -f ./gzip/Makefile ] || exit 0; \
8445 r=`${PWD_COMMAND}`; export r; \
8446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8448 for flag in $(EXTRA_HOST_FLAGS); do \
8449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8451 echo "Doing dvi in gzip" ; \
8453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8455 "RANLIB=$${RANLIB}" \
8456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8461 .PHONY: maybe-TAGS-gzip TAGS-gzip
8466 @[ -f ./gzip/Makefile ] || exit 0; \
8467 r=`${PWD_COMMAND}`; export r; \
8468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8470 for flag in $(EXTRA_HOST_FLAGS); do \
8471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8473 echo "Doing TAGS in gzip" ; \
8475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8477 "RANLIB=$${RANLIB}" \
8478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8483 .PHONY: maybe-install-info-gzip install-info-gzip
8484 maybe-install-info-gzip:
8486 install-info-gzip: \
8489 @[ -f ./gzip/Makefile ] || exit 0; \
8490 r=`${PWD_COMMAND}`; export r; \
8491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8493 for flag in $(EXTRA_HOST_FLAGS); do \
8494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8496 echo "Doing install-info in gzip" ; \
8498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8500 "RANLIB=$${RANLIB}" \
8501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8506 .PHONY: maybe-installcheck-gzip installcheck-gzip
8507 maybe-installcheck-gzip:
8509 installcheck-gzip: \
8511 @[ -f ./gzip/Makefile ] || exit 0; \
8512 r=`${PWD_COMMAND}`; export r; \
8513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8515 for flag in $(EXTRA_HOST_FLAGS); do \
8516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8518 echo "Doing installcheck in gzip" ; \
8520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8522 "RANLIB=$${RANLIB}" \
8523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8528 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
8529 maybe-mostlyclean-gzip:
8532 @[ -f ./gzip/Makefile ] || exit 0; \
8533 r=`${PWD_COMMAND}`; export r; \
8534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8536 for flag in $(EXTRA_HOST_FLAGS); do \
8537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8539 echo "Doing mostlyclean in gzip" ; \
8541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8543 "RANLIB=$${RANLIB}" \
8544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8549 .PHONY: maybe-clean-gzip clean-gzip
8553 @[ -f ./gzip/Makefile ] || exit 0; \
8554 r=`${PWD_COMMAND}`; export r; \
8555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8557 for flag in $(EXTRA_HOST_FLAGS); do \
8558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8560 echo "Doing clean in gzip" ; \
8562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8564 "RANLIB=$${RANLIB}" \
8565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8570 .PHONY: maybe-distclean-gzip distclean-gzip
8571 maybe-distclean-gzip:
8574 @[ -f ./gzip/Makefile ] || exit 0; \
8575 r=`${PWD_COMMAND}`; export r; \
8576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8578 for flag in $(EXTRA_HOST_FLAGS); do \
8579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8581 echo "Doing distclean in gzip" ; \
8583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8585 "RANLIB=$${RANLIB}" \
8586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8591 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
8592 maybe-maintainer-clean-gzip:
8594 maintainer-clean-gzip:
8595 @[ -f ./gzip/Makefile ] || exit 0; \
8596 r=`${PWD_COMMAND}`; export r; \
8597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8599 for flag in $(EXTRA_HOST_FLAGS); do \
8600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8602 echo "Doing maintainer-clean in gzip" ; \
8604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8606 "RANLIB=$${RANLIB}" \
8607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8613 .PHONY: configure-hello maybe-configure-hello
8614 maybe-configure-hello:
8616 @test ! -f hello/Makefile || exit 0; \
8617 [ -d hello ] || mkdir hello; \
8618 r=`${PWD_COMMAND}`; export r; \
8619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8620 CC="$(CC)"; export CC; \
8621 CFLAGS="$(CFLAGS)"; export CFLAGS; \
8622 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
8623 CXX="$(CXX)"; export CXX; \
8624 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
8625 AR="$(AR)"; export AR; \
8626 AS="$(AS)"; export AS; \
8627 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
8628 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
8629 LD="$(LD)"; export LD; \
8630 NM="$(NM)"; export NM; \
8631 RANLIB="$(RANLIB)"; export RANLIB; \
8632 WINDRES="$(WINDRES)"; export WINDRES; \
8633 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
8634 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
8635 echo Configuring in hello; \
8636 cd hello || exit 1; \
8639 srcdiroption="--srcdir=."; \
8641 /* | [A-Za-z]:[\\/]*) \
8642 srcdiroption="--srcdir=$(srcdir)/hello"; \
8643 libsrcdir="$$s/hello";; \
8645 srcdiroption="--srcdir=../$(srcdir)/hello"; \
8646 libsrcdir="$$s/hello";; \
8648 $(SHELL) $${libsrcdir}/configure \
8649 $(HOST_CONFIGARGS) $${srcdiroption} \
8652 .PHONY: all-hello maybe-all-hello
8654 all-hello: configure-hello
8655 @r=`${PWD_COMMAND}`; export r; \
8656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8658 (cd hello && $(MAKE) $(FLAGS_TO_PASS) all)
8660 .PHONY: check-hello maybe-check-hello
8664 @r=`${PWD_COMMAND}`; export r; \
8665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8667 (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
8670 .PHONY: install-hello maybe-install-hello
8671 maybe-install-hello:
8673 install-hello: installdirs
8674 @r=`${PWD_COMMAND}`; export r; \
8675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8677 (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
8680 # Other targets (info, dvi, etc.)
8682 .PHONY: maybe-info-hello info-hello
8687 @[ -f ./hello/Makefile ] || exit 0; \
8688 r=`${PWD_COMMAND}`; export r; \
8689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8691 for flag in $(EXTRA_HOST_FLAGS); do \
8692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8694 echo "Doing info in hello" ; \
8696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8698 "RANLIB=$${RANLIB}" \
8699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8704 .PHONY: maybe-dvi-hello dvi-hello
8709 @[ -f ./hello/Makefile ] || exit 0; \
8710 r=`${PWD_COMMAND}`; export r; \
8711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8713 for flag in $(EXTRA_HOST_FLAGS); do \
8714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8716 echo "Doing dvi in hello" ; \
8718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8720 "RANLIB=$${RANLIB}" \
8721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8726 .PHONY: maybe-TAGS-hello TAGS-hello
8731 @[ -f ./hello/Makefile ] || exit 0; \
8732 r=`${PWD_COMMAND}`; export r; \
8733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8735 for flag in $(EXTRA_HOST_FLAGS); do \
8736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8738 echo "Doing TAGS in hello" ; \
8740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8742 "RANLIB=$${RANLIB}" \
8743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8748 .PHONY: maybe-install-info-hello install-info-hello
8749 maybe-install-info-hello:
8751 install-info-hello: \
8754 @[ -f ./hello/Makefile ] || exit 0; \
8755 r=`${PWD_COMMAND}`; export r; \
8756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8758 for flag in $(EXTRA_HOST_FLAGS); do \
8759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8761 echo "Doing install-info in hello" ; \
8763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8765 "RANLIB=$${RANLIB}" \
8766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8771 .PHONY: maybe-installcheck-hello installcheck-hello
8772 maybe-installcheck-hello:
8774 installcheck-hello: \
8776 @[ -f ./hello/Makefile ] || exit 0; \
8777 r=`${PWD_COMMAND}`; export r; \
8778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8780 for flag in $(EXTRA_HOST_FLAGS); do \
8781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8783 echo "Doing installcheck in hello" ; \
8785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8787 "RANLIB=$${RANLIB}" \
8788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8793 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
8794 maybe-mostlyclean-hello:
8797 @[ -f ./hello/Makefile ] || exit 0; \
8798 r=`${PWD_COMMAND}`; export r; \
8799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8801 for flag in $(EXTRA_HOST_FLAGS); do \
8802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8804 echo "Doing mostlyclean in hello" ; \
8806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8808 "RANLIB=$${RANLIB}" \
8809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8814 .PHONY: maybe-clean-hello clean-hello
8818 @[ -f ./hello/Makefile ] || exit 0; \
8819 r=`${PWD_COMMAND}`; export r; \
8820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8822 for flag in $(EXTRA_HOST_FLAGS); do \
8823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8825 echo "Doing clean in hello" ; \
8827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8829 "RANLIB=$${RANLIB}" \
8830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8835 .PHONY: maybe-distclean-hello distclean-hello
8836 maybe-distclean-hello:
8839 @[ -f ./hello/Makefile ] || exit 0; \
8840 r=`${PWD_COMMAND}`; export r; \
8841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8843 for flag in $(EXTRA_HOST_FLAGS); do \
8844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8846 echo "Doing distclean in hello" ; \
8848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8850 "RANLIB=$${RANLIB}" \
8851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8856 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
8857 maybe-maintainer-clean-hello:
8859 maintainer-clean-hello:
8860 @[ -f ./hello/Makefile ] || exit 0; \
8861 r=`${PWD_COMMAND}`; export r; \
8862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8864 for flag in $(EXTRA_HOST_FLAGS); do \
8865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8867 echo "Doing maintainer-clean in hello" ; \
8869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8871 "RANLIB=$${RANLIB}" \
8872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8878 .PHONY: configure-indent maybe-configure-indent
8879 maybe-configure-indent:
8881 @test ! -f indent/Makefile || exit 0; \
8882 [ -d indent ] || mkdir indent; \
8883 r=`${PWD_COMMAND}`; export r; \
8884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8885 CC="$(CC)"; export CC; \
8886 CFLAGS="$(CFLAGS)"; export CFLAGS; \
8887 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
8888 CXX="$(CXX)"; export CXX; \
8889 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
8890 AR="$(AR)"; export AR; \
8891 AS="$(AS)"; export AS; \
8892 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
8893 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
8894 LD="$(LD)"; export LD; \
8895 NM="$(NM)"; export NM; \
8896 RANLIB="$(RANLIB)"; export RANLIB; \
8897 WINDRES="$(WINDRES)"; export WINDRES; \
8898 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
8899 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
8900 echo Configuring in indent; \
8901 cd indent || exit 1; \
8904 srcdiroption="--srcdir=."; \
8906 /* | [A-Za-z]:[\\/]*) \
8907 srcdiroption="--srcdir=$(srcdir)/indent"; \
8908 libsrcdir="$$s/indent";; \
8910 srcdiroption="--srcdir=../$(srcdir)/indent"; \
8911 libsrcdir="$$s/indent";; \
8913 $(SHELL) $${libsrcdir}/configure \
8914 $(HOST_CONFIGARGS) $${srcdiroption} \
8917 .PHONY: all-indent maybe-all-indent
8919 all-indent: configure-indent
8920 @r=`${PWD_COMMAND}`; export r; \
8921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8923 (cd indent && $(MAKE) $(FLAGS_TO_PASS) all)
8925 .PHONY: check-indent maybe-check-indent
8929 @r=`${PWD_COMMAND}`; export r; \
8930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8932 (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
8935 .PHONY: install-indent maybe-install-indent
8936 maybe-install-indent:
8938 install-indent: installdirs
8939 @r=`${PWD_COMMAND}`; export r; \
8940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8942 (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
8945 # Other targets (info, dvi, etc.)
8947 .PHONY: maybe-info-indent info-indent
8952 @[ -f ./indent/Makefile ] || exit 0; \
8953 r=`${PWD_COMMAND}`; export r; \
8954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8956 for flag in $(EXTRA_HOST_FLAGS); do \
8957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8959 echo "Doing info in indent" ; \
8961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8963 "RANLIB=$${RANLIB}" \
8964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8969 .PHONY: maybe-dvi-indent dvi-indent
8974 @[ -f ./indent/Makefile ] || exit 0; \
8975 r=`${PWD_COMMAND}`; export r; \
8976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8978 for flag in $(EXTRA_HOST_FLAGS); do \
8979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8981 echo "Doing dvi in indent" ; \
8983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8985 "RANLIB=$${RANLIB}" \
8986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8991 .PHONY: maybe-TAGS-indent TAGS-indent
8996 @[ -f ./indent/Makefile ] || exit 0; \
8997 r=`${PWD_COMMAND}`; export r; \
8998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9000 for flag in $(EXTRA_HOST_FLAGS); do \
9001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9003 echo "Doing TAGS in indent" ; \
9005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9007 "RANLIB=$${RANLIB}" \
9008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9013 .PHONY: maybe-install-info-indent install-info-indent
9014 maybe-install-info-indent:
9016 install-info-indent: \
9019 @[ -f ./indent/Makefile ] || exit 0; \
9020 r=`${PWD_COMMAND}`; export r; \
9021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9023 for flag in $(EXTRA_HOST_FLAGS); do \
9024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9026 echo "Doing install-info in indent" ; \
9028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9030 "RANLIB=$${RANLIB}" \
9031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9036 .PHONY: maybe-installcheck-indent installcheck-indent
9037 maybe-installcheck-indent:
9039 installcheck-indent: \
9041 @[ -f ./indent/Makefile ] || exit 0; \
9042 r=`${PWD_COMMAND}`; export r; \
9043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9045 for flag in $(EXTRA_HOST_FLAGS); do \
9046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9048 echo "Doing installcheck in indent" ; \
9050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9052 "RANLIB=$${RANLIB}" \
9053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9058 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
9059 maybe-mostlyclean-indent:
9062 @[ -f ./indent/Makefile ] || exit 0; \
9063 r=`${PWD_COMMAND}`; export r; \
9064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9066 for flag in $(EXTRA_HOST_FLAGS); do \
9067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9069 echo "Doing mostlyclean in indent" ; \
9071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9073 "RANLIB=$${RANLIB}" \
9074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9079 .PHONY: maybe-clean-indent clean-indent
9083 @[ -f ./indent/Makefile ] || exit 0; \
9084 r=`${PWD_COMMAND}`; export r; \
9085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9087 for flag in $(EXTRA_HOST_FLAGS); do \
9088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9090 echo "Doing clean in indent" ; \
9092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9094 "RANLIB=$${RANLIB}" \
9095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9100 .PHONY: maybe-distclean-indent distclean-indent
9101 maybe-distclean-indent:
9104 @[ -f ./indent/Makefile ] || exit 0; \
9105 r=`${PWD_COMMAND}`; export r; \
9106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9108 for flag in $(EXTRA_HOST_FLAGS); do \
9109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9111 echo "Doing distclean in indent" ; \
9113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9115 "RANLIB=$${RANLIB}" \
9116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9121 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
9122 maybe-maintainer-clean-indent:
9124 maintainer-clean-indent:
9125 @[ -f ./indent/Makefile ] || exit 0; \
9126 r=`${PWD_COMMAND}`; export r; \
9127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9129 for flag in $(EXTRA_HOST_FLAGS); do \
9130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9132 echo "Doing maintainer-clean in indent" ; \
9134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9136 "RANLIB=$${RANLIB}" \
9137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9143 .PHONY: configure-intl maybe-configure-intl
9144 maybe-configure-intl:
9146 @test ! -f intl/Makefile || exit 0; \
9147 [ -d intl ] || mkdir intl; \
9148 r=`${PWD_COMMAND}`; export r; \
9149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9150 CC="$(CC)"; export CC; \
9151 CFLAGS="$(CFLAGS)"; export CFLAGS; \
9152 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
9153 CXX="$(CXX)"; export CXX; \
9154 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
9155 AR="$(AR)"; export AR; \
9156 AS="$(AS)"; export AS; \
9157 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
9158 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
9159 LD="$(LD)"; export LD; \
9160 NM="$(NM)"; export NM; \
9161 RANLIB="$(RANLIB)"; export RANLIB; \
9162 WINDRES="$(WINDRES)"; export WINDRES; \
9163 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
9164 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
9165 echo Configuring in intl; \
9166 cd intl || exit 1; \
9169 srcdiroption="--srcdir=."; \
9171 /* | [A-Za-z]:[\\/]*) \
9172 srcdiroption="--srcdir=$(srcdir)/intl"; \
9173 libsrcdir="$$s/intl";; \
9175 srcdiroption="--srcdir=../$(srcdir)/intl"; \
9176 libsrcdir="$$s/intl";; \
9178 $(SHELL) $${libsrcdir}/configure \
9179 $(HOST_CONFIGARGS) $${srcdiroption} \
9182 .PHONY: all-intl maybe-all-intl
9184 all-intl: configure-intl
9185 @r=`${PWD_COMMAND}`; export r; \
9186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9188 (cd intl && $(MAKE) $(FLAGS_TO_PASS) all)
9190 .PHONY: check-intl maybe-check-intl
9194 @r=`${PWD_COMMAND}`; export r; \
9195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9197 (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
9200 .PHONY: install-intl maybe-install-intl
9203 install-intl: installdirs
9204 @r=`${PWD_COMMAND}`; export r; \
9205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9207 (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
9210 # Other targets (info, dvi, etc.)
9212 .PHONY: maybe-info-intl info-intl
9217 @[ -f ./intl/Makefile ] || exit 0; \
9218 r=`${PWD_COMMAND}`; export r; \
9219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9221 for flag in $(EXTRA_HOST_FLAGS); do \
9222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9224 echo "Doing info in intl" ; \
9226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9228 "RANLIB=$${RANLIB}" \
9229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9234 .PHONY: maybe-dvi-intl dvi-intl
9239 @[ -f ./intl/Makefile ] || exit 0; \
9240 r=`${PWD_COMMAND}`; export r; \
9241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9243 for flag in $(EXTRA_HOST_FLAGS); do \
9244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9246 echo "Doing dvi in intl" ; \
9248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9250 "RANLIB=$${RANLIB}" \
9251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9256 .PHONY: maybe-TAGS-intl TAGS-intl
9261 @[ -f ./intl/Makefile ] || exit 0; \
9262 r=`${PWD_COMMAND}`; export r; \
9263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9265 for flag in $(EXTRA_HOST_FLAGS); do \
9266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9268 echo "Doing TAGS in intl" ; \
9270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9272 "RANLIB=$${RANLIB}" \
9273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9278 .PHONY: maybe-install-info-intl install-info-intl
9279 maybe-install-info-intl:
9281 install-info-intl: \
9284 @[ -f ./intl/Makefile ] || exit 0; \
9285 r=`${PWD_COMMAND}`; export r; \
9286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9288 for flag in $(EXTRA_HOST_FLAGS); do \
9289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9291 echo "Doing install-info in intl" ; \
9293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9295 "RANLIB=$${RANLIB}" \
9296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9301 .PHONY: maybe-installcheck-intl installcheck-intl
9302 maybe-installcheck-intl:
9304 installcheck-intl: \
9306 @[ -f ./intl/Makefile ] || exit 0; \
9307 r=`${PWD_COMMAND}`; export r; \
9308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9310 for flag in $(EXTRA_HOST_FLAGS); do \
9311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9313 echo "Doing installcheck in intl" ; \
9315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9317 "RANLIB=$${RANLIB}" \
9318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9323 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
9324 maybe-mostlyclean-intl:
9327 @[ -f ./intl/Makefile ] || exit 0; \
9328 r=`${PWD_COMMAND}`; export r; \
9329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9331 for flag in $(EXTRA_HOST_FLAGS); do \
9332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9334 echo "Doing mostlyclean in intl" ; \
9336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9338 "RANLIB=$${RANLIB}" \
9339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9344 .PHONY: maybe-clean-intl clean-intl
9348 @[ -f ./intl/Makefile ] || exit 0; \
9349 r=`${PWD_COMMAND}`; export r; \
9350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9352 for flag in $(EXTRA_HOST_FLAGS); do \
9353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9355 echo "Doing clean in intl" ; \
9357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9359 "RANLIB=$${RANLIB}" \
9360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9365 .PHONY: maybe-distclean-intl distclean-intl
9366 maybe-distclean-intl:
9369 @[ -f ./intl/Makefile ] || exit 0; \
9370 r=`${PWD_COMMAND}`; export r; \
9371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9373 for flag in $(EXTRA_HOST_FLAGS); do \
9374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9376 echo "Doing distclean in intl" ; \
9378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9380 "RANLIB=$${RANLIB}" \
9381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9386 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
9387 maybe-maintainer-clean-intl:
9389 maintainer-clean-intl:
9390 @[ -f ./intl/Makefile ] || exit 0; \
9391 r=`${PWD_COMMAND}`; export r; \
9392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9394 for flag in $(EXTRA_HOST_FLAGS); do \
9395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9397 echo "Doing maintainer-clean in intl" ; \
9399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9401 "RANLIB=$${RANLIB}" \
9402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9408 .PHONY: configure-tcl maybe-configure-tcl
9409 maybe-configure-tcl:
9411 @test ! -f tcl/Makefile || exit 0; \
9412 [ -d tcl ] || mkdir tcl; \
9413 r=`${PWD_COMMAND}`; export r; \
9414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9415 CC="$(CC)"; export CC; \
9416 CFLAGS="$(CFLAGS)"; export CFLAGS; \
9417 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
9418 CXX="$(CXX)"; export CXX; \
9419 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
9420 AR="$(AR)"; export AR; \
9421 AS="$(AS)"; export AS; \
9422 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
9423 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
9424 LD="$(LD)"; export LD; \
9425 NM="$(NM)"; export NM; \
9426 RANLIB="$(RANLIB)"; export RANLIB; \
9427 WINDRES="$(WINDRES)"; export WINDRES; \
9428 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
9429 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
9430 echo Configuring in tcl; \
9434 srcdiroption="--srcdir=."; \
9436 /* | [A-Za-z]:[\\/]*) \
9437 srcdiroption="--srcdir=$(srcdir)/tcl"; \
9438 libsrcdir="$$s/tcl";; \
9440 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
9441 libsrcdir="$$s/tcl";; \
9443 $(SHELL) $${libsrcdir}/configure \
9444 $(HOST_CONFIGARGS) $${srcdiroption} \
9447 .PHONY: all-tcl maybe-all-tcl
9449 all-tcl: configure-tcl
9450 @r=`${PWD_COMMAND}`; export r; \
9451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9453 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) all)
9455 .PHONY: check-tcl maybe-check-tcl
9459 @r=`${PWD_COMMAND}`; export r; \
9460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9462 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
9465 .PHONY: install-tcl maybe-install-tcl
9468 install-tcl: installdirs
9469 @r=`${PWD_COMMAND}`; export r; \
9470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9472 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
9475 # Other targets (info, dvi, etc.)
9477 .PHONY: maybe-info-tcl info-tcl
9482 @[ -f ./tcl/Makefile ] || exit 0; \
9483 r=`${PWD_COMMAND}`; export r; \
9484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9486 for flag in $(EXTRA_HOST_FLAGS); do \
9487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9489 echo "Doing info in tcl" ; \
9491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9493 "RANLIB=$${RANLIB}" \
9494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9499 .PHONY: maybe-dvi-tcl dvi-tcl
9504 @[ -f ./tcl/Makefile ] || exit 0; \
9505 r=`${PWD_COMMAND}`; export r; \
9506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9508 for flag in $(EXTRA_HOST_FLAGS); do \
9509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9511 echo "Doing dvi in tcl" ; \
9513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9515 "RANLIB=$${RANLIB}" \
9516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9521 .PHONY: maybe-TAGS-tcl TAGS-tcl
9526 @[ -f ./tcl/Makefile ] || exit 0; \
9527 r=`${PWD_COMMAND}`; export r; \
9528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9530 for flag in $(EXTRA_HOST_FLAGS); do \
9531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9533 echo "Doing TAGS in tcl" ; \
9535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9537 "RANLIB=$${RANLIB}" \
9538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9543 .PHONY: maybe-install-info-tcl install-info-tcl
9544 maybe-install-info-tcl:
9549 @[ -f ./tcl/Makefile ] || exit 0; \
9550 r=`${PWD_COMMAND}`; export r; \
9551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9553 for flag in $(EXTRA_HOST_FLAGS); do \
9554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9556 echo "Doing install-info in tcl" ; \
9558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9560 "RANLIB=$${RANLIB}" \
9561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9566 .PHONY: maybe-installcheck-tcl installcheck-tcl
9567 maybe-installcheck-tcl:
9571 @[ -f ./tcl/Makefile ] || exit 0; \
9572 r=`${PWD_COMMAND}`; export r; \
9573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9575 for flag in $(EXTRA_HOST_FLAGS); do \
9576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9578 echo "Doing installcheck in tcl" ; \
9580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9582 "RANLIB=$${RANLIB}" \
9583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9588 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
9589 maybe-mostlyclean-tcl:
9591 # tcl doesn't support mostlyclean.
9595 .PHONY: maybe-clean-tcl clean-tcl
9599 @[ -f ./tcl/Makefile ] || exit 0; \
9600 r=`${PWD_COMMAND}`; export r; \
9601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9603 for flag in $(EXTRA_HOST_FLAGS); do \
9604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9606 echo "Doing clean in tcl" ; \
9608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9610 "RANLIB=$${RANLIB}" \
9611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9616 .PHONY: maybe-distclean-tcl distclean-tcl
9617 maybe-distclean-tcl:
9620 @[ -f ./tcl/Makefile ] || exit 0; \
9621 r=`${PWD_COMMAND}`; export r; \
9622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9624 for flag in $(EXTRA_HOST_FLAGS); do \
9625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9627 echo "Doing distclean in tcl" ; \
9629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9631 "RANLIB=$${RANLIB}" \
9632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9637 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
9638 maybe-maintainer-clean-tcl:
9640 maintainer-clean-tcl:
9641 @[ -f ./tcl/Makefile ] || exit 0; \
9642 r=`${PWD_COMMAND}`; export r; \
9643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9645 for flag in $(EXTRA_HOST_FLAGS); do \
9646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9648 echo "Doing maintainer-clean in tcl" ; \
9650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9652 "RANLIB=$${RANLIB}" \
9653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9659 .PHONY: configure-itcl maybe-configure-itcl
9660 maybe-configure-itcl:
9662 @test ! -f itcl/Makefile || exit 0; \
9663 [ -d itcl ] || mkdir itcl; \
9664 r=`${PWD_COMMAND}`; export r; \
9665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9666 CC="$(CC)"; export CC; \
9667 CFLAGS="$(CFLAGS)"; export CFLAGS; \
9668 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
9669 CXX="$(CXX)"; export CXX; \
9670 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
9671 AR="$(AR)"; export AR; \
9672 AS="$(AS)"; export AS; \
9673 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
9674 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
9675 LD="$(LD)"; export LD; \
9676 NM="$(NM)"; export NM; \
9677 RANLIB="$(RANLIB)"; export RANLIB; \
9678 WINDRES="$(WINDRES)"; export WINDRES; \
9679 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
9680 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
9681 echo Configuring in itcl; \
9682 cd itcl || exit 1; \
9685 srcdiroption="--srcdir=."; \
9687 /* | [A-Za-z]:[\\/]*) \
9688 srcdiroption="--srcdir=$(srcdir)/itcl"; \
9689 libsrcdir="$$s/itcl";; \
9691 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
9692 libsrcdir="$$s/itcl";; \
9694 $(SHELL) $${libsrcdir}/configure \
9695 $(HOST_CONFIGARGS) $${srcdiroption} \
9698 .PHONY: all-itcl maybe-all-itcl
9700 all-itcl: configure-itcl
9701 @r=`${PWD_COMMAND}`; export r; \
9702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9704 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) all)
9706 .PHONY: check-itcl maybe-check-itcl
9710 @r=`${PWD_COMMAND}`; export r; \
9711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9713 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
9716 .PHONY: install-itcl maybe-install-itcl
9719 install-itcl: installdirs
9720 @r=`${PWD_COMMAND}`; export r; \
9721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9723 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
9726 # Other targets (info, dvi, etc.)
9728 .PHONY: maybe-info-itcl info-itcl
9733 @[ -f ./itcl/Makefile ] || exit 0; \
9734 r=`${PWD_COMMAND}`; export r; \
9735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9737 for flag in $(EXTRA_HOST_FLAGS); do \
9738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9740 echo "Doing info in itcl" ; \
9742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9744 "RANLIB=$${RANLIB}" \
9745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9750 .PHONY: maybe-dvi-itcl dvi-itcl
9755 @[ -f ./itcl/Makefile ] || exit 0; \
9756 r=`${PWD_COMMAND}`; export r; \
9757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9759 for flag in $(EXTRA_HOST_FLAGS); do \
9760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9762 echo "Doing dvi in itcl" ; \
9764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9766 "RANLIB=$${RANLIB}" \
9767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9772 .PHONY: maybe-TAGS-itcl TAGS-itcl
9777 @[ -f ./itcl/Makefile ] || exit 0; \
9778 r=`${PWD_COMMAND}`; export r; \
9779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9781 for flag in $(EXTRA_HOST_FLAGS); do \
9782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9784 echo "Doing TAGS in itcl" ; \
9786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9788 "RANLIB=$${RANLIB}" \
9789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9794 .PHONY: maybe-install-info-itcl install-info-itcl
9795 maybe-install-info-itcl:
9797 install-info-itcl: \
9800 @[ -f ./itcl/Makefile ] || exit 0; \
9801 r=`${PWD_COMMAND}`; export r; \
9802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9804 for flag in $(EXTRA_HOST_FLAGS); do \
9805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9807 echo "Doing install-info in itcl" ; \
9809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9811 "RANLIB=$${RANLIB}" \
9812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9817 .PHONY: maybe-installcheck-itcl installcheck-itcl
9818 maybe-installcheck-itcl:
9820 installcheck-itcl: \
9822 @[ -f ./itcl/Makefile ] || exit 0; \
9823 r=`${PWD_COMMAND}`; export r; \
9824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9826 for flag in $(EXTRA_HOST_FLAGS); do \
9827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9829 echo "Doing installcheck in itcl" ; \
9831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9833 "RANLIB=$${RANLIB}" \
9834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9839 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
9840 maybe-mostlyclean-itcl:
9843 @[ -f ./itcl/Makefile ] || exit 0; \
9844 r=`${PWD_COMMAND}`; export r; \
9845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9847 for flag in $(EXTRA_HOST_FLAGS); do \
9848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9850 echo "Doing mostlyclean in itcl" ; \
9852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9854 "RANLIB=$${RANLIB}" \
9855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9860 .PHONY: maybe-clean-itcl clean-itcl
9864 @[ -f ./itcl/Makefile ] || exit 0; \
9865 r=`${PWD_COMMAND}`; export r; \
9866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9868 for flag in $(EXTRA_HOST_FLAGS); do \
9869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9871 echo "Doing clean in itcl" ; \
9873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9875 "RANLIB=$${RANLIB}" \
9876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9881 .PHONY: maybe-distclean-itcl distclean-itcl
9882 maybe-distclean-itcl:
9885 @[ -f ./itcl/Makefile ] || exit 0; \
9886 r=`${PWD_COMMAND}`; export r; \
9887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9889 for flag in $(EXTRA_HOST_FLAGS); do \
9890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9892 echo "Doing distclean in itcl" ; \
9894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9896 "RANLIB=$${RANLIB}" \
9897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9902 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
9903 maybe-maintainer-clean-itcl:
9905 maintainer-clean-itcl:
9906 @[ -f ./itcl/Makefile ] || exit 0; \
9907 r=`${PWD_COMMAND}`; export r; \
9908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9910 for flag in $(EXTRA_HOST_FLAGS); do \
9911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9913 echo "Doing maintainer-clean in itcl" ; \
9915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9917 "RANLIB=$${RANLIB}" \
9918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9924 .PHONY: configure-ld maybe-configure-ld
9927 @test ! -f ld/Makefile || exit 0; \
9928 [ -d ld ] || mkdir ld; \
9929 r=`${PWD_COMMAND}`; export r; \
9930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9931 CC="$(CC)"; export CC; \
9932 CFLAGS="$(CFLAGS)"; export CFLAGS; \
9933 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
9934 CXX="$(CXX)"; export CXX; \
9935 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
9936 AR="$(AR)"; export AR; \
9937 AS="$(AS)"; export AS; \
9938 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
9939 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
9940 LD="$(LD)"; export LD; \
9941 NM="$(NM)"; export NM; \
9942 RANLIB="$(RANLIB)"; export RANLIB; \
9943 WINDRES="$(WINDRES)"; export WINDRES; \
9944 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
9945 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
9946 echo Configuring in ld; \
9950 srcdiroption="--srcdir=."; \
9952 /* | [A-Za-z]:[\\/]*) \
9953 srcdiroption="--srcdir=$(srcdir)/ld"; \
9954 libsrcdir="$$s/ld";; \
9956 srcdiroption="--srcdir=../$(srcdir)/ld"; \
9957 libsrcdir="$$s/ld";; \
9959 $(SHELL) $${libsrcdir}/configure \
9960 $(HOST_CONFIGARGS) $${srcdiroption} \
9963 .PHONY: all-ld maybe-all-ld
9965 all-ld: configure-ld
9966 @r=`${PWD_COMMAND}`; export r; \
9967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9969 (cd ld && $(MAKE) $(FLAGS_TO_PASS) all)
9971 .PHONY: check-ld maybe-check-ld
9975 @r=`${PWD_COMMAND}`; export r; \
9976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9978 (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
9981 .PHONY: install-ld maybe-install-ld
9984 install-ld: installdirs
9985 @r=`${PWD_COMMAND}`; export r; \
9986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9988 (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
9991 # Other targets (info, dvi, etc.)
9993 .PHONY: maybe-info-ld info-ld
9998 @[ -f ./ld/Makefile ] || exit 0; \
9999 r=`${PWD_COMMAND}`; export r; \
10000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10002 for flag in $(EXTRA_HOST_FLAGS); do \
10003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10005 echo "Doing info in ld" ; \
10007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10009 "RANLIB=$${RANLIB}" \
10010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10015 .PHONY: maybe-dvi-ld dvi-ld
10020 @[ -f ./ld/Makefile ] || exit 0; \
10021 r=`${PWD_COMMAND}`; export r; \
10022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10024 for flag in $(EXTRA_HOST_FLAGS); do \
10025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10027 echo "Doing dvi in ld" ; \
10029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10031 "RANLIB=$${RANLIB}" \
10032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10037 .PHONY: maybe-TAGS-ld TAGS-ld
10042 @[ -f ./ld/Makefile ] || exit 0; \
10043 r=`${PWD_COMMAND}`; export r; \
10044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10046 for flag in $(EXTRA_HOST_FLAGS); do \
10047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10049 echo "Doing TAGS in ld" ; \
10051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10053 "RANLIB=$${RANLIB}" \
10054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10059 .PHONY: maybe-install-info-ld install-info-ld
10060 maybe-install-info-ld:
10065 @[ -f ./ld/Makefile ] || exit 0; \
10066 r=`${PWD_COMMAND}`; export r; \
10067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10069 for flag in $(EXTRA_HOST_FLAGS); do \
10070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10072 echo "Doing install-info in ld" ; \
10074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10076 "RANLIB=$${RANLIB}" \
10077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10082 .PHONY: maybe-installcheck-ld installcheck-ld
10083 maybe-installcheck-ld:
10087 @[ -f ./ld/Makefile ] || exit 0; \
10088 r=`${PWD_COMMAND}`; export r; \
10089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10091 for flag in $(EXTRA_HOST_FLAGS); do \
10092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10094 echo "Doing installcheck in ld" ; \
10096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10098 "RANLIB=$${RANLIB}" \
10099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10104 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
10105 maybe-mostlyclean-ld:
10108 @[ -f ./ld/Makefile ] || exit 0; \
10109 r=`${PWD_COMMAND}`; export r; \
10110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10112 for flag in $(EXTRA_HOST_FLAGS); do \
10113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10115 echo "Doing mostlyclean in ld" ; \
10117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10119 "RANLIB=$${RANLIB}" \
10120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10125 .PHONY: maybe-clean-ld clean-ld
10129 @[ -f ./ld/Makefile ] || exit 0; \
10130 r=`${PWD_COMMAND}`; export r; \
10131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10133 for flag in $(EXTRA_HOST_FLAGS); do \
10134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10136 echo "Doing clean in ld" ; \
10138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10140 "RANLIB=$${RANLIB}" \
10141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10146 .PHONY: maybe-distclean-ld distclean-ld
10147 maybe-distclean-ld:
10150 @[ -f ./ld/Makefile ] || exit 0; \
10151 r=`${PWD_COMMAND}`; export r; \
10152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10154 for flag in $(EXTRA_HOST_FLAGS); do \
10155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10157 echo "Doing distclean in ld" ; \
10159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10161 "RANLIB=$${RANLIB}" \
10162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10167 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
10168 maybe-maintainer-clean-ld:
10170 maintainer-clean-ld:
10171 @[ -f ./ld/Makefile ] || exit 0; \
10172 r=`${PWD_COMMAND}`; export r; \
10173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10175 for flag in $(EXTRA_HOST_FLAGS); do \
10176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10178 echo "Doing maintainer-clean in ld" ; \
10180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10182 "RANLIB=$${RANLIB}" \
10183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10184 maintainer-clean) \
10189 .PHONY: configure-libgui maybe-configure-libgui
10190 maybe-configure-libgui:
10192 @test ! -f libgui/Makefile || exit 0; \
10193 [ -d libgui ] || mkdir libgui; \
10194 r=`${PWD_COMMAND}`; export r; \
10195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10196 CC="$(CC)"; export CC; \
10197 CFLAGS="$(CFLAGS)"; export CFLAGS; \
10198 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
10199 CXX="$(CXX)"; export CXX; \
10200 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
10201 AR="$(AR)"; export AR; \
10202 AS="$(AS)"; export AS; \
10203 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
10204 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
10205 LD="$(LD)"; export LD; \
10206 NM="$(NM)"; export NM; \
10207 RANLIB="$(RANLIB)"; export RANLIB; \
10208 WINDRES="$(WINDRES)"; export WINDRES; \
10209 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
10210 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
10211 echo Configuring in libgui; \
10212 cd libgui || exit 1; \
10213 case $(srcdir) in \
10215 srcdiroption="--srcdir=."; \
10217 /* | [A-Za-z]:[\\/]*) \
10218 srcdiroption="--srcdir=$(srcdir)/libgui"; \
10219 libsrcdir="$$s/libgui";; \
10221 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
10222 libsrcdir="$$s/libgui";; \
10224 $(SHELL) $${libsrcdir}/configure \
10225 $(HOST_CONFIGARGS) $${srcdiroption} \
10228 .PHONY: all-libgui maybe-all-libgui
10230 all-libgui: configure-libgui
10231 @r=`${PWD_COMMAND}`; export r; \
10232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10234 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) all)
10236 .PHONY: check-libgui maybe-check-libgui
10237 maybe-check-libgui:
10240 @r=`${PWD_COMMAND}`; export r; \
10241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10243 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
10246 .PHONY: install-libgui maybe-install-libgui
10247 maybe-install-libgui:
10249 install-libgui: installdirs
10250 @r=`${PWD_COMMAND}`; export r; \
10251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10253 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
10256 # Other targets (info, dvi, etc.)
10258 .PHONY: maybe-info-libgui info-libgui
10263 @[ -f ./libgui/Makefile ] || exit 0; \
10264 r=`${PWD_COMMAND}`; export r; \
10265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10267 for flag in $(EXTRA_HOST_FLAGS); do \
10268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10270 echo "Doing info in libgui" ; \
10272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10274 "RANLIB=$${RANLIB}" \
10275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10280 .PHONY: maybe-dvi-libgui dvi-libgui
10285 @[ -f ./libgui/Makefile ] || exit 0; \
10286 r=`${PWD_COMMAND}`; export r; \
10287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10289 for flag in $(EXTRA_HOST_FLAGS); do \
10290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10292 echo "Doing dvi in libgui" ; \
10294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10296 "RANLIB=$${RANLIB}" \
10297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10302 .PHONY: maybe-TAGS-libgui TAGS-libgui
10307 @[ -f ./libgui/Makefile ] || exit 0; \
10308 r=`${PWD_COMMAND}`; export r; \
10309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10311 for flag in $(EXTRA_HOST_FLAGS); do \
10312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10314 echo "Doing TAGS in libgui" ; \
10316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10318 "RANLIB=$${RANLIB}" \
10319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10324 .PHONY: maybe-install-info-libgui install-info-libgui
10325 maybe-install-info-libgui:
10327 install-info-libgui: \
10330 @[ -f ./libgui/Makefile ] || exit 0; \
10331 r=`${PWD_COMMAND}`; export r; \
10332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10334 for flag in $(EXTRA_HOST_FLAGS); do \
10335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10337 echo "Doing install-info in libgui" ; \
10339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10341 "RANLIB=$${RANLIB}" \
10342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10347 .PHONY: maybe-installcheck-libgui installcheck-libgui
10348 maybe-installcheck-libgui:
10350 installcheck-libgui: \
10352 @[ -f ./libgui/Makefile ] || exit 0; \
10353 r=`${PWD_COMMAND}`; export r; \
10354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10356 for flag in $(EXTRA_HOST_FLAGS); do \
10357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10359 echo "Doing installcheck in libgui" ; \
10361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10363 "RANLIB=$${RANLIB}" \
10364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10369 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
10370 maybe-mostlyclean-libgui:
10372 mostlyclean-libgui:
10373 @[ -f ./libgui/Makefile ] || exit 0; \
10374 r=`${PWD_COMMAND}`; export r; \
10375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10377 for flag in $(EXTRA_HOST_FLAGS); do \
10378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10380 echo "Doing mostlyclean in libgui" ; \
10382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10384 "RANLIB=$${RANLIB}" \
10385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10390 .PHONY: maybe-clean-libgui clean-libgui
10391 maybe-clean-libgui:
10394 @[ -f ./libgui/Makefile ] || exit 0; \
10395 r=`${PWD_COMMAND}`; export r; \
10396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10398 for flag in $(EXTRA_HOST_FLAGS); do \
10399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10401 echo "Doing clean in libgui" ; \
10403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10405 "RANLIB=$${RANLIB}" \
10406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10411 .PHONY: maybe-distclean-libgui distclean-libgui
10412 maybe-distclean-libgui:
10415 @[ -f ./libgui/Makefile ] || exit 0; \
10416 r=`${PWD_COMMAND}`; export r; \
10417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10419 for flag in $(EXTRA_HOST_FLAGS); do \
10420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10422 echo "Doing distclean in libgui" ; \
10424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10426 "RANLIB=$${RANLIB}" \
10427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10432 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
10433 maybe-maintainer-clean-libgui:
10435 maintainer-clean-libgui:
10436 @[ -f ./libgui/Makefile ] || exit 0; \
10437 r=`${PWD_COMMAND}`; export r; \
10438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10440 for flag in $(EXTRA_HOST_FLAGS); do \
10441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10443 echo "Doing maintainer-clean in libgui" ; \
10445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10447 "RANLIB=$${RANLIB}" \
10448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10449 maintainer-clean) \
10454 .PHONY: configure-libiberty maybe-configure-libiberty
10455 maybe-configure-libiberty:
10456 configure-libiberty:
10457 @test ! -f libiberty/Makefile || exit 0; \
10458 [ -d libiberty ] || mkdir libiberty; \
10459 r=`${PWD_COMMAND}`; export r; \
10460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10461 CC="$(CC)"; export CC; \
10462 CFLAGS="$(CFLAGS)"; export CFLAGS; \
10463 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
10464 CXX="$(CXX)"; export CXX; \
10465 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
10466 AR="$(AR)"; export AR; \
10467 AS="$(AS)"; export AS; \
10468 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
10469 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
10470 LD="$(LD)"; export LD; \
10471 NM="$(NM)"; export NM; \
10472 RANLIB="$(RANLIB)"; export RANLIB; \
10473 WINDRES="$(WINDRES)"; export WINDRES; \
10474 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
10475 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
10476 echo Configuring in libiberty; \
10477 cd libiberty || exit 1; \
10478 case $(srcdir) in \
10480 srcdiroption="--srcdir=."; \
10482 /* | [A-Za-z]:[\\/]*) \
10483 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
10484 libsrcdir="$$s/libiberty";; \
10486 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
10487 libsrcdir="$$s/libiberty";; \
10489 $(SHELL) $${libsrcdir}/configure \
10490 $(HOST_CONFIGARGS) $${srcdiroption} \
10493 .PHONY: all-libiberty maybe-all-libiberty
10494 maybe-all-libiberty:
10495 all-libiberty: configure-libiberty
10496 @r=`${PWD_COMMAND}`; export r; \
10497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10499 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) all)
10501 .PHONY: check-libiberty maybe-check-libiberty
10502 maybe-check-libiberty:
10505 @r=`${PWD_COMMAND}`; export r; \
10506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10508 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
10511 .PHONY: install-libiberty maybe-install-libiberty
10512 maybe-install-libiberty:
10514 install-libiberty: installdirs
10515 @r=`${PWD_COMMAND}`; export r; \
10516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10518 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
10521 # Other targets (info, dvi, etc.)
10523 .PHONY: maybe-info-libiberty info-libiberty
10524 maybe-info-libiberty:
10527 configure-libiberty
10528 @[ -f ./libiberty/Makefile ] || exit 0; \
10529 r=`${PWD_COMMAND}`; export r; \
10530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10532 for flag in $(EXTRA_HOST_FLAGS); do \
10533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10535 echo "Doing info in libiberty" ; \
10537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10539 "RANLIB=$${RANLIB}" \
10540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10545 .PHONY: maybe-dvi-libiberty dvi-libiberty
10546 maybe-dvi-libiberty:
10549 configure-libiberty
10550 @[ -f ./libiberty/Makefile ] || exit 0; \
10551 r=`${PWD_COMMAND}`; export r; \
10552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10554 for flag in $(EXTRA_HOST_FLAGS); do \
10555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10557 echo "Doing dvi in libiberty" ; \
10559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10561 "RANLIB=$${RANLIB}" \
10562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10567 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
10568 maybe-TAGS-libiberty:
10571 configure-libiberty
10572 @[ -f ./libiberty/Makefile ] || exit 0; \
10573 r=`${PWD_COMMAND}`; export r; \
10574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10576 for flag in $(EXTRA_HOST_FLAGS); do \
10577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10579 echo "Doing TAGS in libiberty" ; \
10581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10583 "RANLIB=$${RANLIB}" \
10584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10589 .PHONY: maybe-install-info-libiberty install-info-libiberty
10590 maybe-install-info-libiberty:
10592 install-info-libiberty: \
10593 configure-libiberty \
10595 @[ -f ./libiberty/Makefile ] || exit 0; \
10596 r=`${PWD_COMMAND}`; export r; \
10597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10599 for flag in $(EXTRA_HOST_FLAGS); do \
10600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10602 echo "Doing install-info in libiberty" ; \
10604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10606 "RANLIB=$${RANLIB}" \
10607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10612 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
10613 maybe-installcheck-libiberty:
10615 installcheck-libiberty: \
10616 configure-libiberty
10617 @[ -f ./libiberty/Makefile ] || exit 0; \
10618 r=`${PWD_COMMAND}`; export r; \
10619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10621 for flag in $(EXTRA_HOST_FLAGS); do \
10622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10624 echo "Doing installcheck in libiberty" ; \
10626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10628 "RANLIB=$${RANLIB}" \
10629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10634 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
10635 maybe-mostlyclean-libiberty:
10637 mostlyclean-libiberty:
10638 @[ -f ./libiberty/Makefile ] || exit 0; \
10639 r=`${PWD_COMMAND}`; export r; \
10640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10642 for flag in $(EXTRA_HOST_FLAGS); do \
10643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10645 echo "Doing mostlyclean in libiberty" ; \
10647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10649 "RANLIB=$${RANLIB}" \
10650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10655 .PHONY: maybe-clean-libiberty clean-libiberty
10656 maybe-clean-libiberty:
10659 @[ -f ./libiberty/Makefile ] || exit 0; \
10660 r=`${PWD_COMMAND}`; export r; \
10661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10663 for flag in $(EXTRA_HOST_FLAGS); do \
10664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10666 echo "Doing clean in libiberty" ; \
10668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10670 "RANLIB=$${RANLIB}" \
10671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10676 .PHONY: maybe-distclean-libiberty distclean-libiberty
10677 maybe-distclean-libiberty:
10679 distclean-libiberty:
10680 @[ -f ./libiberty/Makefile ] || exit 0; \
10681 r=`${PWD_COMMAND}`; export r; \
10682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10684 for flag in $(EXTRA_HOST_FLAGS); do \
10685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10687 echo "Doing distclean in libiberty" ; \
10689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10691 "RANLIB=$${RANLIB}" \
10692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10697 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
10698 maybe-maintainer-clean-libiberty:
10700 maintainer-clean-libiberty:
10701 @[ -f ./libiberty/Makefile ] || exit 0; \
10702 r=`${PWD_COMMAND}`; export r; \
10703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10705 for flag in $(EXTRA_HOST_FLAGS); do \
10706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10708 echo "Doing maintainer-clean in libiberty" ; \
10710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10712 "RANLIB=$${RANLIB}" \
10713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10714 maintainer-clean) \
10719 .PHONY: configure-libtool maybe-configure-libtool
10720 maybe-configure-libtool:
10722 @test ! -f libtool/Makefile || exit 0; \
10723 [ -d libtool ] || mkdir libtool; \
10724 r=`${PWD_COMMAND}`; export r; \
10725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10726 CC="$(CC)"; export CC; \
10727 CFLAGS="$(CFLAGS)"; export CFLAGS; \
10728 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
10729 CXX="$(CXX)"; export CXX; \
10730 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
10731 AR="$(AR)"; export AR; \
10732 AS="$(AS)"; export AS; \
10733 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
10734 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
10735 LD="$(LD)"; export LD; \
10736 NM="$(NM)"; export NM; \
10737 RANLIB="$(RANLIB)"; export RANLIB; \
10738 WINDRES="$(WINDRES)"; export WINDRES; \
10739 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
10740 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
10741 echo Configuring in libtool; \
10742 cd libtool || exit 1; \
10743 case $(srcdir) in \
10745 srcdiroption="--srcdir=."; \
10747 /* | [A-Za-z]:[\\/]*) \
10748 srcdiroption="--srcdir=$(srcdir)/libtool"; \
10749 libsrcdir="$$s/libtool";; \
10751 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
10752 libsrcdir="$$s/libtool";; \
10754 $(SHELL) $${libsrcdir}/configure \
10755 $(HOST_CONFIGARGS) $${srcdiroption} \
10758 .PHONY: all-libtool maybe-all-libtool
10760 all-libtool: configure-libtool
10761 @r=`${PWD_COMMAND}`; export r; \
10762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10764 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) all)
10766 .PHONY: check-libtool maybe-check-libtool
10767 maybe-check-libtool:
10770 @r=`${PWD_COMMAND}`; export r; \
10771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10773 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
10776 .PHONY: install-libtool maybe-install-libtool
10777 maybe-install-libtool:
10779 install-libtool: installdirs
10780 @r=`${PWD_COMMAND}`; export r; \
10781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10783 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
10786 # Other targets (info, dvi, etc.)
10788 .PHONY: maybe-info-libtool info-libtool
10789 maybe-info-libtool:
10793 @[ -f ./libtool/Makefile ] || exit 0; \
10794 r=`${PWD_COMMAND}`; export r; \
10795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10797 for flag in $(EXTRA_HOST_FLAGS); do \
10798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10800 echo "Doing info in libtool" ; \
10802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10804 "RANLIB=$${RANLIB}" \
10805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10810 .PHONY: maybe-dvi-libtool dvi-libtool
10815 @[ -f ./libtool/Makefile ] || exit 0; \
10816 r=`${PWD_COMMAND}`; export r; \
10817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10819 for flag in $(EXTRA_HOST_FLAGS); do \
10820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10822 echo "Doing dvi in libtool" ; \
10824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10826 "RANLIB=$${RANLIB}" \
10827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10832 .PHONY: maybe-TAGS-libtool TAGS-libtool
10833 maybe-TAGS-libtool:
10837 @[ -f ./libtool/Makefile ] || exit 0; \
10838 r=`${PWD_COMMAND}`; export r; \
10839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10841 for flag in $(EXTRA_HOST_FLAGS); do \
10842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10844 echo "Doing TAGS in libtool" ; \
10846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10848 "RANLIB=$${RANLIB}" \
10849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10854 .PHONY: maybe-install-info-libtool install-info-libtool
10855 maybe-install-info-libtool:
10857 install-info-libtool: \
10858 configure-libtool \
10860 @[ -f ./libtool/Makefile ] || exit 0; \
10861 r=`${PWD_COMMAND}`; export r; \
10862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10864 for flag in $(EXTRA_HOST_FLAGS); do \
10865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10867 echo "Doing install-info in libtool" ; \
10869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10871 "RANLIB=$${RANLIB}" \
10872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10877 .PHONY: maybe-installcheck-libtool installcheck-libtool
10878 maybe-installcheck-libtool:
10880 installcheck-libtool: \
10882 @[ -f ./libtool/Makefile ] || exit 0; \
10883 r=`${PWD_COMMAND}`; export r; \
10884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10886 for flag in $(EXTRA_HOST_FLAGS); do \
10887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10889 echo "Doing installcheck in libtool" ; \
10891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10893 "RANLIB=$${RANLIB}" \
10894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10899 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
10900 maybe-mostlyclean-libtool:
10902 mostlyclean-libtool:
10903 @[ -f ./libtool/Makefile ] || exit 0; \
10904 r=`${PWD_COMMAND}`; export r; \
10905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10907 for flag in $(EXTRA_HOST_FLAGS); do \
10908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10910 echo "Doing mostlyclean in libtool" ; \
10912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10914 "RANLIB=$${RANLIB}" \
10915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10920 .PHONY: maybe-clean-libtool clean-libtool
10921 maybe-clean-libtool:
10924 @[ -f ./libtool/Makefile ] || exit 0; \
10925 r=`${PWD_COMMAND}`; export r; \
10926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10928 for flag in $(EXTRA_HOST_FLAGS); do \
10929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10931 echo "Doing clean in libtool" ; \
10933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10935 "RANLIB=$${RANLIB}" \
10936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10941 .PHONY: maybe-distclean-libtool distclean-libtool
10942 maybe-distclean-libtool:
10945 @[ -f ./libtool/Makefile ] || exit 0; \
10946 r=`${PWD_COMMAND}`; export r; \
10947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10949 for flag in $(EXTRA_HOST_FLAGS); do \
10950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10952 echo "Doing distclean in libtool" ; \
10954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10956 "RANLIB=$${RANLIB}" \
10957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10962 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
10963 maybe-maintainer-clean-libtool:
10965 maintainer-clean-libtool:
10966 @[ -f ./libtool/Makefile ] || exit 0; \
10967 r=`${PWD_COMMAND}`; export r; \
10968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10970 for flag in $(EXTRA_HOST_FLAGS); do \
10971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10973 echo "Doing maintainer-clean in libtool" ; \
10975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10977 "RANLIB=$${RANLIB}" \
10978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10979 maintainer-clean) \
10984 .PHONY: configure-m4 maybe-configure-m4
10985 maybe-configure-m4:
10987 @test ! -f m4/Makefile || exit 0; \
10988 [ -d m4 ] || mkdir m4; \
10989 r=`${PWD_COMMAND}`; export r; \
10990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10991 CC="$(CC)"; export CC; \
10992 CFLAGS="$(CFLAGS)"; export CFLAGS; \
10993 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
10994 CXX="$(CXX)"; export CXX; \
10995 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
10996 AR="$(AR)"; export AR; \
10997 AS="$(AS)"; export AS; \
10998 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
10999 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
11000 LD="$(LD)"; export LD; \
11001 NM="$(NM)"; export NM; \
11002 RANLIB="$(RANLIB)"; export RANLIB; \
11003 WINDRES="$(WINDRES)"; export WINDRES; \
11004 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
11005 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
11006 echo Configuring in m4; \
11008 case $(srcdir) in \
11010 srcdiroption="--srcdir=."; \
11012 /* | [A-Za-z]:[\\/]*) \
11013 srcdiroption="--srcdir=$(srcdir)/m4"; \
11014 libsrcdir="$$s/m4";; \
11016 srcdiroption="--srcdir=../$(srcdir)/m4"; \
11017 libsrcdir="$$s/m4";; \
11019 $(SHELL) $${libsrcdir}/configure \
11020 $(HOST_CONFIGARGS) $${srcdiroption} \
11023 .PHONY: all-m4 maybe-all-m4
11025 all-m4: configure-m4
11026 @r=`${PWD_COMMAND}`; export r; \
11027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11029 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) all)
11031 .PHONY: check-m4 maybe-check-m4
11035 @r=`${PWD_COMMAND}`; export r; \
11036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11038 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
11041 .PHONY: install-m4 maybe-install-m4
11044 install-m4: installdirs
11045 @r=`${PWD_COMMAND}`; export r; \
11046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11048 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
11051 # Other targets (info, dvi, etc.)
11053 .PHONY: maybe-info-m4 info-m4
11058 @[ -f ./m4/Makefile ] || exit 0; \
11059 r=`${PWD_COMMAND}`; export r; \
11060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11062 for flag in $(EXTRA_HOST_FLAGS); do \
11063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11065 echo "Doing info in m4" ; \
11067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11069 "RANLIB=$${RANLIB}" \
11070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11075 .PHONY: maybe-dvi-m4 dvi-m4
11080 @[ -f ./m4/Makefile ] || exit 0; \
11081 r=`${PWD_COMMAND}`; export r; \
11082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11084 for flag in $(EXTRA_HOST_FLAGS); do \
11085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11087 echo "Doing dvi in m4" ; \
11089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11091 "RANLIB=$${RANLIB}" \
11092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11097 .PHONY: maybe-TAGS-m4 TAGS-m4
11102 @[ -f ./m4/Makefile ] || exit 0; \
11103 r=`${PWD_COMMAND}`; export r; \
11104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11106 for flag in $(EXTRA_HOST_FLAGS); do \
11107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11109 echo "Doing TAGS in m4" ; \
11111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11113 "RANLIB=$${RANLIB}" \
11114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11119 .PHONY: maybe-install-info-m4 install-info-m4
11120 maybe-install-info-m4:
11125 @[ -f ./m4/Makefile ] || exit 0; \
11126 r=`${PWD_COMMAND}`; export r; \
11127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11129 for flag in $(EXTRA_HOST_FLAGS); do \
11130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11132 echo "Doing install-info in m4" ; \
11134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11136 "RANLIB=$${RANLIB}" \
11137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11142 .PHONY: maybe-installcheck-m4 installcheck-m4
11143 maybe-installcheck-m4:
11147 @[ -f ./m4/Makefile ] || exit 0; \
11148 r=`${PWD_COMMAND}`; export r; \
11149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11151 for flag in $(EXTRA_HOST_FLAGS); do \
11152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11154 echo "Doing installcheck in m4" ; \
11156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11158 "RANLIB=$${RANLIB}" \
11159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11164 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
11165 maybe-mostlyclean-m4:
11168 @[ -f ./m4/Makefile ] || exit 0; \
11169 r=`${PWD_COMMAND}`; export r; \
11170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11172 for flag in $(EXTRA_HOST_FLAGS); do \
11173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11175 echo "Doing mostlyclean in m4" ; \
11177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11179 "RANLIB=$${RANLIB}" \
11180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11185 .PHONY: maybe-clean-m4 clean-m4
11189 @[ -f ./m4/Makefile ] || exit 0; \
11190 r=`${PWD_COMMAND}`; export r; \
11191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11193 for flag in $(EXTRA_HOST_FLAGS); do \
11194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11196 echo "Doing clean in m4" ; \
11198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11200 "RANLIB=$${RANLIB}" \
11201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11206 .PHONY: maybe-distclean-m4 distclean-m4
11207 maybe-distclean-m4:
11210 @[ -f ./m4/Makefile ] || exit 0; \
11211 r=`${PWD_COMMAND}`; export r; \
11212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11214 for flag in $(EXTRA_HOST_FLAGS); do \
11215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11217 echo "Doing distclean in m4" ; \
11219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11221 "RANLIB=$${RANLIB}" \
11222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11227 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
11228 maybe-maintainer-clean-m4:
11230 maintainer-clean-m4:
11231 @[ -f ./m4/Makefile ] || exit 0; \
11232 r=`${PWD_COMMAND}`; export r; \
11233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11235 for flag in $(EXTRA_HOST_FLAGS); do \
11236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11238 echo "Doing maintainer-clean in m4" ; \
11240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11242 "RANLIB=$${RANLIB}" \
11243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11244 maintainer-clean) \
11249 .PHONY: configure-make maybe-configure-make
11250 maybe-configure-make:
11252 @test ! -f make/Makefile || exit 0; \
11253 [ -d make ] || mkdir make; \
11254 r=`${PWD_COMMAND}`; export r; \
11255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11256 CC="$(CC)"; export CC; \
11257 CFLAGS="$(CFLAGS)"; export CFLAGS; \
11258 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
11259 CXX="$(CXX)"; export CXX; \
11260 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
11261 AR="$(AR)"; export AR; \
11262 AS="$(AS)"; export AS; \
11263 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
11264 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
11265 LD="$(LD)"; export LD; \
11266 NM="$(NM)"; export NM; \
11267 RANLIB="$(RANLIB)"; export RANLIB; \
11268 WINDRES="$(WINDRES)"; export WINDRES; \
11269 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
11270 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
11271 echo Configuring in make; \
11272 cd make || exit 1; \
11273 case $(srcdir) in \
11275 srcdiroption="--srcdir=."; \
11277 /* | [A-Za-z]:[\\/]*) \
11278 srcdiroption="--srcdir=$(srcdir)/make"; \
11279 libsrcdir="$$s/make";; \
11281 srcdiroption="--srcdir=../$(srcdir)/make"; \
11282 libsrcdir="$$s/make";; \
11284 $(SHELL) $${libsrcdir}/configure \
11285 $(HOST_CONFIGARGS) $${srcdiroption} \
11288 .PHONY: all-make maybe-all-make
11290 all-make: configure-make
11291 @r=`${PWD_COMMAND}`; export r; \
11292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11294 (cd make && $(MAKE) $(FLAGS_TO_PASS) all)
11296 .PHONY: check-make maybe-check-make
11300 @r=`${PWD_COMMAND}`; export r; \
11301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11303 (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
11306 .PHONY: install-make maybe-install-make
11307 maybe-install-make:
11309 install-make: installdirs
11310 @r=`${PWD_COMMAND}`; export r; \
11311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11313 (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
11316 # Other targets (info, dvi, etc.)
11318 .PHONY: maybe-info-make info-make
11323 @[ -f ./make/Makefile ] || exit 0; \
11324 r=`${PWD_COMMAND}`; export r; \
11325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11327 for flag in $(EXTRA_HOST_FLAGS); do \
11328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11330 echo "Doing info in make" ; \
11332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11334 "RANLIB=$${RANLIB}" \
11335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11340 .PHONY: maybe-dvi-make dvi-make
11345 @[ -f ./make/Makefile ] || exit 0; \
11346 r=`${PWD_COMMAND}`; export r; \
11347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11349 for flag in $(EXTRA_HOST_FLAGS); do \
11350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11352 echo "Doing dvi in make" ; \
11354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11356 "RANLIB=$${RANLIB}" \
11357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11362 .PHONY: maybe-TAGS-make TAGS-make
11367 @[ -f ./make/Makefile ] || exit 0; \
11368 r=`${PWD_COMMAND}`; export r; \
11369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11371 for flag in $(EXTRA_HOST_FLAGS); do \
11372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11374 echo "Doing TAGS in make" ; \
11376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11378 "RANLIB=$${RANLIB}" \
11379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11384 .PHONY: maybe-install-info-make install-info-make
11385 maybe-install-info-make:
11387 install-info-make: \
11390 @[ -f ./make/Makefile ] || exit 0; \
11391 r=`${PWD_COMMAND}`; export r; \
11392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11394 for flag in $(EXTRA_HOST_FLAGS); do \
11395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11397 echo "Doing install-info in make" ; \
11399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11401 "RANLIB=$${RANLIB}" \
11402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11407 .PHONY: maybe-installcheck-make installcheck-make
11408 maybe-installcheck-make:
11410 installcheck-make: \
11412 @[ -f ./make/Makefile ] || exit 0; \
11413 r=`${PWD_COMMAND}`; export r; \
11414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11416 for flag in $(EXTRA_HOST_FLAGS); do \
11417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11419 echo "Doing installcheck in make" ; \
11421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11423 "RANLIB=$${RANLIB}" \
11424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11429 .PHONY: maybe-mostlyclean-make mostlyclean-make
11430 maybe-mostlyclean-make:
11433 @[ -f ./make/Makefile ] || exit 0; \
11434 r=`${PWD_COMMAND}`; export r; \
11435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11437 for flag in $(EXTRA_HOST_FLAGS); do \
11438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11440 echo "Doing mostlyclean in make" ; \
11442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11444 "RANLIB=$${RANLIB}" \
11445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11450 .PHONY: maybe-clean-make clean-make
11454 @[ -f ./make/Makefile ] || exit 0; \
11455 r=`${PWD_COMMAND}`; export r; \
11456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11458 for flag in $(EXTRA_HOST_FLAGS); do \
11459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11461 echo "Doing clean in make" ; \
11463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11465 "RANLIB=$${RANLIB}" \
11466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11471 .PHONY: maybe-distclean-make distclean-make
11472 maybe-distclean-make:
11475 @[ -f ./make/Makefile ] || exit 0; \
11476 r=`${PWD_COMMAND}`; export r; \
11477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11479 for flag in $(EXTRA_HOST_FLAGS); do \
11480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11482 echo "Doing distclean in make" ; \
11484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11486 "RANLIB=$${RANLIB}" \
11487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11492 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
11493 maybe-maintainer-clean-make:
11495 maintainer-clean-make:
11496 @[ -f ./make/Makefile ] || exit 0; \
11497 r=`${PWD_COMMAND}`; export r; \
11498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11500 for flag in $(EXTRA_HOST_FLAGS); do \
11501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11503 echo "Doing maintainer-clean in make" ; \
11505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11507 "RANLIB=$${RANLIB}" \
11508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11509 maintainer-clean) \
11514 .PHONY: configure-mmalloc maybe-configure-mmalloc
11515 maybe-configure-mmalloc:
11517 @test ! -f mmalloc/Makefile || exit 0; \
11518 [ -d mmalloc ] || mkdir mmalloc; \
11519 r=`${PWD_COMMAND}`; export r; \
11520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11521 CC="$(CC)"; export CC; \
11522 CFLAGS="$(CFLAGS)"; export CFLAGS; \
11523 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
11524 CXX="$(CXX)"; export CXX; \
11525 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
11526 AR="$(AR)"; export AR; \
11527 AS="$(AS)"; export AS; \
11528 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
11529 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
11530 LD="$(LD)"; export LD; \
11531 NM="$(NM)"; export NM; \
11532 RANLIB="$(RANLIB)"; export RANLIB; \
11533 WINDRES="$(WINDRES)"; export WINDRES; \
11534 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
11535 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
11536 echo Configuring in mmalloc; \
11537 cd mmalloc || exit 1; \
11538 case $(srcdir) in \
11540 srcdiroption="--srcdir=."; \
11542 /* | [A-Za-z]:[\\/]*) \
11543 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
11544 libsrcdir="$$s/mmalloc";; \
11546 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
11547 libsrcdir="$$s/mmalloc";; \
11549 $(SHELL) $${libsrcdir}/configure \
11550 $(HOST_CONFIGARGS) $${srcdiroption} \
11553 .PHONY: all-mmalloc maybe-all-mmalloc
11555 all-mmalloc: configure-mmalloc
11556 @r=`${PWD_COMMAND}`; export r; \
11557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11559 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) all)
11561 .PHONY: check-mmalloc maybe-check-mmalloc
11562 maybe-check-mmalloc:
11567 .PHONY: install-mmalloc maybe-install-mmalloc
11568 maybe-install-mmalloc:
11570 install-mmalloc: installdirs
11571 @r=`${PWD_COMMAND}`; export r; \
11572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11574 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
11577 # Other targets (info, dvi, etc.)
11579 .PHONY: maybe-info-mmalloc info-mmalloc
11580 maybe-info-mmalloc:
11584 @[ -f ./mmalloc/Makefile ] || exit 0; \
11585 r=`${PWD_COMMAND}`; export r; \
11586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11588 for flag in $(EXTRA_HOST_FLAGS); do \
11589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11591 echo "Doing info in mmalloc" ; \
11593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11595 "RANLIB=$${RANLIB}" \
11596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11601 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
11606 @[ -f ./mmalloc/Makefile ] || exit 0; \
11607 r=`${PWD_COMMAND}`; export r; \
11608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11610 for flag in $(EXTRA_HOST_FLAGS); do \
11611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11613 echo "Doing dvi in mmalloc" ; \
11615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11617 "RANLIB=$${RANLIB}" \
11618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11623 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
11624 maybe-TAGS-mmalloc:
11628 @[ -f ./mmalloc/Makefile ] || exit 0; \
11629 r=`${PWD_COMMAND}`; export r; \
11630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11632 for flag in $(EXTRA_HOST_FLAGS); do \
11633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11635 echo "Doing TAGS in mmalloc" ; \
11637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11639 "RANLIB=$${RANLIB}" \
11640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11645 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
11646 maybe-install-info-mmalloc:
11648 install-info-mmalloc: \
11649 configure-mmalloc \
11651 @[ -f ./mmalloc/Makefile ] || exit 0; \
11652 r=`${PWD_COMMAND}`; export r; \
11653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11655 for flag in $(EXTRA_HOST_FLAGS); do \
11656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11658 echo "Doing install-info in mmalloc" ; \
11660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11662 "RANLIB=$${RANLIB}" \
11663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11668 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
11669 maybe-installcheck-mmalloc:
11671 installcheck-mmalloc: \
11673 @[ -f ./mmalloc/Makefile ] || exit 0; \
11674 r=`${PWD_COMMAND}`; export r; \
11675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11677 for flag in $(EXTRA_HOST_FLAGS); do \
11678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11680 echo "Doing installcheck in mmalloc" ; \
11682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11684 "RANLIB=$${RANLIB}" \
11685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11690 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
11691 maybe-mostlyclean-mmalloc:
11693 mostlyclean-mmalloc:
11694 @[ -f ./mmalloc/Makefile ] || exit 0; \
11695 r=`${PWD_COMMAND}`; export r; \
11696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11698 for flag in $(EXTRA_HOST_FLAGS); do \
11699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11701 echo "Doing mostlyclean in mmalloc" ; \
11703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11705 "RANLIB=$${RANLIB}" \
11706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11711 .PHONY: maybe-clean-mmalloc clean-mmalloc
11712 maybe-clean-mmalloc:
11715 @[ -f ./mmalloc/Makefile ] || exit 0; \
11716 r=`${PWD_COMMAND}`; export r; \
11717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11719 for flag in $(EXTRA_HOST_FLAGS); do \
11720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11722 echo "Doing clean in mmalloc" ; \
11724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11726 "RANLIB=$${RANLIB}" \
11727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11732 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
11733 maybe-distclean-mmalloc:
11736 @[ -f ./mmalloc/Makefile ] || exit 0; \
11737 r=`${PWD_COMMAND}`; export r; \
11738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11740 for flag in $(EXTRA_HOST_FLAGS); do \
11741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11743 echo "Doing distclean in mmalloc" ; \
11745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11747 "RANLIB=$${RANLIB}" \
11748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11753 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
11754 maybe-maintainer-clean-mmalloc:
11756 maintainer-clean-mmalloc:
11757 @[ -f ./mmalloc/Makefile ] || exit 0; \
11758 r=`${PWD_COMMAND}`; export r; \
11759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11761 for flag in $(EXTRA_HOST_FLAGS); do \
11762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11764 echo "Doing maintainer-clean in mmalloc" ; \
11766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11768 "RANLIB=$${RANLIB}" \
11769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11770 maintainer-clean) \
11775 .PHONY: configure-patch maybe-configure-patch
11776 maybe-configure-patch:
11778 @test ! -f patch/Makefile || exit 0; \
11779 [ -d patch ] || mkdir patch; \
11780 r=`${PWD_COMMAND}`; export r; \
11781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11782 CC="$(CC)"; export CC; \
11783 CFLAGS="$(CFLAGS)"; export CFLAGS; \
11784 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
11785 CXX="$(CXX)"; export CXX; \
11786 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
11787 AR="$(AR)"; export AR; \
11788 AS="$(AS)"; export AS; \
11789 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
11790 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
11791 LD="$(LD)"; export LD; \
11792 NM="$(NM)"; export NM; \
11793 RANLIB="$(RANLIB)"; export RANLIB; \
11794 WINDRES="$(WINDRES)"; export WINDRES; \
11795 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
11796 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
11797 echo Configuring in patch; \
11798 cd patch || exit 1; \
11799 case $(srcdir) in \
11801 srcdiroption="--srcdir=."; \
11803 /* | [A-Za-z]:[\\/]*) \
11804 srcdiroption="--srcdir=$(srcdir)/patch"; \
11805 libsrcdir="$$s/patch";; \
11807 srcdiroption="--srcdir=../$(srcdir)/patch"; \
11808 libsrcdir="$$s/patch";; \
11810 $(SHELL) $${libsrcdir}/configure \
11811 $(HOST_CONFIGARGS) $${srcdiroption} \
11814 .PHONY: all-patch maybe-all-patch
11816 all-patch: configure-patch
11817 @r=`${PWD_COMMAND}`; export r; \
11818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11820 (cd patch && $(MAKE) $(FLAGS_TO_PASS) all)
11822 .PHONY: check-patch maybe-check-patch
11826 @r=`${PWD_COMMAND}`; export r; \
11827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11829 (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
11832 .PHONY: install-patch maybe-install-patch
11833 maybe-install-patch:
11835 install-patch: installdirs
11836 @r=`${PWD_COMMAND}`; export r; \
11837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11839 (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
11842 # Other targets (info, dvi, etc.)
11844 .PHONY: maybe-info-patch info-patch
11849 @[ -f ./patch/Makefile ] || exit 0; \
11850 r=`${PWD_COMMAND}`; export r; \
11851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11853 for flag in $(EXTRA_HOST_FLAGS); do \
11854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11856 echo "Doing info in patch" ; \
11858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11860 "RANLIB=$${RANLIB}" \
11861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11866 .PHONY: maybe-dvi-patch dvi-patch
11871 @[ -f ./patch/Makefile ] || exit 0; \
11872 r=`${PWD_COMMAND}`; export r; \
11873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11875 for flag in $(EXTRA_HOST_FLAGS); do \
11876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11878 echo "Doing dvi in patch" ; \
11880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11882 "RANLIB=$${RANLIB}" \
11883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11888 .PHONY: maybe-TAGS-patch TAGS-patch
11893 @[ -f ./patch/Makefile ] || exit 0; \
11894 r=`${PWD_COMMAND}`; export r; \
11895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11897 for flag in $(EXTRA_HOST_FLAGS); do \
11898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11900 echo "Doing TAGS in patch" ; \
11902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11904 "RANLIB=$${RANLIB}" \
11905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11910 .PHONY: maybe-install-info-patch install-info-patch
11911 maybe-install-info-patch:
11913 install-info-patch: \
11916 @[ -f ./patch/Makefile ] || exit 0; \
11917 r=`${PWD_COMMAND}`; export r; \
11918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11920 for flag in $(EXTRA_HOST_FLAGS); do \
11921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11923 echo "Doing install-info in patch" ; \
11925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11927 "RANLIB=$${RANLIB}" \
11928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11933 .PHONY: maybe-installcheck-patch installcheck-patch
11934 maybe-installcheck-patch:
11936 installcheck-patch: \
11938 @[ -f ./patch/Makefile ] || exit 0; \
11939 r=`${PWD_COMMAND}`; export r; \
11940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11942 for flag in $(EXTRA_HOST_FLAGS); do \
11943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11945 echo "Doing installcheck in patch" ; \
11947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11949 "RANLIB=$${RANLIB}" \
11950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11955 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
11956 maybe-mostlyclean-patch:
11959 @[ -f ./patch/Makefile ] || exit 0; \
11960 r=`${PWD_COMMAND}`; export r; \
11961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11963 for flag in $(EXTRA_HOST_FLAGS); do \
11964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11966 echo "Doing mostlyclean in patch" ; \
11968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11970 "RANLIB=$${RANLIB}" \
11971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11976 .PHONY: maybe-clean-patch clean-patch
11980 @[ -f ./patch/Makefile ] || exit 0; \
11981 r=`${PWD_COMMAND}`; export r; \
11982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11984 for flag in $(EXTRA_HOST_FLAGS); do \
11985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11987 echo "Doing clean in patch" ; \
11989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11991 "RANLIB=$${RANLIB}" \
11992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11997 .PHONY: maybe-distclean-patch distclean-patch
11998 maybe-distclean-patch:
12001 @[ -f ./patch/Makefile ] || exit 0; \
12002 r=`${PWD_COMMAND}`; export r; \
12003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12005 for flag in $(EXTRA_HOST_FLAGS); do \
12006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12008 echo "Doing distclean in patch" ; \
12010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12012 "RANLIB=$${RANLIB}" \
12013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12018 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
12019 maybe-maintainer-clean-patch:
12021 maintainer-clean-patch:
12022 @[ -f ./patch/Makefile ] || exit 0; \
12023 r=`${PWD_COMMAND}`; export r; \
12024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12026 for flag in $(EXTRA_HOST_FLAGS); do \
12027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12029 echo "Doing maintainer-clean in patch" ; \
12031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12033 "RANLIB=$${RANLIB}" \
12034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12035 maintainer-clean) \
12040 .PHONY: configure-perl maybe-configure-perl
12041 maybe-configure-perl:
12043 @test ! -f perl/Makefile || exit 0; \
12044 [ -d perl ] || mkdir perl; \
12045 r=`${PWD_COMMAND}`; export r; \
12046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12047 CC="$(CC)"; export CC; \
12048 CFLAGS="$(CFLAGS)"; export CFLAGS; \
12049 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
12050 CXX="$(CXX)"; export CXX; \
12051 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
12052 AR="$(AR)"; export AR; \
12053 AS="$(AS)"; export AS; \
12054 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
12055 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
12056 LD="$(LD)"; export LD; \
12057 NM="$(NM)"; export NM; \
12058 RANLIB="$(RANLIB)"; export RANLIB; \
12059 WINDRES="$(WINDRES)"; export WINDRES; \
12060 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
12061 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
12062 echo Configuring in perl; \
12063 cd perl || exit 1; \
12064 case $(srcdir) in \
12066 srcdiroption="--srcdir=."; \
12068 /* | [A-Za-z]:[\\/]*) \
12069 srcdiroption="--srcdir=$(srcdir)/perl"; \
12070 libsrcdir="$$s/perl";; \
12072 srcdiroption="--srcdir=../$(srcdir)/perl"; \
12073 libsrcdir="$$s/perl";; \
12075 $(SHELL) $${libsrcdir}/configure \
12076 $(HOST_CONFIGARGS) $${srcdiroption} \
12079 .PHONY: all-perl maybe-all-perl
12081 all-perl: configure-perl
12082 @r=`${PWD_COMMAND}`; export r; \
12083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12085 (cd perl && $(MAKE) $(FLAGS_TO_PASS) all)
12087 .PHONY: check-perl maybe-check-perl
12091 @r=`${PWD_COMMAND}`; export r; \
12092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12094 (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
12097 .PHONY: install-perl maybe-install-perl
12098 maybe-install-perl:
12100 install-perl: installdirs
12101 @r=`${PWD_COMMAND}`; export r; \
12102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12104 (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
12107 # Other targets (info, dvi, etc.)
12109 .PHONY: maybe-info-perl info-perl
12114 @[ -f ./perl/Makefile ] || exit 0; \
12115 r=`${PWD_COMMAND}`; export r; \
12116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12118 for flag in $(EXTRA_HOST_FLAGS); do \
12119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12121 echo "Doing info in perl" ; \
12123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12125 "RANLIB=$${RANLIB}" \
12126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12131 .PHONY: maybe-dvi-perl dvi-perl
12136 @[ -f ./perl/Makefile ] || exit 0; \
12137 r=`${PWD_COMMAND}`; export r; \
12138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12140 for flag in $(EXTRA_HOST_FLAGS); do \
12141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12143 echo "Doing dvi in perl" ; \
12145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12147 "RANLIB=$${RANLIB}" \
12148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12153 .PHONY: maybe-TAGS-perl TAGS-perl
12158 @[ -f ./perl/Makefile ] || exit 0; \
12159 r=`${PWD_COMMAND}`; export r; \
12160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12162 for flag in $(EXTRA_HOST_FLAGS); do \
12163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12165 echo "Doing TAGS in perl" ; \
12167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12169 "RANLIB=$${RANLIB}" \
12170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12175 .PHONY: maybe-install-info-perl install-info-perl
12176 maybe-install-info-perl:
12178 install-info-perl: \
12181 @[ -f ./perl/Makefile ] || exit 0; \
12182 r=`${PWD_COMMAND}`; export r; \
12183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12185 for flag in $(EXTRA_HOST_FLAGS); do \
12186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12188 echo "Doing install-info in perl" ; \
12190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12192 "RANLIB=$${RANLIB}" \
12193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12198 .PHONY: maybe-installcheck-perl installcheck-perl
12199 maybe-installcheck-perl:
12201 installcheck-perl: \
12203 @[ -f ./perl/Makefile ] || exit 0; \
12204 r=`${PWD_COMMAND}`; export r; \
12205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12207 for flag in $(EXTRA_HOST_FLAGS); do \
12208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12210 echo "Doing installcheck in perl" ; \
12212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12214 "RANLIB=$${RANLIB}" \
12215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12220 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
12221 maybe-mostlyclean-perl:
12224 @[ -f ./perl/Makefile ] || exit 0; \
12225 r=`${PWD_COMMAND}`; export r; \
12226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12228 for flag in $(EXTRA_HOST_FLAGS); do \
12229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12231 echo "Doing mostlyclean in perl" ; \
12233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12235 "RANLIB=$${RANLIB}" \
12236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12241 .PHONY: maybe-clean-perl clean-perl
12245 @[ -f ./perl/Makefile ] || exit 0; \
12246 r=`${PWD_COMMAND}`; export r; \
12247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12249 for flag in $(EXTRA_HOST_FLAGS); do \
12250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12252 echo "Doing clean in perl" ; \
12254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12256 "RANLIB=$${RANLIB}" \
12257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12262 .PHONY: maybe-distclean-perl distclean-perl
12263 maybe-distclean-perl:
12266 @[ -f ./perl/Makefile ] || exit 0; \
12267 r=`${PWD_COMMAND}`; export r; \
12268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12270 for flag in $(EXTRA_HOST_FLAGS); do \
12271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12273 echo "Doing distclean in perl" ; \
12275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12277 "RANLIB=$${RANLIB}" \
12278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12283 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
12284 maybe-maintainer-clean-perl:
12286 maintainer-clean-perl:
12287 @[ -f ./perl/Makefile ] || exit 0; \
12288 r=`${PWD_COMMAND}`; export r; \
12289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12291 for flag in $(EXTRA_HOST_FLAGS); do \
12292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12294 echo "Doing maintainer-clean in perl" ; \
12296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12298 "RANLIB=$${RANLIB}" \
12299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12300 maintainer-clean) \
12305 .PHONY: configure-prms maybe-configure-prms
12306 maybe-configure-prms:
12308 @test ! -f prms/Makefile || exit 0; \
12309 [ -d prms ] || mkdir prms; \
12310 r=`${PWD_COMMAND}`; export r; \
12311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12312 CC="$(CC)"; export CC; \
12313 CFLAGS="$(CFLAGS)"; export CFLAGS; \
12314 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
12315 CXX="$(CXX)"; export CXX; \
12316 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
12317 AR="$(AR)"; export AR; \
12318 AS="$(AS)"; export AS; \
12319 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
12320 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
12321 LD="$(LD)"; export LD; \
12322 NM="$(NM)"; export NM; \
12323 RANLIB="$(RANLIB)"; export RANLIB; \
12324 WINDRES="$(WINDRES)"; export WINDRES; \
12325 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
12326 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
12327 echo Configuring in prms; \
12328 cd prms || exit 1; \
12329 case $(srcdir) in \
12331 srcdiroption="--srcdir=."; \
12333 /* | [A-Za-z]:[\\/]*) \
12334 srcdiroption="--srcdir=$(srcdir)/prms"; \
12335 libsrcdir="$$s/prms";; \
12337 srcdiroption="--srcdir=../$(srcdir)/prms"; \
12338 libsrcdir="$$s/prms";; \
12340 $(SHELL) $${libsrcdir}/configure \
12341 $(HOST_CONFIGARGS) $${srcdiroption} \
12344 .PHONY: all-prms maybe-all-prms
12346 all-prms: configure-prms
12347 @r=`${PWD_COMMAND}`; export r; \
12348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12350 (cd prms && $(MAKE) $(FLAGS_TO_PASS) all)
12352 .PHONY: check-prms maybe-check-prms
12356 @r=`${PWD_COMMAND}`; export r; \
12357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12359 (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
12362 .PHONY: install-prms maybe-install-prms
12363 maybe-install-prms:
12365 install-prms: installdirs
12366 @r=`${PWD_COMMAND}`; export r; \
12367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12369 (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
12372 # Other targets (info, dvi, etc.)
12374 .PHONY: maybe-info-prms info-prms
12379 @[ -f ./prms/Makefile ] || exit 0; \
12380 r=`${PWD_COMMAND}`; export r; \
12381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12383 for flag in $(EXTRA_HOST_FLAGS); do \
12384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12386 echo "Doing info in prms" ; \
12388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12390 "RANLIB=$${RANLIB}" \
12391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12396 .PHONY: maybe-dvi-prms dvi-prms
12401 @[ -f ./prms/Makefile ] || exit 0; \
12402 r=`${PWD_COMMAND}`; export r; \
12403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12405 for flag in $(EXTRA_HOST_FLAGS); do \
12406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12408 echo "Doing dvi in prms" ; \
12410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12412 "RANLIB=$${RANLIB}" \
12413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12418 .PHONY: maybe-TAGS-prms TAGS-prms
12423 @[ -f ./prms/Makefile ] || exit 0; \
12424 r=`${PWD_COMMAND}`; export r; \
12425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12427 for flag in $(EXTRA_HOST_FLAGS); do \
12428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12430 echo "Doing TAGS in prms" ; \
12432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12434 "RANLIB=$${RANLIB}" \
12435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12440 .PHONY: maybe-install-info-prms install-info-prms
12441 maybe-install-info-prms:
12443 install-info-prms: \
12446 @[ -f ./prms/Makefile ] || exit 0; \
12447 r=`${PWD_COMMAND}`; export r; \
12448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12450 for flag in $(EXTRA_HOST_FLAGS); do \
12451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12453 echo "Doing install-info in prms" ; \
12455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12457 "RANLIB=$${RANLIB}" \
12458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12463 .PHONY: maybe-installcheck-prms installcheck-prms
12464 maybe-installcheck-prms:
12466 installcheck-prms: \
12468 @[ -f ./prms/Makefile ] || exit 0; \
12469 r=`${PWD_COMMAND}`; export r; \
12470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12472 for flag in $(EXTRA_HOST_FLAGS); do \
12473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12475 echo "Doing installcheck in prms" ; \
12477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12479 "RANLIB=$${RANLIB}" \
12480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12485 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
12486 maybe-mostlyclean-prms:
12489 @[ -f ./prms/Makefile ] || exit 0; \
12490 r=`${PWD_COMMAND}`; export r; \
12491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12493 for flag in $(EXTRA_HOST_FLAGS); do \
12494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12496 echo "Doing mostlyclean in prms" ; \
12498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12500 "RANLIB=$${RANLIB}" \
12501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12506 .PHONY: maybe-clean-prms clean-prms
12510 @[ -f ./prms/Makefile ] || exit 0; \
12511 r=`${PWD_COMMAND}`; export r; \
12512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12514 for flag in $(EXTRA_HOST_FLAGS); do \
12515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12517 echo "Doing clean in prms" ; \
12519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12521 "RANLIB=$${RANLIB}" \
12522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12527 .PHONY: maybe-distclean-prms distclean-prms
12528 maybe-distclean-prms:
12531 @[ -f ./prms/Makefile ] || exit 0; \
12532 r=`${PWD_COMMAND}`; export r; \
12533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12535 for flag in $(EXTRA_HOST_FLAGS); do \
12536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12538 echo "Doing distclean in prms" ; \
12540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12542 "RANLIB=$${RANLIB}" \
12543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12548 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
12549 maybe-maintainer-clean-prms:
12551 maintainer-clean-prms:
12552 @[ -f ./prms/Makefile ] || exit 0; \
12553 r=`${PWD_COMMAND}`; export r; \
12554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12556 for flag in $(EXTRA_HOST_FLAGS); do \
12557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12559 echo "Doing maintainer-clean in prms" ; \
12561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12563 "RANLIB=$${RANLIB}" \
12564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12565 maintainer-clean) \
12570 .PHONY: configure-rcs maybe-configure-rcs
12571 maybe-configure-rcs:
12573 @test ! -f rcs/Makefile || exit 0; \
12574 [ -d rcs ] || mkdir rcs; \
12575 r=`${PWD_COMMAND}`; export r; \
12576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12577 CC="$(CC)"; export CC; \
12578 CFLAGS="$(CFLAGS)"; export CFLAGS; \
12579 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
12580 CXX="$(CXX)"; export CXX; \
12581 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
12582 AR="$(AR)"; export AR; \
12583 AS="$(AS)"; export AS; \
12584 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
12585 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
12586 LD="$(LD)"; export LD; \
12587 NM="$(NM)"; export NM; \
12588 RANLIB="$(RANLIB)"; export RANLIB; \
12589 WINDRES="$(WINDRES)"; export WINDRES; \
12590 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
12591 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
12592 echo Configuring in rcs; \
12593 cd rcs || exit 1; \
12594 case $(srcdir) in \
12596 srcdiroption="--srcdir=."; \
12598 /* | [A-Za-z]:[\\/]*) \
12599 srcdiroption="--srcdir=$(srcdir)/rcs"; \
12600 libsrcdir="$$s/rcs";; \
12602 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
12603 libsrcdir="$$s/rcs";; \
12605 $(SHELL) $${libsrcdir}/configure \
12606 $(HOST_CONFIGARGS) $${srcdiroption} \
12609 .PHONY: all-rcs maybe-all-rcs
12611 all-rcs: configure-rcs
12612 @r=`${PWD_COMMAND}`; export r; \
12613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12615 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) all)
12617 .PHONY: check-rcs maybe-check-rcs
12621 @r=`${PWD_COMMAND}`; export r; \
12622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12624 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
12627 .PHONY: install-rcs maybe-install-rcs
12630 install-rcs: installdirs
12631 @r=`${PWD_COMMAND}`; export r; \
12632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12634 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
12637 # Other targets (info, dvi, etc.)
12639 .PHONY: maybe-info-rcs info-rcs
12644 @[ -f ./rcs/Makefile ] || exit 0; \
12645 r=`${PWD_COMMAND}`; export r; \
12646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12648 for flag in $(EXTRA_HOST_FLAGS); do \
12649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12651 echo "Doing info in rcs" ; \
12653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12655 "RANLIB=$${RANLIB}" \
12656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12661 .PHONY: maybe-dvi-rcs dvi-rcs
12666 @[ -f ./rcs/Makefile ] || exit 0; \
12667 r=`${PWD_COMMAND}`; export r; \
12668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12670 for flag in $(EXTRA_HOST_FLAGS); do \
12671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12673 echo "Doing dvi in rcs" ; \
12675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12677 "RANLIB=$${RANLIB}" \
12678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12683 .PHONY: maybe-TAGS-rcs TAGS-rcs
12688 @[ -f ./rcs/Makefile ] || exit 0; \
12689 r=`${PWD_COMMAND}`; export r; \
12690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12692 for flag in $(EXTRA_HOST_FLAGS); do \
12693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12695 echo "Doing TAGS in rcs" ; \
12697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12699 "RANLIB=$${RANLIB}" \
12700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12705 .PHONY: maybe-install-info-rcs install-info-rcs
12706 maybe-install-info-rcs:
12708 install-info-rcs: \
12711 @[ -f ./rcs/Makefile ] || exit 0; \
12712 r=`${PWD_COMMAND}`; export r; \
12713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12715 for flag in $(EXTRA_HOST_FLAGS); do \
12716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12718 echo "Doing install-info in rcs" ; \
12720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12722 "RANLIB=$${RANLIB}" \
12723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12728 .PHONY: maybe-installcheck-rcs installcheck-rcs
12729 maybe-installcheck-rcs:
12731 installcheck-rcs: \
12733 @[ -f ./rcs/Makefile ] || exit 0; \
12734 r=`${PWD_COMMAND}`; export r; \
12735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12737 for flag in $(EXTRA_HOST_FLAGS); do \
12738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12740 echo "Doing installcheck in rcs" ; \
12742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12744 "RANLIB=$${RANLIB}" \
12745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12750 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
12751 maybe-mostlyclean-rcs:
12754 @[ -f ./rcs/Makefile ] || exit 0; \
12755 r=`${PWD_COMMAND}`; export r; \
12756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12758 for flag in $(EXTRA_HOST_FLAGS); do \
12759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12761 echo "Doing mostlyclean in rcs" ; \
12763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12765 "RANLIB=$${RANLIB}" \
12766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12771 .PHONY: maybe-clean-rcs clean-rcs
12775 @[ -f ./rcs/Makefile ] || exit 0; \
12776 r=`${PWD_COMMAND}`; export r; \
12777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12779 for flag in $(EXTRA_HOST_FLAGS); do \
12780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12782 echo "Doing clean in rcs" ; \
12784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12786 "RANLIB=$${RANLIB}" \
12787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12792 .PHONY: maybe-distclean-rcs distclean-rcs
12793 maybe-distclean-rcs:
12796 @[ -f ./rcs/Makefile ] || exit 0; \
12797 r=`${PWD_COMMAND}`; export r; \
12798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12800 for flag in $(EXTRA_HOST_FLAGS); do \
12801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12803 echo "Doing distclean in rcs" ; \
12805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12807 "RANLIB=$${RANLIB}" \
12808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12813 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
12814 maybe-maintainer-clean-rcs:
12816 maintainer-clean-rcs:
12817 @[ -f ./rcs/Makefile ] || exit 0; \
12818 r=`${PWD_COMMAND}`; export r; \
12819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12821 for flag in $(EXTRA_HOST_FLAGS); do \
12822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12824 echo "Doing maintainer-clean in rcs" ; \
12826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12828 "RANLIB=$${RANLIB}" \
12829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12830 maintainer-clean) \
12835 .PHONY: configure-readline maybe-configure-readline
12836 maybe-configure-readline:
12837 configure-readline:
12838 @test ! -f readline/Makefile || exit 0; \
12839 [ -d readline ] || mkdir readline; \
12840 r=`${PWD_COMMAND}`; export r; \
12841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12842 CC="$(CC)"; export CC; \
12843 CFLAGS="$(CFLAGS)"; export CFLAGS; \
12844 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
12845 CXX="$(CXX)"; export CXX; \
12846 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
12847 AR="$(AR)"; export AR; \
12848 AS="$(AS)"; export AS; \
12849 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
12850 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
12851 LD="$(LD)"; export LD; \
12852 NM="$(NM)"; export NM; \
12853 RANLIB="$(RANLIB)"; export RANLIB; \
12854 WINDRES="$(WINDRES)"; export WINDRES; \
12855 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
12856 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
12857 echo Configuring in readline; \
12858 cd readline || exit 1; \
12859 case $(srcdir) in \
12861 srcdiroption="--srcdir=."; \
12863 /* | [A-Za-z]:[\\/]*) \
12864 srcdiroption="--srcdir=$(srcdir)/readline"; \
12865 libsrcdir="$$s/readline";; \
12867 srcdiroption="--srcdir=../$(srcdir)/readline"; \
12868 libsrcdir="$$s/readline";; \
12870 $(SHELL) $${libsrcdir}/configure \
12871 $(HOST_CONFIGARGS) $${srcdiroption} \
12874 .PHONY: all-readline maybe-all-readline
12875 maybe-all-readline:
12876 all-readline: configure-readline
12877 @r=`${PWD_COMMAND}`; export r; \
12878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12880 (cd readline && $(MAKE) $(FLAGS_TO_PASS) all)
12882 .PHONY: check-readline maybe-check-readline
12883 maybe-check-readline:
12886 @r=`${PWD_COMMAND}`; export r; \
12887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12889 (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
12892 .PHONY: install-readline maybe-install-readline
12893 maybe-install-readline:
12895 install-readline: installdirs
12896 @r=`${PWD_COMMAND}`; export r; \
12897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12899 (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
12902 # Other targets (info, dvi, etc.)
12904 .PHONY: maybe-info-readline info-readline
12905 maybe-info-readline:
12909 @[ -f ./readline/Makefile ] || exit 0; \
12910 r=`${PWD_COMMAND}`; export r; \
12911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12913 for flag in $(EXTRA_HOST_FLAGS); do \
12914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12916 echo "Doing info in readline" ; \
12918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12920 "RANLIB=$${RANLIB}" \
12921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12926 .PHONY: maybe-dvi-readline dvi-readline
12927 maybe-dvi-readline:
12931 @[ -f ./readline/Makefile ] || exit 0; \
12932 r=`${PWD_COMMAND}`; export r; \
12933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12935 for flag in $(EXTRA_HOST_FLAGS); do \
12936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12938 echo "Doing dvi in readline" ; \
12940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12942 "RANLIB=$${RANLIB}" \
12943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12948 .PHONY: maybe-TAGS-readline TAGS-readline
12949 maybe-TAGS-readline:
12953 @[ -f ./readline/Makefile ] || exit 0; \
12954 r=`${PWD_COMMAND}`; export r; \
12955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12957 for flag in $(EXTRA_HOST_FLAGS); do \
12958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12960 echo "Doing TAGS in readline" ; \
12962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12964 "RANLIB=$${RANLIB}" \
12965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12970 .PHONY: maybe-install-info-readline install-info-readline
12971 maybe-install-info-readline:
12973 install-info-readline: \
12974 configure-readline \
12976 @[ -f ./readline/Makefile ] || exit 0; \
12977 r=`${PWD_COMMAND}`; export r; \
12978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12980 for flag in $(EXTRA_HOST_FLAGS); do \
12981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12983 echo "Doing install-info in readline" ; \
12985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12987 "RANLIB=$${RANLIB}" \
12988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12993 .PHONY: maybe-installcheck-readline installcheck-readline
12994 maybe-installcheck-readline:
12996 installcheck-readline: \
12998 @[ -f ./readline/Makefile ] || exit 0; \
12999 r=`${PWD_COMMAND}`; export r; \
13000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13002 for flag in $(EXTRA_HOST_FLAGS); do \
13003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13005 echo "Doing installcheck in readline" ; \
13007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13009 "RANLIB=$${RANLIB}" \
13010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13015 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
13016 maybe-mostlyclean-readline:
13018 mostlyclean-readline:
13019 @[ -f ./readline/Makefile ] || exit 0; \
13020 r=`${PWD_COMMAND}`; export r; \
13021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13023 for flag in $(EXTRA_HOST_FLAGS); do \
13024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13026 echo "Doing mostlyclean in readline" ; \
13028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13030 "RANLIB=$${RANLIB}" \
13031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13036 .PHONY: maybe-clean-readline clean-readline
13037 maybe-clean-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 clean 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-distclean-readline distclean-readline
13058 maybe-distclean-readline:
13060 distclean-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 distclean 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-maintainer-clean-readline maintainer-clean-readline
13079 maybe-maintainer-clean-readline:
13081 maintainer-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 maintainer-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}" \
13095 maintainer-clean) \
13100 .PHONY: configure-release maybe-configure-release
13101 maybe-configure-release:
13103 @test ! -f release/Makefile || exit 0; \
13104 [ -d release ] || mkdir release; \
13105 r=`${PWD_COMMAND}`; export r; \
13106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13107 CC="$(CC)"; export CC; \
13108 CFLAGS="$(CFLAGS)"; export CFLAGS; \
13109 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
13110 CXX="$(CXX)"; export CXX; \
13111 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
13112 AR="$(AR)"; export AR; \
13113 AS="$(AS)"; export AS; \
13114 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
13115 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
13116 LD="$(LD)"; export LD; \
13117 NM="$(NM)"; export NM; \
13118 RANLIB="$(RANLIB)"; export RANLIB; \
13119 WINDRES="$(WINDRES)"; export WINDRES; \
13120 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
13121 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
13122 echo Configuring in release; \
13123 cd release || exit 1; \
13124 case $(srcdir) in \
13126 srcdiroption="--srcdir=."; \
13128 /* | [A-Za-z]:[\\/]*) \
13129 srcdiroption="--srcdir=$(srcdir)/release"; \
13130 libsrcdir="$$s/release";; \
13132 srcdiroption="--srcdir=../$(srcdir)/release"; \
13133 libsrcdir="$$s/release";; \
13135 $(SHELL) $${libsrcdir}/configure \
13136 $(HOST_CONFIGARGS) $${srcdiroption} \
13139 .PHONY: all-release maybe-all-release
13141 all-release: configure-release
13142 @r=`${PWD_COMMAND}`; export r; \
13143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13145 (cd release && $(MAKE) $(FLAGS_TO_PASS) all)
13147 .PHONY: check-release maybe-check-release
13148 maybe-check-release:
13153 .PHONY: install-release maybe-install-release
13154 maybe-install-release:
13159 # Other targets (info, dvi, etc.)
13161 .PHONY: maybe-info-release info-release
13162 maybe-info-release:
13166 @[ -f ./release/Makefile ] || exit 0; \
13167 r=`${PWD_COMMAND}`; export r; \
13168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13170 for flag in $(EXTRA_HOST_FLAGS); do \
13171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13173 echo "Doing info in release" ; \
13175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13177 "RANLIB=$${RANLIB}" \
13178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13183 .PHONY: maybe-dvi-release dvi-release
13188 @[ -f ./release/Makefile ] || exit 0; \
13189 r=`${PWD_COMMAND}`; export r; \
13190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13192 for flag in $(EXTRA_HOST_FLAGS); do \
13193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13195 echo "Doing dvi in release" ; \
13197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13199 "RANLIB=$${RANLIB}" \
13200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13205 .PHONY: maybe-TAGS-release TAGS-release
13206 maybe-TAGS-release:
13210 @[ -f ./release/Makefile ] || exit 0; \
13211 r=`${PWD_COMMAND}`; export r; \
13212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13214 for flag in $(EXTRA_HOST_FLAGS); do \
13215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13217 echo "Doing TAGS in release" ; \
13219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13221 "RANLIB=$${RANLIB}" \
13222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13227 .PHONY: maybe-install-info-release install-info-release
13228 maybe-install-info-release:
13230 install-info-release: \
13231 configure-release \
13233 @[ -f ./release/Makefile ] || exit 0; \
13234 r=`${PWD_COMMAND}`; export r; \
13235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13237 for flag in $(EXTRA_HOST_FLAGS); do \
13238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13240 echo "Doing install-info in release" ; \
13242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13244 "RANLIB=$${RANLIB}" \
13245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13250 .PHONY: maybe-installcheck-release installcheck-release
13251 maybe-installcheck-release:
13253 installcheck-release: \
13255 @[ -f ./release/Makefile ] || exit 0; \
13256 r=`${PWD_COMMAND}`; export r; \
13257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13259 for flag in $(EXTRA_HOST_FLAGS); do \
13260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13262 echo "Doing installcheck in release" ; \
13264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13266 "RANLIB=$${RANLIB}" \
13267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13272 .PHONY: maybe-mostlyclean-release mostlyclean-release
13273 maybe-mostlyclean-release:
13275 mostlyclean-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 mostlyclean 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-clean-release clean-release
13294 maybe-clean-release:
13297 @[ -f ./release/Makefile ] || exit 0; \
13298 r=`${PWD_COMMAND}`; export r; \
13299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13301 for flag in $(EXTRA_HOST_FLAGS); do \
13302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13304 echo "Doing clean in release" ; \
13306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13308 "RANLIB=$${RANLIB}" \
13309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13314 .PHONY: maybe-distclean-release distclean-release
13315 maybe-distclean-release:
13318 @[ -f ./release/Makefile ] || exit 0; \
13319 r=`${PWD_COMMAND}`; export r; \
13320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13322 for flag in $(EXTRA_HOST_FLAGS); do \
13323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13325 echo "Doing distclean in release" ; \
13327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13329 "RANLIB=$${RANLIB}" \
13330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13335 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
13336 maybe-maintainer-clean-release:
13338 maintainer-clean-release:
13339 @[ -f ./release/Makefile ] || exit 0; \
13340 r=`${PWD_COMMAND}`; export r; \
13341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13343 for flag in $(EXTRA_HOST_FLAGS); do \
13344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13346 echo "Doing maintainer-clean in release" ; \
13348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13350 "RANLIB=$${RANLIB}" \
13351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13352 maintainer-clean) \
13357 .PHONY: configure-recode maybe-configure-recode
13358 maybe-configure-recode:
13360 @test ! -f recode/Makefile || exit 0; \
13361 [ -d recode ] || mkdir recode; \
13362 r=`${PWD_COMMAND}`; export r; \
13363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13364 CC="$(CC)"; export CC; \
13365 CFLAGS="$(CFLAGS)"; export CFLAGS; \
13366 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
13367 CXX="$(CXX)"; export CXX; \
13368 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
13369 AR="$(AR)"; export AR; \
13370 AS="$(AS)"; export AS; \
13371 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
13372 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
13373 LD="$(LD)"; export LD; \
13374 NM="$(NM)"; export NM; \
13375 RANLIB="$(RANLIB)"; export RANLIB; \
13376 WINDRES="$(WINDRES)"; export WINDRES; \
13377 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
13378 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
13379 echo Configuring in recode; \
13380 cd recode || exit 1; \
13381 case $(srcdir) in \
13383 srcdiroption="--srcdir=."; \
13385 /* | [A-Za-z]:[\\/]*) \
13386 srcdiroption="--srcdir=$(srcdir)/recode"; \
13387 libsrcdir="$$s/recode";; \
13389 srcdiroption="--srcdir=../$(srcdir)/recode"; \
13390 libsrcdir="$$s/recode";; \
13392 $(SHELL) $${libsrcdir}/configure \
13393 $(HOST_CONFIGARGS) $${srcdiroption} \
13396 .PHONY: all-recode maybe-all-recode
13398 all-recode: configure-recode
13399 @r=`${PWD_COMMAND}`; export r; \
13400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13402 (cd recode && $(MAKE) $(FLAGS_TO_PASS) all)
13404 .PHONY: check-recode maybe-check-recode
13405 maybe-check-recode:
13408 @r=`${PWD_COMMAND}`; export r; \
13409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13411 (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
13414 .PHONY: install-recode maybe-install-recode
13415 maybe-install-recode:
13417 install-recode: installdirs
13418 @r=`${PWD_COMMAND}`; export r; \
13419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13421 (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
13424 # Other targets (info, dvi, etc.)
13426 .PHONY: maybe-info-recode info-recode
13431 @[ -f ./recode/Makefile ] || exit 0; \
13432 r=`${PWD_COMMAND}`; export r; \
13433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13435 for flag in $(EXTRA_HOST_FLAGS); do \
13436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13438 echo "Doing info in recode" ; \
13440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13442 "RANLIB=$${RANLIB}" \
13443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13448 .PHONY: maybe-dvi-recode dvi-recode
13453 @[ -f ./recode/Makefile ] || exit 0; \
13454 r=`${PWD_COMMAND}`; export r; \
13455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13457 for flag in $(EXTRA_HOST_FLAGS); do \
13458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13460 echo "Doing dvi in recode" ; \
13462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13464 "RANLIB=$${RANLIB}" \
13465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13470 .PHONY: maybe-TAGS-recode TAGS-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 TAGS 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-install-info-recode install-info-recode
13493 maybe-install-info-recode:
13495 install-info-recode: \
13498 @[ -f ./recode/Makefile ] || exit 0; \
13499 r=`${PWD_COMMAND}`; export r; \
13500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13502 for flag in $(EXTRA_HOST_FLAGS); do \
13503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13505 echo "Doing install-info in recode" ; \
13507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13509 "RANLIB=$${RANLIB}" \
13510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13515 .PHONY: maybe-installcheck-recode installcheck-recode
13516 maybe-installcheck-recode:
13518 installcheck-recode: \
13520 @[ -f ./recode/Makefile ] || exit 0; \
13521 r=`${PWD_COMMAND}`; export r; \
13522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13524 for flag in $(EXTRA_HOST_FLAGS); do \
13525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13527 echo "Doing installcheck in recode" ; \
13529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13531 "RANLIB=$${RANLIB}" \
13532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13537 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
13538 maybe-mostlyclean-recode:
13540 mostlyclean-recode:
13541 @[ -f ./recode/Makefile ] || exit 0; \
13542 r=`${PWD_COMMAND}`; export r; \
13543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13545 for flag in $(EXTRA_HOST_FLAGS); do \
13546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13548 echo "Doing mostlyclean in recode" ; \
13550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13552 "RANLIB=$${RANLIB}" \
13553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13558 .PHONY: maybe-clean-recode clean-recode
13559 maybe-clean-recode:
13562 @[ -f ./recode/Makefile ] || exit 0; \
13563 r=`${PWD_COMMAND}`; export r; \
13564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13566 for flag in $(EXTRA_HOST_FLAGS); do \
13567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13569 echo "Doing clean in recode" ; \
13571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13573 "RANLIB=$${RANLIB}" \
13574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13579 .PHONY: maybe-distclean-recode distclean-recode
13580 maybe-distclean-recode:
13583 @[ -f ./recode/Makefile ] || exit 0; \
13584 r=`${PWD_COMMAND}`; export r; \
13585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13587 for flag in $(EXTRA_HOST_FLAGS); do \
13588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13590 echo "Doing distclean in recode" ; \
13592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13594 "RANLIB=$${RANLIB}" \
13595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13600 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
13601 maybe-maintainer-clean-recode:
13603 maintainer-clean-recode:
13604 @[ -f ./recode/Makefile ] || exit 0; \
13605 r=`${PWD_COMMAND}`; export r; \
13606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13608 for flag in $(EXTRA_HOST_FLAGS); do \
13609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13611 echo "Doing maintainer-clean in recode" ; \
13613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13615 "RANLIB=$${RANLIB}" \
13616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13617 maintainer-clean) \
13622 .PHONY: configure-sed maybe-configure-sed
13623 maybe-configure-sed:
13625 @test ! -f sed/Makefile || exit 0; \
13626 [ -d sed ] || mkdir sed; \
13627 r=`${PWD_COMMAND}`; export r; \
13628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13629 CC="$(CC)"; export CC; \
13630 CFLAGS="$(CFLAGS)"; export CFLAGS; \
13631 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
13632 CXX="$(CXX)"; export CXX; \
13633 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
13634 AR="$(AR)"; export AR; \
13635 AS="$(AS)"; export AS; \
13636 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
13637 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
13638 LD="$(LD)"; export LD; \
13639 NM="$(NM)"; export NM; \
13640 RANLIB="$(RANLIB)"; export RANLIB; \
13641 WINDRES="$(WINDRES)"; export WINDRES; \
13642 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
13643 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
13644 echo Configuring in sed; \
13645 cd sed || exit 1; \
13646 case $(srcdir) in \
13648 srcdiroption="--srcdir=."; \
13650 /* | [A-Za-z]:[\\/]*) \
13651 srcdiroption="--srcdir=$(srcdir)/sed"; \
13652 libsrcdir="$$s/sed";; \
13654 srcdiroption="--srcdir=../$(srcdir)/sed"; \
13655 libsrcdir="$$s/sed";; \
13657 $(SHELL) $${libsrcdir}/configure \
13658 $(HOST_CONFIGARGS) $${srcdiroption} \
13661 .PHONY: all-sed maybe-all-sed
13663 all-sed: configure-sed
13664 @r=`${PWD_COMMAND}`; export r; \
13665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13667 (cd sed && $(MAKE) $(FLAGS_TO_PASS) all)
13669 .PHONY: check-sed maybe-check-sed
13673 @r=`${PWD_COMMAND}`; export r; \
13674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13676 (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
13679 .PHONY: install-sed maybe-install-sed
13682 install-sed: installdirs
13683 @r=`${PWD_COMMAND}`; export r; \
13684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13686 (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
13689 # Other targets (info, dvi, etc.)
13691 .PHONY: maybe-info-sed info-sed
13696 @[ -f ./sed/Makefile ] || exit 0; \
13697 r=`${PWD_COMMAND}`; export r; \
13698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13700 for flag in $(EXTRA_HOST_FLAGS); do \
13701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13703 echo "Doing info in sed" ; \
13705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13707 "RANLIB=$${RANLIB}" \
13708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13713 .PHONY: maybe-dvi-sed dvi-sed
13718 @[ -f ./sed/Makefile ] || exit 0; \
13719 r=`${PWD_COMMAND}`; export r; \
13720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13722 for flag in $(EXTRA_HOST_FLAGS); do \
13723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13725 echo "Doing dvi in sed" ; \
13727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13729 "RANLIB=$${RANLIB}" \
13730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13735 .PHONY: maybe-TAGS-sed TAGS-sed
13740 @[ -f ./sed/Makefile ] || exit 0; \
13741 r=`${PWD_COMMAND}`; export r; \
13742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13744 for flag in $(EXTRA_HOST_FLAGS); do \
13745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13747 echo "Doing TAGS in sed" ; \
13749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13751 "RANLIB=$${RANLIB}" \
13752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13757 .PHONY: maybe-install-info-sed install-info-sed
13758 maybe-install-info-sed:
13760 install-info-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 install-info 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-installcheck-sed installcheck-sed
13781 maybe-installcheck-sed:
13783 installcheck-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 installcheck 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-mostlyclean-sed mostlyclean-sed
13803 maybe-mostlyclean-sed:
13806 @[ -f ./sed/Makefile ] || exit 0; \
13807 r=`${PWD_COMMAND}`; export r; \
13808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13810 for flag in $(EXTRA_HOST_FLAGS); do \
13811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13813 echo "Doing mostlyclean in sed" ; \
13815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13817 "RANLIB=$${RANLIB}" \
13818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13823 .PHONY: maybe-clean-sed clean-sed
13827 @[ -f ./sed/Makefile ] || exit 0; \
13828 r=`${PWD_COMMAND}`; export r; \
13829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13831 for flag in $(EXTRA_HOST_FLAGS); do \
13832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13834 echo "Doing clean in sed" ; \
13836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13838 "RANLIB=$${RANLIB}" \
13839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13844 .PHONY: maybe-distclean-sed distclean-sed
13845 maybe-distclean-sed:
13848 @[ -f ./sed/Makefile ] || exit 0; \
13849 r=`${PWD_COMMAND}`; export r; \
13850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13852 for flag in $(EXTRA_HOST_FLAGS); do \
13853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13855 echo "Doing distclean in sed" ; \
13857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13859 "RANLIB=$${RANLIB}" \
13860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13865 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
13866 maybe-maintainer-clean-sed:
13868 maintainer-clean-sed:
13869 @[ -f ./sed/Makefile ] || exit 0; \
13870 r=`${PWD_COMMAND}`; export r; \
13871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13873 for flag in $(EXTRA_HOST_FLAGS); do \
13874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13876 echo "Doing maintainer-clean in sed" ; \
13878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13880 "RANLIB=$${RANLIB}" \
13881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13882 maintainer-clean) \
13887 .PHONY: configure-send-pr maybe-configure-send-pr
13888 maybe-configure-send-pr:
13890 @test ! -f send-pr/Makefile || exit 0; \
13891 [ -d send-pr ] || mkdir send-pr; \
13892 r=`${PWD_COMMAND}`; export r; \
13893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13894 CC="$(CC)"; export CC; \
13895 CFLAGS="$(CFLAGS)"; export CFLAGS; \
13896 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
13897 CXX="$(CXX)"; export CXX; \
13898 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
13899 AR="$(AR)"; export AR; \
13900 AS="$(AS)"; export AS; \
13901 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
13902 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
13903 LD="$(LD)"; export LD; \
13904 NM="$(NM)"; export NM; \
13905 RANLIB="$(RANLIB)"; export RANLIB; \
13906 WINDRES="$(WINDRES)"; export WINDRES; \
13907 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
13908 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
13909 echo Configuring in send-pr; \
13910 cd send-pr || exit 1; \
13911 case $(srcdir) in \
13913 srcdiroption="--srcdir=."; \
13915 /* | [A-Za-z]:[\\/]*) \
13916 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
13917 libsrcdir="$$s/send-pr";; \
13919 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
13920 libsrcdir="$$s/send-pr";; \
13922 $(SHELL) $${libsrcdir}/configure \
13923 $(HOST_CONFIGARGS) $${srcdiroption} \
13926 .PHONY: all-send-pr maybe-all-send-pr
13928 all-send-pr: configure-send-pr
13929 @r=`${PWD_COMMAND}`; export r; \
13930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13932 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) all)
13934 .PHONY: check-send-pr maybe-check-send-pr
13935 maybe-check-send-pr:
13938 @r=`${PWD_COMMAND}`; export r; \
13939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13941 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
13944 .PHONY: install-send-pr maybe-install-send-pr
13945 maybe-install-send-pr:
13947 install-send-pr: installdirs
13948 @r=`${PWD_COMMAND}`; export r; \
13949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13951 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
13954 # Other targets (info, dvi, etc.)
13956 .PHONY: maybe-info-send-pr info-send-pr
13957 maybe-info-send-pr:
13961 @[ -f ./send-pr/Makefile ] || exit 0; \
13962 r=`${PWD_COMMAND}`; export r; \
13963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13965 for flag in $(EXTRA_HOST_FLAGS); do \
13966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13968 echo "Doing info in send-pr" ; \
13970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13972 "RANLIB=$${RANLIB}" \
13973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13978 .PHONY: maybe-dvi-send-pr dvi-send-pr
13983 @[ -f ./send-pr/Makefile ] || exit 0; \
13984 r=`${PWD_COMMAND}`; export r; \
13985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13987 for flag in $(EXTRA_HOST_FLAGS); do \
13988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13990 echo "Doing dvi in send-pr" ; \
13992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13994 "RANLIB=$${RANLIB}" \
13995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14000 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
14001 maybe-TAGS-send-pr:
14005 @[ -f ./send-pr/Makefile ] || exit 0; \
14006 r=`${PWD_COMMAND}`; export r; \
14007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14009 for flag in $(EXTRA_HOST_FLAGS); do \
14010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14012 echo "Doing TAGS in send-pr" ; \
14014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14016 "RANLIB=$${RANLIB}" \
14017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14022 .PHONY: maybe-install-info-send-pr install-info-send-pr
14023 maybe-install-info-send-pr:
14025 install-info-send-pr: \
14026 configure-send-pr \
14028 @[ -f ./send-pr/Makefile ] || exit 0; \
14029 r=`${PWD_COMMAND}`; export r; \
14030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14032 for flag in $(EXTRA_HOST_FLAGS); do \
14033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14035 echo "Doing install-info in send-pr" ; \
14037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14039 "RANLIB=$${RANLIB}" \
14040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14045 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
14046 maybe-installcheck-send-pr:
14048 installcheck-send-pr: \
14050 @[ -f ./send-pr/Makefile ] || exit 0; \
14051 r=`${PWD_COMMAND}`; export r; \
14052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14054 for flag in $(EXTRA_HOST_FLAGS); do \
14055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14057 echo "Doing installcheck in send-pr" ; \
14059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14061 "RANLIB=$${RANLIB}" \
14062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14067 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
14068 maybe-mostlyclean-send-pr:
14070 mostlyclean-send-pr:
14071 @[ -f ./send-pr/Makefile ] || exit 0; \
14072 r=`${PWD_COMMAND}`; export r; \
14073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14075 for flag in $(EXTRA_HOST_FLAGS); do \
14076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14078 echo "Doing mostlyclean in send-pr" ; \
14080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14082 "RANLIB=$${RANLIB}" \
14083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14088 .PHONY: maybe-clean-send-pr clean-send-pr
14089 maybe-clean-send-pr:
14092 @[ -f ./send-pr/Makefile ] || exit 0; \
14093 r=`${PWD_COMMAND}`; export r; \
14094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14096 for flag in $(EXTRA_HOST_FLAGS); do \
14097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14099 echo "Doing clean in send-pr" ; \
14101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14103 "RANLIB=$${RANLIB}" \
14104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14109 .PHONY: maybe-distclean-send-pr distclean-send-pr
14110 maybe-distclean-send-pr:
14113 @[ -f ./send-pr/Makefile ] || exit 0; \
14114 r=`${PWD_COMMAND}`; export r; \
14115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14117 for flag in $(EXTRA_HOST_FLAGS); do \
14118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14120 echo "Doing distclean in send-pr" ; \
14122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14124 "RANLIB=$${RANLIB}" \
14125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14130 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
14131 maybe-maintainer-clean-send-pr:
14133 maintainer-clean-send-pr:
14134 @[ -f ./send-pr/Makefile ] || exit 0; \
14135 r=`${PWD_COMMAND}`; export r; \
14136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14138 for flag in $(EXTRA_HOST_FLAGS); do \
14139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14141 echo "Doing maintainer-clean in send-pr" ; \
14143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14145 "RANLIB=$${RANLIB}" \
14146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14147 maintainer-clean) \
14152 .PHONY: configure-shellutils maybe-configure-shellutils
14153 maybe-configure-shellutils:
14154 configure-shellutils:
14155 @test ! -f shellutils/Makefile || exit 0; \
14156 [ -d shellutils ] || mkdir shellutils; \
14157 r=`${PWD_COMMAND}`; export r; \
14158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14159 CC="$(CC)"; export CC; \
14160 CFLAGS="$(CFLAGS)"; export CFLAGS; \
14161 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
14162 CXX="$(CXX)"; export CXX; \
14163 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
14164 AR="$(AR)"; export AR; \
14165 AS="$(AS)"; export AS; \
14166 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
14167 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
14168 LD="$(LD)"; export LD; \
14169 NM="$(NM)"; export NM; \
14170 RANLIB="$(RANLIB)"; export RANLIB; \
14171 WINDRES="$(WINDRES)"; export WINDRES; \
14172 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
14173 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
14174 echo Configuring in shellutils; \
14175 cd shellutils || exit 1; \
14176 case $(srcdir) in \
14178 srcdiroption="--srcdir=."; \
14180 /* | [A-Za-z]:[\\/]*) \
14181 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
14182 libsrcdir="$$s/shellutils";; \
14184 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
14185 libsrcdir="$$s/shellutils";; \
14187 $(SHELL) $${libsrcdir}/configure \
14188 $(HOST_CONFIGARGS) $${srcdiroption} \
14191 .PHONY: all-shellutils maybe-all-shellutils
14192 maybe-all-shellutils:
14193 all-shellutils: configure-shellutils
14194 @r=`${PWD_COMMAND}`; export r; \
14195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14197 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) all)
14199 .PHONY: check-shellutils maybe-check-shellutils
14200 maybe-check-shellutils:
14203 @r=`${PWD_COMMAND}`; export r; \
14204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14206 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
14209 .PHONY: install-shellutils maybe-install-shellutils
14210 maybe-install-shellutils:
14212 install-shellutils: installdirs
14213 @r=`${PWD_COMMAND}`; export r; \
14214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14216 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
14219 # Other targets (info, dvi, etc.)
14221 .PHONY: maybe-info-shellutils info-shellutils
14222 maybe-info-shellutils:
14225 configure-shellutils
14226 @[ -f ./shellutils/Makefile ] || exit 0; \
14227 r=`${PWD_COMMAND}`; export r; \
14228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14230 for flag in $(EXTRA_HOST_FLAGS); do \
14231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14233 echo "Doing info in shellutils" ; \
14234 (cd shellutils && \
14235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14237 "RANLIB=$${RANLIB}" \
14238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14243 .PHONY: maybe-dvi-shellutils dvi-shellutils
14244 maybe-dvi-shellutils:
14247 configure-shellutils
14248 @[ -f ./shellutils/Makefile ] || exit 0; \
14249 r=`${PWD_COMMAND}`; export r; \
14250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14252 for flag in $(EXTRA_HOST_FLAGS); do \
14253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14255 echo "Doing dvi in shellutils" ; \
14256 (cd shellutils && \
14257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14259 "RANLIB=$${RANLIB}" \
14260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14265 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
14266 maybe-TAGS-shellutils:
14269 configure-shellutils
14270 @[ -f ./shellutils/Makefile ] || exit 0; \
14271 r=`${PWD_COMMAND}`; export r; \
14272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14274 for flag in $(EXTRA_HOST_FLAGS); do \
14275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14277 echo "Doing TAGS in shellutils" ; \
14278 (cd shellutils && \
14279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14281 "RANLIB=$${RANLIB}" \
14282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14287 .PHONY: maybe-install-info-shellutils install-info-shellutils
14288 maybe-install-info-shellutils:
14290 install-info-shellutils: \
14291 configure-shellutils \
14293 @[ -f ./shellutils/Makefile ] || exit 0; \
14294 r=`${PWD_COMMAND}`; export r; \
14295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14297 for flag in $(EXTRA_HOST_FLAGS); do \
14298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14300 echo "Doing install-info in shellutils" ; \
14301 (cd shellutils && \
14302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14304 "RANLIB=$${RANLIB}" \
14305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14310 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
14311 maybe-installcheck-shellutils:
14313 installcheck-shellutils: \
14314 configure-shellutils
14315 @[ -f ./shellutils/Makefile ] || exit 0; \
14316 r=`${PWD_COMMAND}`; export r; \
14317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14319 for flag in $(EXTRA_HOST_FLAGS); do \
14320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14322 echo "Doing installcheck in shellutils" ; \
14323 (cd shellutils && \
14324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14326 "RANLIB=$${RANLIB}" \
14327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14332 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
14333 maybe-mostlyclean-shellutils:
14335 mostlyclean-shellutils:
14336 @[ -f ./shellutils/Makefile ] || exit 0; \
14337 r=`${PWD_COMMAND}`; export r; \
14338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14340 for flag in $(EXTRA_HOST_FLAGS); do \
14341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14343 echo "Doing mostlyclean in shellutils" ; \
14344 (cd shellutils && \
14345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14347 "RANLIB=$${RANLIB}" \
14348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14353 .PHONY: maybe-clean-shellutils clean-shellutils
14354 maybe-clean-shellutils:
14357 @[ -f ./shellutils/Makefile ] || exit 0; \
14358 r=`${PWD_COMMAND}`; export r; \
14359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14361 for flag in $(EXTRA_HOST_FLAGS); do \
14362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14364 echo "Doing clean in shellutils" ; \
14365 (cd shellutils && \
14366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14368 "RANLIB=$${RANLIB}" \
14369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14374 .PHONY: maybe-distclean-shellutils distclean-shellutils
14375 maybe-distclean-shellutils:
14377 distclean-shellutils:
14378 @[ -f ./shellutils/Makefile ] || exit 0; \
14379 r=`${PWD_COMMAND}`; export r; \
14380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14382 for flag in $(EXTRA_HOST_FLAGS); do \
14383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14385 echo "Doing distclean in shellutils" ; \
14386 (cd shellutils && \
14387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14389 "RANLIB=$${RANLIB}" \
14390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14395 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
14396 maybe-maintainer-clean-shellutils:
14398 maintainer-clean-shellutils:
14399 @[ -f ./shellutils/Makefile ] || exit 0; \
14400 r=`${PWD_COMMAND}`; export r; \
14401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14403 for flag in $(EXTRA_HOST_FLAGS); do \
14404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14406 echo "Doing maintainer-clean in shellutils" ; \
14407 (cd shellutils && \
14408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14410 "RANLIB=$${RANLIB}" \
14411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14412 maintainer-clean) \
14417 .PHONY: configure-sid maybe-configure-sid
14418 maybe-configure-sid:
14420 @test ! -f sid/Makefile || exit 0; \
14421 [ -d sid ] || mkdir sid; \
14422 r=`${PWD_COMMAND}`; export r; \
14423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14424 CC="$(CC)"; export CC; \
14425 CFLAGS="$(CFLAGS)"; export CFLAGS; \
14426 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
14427 CXX="$(CXX)"; export CXX; \
14428 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
14429 AR="$(AR)"; export AR; \
14430 AS="$(AS)"; export AS; \
14431 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
14432 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
14433 LD="$(LD)"; export LD; \
14434 NM="$(NM)"; export NM; \
14435 RANLIB="$(RANLIB)"; export RANLIB; \
14436 WINDRES="$(WINDRES)"; export WINDRES; \
14437 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
14438 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
14439 echo Configuring in sid; \
14440 cd sid || exit 1; \
14441 case $(srcdir) in \
14443 srcdiroption="--srcdir=."; \
14445 /* | [A-Za-z]:[\\/]*) \
14446 srcdiroption="--srcdir=$(srcdir)/sid"; \
14447 libsrcdir="$$s/sid";; \
14449 srcdiroption="--srcdir=../$(srcdir)/sid"; \
14450 libsrcdir="$$s/sid";; \
14452 $(SHELL) $${libsrcdir}/configure \
14453 $(HOST_CONFIGARGS) $${srcdiroption} \
14456 .PHONY: all-sid maybe-all-sid
14458 all-sid: configure-sid
14459 @r=`${PWD_COMMAND}`; export r; \
14460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14462 (cd sid && $(MAKE) $(FLAGS_TO_PASS) all)
14464 .PHONY: check-sid maybe-check-sid
14468 @r=`${PWD_COMMAND}`; export r; \
14469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14471 (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
14474 .PHONY: install-sid maybe-install-sid
14477 install-sid: installdirs
14478 @r=`${PWD_COMMAND}`; export r; \
14479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14481 (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
14484 # Other targets (info, dvi, etc.)
14486 .PHONY: maybe-info-sid info-sid
14491 @[ -f ./sid/Makefile ] || exit 0; \
14492 r=`${PWD_COMMAND}`; export r; \
14493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14495 for flag in $(EXTRA_HOST_FLAGS); do \
14496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14498 echo "Doing info in sid" ; \
14500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14502 "RANLIB=$${RANLIB}" \
14503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14508 .PHONY: maybe-dvi-sid dvi-sid
14513 @[ -f ./sid/Makefile ] || exit 0; \
14514 r=`${PWD_COMMAND}`; export r; \
14515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14517 for flag in $(EXTRA_HOST_FLAGS); do \
14518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14520 echo "Doing dvi in sid" ; \
14522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14524 "RANLIB=$${RANLIB}" \
14525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14530 .PHONY: maybe-TAGS-sid TAGS-sid
14535 @[ -f ./sid/Makefile ] || exit 0; \
14536 r=`${PWD_COMMAND}`; export r; \
14537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14539 for flag in $(EXTRA_HOST_FLAGS); do \
14540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14542 echo "Doing TAGS in sid" ; \
14544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14546 "RANLIB=$${RANLIB}" \
14547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14552 .PHONY: maybe-install-info-sid install-info-sid
14553 maybe-install-info-sid:
14555 install-info-sid: \
14558 @[ -f ./sid/Makefile ] || exit 0; \
14559 r=`${PWD_COMMAND}`; export r; \
14560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14562 for flag in $(EXTRA_HOST_FLAGS); do \
14563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14565 echo "Doing install-info in sid" ; \
14567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14569 "RANLIB=$${RANLIB}" \
14570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14575 .PHONY: maybe-installcheck-sid installcheck-sid
14576 maybe-installcheck-sid:
14578 installcheck-sid: \
14580 @[ -f ./sid/Makefile ] || exit 0; \
14581 r=`${PWD_COMMAND}`; export r; \
14582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14584 for flag in $(EXTRA_HOST_FLAGS); do \
14585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14587 echo "Doing installcheck in sid" ; \
14589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14591 "RANLIB=$${RANLIB}" \
14592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14597 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
14598 maybe-mostlyclean-sid:
14601 @[ -f ./sid/Makefile ] || exit 0; \
14602 r=`${PWD_COMMAND}`; export r; \
14603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14605 for flag in $(EXTRA_HOST_FLAGS); do \
14606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14608 echo "Doing mostlyclean in sid" ; \
14610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14612 "RANLIB=$${RANLIB}" \
14613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14618 .PHONY: maybe-clean-sid clean-sid
14622 @[ -f ./sid/Makefile ] || exit 0; \
14623 r=`${PWD_COMMAND}`; export r; \
14624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14626 for flag in $(EXTRA_HOST_FLAGS); do \
14627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14629 echo "Doing clean in sid" ; \
14631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14633 "RANLIB=$${RANLIB}" \
14634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14639 .PHONY: maybe-distclean-sid distclean-sid
14640 maybe-distclean-sid:
14643 @[ -f ./sid/Makefile ] || exit 0; \
14644 r=`${PWD_COMMAND}`; export r; \
14645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14647 for flag in $(EXTRA_HOST_FLAGS); do \
14648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14650 echo "Doing distclean in sid" ; \
14652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14654 "RANLIB=$${RANLIB}" \
14655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14660 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
14661 maybe-maintainer-clean-sid:
14663 maintainer-clean-sid:
14664 @[ -f ./sid/Makefile ] || exit 0; \
14665 r=`${PWD_COMMAND}`; export r; \
14666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14668 for flag in $(EXTRA_HOST_FLAGS); do \
14669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14671 echo "Doing maintainer-clean in sid" ; \
14673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14675 "RANLIB=$${RANLIB}" \
14676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14677 maintainer-clean) \
14682 .PHONY: configure-sim maybe-configure-sim
14683 maybe-configure-sim:
14685 @test ! -f sim/Makefile || exit 0; \
14686 [ -d sim ] || mkdir sim; \
14687 r=`${PWD_COMMAND}`; export r; \
14688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14689 CC="$(CC)"; export CC; \
14690 CFLAGS="$(CFLAGS)"; export CFLAGS; \
14691 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
14692 CXX="$(CXX)"; export CXX; \
14693 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
14694 AR="$(AR)"; export AR; \
14695 AS="$(AS)"; export AS; \
14696 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
14697 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
14698 LD="$(LD)"; export LD; \
14699 NM="$(NM)"; export NM; \
14700 RANLIB="$(RANLIB)"; export RANLIB; \
14701 WINDRES="$(WINDRES)"; export WINDRES; \
14702 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
14703 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
14704 echo Configuring in sim; \
14705 cd sim || exit 1; \
14706 case $(srcdir) in \
14708 srcdiroption="--srcdir=."; \
14710 /* | [A-Za-z]:[\\/]*) \
14711 srcdiroption="--srcdir=$(srcdir)/sim"; \
14712 libsrcdir="$$s/sim";; \
14714 srcdiroption="--srcdir=../$(srcdir)/sim"; \
14715 libsrcdir="$$s/sim";; \
14717 $(SHELL) $${libsrcdir}/configure \
14718 $(HOST_CONFIGARGS) $${srcdiroption} \
14721 .PHONY: all-sim maybe-all-sim
14723 all-sim: configure-sim
14724 @r=`${PWD_COMMAND}`; export r; \
14725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14727 (cd sim && $(MAKE) $(FLAGS_TO_PASS) all)
14729 .PHONY: check-sim maybe-check-sim
14733 @r=`${PWD_COMMAND}`; export r; \
14734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14736 (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
14739 .PHONY: install-sim maybe-install-sim
14742 install-sim: installdirs
14743 @r=`${PWD_COMMAND}`; export r; \
14744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14746 (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
14749 # Other targets (info, dvi, etc.)
14751 .PHONY: maybe-info-sim info-sim
14756 @[ -f ./sim/Makefile ] || exit 0; \
14757 r=`${PWD_COMMAND}`; export r; \
14758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14760 for flag in $(EXTRA_HOST_FLAGS); do \
14761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14763 echo "Doing info in sim" ; \
14765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14767 "RANLIB=$${RANLIB}" \
14768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14773 .PHONY: maybe-dvi-sim dvi-sim
14778 @[ -f ./sim/Makefile ] || exit 0; \
14779 r=`${PWD_COMMAND}`; export r; \
14780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14782 for flag in $(EXTRA_HOST_FLAGS); do \
14783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14785 echo "Doing dvi in sim" ; \
14787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14789 "RANLIB=$${RANLIB}" \
14790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14795 .PHONY: maybe-TAGS-sim TAGS-sim
14800 @[ -f ./sim/Makefile ] || exit 0; \
14801 r=`${PWD_COMMAND}`; export r; \
14802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14804 for flag in $(EXTRA_HOST_FLAGS); do \
14805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14807 echo "Doing TAGS in sim" ; \
14809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14811 "RANLIB=$${RANLIB}" \
14812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14817 .PHONY: maybe-install-info-sim install-info-sim
14818 maybe-install-info-sim:
14820 install-info-sim: \
14823 @[ -f ./sim/Makefile ] || exit 0; \
14824 r=`${PWD_COMMAND}`; export r; \
14825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14827 for flag in $(EXTRA_HOST_FLAGS); do \
14828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14830 echo "Doing install-info in sim" ; \
14832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14834 "RANLIB=$${RANLIB}" \
14835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14840 .PHONY: maybe-installcheck-sim installcheck-sim
14841 maybe-installcheck-sim:
14843 installcheck-sim: \
14845 @[ -f ./sim/Makefile ] || exit 0; \
14846 r=`${PWD_COMMAND}`; export r; \
14847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14849 for flag in $(EXTRA_HOST_FLAGS); do \
14850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14852 echo "Doing installcheck in sim" ; \
14854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14856 "RANLIB=$${RANLIB}" \
14857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14862 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
14863 maybe-mostlyclean-sim:
14866 @[ -f ./sim/Makefile ] || exit 0; \
14867 r=`${PWD_COMMAND}`; export r; \
14868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14870 for flag in $(EXTRA_HOST_FLAGS); do \
14871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14873 echo "Doing mostlyclean in sim" ; \
14875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14877 "RANLIB=$${RANLIB}" \
14878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14883 .PHONY: maybe-clean-sim clean-sim
14887 @[ -f ./sim/Makefile ] || exit 0; \
14888 r=`${PWD_COMMAND}`; export r; \
14889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14891 for flag in $(EXTRA_HOST_FLAGS); do \
14892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14894 echo "Doing clean in sim" ; \
14896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14898 "RANLIB=$${RANLIB}" \
14899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14904 .PHONY: maybe-distclean-sim distclean-sim
14905 maybe-distclean-sim:
14908 @[ -f ./sim/Makefile ] || exit 0; \
14909 r=`${PWD_COMMAND}`; export r; \
14910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14912 for flag in $(EXTRA_HOST_FLAGS); do \
14913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14915 echo "Doing distclean in sim" ; \
14917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14919 "RANLIB=$${RANLIB}" \
14920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14925 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
14926 maybe-maintainer-clean-sim:
14928 maintainer-clean-sim:
14929 @[ -f ./sim/Makefile ] || exit 0; \
14930 r=`${PWD_COMMAND}`; export r; \
14931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14933 for flag in $(EXTRA_HOST_FLAGS); do \
14934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14936 echo "Doing maintainer-clean in sim" ; \
14938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14940 "RANLIB=$${RANLIB}" \
14941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14942 maintainer-clean) \
14947 .PHONY: configure-tar maybe-configure-tar
14948 maybe-configure-tar:
14950 @test ! -f tar/Makefile || exit 0; \
14951 [ -d tar ] || mkdir tar; \
14952 r=`${PWD_COMMAND}`; export r; \
14953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14954 CC="$(CC)"; export CC; \
14955 CFLAGS="$(CFLAGS)"; export CFLAGS; \
14956 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
14957 CXX="$(CXX)"; export CXX; \
14958 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
14959 AR="$(AR)"; export AR; \
14960 AS="$(AS)"; export AS; \
14961 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
14962 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
14963 LD="$(LD)"; export LD; \
14964 NM="$(NM)"; export NM; \
14965 RANLIB="$(RANLIB)"; export RANLIB; \
14966 WINDRES="$(WINDRES)"; export WINDRES; \
14967 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
14968 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
14969 echo Configuring in tar; \
14970 cd tar || exit 1; \
14971 case $(srcdir) in \
14973 srcdiroption="--srcdir=."; \
14975 /* | [A-Za-z]:[\\/]*) \
14976 srcdiroption="--srcdir=$(srcdir)/tar"; \
14977 libsrcdir="$$s/tar";; \
14979 srcdiroption="--srcdir=../$(srcdir)/tar"; \
14980 libsrcdir="$$s/tar";; \
14982 $(SHELL) $${libsrcdir}/configure \
14983 $(HOST_CONFIGARGS) $${srcdiroption} \
14986 .PHONY: all-tar maybe-all-tar
14988 all-tar: configure-tar
14989 @r=`${PWD_COMMAND}`; export r; \
14990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14992 (cd tar && $(MAKE) $(FLAGS_TO_PASS) all)
14994 .PHONY: check-tar maybe-check-tar
14998 @r=`${PWD_COMMAND}`; export r; \
14999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15001 (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
15004 .PHONY: install-tar maybe-install-tar
15007 install-tar: installdirs
15008 @r=`${PWD_COMMAND}`; export r; \
15009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15011 (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
15014 # Other targets (info, dvi, etc.)
15016 .PHONY: maybe-info-tar info-tar
15021 @[ -f ./tar/Makefile ] || exit 0; \
15022 r=`${PWD_COMMAND}`; export r; \
15023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15025 for flag in $(EXTRA_HOST_FLAGS); do \
15026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15028 echo "Doing info in tar" ; \
15030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15032 "RANLIB=$${RANLIB}" \
15033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15038 .PHONY: maybe-dvi-tar dvi-tar
15043 @[ -f ./tar/Makefile ] || exit 0; \
15044 r=`${PWD_COMMAND}`; export r; \
15045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15047 for flag in $(EXTRA_HOST_FLAGS); do \
15048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15050 echo "Doing dvi in tar" ; \
15052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15054 "RANLIB=$${RANLIB}" \
15055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15060 .PHONY: maybe-TAGS-tar TAGS-tar
15065 @[ -f ./tar/Makefile ] || exit 0; \
15066 r=`${PWD_COMMAND}`; export r; \
15067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15069 for flag in $(EXTRA_HOST_FLAGS); do \
15070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15072 echo "Doing TAGS in tar" ; \
15074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15076 "RANLIB=$${RANLIB}" \
15077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15082 .PHONY: maybe-install-info-tar install-info-tar
15083 maybe-install-info-tar:
15085 install-info-tar: \
15088 @[ -f ./tar/Makefile ] || exit 0; \
15089 r=`${PWD_COMMAND}`; export r; \
15090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15092 for flag in $(EXTRA_HOST_FLAGS); do \
15093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15095 echo "Doing install-info in tar" ; \
15097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15099 "RANLIB=$${RANLIB}" \
15100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15105 .PHONY: maybe-installcheck-tar installcheck-tar
15106 maybe-installcheck-tar:
15108 installcheck-tar: \
15110 @[ -f ./tar/Makefile ] || exit 0; \
15111 r=`${PWD_COMMAND}`; export r; \
15112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15114 for flag in $(EXTRA_HOST_FLAGS); do \
15115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15117 echo "Doing installcheck in tar" ; \
15119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15121 "RANLIB=$${RANLIB}" \
15122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15127 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
15128 maybe-mostlyclean-tar:
15131 @[ -f ./tar/Makefile ] || exit 0; \
15132 r=`${PWD_COMMAND}`; export r; \
15133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15135 for flag in $(EXTRA_HOST_FLAGS); do \
15136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15138 echo "Doing mostlyclean in tar" ; \
15140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15142 "RANLIB=$${RANLIB}" \
15143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15148 .PHONY: maybe-clean-tar clean-tar
15152 @[ -f ./tar/Makefile ] || exit 0; \
15153 r=`${PWD_COMMAND}`; export r; \
15154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15156 for flag in $(EXTRA_HOST_FLAGS); do \
15157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15159 echo "Doing clean in tar" ; \
15161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15163 "RANLIB=$${RANLIB}" \
15164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15169 .PHONY: maybe-distclean-tar distclean-tar
15170 maybe-distclean-tar:
15173 @[ -f ./tar/Makefile ] || exit 0; \
15174 r=`${PWD_COMMAND}`; export r; \
15175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15177 for flag in $(EXTRA_HOST_FLAGS); do \
15178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15180 echo "Doing distclean in tar" ; \
15182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15184 "RANLIB=$${RANLIB}" \
15185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15190 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
15191 maybe-maintainer-clean-tar:
15193 maintainer-clean-tar:
15194 @[ -f ./tar/Makefile ] || exit 0; \
15195 r=`${PWD_COMMAND}`; export r; \
15196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15198 for flag in $(EXTRA_HOST_FLAGS); do \
15199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15201 echo "Doing maintainer-clean in tar" ; \
15203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15205 "RANLIB=$${RANLIB}" \
15206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15207 maintainer-clean) \
15212 .PHONY: configure-texinfo maybe-configure-texinfo
15213 maybe-configure-texinfo:
15215 @test ! -f texinfo/Makefile || exit 0; \
15216 [ -d texinfo ] || mkdir texinfo; \
15217 r=`${PWD_COMMAND}`; export r; \
15218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15219 CC="$(CC)"; export CC; \
15220 CFLAGS="$(CFLAGS)"; export CFLAGS; \
15221 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
15222 CXX="$(CXX)"; export CXX; \
15223 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
15224 AR="$(AR)"; export AR; \
15225 AS="$(AS)"; export AS; \
15226 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
15227 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
15228 LD="$(LD)"; export LD; \
15229 NM="$(NM)"; export NM; \
15230 RANLIB="$(RANLIB)"; export RANLIB; \
15231 WINDRES="$(WINDRES)"; export WINDRES; \
15232 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
15233 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
15234 echo Configuring in texinfo; \
15235 cd texinfo || exit 1; \
15236 case $(srcdir) in \
15238 srcdiroption="--srcdir=."; \
15240 /* | [A-Za-z]:[\\/]*) \
15241 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
15242 libsrcdir="$$s/texinfo";; \
15244 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
15245 libsrcdir="$$s/texinfo";; \
15247 $(SHELL) $${libsrcdir}/configure \
15248 $(HOST_CONFIGARGS) $${srcdiroption} \
15251 .PHONY: all-texinfo maybe-all-texinfo
15253 all-texinfo: configure-texinfo
15254 @r=`${PWD_COMMAND}`; export r; \
15255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15257 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) all)
15259 .PHONY: check-texinfo maybe-check-texinfo
15260 maybe-check-texinfo:
15263 @r=`${PWD_COMMAND}`; export r; \
15264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15266 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
15269 .PHONY: install-texinfo maybe-install-texinfo
15270 maybe-install-texinfo:
15275 # Other targets (info, dvi, etc.)
15277 .PHONY: maybe-info-texinfo info-texinfo
15278 maybe-info-texinfo:
15282 @[ -f ./texinfo/Makefile ] || exit 0; \
15283 r=`${PWD_COMMAND}`; export r; \
15284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15286 for flag in $(EXTRA_HOST_FLAGS); do \
15287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15289 echo "Doing info in texinfo" ; \
15291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15293 "RANLIB=$${RANLIB}" \
15294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15299 .PHONY: maybe-dvi-texinfo dvi-texinfo
15304 @[ -f ./texinfo/Makefile ] || exit 0; \
15305 r=`${PWD_COMMAND}`; export r; \
15306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15308 for flag in $(EXTRA_HOST_FLAGS); do \
15309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15311 echo "Doing dvi in texinfo" ; \
15313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15315 "RANLIB=$${RANLIB}" \
15316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15321 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
15322 maybe-TAGS-texinfo:
15326 @[ -f ./texinfo/Makefile ] || exit 0; \
15327 r=`${PWD_COMMAND}`; export r; \
15328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15330 for flag in $(EXTRA_HOST_FLAGS); do \
15331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15333 echo "Doing TAGS in texinfo" ; \
15335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15337 "RANLIB=$${RANLIB}" \
15338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15343 .PHONY: maybe-install-info-texinfo install-info-texinfo
15344 maybe-install-info-texinfo:
15346 install-info-texinfo: \
15347 configure-texinfo \
15349 @[ -f ./texinfo/Makefile ] || exit 0; \
15350 r=`${PWD_COMMAND}`; export r; \
15351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15353 for flag in $(EXTRA_HOST_FLAGS); do \
15354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15356 echo "Doing install-info in texinfo" ; \
15358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15360 "RANLIB=$${RANLIB}" \
15361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15366 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
15367 maybe-installcheck-texinfo:
15369 installcheck-texinfo: \
15371 @[ -f ./texinfo/Makefile ] || exit 0; \
15372 r=`${PWD_COMMAND}`; export r; \
15373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15375 for flag in $(EXTRA_HOST_FLAGS); do \
15376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15378 echo "Doing installcheck in texinfo" ; \
15380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15382 "RANLIB=$${RANLIB}" \
15383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15388 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
15389 maybe-mostlyclean-texinfo:
15391 mostlyclean-texinfo:
15392 @[ -f ./texinfo/Makefile ] || exit 0; \
15393 r=`${PWD_COMMAND}`; export r; \
15394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15396 for flag in $(EXTRA_HOST_FLAGS); do \
15397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15399 echo "Doing mostlyclean in texinfo" ; \
15401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15403 "RANLIB=$${RANLIB}" \
15404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15409 .PHONY: maybe-clean-texinfo clean-texinfo
15410 maybe-clean-texinfo:
15413 @[ -f ./texinfo/Makefile ] || exit 0; \
15414 r=`${PWD_COMMAND}`; export r; \
15415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15417 for flag in $(EXTRA_HOST_FLAGS); do \
15418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15420 echo "Doing clean in texinfo" ; \
15422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15424 "RANLIB=$${RANLIB}" \
15425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15430 .PHONY: maybe-distclean-texinfo distclean-texinfo
15431 maybe-distclean-texinfo:
15434 @[ -f ./texinfo/Makefile ] || exit 0; \
15435 r=`${PWD_COMMAND}`; export r; \
15436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15438 for flag in $(EXTRA_HOST_FLAGS); do \
15439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15441 echo "Doing distclean in texinfo" ; \
15443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15445 "RANLIB=$${RANLIB}" \
15446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15451 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
15452 maybe-maintainer-clean-texinfo:
15454 maintainer-clean-texinfo:
15455 @[ -f ./texinfo/Makefile ] || exit 0; \
15456 r=`${PWD_COMMAND}`; export r; \
15457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15459 for flag in $(EXTRA_HOST_FLAGS); do \
15460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15462 echo "Doing maintainer-clean in texinfo" ; \
15464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15466 "RANLIB=$${RANLIB}" \
15467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15468 maintainer-clean) \
15473 .PHONY: configure-textutils maybe-configure-textutils
15474 maybe-configure-textutils:
15475 configure-textutils:
15476 @test ! -f textutils/Makefile || exit 0; \
15477 [ -d textutils ] || mkdir textutils; \
15478 r=`${PWD_COMMAND}`; export r; \
15479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15480 CC="$(CC)"; export CC; \
15481 CFLAGS="$(CFLAGS)"; export CFLAGS; \
15482 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
15483 CXX="$(CXX)"; export CXX; \
15484 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
15485 AR="$(AR)"; export AR; \
15486 AS="$(AS)"; export AS; \
15487 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
15488 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
15489 LD="$(LD)"; export LD; \
15490 NM="$(NM)"; export NM; \
15491 RANLIB="$(RANLIB)"; export RANLIB; \
15492 WINDRES="$(WINDRES)"; export WINDRES; \
15493 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
15494 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
15495 echo Configuring in textutils; \
15496 cd textutils || exit 1; \
15497 case $(srcdir) in \
15499 srcdiroption="--srcdir=."; \
15501 /* | [A-Za-z]:[\\/]*) \
15502 srcdiroption="--srcdir=$(srcdir)/textutils"; \
15503 libsrcdir="$$s/textutils";; \
15505 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
15506 libsrcdir="$$s/textutils";; \
15508 $(SHELL) $${libsrcdir}/configure \
15509 $(HOST_CONFIGARGS) $${srcdiroption} \
15512 .PHONY: all-textutils maybe-all-textutils
15513 maybe-all-textutils:
15514 all-textutils: configure-textutils
15515 @r=`${PWD_COMMAND}`; export r; \
15516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15518 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) all)
15520 .PHONY: check-textutils maybe-check-textutils
15521 maybe-check-textutils:
15524 @r=`${PWD_COMMAND}`; export r; \
15525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15527 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
15530 .PHONY: install-textutils maybe-install-textutils
15531 maybe-install-textutils:
15533 install-textutils: installdirs
15534 @r=`${PWD_COMMAND}`; export r; \
15535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15537 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
15540 # Other targets (info, dvi, etc.)
15542 .PHONY: maybe-info-textutils info-textutils
15543 maybe-info-textutils:
15546 configure-textutils
15547 @[ -f ./textutils/Makefile ] || exit 0; \
15548 r=`${PWD_COMMAND}`; export r; \
15549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15551 for flag in $(EXTRA_HOST_FLAGS); do \
15552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15554 echo "Doing info in textutils" ; \
15556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15558 "RANLIB=$${RANLIB}" \
15559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15564 .PHONY: maybe-dvi-textutils dvi-textutils
15565 maybe-dvi-textutils:
15568 configure-textutils
15569 @[ -f ./textutils/Makefile ] || exit 0; \
15570 r=`${PWD_COMMAND}`; export r; \
15571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15573 for flag in $(EXTRA_HOST_FLAGS); do \
15574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15576 echo "Doing dvi in textutils" ; \
15578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15580 "RANLIB=$${RANLIB}" \
15581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15586 .PHONY: maybe-TAGS-textutils TAGS-textutils
15587 maybe-TAGS-textutils:
15590 configure-textutils
15591 @[ -f ./textutils/Makefile ] || exit 0; \
15592 r=`${PWD_COMMAND}`; export r; \
15593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15595 for flag in $(EXTRA_HOST_FLAGS); do \
15596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15598 echo "Doing TAGS in textutils" ; \
15600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15602 "RANLIB=$${RANLIB}" \
15603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15608 .PHONY: maybe-install-info-textutils install-info-textutils
15609 maybe-install-info-textutils:
15611 install-info-textutils: \
15612 configure-textutils \
15614 @[ -f ./textutils/Makefile ] || exit 0; \
15615 r=`${PWD_COMMAND}`; export r; \
15616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15618 for flag in $(EXTRA_HOST_FLAGS); do \
15619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15621 echo "Doing install-info in textutils" ; \
15623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15625 "RANLIB=$${RANLIB}" \
15626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15631 .PHONY: maybe-installcheck-textutils installcheck-textutils
15632 maybe-installcheck-textutils:
15634 installcheck-textutils: \
15635 configure-textutils
15636 @[ -f ./textutils/Makefile ] || exit 0; \
15637 r=`${PWD_COMMAND}`; export r; \
15638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15640 for flag in $(EXTRA_HOST_FLAGS); do \
15641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15643 echo "Doing installcheck in textutils" ; \
15645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15647 "RANLIB=$${RANLIB}" \
15648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15653 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
15654 maybe-mostlyclean-textutils:
15656 mostlyclean-textutils:
15657 @[ -f ./textutils/Makefile ] || exit 0; \
15658 r=`${PWD_COMMAND}`; export r; \
15659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15661 for flag in $(EXTRA_HOST_FLAGS); do \
15662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15664 echo "Doing mostlyclean in textutils" ; \
15666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15668 "RANLIB=$${RANLIB}" \
15669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15674 .PHONY: maybe-clean-textutils clean-textutils
15675 maybe-clean-textutils:
15678 @[ -f ./textutils/Makefile ] || exit 0; \
15679 r=`${PWD_COMMAND}`; export r; \
15680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15682 for flag in $(EXTRA_HOST_FLAGS); do \
15683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15685 echo "Doing clean in textutils" ; \
15687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15689 "RANLIB=$${RANLIB}" \
15690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15695 .PHONY: maybe-distclean-textutils distclean-textutils
15696 maybe-distclean-textutils:
15698 distclean-textutils:
15699 @[ -f ./textutils/Makefile ] || exit 0; \
15700 r=`${PWD_COMMAND}`; export r; \
15701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15703 for flag in $(EXTRA_HOST_FLAGS); do \
15704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15706 echo "Doing distclean in textutils" ; \
15708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15710 "RANLIB=$${RANLIB}" \
15711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15716 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
15717 maybe-maintainer-clean-textutils:
15719 maintainer-clean-textutils:
15720 @[ -f ./textutils/Makefile ] || exit 0; \
15721 r=`${PWD_COMMAND}`; export r; \
15722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15724 for flag in $(EXTRA_HOST_FLAGS); do \
15725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15727 echo "Doing maintainer-clean in textutils" ; \
15729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15731 "RANLIB=$${RANLIB}" \
15732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15733 maintainer-clean) \
15738 .PHONY: configure-time maybe-configure-time
15739 maybe-configure-time:
15741 @test ! -f time/Makefile || exit 0; \
15742 [ -d time ] || mkdir time; \
15743 r=`${PWD_COMMAND}`; export r; \
15744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15745 CC="$(CC)"; export CC; \
15746 CFLAGS="$(CFLAGS)"; export CFLAGS; \
15747 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
15748 CXX="$(CXX)"; export CXX; \
15749 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
15750 AR="$(AR)"; export AR; \
15751 AS="$(AS)"; export AS; \
15752 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
15753 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
15754 LD="$(LD)"; export LD; \
15755 NM="$(NM)"; export NM; \
15756 RANLIB="$(RANLIB)"; export RANLIB; \
15757 WINDRES="$(WINDRES)"; export WINDRES; \
15758 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
15759 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
15760 echo Configuring in time; \
15761 cd time || exit 1; \
15762 case $(srcdir) in \
15764 srcdiroption="--srcdir=."; \
15766 /* | [A-Za-z]:[\\/]*) \
15767 srcdiroption="--srcdir=$(srcdir)/time"; \
15768 libsrcdir="$$s/time";; \
15770 srcdiroption="--srcdir=../$(srcdir)/time"; \
15771 libsrcdir="$$s/time";; \
15773 $(SHELL) $${libsrcdir}/configure \
15774 $(HOST_CONFIGARGS) $${srcdiroption} \
15777 .PHONY: all-time maybe-all-time
15779 all-time: configure-time
15780 @r=`${PWD_COMMAND}`; export r; \
15781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15783 (cd time && $(MAKE) $(FLAGS_TO_PASS) all)
15785 .PHONY: check-time maybe-check-time
15789 @r=`${PWD_COMMAND}`; export r; \
15790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15792 (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
15795 .PHONY: install-time maybe-install-time
15796 maybe-install-time:
15798 install-time: installdirs
15799 @r=`${PWD_COMMAND}`; export r; \
15800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15802 (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
15805 # Other targets (info, dvi, etc.)
15807 .PHONY: maybe-info-time info-time
15812 @[ -f ./time/Makefile ] || exit 0; \
15813 r=`${PWD_COMMAND}`; export r; \
15814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15816 for flag in $(EXTRA_HOST_FLAGS); do \
15817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15819 echo "Doing info in time" ; \
15821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15823 "RANLIB=$${RANLIB}" \
15824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15829 .PHONY: maybe-dvi-time dvi-time
15834 @[ -f ./time/Makefile ] || exit 0; \
15835 r=`${PWD_COMMAND}`; export r; \
15836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15838 for flag in $(EXTRA_HOST_FLAGS); do \
15839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15841 echo "Doing dvi in time" ; \
15843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15845 "RANLIB=$${RANLIB}" \
15846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15851 .PHONY: maybe-TAGS-time TAGS-time
15856 @[ -f ./time/Makefile ] || exit 0; \
15857 r=`${PWD_COMMAND}`; export r; \
15858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15860 for flag in $(EXTRA_HOST_FLAGS); do \
15861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15863 echo "Doing TAGS in time" ; \
15865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15867 "RANLIB=$${RANLIB}" \
15868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15873 .PHONY: maybe-install-info-time install-info-time
15874 maybe-install-info-time:
15876 install-info-time: \
15879 @[ -f ./time/Makefile ] || exit 0; \
15880 r=`${PWD_COMMAND}`; export r; \
15881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15883 for flag in $(EXTRA_HOST_FLAGS); do \
15884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15886 echo "Doing install-info in time" ; \
15888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15890 "RANLIB=$${RANLIB}" \
15891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15896 .PHONY: maybe-installcheck-time installcheck-time
15897 maybe-installcheck-time:
15899 installcheck-time: \
15901 @[ -f ./time/Makefile ] || exit 0; \
15902 r=`${PWD_COMMAND}`; export r; \
15903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15905 for flag in $(EXTRA_HOST_FLAGS); do \
15906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15908 echo "Doing installcheck in time" ; \
15910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15912 "RANLIB=$${RANLIB}" \
15913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15918 .PHONY: maybe-mostlyclean-time mostlyclean-time
15919 maybe-mostlyclean-time:
15922 @[ -f ./time/Makefile ] || exit 0; \
15923 r=`${PWD_COMMAND}`; export r; \
15924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15926 for flag in $(EXTRA_HOST_FLAGS); do \
15927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15929 echo "Doing mostlyclean in time" ; \
15931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15933 "RANLIB=$${RANLIB}" \
15934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15939 .PHONY: maybe-clean-time clean-time
15943 @[ -f ./time/Makefile ] || exit 0; \
15944 r=`${PWD_COMMAND}`; export r; \
15945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15947 for flag in $(EXTRA_HOST_FLAGS); do \
15948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15950 echo "Doing clean in time" ; \
15952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15954 "RANLIB=$${RANLIB}" \
15955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15960 .PHONY: maybe-distclean-time distclean-time
15961 maybe-distclean-time:
15964 @[ -f ./time/Makefile ] || exit 0; \
15965 r=`${PWD_COMMAND}`; export r; \
15966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15968 for flag in $(EXTRA_HOST_FLAGS); do \
15969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15971 echo "Doing distclean in time" ; \
15973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15975 "RANLIB=$${RANLIB}" \
15976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15981 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
15982 maybe-maintainer-clean-time:
15984 maintainer-clean-time:
15985 @[ -f ./time/Makefile ] || exit 0; \
15986 r=`${PWD_COMMAND}`; export r; \
15987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15989 for flag in $(EXTRA_HOST_FLAGS); do \
15990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15992 echo "Doing maintainer-clean in time" ; \
15994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15996 "RANLIB=$${RANLIB}" \
15997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15998 maintainer-clean) \
16003 .PHONY: configure-uudecode maybe-configure-uudecode
16004 maybe-configure-uudecode:
16005 configure-uudecode:
16006 @test ! -f uudecode/Makefile || exit 0; \
16007 [ -d uudecode ] || mkdir uudecode; \
16008 r=`${PWD_COMMAND}`; export r; \
16009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16010 CC="$(CC)"; export CC; \
16011 CFLAGS="$(CFLAGS)"; export CFLAGS; \
16012 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
16013 CXX="$(CXX)"; export CXX; \
16014 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
16015 AR="$(AR)"; export AR; \
16016 AS="$(AS)"; export AS; \
16017 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
16018 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
16019 LD="$(LD)"; export LD; \
16020 NM="$(NM)"; export NM; \
16021 RANLIB="$(RANLIB)"; export RANLIB; \
16022 WINDRES="$(WINDRES)"; export WINDRES; \
16023 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
16024 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
16025 echo Configuring in uudecode; \
16026 cd uudecode || exit 1; \
16027 case $(srcdir) in \
16029 srcdiroption="--srcdir=."; \
16031 /* | [A-Za-z]:[\\/]*) \
16032 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
16033 libsrcdir="$$s/uudecode";; \
16035 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
16036 libsrcdir="$$s/uudecode";; \
16038 $(SHELL) $${libsrcdir}/configure \
16039 $(HOST_CONFIGARGS) $${srcdiroption} \
16042 .PHONY: all-uudecode maybe-all-uudecode
16043 maybe-all-uudecode:
16044 all-uudecode: configure-uudecode
16045 @r=`${PWD_COMMAND}`; export r; \
16046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16048 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) all)
16050 .PHONY: check-uudecode maybe-check-uudecode
16051 maybe-check-uudecode:
16054 @r=`${PWD_COMMAND}`; export r; \
16055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16057 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
16060 .PHONY: install-uudecode maybe-install-uudecode
16061 maybe-install-uudecode:
16063 install-uudecode: installdirs
16064 @r=`${PWD_COMMAND}`; export r; \
16065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16067 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
16070 # Other targets (info, dvi, etc.)
16072 .PHONY: maybe-info-uudecode info-uudecode
16073 maybe-info-uudecode:
16077 @[ -f ./uudecode/Makefile ] || exit 0; \
16078 r=`${PWD_COMMAND}`; export r; \
16079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16081 for flag in $(EXTRA_HOST_FLAGS); do \
16082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16084 echo "Doing info in uudecode" ; \
16086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16088 "RANLIB=$${RANLIB}" \
16089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16094 .PHONY: maybe-dvi-uudecode dvi-uudecode
16095 maybe-dvi-uudecode:
16099 @[ -f ./uudecode/Makefile ] || exit 0; \
16100 r=`${PWD_COMMAND}`; export r; \
16101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16103 for flag in $(EXTRA_HOST_FLAGS); do \
16104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16106 echo "Doing dvi in uudecode" ; \
16108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16110 "RANLIB=$${RANLIB}" \
16111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16116 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
16117 maybe-TAGS-uudecode:
16121 @[ -f ./uudecode/Makefile ] || exit 0; \
16122 r=`${PWD_COMMAND}`; export r; \
16123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16125 for flag in $(EXTRA_HOST_FLAGS); do \
16126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16128 echo "Doing TAGS in uudecode" ; \
16130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16132 "RANLIB=$${RANLIB}" \
16133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16138 .PHONY: maybe-install-info-uudecode install-info-uudecode
16139 maybe-install-info-uudecode:
16141 install-info-uudecode: \
16142 configure-uudecode \
16144 @[ -f ./uudecode/Makefile ] || exit 0; \
16145 r=`${PWD_COMMAND}`; export r; \
16146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16148 for flag in $(EXTRA_HOST_FLAGS); do \
16149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16151 echo "Doing install-info in uudecode" ; \
16153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16155 "RANLIB=$${RANLIB}" \
16156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16161 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
16162 maybe-installcheck-uudecode:
16164 installcheck-uudecode: \
16166 @[ -f ./uudecode/Makefile ] || exit 0; \
16167 r=`${PWD_COMMAND}`; export r; \
16168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16170 for flag in $(EXTRA_HOST_FLAGS); do \
16171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16173 echo "Doing installcheck in uudecode" ; \
16175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16177 "RANLIB=$${RANLIB}" \
16178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16183 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
16184 maybe-mostlyclean-uudecode:
16186 mostlyclean-uudecode:
16187 @[ -f ./uudecode/Makefile ] || exit 0; \
16188 r=`${PWD_COMMAND}`; export r; \
16189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16191 for flag in $(EXTRA_HOST_FLAGS); do \
16192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16194 echo "Doing mostlyclean in uudecode" ; \
16196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16198 "RANLIB=$${RANLIB}" \
16199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16204 .PHONY: maybe-clean-uudecode clean-uudecode
16205 maybe-clean-uudecode:
16208 @[ -f ./uudecode/Makefile ] || exit 0; \
16209 r=`${PWD_COMMAND}`; export r; \
16210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16212 for flag in $(EXTRA_HOST_FLAGS); do \
16213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16215 echo "Doing clean in uudecode" ; \
16217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16219 "RANLIB=$${RANLIB}" \
16220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16225 .PHONY: maybe-distclean-uudecode distclean-uudecode
16226 maybe-distclean-uudecode:
16228 distclean-uudecode:
16229 @[ -f ./uudecode/Makefile ] || exit 0; \
16230 r=`${PWD_COMMAND}`; export r; \
16231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16233 for flag in $(EXTRA_HOST_FLAGS); do \
16234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16236 echo "Doing distclean in uudecode" ; \
16238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16240 "RANLIB=$${RANLIB}" \
16241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16246 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
16247 maybe-maintainer-clean-uudecode:
16249 maintainer-clean-uudecode:
16250 @[ -f ./uudecode/Makefile ] || exit 0; \
16251 r=`${PWD_COMMAND}`; export r; \
16252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16254 for flag in $(EXTRA_HOST_FLAGS); do \
16255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16257 echo "Doing maintainer-clean in uudecode" ; \
16259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16261 "RANLIB=$${RANLIB}" \
16262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16263 maintainer-clean) \
16268 .PHONY: configure-wdiff maybe-configure-wdiff
16269 maybe-configure-wdiff:
16271 @test ! -f wdiff/Makefile || exit 0; \
16272 [ -d wdiff ] || mkdir wdiff; \
16273 r=`${PWD_COMMAND}`; export r; \
16274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16275 CC="$(CC)"; export CC; \
16276 CFLAGS="$(CFLAGS)"; export CFLAGS; \
16277 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
16278 CXX="$(CXX)"; export CXX; \
16279 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
16280 AR="$(AR)"; export AR; \
16281 AS="$(AS)"; export AS; \
16282 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
16283 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
16284 LD="$(LD)"; export LD; \
16285 NM="$(NM)"; export NM; \
16286 RANLIB="$(RANLIB)"; export RANLIB; \
16287 WINDRES="$(WINDRES)"; export WINDRES; \
16288 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
16289 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
16290 echo Configuring in wdiff; \
16291 cd wdiff || exit 1; \
16292 case $(srcdir) in \
16294 srcdiroption="--srcdir=."; \
16296 /* | [A-Za-z]:[\\/]*) \
16297 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
16298 libsrcdir="$$s/wdiff";; \
16300 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
16301 libsrcdir="$$s/wdiff";; \
16303 $(SHELL) $${libsrcdir}/configure \
16304 $(HOST_CONFIGARGS) $${srcdiroption} \
16307 .PHONY: all-wdiff maybe-all-wdiff
16309 all-wdiff: configure-wdiff
16310 @r=`${PWD_COMMAND}`; export r; \
16311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16313 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) all)
16315 .PHONY: check-wdiff maybe-check-wdiff
16319 @r=`${PWD_COMMAND}`; export r; \
16320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16322 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
16325 .PHONY: install-wdiff maybe-install-wdiff
16326 maybe-install-wdiff:
16328 install-wdiff: installdirs
16329 @r=`${PWD_COMMAND}`; export r; \
16330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16332 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
16335 # Other targets (info, dvi, etc.)
16337 .PHONY: maybe-info-wdiff info-wdiff
16342 @[ -f ./wdiff/Makefile ] || exit 0; \
16343 r=`${PWD_COMMAND}`; export r; \
16344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16346 for flag in $(EXTRA_HOST_FLAGS); do \
16347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16349 echo "Doing info in wdiff" ; \
16351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16353 "RANLIB=$${RANLIB}" \
16354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16359 .PHONY: maybe-dvi-wdiff dvi-wdiff
16364 @[ -f ./wdiff/Makefile ] || exit 0; \
16365 r=`${PWD_COMMAND}`; export r; \
16366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16368 for flag in $(EXTRA_HOST_FLAGS); do \
16369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16371 echo "Doing dvi in wdiff" ; \
16373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16375 "RANLIB=$${RANLIB}" \
16376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16381 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
16386 @[ -f ./wdiff/Makefile ] || exit 0; \
16387 r=`${PWD_COMMAND}`; export r; \
16388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16390 for flag in $(EXTRA_HOST_FLAGS); do \
16391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16393 echo "Doing TAGS in wdiff" ; \
16395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16397 "RANLIB=$${RANLIB}" \
16398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16403 .PHONY: maybe-install-info-wdiff install-info-wdiff
16404 maybe-install-info-wdiff:
16406 install-info-wdiff: \
16409 @[ -f ./wdiff/Makefile ] || exit 0; \
16410 r=`${PWD_COMMAND}`; export r; \
16411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16413 for flag in $(EXTRA_HOST_FLAGS); do \
16414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16416 echo "Doing install-info in wdiff" ; \
16418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16420 "RANLIB=$${RANLIB}" \
16421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16426 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
16427 maybe-installcheck-wdiff:
16429 installcheck-wdiff: \
16431 @[ -f ./wdiff/Makefile ] || exit 0; \
16432 r=`${PWD_COMMAND}`; export r; \
16433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16435 for flag in $(EXTRA_HOST_FLAGS); do \
16436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16438 echo "Doing installcheck in wdiff" ; \
16440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16442 "RANLIB=$${RANLIB}" \
16443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16448 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
16449 maybe-mostlyclean-wdiff:
16452 @[ -f ./wdiff/Makefile ] || exit 0; \
16453 r=`${PWD_COMMAND}`; export r; \
16454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16456 for flag in $(EXTRA_HOST_FLAGS); do \
16457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16459 echo "Doing mostlyclean in wdiff" ; \
16461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16463 "RANLIB=$${RANLIB}" \
16464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16469 .PHONY: maybe-clean-wdiff clean-wdiff
16473 @[ -f ./wdiff/Makefile ] || exit 0; \
16474 r=`${PWD_COMMAND}`; export r; \
16475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16477 for flag in $(EXTRA_HOST_FLAGS); do \
16478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16480 echo "Doing clean in wdiff" ; \
16482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16484 "RANLIB=$${RANLIB}" \
16485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16490 .PHONY: maybe-distclean-wdiff distclean-wdiff
16491 maybe-distclean-wdiff:
16494 @[ -f ./wdiff/Makefile ] || exit 0; \
16495 r=`${PWD_COMMAND}`; export r; \
16496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16498 for flag in $(EXTRA_HOST_FLAGS); do \
16499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16501 echo "Doing distclean in wdiff" ; \
16503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16505 "RANLIB=$${RANLIB}" \
16506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16511 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
16512 maybe-maintainer-clean-wdiff:
16514 maintainer-clean-wdiff:
16515 @[ -f ./wdiff/Makefile ] || exit 0; \
16516 r=`${PWD_COMMAND}`; export r; \
16517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16519 for flag in $(EXTRA_HOST_FLAGS); do \
16520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16522 echo "Doing maintainer-clean in wdiff" ; \
16524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16526 "RANLIB=$${RANLIB}" \
16527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16528 maintainer-clean) \
16533 .PHONY: configure-zip maybe-configure-zip
16534 maybe-configure-zip:
16536 @test ! -f zip/Makefile || exit 0; \
16537 [ -d zip ] || mkdir zip; \
16538 r=`${PWD_COMMAND}`; export r; \
16539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16540 CC="$(CC)"; export CC; \
16541 CFLAGS="$(CFLAGS)"; export CFLAGS; \
16542 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
16543 CXX="$(CXX)"; export CXX; \
16544 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
16545 AR="$(AR)"; export AR; \
16546 AS="$(AS)"; export AS; \
16547 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
16548 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
16549 LD="$(LD)"; export LD; \
16550 NM="$(NM)"; export NM; \
16551 RANLIB="$(RANLIB)"; export RANLIB; \
16552 WINDRES="$(WINDRES)"; export WINDRES; \
16553 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
16554 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
16555 echo Configuring in zip; \
16556 cd zip || exit 1; \
16557 case $(srcdir) in \
16559 srcdiroption="--srcdir=."; \
16561 /* | [A-Za-z]:[\\/]*) \
16562 srcdiroption="--srcdir=$(srcdir)/zip"; \
16563 libsrcdir="$$s/zip";; \
16565 srcdiroption="--srcdir=../$(srcdir)/zip"; \
16566 libsrcdir="$$s/zip";; \
16568 $(SHELL) $${libsrcdir}/configure \
16569 $(HOST_CONFIGARGS) $${srcdiroption} \
16572 .PHONY: all-zip maybe-all-zip
16574 all-zip: configure-zip
16575 @r=`${PWD_COMMAND}`; export r; \
16576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16578 (cd zip && $(MAKE) $(FLAGS_TO_PASS) all)
16580 .PHONY: check-zip maybe-check-zip
16583 # This module is only tested in a native toolchain.
16585 @if [ '$(host)' = '$(target)' ] ; then \
16586 r=`${PWD_COMMAND}`; export r; \
16587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16589 (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \
16593 .PHONY: install-zip maybe-install-zip
16596 install-zip: installdirs
16597 @r=`${PWD_COMMAND}`; export r; \
16598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16600 (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
16603 # Other targets (info, dvi, etc.)
16605 .PHONY: maybe-info-zip info-zip
16610 @[ -f ./zip/Makefile ] || exit 0; \
16611 r=`${PWD_COMMAND}`; export r; \
16612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16614 for flag in $(EXTRA_HOST_FLAGS); do \
16615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16617 echo "Doing info in zip" ; \
16619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16621 "RANLIB=$${RANLIB}" \
16622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16627 .PHONY: maybe-dvi-zip dvi-zip
16632 @[ -f ./zip/Makefile ] || exit 0; \
16633 r=`${PWD_COMMAND}`; export r; \
16634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16636 for flag in $(EXTRA_HOST_FLAGS); do \
16637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16639 echo "Doing dvi in zip" ; \
16641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16643 "RANLIB=$${RANLIB}" \
16644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16649 .PHONY: maybe-TAGS-zip TAGS-zip
16654 @[ -f ./zip/Makefile ] || exit 0; \
16655 r=`${PWD_COMMAND}`; export r; \
16656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16658 for flag in $(EXTRA_HOST_FLAGS); do \
16659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16661 echo "Doing TAGS in zip" ; \
16663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16665 "RANLIB=$${RANLIB}" \
16666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16671 .PHONY: maybe-install-info-zip install-info-zip
16672 maybe-install-info-zip:
16674 install-info-zip: \
16677 @[ -f ./zip/Makefile ] || exit 0; \
16678 r=`${PWD_COMMAND}`; export r; \
16679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16681 for flag in $(EXTRA_HOST_FLAGS); do \
16682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16684 echo "Doing install-info in zip" ; \
16686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16688 "RANLIB=$${RANLIB}" \
16689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16694 .PHONY: maybe-installcheck-zip installcheck-zip
16695 maybe-installcheck-zip:
16697 installcheck-zip: \
16699 @[ -f ./zip/Makefile ] || exit 0; \
16700 r=`${PWD_COMMAND}`; export r; \
16701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16703 for flag in $(EXTRA_HOST_FLAGS); do \
16704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16706 echo "Doing installcheck in zip" ; \
16708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16710 "RANLIB=$${RANLIB}" \
16711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16716 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
16717 maybe-mostlyclean-zip:
16720 @[ -f ./zip/Makefile ] || exit 0; \
16721 r=`${PWD_COMMAND}`; export r; \
16722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16724 for flag in $(EXTRA_HOST_FLAGS); do \
16725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16727 echo "Doing mostlyclean in zip" ; \
16729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16731 "RANLIB=$${RANLIB}" \
16732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16737 .PHONY: maybe-clean-zip clean-zip
16741 @[ -f ./zip/Makefile ] || exit 0; \
16742 r=`${PWD_COMMAND}`; export r; \
16743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16745 for flag in $(EXTRA_HOST_FLAGS); do \
16746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16748 echo "Doing clean in zip" ; \
16750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16752 "RANLIB=$${RANLIB}" \
16753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16758 .PHONY: maybe-distclean-zip distclean-zip
16759 maybe-distclean-zip:
16762 @[ -f ./zip/Makefile ] || exit 0; \
16763 r=`${PWD_COMMAND}`; export r; \
16764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16766 for flag in $(EXTRA_HOST_FLAGS); do \
16767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16769 echo "Doing distclean in zip" ; \
16771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16773 "RANLIB=$${RANLIB}" \
16774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16779 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
16780 maybe-maintainer-clean-zip:
16782 maintainer-clean-zip:
16783 @[ -f ./zip/Makefile ] || exit 0; \
16784 r=`${PWD_COMMAND}`; export r; \
16785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16787 for flag in $(EXTRA_HOST_FLAGS); do \
16788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16790 echo "Doing maintainer-clean in zip" ; \
16792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16794 "RANLIB=$${RANLIB}" \
16795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16796 maintainer-clean) \
16801 .PHONY: configure-zlib maybe-configure-zlib
16802 maybe-configure-zlib:
16804 @test ! -f zlib/Makefile || exit 0; \
16805 [ -d zlib ] || mkdir zlib; \
16806 r=`${PWD_COMMAND}`; export r; \
16807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16808 CC="$(CC)"; export CC; \
16809 CFLAGS="$(CFLAGS)"; export CFLAGS; \
16810 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
16811 CXX="$(CXX)"; export CXX; \
16812 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
16813 AR="$(AR)"; export AR; \
16814 AS="$(AS)"; export AS; \
16815 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
16816 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
16817 LD="$(LD)"; export LD; \
16818 NM="$(NM)"; export NM; \
16819 RANLIB="$(RANLIB)"; export RANLIB; \
16820 WINDRES="$(WINDRES)"; export WINDRES; \
16821 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
16822 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
16823 echo Configuring in zlib; \
16824 cd zlib || exit 1; \
16825 case $(srcdir) in \
16827 srcdiroption="--srcdir=."; \
16829 /* | [A-Za-z]:[\\/]*) \
16830 srcdiroption="--srcdir=$(srcdir)/zlib"; \
16831 libsrcdir="$$s/zlib";; \
16833 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
16834 libsrcdir="$$s/zlib";; \
16836 $(SHELL) $${libsrcdir}/configure \
16837 $(HOST_CONFIGARGS) $${srcdiroption} \
16840 .PHONY: all-zlib maybe-all-zlib
16842 all-zlib: configure-zlib
16843 @r=`${PWD_COMMAND}`; export r; \
16844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16846 (cd zlib && $(MAKE) $(FLAGS_TO_PASS) all)
16848 .PHONY: check-zlib maybe-check-zlib
16854 .PHONY: install-zlib maybe-install-zlib
16855 maybe-install-zlib:
16860 # Other targets (info, dvi, etc.)
16862 .PHONY: maybe-info-zlib info-zlib
16867 @[ -f ./zlib/Makefile ] || exit 0; \
16868 r=`${PWD_COMMAND}`; export r; \
16869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16871 for flag in $(EXTRA_HOST_FLAGS); do \
16872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16874 echo "Doing info in zlib" ; \
16876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16878 "RANLIB=$${RANLIB}" \
16879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16884 .PHONY: maybe-dvi-zlib dvi-zlib
16889 @[ -f ./zlib/Makefile ] || exit 0; \
16890 r=`${PWD_COMMAND}`; export r; \
16891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16893 for flag in $(EXTRA_HOST_FLAGS); do \
16894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16896 echo "Doing dvi in zlib" ; \
16898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16900 "RANLIB=$${RANLIB}" \
16901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16906 .PHONY: maybe-TAGS-zlib TAGS-zlib
16911 @[ -f ./zlib/Makefile ] || exit 0; \
16912 r=`${PWD_COMMAND}`; export r; \
16913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16915 for flag in $(EXTRA_HOST_FLAGS); do \
16916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16918 echo "Doing TAGS in zlib" ; \
16920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16922 "RANLIB=$${RANLIB}" \
16923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16928 .PHONY: maybe-install-info-zlib install-info-zlib
16929 maybe-install-info-zlib:
16931 install-info-zlib: \
16934 @[ -f ./zlib/Makefile ] || exit 0; \
16935 r=`${PWD_COMMAND}`; export r; \
16936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16938 for flag in $(EXTRA_HOST_FLAGS); do \
16939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16941 echo "Doing install-info in zlib" ; \
16943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16945 "RANLIB=$${RANLIB}" \
16946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16951 .PHONY: maybe-installcheck-zlib installcheck-zlib
16952 maybe-installcheck-zlib:
16954 installcheck-zlib: \
16956 @[ -f ./zlib/Makefile ] || exit 0; \
16957 r=`${PWD_COMMAND}`; export r; \
16958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16960 for flag in $(EXTRA_HOST_FLAGS); do \
16961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16963 echo "Doing installcheck in zlib" ; \
16965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16967 "RANLIB=$${RANLIB}" \
16968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16973 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
16974 maybe-mostlyclean-zlib:
16977 @[ -f ./zlib/Makefile ] || exit 0; \
16978 r=`${PWD_COMMAND}`; export r; \
16979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16981 for flag in $(EXTRA_HOST_FLAGS); do \
16982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16984 echo "Doing mostlyclean in zlib" ; \
16986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16988 "RANLIB=$${RANLIB}" \
16989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16994 .PHONY: maybe-clean-zlib clean-zlib
16998 @[ -f ./zlib/Makefile ] || exit 0; \
16999 r=`${PWD_COMMAND}`; export r; \
17000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17002 for flag in $(EXTRA_HOST_FLAGS); do \
17003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17005 echo "Doing clean in zlib" ; \
17007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17009 "RANLIB=$${RANLIB}" \
17010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17015 .PHONY: maybe-distclean-zlib distclean-zlib
17016 maybe-distclean-zlib:
17019 @[ -f ./zlib/Makefile ] || exit 0; \
17020 r=`${PWD_COMMAND}`; export r; \
17021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17023 for flag in $(EXTRA_HOST_FLAGS); do \
17024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17026 echo "Doing distclean in zlib" ; \
17028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17030 "RANLIB=$${RANLIB}" \
17031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17036 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
17037 maybe-maintainer-clean-zlib:
17039 maintainer-clean-zlib:
17040 @[ -f ./zlib/Makefile ] || exit 0; \
17041 r=`${PWD_COMMAND}`; export r; \
17042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17044 for flag in $(EXTRA_HOST_FLAGS); do \
17045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17047 echo "Doing maintainer-clean in zlib" ; \
17049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17051 "RANLIB=$${RANLIB}" \
17052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17053 maintainer-clean) \
17058 .PHONY: configure-gdb maybe-configure-gdb
17059 maybe-configure-gdb:
17061 @test ! -f gdb/Makefile || exit 0; \
17062 [ -d gdb ] || mkdir gdb; \
17063 r=`${PWD_COMMAND}`; export r; \
17064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17065 CC="$(CC)"; export CC; \
17066 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17067 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
17068 CXX="$(CXX)"; export CXX; \
17069 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17070 AR="$(AR)"; export AR; \
17071 AS="$(AS)"; export AS; \
17072 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17073 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17074 LD="$(LD)"; export LD; \
17075 NM="$(NM)"; export NM; \
17076 RANLIB="$(RANLIB)"; export RANLIB; \
17077 WINDRES="$(WINDRES)"; export WINDRES; \
17078 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17079 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17080 echo Configuring in gdb; \
17081 cd gdb || exit 1; \
17082 case $(srcdir) in \
17084 srcdiroption="--srcdir=."; \
17086 /* | [A-Za-z]:[\\/]*) \
17087 srcdiroption="--srcdir=$(srcdir)/gdb"; \
17088 libsrcdir="$$s/gdb";; \
17090 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
17091 libsrcdir="$$s/gdb";; \
17093 $(SHELL) $${libsrcdir}/configure \
17094 $(HOST_CONFIGARGS) $${srcdiroption} \
17097 .PHONY: all-gdb maybe-all-gdb
17099 all-gdb: configure-gdb
17100 @r=`${PWD_COMMAND}`; export r; \
17101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17103 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
17105 .PHONY: check-gdb maybe-check-gdb
17109 @r=`${PWD_COMMAND}`; export r; \
17110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17112 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
17115 .PHONY: install-gdb maybe-install-gdb
17118 install-gdb: installdirs
17119 @r=`${PWD_COMMAND}`; export r; \
17120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17122 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
17125 # Other targets (info, dvi, etc.)
17127 .PHONY: maybe-info-gdb info-gdb
17132 @[ -f ./gdb/Makefile ] || exit 0; \
17133 r=`${PWD_COMMAND}`; export r; \
17134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17136 for flag in $(EXTRA_HOST_FLAGS); do \
17137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17139 echo "Doing info in gdb" ; \
17141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17143 "RANLIB=$${RANLIB}" \
17144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17149 .PHONY: maybe-dvi-gdb dvi-gdb
17154 @[ -f ./gdb/Makefile ] || exit 0; \
17155 r=`${PWD_COMMAND}`; export r; \
17156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17158 for flag in $(EXTRA_HOST_FLAGS); do \
17159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17161 echo "Doing dvi in gdb" ; \
17163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17165 "RANLIB=$${RANLIB}" \
17166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17171 .PHONY: maybe-TAGS-gdb TAGS-gdb
17176 @[ -f ./gdb/Makefile ] || exit 0; \
17177 r=`${PWD_COMMAND}`; export r; \
17178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17180 for flag in $(EXTRA_HOST_FLAGS); do \
17181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17183 echo "Doing TAGS in gdb" ; \
17185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17187 "RANLIB=$${RANLIB}" \
17188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17193 .PHONY: maybe-install-info-gdb install-info-gdb
17194 maybe-install-info-gdb:
17196 install-info-gdb: \
17199 @[ -f ./gdb/Makefile ] || exit 0; \
17200 r=`${PWD_COMMAND}`; export r; \
17201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17203 for flag in $(EXTRA_HOST_FLAGS); do \
17204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17206 echo "Doing install-info in gdb" ; \
17208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17210 "RANLIB=$${RANLIB}" \
17211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17216 .PHONY: maybe-installcheck-gdb installcheck-gdb
17217 maybe-installcheck-gdb:
17219 installcheck-gdb: \
17221 @[ -f ./gdb/Makefile ] || exit 0; \
17222 r=`${PWD_COMMAND}`; export r; \
17223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17225 for flag in $(EXTRA_HOST_FLAGS); do \
17226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17228 echo "Doing installcheck in gdb" ; \
17230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17232 "RANLIB=$${RANLIB}" \
17233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17238 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
17239 maybe-mostlyclean-gdb:
17242 @[ -f ./gdb/Makefile ] || exit 0; \
17243 r=`${PWD_COMMAND}`; export r; \
17244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17246 for flag in $(EXTRA_HOST_FLAGS); do \
17247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17249 echo "Doing mostlyclean in gdb" ; \
17251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17253 "RANLIB=$${RANLIB}" \
17254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17259 .PHONY: maybe-clean-gdb clean-gdb
17263 @[ -f ./gdb/Makefile ] || exit 0; \
17264 r=`${PWD_COMMAND}`; export r; \
17265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17267 for flag in $(EXTRA_HOST_FLAGS); do \
17268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17270 echo "Doing clean in gdb" ; \
17272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17274 "RANLIB=$${RANLIB}" \
17275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17280 .PHONY: maybe-distclean-gdb distclean-gdb
17281 maybe-distclean-gdb:
17284 @[ -f ./gdb/Makefile ] || exit 0; \
17285 r=`${PWD_COMMAND}`; export r; \
17286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17288 for flag in $(EXTRA_HOST_FLAGS); do \
17289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17291 echo "Doing distclean in gdb" ; \
17293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17295 "RANLIB=$${RANLIB}" \
17296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17301 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
17302 maybe-maintainer-clean-gdb:
17304 maintainer-clean-gdb:
17305 @[ -f ./gdb/Makefile ] || exit 0; \
17306 r=`${PWD_COMMAND}`; export r; \
17307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17309 for flag in $(EXTRA_HOST_FLAGS); do \
17310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17312 echo "Doing maintainer-clean in gdb" ; \
17314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17316 "RANLIB=$${RANLIB}" \
17317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17318 maintainer-clean) \
17323 .PHONY: configure-expect maybe-configure-expect
17324 maybe-configure-expect:
17326 @test ! -f expect/Makefile || exit 0; \
17327 [ -d expect ] || mkdir expect; \
17328 r=`${PWD_COMMAND}`; export r; \
17329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17330 CC="$(CC)"; export CC; \
17331 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17332 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
17333 CXX="$(CXX)"; export CXX; \
17334 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17335 AR="$(AR)"; export AR; \
17336 AS="$(AS)"; export AS; \
17337 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17338 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17339 LD="$(LD)"; export LD; \
17340 NM="$(NM)"; export NM; \
17341 RANLIB="$(RANLIB)"; export RANLIB; \
17342 WINDRES="$(WINDRES)"; export WINDRES; \
17343 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17344 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17345 echo Configuring in expect; \
17346 cd expect || exit 1; \
17347 case $(srcdir) in \
17349 srcdiroption="--srcdir=."; \
17351 /* | [A-Za-z]:[\\/]*) \
17352 srcdiroption="--srcdir=$(srcdir)/expect"; \
17353 libsrcdir="$$s/expect";; \
17355 srcdiroption="--srcdir=../$(srcdir)/expect"; \
17356 libsrcdir="$$s/expect";; \
17358 $(SHELL) $${libsrcdir}/configure \
17359 $(HOST_CONFIGARGS) $${srcdiroption} \
17362 .PHONY: all-expect maybe-all-expect
17364 all-expect: configure-expect
17365 @r=`${PWD_COMMAND}`; export r; \
17366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17368 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
17370 .PHONY: check-expect maybe-check-expect
17371 maybe-check-expect:
17374 @r=`${PWD_COMMAND}`; export r; \
17375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17377 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
17380 .PHONY: install-expect maybe-install-expect
17381 maybe-install-expect:
17383 install-expect: installdirs
17384 @r=`${PWD_COMMAND}`; export r; \
17385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17387 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
17390 # Other targets (info, dvi, etc.)
17392 .PHONY: maybe-info-expect info-expect
17397 @[ -f ./expect/Makefile ] || exit 0; \
17398 r=`${PWD_COMMAND}`; export r; \
17399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17401 for flag in $(EXTRA_HOST_FLAGS); do \
17402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17404 echo "Doing info in expect" ; \
17406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17408 "RANLIB=$${RANLIB}" \
17409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17414 .PHONY: maybe-dvi-expect dvi-expect
17419 @[ -f ./expect/Makefile ] || exit 0; \
17420 r=`${PWD_COMMAND}`; export r; \
17421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17423 for flag in $(EXTRA_HOST_FLAGS); do \
17424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17426 echo "Doing dvi in expect" ; \
17428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17430 "RANLIB=$${RANLIB}" \
17431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17436 .PHONY: maybe-TAGS-expect TAGS-expect
17441 @[ -f ./expect/Makefile ] || exit 0; \
17442 r=`${PWD_COMMAND}`; export r; \
17443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17445 for flag in $(EXTRA_HOST_FLAGS); do \
17446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17448 echo "Doing TAGS in expect" ; \
17450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17452 "RANLIB=$${RANLIB}" \
17453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17458 .PHONY: maybe-install-info-expect install-info-expect
17459 maybe-install-info-expect:
17461 install-info-expect: \
17464 @[ -f ./expect/Makefile ] || exit 0; \
17465 r=`${PWD_COMMAND}`; export r; \
17466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17468 for flag in $(EXTRA_HOST_FLAGS); do \
17469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17471 echo "Doing install-info in expect" ; \
17473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17475 "RANLIB=$${RANLIB}" \
17476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17481 .PHONY: maybe-installcheck-expect installcheck-expect
17482 maybe-installcheck-expect:
17484 installcheck-expect: \
17486 @[ -f ./expect/Makefile ] || exit 0; \
17487 r=`${PWD_COMMAND}`; export r; \
17488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17490 for flag in $(EXTRA_HOST_FLAGS); do \
17491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17493 echo "Doing installcheck in expect" ; \
17495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17497 "RANLIB=$${RANLIB}" \
17498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17503 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
17504 maybe-mostlyclean-expect:
17506 mostlyclean-expect:
17507 @[ -f ./expect/Makefile ] || exit 0; \
17508 r=`${PWD_COMMAND}`; export r; \
17509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17511 for flag in $(EXTRA_HOST_FLAGS); do \
17512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17514 echo "Doing mostlyclean in expect" ; \
17516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17518 "RANLIB=$${RANLIB}" \
17519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17524 .PHONY: maybe-clean-expect clean-expect
17525 maybe-clean-expect:
17528 @[ -f ./expect/Makefile ] || exit 0; \
17529 r=`${PWD_COMMAND}`; export r; \
17530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17532 for flag in $(EXTRA_HOST_FLAGS); do \
17533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17535 echo "Doing clean in expect" ; \
17537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17539 "RANLIB=$${RANLIB}" \
17540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17545 .PHONY: maybe-distclean-expect distclean-expect
17546 maybe-distclean-expect:
17549 @[ -f ./expect/Makefile ] || exit 0; \
17550 r=`${PWD_COMMAND}`; export r; \
17551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17553 for flag in $(EXTRA_HOST_FLAGS); do \
17554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17556 echo "Doing distclean in expect" ; \
17558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17560 "RANLIB=$${RANLIB}" \
17561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17566 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
17567 maybe-maintainer-clean-expect:
17569 maintainer-clean-expect:
17570 @[ -f ./expect/Makefile ] || exit 0; \
17571 r=`${PWD_COMMAND}`; export r; \
17572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17574 for flag in $(EXTRA_HOST_FLAGS); do \
17575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17577 echo "Doing maintainer-clean in expect" ; \
17579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17581 "RANLIB=$${RANLIB}" \
17582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17583 maintainer-clean) \
17588 .PHONY: configure-guile maybe-configure-guile
17589 maybe-configure-guile:
17591 @test ! -f guile/Makefile || exit 0; \
17592 [ -d guile ] || mkdir guile; \
17593 r=`${PWD_COMMAND}`; export r; \
17594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17595 CC="$(CC)"; export CC; \
17596 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17597 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
17598 CXX="$(CXX)"; export CXX; \
17599 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17600 AR="$(AR)"; export AR; \
17601 AS="$(AS)"; export AS; \
17602 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17603 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17604 LD="$(LD)"; export LD; \
17605 NM="$(NM)"; export NM; \
17606 RANLIB="$(RANLIB)"; export RANLIB; \
17607 WINDRES="$(WINDRES)"; export WINDRES; \
17608 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17609 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17610 echo Configuring in guile; \
17611 cd guile || exit 1; \
17612 case $(srcdir) in \
17614 srcdiroption="--srcdir=."; \
17616 /* | [A-Za-z]:[\\/]*) \
17617 srcdiroption="--srcdir=$(srcdir)/guile"; \
17618 libsrcdir="$$s/guile";; \
17620 srcdiroption="--srcdir=../$(srcdir)/guile"; \
17621 libsrcdir="$$s/guile";; \
17623 $(SHELL) $${libsrcdir}/configure \
17624 $(HOST_CONFIGARGS) $${srcdiroption} \
17627 .PHONY: all-guile maybe-all-guile
17629 all-guile: configure-guile
17630 @r=`${PWD_COMMAND}`; export r; \
17631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17633 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
17635 .PHONY: check-guile maybe-check-guile
17639 @r=`${PWD_COMMAND}`; export r; \
17640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17642 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
17645 .PHONY: install-guile maybe-install-guile
17646 maybe-install-guile:
17648 install-guile: installdirs
17649 @r=`${PWD_COMMAND}`; export r; \
17650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17652 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
17655 # Other targets (info, dvi, etc.)
17657 .PHONY: maybe-info-guile info-guile
17662 @[ -f ./guile/Makefile ] || exit 0; \
17663 r=`${PWD_COMMAND}`; export r; \
17664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17666 for flag in $(EXTRA_HOST_FLAGS); do \
17667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17669 echo "Doing info in guile" ; \
17671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17673 "RANLIB=$${RANLIB}" \
17674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17679 .PHONY: maybe-dvi-guile dvi-guile
17684 @[ -f ./guile/Makefile ] || exit 0; \
17685 r=`${PWD_COMMAND}`; export r; \
17686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17688 for flag in $(EXTRA_HOST_FLAGS); do \
17689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17691 echo "Doing dvi in guile" ; \
17693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17695 "RANLIB=$${RANLIB}" \
17696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17701 .PHONY: maybe-TAGS-guile TAGS-guile
17706 @[ -f ./guile/Makefile ] || exit 0; \
17707 r=`${PWD_COMMAND}`; export r; \
17708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17710 for flag in $(EXTRA_HOST_FLAGS); do \
17711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17713 echo "Doing TAGS in guile" ; \
17715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17717 "RANLIB=$${RANLIB}" \
17718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17723 .PHONY: maybe-install-info-guile install-info-guile
17724 maybe-install-info-guile:
17726 install-info-guile: \
17729 @[ -f ./guile/Makefile ] || exit 0; \
17730 r=`${PWD_COMMAND}`; export r; \
17731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17733 for flag in $(EXTRA_HOST_FLAGS); do \
17734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17736 echo "Doing install-info in guile" ; \
17738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17740 "RANLIB=$${RANLIB}" \
17741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17746 .PHONY: maybe-installcheck-guile installcheck-guile
17747 maybe-installcheck-guile:
17749 installcheck-guile: \
17751 @[ -f ./guile/Makefile ] || exit 0; \
17752 r=`${PWD_COMMAND}`; export r; \
17753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17755 for flag in $(EXTRA_HOST_FLAGS); do \
17756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17758 echo "Doing installcheck in guile" ; \
17760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17762 "RANLIB=$${RANLIB}" \
17763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17768 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
17769 maybe-mostlyclean-guile:
17772 @[ -f ./guile/Makefile ] || exit 0; \
17773 r=`${PWD_COMMAND}`; export r; \
17774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17776 for flag in $(EXTRA_HOST_FLAGS); do \
17777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17779 echo "Doing mostlyclean in guile" ; \
17781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17783 "RANLIB=$${RANLIB}" \
17784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17789 .PHONY: maybe-clean-guile clean-guile
17793 @[ -f ./guile/Makefile ] || exit 0; \
17794 r=`${PWD_COMMAND}`; export r; \
17795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17797 for flag in $(EXTRA_HOST_FLAGS); do \
17798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17800 echo "Doing clean in guile" ; \
17802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17804 "RANLIB=$${RANLIB}" \
17805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17810 .PHONY: maybe-distclean-guile distclean-guile
17811 maybe-distclean-guile:
17814 @[ -f ./guile/Makefile ] || exit 0; \
17815 r=`${PWD_COMMAND}`; export r; \
17816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17818 for flag in $(EXTRA_HOST_FLAGS); do \
17819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17821 echo "Doing distclean in guile" ; \
17823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17825 "RANLIB=$${RANLIB}" \
17826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17831 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
17832 maybe-maintainer-clean-guile:
17834 maintainer-clean-guile:
17835 @[ -f ./guile/Makefile ] || exit 0; \
17836 r=`${PWD_COMMAND}`; export r; \
17837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17839 for flag in $(EXTRA_HOST_FLAGS); do \
17840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17842 echo "Doing maintainer-clean in guile" ; \
17844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17846 "RANLIB=$${RANLIB}" \
17847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17848 maintainer-clean) \
17853 .PHONY: configure-tk maybe-configure-tk
17854 maybe-configure-tk:
17856 @test ! -f tk/Makefile || exit 0; \
17857 [ -d tk ] || mkdir tk; \
17858 r=`${PWD_COMMAND}`; export r; \
17859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17860 CC="$(CC)"; export CC; \
17861 CFLAGS="$(CFLAGS)"; export CFLAGS; \
17862 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
17863 CXX="$(CXX)"; export CXX; \
17864 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
17865 AR="$(AR)"; export AR; \
17866 AS="$(AS)"; export AS; \
17867 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
17868 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
17869 LD="$(LD)"; export LD; \
17870 NM="$(NM)"; export NM; \
17871 RANLIB="$(RANLIB)"; export RANLIB; \
17872 WINDRES="$(WINDRES)"; export WINDRES; \
17873 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
17874 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
17875 echo Configuring in tk; \
17877 case $(srcdir) in \
17879 srcdiroption="--srcdir=."; \
17881 /* | [A-Za-z]:[\\/]*) \
17882 srcdiroption="--srcdir=$(srcdir)/tk"; \
17883 libsrcdir="$$s/tk";; \
17885 srcdiroption="--srcdir=../$(srcdir)/tk"; \
17886 libsrcdir="$$s/tk";; \
17888 $(SHELL) $${libsrcdir}/configure \
17889 $(HOST_CONFIGARGS) $${srcdiroption} \
17892 .PHONY: all-tk maybe-all-tk
17894 all-tk: configure-tk
17895 @r=`${PWD_COMMAND}`; export r; \
17896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17898 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
17900 .PHONY: check-tk maybe-check-tk
17904 @r=`${PWD_COMMAND}`; export r; \
17905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17907 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
17910 .PHONY: install-tk maybe-install-tk
17913 install-tk: installdirs
17914 @r=`${PWD_COMMAND}`; export r; \
17915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17917 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
17920 # Other targets (info, dvi, etc.)
17922 .PHONY: maybe-info-tk info-tk
17927 @[ -f ./tk/Makefile ] || exit 0; \
17928 r=`${PWD_COMMAND}`; export r; \
17929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17931 for flag in $(EXTRA_HOST_FLAGS); do \
17932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17934 echo "Doing info in tk" ; \
17936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17938 "RANLIB=$${RANLIB}" \
17939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17944 .PHONY: maybe-dvi-tk dvi-tk
17949 @[ -f ./tk/Makefile ] || exit 0; \
17950 r=`${PWD_COMMAND}`; export r; \
17951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17953 for flag in $(EXTRA_HOST_FLAGS); do \
17954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17956 echo "Doing dvi in tk" ; \
17958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17960 "RANLIB=$${RANLIB}" \
17961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17966 .PHONY: maybe-TAGS-tk TAGS-tk
17971 @[ -f ./tk/Makefile ] || exit 0; \
17972 r=`${PWD_COMMAND}`; export r; \
17973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17975 for flag in $(EXTRA_HOST_FLAGS); do \
17976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17978 echo "Doing TAGS in tk" ; \
17980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17982 "RANLIB=$${RANLIB}" \
17983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17988 .PHONY: maybe-install-info-tk install-info-tk
17989 maybe-install-info-tk:
17994 @[ -f ./tk/Makefile ] || exit 0; \
17995 r=`${PWD_COMMAND}`; export r; \
17996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17998 for flag in $(EXTRA_HOST_FLAGS); do \
17999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18001 echo "Doing install-info in tk" ; \
18003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18005 "RANLIB=$${RANLIB}" \
18006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18011 .PHONY: maybe-installcheck-tk installcheck-tk
18012 maybe-installcheck-tk:
18016 @[ -f ./tk/Makefile ] || exit 0; \
18017 r=`${PWD_COMMAND}`; export r; \
18018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18020 for flag in $(EXTRA_HOST_FLAGS); do \
18021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18023 echo "Doing installcheck in tk" ; \
18025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18027 "RANLIB=$${RANLIB}" \
18028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18033 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
18034 maybe-mostlyclean-tk:
18037 @[ -f ./tk/Makefile ] || exit 0; \
18038 r=`${PWD_COMMAND}`; export r; \
18039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18041 for flag in $(EXTRA_HOST_FLAGS); do \
18042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18044 echo "Doing mostlyclean in tk" ; \
18046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18048 "RANLIB=$${RANLIB}" \
18049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18054 .PHONY: maybe-clean-tk clean-tk
18058 @[ -f ./tk/Makefile ] || exit 0; \
18059 r=`${PWD_COMMAND}`; export r; \
18060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18062 for flag in $(EXTRA_HOST_FLAGS); do \
18063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18065 echo "Doing clean in tk" ; \
18067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18069 "RANLIB=$${RANLIB}" \
18070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18075 .PHONY: maybe-distclean-tk distclean-tk
18076 maybe-distclean-tk:
18079 @[ -f ./tk/Makefile ] || exit 0; \
18080 r=`${PWD_COMMAND}`; export r; \
18081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18083 for flag in $(EXTRA_HOST_FLAGS); do \
18084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18086 echo "Doing distclean in tk" ; \
18088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18090 "RANLIB=$${RANLIB}" \
18091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18096 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
18097 maybe-maintainer-clean-tk:
18099 maintainer-clean-tk:
18100 @[ -f ./tk/Makefile ] || exit 0; \
18101 r=`${PWD_COMMAND}`; export r; \
18102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18104 for flag in $(EXTRA_HOST_FLAGS); do \
18105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18107 echo "Doing maintainer-clean in tk" ; \
18109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18111 "RANLIB=$${RANLIB}" \
18112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18113 maintainer-clean) \
18118 .PHONY: configure-tix maybe-configure-tix
18119 maybe-configure-tix:
18121 @test ! -f tix/Makefile || exit 0; \
18122 [ -d tix ] || mkdir tix; \
18123 r=`${PWD_COMMAND}`; export r; \
18124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18125 CC="$(CC)"; export CC; \
18126 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18127 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
18128 CXX="$(CXX)"; export CXX; \
18129 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18130 AR="$(AR)"; export AR; \
18131 AS="$(AS)"; export AS; \
18132 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18133 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18134 LD="$(LD)"; export LD; \
18135 NM="$(NM)"; export NM; \
18136 RANLIB="$(RANLIB)"; export RANLIB; \
18137 WINDRES="$(WINDRES)"; export WINDRES; \
18138 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18139 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18140 echo Configuring in tix; \
18141 cd tix || exit 1; \
18142 case $(srcdir) in \
18144 srcdiroption="--srcdir=."; \
18146 /* | [A-Za-z]:[\\/]*) \
18147 srcdiroption="--srcdir=$(srcdir)/tix"; \
18148 libsrcdir="$$s/tix";; \
18150 srcdiroption="--srcdir=../$(srcdir)/tix"; \
18151 libsrcdir="$$s/tix";; \
18153 $(SHELL) $${libsrcdir}/configure \
18154 $(HOST_CONFIGARGS) $${srcdiroption} \
18157 .PHONY: all-tix maybe-all-tix
18159 all-tix: configure-tix
18160 @r=`${PWD_COMMAND}`; export r; \
18161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18163 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
18165 .PHONY: check-tix maybe-check-tix
18169 @r=`${PWD_COMMAND}`; export r; \
18170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18172 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
18175 .PHONY: install-tix maybe-install-tix
18178 install-tix: installdirs
18179 @r=`${PWD_COMMAND}`; export r; \
18180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18182 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
18185 # Other targets (info, dvi, etc.)
18187 .PHONY: maybe-info-tix info-tix
18192 @[ -f ./tix/Makefile ] || exit 0; \
18193 r=`${PWD_COMMAND}`; export r; \
18194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18196 for flag in $(EXTRA_HOST_FLAGS); do \
18197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18199 echo "Doing info in tix" ; \
18201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18203 "RANLIB=$${RANLIB}" \
18204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18209 .PHONY: maybe-dvi-tix dvi-tix
18214 @[ -f ./tix/Makefile ] || exit 0; \
18215 r=`${PWD_COMMAND}`; export r; \
18216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18218 for flag in $(EXTRA_HOST_FLAGS); do \
18219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18221 echo "Doing dvi in tix" ; \
18223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18225 "RANLIB=$${RANLIB}" \
18226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18231 .PHONY: maybe-TAGS-tix TAGS-tix
18236 @[ -f ./tix/Makefile ] || exit 0; \
18237 r=`${PWD_COMMAND}`; export r; \
18238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18240 for flag in $(EXTRA_HOST_FLAGS); do \
18241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18243 echo "Doing TAGS in tix" ; \
18245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18247 "RANLIB=$${RANLIB}" \
18248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18253 .PHONY: maybe-install-info-tix install-info-tix
18254 maybe-install-info-tix:
18256 install-info-tix: \
18259 @[ -f ./tix/Makefile ] || exit 0; \
18260 r=`${PWD_COMMAND}`; export r; \
18261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18263 for flag in $(EXTRA_HOST_FLAGS); do \
18264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18266 echo "Doing install-info in tix" ; \
18268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18270 "RANLIB=$${RANLIB}" \
18271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18276 .PHONY: maybe-installcheck-tix installcheck-tix
18277 maybe-installcheck-tix:
18279 installcheck-tix: \
18281 @[ -f ./tix/Makefile ] || exit 0; \
18282 r=`${PWD_COMMAND}`; export r; \
18283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18285 for flag in $(EXTRA_HOST_FLAGS); do \
18286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18288 echo "Doing installcheck in tix" ; \
18290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18292 "RANLIB=$${RANLIB}" \
18293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18298 .PHONY: maybe-mostlyclean-tix mostlyclean-tix
18299 maybe-mostlyclean-tix:
18302 @[ -f ./tix/Makefile ] || exit 0; \
18303 r=`${PWD_COMMAND}`; export r; \
18304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18306 for flag in $(EXTRA_HOST_FLAGS); do \
18307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18309 echo "Doing mostlyclean in tix" ; \
18311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18313 "RANLIB=$${RANLIB}" \
18314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18319 .PHONY: maybe-clean-tix clean-tix
18323 @[ -f ./tix/Makefile ] || exit 0; \
18324 r=`${PWD_COMMAND}`; export r; \
18325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18327 for flag in $(EXTRA_HOST_FLAGS); do \
18328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18330 echo "Doing clean in tix" ; \
18332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18334 "RANLIB=$${RANLIB}" \
18335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18340 .PHONY: maybe-distclean-tix distclean-tix
18341 maybe-distclean-tix:
18344 @[ -f ./tix/Makefile ] || exit 0; \
18345 r=`${PWD_COMMAND}`; export r; \
18346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18348 for flag in $(EXTRA_HOST_FLAGS); do \
18349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18351 echo "Doing distclean in tix" ; \
18353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18355 "RANLIB=$${RANLIB}" \
18356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18361 .PHONY: maybe-maintainer-clean-tix maintainer-clean-tix
18362 maybe-maintainer-clean-tix:
18364 maintainer-clean-tix:
18365 @[ -f ./tix/Makefile ] || exit 0; \
18366 r=`${PWD_COMMAND}`; export r; \
18367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18369 for flag in $(EXTRA_HOST_FLAGS); do \
18370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18372 echo "Doing maintainer-clean in tix" ; \
18374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18376 "RANLIB=$${RANLIB}" \
18377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18378 maintainer-clean) \
18383 .PHONY: configure-libtermcap maybe-configure-libtermcap
18384 maybe-configure-libtermcap:
18385 configure-libtermcap:
18386 @test ! -f libtermcap/Makefile || exit 0; \
18387 [ -d libtermcap ] || mkdir libtermcap; \
18388 r=`${PWD_COMMAND}`; export r; \
18389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18390 CC="$(CC)"; export CC; \
18391 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18392 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
18393 CXX="$(CXX)"; export CXX; \
18394 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18395 AR="$(AR)"; export AR; \
18396 AS="$(AS)"; export AS; \
18397 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18398 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18399 LD="$(LD)"; export LD; \
18400 NM="$(NM)"; export NM; \
18401 RANLIB="$(RANLIB)"; export RANLIB; \
18402 WINDRES="$(WINDRES)"; export WINDRES; \
18403 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18404 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18405 echo Configuring in libtermcap; \
18406 cd libtermcap || exit 1; \
18407 case $(srcdir) in \
18409 srcdiroption="--srcdir=."; \
18411 /* | [A-Za-z]:[\\/]*) \
18412 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
18413 libsrcdir="$$s/libtermcap";; \
18415 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
18416 libsrcdir="$$s/libtermcap";; \
18418 $(SHELL) $${libsrcdir}/configure \
18419 $(HOST_CONFIGARGS) $${srcdiroption} \
18422 .PHONY: all-libtermcap maybe-all-libtermcap
18423 maybe-all-libtermcap:
18424 all-libtermcap: configure-libtermcap
18425 @r=`${PWD_COMMAND}`; export r; \
18426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18428 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) all)
18430 .PHONY: check-libtermcap maybe-check-libtermcap
18431 maybe-check-libtermcap:
18436 .PHONY: install-libtermcap maybe-install-libtermcap
18437 maybe-install-libtermcap:
18439 install-libtermcap: installdirs
18440 @r=`${PWD_COMMAND}`; export r; \
18441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18443 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
18446 # Other targets (info, dvi, etc.)
18448 .PHONY: maybe-info-libtermcap info-libtermcap
18449 maybe-info-libtermcap:
18452 configure-libtermcap
18453 @[ -f ./libtermcap/Makefile ] || exit 0; \
18454 r=`${PWD_COMMAND}`; export r; \
18455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18457 for flag in $(EXTRA_HOST_FLAGS); do \
18458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18460 echo "Doing info in libtermcap" ; \
18461 (cd libtermcap && \
18462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18464 "RANLIB=$${RANLIB}" \
18465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18470 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
18471 maybe-dvi-libtermcap:
18474 configure-libtermcap
18475 @[ -f ./libtermcap/Makefile ] || exit 0; \
18476 r=`${PWD_COMMAND}`; export r; \
18477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18479 for flag in $(EXTRA_HOST_FLAGS); do \
18480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18482 echo "Doing dvi in libtermcap" ; \
18483 (cd libtermcap && \
18484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18486 "RANLIB=$${RANLIB}" \
18487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18492 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
18493 maybe-TAGS-libtermcap:
18496 configure-libtermcap
18497 @[ -f ./libtermcap/Makefile ] || exit 0; \
18498 r=`${PWD_COMMAND}`; export r; \
18499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18501 for flag in $(EXTRA_HOST_FLAGS); do \
18502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18504 echo "Doing TAGS in libtermcap" ; \
18505 (cd libtermcap && \
18506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18508 "RANLIB=$${RANLIB}" \
18509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18514 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
18515 maybe-install-info-libtermcap:
18517 install-info-libtermcap: \
18518 configure-libtermcap \
18520 @[ -f ./libtermcap/Makefile ] || exit 0; \
18521 r=`${PWD_COMMAND}`; export r; \
18522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18524 for flag in $(EXTRA_HOST_FLAGS); do \
18525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18527 echo "Doing install-info in libtermcap" ; \
18528 (cd libtermcap && \
18529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18531 "RANLIB=$${RANLIB}" \
18532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18537 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
18538 maybe-installcheck-libtermcap:
18540 installcheck-libtermcap: \
18541 configure-libtermcap
18542 @[ -f ./libtermcap/Makefile ] || exit 0; \
18543 r=`${PWD_COMMAND}`; export r; \
18544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18546 for flag in $(EXTRA_HOST_FLAGS); do \
18547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18549 echo "Doing installcheck in libtermcap" ; \
18550 (cd libtermcap && \
18551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18553 "RANLIB=$${RANLIB}" \
18554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18559 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
18560 maybe-mostlyclean-libtermcap:
18562 # libtermcap doesn't support mostlyclean.
18563 mostlyclean-libtermcap:
18566 .PHONY: maybe-clean-libtermcap clean-libtermcap
18567 maybe-clean-libtermcap:
18569 # libtermcap doesn't support clean.
18573 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
18574 maybe-distclean-libtermcap:
18576 # libtermcap doesn't support distclean.
18577 distclean-libtermcap:
18580 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
18581 maybe-maintainer-clean-libtermcap:
18583 # libtermcap doesn't support maintainer-clean.
18584 maintainer-clean-libtermcap:
18588 .PHONY: configure-utils maybe-configure-utils
18589 maybe-configure-utils:
18591 @test ! -f utils/Makefile || exit 0; \
18592 [ -d utils ] || mkdir utils; \
18593 r=`${PWD_COMMAND}`; export r; \
18594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18595 CC="$(CC)"; export CC; \
18596 CFLAGS="$(CFLAGS)"; export CFLAGS; \
18597 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
18598 CXX="$(CXX)"; export CXX; \
18599 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
18600 AR="$(AR)"; export AR; \
18601 AS="$(AS)"; export AS; \
18602 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
18603 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
18604 LD="$(LD)"; export LD; \
18605 NM="$(NM)"; export NM; \
18606 RANLIB="$(RANLIB)"; export RANLIB; \
18607 WINDRES="$(WINDRES)"; export WINDRES; \
18608 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
18609 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
18610 echo Configuring in utils; \
18611 cd utils || exit 1; \
18612 case $(srcdir) in \
18614 srcdiroption="--srcdir=."; \
18616 /* | [A-Za-z]:[\\/]*) \
18617 srcdiroption="--srcdir=$(srcdir)/utils"; \
18618 libsrcdir="$$s/utils";; \
18620 srcdiroption="--srcdir=../$(srcdir)/utils"; \
18621 libsrcdir="$$s/utils";; \
18623 $(SHELL) $${libsrcdir}/configure \
18624 $(HOST_CONFIGARGS) $${srcdiroption} \
18627 .PHONY: all-utils maybe-all-utils
18629 all-utils: configure-utils
18630 @r=`${PWD_COMMAND}`; export r; \
18631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18633 (cd utils && $(MAKE) $(FLAGS_TO_PASS) all)
18635 .PHONY: check-utils maybe-check-utils
18641 .PHONY: install-utils maybe-install-utils
18642 maybe-install-utils:
18644 install-utils: installdirs
18645 @r=`${PWD_COMMAND}`; export r; \
18646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18648 (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
18651 # Other targets (info, dvi, etc.)
18653 .PHONY: maybe-info-utils info-utils
18658 @[ -f ./utils/Makefile ] || exit 0; \
18659 r=`${PWD_COMMAND}`; export r; \
18660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18662 for flag in $(EXTRA_HOST_FLAGS); do \
18663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18665 echo "Doing info in utils" ; \
18667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18669 "RANLIB=$${RANLIB}" \
18670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18675 .PHONY: maybe-dvi-utils dvi-utils
18680 @[ -f ./utils/Makefile ] || exit 0; \
18681 r=`${PWD_COMMAND}`; export r; \
18682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18684 for flag in $(EXTRA_HOST_FLAGS); do \
18685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18687 echo "Doing dvi in utils" ; \
18689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18691 "RANLIB=$${RANLIB}" \
18692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18697 .PHONY: maybe-TAGS-utils TAGS-utils
18702 @[ -f ./utils/Makefile ] || exit 0; \
18703 r=`${PWD_COMMAND}`; export r; \
18704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18706 for flag in $(EXTRA_HOST_FLAGS); do \
18707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18709 echo "Doing TAGS in utils" ; \
18711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18713 "RANLIB=$${RANLIB}" \
18714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18719 .PHONY: maybe-install-info-utils install-info-utils
18720 maybe-install-info-utils:
18722 install-info-utils: \
18725 @[ -f ./utils/Makefile ] || exit 0; \
18726 r=`${PWD_COMMAND}`; export r; \
18727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18729 for flag in $(EXTRA_HOST_FLAGS); do \
18730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18732 echo "Doing install-info in utils" ; \
18734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18736 "RANLIB=$${RANLIB}" \
18737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18742 .PHONY: maybe-installcheck-utils installcheck-utils
18743 maybe-installcheck-utils:
18745 installcheck-utils: \
18747 @[ -f ./utils/Makefile ] || exit 0; \
18748 r=`${PWD_COMMAND}`; export r; \
18749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18751 for flag in $(EXTRA_HOST_FLAGS); do \
18752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18754 echo "Doing installcheck in utils" ; \
18756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18758 "RANLIB=$${RANLIB}" \
18759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18764 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
18765 maybe-mostlyclean-utils:
18768 @[ -f ./utils/Makefile ] || exit 0; \
18769 r=`${PWD_COMMAND}`; export r; \
18770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18772 for flag in $(EXTRA_HOST_FLAGS); do \
18773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18775 echo "Doing mostlyclean in utils" ; \
18777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18779 "RANLIB=$${RANLIB}" \
18780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18785 .PHONY: maybe-clean-utils clean-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 clean 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-distclean-utils distclean-utils
18807 maybe-distclean-utils:
18810 @[ -f ./utils/Makefile ] || exit 0; \
18811 r=`${PWD_COMMAND}`; export r; \
18812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18814 for flag in $(EXTRA_HOST_FLAGS); do \
18815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18817 echo "Doing distclean in utils" ; \
18819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18821 "RANLIB=$${RANLIB}" \
18822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18827 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
18828 maybe-maintainer-clean-utils:
18830 maintainer-clean-utils:
18831 @[ -f ./utils/Makefile ] || exit 0; \
18832 r=`${PWD_COMMAND}`; export r; \
18833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18835 for flag in $(EXTRA_HOST_FLAGS); do \
18836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18838 echo "Doing maintainer-clean in utils" ; \
18840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18842 "RANLIB=$${RANLIB}" \
18843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18844 maintainer-clean) \
18850 # ---------------------------------------
18851 # Modules which run on the target machine
18852 # ---------------------------------------
18854 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
18855 maybe-configure-target-libstdc++-v3:
18857 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
18858 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
18859 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
18860 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
18861 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
18863 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
18864 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
18865 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
18866 r=`${PWD_COMMAND}`; export r; \
18867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18869 AR="$(AR_FOR_TARGET)"; export AR; \
18870 AS="$(AS_FOR_TARGET)"; export AS; \
18871 CC="$(CC_FOR_TARGET)"; export CC; \
18872 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
18873 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
18874 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
18875 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
18876 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \
18877 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
18878 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
18879 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
18880 LD="$(LD_FOR_TARGET)"; export LD; \
18881 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
18882 NM="$(NM_FOR_TARGET)"; export NM; \
18883 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
18884 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
18885 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
18886 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
18887 case $(srcdir) in \
18888 /* | [A-Za-z]:[\\/]*) \
18889 topdir=$(srcdir) ;; \
18891 case "$(TARGET_SUBDIR)" in \
18892 .) topdir="../$(srcdir)" ;; \
18893 *) topdir="../../$(srcdir)" ;; \
18896 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
18897 libsrcdir="$$s/libstdc++-v3"; \
18898 rm -f no-such-file || : ; \
18899 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
18900 $(TARGET_CONFIGARGS) $${srcdiroption} \
18901 --with-target-subdir="$(TARGET_SUBDIR)" \
18904 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
18905 maybe-all-target-libstdc++-v3:
18906 all-target-libstdc++-v3: configure-target-libstdc++-v3
18907 @r=`${PWD_COMMAND}`; export r; \
18908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18910 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
18911 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
18913 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
18914 maybe-check-target-libstdc++-v3:
18916 check-target-libstdc++-v3:
18917 @r=`${PWD_COMMAND}`; export r; \
18918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18920 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
18921 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
18924 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
18925 maybe-install-target-libstdc++-v3:
18927 install-target-libstdc++-v3: installdirs
18928 @r=`${PWD_COMMAND}`; export r; \
18929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18931 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
18932 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
18935 # Other targets (info, dvi, etc.)
18937 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
18938 maybe-info-target-libstdc++-v3:
18940 info-target-libstdc++-v3: \
18941 configure-target-libstdc++-v3
18942 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
18943 r=`${PWD_COMMAND}`; export r; \
18944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18946 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
18947 for flag in $(EXTRA_TARGET_FLAGS); do \
18948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18950 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
18951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18953 "RANLIB=$${RANLIB}" \
18954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18959 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
18960 maybe-dvi-target-libstdc++-v3:
18962 dvi-target-libstdc++-v3: \
18963 configure-target-libstdc++-v3
18964 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
18965 r=`${PWD_COMMAND}`; export r; \
18966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18968 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
18969 for flag in $(EXTRA_TARGET_FLAGS); do \
18970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18972 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
18973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18975 "RANLIB=$${RANLIB}" \
18976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18981 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
18982 maybe-TAGS-target-libstdc++-v3:
18984 TAGS-target-libstdc++-v3: \
18985 configure-target-libstdc++-v3
18986 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
18987 r=`${PWD_COMMAND}`; export r; \
18988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18990 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
18991 for flag in $(EXTRA_TARGET_FLAGS); do \
18992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18994 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
18995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18997 "RANLIB=$${RANLIB}" \
18998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19003 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
19004 maybe-install-info-target-libstdc++-v3:
19006 install-info-target-libstdc++-v3: \
19007 configure-target-libstdc++-v3 \
19008 info-target-libstdc++-v3
19009 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19010 r=`${PWD_COMMAND}`; export r; \
19011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19013 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19014 for flag in $(EXTRA_TARGET_FLAGS); do \
19015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19017 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19020 "RANLIB=$${RANLIB}" \
19021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19026 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
19027 maybe-installcheck-target-libstdc++-v3:
19029 installcheck-target-libstdc++-v3: \
19030 configure-target-libstdc++-v3
19031 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19032 r=`${PWD_COMMAND}`; export r; \
19033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19035 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19036 for flag in $(EXTRA_TARGET_FLAGS); do \
19037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19039 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19042 "RANLIB=$${RANLIB}" \
19043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19048 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
19049 maybe-mostlyclean-target-libstdc++-v3:
19051 mostlyclean-target-libstdc++-v3:
19052 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19053 r=`${PWD_COMMAND}`; export r; \
19054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19056 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19057 for flag in $(EXTRA_TARGET_FLAGS); do \
19058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19060 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19063 "RANLIB=$${RANLIB}" \
19064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19069 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
19070 maybe-clean-target-libstdc++-v3:
19072 clean-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 clean 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-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
19091 maybe-distclean-target-libstdc++-v3:
19093 distclean-target-libstdc++-v3:
19094 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19095 r=`${PWD_COMMAND}`; export r; \
19096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19098 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19099 for flag in $(EXTRA_TARGET_FLAGS); do \
19100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19102 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19105 "RANLIB=$${RANLIB}" \
19106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19111 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
19112 maybe-maintainer-clean-target-libstdc++-v3:
19114 maintainer-clean-target-libstdc++-v3:
19115 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
19116 r=`${PWD_COMMAND}`; export r; \
19117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19119 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
19120 for flag in $(EXTRA_TARGET_FLAGS); do \
19121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19123 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
19124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19126 "RANLIB=$${RANLIB}" \
19127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19128 maintainer-clean) \
19133 .PHONY: configure-target-newlib maybe-configure-target-newlib
19134 maybe-configure-target-newlib:
19136 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
19137 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
19138 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
19139 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
19140 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
19142 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
19143 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
19144 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
19145 r=`${PWD_COMMAND}`; export r; \
19146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19148 AR="$(AR_FOR_TARGET)"; export AR; \
19149 AS="$(AS_FOR_TARGET)"; export AS; \
19150 CC="$(CC_FOR_TARGET)"; export CC; \
19151 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
19152 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
19153 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
19154 CXX="$(CXX_FOR_TARGET)"; export CXX; \
19155 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
19156 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
19157 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
19158 LD="$(LD_FOR_TARGET)"; export LD; \
19159 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
19160 NM="$(NM_FOR_TARGET)"; export NM; \
19161 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
19162 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
19163 echo Configuring in $(TARGET_SUBDIR)/newlib; \
19164 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
19165 case $(srcdir) in \
19166 /* | [A-Za-z]:[\\/]*) \
19167 topdir=$(srcdir) ;; \
19169 case "$(TARGET_SUBDIR)" in \
19170 .) topdir="../$(srcdir)" ;; \
19171 *) topdir="../../$(srcdir)" ;; \
19174 srcdiroption="--srcdir=$${topdir}/newlib"; \
19175 libsrcdir="$$s/newlib"; \
19176 rm -f no-such-file || : ; \
19177 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
19178 $(TARGET_CONFIGARGS) $${srcdiroption} \
19179 --with-target-subdir="$(TARGET_SUBDIR)" \
19182 .PHONY: all-target-newlib maybe-all-target-newlib
19183 maybe-all-target-newlib:
19184 all-target-newlib: configure-target-newlib
19185 @r=`${PWD_COMMAND}`; export r; \
19186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19188 (cd $(TARGET_SUBDIR)/newlib && \
19189 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
19191 .PHONY: check-target-newlib maybe-check-target-newlib
19192 maybe-check-target-newlib:
19194 check-target-newlib:
19195 @r=`${PWD_COMMAND}`; export r; \
19196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19198 (cd $(TARGET_SUBDIR)/newlib && \
19199 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
19202 .PHONY: install-target-newlib maybe-install-target-newlib
19203 maybe-install-target-newlib:
19205 install-target-newlib: installdirs
19206 @r=`${PWD_COMMAND}`; export r; \
19207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19209 (cd $(TARGET_SUBDIR)/newlib && \
19210 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
19213 # Other targets (info, dvi, etc.)
19215 .PHONY: maybe-info-target-newlib info-target-newlib
19216 maybe-info-target-newlib:
19218 info-target-newlib: \
19219 configure-target-newlib
19220 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19221 r=`${PWD_COMMAND}`; export r; \
19222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19224 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
19225 for flag in $(EXTRA_TARGET_FLAGS); do \
19226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19228 (cd $(TARGET_SUBDIR)/newlib && \
19229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19231 "RANLIB=$${RANLIB}" \
19232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19237 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
19238 maybe-dvi-target-newlib:
19240 dvi-target-newlib: \
19241 configure-target-newlib
19242 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19243 r=`${PWD_COMMAND}`; export r; \
19244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19246 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
19247 for flag in $(EXTRA_TARGET_FLAGS); do \
19248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19250 (cd $(TARGET_SUBDIR)/newlib && \
19251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19253 "RANLIB=$${RANLIB}" \
19254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19259 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
19260 maybe-TAGS-target-newlib:
19262 TAGS-target-newlib: \
19263 configure-target-newlib
19264 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19265 r=`${PWD_COMMAND}`; export r; \
19266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19268 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
19269 for flag in $(EXTRA_TARGET_FLAGS); do \
19270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19272 (cd $(TARGET_SUBDIR)/newlib && \
19273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19275 "RANLIB=$${RANLIB}" \
19276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19281 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
19282 maybe-install-info-target-newlib:
19284 install-info-target-newlib: \
19285 configure-target-newlib \
19287 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19288 r=`${PWD_COMMAND}`; export r; \
19289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19291 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
19292 for flag in $(EXTRA_TARGET_FLAGS); do \
19293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19295 (cd $(TARGET_SUBDIR)/newlib && \
19296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19298 "RANLIB=$${RANLIB}" \
19299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19304 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
19305 maybe-installcheck-target-newlib:
19307 installcheck-target-newlib: \
19308 configure-target-newlib
19309 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19310 r=`${PWD_COMMAND}`; export r; \
19311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19313 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
19314 for flag in $(EXTRA_TARGET_FLAGS); do \
19315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19317 (cd $(TARGET_SUBDIR)/newlib && \
19318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19320 "RANLIB=$${RANLIB}" \
19321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19326 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
19327 maybe-mostlyclean-target-newlib:
19329 mostlyclean-target-newlib:
19330 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19331 r=`${PWD_COMMAND}`; export r; \
19332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19334 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
19335 for flag in $(EXTRA_TARGET_FLAGS); do \
19336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19338 (cd $(TARGET_SUBDIR)/newlib && \
19339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19341 "RANLIB=$${RANLIB}" \
19342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19347 .PHONY: maybe-clean-target-newlib clean-target-newlib
19348 maybe-clean-target-newlib:
19350 clean-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 clean 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-distclean-target-newlib distclean-target-newlib
19369 maybe-distclean-target-newlib:
19371 distclean-target-newlib:
19372 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19373 r=`${PWD_COMMAND}`; export r; \
19374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19376 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
19377 for flag in $(EXTRA_TARGET_FLAGS); do \
19378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19380 (cd $(TARGET_SUBDIR)/newlib && \
19381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19383 "RANLIB=$${RANLIB}" \
19384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19389 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
19390 maybe-maintainer-clean-target-newlib:
19392 maintainer-clean-target-newlib:
19393 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
19394 r=`${PWD_COMMAND}`; export r; \
19395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19397 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
19398 for flag in $(EXTRA_TARGET_FLAGS); do \
19399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19401 (cd $(TARGET_SUBDIR)/newlib && \
19402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19404 "RANLIB=$${RANLIB}" \
19405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19406 maintainer-clean) \
19411 .PHONY: configure-target-libf2c maybe-configure-target-libf2c
19412 maybe-configure-target-libf2c:
19414 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
19415 $(TARGET_SUBDIR)/libf2c/multilib.out: multilib.out
19416 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libf2c ; \
19417 rm -f $(TARGET_SUBDIR)/libf2c/Makefile || : ; \
19418 cp multilib.out $(TARGET_SUBDIR)/libf2c/multilib.out
19420 configure-target-libf2c: $(TARGET_SUBDIR)/libf2c/multilib.out
19421 @test ! -f $(TARGET_SUBDIR)/libf2c/Makefile || exit 0; \
19422 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libf2c ; \
19423 r=`${PWD_COMMAND}`; export r; \
19424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19426 AR="$(AR_FOR_TARGET)"; export AR; \
19427 AS="$(AS_FOR_TARGET)"; export AS; \
19428 CC="$(CC_FOR_TARGET)"; export CC; \
19429 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
19430 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
19431 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
19432 CXX="$(CXX_FOR_TARGET)"; export CXX; \
19433 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
19434 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
19435 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
19436 LD="$(LD_FOR_TARGET)"; export LD; \
19437 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
19438 NM="$(NM_FOR_TARGET)"; export NM; \
19439 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
19440 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
19441 echo Configuring in $(TARGET_SUBDIR)/libf2c; \
19442 cd "$(TARGET_SUBDIR)/libf2c" || exit 1; \
19443 case $(srcdir) in \
19444 /* | [A-Za-z]:[\\/]*) \
19445 topdir=$(srcdir) ;; \
19447 case "$(TARGET_SUBDIR)" in \
19448 .) topdir="../$(srcdir)" ;; \
19449 *) topdir="../../$(srcdir)" ;; \
19452 srcdiroption="--srcdir=$${topdir}/libf2c"; \
19453 libsrcdir="$$s/libf2c"; \
19454 rm -f no-such-file || : ; \
19455 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
19456 $(TARGET_CONFIGARGS) $${srcdiroption} \
19457 --with-target-subdir="$(TARGET_SUBDIR)" \
19460 .PHONY: all-target-libf2c maybe-all-target-libf2c
19461 maybe-all-target-libf2c:
19462 all-target-libf2c: configure-target-libf2c
19463 @r=`${PWD_COMMAND}`; export r; \
19464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19466 (cd $(TARGET_SUBDIR)/libf2c && \
19467 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
19469 .PHONY: check-target-libf2c maybe-check-target-libf2c
19470 maybe-check-target-libf2c:
19472 check-target-libf2c:
19473 @r=`${PWD_COMMAND}`; export r; \
19474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19476 (cd $(TARGET_SUBDIR)/libf2c && \
19477 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
19480 .PHONY: install-target-libf2c maybe-install-target-libf2c
19481 maybe-install-target-libf2c:
19483 install-target-libf2c: installdirs
19484 @r=`${PWD_COMMAND}`; export r; \
19485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19487 (cd $(TARGET_SUBDIR)/libf2c && \
19488 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
19491 # Other targets (info, dvi, etc.)
19493 .PHONY: maybe-info-target-libf2c info-target-libf2c
19494 maybe-info-target-libf2c:
19496 info-target-libf2c: \
19497 configure-target-libf2c
19498 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
19499 r=`${PWD_COMMAND}`; export r; \
19500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19502 echo "Doing info in $(TARGET_SUBDIR)/libf2c" ; \
19503 for flag in $(EXTRA_TARGET_FLAGS); do \
19504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19506 (cd $(TARGET_SUBDIR)/libf2c && \
19507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19509 "RANLIB=$${RANLIB}" \
19510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19515 .PHONY: maybe-dvi-target-libf2c dvi-target-libf2c
19516 maybe-dvi-target-libf2c:
19518 dvi-target-libf2c: \
19519 configure-target-libf2c
19520 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
19521 r=`${PWD_COMMAND}`; export r; \
19522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19524 echo "Doing dvi in $(TARGET_SUBDIR)/libf2c" ; \
19525 for flag in $(EXTRA_TARGET_FLAGS); do \
19526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19528 (cd $(TARGET_SUBDIR)/libf2c && \
19529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19531 "RANLIB=$${RANLIB}" \
19532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19537 .PHONY: maybe-TAGS-target-libf2c TAGS-target-libf2c
19538 maybe-TAGS-target-libf2c:
19540 TAGS-target-libf2c: \
19541 configure-target-libf2c
19542 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
19543 r=`${PWD_COMMAND}`; export r; \
19544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19546 echo "Doing TAGS in $(TARGET_SUBDIR)/libf2c" ; \
19547 for flag in $(EXTRA_TARGET_FLAGS); do \
19548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19550 (cd $(TARGET_SUBDIR)/libf2c && \
19551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19553 "RANLIB=$${RANLIB}" \
19554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19559 .PHONY: maybe-install-info-target-libf2c install-info-target-libf2c
19560 maybe-install-info-target-libf2c:
19562 install-info-target-libf2c: \
19563 configure-target-libf2c \
19565 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
19566 r=`${PWD_COMMAND}`; export r; \
19567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19569 echo "Doing install-info in $(TARGET_SUBDIR)/libf2c" ; \
19570 for flag in $(EXTRA_TARGET_FLAGS); do \
19571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19573 (cd $(TARGET_SUBDIR)/libf2c && \
19574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19576 "RANLIB=$${RANLIB}" \
19577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19582 .PHONY: maybe-installcheck-target-libf2c installcheck-target-libf2c
19583 maybe-installcheck-target-libf2c:
19585 installcheck-target-libf2c: \
19586 configure-target-libf2c
19587 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
19588 r=`${PWD_COMMAND}`; export r; \
19589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19591 echo "Doing installcheck in $(TARGET_SUBDIR)/libf2c" ; \
19592 for flag in $(EXTRA_TARGET_FLAGS); do \
19593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19595 (cd $(TARGET_SUBDIR)/libf2c && \
19596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19598 "RANLIB=$${RANLIB}" \
19599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19604 .PHONY: maybe-mostlyclean-target-libf2c mostlyclean-target-libf2c
19605 maybe-mostlyclean-target-libf2c:
19607 mostlyclean-target-libf2c:
19608 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
19609 r=`${PWD_COMMAND}`; export r; \
19610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19612 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libf2c" ; \
19613 for flag in $(EXTRA_TARGET_FLAGS); do \
19614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19616 (cd $(TARGET_SUBDIR)/libf2c && \
19617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19619 "RANLIB=$${RANLIB}" \
19620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19625 .PHONY: maybe-clean-target-libf2c clean-target-libf2c
19626 maybe-clean-target-libf2c:
19628 clean-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 clean 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-distclean-target-libf2c distclean-target-libf2c
19647 maybe-distclean-target-libf2c:
19649 distclean-target-libf2c:
19650 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
19651 r=`${PWD_COMMAND}`; export r; \
19652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19654 echo "Doing distclean in $(TARGET_SUBDIR)/libf2c" ; \
19655 for flag in $(EXTRA_TARGET_FLAGS); do \
19656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19658 (cd $(TARGET_SUBDIR)/libf2c && \
19659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19661 "RANLIB=$${RANLIB}" \
19662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19667 .PHONY: maybe-maintainer-clean-target-libf2c maintainer-clean-target-libf2c
19668 maybe-maintainer-clean-target-libf2c:
19670 maintainer-clean-target-libf2c:
19671 @[ -f $(TARGET_SUBDIR)/libf2c/Makefile ] || exit 0 ; \
19672 r=`${PWD_COMMAND}`; export r; \
19673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19675 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libf2c" ; \
19676 for flag in $(EXTRA_TARGET_FLAGS); do \
19677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19679 (cd $(TARGET_SUBDIR)/libf2c && \
19680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19682 "RANLIB=$${RANLIB}" \
19683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19684 maintainer-clean) \
19689 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
19690 maybe-configure-target-libobjc:
19692 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
19693 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
19694 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
19695 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
19696 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
19698 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
19699 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
19700 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
19701 r=`${PWD_COMMAND}`; export r; \
19702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19704 AR="$(AR_FOR_TARGET)"; export AR; \
19705 AS="$(AS_FOR_TARGET)"; export AS; \
19706 CC="$(CC_FOR_TARGET)"; export CC; \
19707 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
19708 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
19709 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
19710 CXX="$(CXX_FOR_TARGET)"; export CXX; \
19711 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
19712 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
19713 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
19714 LD="$(LD_FOR_TARGET)"; export LD; \
19715 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
19716 NM="$(NM_FOR_TARGET)"; export NM; \
19717 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
19718 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
19719 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
19720 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
19721 case $(srcdir) in \
19722 /* | [A-Za-z]:[\\/]*) \
19723 topdir=$(srcdir) ;; \
19725 case "$(TARGET_SUBDIR)" in \
19726 .) topdir="../$(srcdir)" ;; \
19727 *) topdir="../../$(srcdir)" ;; \
19730 srcdiroption="--srcdir=$${topdir}/libobjc"; \
19731 libsrcdir="$$s/libobjc"; \
19732 rm -f no-such-file || : ; \
19733 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
19734 $(TARGET_CONFIGARGS) $${srcdiroption} \
19735 --with-target-subdir="$(TARGET_SUBDIR)" \
19738 .PHONY: all-target-libobjc maybe-all-target-libobjc
19739 maybe-all-target-libobjc:
19740 all-target-libobjc: configure-target-libobjc
19741 @r=`${PWD_COMMAND}`; export r; \
19742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19744 (cd $(TARGET_SUBDIR)/libobjc && \
19745 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
19747 .PHONY: check-target-libobjc maybe-check-target-libobjc
19748 maybe-check-target-libobjc:
19750 check-target-libobjc:
19751 @r=`${PWD_COMMAND}`; export r; \
19752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19754 (cd $(TARGET_SUBDIR)/libobjc && \
19755 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
19758 .PHONY: install-target-libobjc maybe-install-target-libobjc
19759 maybe-install-target-libobjc:
19761 install-target-libobjc: installdirs
19762 @r=`${PWD_COMMAND}`; export r; \
19763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19765 (cd $(TARGET_SUBDIR)/libobjc && \
19766 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
19769 # Other targets (info, dvi, etc.)
19771 .PHONY: maybe-info-target-libobjc info-target-libobjc
19772 maybe-info-target-libobjc:
19774 info-target-libobjc: \
19775 configure-target-libobjc
19776 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
19777 r=`${PWD_COMMAND}`; export r; \
19778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19780 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
19781 for flag in $(EXTRA_TARGET_FLAGS); do \
19782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19784 (cd $(TARGET_SUBDIR)/libobjc && \
19785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19787 "RANLIB=$${RANLIB}" \
19788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19793 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
19794 maybe-dvi-target-libobjc:
19796 dvi-target-libobjc: \
19797 configure-target-libobjc
19798 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
19799 r=`${PWD_COMMAND}`; export r; \
19800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19802 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
19803 for flag in $(EXTRA_TARGET_FLAGS); do \
19804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19806 (cd $(TARGET_SUBDIR)/libobjc && \
19807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19809 "RANLIB=$${RANLIB}" \
19810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19815 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
19816 maybe-TAGS-target-libobjc:
19818 TAGS-target-libobjc: \
19819 configure-target-libobjc
19820 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
19821 r=`${PWD_COMMAND}`; export r; \
19822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19824 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
19825 for flag in $(EXTRA_TARGET_FLAGS); do \
19826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19828 (cd $(TARGET_SUBDIR)/libobjc && \
19829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19831 "RANLIB=$${RANLIB}" \
19832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19837 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
19838 maybe-install-info-target-libobjc:
19840 install-info-target-libobjc: \
19841 configure-target-libobjc \
19842 info-target-libobjc
19843 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
19844 r=`${PWD_COMMAND}`; export r; \
19845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19847 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
19848 for flag in $(EXTRA_TARGET_FLAGS); do \
19849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19851 (cd $(TARGET_SUBDIR)/libobjc && \
19852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19854 "RANLIB=$${RANLIB}" \
19855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19860 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
19861 maybe-installcheck-target-libobjc:
19863 installcheck-target-libobjc: \
19864 configure-target-libobjc
19865 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
19866 r=`${PWD_COMMAND}`; export r; \
19867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19869 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
19870 for flag in $(EXTRA_TARGET_FLAGS); do \
19871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19873 (cd $(TARGET_SUBDIR)/libobjc && \
19874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19876 "RANLIB=$${RANLIB}" \
19877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19882 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
19883 maybe-mostlyclean-target-libobjc:
19885 mostlyclean-target-libobjc:
19886 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
19887 r=`${PWD_COMMAND}`; export r; \
19888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19890 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
19891 for flag in $(EXTRA_TARGET_FLAGS); do \
19892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19894 (cd $(TARGET_SUBDIR)/libobjc && \
19895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19897 "RANLIB=$${RANLIB}" \
19898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19903 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
19904 maybe-clean-target-libobjc:
19906 clean-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 clean 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-distclean-target-libobjc distclean-target-libobjc
19925 maybe-distclean-target-libobjc:
19927 distclean-target-libobjc:
19928 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
19929 r=`${PWD_COMMAND}`; export r; \
19930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19932 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
19933 for flag in $(EXTRA_TARGET_FLAGS); do \
19934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19936 (cd $(TARGET_SUBDIR)/libobjc && \
19937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19939 "RANLIB=$${RANLIB}" \
19940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19945 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
19946 maybe-maintainer-clean-target-libobjc:
19948 maintainer-clean-target-libobjc:
19949 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
19950 r=`${PWD_COMMAND}`; export r; \
19951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19953 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
19954 for flag in $(EXTRA_TARGET_FLAGS); do \
19955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19957 (cd $(TARGET_SUBDIR)/libobjc && \
19958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19960 "RANLIB=$${RANLIB}" \
19961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19962 maintainer-clean) \
19967 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
19968 maybe-configure-target-libtermcap:
19970 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
19971 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
19972 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
19973 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
19974 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
19976 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
19977 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
19978 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
19979 r=`${PWD_COMMAND}`; export r; \
19980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19982 AR="$(AR_FOR_TARGET)"; export AR; \
19983 AS="$(AS_FOR_TARGET)"; export AS; \
19984 CC="$(CC_FOR_TARGET)"; export CC; \
19985 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
19986 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
19987 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
19988 CXX="$(CXX_FOR_TARGET)"; export CXX; \
19989 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
19990 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
19991 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
19992 LD="$(LD_FOR_TARGET)"; export LD; \
19993 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
19994 NM="$(NM_FOR_TARGET)"; export NM; \
19995 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
19996 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
19997 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
19998 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
19999 case $(srcdir) in \
20000 /* | [A-Za-z]:[\\/]*) \
20001 topdir=$(srcdir) ;; \
20003 case "$(TARGET_SUBDIR)" in \
20004 .) topdir="../$(srcdir)" ;; \
20005 *) topdir="../../$(srcdir)" ;; \
20008 if [ "$(srcdir)" = "." ] ; then \
20009 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
20010 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
20011 if [ -f Makefile ]; then \
20012 if $(MAKE) distclean; then \
20026 srcdiroption="--srcdir=."; \
20029 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
20030 libsrcdir="$$s/libtermcap"; \
20032 rm -f no-such-file || : ; \
20033 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
20034 $(TARGET_CONFIGARGS) $${srcdiroption} \
20035 --with-target-subdir="$(TARGET_SUBDIR)" \
20038 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
20039 maybe-all-target-libtermcap:
20040 all-target-libtermcap: configure-target-libtermcap
20041 @r=`${PWD_COMMAND}`; export r; \
20042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20044 (cd $(TARGET_SUBDIR)/libtermcap && \
20045 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
20047 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
20048 maybe-check-target-libtermcap:
20050 # Dummy target for uncheckable module.
20051 check-target-libtermcap:
20054 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
20055 maybe-install-target-libtermcap:
20057 install-target-libtermcap: installdirs
20058 @r=`${PWD_COMMAND}`; export r; \
20059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20061 (cd $(TARGET_SUBDIR)/libtermcap && \
20062 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
20065 # Other targets (info, dvi, etc.)
20067 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
20068 maybe-info-target-libtermcap:
20070 info-target-libtermcap: \
20071 configure-target-libtermcap
20072 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
20073 r=`${PWD_COMMAND}`; export r; \
20074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20076 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
20077 for flag in $(EXTRA_TARGET_FLAGS); do \
20078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20080 (cd $(TARGET_SUBDIR)/libtermcap && \
20081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20083 "RANLIB=$${RANLIB}" \
20084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20089 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
20090 maybe-dvi-target-libtermcap:
20092 dvi-target-libtermcap: \
20093 configure-target-libtermcap
20094 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
20095 r=`${PWD_COMMAND}`; export r; \
20096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20098 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
20099 for flag in $(EXTRA_TARGET_FLAGS); do \
20100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20102 (cd $(TARGET_SUBDIR)/libtermcap && \
20103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20105 "RANLIB=$${RANLIB}" \
20106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20111 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
20112 maybe-TAGS-target-libtermcap:
20114 TAGS-target-libtermcap: \
20115 configure-target-libtermcap
20116 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
20117 r=`${PWD_COMMAND}`; export r; \
20118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20120 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
20121 for flag in $(EXTRA_TARGET_FLAGS); do \
20122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20124 (cd $(TARGET_SUBDIR)/libtermcap && \
20125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20127 "RANLIB=$${RANLIB}" \
20128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20133 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
20134 maybe-install-info-target-libtermcap:
20136 install-info-target-libtermcap: \
20137 configure-target-libtermcap \
20138 info-target-libtermcap
20139 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
20140 r=`${PWD_COMMAND}`; export r; \
20141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20143 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
20144 for flag in $(EXTRA_TARGET_FLAGS); do \
20145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20147 (cd $(TARGET_SUBDIR)/libtermcap && \
20148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20150 "RANLIB=$${RANLIB}" \
20151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20156 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
20157 maybe-installcheck-target-libtermcap:
20159 installcheck-target-libtermcap: \
20160 configure-target-libtermcap
20161 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
20162 r=`${PWD_COMMAND}`; export r; \
20163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20165 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
20166 for flag in $(EXTRA_TARGET_FLAGS); do \
20167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20169 (cd $(TARGET_SUBDIR)/libtermcap && \
20170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20172 "RANLIB=$${RANLIB}" \
20173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20178 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
20179 maybe-mostlyclean-target-libtermcap:
20181 # libtermcap doesn't support mostlyclean.
20182 mostlyclean-target-libtermcap:
20185 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
20186 maybe-clean-target-libtermcap:
20188 # libtermcap doesn't support clean.
20189 clean-target-libtermcap:
20192 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
20193 maybe-distclean-target-libtermcap:
20195 # libtermcap doesn't support distclean.
20196 distclean-target-libtermcap:
20199 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
20200 maybe-maintainer-clean-target-libtermcap:
20202 # libtermcap doesn't support maintainer-clean.
20203 maintainer-clean-target-libtermcap:
20207 .PHONY: configure-target-winsup maybe-configure-target-winsup
20208 maybe-configure-target-winsup:
20210 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
20211 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
20212 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
20213 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
20214 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
20216 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
20217 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
20218 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
20219 r=`${PWD_COMMAND}`; export r; \
20220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20222 AR="$(AR_FOR_TARGET)"; export AR; \
20223 AS="$(AS_FOR_TARGET)"; export AS; \
20224 CC="$(CC_FOR_TARGET)"; export CC; \
20225 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
20226 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
20227 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
20228 CXX="$(CXX_FOR_TARGET)"; export CXX; \
20229 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
20230 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
20231 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
20232 LD="$(LD_FOR_TARGET)"; export LD; \
20233 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
20234 NM="$(NM_FOR_TARGET)"; export NM; \
20235 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
20236 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
20237 echo Configuring in $(TARGET_SUBDIR)/winsup; \
20238 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
20239 case $(srcdir) in \
20240 /* | [A-Za-z]:[\\/]*) \
20241 topdir=$(srcdir) ;; \
20243 case "$(TARGET_SUBDIR)" in \
20244 .) topdir="../$(srcdir)" ;; \
20245 *) topdir="../../$(srcdir)" ;; \
20248 srcdiroption="--srcdir=$${topdir}/winsup"; \
20249 libsrcdir="$$s/winsup"; \
20250 rm -f no-such-file || : ; \
20251 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
20252 $(TARGET_CONFIGARGS) $${srcdiroption} \
20253 --with-target-subdir="$(TARGET_SUBDIR)" \
20256 .PHONY: all-target-winsup maybe-all-target-winsup
20257 maybe-all-target-winsup:
20258 all-target-winsup: configure-target-winsup
20259 @r=`${PWD_COMMAND}`; export r; \
20260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20262 (cd $(TARGET_SUBDIR)/winsup && \
20263 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
20265 .PHONY: check-target-winsup maybe-check-target-winsup
20266 maybe-check-target-winsup:
20268 check-target-winsup:
20269 @r=`${PWD_COMMAND}`; export r; \
20270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20272 (cd $(TARGET_SUBDIR)/winsup && \
20273 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
20276 .PHONY: install-target-winsup maybe-install-target-winsup
20277 maybe-install-target-winsup:
20279 install-target-winsup: installdirs
20280 @r=`${PWD_COMMAND}`; export r; \
20281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20283 (cd $(TARGET_SUBDIR)/winsup && \
20284 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
20287 # Other targets (info, dvi, etc.)
20289 .PHONY: maybe-info-target-winsup info-target-winsup
20290 maybe-info-target-winsup:
20292 info-target-winsup: \
20293 configure-target-winsup
20294 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
20295 r=`${PWD_COMMAND}`; export r; \
20296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20298 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
20299 for flag in $(EXTRA_TARGET_FLAGS); do \
20300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20302 (cd $(TARGET_SUBDIR)/winsup && \
20303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20305 "RANLIB=$${RANLIB}" \
20306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20311 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
20312 maybe-dvi-target-winsup:
20314 dvi-target-winsup: \
20315 configure-target-winsup
20316 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
20317 r=`${PWD_COMMAND}`; export r; \
20318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20320 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
20321 for flag in $(EXTRA_TARGET_FLAGS); do \
20322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20324 (cd $(TARGET_SUBDIR)/winsup && \
20325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20327 "RANLIB=$${RANLIB}" \
20328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20333 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
20334 maybe-TAGS-target-winsup:
20336 TAGS-target-winsup: \
20337 configure-target-winsup
20338 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
20339 r=`${PWD_COMMAND}`; export r; \
20340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20342 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
20343 for flag in $(EXTRA_TARGET_FLAGS); do \
20344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20346 (cd $(TARGET_SUBDIR)/winsup && \
20347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20349 "RANLIB=$${RANLIB}" \
20350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20355 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
20356 maybe-install-info-target-winsup:
20358 install-info-target-winsup: \
20359 configure-target-winsup \
20361 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
20362 r=`${PWD_COMMAND}`; export r; \
20363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20365 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
20366 for flag in $(EXTRA_TARGET_FLAGS); do \
20367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20369 (cd $(TARGET_SUBDIR)/winsup && \
20370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20372 "RANLIB=$${RANLIB}" \
20373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20378 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
20379 maybe-installcheck-target-winsup:
20381 installcheck-target-winsup: \
20382 configure-target-winsup
20383 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
20384 r=`${PWD_COMMAND}`; export r; \
20385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20387 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
20388 for flag in $(EXTRA_TARGET_FLAGS); do \
20389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20391 (cd $(TARGET_SUBDIR)/winsup && \
20392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20394 "RANLIB=$${RANLIB}" \
20395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20400 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
20401 maybe-mostlyclean-target-winsup:
20403 mostlyclean-target-winsup:
20404 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
20405 r=`${PWD_COMMAND}`; export r; \
20406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20408 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
20409 for flag in $(EXTRA_TARGET_FLAGS); do \
20410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20412 (cd $(TARGET_SUBDIR)/winsup && \
20413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20415 "RANLIB=$${RANLIB}" \
20416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20421 .PHONY: maybe-clean-target-winsup clean-target-winsup
20422 maybe-clean-target-winsup:
20424 clean-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 clean 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-distclean-target-winsup distclean-target-winsup
20443 maybe-distclean-target-winsup:
20445 distclean-target-winsup:
20446 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
20447 r=`${PWD_COMMAND}`; export r; \
20448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20450 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
20451 for flag in $(EXTRA_TARGET_FLAGS); do \
20452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20454 (cd $(TARGET_SUBDIR)/winsup && \
20455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20457 "RANLIB=$${RANLIB}" \
20458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20463 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
20464 maybe-maintainer-clean-target-winsup:
20466 maintainer-clean-target-winsup:
20467 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
20468 r=`${PWD_COMMAND}`; export r; \
20469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20471 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
20472 for flag in $(EXTRA_TARGET_FLAGS); do \
20473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20475 (cd $(TARGET_SUBDIR)/winsup && \
20476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20478 "RANLIB=$${RANLIB}" \
20479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20480 maintainer-clean) \
20485 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
20486 maybe-configure-target-libgloss:
20488 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
20489 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
20490 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
20491 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
20492 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
20494 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
20495 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
20496 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
20497 r=`${PWD_COMMAND}`; export r; \
20498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20500 AR="$(AR_FOR_TARGET)"; export AR; \
20501 AS="$(AS_FOR_TARGET)"; export AS; \
20502 CC="$(CC_FOR_TARGET)"; export CC; \
20503 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
20504 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
20505 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
20506 CXX="$(CXX_FOR_TARGET)"; export CXX; \
20507 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
20508 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
20509 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
20510 LD="$(LD_FOR_TARGET)"; export LD; \
20511 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
20512 NM="$(NM_FOR_TARGET)"; export NM; \
20513 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
20514 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
20515 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
20516 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
20517 case $(srcdir) in \
20518 /* | [A-Za-z]:[\\/]*) \
20519 topdir=$(srcdir) ;; \
20521 case "$(TARGET_SUBDIR)" in \
20522 .) topdir="../$(srcdir)" ;; \
20523 *) topdir="../../$(srcdir)" ;; \
20526 srcdiroption="--srcdir=$${topdir}/libgloss"; \
20527 libsrcdir="$$s/libgloss"; \
20528 rm -f no-such-file || : ; \
20529 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
20530 $(TARGET_CONFIGARGS) $${srcdiroption} \
20531 --with-target-subdir="$(TARGET_SUBDIR)" \
20534 .PHONY: all-target-libgloss maybe-all-target-libgloss
20535 maybe-all-target-libgloss:
20536 all-target-libgloss: configure-target-libgloss
20537 @r=`${PWD_COMMAND}`; export r; \
20538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20540 (cd $(TARGET_SUBDIR)/libgloss && \
20541 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
20543 .PHONY: check-target-libgloss maybe-check-target-libgloss
20544 maybe-check-target-libgloss:
20546 # Dummy target for uncheckable module.
20547 check-target-libgloss:
20550 .PHONY: install-target-libgloss maybe-install-target-libgloss
20551 maybe-install-target-libgloss:
20553 install-target-libgloss: installdirs
20554 @r=`${PWD_COMMAND}`; export r; \
20555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20557 (cd $(TARGET_SUBDIR)/libgloss && \
20558 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
20561 # Other targets (info, dvi, etc.)
20563 .PHONY: maybe-info-target-libgloss info-target-libgloss
20564 maybe-info-target-libgloss:
20566 info-target-libgloss: \
20567 configure-target-libgloss
20568 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
20569 r=`${PWD_COMMAND}`; export r; \
20570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20572 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
20573 for flag in $(EXTRA_TARGET_FLAGS); do \
20574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20576 (cd $(TARGET_SUBDIR)/libgloss && \
20577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20579 "RANLIB=$${RANLIB}" \
20580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20585 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
20586 maybe-dvi-target-libgloss:
20588 dvi-target-libgloss: \
20589 configure-target-libgloss
20590 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
20591 r=`${PWD_COMMAND}`; export r; \
20592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20594 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
20595 for flag in $(EXTRA_TARGET_FLAGS); do \
20596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20598 (cd $(TARGET_SUBDIR)/libgloss && \
20599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20601 "RANLIB=$${RANLIB}" \
20602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20607 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
20608 maybe-TAGS-target-libgloss:
20610 TAGS-target-libgloss: \
20611 configure-target-libgloss
20612 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
20613 r=`${PWD_COMMAND}`; export r; \
20614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20616 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
20617 for flag in $(EXTRA_TARGET_FLAGS); do \
20618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20620 (cd $(TARGET_SUBDIR)/libgloss && \
20621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20623 "RANLIB=$${RANLIB}" \
20624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20629 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
20630 maybe-install-info-target-libgloss:
20632 install-info-target-libgloss: \
20633 configure-target-libgloss \
20634 info-target-libgloss
20635 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
20636 r=`${PWD_COMMAND}`; export r; \
20637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20639 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
20640 for flag in $(EXTRA_TARGET_FLAGS); do \
20641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20643 (cd $(TARGET_SUBDIR)/libgloss && \
20644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20646 "RANLIB=$${RANLIB}" \
20647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20652 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
20653 maybe-installcheck-target-libgloss:
20655 installcheck-target-libgloss: \
20656 configure-target-libgloss
20657 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
20658 r=`${PWD_COMMAND}`; export r; \
20659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20661 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
20662 for flag in $(EXTRA_TARGET_FLAGS); do \
20663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20665 (cd $(TARGET_SUBDIR)/libgloss && \
20666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20668 "RANLIB=$${RANLIB}" \
20669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20674 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
20675 maybe-mostlyclean-target-libgloss:
20677 mostlyclean-target-libgloss:
20678 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
20679 r=`${PWD_COMMAND}`; export r; \
20680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20682 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
20683 for flag in $(EXTRA_TARGET_FLAGS); do \
20684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20686 (cd $(TARGET_SUBDIR)/libgloss && \
20687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20689 "RANLIB=$${RANLIB}" \
20690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20695 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
20696 maybe-clean-target-libgloss:
20698 clean-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 clean 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-distclean-target-libgloss distclean-target-libgloss
20717 maybe-distclean-target-libgloss:
20719 distclean-target-libgloss:
20720 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
20721 r=`${PWD_COMMAND}`; export r; \
20722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20724 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
20725 for flag in $(EXTRA_TARGET_FLAGS); do \
20726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20728 (cd $(TARGET_SUBDIR)/libgloss && \
20729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20731 "RANLIB=$${RANLIB}" \
20732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20737 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
20738 maybe-maintainer-clean-target-libgloss:
20740 maintainer-clean-target-libgloss:
20741 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
20742 r=`${PWD_COMMAND}`; export r; \
20743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20745 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
20746 for flag in $(EXTRA_TARGET_FLAGS); do \
20747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20749 (cd $(TARGET_SUBDIR)/libgloss && \
20750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20752 "RANLIB=$${RANLIB}" \
20753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20754 maintainer-clean) \
20759 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
20760 maybe-configure-target-libiberty:
20762 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
20763 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
20764 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
20765 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
20766 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
20768 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
20769 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
20770 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
20771 r=`${PWD_COMMAND}`; export r; \
20772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20774 AR="$(AR_FOR_TARGET)"; export AR; \
20775 AS="$(AS_FOR_TARGET)"; export AS; \
20776 CC="$(CC_FOR_TARGET)"; export CC; \
20777 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
20778 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
20779 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
20780 CXX="$(CXX_FOR_TARGET)"; export CXX; \
20781 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
20782 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
20783 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
20784 LD="$(LD_FOR_TARGET)"; export LD; \
20785 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
20786 NM="$(NM_FOR_TARGET)"; export NM; \
20787 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
20788 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
20789 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
20790 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
20791 case $(srcdir) in \
20792 /* | [A-Za-z]:[\\/]*) \
20793 topdir=$(srcdir) ;; \
20795 case "$(TARGET_SUBDIR)" in \
20796 .) topdir="../$(srcdir)" ;; \
20797 *) topdir="../../$(srcdir)" ;; \
20800 srcdiroption="--srcdir=$${topdir}/libiberty"; \
20801 libsrcdir="$$s/libiberty"; \
20802 rm -f no-such-file || : ; \
20803 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
20804 $(TARGET_CONFIGARGS) $${srcdiroption} \
20805 --with-target-subdir="$(TARGET_SUBDIR)" \
20808 .PHONY: all-target-libiberty maybe-all-target-libiberty
20809 maybe-all-target-libiberty:
20810 all-target-libiberty: configure-target-libiberty
20811 @r=`${PWD_COMMAND}`; export r; \
20812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20814 (cd $(TARGET_SUBDIR)/libiberty && \
20815 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
20817 .PHONY: check-target-libiberty maybe-check-target-libiberty
20818 maybe-check-target-libiberty:
20820 check-target-libiberty:
20821 @r=`${PWD_COMMAND}`; export r; \
20822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20824 (cd $(TARGET_SUBDIR)/libiberty && \
20825 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
20828 .PHONY: install-target-libiberty maybe-install-target-libiberty
20829 maybe-install-target-libiberty:
20831 install-target-libiberty: installdirs
20832 @r=`${PWD_COMMAND}`; export r; \
20833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20835 (cd $(TARGET_SUBDIR)/libiberty && \
20836 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
20839 # Other targets (info, dvi, etc.)
20841 .PHONY: maybe-info-target-libiberty info-target-libiberty
20842 maybe-info-target-libiberty:
20844 info-target-libiberty: \
20845 configure-target-libiberty
20846 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
20847 r=`${PWD_COMMAND}`; export r; \
20848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20850 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
20851 for flag in $(EXTRA_TARGET_FLAGS); do \
20852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20854 (cd $(TARGET_SUBDIR)/libiberty && \
20855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20857 "RANLIB=$${RANLIB}" \
20858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20863 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
20864 maybe-dvi-target-libiberty:
20866 dvi-target-libiberty: \
20867 configure-target-libiberty
20868 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
20869 r=`${PWD_COMMAND}`; export r; \
20870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20872 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
20873 for flag in $(EXTRA_TARGET_FLAGS); do \
20874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20876 (cd $(TARGET_SUBDIR)/libiberty && \
20877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20879 "RANLIB=$${RANLIB}" \
20880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20885 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
20886 maybe-TAGS-target-libiberty:
20888 TAGS-target-libiberty: \
20889 configure-target-libiberty
20890 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
20891 r=`${PWD_COMMAND}`; export r; \
20892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20894 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
20895 for flag in $(EXTRA_TARGET_FLAGS); do \
20896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20898 (cd $(TARGET_SUBDIR)/libiberty && \
20899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20901 "RANLIB=$${RANLIB}" \
20902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20907 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
20908 maybe-install-info-target-libiberty:
20910 install-info-target-libiberty: \
20911 configure-target-libiberty \
20912 info-target-libiberty
20913 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
20914 r=`${PWD_COMMAND}`; export r; \
20915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20917 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
20918 for flag in $(EXTRA_TARGET_FLAGS); do \
20919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20921 (cd $(TARGET_SUBDIR)/libiberty && \
20922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20924 "RANLIB=$${RANLIB}" \
20925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20930 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
20931 maybe-installcheck-target-libiberty:
20933 installcheck-target-libiberty: \
20934 configure-target-libiberty
20935 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
20936 r=`${PWD_COMMAND}`; export r; \
20937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20939 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
20940 for flag in $(EXTRA_TARGET_FLAGS); do \
20941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20943 (cd $(TARGET_SUBDIR)/libiberty && \
20944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20946 "RANLIB=$${RANLIB}" \
20947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20952 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
20953 maybe-mostlyclean-target-libiberty:
20955 mostlyclean-target-libiberty:
20956 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
20957 r=`${PWD_COMMAND}`; export r; \
20958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20960 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
20961 for flag in $(EXTRA_TARGET_FLAGS); do \
20962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20964 (cd $(TARGET_SUBDIR)/libiberty && \
20965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20967 "RANLIB=$${RANLIB}" \
20968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20973 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
20974 maybe-clean-target-libiberty:
20976 clean-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 clean 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-distclean-target-libiberty distclean-target-libiberty
20995 maybe-distclean-target-libiberty:
20997 distclean-target-libiberty:
20998 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
20999 r=`${PWD_COMMAND}`; export r; \
21000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21002 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
21003 for flag in $(EXTRA_TARGET_FLAGS); do \
21004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21006 (cd $(TARGET_SUBDIR)/libiberty && \
21007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21009 "RANLIB=$${RANLIB}" \
21010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21015 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
21016 maybe-maintainer-clean-target-libiberty:
21018 maintainer-clean-target-libiberty:
21019 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
21020 r=`${PWD_COMMAND}`; export r; \
21021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21023 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
21024 for flag in $(EXTRA_TARGET_FLAGS); do \
21025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21027 (cd $(TARGET_SUBDIR)/libiberty && \
21028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21030 "RANLIB=$${RANLIB}" \
21031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21032 maintainer-clean) \
21037 .PHONY: configure-target-gperf maybe-configure-target-gperf
21038 maybe-configure-target-gperf:
21040 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
21041 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
21042 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
21043 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
21044 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
21046 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
21047 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
21048 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
21049 r=`${PWD_COMMAND}`; export r; \
21050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21052 AR="$(AR_FOR_TARGET)"; export AR; \
21053 AS="$(AS_FOR_TARGET)"; export AS; \
21054 CC="$(CC_FOR_TARGET)"; export CC; \
21055 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
21056 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
21057 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
21058 CXX="$(CXX_FOR_TARGET)"; export CXX; \
21059 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
21060 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
21061 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
21062 LD="$(LD_FOR_TARGET)"; export LD; \
21063 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
21064 NM="$(NM_FOR_TARGET)"; export NM; \
21065 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
21066 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
21067 echo Configuring in $(TARGET_SUBDIR)/gperf; \
21068 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
21069 case $(srcdir) in \
21070 /* | [A-Za-z]:[\\/]*) \
21071 topdir=$(srcdir) ;; \
21073 case "$(TARGET_SUBDIR)" in \
21074 .) topdir="../$(srcdir)" ;; \
21075 *) topdir="../../$(srcdir)" ;; \
21078 srcdiroption="--srcdir=$${topdir}/gperf"; \
21079 libsrcdir="$$s/gperf"; \
21080 rm -f no-such-file || : ; \
21081 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
21082 $(TARGET_CONFIGARGS) $${srcdiroption} \
21083 --with-target-subdir="$(TARGET_SUBDIR)" \
21086 .PHONY: all-target-gperf maybe-all-target-gperf
21087 maybe-all-target-gperf:
21088 all-target-gperf: configure-target-gperf
21089 @r=`${PWD_COMMAND}`; export r; \
21090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21092 (cd $(TARGET_SUBDIR)/gperf && \
21093 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
21095 .PHONY: check-target-gperf maybe-check-target-gperf
21096 maybe-check-target-gperf:
21098 check-target-gperf:
21099 @r=`${PWD_COMMAND}`; export r; \
21100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21102 (cd $(TARGET_SUBDIR)/gperf && \
21103 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
21106 .PHONY: install-target-gperf maybe-install-target-gperf
21107 maybe-install-target-gperf:
21109 install-target-gperf: installdirs
21110 @r=`${PWD_COMMAND}`; export r; \
21111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21113 (cd $(TARGET_SUBDIR)/gperf && \
21114 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
21117 # Other targets (info, dvi, etc.)
21119 .PHONY: maybe-info-target-gperf info-target-gperf
21120 maybe-info-target-gperf:
21122 info-target-gperf: \
21123 configure-target-gperf
21124 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21125 r=`${PWD_COMMAND}`; export r; \
21126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21128 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
21129 for flag in $(EXTRA_TARGET_FLAGS); do \
21130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21132 (cd $(TARGET_SUBDIR)/gperf && \
21133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21135 "RANLIB=$${RANLIB}" \
21136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21141 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
21142 maybe-dvi-target-gperf:
21144 dvi-target-gperf: \
21145 configure-target-gperf
21146 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21147 r=`${PWD_COMMAND}`; export r; \
21148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21150 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
21151 for flag in $(EXTRA_TARGET_FLAGS); do \
21152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21154 (cd $(TARGET_SUBDIR)/gperf && \
21155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21157 "RANLIB=$${RANLIB}" \
21158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21163 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
21164 maybe-TAGS-target-gperf:
21166 TAGS-target-gperf: \
21167 configure-target-gperf
21168 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21169 r=`${PWD_COMMAND}`; export r; \
21170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21172 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
21173 for flag in $(EXTRA_TARGET_FLAGS); do \
21174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21176 (cd $(TARGET_SUBDIR)/gperf && \
21177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21179 "RANLIB=$${RANLIB}" \
21180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21185 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
21186 maybe-install-info-target-gperf:
21188 install-info-target-gperf: \
21189 configure-target-gperf \
21191 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21192 r=`${PWD_COMMAND}`; export r; \
21193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21195 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
21196 for flag in $(EXTRA_TARGET_FLAGS); do \
21197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21199 (cd $(TARGET_SUBDIR)/gperf && \
21200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21202 "RANLIB=$${RANLIB}" \
21203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21208 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
21209 maybe-installcheck-target-gperf:
21211 installcheck-target-gperf: \
21212 configure-target-gperf
21213 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21214 r=`${PWD_COMMAND}`; export r; \
21215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21217 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
21218 for flag in $(EXTRA_TARGET_FLAGS); do \
21219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21221 (cd $(TARGET_SUBDIR)/gperf && \
21222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21224 "RANLIB=$${RANLIB}" \
21225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21230 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
21231 maybe-mostlyclean-target-gperf:
21233 mostlyclean-target-gperf:
21234 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21235 r=`${PWD_COMMAND}`; export r; \
21236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21238 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
21239 for flag in $(EXTRA_TARGET_FLAGS); do \
21240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21242 (cd $(TARGET_SUBDIR)/gperf && \
21243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21245 "RANLIB=$${RANLIB}" \
21246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21251 .PHONY: maybe-clean-target-gperf clean-target-gperf
21252 maybe-clean-target-gperf:
21254 clean-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 clean 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-distclean-target-gperf distclean-target-gperf
21273 maybe-distclean-target-gperf:
21275 distclean-target-gperf:
21276 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21277 r=`${PWD_COMMAND}`; export r; \
21278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21280 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
21281 for flag in $(EXTRA_TARGET_FLAGS); do \
21282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21284 (cd $(TARGET_SUBDIR)/gperf && \
21285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21287 "RANLIB=$${RANLIB}" \
21288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21293 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
21294 maybe-maintainer-clean-target-gperf:
21296 maintainer-clean-target-gperf:
21297 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
21298 r=`${PWD_COMMAND}`; export r; \
21299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21301 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
21302 for flag in $(EXTRA_TARGET_FLAGS); do \
21303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21305 (cd $(TARGET_SUBDIR)/gperf && \
21306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21308 "RANLIB=$${RANLIB}" \
21309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21310 maintainer-clean) \
21315 .PHONY: configure-target-examples maybe-configure-target-examples
21316 maybe-configure-target-examples:
21318 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
21319 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
21320 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
21321 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
21322 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
21324 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
21325 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
21326 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
21327 r=`${PWD_COMMAND}`; export r; \
21328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21330 AR="$(AR_FOR_TARGET)"; export AR; \
21331 AS="$(AS_FOR_TARGET)"; export AS; \
21332 CC="$(CC_FOR_TARGET)"; export CC; \
21333 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
21334 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
21335 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
21336 CXX="$(CXX_FOR_TARGET)"; export CXX; \
21337 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
21338 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
21339 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
21340 LD="$(LD_FOR_TARGET)"; export LD; \
21341 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
21342 NM="$(NM_FOR_TARGET)"; export NM; \
21343 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
21344 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
21345 echo Configuring in $(TARGET_SUBDIR)/examples; \
21346 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
21347 case $(srcdir) in \
21348 /* | [A-Za-z]:[\\/]*) \
21349 topdir=$(srcdir) ;; \
21351 case "$(TARGET_SUBDIR)" in \
21352 .) topdir="../$(srcdir)" ;; \
21353 *) topdir="../../$(srcdir)" ;; \
21356 srcdiroption="--srcdir=$${topdir}/examples"; \
21357 libsrcdir="$$s/examples"; \
21358 rm -f no-such-file || : ; \
21359 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
21360 $(TARGET_CONFIGARGS) $${srcdiroption} \
21361 --with-target-subdir="$(TARGET_SUBDIR)" \
21364 .PHONY: all-target-examples maybe-all-target-examples
21365 maybe-all-target-examples:
21366 all-target-examples: configure-target-examples
21367 @r=`${PWD_COMMAND}`; export r; \
21368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21370 (cd $(TARGET_SUBDIR)/examples && \
21371 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
21373 .PHONY: check-target-examples maybe-check-target-examples
21374 maybe-check-target-examples:
21376 # Dummy target for uncheckable module.
21377 check-target-examples:
21380 .PHONY: install-target-examples maybe-install-target-examples
21381 maybe-install-target-examples:
21383 # Dummy target for uninstallable.
21384 install-target-examples:
21387 # Other targets (info, dvi, etc.)
21389 .PHONY: maybe-info-target-examples info-target-examples
21390 maybe-info-target-examples:
21392 info-target-examples: \
21393 configure-target-examples
21394 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
21395 r=`${PWD_COMMAND}`; export r; \
21396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21398 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
21399 for flag in $(EXTRA_TARGET_FLAGS); do \
21400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21402 (cd $(TARGET_SUBDIR)/examples && \
21403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21405 "RANLIB=$${RANLIB}" \
21406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21411 .PHONY: maybe-dvi-target-examples dvi-target-examples
21412 maybe-dvi-target-examples:
21414 dvi-target-examples: \
21415 configure-target-examples
21416 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
21417 r=`${PWD_COMMAND}`; export r; \
21418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21420 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
21421 for flag in $(EXTRA_TARGET_FLAGS); do \
21422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21424 (cd $(TARGET_SUBDIR)/examples && \
21425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21427 "RANLIB=$${RANLIB}" \
21428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21433 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
21434 maybe-TAGS-target-examples:
21436 TAGS-target-examples: \
21437 configure-target-examples
21438 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
21439 r=`${PWD_COMMAND}`; export r; \
21440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21442 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
21443 for flag in $(EXTRA_TARGET_FLAGS); do \
21444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21446 (cd $(TARGET_SUBDIR)/examples && \
21447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21449 "RANLIB=$${RANLIB}" \
21450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21455 .PHONY: maybe-install-info-target-examples install-info-target-examples
21456 maybe-install-info-target-examples:
21458 install-info-target-examples: \
21459 configure-target-examples \
21460 info-target-examples
21461 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
21462 r=`${PWD_COMMAND}`; export r; \
21463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21465 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
21466 for flag in $(EXTRA_TARGET_FLAGS); do \
21467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21469 (cd $(TARGET_SUBDIR)/examples && \
21470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21472 "RANLIB=$${RANLIB}" \
21473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21478 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
21479 maybe-installcheck-target-examples:
21481 installcheck-target-examples: \
21482 configure-target-examples
21483 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
21484 r=`${PWD_COMMAND}`; export r; \
21485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21487 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
21488 for flag in $(EXTRA_TARGET_FLAGS); do \
21489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21491 (cd $(TARGET_SUBDIR)/examples && \
21492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21494 "RANLIB=$${RANLIB}" \
21495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21500 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
21501 maybe-mostlyclean-target-examples:
21503 mostlyclean-target-examples:
21504 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
21505 r=`${PWD_COMMAND}`; export r; \
21506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21508 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
21509 for flag in $(EXTRA_TARGET_FLAGS); do \
21510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21512 (cd $(TARGET_SUBDIR)/examples && \
21513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21515 "RANLIB=$${RANLIB}" \
21516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21521 .PHONY: maybe-clean-target-examples clean-target-examples
21522 maybe-clean-target-examples:
21524 clean-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 clean 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-distclean-target-examples distclean-target-examples
21543 maybe-distclean-target-examples:
21545 distclean-target-examples:
21546 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
21547 r=`${PWD_COMMAND}`; export r; \
21548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21550 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
21551 for flag in $(EXTRA_TARGET_FLAGS); do \
21552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21554 (cd $(TARGET_SUBDIR)/examples && \
21555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21557 "RANLIB=$${RANLIB}" \
21558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21563 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
21564 maybe-maintainer-clean-target-examples:
21566 maintainer-clean-target-examples:
21567 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
21568 r=`${PWD_COMMAND}`; export r; \
21569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21571 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
21572 for flag in $(EXTRA_TARGET_FLAGS); do \
21573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21575 (cd $(TARGET_SUBDIR)/examples && \
21576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21578 "RANLIB=$${RANLIB}" \
21579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21580 maintainer-clean) \
21585 .PHONY: configure-target-libffi maybe-configure-target-libffi
21586 maybe-configure-target-libffi:
21588 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
21589 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
21590 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
21591 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
21592 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
21594 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
21595 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
21596 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
21597 r=`${PWD_COMMAND}`; export r; \
21598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21600 AR="$(AR_FOR_TARGET)"; export AR; \
21601 AS="$(AS_FOR_TARGET)"; export AS; \
21602 CC="$(CC_FOR_TARGET)"; export CC; \
21603 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
21604 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
21605 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
21606 CXX="$(CXX_FOR_TARGET)"; export CXX; \
21607 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
21608 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
21609 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
21610 LD="$(LD_FOR_TARGET)"; export LD; \
21611 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
21612 NM="$(NM_FOR_TARGET)"; export NM; \
21613 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
21614 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
21615 echo Configuring in $(TARGET_SUBDIR)/libffi; \
21616 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
21617 case $(srcdir) in \
21618 /* | [A-Za-z]:[\\/]*) \
21619 topdir=$(srcdir) ;; \
21621 case "$(TARGET_SUBDIR)" in \
21622 .) topdir="../$(srcdir)" ;; \
21623 *) topdir="../../$(srcdir)" ;; \
21626 srcdiroption="--srcdir=$${topdir}/libffi"; \
21627 libsrcdir="$$s/libffi"; \
21628 rm -f no-such-file || : ; \
21629 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
21630 $(TARGET_CONFIGARGS) $${srcdiroption} \
21631 --with-target-subdir="$(TARGET_SUBDIR)" \
21634 .PHONY: all-target-libffi maybe-all-target-libffi
21635 maybe-all-target-libffi:
21636 all-target-libffi: configure-target-libffi
21637 @r=`${PWD_COMMAND}`; export r; \
21638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21640 (cd $(TARGET_SUBDIR)/libffi && \
21641 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
21643 .PHONY: check-target-libffi maybe-check-target-libffi
21644 maybe-check-target-libffi:
21646 check-target-libffi:
21647 @r=`${PWD_COMMAND}`; export r; \
21648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21650 (cd $(TARGET_SUBDIR)/libffi && \
21651 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
21654 .PHONY: install-target-libffi maybe-install-target-libffi
21655 maybe-install-target-libffi:
21657 install-target-libffi: installdirs
21658 @r=`${PWD_COMMAND}`; export r; \
21659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21661 (cd $(TARGET_SUBDIR)/libffi && \
21662 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
21665 # Other targets (info, dvi, etc.)
21667 .PHONY: maybe-info-target-libffi info-target-libffi
21668 maybe-info-target-libffi:
21670 info-target-libffi: \
21671 configure-target-libffi
21672 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
21673 r=`${PWD_COMMAND}`; export r; \
21674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21676 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
21677 for flag in $(EXTRA_TARGET_FLAGS); do \
21678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21680 (cd $(TARGET_SUBDIR)/libffi && \
21681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21683 "RANLIB=$${RANLIB}" \
21684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21689 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
21690 maybe-dvi-target-libffi:
21692 dvi-target-libffi: \
21693 configure-target-libffi
21694 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
21695 r=`${PWD_COMMAND}`; export r; \
21696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21698 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
21699 for flag in $(EXTRA_TARGET_FLAGS); do \
21700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21702 (cd $(TARGET_SUBDIR)/libffi && \
21703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21705 "RANLIB=$${RANLIB}" \
21706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21711 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
21712 maybe-TAGS-target-libffi:
21714 TAGS-target-libffi: \
21715 configure-target-libffi
21716 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
21717 r=`${PWD_COMMAND}`; export r; \
21718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21720 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
21721 for flag in $(EXTRA_TARGET_FLAGS); do \
21722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21724 (cd $(TARGET_SUBDIR)/libffi && \
21725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21727 "RANLIB=$${RANLIB}" \
21728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21733 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
21734 maybe-install-info-target-libffi:
21736 install-info-target-libffi: \
21737 configure-target-libffi \
21739 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
21740 r=`${PWD_COMMAND}`; export r; \
21741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21743 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
21744 for flag in $(EXTRA_TARGET_FLAGS); do \
21745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21747 (cd $(TARGET_SUBDIR)/libffi && \
21748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21750 "RANLIB=$${RANLIB}" \
21751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21756 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
21757 maybe-installcheck-target-libffi:
21759 installcheck-target-libffi: \
21760 configure-target-libffi
21761 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
21762 r=`${PWD_COMMAND}`; export r; \
21763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21765 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
21766 for flag in $(EXTRA_TARGET_FLAGS); do \
21767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21769 (cd $(TARGET_SUBDIR)/libffi && \
21770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21772 "RANLIB=$${RANLIB}" \
21773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21778 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
21779 maybe-mostlyclean-target-libffi:
21781 mostlyclean-target-libffi:
21782 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
21783 r=`${PWD_COMMAND}`; export r; \
21784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21786 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
21787 for flag in $(EXTRA_TARGET_FLAGS); do \
21788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21790 (cd $(TARGET_SUBDIR)/libffi && \
21791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21793 "RANLIB=$${RANLIB}" \
21794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21799 .PHONY: maybe-clean-target-libffi clean-target-libffi
21800 maybe-clean-target-libffi:
21802 clean-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 clean 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-distclean-target-libffi distclean-target-libffi
21821 maybe-distclean-target-libffi:
21823 distclean-target-libffi:
21824 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
21825 r=`${PWD_COMMAND}`; export r; \
21826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21828 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
21829 for flag in $(EXTRA_TARGET_FLAGS); do \
21830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21832 (cd $(TARGET_SUBDIR)/libffi && \
21833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21835 "RANLIB=$${RANLIB}" \
21836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21841 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
21842 maybe-maintainer-clean-target-libffi:
21844 maintainer-clean-target-libffi:
21845 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
21846 r=`${PWD_COMMAND}`; export r; \
21847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21849 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
21850 for flag in $(EXTRA_TARGET_FLAGS); do \
21851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21853 (cd $(TARGET_SUBDIR)/libffi && \
21854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21856 "RANLIB=$${RANLIB}" \
21857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21858 maintainer-clean) \
21863 .PHONY: configure-target-libjava maybe-configure-target-libjava
21864 maybe-configure-target-libjava:
21866 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
21867 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
21868 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
21869 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
21870 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
21872 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
21873 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
21874 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
21875 r=`${PWD_COMMAND}`; export r; \
21876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21878 AR="$(AR_FOR_TARGET)"; export AR; \
21879 AS="$(AS_FOR_TARGET)"; export AS; \
21880 CC="$(CC_FOR_TARGET)"; export CC; \
21881 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
21882 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
21883 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
21884 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
21885 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX; \
21886 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
21887 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
21888 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
21889 LD="$(LD_FOR_TARGET)"; export LD; \
21890 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
21891 NM="$(NM_FOR_TARGET)"; export NM; \
21892 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
21893 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
21894 echo Configuring in $(TARGET_SUBDIR)/libjava; \
21895 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
21896 case $(srcdir) in \
21897 /* | [A-Za-z]:[\\/]*) \
21898 topdir=$(srcdir) ;; \
21900 case "$(TARGET_SUBDIR)" in \
21901 .) topdir="../$(srcdir)" ;; \
21902 *) topdir="../../$(srcdir)" ;; \
21905 srcdiroption="--srcdir=$${topdir}/libjava"; \
21906 libsrcdir="$$s/libjava"; \
21907 rm -f no-such-file || : ; \
21908 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
21909 $(TARGET_CONFIGARGS) $${srcdiroption} \
21910 --with-target-subdir="$(TARGET_SUBDIR)" \
21913 .PHONY: all-target-libjava maybe-all-target-libjava
21914 maybe-all-target-libjava:
21915 all-target-libjava: configure-target-libjava
21916 @r=`${PWD_COMMAND}`; export r; \
21917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21919 (cd $(TARGET_SUBDIR)/libjava && \
21920 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
21922 .PHONY: check-target-libjava maybe-check-target-libjava
21923 maybe-check-target-libjava:
21925 check-target-libjava:
21926 @r=`${PWD_COMMAND}`; export r; \
21927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21929 (cd $(TARGET_SUBDIR)/libjava && \
21930 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
21933 .PHONY: install-target-libjava maybe-install-target-libjava
21934 maybe-install-target-libjava:
21936 install-target-libjava: installdirs
21937 @r=`${PWD_COMMAND}`; export r; \
21938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21940 (cd $(TARGET_SUBDIR)/libjava && \
21941 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
21944 # Other targets (info, dvi, etc.)
21946 .PHONY: maybe-info-target-libjava info-target-libjava
21947 maybe-info-target-libjava:
21949 info-target-libjava: \
21950 configure-target-libjava
21951 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
21952 r=`${PWD_COMMAND}`; export r; \
21953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21955 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
21956 for flag in $(EXTRA_TARGET_FLAGS); do \
21957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21959 (cd $(TARGET_SUBDIR)/libjava && \
21960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21962 "RANLIB=$${RANLIB}" \
21963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21968 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
21969 maybe-dvi-target-libjava:
21971 dvi-target-libjava: \
21972 configure-target-libjava
21973 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
21974 r=`${PWD_COMMAND}`; export r; \
21975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21977 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
21978 for flag in $(EXTRA_TARGET_FLAGS); do \
21979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21981 (cd $(TARGET_SUBDIR)/libjava && \
21982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21984 "RANLIB=$${RANLIB}" \
21985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21990 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
21991 maybe-TAGS-target-libjava:
21993 TAGS-target-libjava: \
21994 configure-target-libjava
21995 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
21996 r=`${PWD_COMMAND}`; export r; \
21997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21999 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
22000 for flag in $(EXTRA_TARGET_FLAGS); do \
22001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22003 (cd $(TARGET_SUBDIR)/libjava && \
22004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22006 "RANLIB=$${RANLIB}" \
22007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22012 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
22013 maybe-install-info-target-libjava:
22015 install-info-target-libjava: \
22016 configure-target-libjava \
22017 info-target-libjava
22018 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22019 r=`${PWD_COMMAND}`; export r; \
22020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22022 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
22023 for flag in $(EXTRA_TARGET_FLAGS); do \
22024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22026 (cd $(TARGET_SUBDIR)/libjava && \
22027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22029 "RANLIB=$${RANLIB}" \
22030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22035 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
22036 maybe-installcheck-target-libjava:
22038 installcheck-target-libjava: \
22039 configure-target-libjava
22040 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22041 r=`${PWD_COMMAND}`; export r; \
22042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22044 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
22045 for flag in $(EXTRA_TARGET_FLAGS); do \
22046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22048 (cd $(TARGET_SUBDIR)/libjava && \
22049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22051 "RANLIB=$${RANLIB}" \
22052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22057 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
22058 maybe-mostlyclean-target-libjava:
22060 mostlyclean-target-libjava:
22061 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22062 r=`${PWD_COMMAND}`; export r; \
22063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22065 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
22066 for flag in $(EXTRA_TARGET_FLAGS); do \
22067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22069 (cd $(TARGET_SUBDIR)/libjava && \
22070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22072 "RANLIB=$${RANLIB}" \
22073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22078 .PHONY: maybe-clean-target-libjava clean-target-libjava
22079 maybe-clean-target-libjava:
22081 clean-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 clean 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-distclean-target-libjava distclean-target-libjava
22100 maybe-distclean-target-libjava:
22102 distclean-target-libjava:
22103 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22104 r=`${PWD_COMMAND}`; export r; \
22105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22107 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
22108 for flag in $(EXTRA_TARGET_FLAGS); do \
22109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22111 (cd $(TARGET_SUBDIR)/libjava && \
22112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22114 "RANLIB=$${RANLIB}" \
22115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22120 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
22121 maybe-maintainer-clean-target-libjava:
22123 maintainer-clean-target-libjava:
22124 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
22125 r=`${PWD_COMMAND}`; export r; \
22126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22128 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
22129 for flag in $(EXTRA_TARGET_FLAGS); do \
22130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22132 (cd $(TARGET_SUBDIR)/libjava && \
22133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22135 "RANLIB=$${RANLIB}" \
22136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22137 maintainer-clean) \
22142 .PHONY: configure-target-zlib maybe-configure-target-zlib
22143 maybe-configure-target-zlib:
22145 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22146 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
22147 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
22148 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
22149 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
22151 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
22152 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
22153 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
22154 r=`${PWD_COMMAND}`; export r; \
22155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22157 AR="$(AR_FOR_TARGET)"; export AR; \
22158 AS="$(AS_FOR_TARGET)"; export AS; \
22159 CC="$(CC_FOR_TARGET)"; export CC; \
22160 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22161 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
22162 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22163 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22164 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22165 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22166 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22167 LD="$(LD_FOR_TARGET)"; export LD; \
22168 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22169 NM="$(NM_FOR_TARGET)"; export NM; \
22170 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22171 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22172 echo Configuring in $(TARGET_SUBDIR)/zlib; \
22173 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
22174 case $(srcdir) in \
22175 /* | [A-Za-z]:[\\/]*) \
22176 topdir=$(srcdir) ;; \
22178 case "$(TARGET_SUBDIR)" in \
22179 .) topdir="../$(srcdir)" ;; \
22180 *) topdir="../../$(srcdir)" ;; \
22183 if [ "$(srcdir)" = "." ] ; then \
22184 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
22185 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
22186 if [ -f Makefile ]; then \
22187 if $(MAKE) distclean; then \
22201 srcdiroption="--srcdir=."; \
22204 srcdiroption="--srcdir=$${topdir}/zlib"; \
22205 libsrcdir="$$s/zlib"; \
22207 rm -f no-such-file || : ; \
22208 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22209 $(TARGET_CONFIGARGS) $${srcdiroption} \
22210 --with-target-subdir="$(TARGET_SUBDIR)" \
22213 .PHONY: all-target-zlib maybe-all-target-zlib
22214 maybe-all-target-zlib:
22215 all-target-zlib: configure-target-zlib
22216 @r=`${PWD_COMMAND}`; export r; \
22217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22219 (cd $(TARGET_SUBDIR)/zlib && \
22220 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22222 .PHONY: check-target-zlib maybe-check-target-zlib
22223 maybe-check-target-zlib:
22226 @r=`${PWD_COMMAND}`; export r; \
22227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22229 (cd $(TARGET_SUBDIR)/zlib && \
22230 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22233 .PHONY: install-target-zlib maybe-install-target-zlib
22234 maybe-install-target-zlib:
22236 install-target-zlib: installdirs
22237 @r=`${PWD_COMMAND}`; export r; \
22238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22240 (cd $(TARGET_SUBDIR)/zlib && \
22241 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22244 # Other targets (info, dvi, etc.)
22246 .PHONY: maybe-info-target-zlib info-target-zlib
22247 maybe-info-target-zlib:
22249 info-target-zlib: \
22250 configure-target-zlib
22251 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
22252 r=`${PWD_COMMAND}`; export r; \
22253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22255 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
22256 for flag in $(EXTRA_TARGET_FLAGS); do \
22257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22259 (cd $(TARGET_SUBDIR)/zlib && \
22260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22262 "RANLIB=$${RANLIB}" \
22263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22268 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
22269 maybe-dvi-target-zlib:
22272 configure-target-zlib
22273 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
22274 r=`${PWD_COMMAND}`; export r; \
22275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22277 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
22278 for flag in $(EXTRA_TARGET_FLAGS); do \
22279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22281 (cd $(TARGET_SUBDIR)/zlib && \
22282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22284 "RANLIB=$${RANLIB}" \
22285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22290 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
22291 maybe-TAGS-target-zlib:
22293 TAGS-target-zlib: \
22294 configure-target-zlib
22295 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
22296 r=`${PWD_COMMAND}`; export r; \
22297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22299 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
22300 for flag in $(EXTRA_TARGET_FLAGS); do \
22301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22303 (cd $(TARGET_SUBDIR)/zlib && \
22304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22306 "RANLIB=$${RANLIB}" \
22307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22312 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
22313 maybe-install-info-target-zlib:
22315 install-info-target-zlib: \
22316 configure-target-zlib \
22318 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
22319 r=`${PWD_COMMAND}`; export r; \
22320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22322 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
22323 for flag in $(EXTRA_TARGET_FLAGS); do \
22324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22326 (cd $(TARGET_SUBDIR)/zlib && \
22327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22329 "RANLIB=$${RANLIB}" \
22330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22335 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
22336 maybe-installcheck-target-zlib:
22338 installcheck-target-zlib: \
22339 configure-target-zlib
22340 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
22341 r=`${PWD_COMMAND}`; export r; \
22342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22344 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
22345 for flag in $(EXTRA_TARGET_FLAGS); do \
22346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22348 (cd $(TARGET_SUBDIR)/zlib && \
22349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22351 "RANLIB=$${RANLIB}" \
22352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22357 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
22358 maybe-mostlyclean-target-zlib:
22360 mostlyclean-target-zlib:
22361 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
22362 r=`${PWD_COMMAND}`; export r; \
22363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22365 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
22366 for flag in $(EXTRA_TARGET_FLAGS); do \
22367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22369 (cd $(TARGET_SUBDIR)/zlib && \
22370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22372 "RANLIB=$${RANLIB}" \
22373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22378 .PHONY: maybe-clean-target-zlib clean-target-zlib
22379 maybe-clean-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 clean 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-distclean-target-zlib distclean-target-zlib
22400 maybe-distclean-target-zlib:
22402 distclean-target-zlib:
22403 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
22404 r=`${PWD_COMMAND}`; export r; \
22405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22407 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
22408 for flag in $(EXTRA_TARGET_FLAGS); do \
22409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22411 (cd $(TARGET_SUBDIR)/zlib && \
22412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22414 "RANLIB=$${RANLIB}" \
22415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22420 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
22421 maybe-maintainer-clean-target-zlib:
22423 maintainer-clean-target-zlib:
22424 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
22425 r=`${PWD_COMMAND}`; export r; \
22426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22428 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
22429 for flag in $(EXTRA_TARGET_FLAGS); do \
22430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22432 (cd $(TARGET_SUBDIR)/zlib && \
22433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22435 "RANLIB=$${RANLIB}" \
22436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22437 maintainer-clean) \
22442 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
22443 maybe-configure-target-boehm-gc:
22445 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22446 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
22447 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
22448 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
22449 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
22451 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
22452 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
22453 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
22454 r=`${PWD_COMMAND}`; export r; \
22455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22457 AR="$(AR_FOR_TARGET)"; export AR; \
22458 AS="$(AS_FOR_TARGET)"; export AS; \
22459 CC="$(CC_FOR_TARGET)"; export CC; \
22460 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22461 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
22462 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22463 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22464 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22465 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22466 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22467 LD="$(LD_FOR_TARGET)"; export LD; \
22468 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22469 NM="$(NM_FOR_TARGET)"; export NM; \
22470 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22471 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22472 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
22473 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
22474 case $(srcdir) in \
22475 /* | [A-Za-z]:[\\/]*) \
22476 topdir=$(srcdir) ;; \
22478 case "$(TARGET_SUBDIR)" in \
22479 .) topdir="../$(srcdir)" ;; \
22480 *) topdir="../../$(srcdir)" ;; \
22483 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
22484 libsrcdir="$$s/boehm-gc"; \
22485 rm -f no-such-file || : ; \
22486 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22487 $(TARGET_CONFIGARGS) $${srcdiroption} \
22488 --with-target-subdir="$(TARGET_SUBDIR)" \
22491 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
22492 maybe-all-target-boehm-gc:
22493 all-target-boehm-gc: configure-target-boehm-gc
22494 @r=`${PWD_COMMAND}`; export r; \
22495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22497 (cd $(TARGET_SUBDIR)/boehm-gc && \
22498 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22500 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
22501 maybe-check-target-boehm-gc:
22503 check-target-boehm-gc:
22504 @r=`${PWD_COMMAND}`; export r; \
22505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22507 (cd $(TARGET_SUBDIR)/boehm-gc && \
22508 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22511 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
22512 maybe-install-target-boehm-gc:
22514 install-target-boehm-gc: installdirs
22515 @r=`${PWD_COMMAND}`; export r; \
22516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22518 (cd $(TARGET_SUBDIR)/boehm-gc && \
22519 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22522 # Other targets (info, dvi, etc.)
22524 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
22525 maybe-info-target-boehm-gc:
22527 info-target-boehm-gc: \
22528 configure-target-boehm-gc
22529 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
22530 r=`${PWD_COMMAND}`; export r; \
22531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22533 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
22534 for flag in $(EXTRA_TARGET_FLAGS); do \
22535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22537 (cd $(TARGET_SUBDIR)/boehm-gc && \
22538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22540 "RANLIB=$${RANLIB}" \
22541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22546 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
22547 maybe-dvi-target-boehm-gc:
22549 dvi-target-boehm-gc: \
22550 configure-target-boehm-gc
22551 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
22552 r=`${PWD_COMMAND}`; export r; \
22553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22555 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
22556 for flag in $(EXTRA_TARGET_FLAGS); do \
22557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22559 (cd $(TARGET_SUBDIR)/boehm-gc && \
22560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22562 "RANLIB=$${RANLIB}" \
22563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22568 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
22569 maybe-TAGS-target-boehm-gc:
22571 TAGS-target-boehm-gc: \
22572 configure-target-boehm-gc
22573 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
22574 r=`${PWD_COMMAND}`; export r; \
22575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22577 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
22578 for flag in $(EXTRA_TARGET_FLAGS); do \
22579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22581 (cd $(TARGET_SUBDIR)/boehm-gc && \
22582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22584 "RANLIB=$${RANLIB}" \
22585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22590 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
22591 maybe-install-info-target-boehm-gc:
22593 install-info-target-boehm-gc: \
22594 configure-target-boehm-gc \
22595 info-target-boehm-gc
22596 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
22597 r=`${PWD_COMMAND}`; export r; \
22598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22600 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
22601 for flag in $(EXTRA_TARGET_FLAGS); do \
22602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22604 (cd $(TARGET_SUBDIR)/boehm-gc && \
22605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22607 "RANLIB=$${RANLIB}" \
22608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22613 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
22614 maybe-installcheck-target-boehm-gc:
22616 installcheck-target-boehm-gc: \
22617 configure-target-boehm-gc
22618 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
22619 r=`${PWD_COMMAND}`; export r; \
22620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22622 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
22623 for flag in $(EXTRA_TARGET_FLAGS); do \
22624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22626 (cd $(TARGET_SUBDIR)/boehm-gc && \
22627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22629 "RANLIB=$${RANLIB}" \
22630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22635 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
22636 maybe-mostlyclean-target-boehm-gc:
22638 mostlyclean-target-boehm-gc:
22639 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
22640 r=`${PWD_COMMAND}`; export r; \
22641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22643 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
22644 for flag in $(EXTRA_TARGET_FLAGS); do \
22645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22647 (cd $(TARGET_SUBDIR)/boehm-gc && \
22648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22650 "RANLIB=$${RANLIB}" \
22651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22656 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
22657 maybe-clean-target-boehm-gc:
22659 clean-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 clean 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-distclean-target-boehm-gc distclean-target-boehm-gc
22678 maybe-distclean-target-boehm-gc:
22680 distclean-target-boehm-gc:
22681 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
22682 r=`${PWD_COMMAND}`; export r; \
22683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22685 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
22686 for flag in $(EXTRA_TARGET_FLAGS); do \
22687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22689 (cd $(TARGET_SUBDIR)/boehm-gc && \
22690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22692 "RANLIB=$${RANLIB}" \
22693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22698 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
22699 maybe-maintainer-clean-target-boehm-gc:
22701 maintainer-clean-target-boehm-gc:
22702 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
22703 r=`${PWD_COMMAND}`; export r; \
22704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22706 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
22707 for flag in $(EXTRA_TARGET_FLAGS); do \
22708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22710 (cd $(TARGET_SUBDIR)/boehm-gc && \
22711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22713 "RANLIB=$${RANLIB}" \
22714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22715 maintainer-clean) \
22720 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
22721 maybe-configure-target-qthreads:
22723 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22724 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
22725 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
22726 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
22727 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
22729 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
22730 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
22731 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
22732 r=`${PWD_COMMAND}`; export r; \
22733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22735 AR="$(AR_FOR_TARGET)"; export AR; \
22736 AS="$(AS_FOR_TARGET)"; export AS; \
22737 CC="$(CC_FOR_TARGET)"; export CC; \
22738 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
22739 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
22740 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
22741 CXX="$(CXX_FOR_TARGET)"; export CXX; \
22742 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
22743 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
22744 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
22745 LD="$(LD_FOR_TARGET)"; export LD; \
22746 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
22747 NM="$(NM_FOR_TARGET)"; export NM; \
22748 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
22749 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
22750 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
22751 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
22752 case $(srcdir) in \
22753 /* | [A-Za-z]:[\\/]*) \
22754 topdir=$(srcdir) ;; \
22756 case "$(TARGET_SUBDIR)" in \
22757 .) topdir="../$(srcdir)" ;; \
22758 *) topdir="../../$(srcdir)" ;; \
22761 srcdiroption="--srcdir=$${topdir}/qthreads"; \
22762 libsrcdir="$$s/qthreads"; \
22763 rm -f no-such-file || : ; \
22764 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22765 $(TARGET_CONFIGARGS) $${srcdiroption} \
22766 --with-target-subdir="$(TARGET_SUBDIR)" \
22769 .PHONY: all-target-qthreads maybe-all-target-qthreads
22770 maybe-all-target-qthreads:
22771 all-target-qthreads: configure-target-qthreads
22772 @r=`${PWD_COMMAND}`; export r; \
22773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22775 (cd $(TARGET_SUBDIR)/qthreads && \
22776 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22778 .PHONY: check-target-qthreads maybe-check-target-qthreads
22779 maybe-check-target-qthreads:
22781 check-target-qthreads:
22782 @r=`${PWD_COMMAND}`; export r; \
22783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22785 (cd $(TARGET_SUBDIR)/qthreads && \
22786 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22789 .PHONY: install-target-qthreads maybe-install-target-qthreads
22790 maybe-install-target-qthreads:
22792 install-target-qthreads: installdirs
22793 @r=`${PWD_COMMAND}`; export r; \
22794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22796 (cd $(TARGET_SUBDIR)/qthreads && \
22797 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22800 # Other targets (info, dvi, etc.)
22802 .PHONY: maybe-info-target-qthreads info-target-qthreads
22803 maybe-info-target-qthreads:
22805 info-target-qthreads: \
22806 configure-target-qthreads
22807 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
22808 r=`${PWD_COMMAND}`; export r; \
22809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22811 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
22812 for flag in $(EXTRA_TARGET_FLAGS); do \
22813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22815 (cd $(TARGET_SUBDIR)/qthreads && \
22816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22818 "RANLIB=$${RANLIB}" \
22819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22824 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
22825 maybe-dvi-target-qthreads:
22827 dvi-target-qthreads: \
22828 configure-target-qthreads
22829 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
22830 r=`${PWD_COMMAND}`; export r; \
22831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22833 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
22834 for flag in $(EXTRA_TARGET_FLAGS); do \
22835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22837 (cd $(TARGET_SUBDIR)/qthreads && \
22838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22840 "RANLIB=$${RANLIB}" \
22841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22846 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
22847 maybe-TAGS-target-qthreads:
22849 TAGS-target-qthreads: \
22850 configure-target-qthreads
22851 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
22852 r=`${PWD_COMMAND}`; export r; \
22853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22855 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
22856 for flag in $(EXTRA_TARGET_FLAGS); do \
22857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22859 (cd $(TARGET_SUBDIR)/qthreads && \
22860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22862 "RANLIB=$${RANLIB}" \
22863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22868 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
22869 maybe-install-info-target-qthreads:
22871 install-info-target-qthreads: \
22872 configure-target-qthreads \
22873 info-target-qthreads
22874 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
22875 r=`${PWD_COMMAND}`; export r; \
22876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22878 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
22879 for flag in $(EXTRA_TARGET_FLAGS); do \
22880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22882 (cd $(TARGET_SUBDIR)/qthreads && \
22883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22885 "RANLIB=$${RANLIB}" \
22886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22891 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
22892 maybe-installcheck-target-qthreads:
22894 installcheck-target-qthreads: \
22895 configure-target-qthreads
22896 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
22897 r=`${PWD_COMMAND}`; export r; \
22898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22900 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
22901 for flag in $(EXTRA_TARGET_FLAGS); do \
22902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22904 (cd $(TARGET_SUBDIR)/qthreads && \
22905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22907 "RANLIB=$${RANLIB}" \
22908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22913 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
22914 maybe-mostlyclean-target-qthreads:
22916 mostlyclean-target-qthreads:
22917 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
22918 r=`${PWD_COMMAND}`; export r; \
22919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22921 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
22922 for flag in $(EXTRA_TARGET_FLAGS); do \
22923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22925 (cd $(TARGET_SUBDIR)/qthreads && \
22926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22928 "RANLIB=$${RANLIB}" \
22929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22934 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
22935 maybe-clean-target-qthreads:
22937 clean-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 clean 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-distclean-target-qthreads distclean-target-qthreads
22956 maybe-distclean-target-qthreads:
22958 distclean-target-qthreads:
22959 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
22960 r=`${PWD_COMMAND}`; export r; \
22961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22963 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
22964 for flag in $(EXTRA_TARGET_FLAGS); do \
22965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22967 (cd $(TARGET_SUBDIR)/qthreads && \
22968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22970 "RANLIB=$${RANLIB}" \
22971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22976 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
22977 maybe-maintainer-clean-target-qthreads:
22979 maintainer-clean-target-qthreads:
22980 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
22981 r=`${PWD_COMMAND}`; export r; \
22982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22984 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
22985 for flag in $(EXTRA_TARGET_FLAGS); do \
22986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22988 (cd $(TARGET_SUBDIR)/qthreads && \
22989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22991 "RANLIB=$${RANLIB}" \
22992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22993 maintainer-clean) \
22998 .PHONY: configure-target-rda maybe-configure-target-rda
22999 maybe-configure-target-rda:
23001 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23002 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
23003 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
23004 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
23005 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
23007 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
23008 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
23009 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
23010 r=`${PWD_COMMAND}`; export r; \
23011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23013 AR="$(AR_FOR_TARGET)"; export AR; \
23014 AS="$(AS_FOR_TARGET)"; export AS; \
23015 CC="$(CC_FOR_TARGET)"; export CC; \
23016 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23017 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
23018 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23019 CXX="$(CXX_FOR_TARGET)"; export CXX; \
23020 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23021 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23022 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23023 LD="$(LD_FOR_TARGET)"; export LD; \
23024 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23025 NM="$(NM_FOR_TARGET)"; export NM; \
23026 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23027 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23028 echo Configuring in $(TARGET_SUBDIR)/rda; \
23029 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
23030 case $(srcdir) in \
23031 /* | [A-Za-z]:[\\/]*) \
23032 topdir=$(srcdir) ;; \
23034 case "$(TARGET_SUBDIR)" in \
23035 .) topdir="../$(srcdir)" ;; \
23036 *) topdir="../../$(srcdir)" ;; \
23039 srcdiroption="--srcdir=$${topdir}/rda"; \
23040 libsrcdir="$$s/rda"; \
23041 rm -f no-such-file || : ; \
23042 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23043 $(TARGET_CONFIGARGS) $${srcdiroption} \
23044 --with-target-subdir="$(TARGET_SUBDIR)" \
23047 .PHONY: all-target-rda maybe-all-target-rda
23048 maybe-all-target-rda:
23049 all-target-rda: configure-target-rda
23050 @r=`${PWD_COMMAND}`; export r; \
23051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23053 (cd $(TARGET_SUBDIR)/rda && \
23054 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23056 .PHONY: check-target-rda maybe-check-target-rda
23057 maybe-check-target-rda:
23060 @r=`${PWD_COMMAND}`; export r; \
23061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23063 (cd $(TARGET_SUBDIR)/rda && \
23064 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23067 .PHONY: install-target-rda maybe-install-target-rda
23068 maybe-install-target-rda:
23070 install-target-rda: installdirs
23071 @r=`${PWD_COMMAND}`; export r; \
23072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23074 (cd $(TARGET_SUBDIR)/rda && \
23075 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23078 # Other targets (info, dvi, etc.)
23080 .PHONY: maybe-info-target-rda info-target-rda
23081 maybe-info-target-rda:
23084 configure-target-rda
23085 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23086 r=`${PWD_COMMAND}`; export r; \
23087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23089 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
23090 for flag in $(EXTRA_TARGET_FLAGS); do \
23091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23093 (cd $(TARGET_SUBDIR)/rda && \
23094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23096 "RANLIB=$${RANLIB}" \
23097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23102 .PHONY: maybe-dvi-target-rda dvi-target-rda
23103 maybe-dvi-target-rda:
23106 configure-target-rda
23107 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23108 r=`${PWD_COMMAND}`; export r; \
23109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23111 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
23112 for flag in $(EXTRA_TARGET_FLAGS); do \
23113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23115 (cd $(TARGET_SUBDIR)/rda && \
23116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23118 "RANLIB=$${RANLIB}" \
23119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23124 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
23125 maybe-TAGS-target-rda:
23128 configure-target-rda
23129 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23130 r=`${PWD_COMMAND}`; export r; \
23131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23133 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
23134 for flag in $(EXTRA_TARGET_FLAGS); do \
23135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23137 (cd $(TARGET_SUBDIR)/rda && \
23138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23140 "RANLIB=$${RANLIB}" \
23141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23146 .PHONY: maybe-install-info-target-rda install-info-target-rda
23147 maybe-install-info-target-rda:
23149 install-info-target-rda: \
23150 configure-target-rda \
23152 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23153 r=`${PWD_COMMAND}`; export r; \
23154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23156 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
23157 for flag in $(EXTRA_TARGET_FLAGS); do \
23158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23160 (cd $(TARGET_SUBDIR)/rda && \
23161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23163 "RANLIB=$${RANLIB}" \
23164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23169 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
23170 maybe-installcheck-target-rda:
23172 installcheck-target-rda: \
23173 configure-target-rda
23174 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23175 r=`${PWD_COMMAND}`; export r; \
23176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23178 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
23179 for flag in $(EXTRA_TARGET_FLAGS); do \
23180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23182 (cd $(TARGET_SUBDIR)/rda && \
23183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23185 "RANLIB=$${RANLIB}" \
23186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23191 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
23192 maybe-mostlyclean-target-rda:
23194 mostlyclean-target-rda:
23195 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23196 r=`${PWD_COMMAND}`; export r; \
23197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23199 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
23200 for flag in $(EXTRA_TARGET_FLAGS); do \
23201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23203 (cd $(TARGET_SUBDIR)/rda && \
23204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23206 "RANLIB=$${RANLIB}" \
23207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23212 .PHONY: maybe-clean-target-rda clean-target-rda
23213 maybe-clean-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 clean 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-distclean-target-rda distclean-target-rda
23234 maybe-distclean-target-rda:
23236 distclean-target-rda:
23237 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23238 r=`${PWD_COMMAND}`; export r; \
23239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23241 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
23242 for flag in $(EXTRA_TARGET_FLAGS); do \
23243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23245 (cd $(TARGET_SUBDIR)/rda && \
23246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23248 "RANLIB=$${RANLIB}" \
23249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23254 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
23255 maybe-maintainer-clean-target-rda:
23257 maintainer-clean-target-rda:
23258 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
23259 r=`${PWD_COMMAND}`; export r; \
23260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23262 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
23263 for flag in $(EXTRA_TARGET_FLAGS); do \
23264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23266 (cd $(TARGET_SUBDIR)/rda && \
23267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23269 "RANLIB=$${RANLIB}" \
23270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23271 maintainer-clean) \
23276 .PHONY: configure-target-libada maybe-configure-target-libada
23277 maybe-configure-target-libada:
23279 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23280 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
23281 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
23282 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
23283 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
23285 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
23286 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
23287 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
23288 r=`${PWD_COMMAND}`; export r; \
23289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23291 AR="$(AR_FOR_TARGET)"; export AR; \
23292 AS="$(AS_FOR_TARGET)"; export AS; \
23293 CC="$(CC_FOR_TARGET)"; export CC; \
23294 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
23295 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
23296 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
23297 CXX="$(CXX_FOR_TARGET)"; export CXX; \
23298 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
23299 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
23300 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
23301 LD="$(LD_FOR_TARGET)"; export LD; \
23302 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
23303 NM="$(NM_FOR_TARGET)"; export NM; \
23304 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
23305 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
23306 echo Configuring in $(TARGET_SUBDIR)/libada; \
23307 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
23308 case $(srcdir) in \
23309 /* | [A-Za-z]:[\\/]*) \
23310 topdir=$(srcdir) ;; \
23312 case "$(TARGET_SUBDIR)" in \
23313 .) topdir="../$(srcdir)" ;; \
23314 *) topdir="../../$(srcdir)" ;; \
23317 srcdiroption="--srcdir=$${topdir}/libada"; \
23318 libsrcdir="$$s/libada"; \
23319 rm -f no-such-file || : ; \
23320 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23321 $(TARGET_CONFIGARGS) $${srcdiroption} \
23322 --with-target-subdir="$(TARGET_SUBDIR)" \
23325 .PHONY: all-target-libada maybe-all-target-libada
23326 maybe-all-target-libada:
23327 all-target-libada: configure-target-libada
23328 @r=`${PWD_COMMAND}`; export r; \
23329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23331 (cd $(TARGET_SUBDIR)/libada && \
23332 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23334 .PHONY: check-target-libada maybe-check-target-libada
23335 maybe-check-target-libada:
23337 check-target-libada:
23338 @r=`${PWD_COMMAND}`; export r; \
23339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23341 (cd $(TARGET_SUBDIR)/libada && \
23342 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23345 .PHONY: install-target-libada maybe-install-target-libada
23346 maybe-install-target-libada:
23348 install-target-libada: installdirs
23349 @r=`${PWD_COMMAND}`; export r; \
23350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23352 (cd $(TARGET_SUBDIR)/libada && \
23353 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23356 # Other targets (info, dvi, etc.)
23358 .PHONY: maybe-info-target-libada info-target-libada
23359 maybe-info-target-libada:
23361 info-target-libada: \
23362 configure-target-libada
23363 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
23364 r=`${PWD_COMMAND}`; export r; \
23365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23367 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
23368 for flag in $(EXTRA_TARGET_FLAGS); do \
23369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23371 (cd $(TARGET_SUBDIR)/libada && \
23372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23374 "RANLIB=$${RANLIB}" \
23375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23380 .PHONY: maybe-dvi-target-libada dvi-target-libada
23381 maybe-dvi-target-libada:
23383 dvi-target-libada: \
23384 configure-target-libada
23385 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
23386 r=`${PWD_COMMAND}`; export r; \
23387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23389 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
23390 for flag in $(EXTRA_TARGET_FLAGS); do \
23391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23393 (cd $(TARGET_SUBDIR)/libada && \
23394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23396 "RANLIB=$${RANLIB}" \
23397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23402 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
23403 maybe-TAGS-target-libada:
23405 TAGS-target-libada: \
23406 configure-target-libada
23407 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
23408 r=`${PWD_COMMAND}`; export r; \
23409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23411 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
23412 for flag in $(EXTRA_TARGET_FLAGS); do \
23413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23415 (cd $(TARGET_SUBDIR)/libada && \
23416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23418 "RANLIB=$${RANLIB}" \
23419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23424 .PHONY: maybe-install-info-target-libada install-info-target-libada
23425 maybe-install-info-target-libada:
23427 install-info-target-libada: \
23428 configure-target-libada \
23430 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
23431 r=`${PWD_COMMAND}`; export r; \
23432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23434 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
23435 for flag in $(EXTRA_TARGET_FLAGS); do \
23436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23438 (cd $(TARGET_SUBDIR)/libada && \
23439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23441 "RANLIB=$${RANLIB}" \
23442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23447 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
23448 maybe-installcheck-target-libada:
23450 installcheck-target-libada: \
23451 configure-target-libada
23452 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
23453 r=`${PWD_COMMAND}`; export r; \
23454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23456 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
23457 for flag in $(EXTRA_TARGET_FLAGS); do \
23458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23460 (cd $(TARGET_SUBDIR)/libada && \
23461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23463 "RANLIB=$${RANLIB}" \
23464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23469 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
23470 maybe-mostlyclean-target-libada:
23472 mostlyclean-target-libada:
23473 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
23474 r=`${PWD_COMMAND}`; export r; \
23475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23477 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
23478 for flag in $(EXTRA_TARGET_FLAGS); do \
23479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23481 (cd $(TARGET_SUBDIR)/libada && \
23482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23484 "RANLIB=$${RANLIB}" \
23485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23490 .PHONY: maybe-clean-target-libada clean-target-libada
23491 maybe-clean-target-libada:
23493 clean-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 clean 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-distclean-target-libada distclean-target-libada
23512 maybe-distclean-target-libada:
23514 distclean-target-libada:
23515 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
23516 r=`${PWD_COMMAND}`; export r; \
23517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23519 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
23520 for flag in $(EXTRA_TARGET_FLAGS); do \
23521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23523 (cd $(TARGET_SUBDIR)/libada && \
23524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23526 "RANLIB=$${RANLIB}" \
23527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23532 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
23533 maybe-maintainer-clean-target-libada:
23535 maintainer-clean-target-libada:
23536 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
23537 r=`${PWD_COMMAND}`; export r; \
23538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23540 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
23541 for flag in $(EXTRA_TARGET_FLAGS); do \
23542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23544 (cd $(TARGET_SUBDIR)/libada && \
23545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23547 "RANLIB=$${RANLIB}" \
23548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23549 maintainer-clean) \
23559 # Unfortunately, while gcc _should_ be a host module,
23560 # libgcc is a target module, and gen* programs are
23561 # build modules. So GCC is a sort of hybrid.
23563 # gcc is the only module which uses GCC_FLAGS_TO_PASS.
23564 # Don't use shared host config.cache, as it will confuse later
23565 # directories; GCC wants slightly different values for some
23566 # precious variables. *sigh*
23568 # We must skip configuring if toplevel bootstrap is going.
23569 .PHONY: configure-gcc maybe-configure-gcc
23570 maybe-configure-gcc:
23572 @test ! -f gcc/Makefile || exit 0; \
23573 [ -f stage_last ] && exit 0; \
23574 [ -d gcc ] || mkdir gcc; \
23575 r=`${PWD_COMMAND}`; export r; \
23576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23577 CC="$(CC)"; export CC; \
23578 CFLAGS="$(CFLAGS)"; export CFLAGS; \
23579 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
23580 CXX="$(CXX)"; export CXX; \
23581 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
23582 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
23583 AR="$(AR)"; export AR; \
23584 AS="$(AS)"; export AS; \
23585 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
23586 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
23587 LD="$(LD)"; export LD; \
23588 NM="$(NM)"; export NM; \
23589 RANLIB="$(RANLIB)"; export RANLIB; \
23590 WINDRES="$(WINDRES)"; export WINDRES; \
23591 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
23592 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
23593 echo Configuring in gcc; \
23594 cd gcc || exit 1; \
23595 case $(srcdir) in \
23597 srcdiroption="--srcdir=."; \
23599 /* | [A-Za-z]:[\\/]*) \
23600 srcdiroption="--srcdir=$(srcdir)/gcc"; \
23601 libsrcdir="$$s/gcc";; \
23603 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
23604 libsrcdir="$$s/gcc";; \
23606 $(SHELL) $${libsrcdir}/configure \
23607 $(HOST_CONFIGARGS) $${srcdiroption} \
23610 # Don't 'make all' in gcc if it's already been made by 'bootstrap'; that
23611 # causes trouble. This wart will be fixed eventually by moving
23612 # the bootstrap behavior to this file.
23613 .PHONY: all-gcc maybe-all-gcc
23615 all-gcc: configure-gcc
23616 r=`${PWD_COMMAND}`; export r; \
23617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23618 if [ -f stage_last ] ; then \
23620 elif [ -f gcc/stage_last ] ; then \
23622 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) quickstrap); \
23625 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) all); \
23628 # Building GCC uses some tools for rebuilding "source" files
23629 # like texinfo, bison/byacc, etc. So we must depend on those.
23631 # While building GCC, it may be necessary to run various target
23632 # programs like the assembler, linker, etc. So we depend on
23635 # In theory, on an SMP all those dependencies can be resolved
23638 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
23639 .PHONY: $(GCC_STRAP_TARGETS)
23640 $(GCC_STRAP_TARGETS): all-bootstrap configure-gcc
23641 @r=`${PWD_COMMAND}`; export r; \
23642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23644 echo "Bootstrapping the compiler"; \
23645 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
23646 @r=`${PWD_COMMAND}`; export r; \
23647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23649 *bootstrap4-lean ) \
23650 msg="Comparing stage3 and stage4 of the compiler"; \
23651 compare=compare3-lean ;; \
23653 msg="Comparing stage3 and stage4 of the compiler"; \
23654 compare=compare3 ;; \
23656 msg="Comparing stage2 and stage3 of the compiler"; \
23657 compare=compare-lean ;; \
23659 msg="Comparing stage2 and stage3 of the compiler"; \
23660 compare=compare ;; \
23664 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
23665 @r=`${PWD_COMMAND}`; export r; \
23666 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
23668 echo "Building runtime libraries"; \
23669 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
23671 profiledbootstrap: all-bootstrap configure-gcc
23672 @r=`${PWD_COMMAND}`; export r; \
23673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23675 echo "Bootstrapping the compiler"; \
23676 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
23677 @r=`${PWD_COMMAND}`; export r; \
23678 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
23680 echo "Building runtime libraries and training compiler"; \
23681 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
23682 @r=`${PWD_COMMAND}`; export r; \
23683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23685 echo "Building feedback based compiler"; \
23686 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
23689 cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
23690 @r=`${PWD_COMMAND}`; export r; \
23691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23693 echo "Building the C and C++ compiler"; \
23694 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
23695 @r=`${PWD_COMMAND}`; export r; \
23696 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
23698 echo "Building runtime libraries"; \
23699 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) \
23700 LANGUAGES="c c++" all
23702 .PHONY: check-gcc maybe-check-gcc
23705 @if [ -f ./gcc/Makefile ] ; then \
23706 r=`${PWD_COMMAND}`; export r; \
23707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23709 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check); \
23714 .PHONY: check-gcc-c++
23716 @if [ -f ./gcc/Makefile ] ; then \
23717 r=`${PWD_COMMAND}`; export r; \
23718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23720 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
23726 check-c++: check-target-libstdc++-v3 check-gcc-c++
23728 .PHONY: install-gcc maybe-install-gcc
23731 @if [ -f ./gcc/Makefile ] ; then \
23732 r=`${PWD_COMMAND}`; export r; \
23733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23735 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
23740 # Install the gcc headers files, but not the fixed include files,
23741 # which Cygnus is not allowed to distribute. This rule is very
23742 # dependent on the workings of the gcc Makefile.in.
23743 .PHONY: gcc-no-fixedincludes
23744 gcc-no-fixedincludes:
23745 @if [ -f ./gcc/Makefile ]; then \
23746 rm -rf gcc/tmp-include; \
23747 mv gcc/include gcc/tmp-include 2>/dev/null; \
23748 mkdir gcc/include; \
23749 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
23750 touch gcc/stmp-fixinc gcc/include/fixed; \
23751 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
23752 r=`${PWD_COMMAND}`; export r; \
23753 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
23756 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
23757 rm -rf gcc/include; \
23758 mv gcc/tmp-include gcc/include 2>/dev/null; \
23761 # Other targets (dvi, info, etc.)
23763 .PHONY: maybe-info-gcc info-gcc
23767 @[ -f ./gcc/Makefile ] || exit 0; \
23768 r=`${PWD_COMMAND}`; export r; \
23769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23771 for flag in $(EXTRA_GCC_FLAGS); do \
23772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23774 echo "Doing info in gcc" ; \
23776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23778 "RANLIB=$${RANLIB}" \
23779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23784 .PHONY: maybe-dvi-gcc dvi-gcc
23788 @[ -f ./gcc/Makefile ] || exit 0; \
23789 r=`${PWD_COMMAND}`; export r; \
23790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23792 for flag in $(EXTRA_GCC_FLAGS); do \
23793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23795 echo "Doing dvi in gcc" ; \
23797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23799 "RANLIB=$${RANLIB}" \
23800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23805 .PHONY: maybe-TAGS-gcc TAGS-gcc
23809 @[ -f ./gcc/Makefile ] || exit 0; \
23810 r=`${PWD_COMMAND}`; export r; \
23811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23813 for flag in $(EXTRA_GCC_FLAGS); do \
23814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23816 echo "Doing TAGS in gcc" ; \
23818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23820 "RANLIB=$${RANLIB}" \
23821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23826 .PHONY: maybe-install-info-gcc install-info-gcc
23827 maybe-install-info-gcc:
23828 install-info-gcc: \
23831 @[ -f ./gcc/Makefile ] || exit 0; \
23832 r=`${PWD_COMMAND}`; export r; \
23833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23835 for flag in $(EXTRA_GCC_FLAGS); do \
23836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23838 echo "Doing install-info in gcc" ; \
23840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23842 "RANLIB=$${RANLIB}" \
23843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23848 .PHONY: maybe-installcheck-gcc installcheck-gcc
23849 maybe-installcheck-gcc:
23850 installcheck-gcc: \
23852 @[ -f ./gcc/Makefile ] || exit 0; \
23853 r=`${PWD_COMMAND}`; export r; \
23854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23856 for flag in $(EXTRA_GCC_FLAGS); do \
23857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23859 echo "Doing installcheck in gcc" ; \
23861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23863 "RANLIB=$${RANLIB}" \
23864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23869 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
23870 maybe-mostlyclean-gcc:
23872 @[ -f ./gcc/Makefile ] || exit 0; \
23873 r=`${PWD_COMMAND}`; export r; \
23874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23876 for flag in $(EXTRA_GCC_FLAGS); do \
23877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23879 echo "Doing mostlyclean in gcc" ; \
23881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23883 "RANLIB=$${RANLIB}" \
23884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23889 .PHONY: maybe-clean-gcc clean-gcc
23892 @[ -f ./gcc/Makefile ] || exit 0; \
23893 r=`${PWD_COMMAND}`; export r; \
23894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23896 for flag in $(EXTRA_GCC_FLAGS); do \
23897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23899 echo "Doing clean in gcc" ; \
23901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23903 "RANLIB=$${RANLIB}" \
23904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23909 .PHONY: maybe-distclean-gcc distclean-gcc
23910 maybe-distclean-gcc:
23912 @[ -f ./gcc/Makefile ] || exit 0; \
23913 r=`${PWD_COMMAND}`; export r; \
23914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23916 for flag in $(EXTRA_GCC_FLAGS); do \
23917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23919 echo "Doing distclean in gcc" ; \
23921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23923 "RANLIB=$${RANLIB}" \
23924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23929 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
23930 maybe-maintainer-clean-gcc:
23931 maintainer-clean-gcc:
23932 @[ -f ./gcc/Makefile ] || exit 0; \
23933 r=`${PWD_COMMAND}`; export r; \
23934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23936 for flag in $(EXTRA_GCC_FLAGS); do \
23937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23939 echo "Doing maintainer-clean in gcc" ; \
23941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23943 "RANLIB=$${RANLIB}" \
23944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23945 maintainer-clean) \
23950 # ---------------------
23951 # GCC bootstrap support
23952 # ---------------------
23954 # We name the directories for the various stages "stage1-gcc",
23955 # "stage2-gcc","stage3-gcc", etc.
23956 # Unfortunately, the 'compare' process will fail (on debugging information)
23957 # if any directory names are different!
23958 # So in the building rule for each stage, we relocate them before and after.
23959 # The current one is 'gcc', while the previous one is 'prev-gcc'. (The
23960 # current one must be 'gcc' for now because the scripts in that directory
23962 # At the end of the bootstrap, 'stage3-gcc' must be moved to 'gcc' so that
23963 # libraries can find it. Ick!
23965 # Bugs: This is almost certainly not parallel-make safe.
23967 # 'touch' doesn't work right on some platforms.
23968 STAMP = echo timestamp >
23970 # Only build the C compiler for stage1, because that is the only one that
23971 # we can guarantee will build with the native compiler, and also it is the
23972 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
23973 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
23974 # overrideable (for a bootstrap build stage1 also builds gcc.info).
23976 STAGE1_CFLAGS=@stage1_cflags@
23977 STAGE1_LANGUAGES=@stage1_languages@
23980 # * We force-disable intermodule optimizations, even if
23981 # --enable-intermodule was passed, since the installed compiler probably
23982 # can't handle them. Luckily, autoconf always respects
23983 # the last argument when conflicting --enable arguments are passed.
23984 # * Likewise, we force-disable coverage flags, since the installed compiler
23985 # probably has never heard of them.
23986 # * We build only C (and possibly Ada).
23987 configure-stage1-gcc:
23988 echo configure-stage1-gcc > stage_last ; \
23989 if [ -f stage1-gcc/Makefile ] ; then \
23990 $(STAMP) configure-stage1-gcc ; \
23995 [ -d stage1-gcc ] || mkdir stage1-gcc; \
23996 mv stage1-gcc gcc ; \
23997 r=`${PWD_COMMAND}`; export r; \
23998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23999 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
24000 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
24001 CC="$(CC)"; export CC; \
24002 CFLAGS="$(CFLAGS)"; export CFLAGS; \
24003 CXX="$(CXX)"; export CXX; \
24004 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
24005 AR="$(AR)"; export AR; \
24006 AS="$(AS)"; export AS; \
24007 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
24008 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
24009 LD="$(LD)"; export LD; \
24010 NM="$(NM)"; export NM; \
24011 RANLIB="$(RANLIB)"; export RANLIB; \
24012 WINDRES="$(WINDRES)"; export WINDRES; \
24013 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
24014 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
24015 echo Configuring stage 1 in gcc; \
24016 cd gcc || exit 1; \
24017 case $(srcdir) in \
24019 srcdiroption="--srcdir=."; \
24021 /* | [A-Za-z]:[\\/]*) \
24022 srcdiroption="--srcdir=$(srcdir)/gcc"; \
24023 libsrcdir="$$s/gcc";; \
24025 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
24026 libsrcdir="$$s/gcc";; \
24028 $(SHELL) $${libsrcdir}/configure \
24029 $(HOST_CONFIGARGS) $${srcdiroption} \
24030 --disable-intermodule --disable-coverage \
24031 --enable-languages="$(STAGE1_LANGUAGES)"; \
24033 mv gcc stage1-gcc ; \
24034 $(STAMP) configure-stage1-gcc
24036 # Real targets act phony if they depend on phony targets; this hack
24037 # prevents gratuitous rebuilding of stage 1.
24039 $(MAKE) all-bootstrap
24040 $(STAMP) prebootstrap
24042 all-stage1-gcc: configure-stage1-gcc prebootstrap
24043 echo all-stage1-gcc > stage_last ; \
24044 r=`${PWD_COMMAND}`; export r; \
24045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24046 mv stage1-gcc gcc ; \
24048 $(MAKE) $(GCC_FLAGS_TO_PASS) \
24049 CFLAGS="$(STAGE1_CFLAGS)" \
24052 mv gcc stage1-gcc ; \
24053 $(STAMP) all-stage1-gcc
24055 # TODO: Deal with STAGE_PREFIX (which is only for ada, incidentally)
24056 # Possibly pass --enable-werror-always (depending on --enable-werror);
24057 # that's what @stage2_werror_flag@ is for
24058 configure-stage2-gcc: all-stage1-gcc
24059 echo configure-stage2-gcc > stage_last ; \
24060 if [ -f stage2-gcc/Makefile ] ; then \
24061 $(STAMP) configure-stage2-gcc ; \
24066 [ -d stage2-gcc ] || mkdir stage2-gcc; \
24067 mv stage2-gcc gcc ; \
24068 mv stage1-gcc prev-gcc ; \
24069 r=`${PWD_COMMAND}`; export r; \
24070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24071 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
24072 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
24073 CFLAGS="$(CFLAGS)"; export CFLAGS; \
24074 CXX="$(CXX)"; export CXX; \
24075 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
24076 AR="$(AR)"; export AR; \
24077 AS="$(AS)"; export AS; \
24078 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
24079 LD="$(LD)"; export LD; \
24080 NM="$(NM)"; export NM; \
24081 RANLIB="$(RANLIB)"; export RANLIB; \
24082 WINDRES="$(WINDRES)"; export WINDRES; \
24083 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
24084 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
24085 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
24086 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \
24087 echo Configuring stage 2 in gcc; \
24088 cd gcc || exit 1; \
24089 case $(srcdir) in \
24091 srcdiroption="--srcdir=."; \
24093 /* | [A-Za-z]:[\\/]*) \
24094 srcdiroption="--srcdir=$(srcdir)/gcc"; \
24095 libsrcdir="$$s/gcc";; \
24097 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
24098 libsrcdir="$$s/gcc";; \
24100 $(SHELL) $${libsrcdir}/configure \
24101 $(HOST_CONFIGARGS) $${srcdiroption} @stage2_werror_flag@ ; \
24103 mv gcc stage2-gcc ; \
24104 mv prev-gcc stage1-gcc ; \
24105 $(STAMP) configure-stage2-gcc
24107 # Flags to pass to stage2 and later makes.
24108 BOOT_CFLAGS= -g -O2
24109 POSTSTAGE1_FLAGS_TO_PASS = \
24110 CFLAGS="$(BOOT_CFLAGS)" \
24113 all-stage2-gcc: all-stage1-gcc configure-stage2-gcc
24114 echo all-stage2-gcc > stage_last ; \
24115 r=`${PWD_COMMAND}`; export r; \
24116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24117 mv stage2-gcc gcc ; \
24118 mv stage1-gcc prev-gcc ; \
24120 $(MAKE) $(GCC_FLAGS_TO_PASS) \
24121 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/" \
24122 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/" \
24123 STAGE_PREFIX=$$r/prev-gcc/ \
24124 $(POSTSTAGE1_FLAGS_TO_PASS) || exit 1 ; \
24126 mv prev-gcc stage1-gcc ; \
24127 mv gcc stage2-gcc ; \
24128 $(STAMP) all-stage2-gcc
24130 configure-stage3-gcc: all-stage2-gcc
24131 echo configure-stage3-gcc > stage_last ; \
24132 if [ -f stage3-gcc/Makefile ] ; then \
24133 $(STAMP) configure-stage3-gcc ; \
24138 [ -d stage3-gcc ] || mkdir stage3-gcc; \
24139 mv stage3-gcc gcc ; \
24140 mv stage2-gcc prev-gcc ; \
24141 r=`${PWD_COMMAND}`; export r; \
24142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24143 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
24144 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
24145 CFLAGS="$(CFLAGS)"; export CFLAGS; \
24146 CXX="$(CXX)"; export CXX; \
24147 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
24148 AR="$(AR)"; export AR; \
24149 AS="$(AS)"; export AS; \
24150 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
24151 LD="$(LD)"; export LD; \
24152 NM="$(NM)"; export NM; \
24153 RANLIB="$(RANLIB)"; export RANLIB; \
24154 WINDRES="$(WINDRES)"; export WINDRES; \
24155 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
24156 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
24157 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
24158 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC_FOR_BUILD; \
24159 echo Configuring stage 3 in gcc; \
24160 cd gcc || exit 1; \
24161 case $(srcdir) in \
24163 srcdiroption="--srcdir=."; \
24165 /* | [A-Za-z]:[\\/]*) \
24166 srcdiroption="--srcdir=$(srcdir)/gcc"; \
24167 libsrcdir="$$s/gcc";; \
24169 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
24170 libsrcdir="$$s/gcc";; \
24172 $(SHELL) $${libsrcdir}/configure \
24173 $(HOST_CONFIGARGS) $${srcdiroption} @stage2_werror_flag@ ; \
24175 mv gcc stage3-gcc ; \
24176 mv prev-gcc stage2-gcc ; \
24177 $(STAMP) configure-stage3-gcc
24179 all-stage3-gcc: all-stage2-gcc configure-stage3-gcc
24180 echo all-stage3-gcc > stage_last ; \
24181 r=`${PWD_COMMAND}`; export r; \
24182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24183 mv stage2-gcc prev-gcc ; \
24184 mv stage3-gcc gcc ; \
24186 $(MAKE) $(GCC_FLAGS_TO_PASS) \
24187 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/" \
24188 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/" \
24189 STAGE_PREFIX=$$r/prev-gcc/ \
24190 $(POSTSTAGE1_FLAGS_TO_PASS) || exit 1 ; \
24192 mv prev-gcc stage2-gcc ; \
24193 mv gcc stage3-gcc ; \
24194 $(STAMP) all-stage3-gcc
24196 # We only want to compare .o files, so set this!
24199 compare: all-stage3-gcc
24200 r=`${PWD_COMMAND}`; export r; \
24201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24202 rm -f .bad_compare ; \
24204 files=`find . -name "*$(objext)" -print` ; \
24206 for file in $${files} ; do \
24207 cmp --ignore-initial=16 $$r/stage2-gcc/$$file $$r/stage3-gcc/$$file \
24208 > /dev/null 2>&1; \
24209 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
24211 if [ -f .bad_compare ]; then \
24212 echo "Bootstrap comparison failure!"; \
24213 cat .bad_compare; \
24220 .PHONY: new-bootstrap
24221 # This target exists so that everything can be made in one pass.
24222 # 'all-gcc' has to avoid stomping on the bootstrap-generated gcc for
24224 new-bootstrap: compare
24225 mv stage3-gcc gcc ; \
24229 # --------------------------------------
24230 # Dependencies between different modules
24231 # --------------------------------------
24233 # There are two types of dependencies here: 'hard' dependencies, where one
24234 # module simply won't build without the other; and 'soft' dependencies, where
24235 # if the depended-on module is missing, the depending module will do without
24236 # or find a substitute somewhere (perhaps installed). Soft dependencies
24237 # are specified by depending on a 'maybe-' target. If you're not sure,
24238 # it's safer to use a soft dependency.
24240 # Host modules specific to gcc.
24241 # GCC needs to identify certain tools.
24242 # GCC also needs the information exported by the intl configure script.
24243 configure-gcc: maybe-configure-intl maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex
24244 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
24245 # This is a slightly kludgy method of getting dependencies on
24246 # all-build-libiberty correct; it would be better to build it every time.
24247 all-gcc: maybe-all-build-libiberty
24248 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
24250 # Host modules specific to gdb.
24251 # GDB needs to know that the simulator is being built.
24252 configure-gdb: maybe-configure-itcl maybe-configure-tcl maybe-configure-tk maybe-configure-sim
24254 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)
24255 install-gdb: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui
24256 configure-libgui: maybe-configure-tcl maybe-configure-tk
24257 all-libgui: maybe-all-tcl maybe-all-tk maybe-all-itcl
24259 # Host modules specific to binutils.
24260 configure-bfd: configure-libiberty
24261 all-bfd: maybe-all-libiberty maybe-all-intl
24262 all-binutils: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex maybe-all-bison maybe-all-byacc maybe-all-intl
24263 # We put install-opcodes before install-binutils because the installed
24264 # binutils might be on PATH, and they might need the shared opcodes
24266 install-binutils: maybe-install-opcodes
24267 # libopcodes depends on libbfd
24268 install-opcodes: maybe-install-bfd
24269 all-gas: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl
24270 all-gprof: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl
24271 all-ld: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl
24272 all-opcodes: maybe-all-bfd maybe-all-libiberty
24274 # Other host modules in the 'src' repository.
24275 all-dejagnu: maybe-all-tcl maybe-all-expect maybe-all-tk
24276 configure-expect: maybe-configure-tcl maybe-configure-tk
24277 all-expect: maybe-all-tcl maybe-all-tk
24278 configure-itcl: maybe-configure-tcl maybe-configure-tk
24279 all-itcl: maybe-all-tcl maybe-all-tk
24280 # We put install-tcl before install-itcl because itcl wants to run a
24281 # program on installation which uses the Tcl libraries.
24282 install-itcl: maybe-install-tcl
24283 all-sid: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-tcl maybe-all-tk
24284 install-sid: maybe-install-tcl maybe-install-tk
24285 all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb
24286 configure-tk: maybe-configure-tcl
24287 all-tk: maybe-all-tcl
24288 configure-tix: maybe-configure-tcl maybe-configure-tk
24289 all-tix: maybe-all-tcl maybe-all-tk
24290 all-texinfo: maybe-all-libiberty
24292 # Other host modules. Warning, these are not well tested.
24293 all-autoconf: maybe-all-m4 maybe-all-texinfo
24294 all-automake: maybe-all-m4 maybe-all-texinfo
24295 all-bison: maybe-all-texinfo
24296 all-diff: maybe-all-libiberty
24297 all-fastjar: maybe-all-zlib maybe-all-libiberty
24298 all-fileutils: maybe-all-libiberty
24299 all-flex: maybe-all-libiberty maybe-all-bison maybe-all-byacc
24300 all-gzip: maybe-all-libiberty
24301 all-hello: maybe-all-libiberty
24302 all-m4: maybe-all-libiberty maybe-all-texinfo
24303 all-make: maybe-all-libiberty maybe-all-intl
24304 all-patch: maybe-all-libiberty
24305 all-prms: maybe-all-libiberty
24306 all-recode: maybe-all-libiberty
24307 all-sed: maybe-all-libiberty
24308 all-send-pr: maybe-all-prms
24309 all-tar: maybe-all-libiberty
24310 all-uudecode: maybe-all-libiberty
24312 ALL_GCC = maybe-all-gcc
24313 ALL_GCC_C = $(ALL_GCC) maybe-all-target-newlib maybe-all-target-libgloss
24314 ALL_GCC_CXX = $(ALL_GCC_C) maybe-all-target-libstdc++-v3
24316 # Target modules specific to gcc.
24317 configure-target-boehm-gc: $(ALL_GCC_C) maybe-configure-target-qthreads
24318 configure-target-fastjar: maybe-configure-target-zlib
24319 all-target-fastjar: maybe-all-target-zlib maybe-all-target-libiberty
24320 configure-target-libada: $(ALL_GCC_C)
24321 configure-target-libf2c: $(ALL_GCC_C)
24322 all-target-libf2c: maybe-all-target-libiberty
24323 configure-target-libffi: $(ALL_GCC_C)
24324 configure-target-libjava: $(ALL_GCC_C) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi
24325 all-target-libjava: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi
24326 configure-target-libobjc: $(ALL_GCC_C)
24327 all-target-libobjc: maybe-all-target-libiberty
24328 configure-target-libstdc++-v3: $(ALL_GCC_C)
24329 all-target-libstdc++-v3: maybe-all-target-libiberty
24330 configure-target-zlib: $(ALL_GCC_C)
24332 # Target modules in the 'src' repository.
24333 configure-target-examples: $(ALL_GCC_C)
24334 configure-target-libgloss: $(ALL_GCC)
24335 all-target-libgloss: maybe-configure-target-newlib
24336 configure-target-libiberty: $(ALL_GCC)
24337 configure-target-libtermcap: $(ALL_GCC_C)
24338 configure-target-newlib: $(ALL_GCC)
24339 configure-target-rda: $(ALL_GCC_C)
24340 configure-target-winsup: $(ALL_GCC_C)
24341 all-target-winsup: maybe-all-target-libiberty maybe-all-target-libtermcap
24343 # Other target modules. Warning, these are not well tested.
24344 configure-target-gperf: $(ALL_GCC_CXX)
24345 all-target-gperf: maybe-all-target-libiberty maybe-all-target-libstdc++-v3
24346 configure-target-qthreads: $(ALL_GCC_C)
24348 # Dependencies of maybe-foo on foo. These are used because, for example,
24349 # all-gcc only depends on all-gas if gas is present and being configured.
24350 @maybe_dependencies@
24352 # Serialization dependencies. Host configures don't work well in parallel to
24353 # each other, due to contention over config.cache. Target configures and
24354 # build configures are similar.
24355 @serialization_dependencies@
24357 # --------------------------------
24358 # Regenerating top level configury
24359 # --------------------------------
24361 # Multilib.out tells target dirs what multilibs they should build.
24362 # There is really only one copy. We use the 'timestamp' method to
24363 # work around various timestamp bugs on some systems.
24364 # We use move-if-change so that it's only considered updated when it
24365 # actually changes, because it has to depend on a phony target.
24366 multilib.out: maybe-all-gcc
24367 @r=`${PWD_COMMAND}`; export r; \
24368 echo "Checking multilib configuration..."; \
24369 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
24370 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
24372 # Rebuilding Makefile.in, using autogen.
24374 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
24375 cd $(srcdir) && $(AUTOGEN) Makefile.def
24377 # Rebuilding Makefile.
24378 Makefile: $(srcdir)/Makefile.in config.status
24379 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
24381 config.status: configure $(gcc_version_trigger)
24382 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
24384 # Rebuilding configure.
24385 AUTOCONF = autoconf
24386 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
24387 cd $(srcdir) && $(AUTOCONF)
24389 # ------------------------------
24390 # Special directives to GNU Make
24391 # ------------------------------
24393 # Don't pass command-line variables to submakes.
24397 # end of Makefile.in