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, 2004 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@
71 # -------------------------------------------------
72 # Miscellaneous non-standard autoconf-set variables
73 # -------------------------------------------------
75 # The file containing GCC's version number.
76 gcc_version_trigger = @gcc_version_trigger@
77 gcc_version = @gcc_version@
79 # The gcc driver likes to know the arguments it was configured with.
80 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
82 gxx_include_dir = @gxx_include_dir@
83 libstdcxx_incdir = @libstdcxx_incdir@
86 build_tooldir = @build_tooldir@
88 # Directory in which the compiler finds executables, libraries, etc.
89 libsubdir = $(libdir)/gcc/$(target_alias)/$(gcc_version)
92 # This is the name of the environment variable used for the path to
94 RPATH_ENVVAR = @RPATH_ENVVAR@
96 # This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
98 SET_LIB_PATH = @SET_LIB_PATH@
100 # configure.in sets SET_LIB_PATH to this if --enable-shared was used.
101 # Some platforms don't like blank entries, so we remove duplicate,
102 # leading and trailing colons.
103 REALLY_SET_LIB_PATH = \
104 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
106 # This is the list of directories to be built for the build system.
107 BUILD_CONFIGDIRS = libiberty
108 # Build programs are put under this directory.
109 BUILD_SUBDIR = @build_subdir@
110 # This is set by the configure script to the arguments to use when configuring
111 # directories built for the build system.
112 BUILD_CONFIGARGS = @build_configargs@
114 # This is the list of variables to export in the environment when
115 # configuring any subdirectory. It must also be exported whenever
116 # recursing into a build directory in case that directory's Makefile
119 FLEX="$(FLEX)"; export FLEX; \
120 LEX="$(LEX)"; export LEX; \
121 BISON="$(BISON)"; export BISON; \
122 YACC="$(YACC)"; export YACC; \
123 M4="$(M4)"; export M4; \
124 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
126 # This is the list of variables to export in the environment when
127 # configuring subdirectories for the build system.
130 AR="$(AR_FOR_BUILD)"; export AR; \
131 AS="$(AS_FOR_BUILD)"; export AS; \
132 CC="$(CC_FOR_BUILD)"; export CC; \
133 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
134 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
135 CXX="$(CXX_FOR_BUILD)"; export CXX; \
136 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
137 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
138 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
139 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
140 LD="$(LD_FOR_BUILD)"; export LD; \
141 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
142 NM="$(NM_FOR_BUILD)"; export NM; \
143 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
144 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
146 # This is the list of directories to built for the host system.
147 SUBDIRS = @configdirs@
148 # This is set by the configure script to the arguments to use when configuring
149 # directories built for the host system.
150 HOST_CONFIGARGS = @host_configargs@
151 # This is the list of variables to export in the environment when
152 # configuring subdirectories for the host system.
155 CC="$(CC)"; export CC; \
156 CFLAGS="$(CFLAGS)"; export CFLAGS; \
157 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
158 CXX="$(CXX)"; export CXX; \
159 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
160 AR="$(AR)"; export AR; \
161 AS="$(AS)"; export AS; \
162 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
163 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
164 LD="$(LD)"; export LD; \
165 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
166 NM="$(NM)"; export NM; \
167 RANLIB="$(RANLIB)"; export RANLIB; \
168 WINDRES="$(WINDRES)"; export WINDRES; \
169 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
170 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
171 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
172 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
173 GMPINC="$(HOST_GMPINC)"; export GMPINC;
175 # Similar, for later GCC stages.
176 STAGE_HOST_EXPORTS = \
178 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
179 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
181 # This is set by the configure script to the list of directories which
182 # should be built using the target tools.
183 TARGET_CONFIGDIRS = @target_configdirs@
184 # Target libraries are put under this directory:
185 TARGET_SUBDIR = @target_subdir@
186 # This is set by the configure script to the arguments to use when configuring
187 # directories built for the target.
188 TARGET_CONFIGARGS = @target_configargs@
189 # This is the list of variables to export in the environment when
190 # configuring subdirectories for the host system.
191 BASE_TARGET_EXPORTS = \
193 AR="$(AR_FOR_TARGET)"; export AR; \
194 AS="$(AS_FOR_TARGET)"; export AS; \
195 CC="$(CC_FOR_TARGET)"; export CC; \
196 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
197 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
198 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
199 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
200 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
201 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
202 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
203 LD="$(LD_FOR_TARGET)"; export LD; \
204 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
205 NM="$(NM_FOR_TARGET)"; export NM; \
206 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
207 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES;
209 RAW_CXX_TARGET_EXPORTS = \
210 $(BASE_TARGET_EXPORTS) \
211 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
212 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
214 NORMAL_TARGET_EXPORTS = \
215 $(BASE_TARGET_EXPORTS) \
216 CXX="$(CXX_FOR_TARGET)"; export CXX;
219 HOST_GMPLIBS = @gmplibs@
220 HOST_GMPINC = @gmpinc@
222 # ----------------------------------------------
223 # Programs producing files for the BUILD machine
224 # ----------------------------------------------
226 SHELL = @config_shell@
228 # pwd command to use. Allow user to override default by setting PWDCMD in
229 # the environment to account for automounters. The make variable must not
230 # be called PWDCMD, otherwise the value set here is passed to make
231 # subprocesses and overrides the setting from the user's environment.
232 # Don't use PWD since it is a common shell environment variable and we
233 # don't want to corrupt it.
234 PWD_COMMAND = $${PWDCMD-pwd}
236 # compilers to use to create programs which must be run in the build
238 CC_FOR_BUILD = @CC_FOR_BUILD@
239 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
241 CXX_FOR_BUILD = $(CXX)
243 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
244 # here so that they can be overridden by Makefile fragments.
245 BUILD_PREFIX = @BUILD_PREFIX@
246 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
248 # Flags to pass to stage2 and later makes. They are defined
249 # here so that they can be overridden by Makefile fragments.
252 CONFIGURED_BISON = @CONFIGURED_BISON@
253 BISON = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
254 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison ; \
256 echo ${CONFIGURED_BISON} ; \
259 CONFIGURED_YACC = @CONFIGURED_YACC@
260 YACC = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
261 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison -y ; \
262 elif [ -f $$r/$(BUILD_SUBDIR)/byacc/byacc ] ; then \
263 echo $$r/$(BUILD_SUBDIR)/byacc/byacc ; \
265 echo ${CONFIGURED_YACC} ; \
268 CONFIGURED_FLEX = @CONFIGURED_FLEX@
269 FLEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
270 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
271 else echo ${CONFIGURED_FLEX} ; fi`
273 CONFIGURED_LEX = @CONFIGURED_LEX@
274 LEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
275 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
276 else echo ${CONFIGURED_LEX} ; fi`
278 CONFIGURED_M4 = @CONFIGURED_M4@
279 M4 = `if [ -f $$r/$(BUILD_SUBDIR)/m4/m4 ] ; \
280 then echo $$r/$(BUILD_SUBDIR)/m4/m4 ; \
281 else echo ${CONFIGURED_M4} ; fi`
283 # For an installed makeinfo, we require it to be from texinfo 4.2 or
284 # higher, else we use the "missing" dummy. We also pass the subdirectory
285 # makeinfo even if only the Makefile is there, because Texinfo builds its
286 # manual when made, and it requires its own version.
287 CONFIGURED_MAKEINFO = @CONFIGURED_MAKEINFO@
288 MAKEINFO = `if [ -f $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/Makefile ] ; \
289 then echo $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo ; \
290 else if (${CONFIGURED_MAKEINFO} --version \
291 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
292 then echo ${CONFIGURED_MAKEINFO}; else echo $$s/missing makeinfo; fi; fi`
294 # This just becomes part of the MAKEINFO definition passed down to
295 # sub-makes. It lets flags be given on the command line while still
296 # using the makeinfo from the object tree.
297 # (Default to avoid splitting info files by setting the threshold high.)
298 MAKEINFOFLAGS = --split-size=5000000
300 EXPECT = `if [ -f $$r/expect/expect ] ; \
301 then echo $$r/expect/expect ; \
302 else echo expect ; fi`
304 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
305 then echo $$s/dejagnu/runtest ; \
306 else echo runtest ; fi`
308 # ---------------------------------------------
309 # Programs producing files for the HOST machine
310 # ---------------------------------------------
312 # This is the list of directories that may be needed in RPATH_ENVVAR
313 # so that programs built for the host machine work.
314 HOST_LIB_PATH = $$r/bfd:$$r/opcodes
323 LIBCFLAGS = $(CFLAGS)
326 CXXFLAGS = @CXXFLAGS@
327 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
342 # -----------------------------------------------
343 # Programs producing files for the TARGET machine
344 # -----------------------------------------------
346 # This is the list of directories that may be needed in RPATH_ENVVAR
347 # so that prorgams built for the target machine work.
348 TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:$$r/$(TARGET_SUBDIR)/libmudflap/.libs
350 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
352 AR_FOR_TARGET=@AR_FOR_TARGET@
353 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
354 USUAL_AR_FOR_TARGET = ` \
355 if [ -f $$r/binutils/ar ] ; then \
356 echo $$r/binutils/ar ; \
358 if [ '$(host)' = '$(target)' ] ; then \
361 echo $(CONFIGURED_AR_FOR_TARGET) ; \
365 AS_FOR_TARGET=@AS_FOR_TARGET@
366 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
367 USUAL_AS_FOR_TARGET = ` \
368 if [ -f $$r/gas/as-new ] ; then \
369 echo $$r/gas/as-new ; \
370 elif [ -f $$r/gcc/xgcc ]; then \
371 $(CC_FOR_TARGET) -print-prog-name=as ; \
373 if [ '$(host)' = '$(target)' ] ; then \
376 echo $(CONFIGURED_AS_FOR_TARGET) ; \
380 CC_FOR_TARGET = @CC_FOR_TARGET@
381 # During gcc bootstrap, if we use some random cc for stage1 then
382 # CFLAGS will be just -g. We want to ensure that TARGET libraries
383 # (which we know are built with gcc) are built with optimizations so
384 # prepend -O2 when setting CFLAGS_FOR_TARGET.
385 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
386 # If GCC_FOR_TARGET is not overriden on the command line, then this
387 # variable is passed down to the gcc Makefile, where it is used to
388 # build libgcc2.a. We define it here so that it can itself be
389 # overridden on the command line.
390 GCC_FOR_TARGET=@GCC_FOR_TARGET@
391 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
392 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
394 CXX_FOR_TARGET = @CXX_FOR_TARGET@
395 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
396 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
397 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
398 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
399 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
401 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
402 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
403 USUAL_DLLTOOL_FOR_TARGET = ` \
404 if [ -f $$r/binutils/dlltool ] ; then \
405 echo $$r/binutils/dlltool ; \
407 if [ '$(host)' = '$(target)' ] ; then \
410 echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
414 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
415 GFORTRAN_FOR_TARGET = @GFORTRAN_FOR_TARGET@
417 LD_FOR_TARGET=@LD_FOR_TARGET@
418 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
419 USUAL_LD_FOR_TARGET = ` \
420 if [ -f $$r/ld/ld-new ] ; then \
421 echo $$r/ld/ld-new ; \
422 elif [ -f $$r/gcc/xgcc ]; then \
423 $(CC_FOR_TARGET) -print-prog-name=ld ; \
425 if [ '$(host)' = '$(target)' ] ; then \
428 echo $(CONFIGURED_LD_FOR_TARGET) ; \
434 NM_FOR_TARGET=@NM_FOR_TARGET@
435 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
436 USUAL_NM_FOR_TARGET = ` \
437 if [ -f $$r/binutils/nm-new ] ; then \
438 echo $$r/binutils/nm-new ; \
439 elif [ -f $$r/gcc/xgcc ]; then \
440 $(CC_FOR_TARGET) -print-prog-name=nm ; \
442 if [ '$(host)' = '$(target)' ] ; then \
445 echo $(CONFIGURED_NM_FOR_TARGET) ; \
449 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
450 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
451 USUAL_RANLIB_FOR_TARGET = ` \
452 if [ -f $$r/binutils/ranlib ] ; then \
453 echo $$r/binutils/ranlib ; \
455 if [ '$(host)' = '$(target)' ] ; then \
456 if [ x'$(RANLIB)' != x ]; then \
462 echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
466 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
467 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
468 USUAL_WINDRES_FOR_TARGET = ` \
469 if [ -f $$r/binutils/windres ] ; then \
470 echo $$r/binutils/windres ; \
472 if [ '$(host)' = '$(target)' ] ; then \
475 echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
481 # ------------------------------------
482 # Miscellaneous targets and flag lists
483 # ------------------------------------
485 # The first rule in the file had better be this one. Don't put any above it.
486 # This lives here to allow makefile fragments to contain dependencies.
489 #### host and target specific makefile fragments come in here.
490 @target_makefile_frag@
496 # Flags to pass down to all sub-makes.
497 BASE_FLAGS_TO_PASS = \
498 "DESTDIR=$(DESTDIR)" \
499 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
500 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
502 "datadir=$(datadir)" \
503 "exec_prefix=$(exec_prefix)" \
504 "includedir=$(includedir)" \
505 "infodir=$(infodir)" \
507 "libexecdir=$(libexecdir)" \
508 "lispdir=$(lispdir)" \
509 "libstdcxx_incdir=$(libstdcxx_incdir)" \
510 "libsubdir=$(libsubdir)" \
511 "localstatedir=$(localstatedir)" \
513 "oldincludedir=$(oldincludedir)" \
515 "sbindir=$(sbindir)" \
516 "sharedstatedir=$(sharedstatedir)" \
517 "sysconfdir=$(sysconfdir)" \
518 "tooldir=$(tooldir)" \
519 "build_tooldir=$(build_tooldir)" \
520 "gxx_include_dir=$(gxx_include_dir)" \
521 "gcc_version=$(gcc_version)" \
522 "gcc_version_trigger=$(gcc_version_trigger)" \
523 "target_alias=$(target_alias)" \
525 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
526 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
529 "INSTALL=$(INSTALL)" \
530 "INSTALL_DATA=$(INSTALL_DATA)" \
531 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
532 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
536 "RUNTEST=$(RUNTEST)" \
537 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
540 "AR_FLAGS=$(AR_FLAGS)" \
542 "CXXFLAGS=$(CXXFLAGS)" \
543 "LDFLAGS=$(LDFLAGS)" \
544 "LIBCFLAGS=$(LIBCFLAGS)" \
545 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
546 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
547 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
548 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
549 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
550 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
551 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
552 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
553 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
554 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
555 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
556 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
557 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
558 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
559 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
560 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
561 "CONFIG_SHELL=$(SHELL)" \
562 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
564 # For any flags above that may contain shell code that varies from one
565 # target library to another. When doing recursive invocations of the
566 # top-level Makefile, we don't want the outer make to evaluate them,
567 # so we pass these variables down unchanged. They must not contain
568 # single nor double quotes.
570 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
571 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
573 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS)
575 # Flags to pass down to most sub-makes, in which we're building with
576 # the host environment.
582 'DLLTOOL=$(DLLTOOL)' \
588 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
590 # Flags that are concerned with the location of the X11 include files
593 # NOTE: until the top-level is getting the values via autoconf, it only
594 # causes problems to have this top-level Makefile overriding the autoconf-set
595 # values in child directories. Only variables that don't conflict with
596 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
598 X11_FLAGS_TO_PASS = \
599 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
600 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
602 # Flags to pass down to makes which are built with the target environment.
603 # The double $ decreases the length of the command line; the variables
604 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
605 EXTRA_TARGET_FLAGS = \
606 'AR=$$(AR_FOR_TARGET)' \
607 'AS=$$(AS_FOR_TARGET)' \
608 'CC=$$(CC_FOR_TARGET)' \
609 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
610 'CXX=$$(CXX_FOR_TARGET)' \
611 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
612 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
613 'LD=$$(LD_FOR_TARGET)' \
614 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
615 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
616 'NM=$$(NM_FOR_TARGET)' \
617 'RANLIB=$$(RANLIB_FOR_TARGET)' \
618 'WINDRES=$$(WINDRES_FOR_TARGET)'
620 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
622 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
623 # unfortunately needs the native compiler and the target ar and
625 # If any variables are added here, they must be added to do-*, below.
626 # The BUILD_* variables are a special case, which are used for the gcc
627 # cross-building scheme.
629 'BUILD_PREFIX=$(BUILD_PREFIX)' \
630 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
631 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
632 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
633 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
634 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
635 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
636 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
637 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
638 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
639 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
640 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
641 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
643 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
645 .PHONY: configure-host
647 maybe-configure-ash \
648 maybe-configure-autoconf \
649 maybe-configure-automake \
650 maybe-configure-bash \
651 maybe-configure-bfd \
652 maybe-configure-opcodes \
653 maybe-configure-binutils \
654 maybe-configure-bison \
655 maybe-configure-byacc \
656 maybe-configure-bzip2 \
657 maybe-configure-dejagnu \
658 maybe-configure-diff \
659 maybe-configure-dosutils \
660 maybe-configure-etc \
661 maybe-configure-fastjar \
662 maybe-configure-fileutils \
663 maybe-configure-findutils \
664 maybe-configure-find \
665 maybe-configure-flex \
666 maybe-configure-gas \
667 maybe-configure-gcc \
668 maybe-configure-gawk \
669 maybe-configure-gettext \
670 maybe-configure-gnuserv \
671 maybe-configure-gprof \
672 maybe-configure-gzip \
673 maybe-configure-hello \
674 maybe-configure-indent \
675 maybe-configure-intl \
676 maybe-configure-tcl \
677 maybe-configure-itcl \
679 maybe-configure-libcpp \
680 maybe-configure-libgui \
681 maybe-configure-libiberty \
682 maybe-configure-libtool \
684 maybe-configure-make \
685 maybe-configure-mmalloc \
686 maybe-configure-patch \
687 maybe-configure-perl \
688 maybe-configure-prms \
689 maybe-configure-rcs \
690 maybe-configure-readline \
691 maybe-configure-release \
692 maybe-configure-recode \
693 maybe-configure-sed \
694 maybe-configure-send-pr \
695 maybe-configure-shellutils \
696 maybe-configure-sid \
697 maybe-configure-sim \
698 maybe-configure-tar \
699 maybe-configure-texinfo \
700 maybe-configure-textutils \
701 maybe-configure-time \
702 maybe-configure-uudecode \
703 maybe-configure-wdiff \
704 maybe-configure-zip \
705 maybe-configure-zlib \
706 maybe-configure-gdb \
707 maybe-configure-expect \
708 maybe-configure-guile \
710 maybe-configure-libtermcap \
711 maybe-configure-utils
712 .PHONY: configure-target
714 maybe-configure-target-libstdc++-v3 \
715 maybe-configure-target-libmudflap \
716 maybe-configure-target-newlib \
717 maybe-configure-target-libgfortran \
718 maybe-configure-target-libobjc \
719 maybe-configure-target-libtermcap \
720 maybe-configure-target-winsup \
721 maybe-configure-target-libgloss \
722 maybe-configure-target-libiberty \
723 maybe-configure-target-gperf \
724 maybe-configure-target-examples \
725 maybe-configure-target-libffi \
726 maybe-configure-target-libjava \
727 maybe-configure-target-zlib \
728 maybe-configure-target-boehm-gc \
729 maybe-configure-target-qthreads \
730 maybe-configure-target-rda \
731 maybe-configure-target-libada
733 # The target built for a native non-bootstrap build.
735 all: unstage all-host all-target stage
739 maybe-all-build-libiberty \
740 maybe-all-build-bison \
741 maybe-all-build-byacc \
742 maybe-all-build-flex \
744 maybe-all-build-texinfo \
745 maybe-all-build-fixincludes
763 maybe-all-fileutils \
764 maybe-all-findutils \
782 maybe-all-libiberty \
796 maybe-all-shellutils \
801 maybe-all-textutils \
811 maybe-all-libtermcap \
815 maybe-all-target-libstdc++-v3 \
816 maybe-all-target-libmudflap \
817 maybe-all-target-newlib \
818 maybe-all-target-libgfortran \
819 maybe-all-target-libobjc \
820 maybe-all-target-libtermcap \
821 maybe-all-target-winsup \
822 maybe-all-target-libgloss \
823 maybe-all-target-libiberty \
824 maybe-all-target-gperf \
825 maybe-all-target-examples \
826 maybe-all-target-libffi \
827 maybe-all-target-libjava \
828 maybe-all-target-zlib \
829 maybe-all-target-boehm-gc \
830 maybe-all-target-qthreads \
831 maybe-all-target-rda \
832 maybe-all-target-libada
834 # Do a target for all the subdirectories. A ``make do-X'' will do a
835 # ``make X'' in all subdirectories (because, in general, there is a
836 # dependency (below) of X upon do-X, a ``make X'' will also do this,
837 # but it may do additional work as well).
840 do-info: unstage info-host info-target stage
845 maybe-info-autoconf \
846 maybe-info-automake \
850 maybe-info-binutils \
856 maybe-info-dosutils \
859 maybe-info-fileutils \
860 maybe-info-findutils \
878 maybe-info-libiberty \
887 maybe-info-readline \
892 maybe-info-shellutils \
897 maybe-info-textutils \
899 maybe-info-uudecode \
907 maybe-info-libtermcap \
912 maybe-info-target-libstdc++-v3 \
913 maybe-info-target-libmudflap \
914 maybe-info-target-newlib \
915 maybe-info-target-libgfortran \
916 maybe-info-target-libobjc \
917 maybe-info-target-libtermcap \
918 maybe-info-target-winsup \
919 maybe-info-target-libgloss \
920 maybe-info-target-libiberty \
921 maybe-info-target-gperf \
922 maybe-info-target-examples \
923 maybe-info-target-libffi \
924 maybe-info-target-libjava \
925 maybe-info-target-zlib \
926 maybe-info-target-boehm-gc \
927 maybe-info-target-qthreads \
928 maybe-info-target-rda \
929 maybe-info-target-libada
932 do-dvi: unstage dvi-host dvi-target stage
951 maybe-dvi-fileutils \
952 maybe-dvi-findutils \
970 maybe-dvi-libiberty \
984 maybe-dvi-shellutils \
989 maybe-dvi-textutils \
999 maybe-dvi-libtermcap \
1004 maybe-dvi-target-libstdc++-v3 \
1005 maybe-dvi-target-libmudflap \
1006 maybe-dvi-target-newlib \
1007 maybe-dvi-target-libgfortran \
1008 maybe-dvi-target-libobjc \
1009 maybe-dvi-target-libtermcap \
1010 maybe-dvi-target-winsup \
1011 maybe-dvi-target-libgloss \
1012 maybe-dvi-target-libiberty \
1013 maybe-dvi-target-gperf \
1014 maybe-dvi-target-examples \
1015 maybe-dvi-target-libffi \
1016 maybe-dvi-target-libjava \
1017 maybe-dvi-target-zlib \
1018 maybe-dvi-target-boehm-gc \
1019 maybe-dvi-target-qthreads \
1020 maybe-dvi-target-rda \
1021 maybe-dvi-target-libada
1024 do-TAGS: unstage TAGS-host TAGS-target stage
1029 maybe-TAGS-autoconf \
1030 maybe-TAGS-automake \
1033 maybe-TAGS-opcodes \
1034 maybe-TAGS-binutils \
1038 maybe-TAGS-dejagnu \
1040 maybe-TAGS-dosutils \
1042 maybe-TAGS-fastjar \
1043 maybe-TAGS-fileutils \
1044 maybe-TAGS-findutils \
1050 maybe-TAGS-gettext \
1051 maybe-TAGS-gnuserv \
1062 maybe-TAGS-libiberty \
1063 maybe-TAGS-libtool \
1066 maybe-TAGS-mmalloc \
1071 maybe-TAGS-readline \
1072 maybe-TAGS-release \
1075 maybe-TAGS-send-pr \
1076 maybe-TAGS-shellutils \
1080 maybe-TAGS-texinfo \
1081 maybe-TAGS-textutils \
1083 maybe-TAGS-uudecode \
1091 maybe-TAGS-libtermcap \
1096 maybe-TAGS-target-libstdc++-v3 \
1097 maybe-TAGS-target-libmudflap \
1098 maybe-TAGS-target-newlib \
1099 maybe-TAGS-target-libgfortran \
1100 maybe-TAGS-target-libobjc \
1101 maybe-TAGS-target-libtermcap \
1102 maybe-TAGS-target-winsup \
1103 maybe-TAGS-target-libgloss \
1104 maybe-TAGS-target-libiberty \
1105 maybe-TAGS-target-gperf \
1106 maybe-TAGS-target-examples \
1107 maybe-TAGS-target-libffi \
1108 maybe-TAGS-target-libjava \
1109 maybe-TAGS-target-zlib \
1110 maybe-TAGS-target-boehm-gc \
1111 maybe-TAGS-target-qthreads \
1112 maybe-TAGS-target-rda \
1113 maybe-TAGS-target-libada
1115 .PHONY: do-install-info
1116 do-install-info: unstage install-info-host install-info-target stage
1118 .PHONY: install-info-host
1119 install-info-host: \
1120 maybe-install-info-ash \
1121 maybe-install-info-autoconf \
1122 maybe-install-info-automake \
1123 maybe-install-info-bash \
1124 maybe-install-info-bfd \
1125 maybe-install-info-opcodes \
1126 maybe-install-info-binutils \
1127 maybe-install-info-bison \
1128 maybe-install-info-byacc \
1129 maybe-install-info-bzip2 \
1130 maybe-install-info-dejagnu \
1131 maybe-install-info-diff \
1132 maybe-install-info-dosutils \
1133 maybe-install-info-etc \
1134 maybe-install-info-fastjar \
1135 maybe-install-info-fileutils \
1136 maybe-install-info-findutils \
1137 maybe-install-info-find \
1138 maybe-install-info-flex \
1139 maybe-install-info-gas \
1140 maybe-install-info-gcc \
1141 maybe-install-info-gawk \
1142 maybe-install-info-gettext \
1143 maybe-install-info-gnuserv \
1144 maybe-install-info-gprof \
1145 maybe-install-info-gzip \
1146 maybe-install-info-hello \
1147 maybe-install-info-indent \
1148 maybe-install-info-intl \
1149 maybe-install-info-tcl \
1150 maybe-install-info-itcl \
1151 maybe-install-info-ld \
1152 maybe-install-info-libcpp \
1153 maybe-install-info-libgui \
1154 maybe-install-info-libiberty \
1155 maybe-install-info-libtool \
1156 maybe-install-info-m4 \
1157 maybe-install-info-make \
1158 maybe-install-info-mmalloc \
1159 maybe-install-info-patch \
1160 maybe-install-info-perl \
1161 maybe-install-info-prms \
1162 maybe-install-info-rcs \
1163 maybe-install-info-readline \
1164 maybe-install-info-release \
1165 maybe-install-info-recode \
1166 maybe-install-info-sed \
1167 maybe-install-info-send-pr \
1168 maybe-install-info-shellutils \
1169 maybe-install-info-sid \
1170 maybe-install-info-sim \
1171 maybe-install-info-tar \
1172 maybe-install-info-texinfo \
1173 maybe-install-info-textutils \
1174 maybe-install-info-time \
1175 maybe-install-info-uudecode \
1176 maybe-install-info-wdiff \
1177 maybe-install-info-zip \
1178 maybe-install-info-zlib \
1179 maybe-install-info-gdb \
1180 maybe-install-info-expect \
1181 maybe-install-info-guile \
1182 maybe-install-info-tk \
1183 maybe-install-info-libtermcap \
1184 maybe-install-info-utils
1186 .PHONY: install-info-target
1187 install-info-target: \
1188 maybe-install-info-target-libstdc++-v3 \
1189 maybe-install-info-target-libmudflap \
1190 maybe-install-info-target-newlib \
1191 maybe-install-info-target-libgfortran \
1192 maybe-install-info-target-libobjc \
1193 maybe-install-info-target-libtermcap \
1194 maybe-install-info-target-winsup \
1195 maybe-install-info-target-libgloss \
1196 maybe-install-info-target-libiberty \
1197 maybe-install-info-target-gperf \
1198 maybe-install-info-target-examples \
1199 maybe-install-info-target-libffi \
1200 maybe-install-info-target-libjava \
1201 maybe-install-info-target-zlib \
1202 maybe-install-info-target-boehm-gc \
1203 maybe-install-info-target-qthreads \
1204 maybe-install-info-target-rda \
1205 maybe-install-info-target-libada
1207 .PHONY: do-installcheck
1208 do-installcheck: unstage installcheck-host installcheck-target stage
1210 .PHONY: installcheck-host
1211 installcheck-host: \
1212 maybe-installcheck-ash \
1213 maybe-installcheck-autoconf \
1214 maybe-installcheck-automake \
1215 maybe-installcheck-bash \
1216 maybe-installcheck-bfd \
1217 maybe-installcheck-opcodes \
1218 maybe-installcheck-binutils \
1219 maybe-installcheck-bison \
1220 maybe-installcheck-byacc \
1221 maybe-installcheck-bzip2 \
1222 maybe-installcheck-dejagnu \
1223 maybe-installcheck-diff \
1224 maybe-installcheck-dosutils \
1225 maybe-installcheck-etc \
1226 maybe-installcheck-fastjar \
1227 maybe-installcheck-fileutils \
1228 maybe-installcheck-findutils \
1229 maybe-installcheck-find \
1230 maybe-installcheck-flex \
1231 maybe-installcheck-gas \
1232 maybe-installcheck-gcc \
1233 maybe-installcheck-gawk \
1234 maybe-installcheck-gettext \
1235 maybe-installcheck-gnuserv \
1236 maybe-installcheck-gprof \
1237 maybe-installcheck-gzip \
1238 maybe-installcheck-hello \
1239 maybe-installcheck-indent \
1240 maybe-installcheck-intl \
1241 maybe-installcheck-tcl \
1242 maybe-installcheck-itcl \
1243 maybe-installcheck-ld \
1244 maybe-installcheck-libcpp \
1245 maybe-installcheck-libgui \
1246 maybe-installcheck-libiberty \
1247 maybe-installcheck-libtool \
1248 maybe-installcheck-m4 \
1249 maybe-installcheck-make \
1250 maybe-installcheck-mmalloc \
1251 maybe-installcheck-patch \
1252 maybe-installcheck-perl \
1253 maybe-installcheck-prms \
1254 maybe-installcheck-rcs \
1255 maybe-installcheck-readline \
1256 maybe-installcheck-release \
1257 maybe-installcheck-recode \
1258 maybe-installcheck-sed \
1259 maybe-installcheck-send-pr \
1260 maybe-installcheck-shellutils \
1261 maybe-installcheck-sid \
1262 maybe-installcheck-sim \
1263 maybe-installcheck-tar \
1264 maybe-installcheck-texinfo \
1265 maybe-installcheck-textutils \
1266 maybe-installcheck-time \
1267 maybe-installcheck-uudecode \
1268 maybe-installcheck-wdiff \
1269 maybe-installcheck-zip \
1270 maybe-installcheck-zlib \
1271 maybe-installcheck-gdb \
1272 maybe-installcheck-expect \
1273 maybe-installcheck-guile \
1274 maybe-installcheck-tk \
1275 maybe-installcheck-libtermcap \
1276 maybe-installcheck-utils
1278 .PHONY: installcheck-target
1279 installcheck-target: \
1280 maybe-installcheck-target-libstdc++-v3 \
1281 maybe-installcheck-target-libmudflap \
1282 maybe-installcheck-target-newlib \
1283 maybe-installcheck-target-libgfortran \
1284 maybe-installcheck-target-libobjc \
1285 maybe-installcheck-target-libtermcap \
1286 maybe-installcheck-target-winsup \
1287 maybe-installcheck-target-libgloss \
1288 maybe-installcheck-target-libiberty \
1289 maybe-installcheck-target-gperf \
1290 maybe-installcheck-target-examples \
1291 maybe-installcheck-target-libffi \
1292 maybe-installcheck-target-libjava \
1293 maybe-installcheck-target-zlib \
1294 maybe-installcheck-target-boehm-gc \
1295 maybe-installcheck-target-qthreads \
1296 maybe-installcheck-target-rda \
1297 maybe-installcheck-target-libada
1299 .PHONY: do-mostlyclean
1300 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1302 .PHONY: mostlyclean-host
1304 maybe-mostlyclean-ash \
1305 maybe-mostlyclean-autoconf \
1306 maybe-mostlyclean-automake \
1307 maybe-mostlyclean-bash \
1308 maybe-mostlyclean-bfd \
1309 maybe-mostlyclean-opcodes \
1310 maybe-mostlyclean-binutils \
1311 maybe-mostlyclean-bison \
1312 maybe-mostlyclean-byacc \
1313 maybe-mostlyclean-bzip2 \
1314 maybe-mostlyclean-dejagnu \
1315 maybe-mostlyclean-diff \
1316 maybe-mostlyclean-dosutils \
1317 maybe-mostlyclean-etc \
1318 maybe-mostlyclean-fastjar \
1319 maybe-mostlyclean-fileutils \
1320 maybe-mostlyclean-findutils \
1321 maybe-mostlyclean-find \
1322 maybe-mostlyclean-flex \
1323 maybe-mostlyclean-gas \
1324 maybe-mostlyclean-gcc \
1325 maybe-mostlyclean-gawk \
1326 maybe-mostlyclean-gettext \
1327 maybe-mostlyclean-gnuserv \
1328 maybe-mostlyclean-gprof \
1329 maybe-mostlyclean-gzip \
1330 maybe-mostlyclean-hello \
1331 maybe-mostlyclean-indent \
1332 maybe-mostlyclean-intl \
1333 maybe-mostlyclean-tcl \
1334 maybe-mostlyclean-itcl \
1335 maybe-mostlyclean-ld \
1336 maybe-mostlyclean-libcpp \
1337 maybe-mostlyclean-libgui \
1338 maybe-mostlyclean-libiberty \
1339 maybe-mostlyclean-libtool \
1340 maybe-mostlyclean-m4 \
1341 maybe-mostlyclean-make \
1342 maybe-mostlyclean-mmalloc \
1343 maybe-mostlyclean-patch \
1344 maybe-mostlyclean-perl \
1345 maybe-mostlyclean-prms \
1346 maybe-mostlyclean-rcs \
1347 maybe-mostlyclean-readline \
1348 maybe-mostlyclean-release \
1349 maybe-mostlyclean-recode \
1350 maybe-mostlyclean-sed \
1351 maybe-mostlyclean-send-pr \
1352 maybe-mostlyclean-shellutils \
1353 maybe-mostlyclean-sid \
1354 maybe-mostlyclean-sim \
1355 maybe-mostlyclean-tar \
1356 maybe-mostlyclean-texinfo \
1357 maybe-mostlyclean-textutils \
1358 maybe-mostlyclean-time \
1359 maybe-mostlyclean-uudecode \
1360 maybe-mostlyclean-wdiff \
1361 maybe-mostlyclean-zip \
1362 maybe-mostlyclean-zlib \
1363 maybe-mostlyclean-gdb \
1364 maybe-mostlyclean-expect \
1365 maybe-mostlyclean-guile \
1366 maybe-mostlyclean-tk \
1367 maybe-mostlyclean-libtermcap \
1368 maybe-mostlyclean-utils
1370 .PHONY: mostlyclean-target
1371 mostlyclean-target: \
1372 maybe-mostlyclean-target-libstdc++-v3 \
1373 maybe-mostlyclean-target-libmudflap \
1374 maybe-mostlyclean-target-newlib \
1375 maybe-mostlyclean-target-libgfortran \
1376 maybe-mostlyclean-target-libobjc \
1377 maybe-mostlyclean-target-libtermcap \
1378 maybe-mostlyclean-target-winsup \
1379 maybe-mostlyclean-target-libgloss \
1380 maybe-mostlyclean-target-libiberty \
1381 maybe-mostlyclean-target-gperf \
1382 maybe-mostlyclean-target-examples \
1383 maybe-mostlyclean-target-libffi \
1384 maybe-mostlyclean-target-libjava \
1385 maybe-mostlyclean-target-zlib \
1386 maybe-mostlyclean-target-boehm-gc \
1387 maybe-mostlyclean-target-qthreads \
1388 maybe-mostlyclean-target-rda \
1389 maybe-mostlyclean-target-libada
1392 do-clean: unstage clean-host clean-target stage
1397 maybe-clean-autoconf \
1398 maybe-clean-automake \
1401 maybe-clean-opcodes \
1402 maybe-clean-binutils \
1406 maybe-clean-dejagnu \
1408 maybe-clean-dosutils \
1410 maybe-clean-fastjar \
1411 maybe-clean-fileutils \
1412 maybe-clean-findutils \
1418 maybe-clean-gettext \
1419 maybe-clean-gnuserv \
1423 maybe-clean-indent \
1428 maybe-clean-libcpp \
1429 maybe-clean-libgui \
1430 maybe-clean-libiberty \
1431 maybe-clean-libtool \
1434 maybe-clean-mmalloc \
1439 maybe-clean-readline \
1440 maybe-clean-release \
1441 maybe-clean-recode \
1443 maybe-clean-send-pr \
1444 maybe-clean-shellutils \
1448 maybe-clean-texinfo \
1449 maybe-clean-textutils \
1451 maybe-clean-uudecode \
1456 maybe-clean-expect \
1459 maybe-clean-libtermcap \
1462 .PHONY: clean-target
1464 maybe-clean-target-libstdc++-v3 \
1465 maybe-clean-target-libmudflap \
1466 maybe-clean-target-newlib \
1467 maybe-clean-target-libgfortran \
1468 maybe-clean-target-libobjc \
1469 maybe-clean-target-libtermcap \
1470 maybe-clean-target-winsup \
1471 maybe-clean-target-libgloss \
1472 maybe-clean-target-libiberty \
1473 maybe-clean-target-gperf \
1474 maybe-clean-target-examples \
1475 maybe-clean-target-libffi \
1476 maybe-clean-target-libjava \
1477 maybe-clean-target-zlib \
1478 maybe-clean-target-boehm-gc \
1479 maybe-clean-target-qthreads \
1480 maybe-clean-target-rda \
1481 maybe-clean-target-libada
1483 .PHONY: do-distclean
1484 do-distclean: unstage distclean-host distclean-target stage
1486 .PHONY: distclean-host
1488 maybe-distclean-ash \
1489 maybe-distclean-autoconf \
1490 maybe-distclean-automake \
1491 maybe-distclean-bash \
1492 maybe-distclean-bfd \
1493 maybe-distclean-opcodes \
1494 maybe-distclean-binutils \
1495 maybe-distclean-bison \
1496 maybe-distclean-byacc \
1497 maybe-distclean-bzip2 \
1498 maybe-distclean-dejagnu \
1499 maybe-distclean-diff \
1500 maybe-distclean-dosutils \
1501 maybe-distclean-etc \
1502 maybe-distclean-fastjar \
1503 maybe-distclean-fileutils \
1504 maybe-distclean-findutils \
1505 maybe-distclean-find \
1506 maybe-distclean-flex \
1507 maybe-distclean-gas \
1508 maybe-distclean-gcc \
1509 maybe-distclean-gawk \
1510 maybe-distclean-gettext \
1511 maybe-distclean-gnuserv \
1512 maybe-distclean-gprof \
1513 maybe-distclean-gzip \
1514 maybe-distclean-hello \
1515 maybe-distclean-indent \
1516 maybe-distclean-intl \
1517 maybe-distclean-tcl \
1518 maybe-distclean-itcl \
1519 maybe-distclean-ld \
1520 maybe-distclean-libcpp \
1521 maybe-distclean-libgui \
1522 maybe-distclean-libiberty \
1523 maybe-distclean-libtool \
1524 maybe-distclean-m4 \
1525 maybe-distclean-make \
1526 maybe-distclean-mmalloc \
1527 maybe-distclean-patch \
1528 maybe-distclean-perl \
1529 maybe-distclean-prms \
1530 maybe-distclean-rcs \
1531 maybe-distclean-readline \
1532 maybe-distclean-release \
1533 maybe-distclean-recode \
1534 maybe-distclean-sed \
1535 maybe-distclean-send-pr \
1536 maybe-distclean-shellutils \
1537 maybe-distclean-sid \
1538 maybe-distclean-sim \
1539 maybe-distclean-tar \
1540 maybe-distclean-texinfo \
1541 maybe-distclean-textutils \
1542 maybe-distclean-time \
1543 maybe-distclean-uudecode \
1544 maybe-distclean-wdiff \
1545 maybe-distclean-zip \
1546 maybe-distclean-zlib \
1547 maybe-distclean-gdb \
1548 maybe-distclean-expect \
1549 maybe-distclean-guile \
1550 maybe-distclean-tk \
1551 maybe-distclean-libtermcap \
1552 maybe-distclean-utils
1554 .PHONY: distclean-target
1556 maybe-distclean-target-libstdc++-v3 \
1557 maybe-distclean-target-libmudflap \
1558 maybe-distclean-target-newlib \
1559 maybe-distclean-target-libgfortran \
1560 maybe-distclean-target-libobjc \
1561 maybe-distclean-target-libtermcap \
1562 maybe-distclean-target-winsup \
1563 maybe-distclean-target-libgloss \
1564 maybe-distclean-target-libiberty \
1565 maybe-distclean-target-gperf \
1566 maybe-distclean-target-examples \
1567 maybe-distclean-target-libffi \
1568 maybe-distclean-target-libjava \
1569 maybe-distclean-target-zlib \
1570 maybe-distclean-target-boehm-gc \
1571 maybe-distclean-target-qthreads \
1572 maybe-distclean-target-rda \
1573 maybe-distclean-target-libada
1575 .PHONY: do-maintainer-clean
1576 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1578 .PHONY: maintainer-clean-host
1579 maintainer-clean-host: \
1580 maybe-maintainer-clean-ash \
1581 maybe-maintainer-clean-autoconf \
1582 maybe-maintainer-clean-automake \
1583 maybe-maintainer-clean-bash \
1584 maybe-maintainer-clean-bfd \
1585 maybe-maintainer-clean-opcodes \
1586 maybe-maintainer-clean-binutils \
1587 maybe-maintainer-clean-bison \
1588 maybe-maintainer-clean-byacc \
1589 maybe-maintainer-clean-bzip2 \
1590 maybe-maintainer-clean-dejagnu \
1591 maybe-maintainer-clean-diff \
1592 maybe-maintainer-clean-dosutils \
1593 maybe-maintainer-clean-etc \
1594 maybe-maintainer-clean-fastjar \
1595 maybe-maintainer-clean-fileutils \
1596 maybe-maintainer-clean-findutils \
1597 maybe-maintainer-clean-find \
1598 maybe-maintainer-clean-flex \
1599 maybe-maintainer-clean-gas \
1600 maybe-maintainer-clean-gcc \
1601 maybe-maintainer-clean-gawk \
1602 maybe-maintainer-clean-gettext \
1603 maybe-maintainer-clean-gnuserv \
1604 maybe-maintainer-clean-gprof \
1605 maybe-maintainer-clean-gzip \
1606 maybe-maintainer-clean-hello \
1607 maybe-maintainer-clean-indent \
1608 maybe-maintainer-clean-intl \
1609 maybe-maintainer-clean-tcl \
1610 maybe-maintainer-clean-itcl \
1611 maybe-maintainer-clean-ld \
1612 maybe-maintainer-clean-libcpp \
1613 maybe-maintainer-clean-libgui \
1614 maybe-maintainer-clean-libiberty \
1615 maybe-maintainer-clean-libtool \
1616 maybe-maintainer-clean-m4 \
1617 maybe-maintainer-clean-make \
1618 maybe-maintainer-clean-mmalloc \
1619 maybe-maintainer-clean-patch \
1620 maybe-maintainer-clean-perl \
1621 maybe-maintainer-clean-prms \
1622 maybe-maintainer-clean-rcs \
1623 maybe-maintainer-clean-readline \
1624 maybe-maintainer-clean-release \
1625 maybe-maintainer-clean-recode \
1626 maybe-maintainer-clean-sed \
1627 maybe-maintainer-clean-send-pr \
1628 maybe-maintainer-clean-shellutils \
1629 maybe-maintainer-clean-sid \
1630 maybe-maintainer-clean-sim \
1631 maybe-maintainer-clean-tar \
1632 maybe-maintainer-clean-texinfo \
1633 maybe-maintainer-clean-textutils \
1634 maybe-maintainer-clean-time \
1635 maybe-maintainer-clean-uudecode \
1636 maybe-maintainer-clean-wdiff \
1637 maybe-maintainer-clean-zip \
1638 maybe-maintainer-clean-zlib \
1639 maybe-maintainer-clean-gdb \
1640 maybe-maintainer-clean-expect \
1641 maybe-maintainer-clean-guile \
1642 maybe-maintainer-clean-tk \
1643 maybe-maintainer-clean-libtermcap \
1644 maybe-maintainer-clean-utils
1646 .PHONY: maintainer-clean-target
1647 maintainer-clean-target: \
1648 maybe-maintainer-clean-target-libstdc++-v3 \
1649 maybe-maintainer-clean-target-libmudflap \
1650 maybe-maintainer-clean-target-newlib \
1651 maybe-maintainer-clean-target-libgfortran \
1652 maybe-maintainer-clean-target-libobjc \
1653 maybe-maintainer-clean-target-libtermcap \
1654 maybe-maintainer-clean-target-winsup \
1655 maybe-maintainer-clean-target-libgloss \
1656 maybe-maintainer-clean-target-libiberty \
1657 maybe-maintainer-clean-target-gperf \
1658 maybe-maintainer-clean-target-examples \
1659 maybe-maintainer-clean-target-libffi \
1660 maybe-maintainer-clean-target-libjava \
1661 maybe-maintainer-clean-target-zlib \
1662 maybe-maintainer-clean-target-boehm-gc \
1663 maybe-maintainer-clean-target-qthreads \
1664 maybe-maintainer-clean-target-rda \
1665 maybe-maintainer-clean-target-libada
1668 # Here are the targets which correspond to the do-X targets.
1670 .PHONY: info installcheck dvi install-info
1671 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1672 .PHONY: local-clean local-distclean local-maintainer-clean
1674 installcheck: do-installcheck
1677 # Make sure makeinfo is built before we do a `make info', if we're
1678 # in fact building texinfo.
1679 do-info: maybe-all-texinfo
1681 install-info: do-install-info dir.info
1682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1683 if [ -f dir.info ] ; then \
1684 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1688 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1691 -rm -f Makefile config.status config.cache mh-frag mt-frag
1692 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1693 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1694 rm -rf $(TARGET_SUBDIR); \
1696 -rm -rf $(BUILD_SUBDIR)
1697 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1698 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1699 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1700 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1701 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1703 local-maintainer-clean:
1704 @echo "This command is intended for maintainers to use;"
1705 @echo "it deletes files that may require special tools to rebuild."
1707 clean: do-clean local-clean
1708 mostlyclean: do-mostlyclean local-clean
1709 distclean: do-distclean local-clean local-distclean
1710 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1711 maintainer-clean: local-distclean
1712 realclean: maintainer-clean
1714 # Extra dependency for clean-target, owing to the mixed nature of gcc
1715 clean-target: clean-target-libgcc
1716 clean-target-libgcc:
1717 test ! -d gcc/libgcc || \
1718 (cd gcc/libgcc && find . -type d -print) | \
1719 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1724 .PHONY: check do-check
1727 # Only include modules actually being configured and built.
1730 maybe-check-autoconf \
1731 maybe-check-automake \
1734 maybe-check-opcodes \
1735 maybe-check-binutils \
1739 maybe-check-dejagnu \
1741 maybe-check-dosutils \
1743 maybe-check-fastjar \
1744 maybe-check-fileutils \
1745 maybe-check-findutils \
1751 maybe-check-gettext \
1752 maybe-check-gnuserv \
1756 maybe-check-indent \
1761 maybe-check-libcpp \
1762 maybe-check-libgui \
1763 maybe-check-libiberty \
1764 maybe-check-libtool \
1767 maybe-check-mmalloc \
1772 maybe-check-readline \
1773 maybe-check-release \
1774 maybe-check-recode \
1776 maybe-check-send-pr \
1777 maybe-check-shellutils \
1781 maybe-check-texinfo \
1782 maybe-check-textutils \
1784 maybe-check-uudecode \
1789 maybe-check-expect \
1792 maybe-check-libtermcap \
1794 maybe-check-target-libstdc++-v3 \
1795 maybe-check-target-libmudflap \
1796 maybe-check-target-newlib \
1797 maybe-check-target-libgfortran \
1798 maybe-check-target-libobjc \
1799 maybe-check-target-libtermcap \
1800 maybe-check-target-winsup \
1801 maybe-check-target-libgloss \
1802 maybe-check-target-libiberty \
1803 maybe-check-target-gperf \
1804 maybe-check-target-examples \
1805 maybe-check-target-libffi \
1806 maybe-check-target-libjava \
1807 maybe-check-target-zlib \
1808 maybe-check-target-boehm-gc \
1809 maybe-check-target-qthreads \
1810 maybe-check-target-rda \
1811 maybe-check-target-libada stage
1813 # Automated reporting of test results.
1815 warning.log: build.log
1816 $(srcdir)/contrib/warn_summary build.log > $@
1819 if test x'$(BOOT_CFLAGS)' != x''; then \
1820 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1822 $(srcdir)/contrib/test_summary -t >$@
1824 echo If you really want to send e-mail, run ./$@ now
1826 mail-report-with-warnings.log: warning.log
1827 if test x'$(BOOT_CFLAGS)' != x''; then \
1828 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1830 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1832 echo If you really want to send e-mail, run ./$@ now
1834 # Installation targets.
1836 .PHONY: install uninstall
1837 install: installdirs install-host install-target
1839 .PHONY: install-host-nogcc
1840 install-host-nogcc: \
1842 maybe-install-autoconf \
1843 maybe-install-automake \
1844 maybe-install-bash \
1846 maybe-install-opcodes \
1847 maybe-install-binutils \
1848 maybe-install-bison \
1849 maybe-install-byacc \
1850 maybe-install-bzip2 \
1851 maybe-install-dejagnu \
1852 maybe-install-diff \
1853 maybe-install-dosutils \
1855 maybe-install-fastjar \
1856 maybe-install-fileutils \
1857 maybe-install-findutils \
1858 maybe-install-find \
1859 maybe-install-flex \
1861 maybe-install-gawk \
1862 maybe-install-gettext \
1863 maybe-install-gnuserv \
1864 maybe-install-gprof \
1865 maybe-install-gzip \
1866 maybe-install-hello \
1867 maybe-install-indent \
1868 maybe-install-intl \
1870 maybe-install-itcl \
1872 maybe-install-libcpp \
1873 maybe-install-libgui \
1874 maybe-install-libiberty \
1875 maybe-install-libtool \
1877 maybe-install-make \
1878 maybe-install-mmalloc \
1879 maybe-install-patch \
1880 maybe-install-perl \
1881 maybe-install-prms \
1883 maybe-install-readline \
1884 maybe-install-release \
1885 maybe-install-recode \
1887 maybe-install-send-pr \
1888 maybe-install-shellutils \
1892 maybe-install-texinfo \
1893 maybe-install-textutils \
1894 maybe-install-time \
1895 maybe-install-uudecode \
1896 maybe-install-wdiff \
1898 maybe-install-zlib \
1900 maybe-install-expect \
1901 maybe-install-guile \
1903 maybe-install-libtermcap \
1906 .PHONY: install-host
1909 maybe-install-autoconf \
1910 maybe-install-automake \
1911 maybe-install-bash \
1913 maybe-install-opcodes \
1914 maybe-install-binutils \
1915 maybe-install-bison \
1916 maybe-install-byacc \
1917 maybe-install-bzip2 \
1918 maybe-install-dejagnu \
1919 maybe-install-diff \
1920 maybe-install-dosutils \
1922 maybe-install-fastjar \
1923 maybe-install-fileutils \
1924 maybe-install-findutils \
1925 maybe-install-find \
1926 maybe-install-flex \
1929 maybe-install-gawk \
1930 maybe-install-gettext \
1931 maybe-install-gnuserv \
1932 maybe-install-gprof \
1933 maybe-install-gzip \
1934 maybe-install-hello \
1935 maybe-install-indent \
1936 maybe-install-intl \
1938 maybe-install-itcl \
1940 maybe-install-libcpp \
1941 maybe-install-libgui \
1942 maybe-install-libiberty \
1943 maybe-install-libtool \
1945 maybe-install-make \
1946 maybe-install-mmalloc \
1947 maybe-install-patch \
1948 maybe-install-perl \
1949 maybe-install-prms \
1951 maybe-install-readline \
1952 maybe-install-release \
1953 maybe-install-recode \
1955 maybe-install-send-pr \
1956 maybe-install-shellutils \
1960 maybe-install-texinfo \
1961 maybe-install-textutils \
1962 maybe-install-time \
1963 maybe-install-uudecode \
1964 maybe-install-wdiff \
1966 maybe-install-zlib \
1968 maybe-install-expect \
1969 maybe-install-guile \
1971 maybe-install-libtermcap \
1974 .PHONY: install-target
1976 maybe-install-target-libstdc++-v3 \
1977 maybe-install-target-libmudflap \
1978 maybe-install-target-newlib \
1979 maybe-install-target-libgfortran \
1980 maybe-install-target-libobjc \
1981 maybe-install-target-libtermcap \
1982 maybe-install-target-winsup \
1983 maybe-install-target-libgloss \
1984 maybe-install-target-libiberty \
1985 maybe-install-target-gperf \
1986 maybe-install-target-examples \
1987 maybe-install-target-libffi \
1988 maybe-install-target-libjava \
1989 maybe-install-target-zlib \
1990 maybe-install-target-boehm-gc \
1991 maybe-install-target-qthreads \
1992 maybe-install-target-rda \
1993 maybe-install-target-libada
1996 @echo "the uninstall target is not supported in this tree"
1999 install.all: install-no-fixedincludes
2000 @if [ -f ./gcc/Makefile ] ; then \
2001 r=`${PWD_COMMAND}` ; export r ; \
2005 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2010 # install-no-fixedincludes is used because Cygnus can not distribute
2011 # the fixed header files.
2012 .PHONY: install-no-fixedincludes
2013 install-no-fixedincludes: installdirs install-host-nogcc \
2014 install-target gcc-no-fixedincludes
2016 ### other supporting targets
2019 $(DESTDIR)$(prefix) \
2020 $(DESTDIR)$(exec_prefix)
2022 installdirs: mkinstalldirs
2023 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2025 dir.info: do-install-info
2026 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2027 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2028 mv -f dir.info.new dir.info ; \
2033 @echo "Building a full distribution of this tree isn't done"
2034 @echo "via 'make dist'. Check out the etc/ subdirectory"
2038 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2039 # ability to use several tags files at once, so there is probably no need
2040 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2041 # (if we felt like it) have this Makefile write a piece of elisp which
2042 # the user could load to tell emacs19 where all the TAGS files we just
2046 # --------------------------------------
2047 # Modules which run on the build machine
2048 # --------------------------------------
2050 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2051 maybe-configure-build-libiberty:
2053 maybe-configure-build-libiberty: configure-build-libiberty
2054 configure-build-libiberty:
2055 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2056 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2057 r=`${PWD_COMMAND}`; export r; \
2058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2060 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2061 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2063 /* | [A-Za-z]:[\\/]*) \
2064 topdir=$(srcdir) ;; \
2066 case "$(BUILD_SUBDIR)" in \
2067 .) topdir="../$(srcdir)" ;; \
2068 *) topdir="../../$(srcdir)" ;; \
2071 if [ "$(srcdir)" = "." ] ; then \
2072 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2073 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
2074 if [ -f Makefile ]; then \
2075 if $(MAKE) distclean; then \
2089 srcdiroption="--srcdir=."; \
2092 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2093 libsrcdir="$$s/libiberty"; \
2095 rm -f no-such-file || : ; \
2096 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2097 $(BUILD_CONFIGARGS) $${srcdiroption} \
2098 --with-build-subdir="$(BUILD_SUBDIR)" \
2100 @endif build-libiberty
2102 .PHONY: all-build-libiberty maybe-all-build-libiberty
2103 maybe-all-build-libiberty:
2105 TARGET-build-libiberty=all
2106 maybe-all-build-libiberty: all-build-libiberty
2107 all-build-libiberty: configure-build-libiberty
2108 @r=`${PWD_COMMAND}`; export r; \
2109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2111 (cd $(BUILD_SUBDIR)/libiberty && \
2112 $(MAKE) $(TARGET-build-libiberty))
2113 @endif build-libiberty
2115 .PHONY: configure-build-bison maybe-configure-build-bison
2116 maybe-configure-build-bison:
2118 maybe-configure-build-bison: configure-build-bison
2119 configure-build-bison:
2120 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2121 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2122 r=`${PWD_COMMAND}`; export r; \
2123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2125 echo Configuring in $(BUILD_SUBDIR)/bison; \
2126 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2128 /* | [A-Za-z]:[\\/]*) \
2129 topdir=$(srcdir) ;; \
2131 case "$(BUILD_SUBDIR)" in \
2132 .) topdir="../$(srcdir)" ;; \
2133 *) topdir="../../$(srcdir)" ;; \
2136 if [ "$(srcdir)" = "." ] ; then \
2137 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2138 if $(SHELL) $$s/symlink-tree $${topdir}/bison "no-such-file" ; then \
2139 if [ -f Makefile ]; then \
2140 if $(MAKE) distclean; then \
2154 srcdiroption="--srcdir=."; \
2157 srcdiroption="--srcdir=$${topdir}/bison"; \
2158 libsrcdir="$$s/bison"; \
2160 rm -f no-such-file || : ; \
2161 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2162 $(BUILD_CONFIGARGS) $${srcdiroption} \
2163 --with-build-subdir="$(BUILD_SUBDIR)" \
2167 .PHONY: all-build-bison maybe-all-build-bison
2168 maybe-all-build-bison:
2170 TARGET-build-bison=all
2171 maybe-all-build-bison: all-build-bison
2172 all-build-bison: configure-build-bison
2173 @r=`${PWD_COMMAND}`; export r; \
2174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2176 (cd $(BUILD_SUBDIR)/bison && \
2177 $(MAKE) $(TARGET-build-bison))
2180 .PHONY: configure-build-byacc maybe-configure-build-byacc
2181 maybe-configure-build-byacc:
2183 maybe-configure-build-byacc: configure-build-byacc
2184 configure-build-byacc:
2185 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2186 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2187 r=`${PWD_COMMAND}`; export r; \
2188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2190 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2191 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2193 /* | [A-Za-z]:[\\/]*) \
2194 topdir=$(srcdir) ;; \
2196 case "$(BUILD_SUBDIR)" in \
2197 .) topdir="../$(srcdir)" ;; \
2198 *) topdir="../../$(srcdir)" ;; \
2201 if [ "$(srcdir)" = "." ] ; then \
2202 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2203 if $(SHELL) $$s/symlink-tree $${topdir}/byacc "no-such-file" ; then \
2204 if [ -f Makefile ]; then \
2205 if $(MAKE) distclean; then \
2219 srcdiroption="--srcdir=."; \
2222 srcdiroption="--srcdir=$${topdir}/byacc"; \
2223 libsrcdir="$$s/byacc"; \
2225 rm -f no-such-file || : ; \
2226 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2227 $(BUILD_CONFIGARGS) $${srcdiroption} \
2228 --with-build-subdir="$(BUILD_SUBDIR)" \
2232 .PHONY: all-build-byacc maybe-all-build-byacc
2233 maybe-all-build-byacc:
2235 TARGET-build-byacc=all
2236 maybe-all-build-byacc: all-build-byacc
2237 all-build-byacc: configure-build-byacc
2238 @r=`${PWD_COMMAND}`; export r; \
2239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2241 (cd $(BUILD_SUBDIR)/byacc && \
2242 $(MAKE) $(TARGET-build-byacc))
2245 .PHONY: configure-build-flex maybe-configure-build-flex
2246 maybe-configure-build-flex:
2248 maybe-configure-build-flex: configure-build-flex
2249 configure-build-flex:
2250 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2251 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2252 r=`${PWD_COMMAND}`; export r; \
2253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2255 echo Configuring in $(BUILD_SUBDIR)/flex; \
2256 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2258 /* | [A-Za-z]:[\\/]*) \
2259 topdir=$(srcdir) ;; \
2261 case "$(BUILD_SUBDIR)" in \
2262 .) topdir="../$(srcdir)" ;; \
2263 *) topdir="../../$(srcdir)" ;; \
2266 if [ "$(srcdir)" = "." ] ; then \
2267 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2268 if $(SHELL) $$s/symlink-tree $${topdir}/flex "no-such-file" ; then \
2269 if [ -f Makefile ]; then \
2270 if $(MAKE) distclean; then \
2284 srcdiroption="--srcdir=."; \
2287 srcdiroption="--srcdir=$${topdir}/flex"; \
2288 libsrcdir="$$s/flex"; \
2290 rm -f no-such-file || : ; \
2291 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2292 $(BUILD_CONFIGARGS) $${srcdiroption} \
2293 --with-build-subdir="$(BUILD_SUBDIR)" \
2297 .PHONY: all-build-flex maybe-all-build-flex
2298 maybe-all-build-flex:
2300 TARGET-build-flex=all
2301 maybe-all-build-flex: all-build-flex
2302 all-build-flex: configure-build-flex
2303 @r=`${PWD_COMMAND}`; export r; \
2304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2306 (cd $(BUILD_SUBDIR)/flex && \
2307 $(MAKE) $(TARGET-build-flex))
2310 .PHONY: configure-build-m4 maybe-configure-build-m4
2311 maybe-configure-build-m4:
2313 maybe-configure-build-m4: configure-build-m4
2315 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2316 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2317 r=`${PWD_COMMAND}`; export r; \
2318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2320 echo Configuring in $(BUILD_SUBDIR)/m4; \
2321 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2323 /* | [A-Za-z]:[\\/]*) \
2324 topdir=$(srcdir) ;; \
2326 case "$(BUILD_SUBDIR)" in \
2327 .) topdir="../$(srcdir)" ;; \
2328 *) topdir="../../$(srcdir)" ;; \
2331 if [ "$(srcdir)" = "." ] ; then \
2332 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2333 if $(SHELL) $$s/symlink-tree $${topdir}/m4 "no-such-file" ; then \
2334 if [ -f Makefile ]; then \
2335 if $(MAKE) distclean; then \
2349 srcdiroption="--srcdir=."; \
2352 srcdiroption="--srcdir=$${topdir}/m4"; \
2353 libsrcdir="$$s/m4"; \
2355 rm -f no-such-file || : ; \
2356 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2357 $(BUILD_CONFIGARGS) $${srcdiroption} \
2358 --with-build-subdir="$(BUILD_SUBDIR)" \
2362 .PHONY: all-build-m4 maybe-all-build-m4
2366 maybe-all-build-m4: all-build-m4
2367 all-build-m4: configure-build-m4
2368 @r=`${PWD_COMMAND}`; export r; \
2369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2371 (cd $(BUILD_SUBDIR)/m4 && \
2372 $(MAKE) $(TARGET-build-m4))
2375 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2376 maybe-configure-build-texinfo:
2378 maybe-configure-build-texinfo: configure-build-texinfo
2379 configure-build-texinfo:
2380 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2381 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2382 r=`${PWD_COMMAND}`; export r; \
2383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2385 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2386 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2388 /* | [A-Za-z]:[\\/]*) \
2389 topdir=$(srcdir) ;; \
2391 case "$(BUILD_SUBDIR)" in \
2392 .) topdir="../$(srcdir)" ;; \
2393 *) topdir="../../$(srcdir)" ;; \
2396 if [ "$(srcdir)" = "." ] ; then \
2397 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2398 if $(SHELL) $$s/symlink-tree $${topdir}/texinfo "no-such-file" ; then \
2399 if [ -f Makefile ]; then \
2400 if $(MAKE) distclean; then \
2414 srcdiroption="--srcdir=."; \
2417 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2418 libsrcdir="$$s/texinfo"; \
2420 rm -f no-such-file || : ; \
2421 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2422 $(BUILD_CONFIGARGS) $${srcdiroption} \
2423 --with-build-subdir="$(BUILD_SUBDIR)" \
2425 @endif build-texinfo
2427 .PHONY: all-build-texinfo maybe-all-build-texinfo
2428 maybe-all-build-texinfo:
2430 TARGET-build-texinfo=all
2431 maybe-all-build-texinfo: all-build-texinfo
2432 all-build-texinfo: configure-build-texinfo
2433 @r=`${PWD_COMMAND}`; export r; \
2434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2436 (cd $(BUILD_SUBDIR)/texinfo && \
2437 $(MAKE) $(TARGET-build-texinfo))
2438 @endif build-texinfo
2440 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2441 maybe-configure-build-fixincludes:
2442 @if build-fixincludes
2443 maybe-configure-build-fixincludes: configure-build-fixincludes
2444 configure-build-fixincludes:
2445 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2446 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2447 r=`${PWD_COMMAND}`; export r; \
2448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2450 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2451 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2453 /* | [A-Za-z]:[\\/]*) \
2454 topdir=$(srcdir) ;; \
2456 case "$(BUILD_SUBDIR)" in \
2457 .) topdir="../$(srcdir)" ;; \
2458 *) topdir="../../$(srcdir)" ;; \
2461 if [ "$(srcdir)" = "." ] ; then \
2462 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2463 if $(SHELL) $$s/symlink-tree $${topdir}/fixincludes "no-such-file" ; then \
2464 if [ -f Makefile ]; then \
2465 if $(MAKE) distclean; then \
2479 srcdiroption="--srcdir=."; \
2482 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2483 libsrcdir="$$s/fixincludes"; \
2485 rm -f no-such-file || : ; \
2486 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2487 $(BUILD_CONFIGARGS) $${srcdiroption} \
2488 --with-build-subdir="$(BUILD_SUBDIR)" \
2490 @endif build-fixincludes
2492 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2493 maybe-all-build-fixincludes:
2494 @if build-fixincludes
2495 TARGET-build-fixincludes=all
2496 maybe-all-build-fixincludes: all-build-fixincludes
2497 all-build-fixincludes: configure-build-fixincludes
2498 @r=`${PWD_COMMAND}`; export r; \
2499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2501 (cd $(BUILD_SUBDIR)/fixincludes && \
2502 $(MAKE) $(TARGET-build-fixincludes))
2503 @endif build-fixincludes
2506 # --------------------------------------
2507 # Modules which run on the host machine
2508 # --------------------------------------
2510 .PHONY: configure-ash maybe-configure-ash
2511 maybe-configure-ash:
2513 maybe-configure-ash: configure-ash
2515 @test ! -f ash/Makefile || exit 0; \
2516 [ -d ash ] || mkdir ash; \
2517 r=`${PWD_COMMAND}`; export r; \
2518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2520 echo Configuring in ash; \
2524 srcdiroption="--srcdir=."; \
2526 /* | [A-Za-z]:[\\/]*) \
2527 srcdiroption="--srcdir=$(srcdir)/ash"; \
2528 libsrcdir="$$s/ash";; \
2530 srcdiroption="--srcdir=../$(srcdir)/ash"; \
2531 libsrcdir="$$s/ash";; \
2533 $(SHELL) $${libsrcdir}/configure \
2534 $(HOST_CONFIGARGS) $${srcdiroption} \
2538 .PHONY: all-ash maybe-all-ash
2541 maybe-all-ash: all-ash
2542 all-ash: configure-ash
2543 @r=`${PWD_COMMAND}`; export r; \
2544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2547 (cd ash && $(MAKE) $(FLAGS_TO_PASS) all)
2550 .PHONY: check-ash maybe-check-ash
2553 maybe-check-ash: check-ash
2556 @r=`${PWD_COMMAND}`; export r; \
2557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2560 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2564 .PHONY: install-ash maybe-install-ash
2567 maybe-install-ash: install-ash
2569 install-ash: installdirs
2570 @r=`${PWD_COMMAND}`; export r; \
2571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2574 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2578 # Other targets (info, dvi, etc.)
2580 .PHONY: maybe-info-ash info-ash
2583 maybe-info-ash: info-ash
2587 @[ -f ./ash/Makefile ] || exit 0; \
2588 r=`${PWD_COMMAND}`; export r; \
2589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2592 for flag in $(EXTRA_HOST_FLAGS) ; do \
2593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2595 echo "Doing info in ash" ; \
2597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2599 "RANLIB=$${RANLIB}" \
2600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2606 .PHONY: maybe-dvi-ash dvi-ash
2609 maybe-dvi-ash: dvi-ash
2613 @[ -f ./ash/Makefile ] || exit 0; \
2614 r=`${PWD_COMMAND}`; export r; \
2615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2618 for flag in $(EXTRA_HOST_FLAGS) ; do \
2619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2621 echo "Doing dvi in ash" ; \
2623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2625 "RANLIB=$${RANLIB}" \
2626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2632 .PHONY: maybe-TAGS-ash TAGS-ash
2635 maybe-TAGS-ash: TAGS-ash
2639 @[ -f ./ash/Makefile ] || exit 0; \
2640 r=`${PWD_COMMAND}`; export r; \
2641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2644 for flag in $(EXTRA_HOST_FLAGS) ; do \
2645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2647 echo "Doing TAGS in ash" ; \
2649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2651 "RANLIB=$${RANLIB}" \
2652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2658 .PHONY: maybe-install-info-ash install-info-ash
2659 maybe-install-info-ash:
2661 maybe-install-info-ash: install-info-ash
2666 @[ -f ./ash/Makefile ] || exit 0; \
2667 r=`${PWD_COMMAND}`; export r; \
2668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2671 for flag in $(EXTRA_HOST_FLAGS) ; do \
2672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2674 echo "Doing install-info in ash" ; \
2676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2678 "RANLIB=$${RANLIB}" \
2679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2685 .PHONY: maybe-installcheck-ash installcheck-ash
2686 maybe-installcheck-ash:
2688 maybe-installcheck-ash: installcheck-ash
2692 @[ -f ./ash/Makefile ] || exit 0; \
2693 r=`${PWD_COMMAND}`; export r; \
2694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2697 for flag in $(EXTRA_HOST_FLAGS) ; do \
2698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2700 echo "Doing installcheck in ash" ; \
2702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2704 "RANLIB=$${RANLIB}" \
2705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2711 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2712 maybe-mostlyclean-ash:
2714 maybe-mostlyclean-ash: mostlyclean-ash
2717 @[ -f ./ash/Makefile ] || exit 0; \
2718 r=`${PWD_COMMAND}`; export r; \
2719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2722 for flag in $(EXTRA_HOST_FLAGS) ; do \
2723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2725 echo "Doing mostlyclean in ash" ; \
2727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2729 "RANLIB=$${RANLIB}" \
2730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2736 .PHONY: maybe-clean-ash clean-ash
2739 maybe-clean-ash: clean-ash
2742 @[ -f ./ash/Makefile ] || exit 0; \
2743 r=`${PWD_COMMAND}`; export r; \
2744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2747 for flag in $(EXTRA_HOST_FLAGS) ; do \
2748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2750 echo "Doing clean in ash" ; \
2752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2754 "RANLIB=$${RANLIB}" \
2755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2761 .PHONY: maybe-distclean-ash distclean-ash
2762 maybe-distclean-ash:
2764 maybe-distclean-ash: distclean-ash
2767 @[ -f ./ash/Makefile ] || exit 0; \
2768 r=`${PWD_COMMAND}`; export r; \
2769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2772 for flag in $(EXTRA_HOST_FLAGS) ; do \
2773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2775 echo "Doing distclean in ash" ; \
2777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2779 "RANLIB=$${RANLIB}" \
2780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2786 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2787 maybe-maintainer-clean-ash:
2789 maybe-maintainer-clean-ash: maintainer-clean-ash
2791 maintainer-clean-ash:
2792 @[ -f ./ash/Makefile ] || exit 0; \
2793 r=`${PWD_COMMAND}`; export r; \
2794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2797 for flag in $(EXTRA_HOST_FLAGS) ; do \
2798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2800 echo "Doing maintainer-clean in ash" ; \
2802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2804 "RANLIB=$${RANLIB}" \
2805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2812 .PHONY: configure-autoconf maybe-configure-autoconf
2813 maybe-configure-autoconf:
2815 maybe-configure-autoconf: configure-autoconf
2817 @test ! -f autoconf/Makefile || exit 0; \
2818 [ -d autoconf ] || mkdir autoconf; \
2819 r=`${PWD_COMMAND}`; export r; \
2820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2822 echo Configuring in autoconf; \
2823 cd autoconf || exit 1; \
2826 srcdiroption="--srcdir=."; \
2828 /* | [A-Za-z]:[\\/]*) \
2829 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2830 libsrcdir="$$s/autoconf";; \
2832 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2833 libsrcdir="$$s/autoconf";; \
2835 $(SHELL) $${libsrcdir}/configure \
2836 $(HOST_CONFIGARGS) $${srcdiroption} \
2840 .PHONY: all-autoconf maybe-all-autoconf
2843 maybe-all-autoconf: all-autoconf
2844 all-autoconf: configure-autoconf
2845 @r=`${PWD_COMMAND}`; export r; \
2846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2849 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all)
2852 .PHONY: check-autoconf maybe-check-autoconf
2853 maybe-check-autoconf:
2855 maybe-check-autoconf: check-autoconf
2858 @r=`${PWD_COMMAND}`; export r; \
2859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2862 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
2866 .PHONY: install-autoconf maybe-install-autoconf
2867 maybe-install-autoconf:
2869 maybe-install-autoconf: install-autoconf
2871 install-autoconf: installdirs
2872 @r=`${PWD_COMMAND}`; export r; \
2873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2876 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
2880 # Other targets (info, dvi, etc.)
2882 .PHONY: maybe-info-autoconf info-autoconf
2883 maybe-info-autoconf:
2885 maybe-info-autoconf: info-autoconf
2889 @[ -f ./autoconf/Makefile ] || exit 0; \
2890 r=`${PWD_COMMAND}`; export r; \
2891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2894 for flag in $(EXTRA_HOST_FLAGS) ; do \
2895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2897 echo "Doing info in autoconf" ; \
2899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2901 "RANLIB=$${RANLIB}" \
2902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2908 .PHONY: maybe-dvi-autoconf dvi-autoconf
2911 maybe-dvi-autoconf: dvi-autoconf
2915 @[ -f ./autoconf/Makefile ] || exit 0; \
2916 r=`${PWD_COMMAND}`; export r; \
2917 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 dvi in autoconf" ; \
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}" \
2934 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2935 maybe-TAGS-autoconf:
2937 maybe-TAGS-autoconf: TAGS-autoconf
2941 @[ -f ./autoconf/Makefile ] || exit 0; \
2942 r=`${PWD_COMMAND}`; export r; \
2943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2946 for flag in $(EXTRA_HOST_FLAGS) ; do \
2947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2949 echo "Doing TAGS in autoconf" ; \
2951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2953 "RANLIB=$${RANLIB}" \
2954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2960 .PHONY: maybe-install-info-autoconf install-info-autoconf
2961 maybe-install-info-autoconf:
2963 maybe-install-info-autoconf: install-info-autoconf
2965 install-info-autoconf: \
2966 configure-autoconf \
2968 @[ -f ./autoconf/Makefile ] || exit 0; \
2969 r=`${PWD_COMMAND}`; export r; \
2970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2973 for flag in $(EXTRA_HOST_FLAGS) ; do \
2974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2976 echo "Doing install-info in autoconf" ; \
2978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2980 "RANLIB=$${RANLIB}" \
2981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2987 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
2988 maybe-installcheck-autoconf:
2990 maybe-installcheck-autoconf: installcheck-autoconf
2992 installcheck-autoconf: \
2994 @[ -f ./autoconf/Makefile ] || exit 0; \
2995 r=`${PWD_COMMAND}`; export r; \
2996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2999 for flag in $(EXTRA_HOST_FLAGS) ; do \
3000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3002 echo "Doing installcheck in autoconf" ; \
3004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3006 "RANLIB=$${RANLIB}" \
3007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3013 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3014 maybe-mostlyclean-autoconf:
3016 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3018 mostlyclean-autoconf:
3019 @[ -f ./autoconf/Makefile ] || exit 0; \
3020 r=`${PWD_COMMAND}`; export r; \
3021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3024 for flag in $(EXTRA_HOST_FLAGS) ; do \
3025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3027 echo "Doing mostlyclean in autoconf" ; \
3029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3031 "RANLIB=$${RANLIB}" \
3032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3038 .PHONY: maybe-clean-autoconf clean-autoconf
3039 maybe-clean-autoconf:
3041 maybe-clean-autoconf: clean-autoconf
3044 @[ -f ./autoconf/Makefile ] || exit 0; \
3045 r=`${PWD_COMMAND}`; export r; \
3046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3049 for flag in $(EXTRA_HOST_FLAGS) ; do \
3050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3052 echo "Doing clean in autoconf" ; \
3054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3056 "RANLIB=$${RANLIB}" \
3057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3063 .PHONY: maybe-distclean-autoconf distclean-autoconf
3064 maybe-distclean-autoconf:
3066 maybe-distclean-autoconf: distclean-autoconf
3069 @[ -f ./autoconf/Makefile ] || exit 0; \
3070 r=`${PWD_COMMAND}`; export r; \
3071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3074 for flag in $(EXTRA_HOST_FLAGS) ; do \
3075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3077 echo "Doing distclean in autoconf" ; \
3079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3081 "RANLIB=$${RANLIB}" \
3082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3088 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3089 maybe-maintainer-clean-autoconf:
3091 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3093 maintainer-clean-autoconf:
3094 @[ -f ./autoconf/Makefile ] || exit 0; \
3095 r=`${PWD_COMMAND}`; export r; \
3096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3099 for flag in $(EXTRA_HOST_FLAGS) ; do \
3100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3102 echo "Doing maintainer-clean in autoconf" ; \
3104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3106 "RANLIB=$${RANLIB}" \
3107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3114 .PHONY: configure-automake maybe-configure-automake
3115 maybe-configure-automake:
3117 maybe-configure-automake: configure-automake
3119 @test ! -f automake/Makefile || exit 0; \
3120 [ -d automake ] || mkdir automake; \
3121 r=`${PWD_COMMAND}`; export r; \
3122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3124 echo Configuring in automake; \
3125 cd automake || exit 1; \
3128 srcdiroption="--srcdir=."; \
3130 /* | [A-Za-z]:[\\/]*) \
3131 srcdiroption="--srcdir=$(srcdir)/automake"; \
3132 libsrcdir="$$s/automake";; \
3134 srcdiroption="--srcdir=../$(srcdir)/automake"; \
3135 libsrcdir="$$s/automake";; \
3137 $(SHELL) $${libsrcdir}/configure \
3138 $(HOST_CONFIGARGS) $${srcdiroption} \
3142 .PHONY: all-automake maybe-all-automake
3145 maybe-all-automake: all-automake
3146 all-automake: configure-automake
3147 @r=`${PWD_COMMAND}`; export r; \
3148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3151 (cd automake && $(MAKE) $(FLAGS_TO_PASS) all)
3154 .PHONY: check-automake maybe-check-automake
3155 maybe-check-automake:
3157 maybe-check-automake: check-automake
3160 @r=`${PWD_COMMAND}`; export r; \
3161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3164 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
3168 .PHONY: install-automake maybe-install-automake
3169 maybe-install-automake:
3171 maybe-install-automake: install-automake
3173 install-automake: installdirs
3174 @r=`${PWD_COMMAND}`; export r; \
3175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3178 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
3182 # Other targets (info, dvi, etc.)
3184 .PHONY: maybe-info-automake info-automake
3185 maybe-info-automake:
3187 maybe-info-automake: info-automake
3191 @[ -f ./automake/Makefile ] || exit 0; \
3192 r=`${PWD_COMMAND}`; export r; \
3193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3196 for flag in $(EXTRA_HOST_FLAGS) ; do \
3197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3199 echo "Doing info in automake" ; \
3201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3203 "RANLIB=$${RANLIB}" \
3204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3210 .PHONY: maybe-dvi-automake dvi-automake
3213 maybe-dvi-automake: dvi-automake
3217 @[ -f ./automake/Makefile ] || exit 0; \
3218 r=`${PWD_COMMAND}`; export r; \
3219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3222 for flag in $(EXTRA_HOST_FLAGS) ; do \
3223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3225 echo "Doing dvi in automake" ; \
3227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3229 "RANLIB=$${RANLIB}" \
3230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3236 .PHONY: maybe-TAGS-automake TAGS-automake
3237 maybe-TAGS-automake:
3239 maybe-TAGS-automake: TAGS-automake
3243 @[ -f ./automake/Makefile ] || exit 0; \
3244 r=`${PWD_COMMAND}`; export r; \
3245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3248 for flag in $(EXTRA_HOST_FLAGS) ; do \
3249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3251 echo "Doing TAGS in automake" ; \
3253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3255 "RANLIB=$${RANLIB}" \
3256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3262 .PHONY: maybe-install-info-automake install-info-automake
3263 maybe-install-info-automake:
3265 maybe-install-info-automake: install-info-automake
3267 install-info-automake: \
3268 configure-automake \
3270 @[ -f ./automake/Makefile ] || exit 0; \
3271 r=`${PWD_COMMAND}`; export r; \
3272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3275 for flag in $(EXTRA_HOST_FLAGS) ; do \
3276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3278 echo "Doing install-info in automake" ; \
3280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3282 "RANLIB=$${RANLIB}" \
3283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3289 .PHONY: maybe-installcheck-automake installcheck-automake
3290 maybe-installcheck-automake:
3292 maybe-installcheck-automake: installcheck-automake
3294 installcheck-automake: \
3296 @[ -f ./automake/Makefile ] || exit 0; \
3297 r=`${PWD_COMMAND}`; export r; \
3298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3301 for flag in $(EXTRA_HOST_FLAGS) ; do \
3302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3304 echo "Doing installcheck in automake" ; \
3306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3308 "RANLIB=$${RANLIB}" \
3309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3315 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3316 maybe-mostlyclean-automake:
3318 maybe-mostlyclean-automake: mostlyclean-automake
3320 mostlyclean-automake:
3321 @[ -f ./automake/Makefile ] || exit 0; \
3322 r=`${PWD_COMMAND}`; export r; \
3323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3326 for flag in $(EXTRA_HOST_FLAGS) ; do \
3327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3329 echo "Doing mostlyclean in automake" ; \
3331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3333 "RANLIB=$${RANLIB}" \
3334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3340 .PHONY: maybe-clean-automake clean-automake
3341 maybe-clean-automake:
3343 maybe-clean-automake: clean-automake
3346 @[ -f ./automake/Makefile ] || exit 0; \
3347 r=`${PWD_COMMAND}`; export r; \
3348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3351 for flag in $(EXTRA_HOST_FLAGS) ; do \
3352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3354 echo "Doing clean in automake" ; \
3356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3358 "RANLIB=$${RANLIB}" \
3359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3365 .PHONY: maybe-distclean-automake distclean-automake
3366 maybe-distclean-automake:
3368 maybe-distclean-automake: distclean-automake
3371 @[ -f ./automake/Makefile ] || exit 0; \
3372 r=`${PWD_COMMAND}`; export r; \
3373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3376 for flag in $(EXTRA_HOST_FLAGS) ; do \
3377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3379 echo "Doing distclean in automake" ; \
3381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3383 "RANLIB=$${RANLIB}" \
3384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3390 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3391 maybe-maintainer-clean-automake:
3393 maybe-maintainer-clean-automake: maintainer-clean-automake
3395 maintainer-clean-automake:
3396 @[ -f ./automake/Makefile ] || exit 0; \
3397 r=`${PWD_COMMAND}`; export r; \
3398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3401 for flag in $(EXTRA_HOST_FLAGS) ; do \
3402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3404 echo "Doing maintainer-clean in automake" ; \
3406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3408 "RANLIB=$${RANLIB}" \
3409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3416 .PHONY: configure-bash maybe-configure-bash
3417 maybe-configure-bash:
3419 maybe-configure-bash: configure-bash
3421 @test ! -f bash/Makefile || exit 0; \
3422 [ -d bash ] || mkdir bash; \
3423 r=`${PWD_COMMAND}`; export r; \
3424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3426 echo Configuring in bash; \
3427 cd bash || exit 1; \
3430 srcdiroption="--srcdir=."; \
3432 /* | [A-Za-z]:[\\/]*) \
3433 srcdiroption="--srcdir=$(srcdir)/bash"; \
3434 libsrcdir="$$s/bash";; \
3436 srcdiroption="--srcdir=../$(srcdir)/bash"; \
3437 libsrcdir="$$s/bash";; \
3439 $(SHELL) $${libsrcdir}/configure \
3440 $(HOST_CONFIGARGS) $${srcdiroption} \
3444 .PHONY: all-bash maybe-all-bash
3447 maybe-all-bash: all-bash
3448 all-bash: configure-bash
3449 @r=`${PWD_COMMAND}`; export r; \
3450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3453 (cd bash && $(MAKE) $(FLAGS_TO_PASS) all)
3456 .PHONY: check-bash maybe-check-bash
3459 maybe-check-bash: check-bash
3462 @r=`${PWD_COMMAND}`; export r; \
3463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3466 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
3470 .PHONY: install-bash maybe-install-bash
3473 maybe-install-bash: install-bash
3475 install-bash: installdirs
3476 @r=`${PWD_COMMAND}`; export r; \
3477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3480 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
3484 # Other targets (info, dvi, etc.)
3486 .PHONY: maybe-info-bash info-bash
3489 maybe-info-bash: info-bash
3493 @[ -f ./bash/Makefile ] || exit 0; \
3494 r=`${PWD_COMMAND}`; export r; \
3495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3498 for flag in $(EXTRA_HOST_FLAGS) ; do \
3499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3501 echo "Doing info in bash" ; \
3503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3505 "RANLIB=$${RANLIB}" \
3506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3512 .PHONY: maybe-dvi-bash dvi-bash
3515 maybe-dvi-bash: dvi-bash
3519 @[ -f ./bash/Makefile ] || exit 0; \
3520 r=`${PWD_COMMAND}`; export r; \
3521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3524 for flag in $(EXTRA_HOST_FLAGS) ; do \
3525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3527 echo "Doing dvi in bash" ; \
3529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3531 "RANLIB=$${RANLIB}" \
3532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3538 .PHONY: maybe-TAGS-bash TAGS-bash
3541 maybe-TAGS-bash: TAGS-bash
3545 @[ -f ./bash/Makefile ] || exit 0; \
3546 r=`${PWD_COMMAND}`; export r; \
3547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3550 for flag in $(EXTRA_HOST_FLAGS) ; do \
3551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3553 echo "Doing TAGS in bash" ; \
3555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3557 "RANLIB=$${RANLIB}" \
3558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3564 .PHONY: maybe-install-info-bash install-info-bash
3565 maybe-install-info-bash:
3567 maybe-install-info-bash: install-info-bash
3569 install-info-bash: \
3572 @[ -f ./bash/Makefile ] || exit 0; \
3573 r=`${PWD_COMMAND}`; export r; \
3574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3577 for flag in $(EXTRA_HOST_FLAGS) ; do \
3578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3580 echo "Doing install-info in bash" ; \
3582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3584 "RANLIB=$${RANLIB}" \
3585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3591 .PHONY: maybe-installcheck-bash installcheck-bash
3592 maybe-installcheck-bash:
3594 maybe-installcheck-bash: installcheck-bash
3596 installcheck-bash: \
3598 @[ -f ./bash/Makefile ] || exit 0; \
3599 r=`${PWD_COMMAND}`; export r; \
3600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3603 for flag in $(EXTRA_HOST_FLAGS) ; do \
3604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3606 echo "Doing installcheck in bash" ; \
3608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3610 "RANLIB=$${RANLIB}" \
3611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3617 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3618 maybe-mostlyclean-bash:
3620 maybe-mostlyclean-bash: mostlyclean-bash
3623 @[ -f ./bash/Makefile ] || exit 0; \
3624 r=`${PWD_COMMAND}`; export r; \
3625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3628 for flag in $(EXTRA_HOST_FLAGS) ; do \
3629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3631 echo "Doing mostlyclean in bash" ; \
3633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3635 "RANLIB=$${RANLIB}" \
3636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3642 .PHONY: maybe-clean-bash clean-bash
3645 maybe-clean-bash: clean-bash
3648 @[ -f ./bash/Makefile ] || exit 0; \
3649 r=`${PWD_COMMAND}`; export r; \
3650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3653 for flag in $(EXTRA_HOST_FLAGS) ; do \
3654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3656 echo "Doing clean in bash" ; \
3658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3660 "RANLIB=$${RANLIB}" \
3661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3667 .PHONY: maybe-distclean-bash distclean-bash
3668 maybe-distclean-bash:
3670 maybe-distclean-bash: distclean-bash
3673 @[ -f ./bash/Makefile ] || exit 0; \
3674 r=`${PWD_COMMAND}`; export r; \
3675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3678 for flag in $(EXTRA_HOST_FLAGS) ; do \
3679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3681 echo "Doing distclean in bash" ; \
3683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3685 "RANLIB=$${RANLIB}" \
3686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3692 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3693 maybe-maintainer-clean-bash:
3695 maybe-maintainer-clean-bash: maintainer-clean-bash
3697 maintainer-clean-bash:
3698 @[ -f ./bash/Makefile ] || exit 0; \
3699 r=`${PWD_COMMAND}`; export r; \
3700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3703 for flag in $(EXTRA_HOST_FLAGS) ; do \
3704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3706 echo "Doing maintainer-clean in bash" ; \
3708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3710 "RANLIB=$${RANLIB}" \
3711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3718 .PHONY: configure-bfd maybe-configure-bfd
3719 maybe-configure-bfd:
3721 maybe-configure-bfd: configure-bfd
3723 @test -f stage_last && exit 0; \
3724 test ! -f bfd/Makefile || exit 0; \
3725 [ -d bfd ] || mkdir bfd; \
3726 r=`${PWD_COMMAND}`; export r; \
3727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3729 echo Configuring in bfd; \
3733 srcdiroption="--srcdir=."; \
3735 /* | [A-Za-z]:[\\/]*) \
3736 srcdiroption="--srcdir=$(srcdir)/bfd"; \
3737 libsrcdir="$$s/bfd";; \
3739 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3740 libsrcdir="$$s/bfd";; \
3742 $(SHELL) $${libsrcdir}/configure \
3743 $(HOST_CONFIGARGS) $${srcdiroption} \
3747 .PHONY: all-bfd maybe-all-bfd
3750 maybe-all-bfd: all-bfd
3751 all-bfd: configure-bfd
3752 @test -f stage_last && exit 0; \
3753 r=`${PWD_COMMAND}`; export r; \
3754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3757 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) all)
3760 .PHONY: check-bfd maybe-check-bfd
3763 maybe-check-bfd: check-bfd
3766 @r=`${PWD_COMMAND}`; export r; \
3767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3770 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
3774 .PHONY: install-bfd maybe-install-bfd
3777 maybe-install-bfd: install-bfd
3779 install-bfd: installdirs
3780 @r=`${PWD_COMMAND}`; export r; \
3781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3784 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
3788 # Other targets (info, dvi, etc.)
3790 .PHONY: maybe-info-bfd info-bfd
3793 maybe-info-bfd: info-bfd
3797 @[ -f ./bfd/Makefile ] || exit 0; \
3798 r=`${PWD_COMMAND}`; export r; \
3799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3802 for flag in $(EXTRA_HOST_FLAGS) ; do \
3803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3805 echo "Doing info in bfd" ; \
3807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3809 "RANLIB=$${RANLIB}" \
3810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3816 .PHONY: maybe-dvi-bfd dvi-bfd
3819 maybe-dvi-bfd: dvi-bfd
3823 @[ -f ./bfd/Makefile ] || exit 0; \
3824 r=`${PWD_COMMAND}`; export r; \
3825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3828 for flag in $(EXTRA_HOST_FLAGS) ; do \
3829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3831 echo "Doing dvi in bfd" ; \
3833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3835 "RANLIB=$${RANLIB}" \
3836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3842 .PHONY: maybe-TAGS-bfd TAGS-bfd
3845 maybe-TAGS-bfd: TAGS-bfd
3849 @[ -f ./bfd/Makefile ] || exit 0; \
3850 r=`${PWD_COMMAND}`; export r; \
3851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3854 for flag in $(EXTRA_HOST_FLAGS) ; do \
3855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3857 echo "Doing TAGS in bfd" ; \
3859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3861 "RANLIB=$${RANLIB}" \
3862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3868 .PHONY: maybe-install-info-bfd install-info-bfd
3869 maybe-install-info-bfd:
3871 maybe-install-info-bfd: install-info-bfd
3876 @[ -f ./bfd/Makefile ] || exit 0; \
3877 r=`${PWD_COMMAND}`; export r; \
3878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3881 for flag in $(EXTRA_HOST_FLAGS) ; do \
3882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3884 echo "Doing install-info in bfd" ; \
3886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3888 "RANLIB=$${RANLIB}" \
3889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3895 .PHONY: maybe-installcheck-bfd installcheck-bfd
3896 maybe-installcheck-bfd:
3898 maybe-installcheck-bfd: installcheck-bfd
3902 @[ -f ./bfd/Makefile ] || exit 0; \
3903 r=`${PWD_COMMAND}`; export r; \
3904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3907 for flag in $(EXTRA_HOST_FLAGS) ; do \
3908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3910 echo "Doing installcheck in bfd" ; \
3912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3914 "RANLIB=$${RANLIB}" \
3915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3921 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3922 maybe-mostlyclean-bfd:
3924 maybe-mostlyclean-bfd: mostlyclean-bfd
3927 @[ -f ./bfd/Makefile ] || exit 0; \
3928 r=`${PWD_COMMAND}`; export r; \
3929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3932 for flag in $(EXTRA_HOST_FLAGS) ; do \
3933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3935 echo "Doing mostlyclean in bfd" ; \
3937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3939 "RANLIB=$${RANLIB}" \
3940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3946 .PHONY: maybe-clean-bfd clean-bfd
3949 maybe-clean-bfd: clean-bfd
3952 @[ -f ./bfd/Makefile ] || exit 0; \
3953 r=`${PWD_COMMAND}`; export r; \
3954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3957 for flag in $(EXTRA_HOST_FLAGS) ; do \
3958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3960 echo "Doing clean in bfd" ; \
3962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3964 "RANLIB=$${RANLIB}" \
3965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3971 .PHONY: maybe-distclean-bfd distclean-bfd
3972 maybe-distclean-bfd:
3974 maybe-distclean-bfd: distclean-bfd
3977 @[ -f ./bfd/Makefile ] || exit 0; \
3978 r=`${PWD_COMMAND}`; export r; \
3979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3982 for flag in $(EXTRA_HOST_FLAGS) ; do \
3983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3985 echo "Doing distclean in bfd" ; \
3987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3989 "RANLIB=$${RANLIB}" \
3990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3996 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3997 maybe-maintainer-clean-bfd:
3999 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4001 maintainer-clean-bfd:
4002 @[ -f ./bfd/Makefile ] || exit 0; \
4003 r=`${PWD_COMMAND}`; export r; \
4004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4007 for flag in $(EXTRA_HOST_FLAGS) ; do \
4008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4010 echo "Doing maintainer-clean in bfd" ; \
4012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4014 "RANLIB=$${RANLIB}" \
4015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4022 .PHONY: configure-opcodes maybe-configure-opcodes
4023 maybe-configure-opcodes:
4025 maybe-configure-opcodes: configure-opcodes
4027 @test -f stage_last && exit 0; \
4028 test ! -f opcodes/Makefile || exit 0; \
4029 [ -d opcodes ] || mkdir opcodes; \
4030 r=`${PWD_COMMAND}`; export r; \
4031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4033 echo Configuring in opcodes; \
4034 cd opcodes || exit 1; \
4037 srcdiroption="--srcdir=."; \
4039 /* | [A-Za-z]:[\\/]*) \
4040 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
4041 libsrcdir="$$s/opcodes";; \
4043 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
4044 libsrcdir="$$s/opcodes";; \
4046 $(SHELL) $${libsrcdir}/configure \
4047 $(HOST_CONFIGARGS) $${srcdiroption} \
4051 .PHONY: all-opcodes maybe-all-opcodes
4054 maybe-all-opcodes: all-opcodes
4055 all-opcodes: configure-opcodes
4056 @test -f stage_last && exit 0; \
4057 r=`${PWD_COMMAND}`; export r; \
4058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4061 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) all)
4064 .PHONY: check-opcodes maybe-check-opcodes
4065 maybe-check-opcodes:
4067 maybe-check-opcodes: check-opcodes
4070 @r=`${PWD_COMMAND}`; export r; \
4071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4074 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
4078 .PHONY: install-opcodes maybe-install-opcodes
4079 maybe-install-opcodes:
4081 maybe-install-opcodes: install-opcodes
4083 install-opcodes: installdirs
4084 @r=`${PWD_COMMAND}`; export r; \
4085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4088 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
4092 # Other targets (info, dvi, etc.)
4094 .PHONY: maybe-info-opcodes info-opcodes
4097 maybe-info-opcodes: info-opcodes
4101 @[ -f ./opcodes/Makefile ] || exit 0; \
4102 r=`${PWD_COMMAND}`; export r; \
4103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4106 for flag in $(EXTRA_HOST_FLAGS) ; do \
4107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4109 echo "Doing info in opcodes" ; \
4111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4113 "RANLIB=$${RANLIB}" \
4114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4120 .PHONY: maybe-dvi-opcodes dvi-opcodes
4123 maybe-dvi-opcodes: dvi-opcodes
4127 @[ -f ./opcodes/Makefile ] || exit 0; \
4128 r=`${PWD_COMMAND}`; export r; \
4129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4132 for flag in $(EXTRA_HOST_FLAGS) ; do \
4133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4135 echo "Doing dvi in opcodes" ; \
4137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4139 "RANLIB=$${RANLIB}" \
4140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4146 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4149 maybe-TAGS-opcodes: TAGS-opcodes
4153 @[ -f ./opcodes/Makefile ] || exit 0; \
4154 r=`${PWD_COMMAND}`; export r; \
4155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4158 for flag in $(EXTRA_HOST_FLAGS) ; do \
4159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4161 echo "Doing TAGS in opcodes" ; \
4163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4165 "RANLIB=$${RANLIB}" \
4166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4172 .PHONY: maybe-install-info-opcodes install-info-opcodes
4173 maybe-install-info-opcodes:
4175 maybe-install-info-opcodes: install-info-opcodes
4177 install-info-opcodes: \
4180 @[ -f ./opcodes/Makefile ] || exit 0; \
4181 r=`${PWD_COMMAND}`; export r; \
4182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4185 for flag in $(EXTRA_HOST_FLAGS) ; do \
4186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4188 echo "Doing install-info in opcodes" ; \
4190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4192 "RANLIB=$${RANLIB}" \
4193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4199 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4200 maybe-installcheck-opcodes:
4202 maybe-installcheck-opcodes: installcheck-opcodes
4204 installcheck-opcodes: \
4206 @[ -f ./opcodes/Makefile ] || exit 0; \
4207 r=`${PWD_COMMAND}`; export r; \
4208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4211 for flag in $(EXTRA_HOST_FLAGS) ; do \
4212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4214 echo "Doing installcheck in opcodes" ; \
4216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4218 "RANLIB=$${RANLIB}" \
4219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4225 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4226 maybe-mostlyclean-opcodes:
4228 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4230 mostlyclean-opcodes:
4231 @[ -f ./opcodes/Makefile ] || exit 0; \
4232 r=`${PWD_COMMAND}`; export r; \
4233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4236 for flag in $(EXTRA_HOST_FLAGS) ; do \
4237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4239 echo "Doing mostlyclean in opcodes" ; \
4241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4243 "RANLIB=$${RANLIB}" \
4244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4250 .PHONY: maybe-clean-opcodes clean-opcodes
4251 maybe-clean-opcodes:
4253 maybe-clean-opcodes: clean-opcodes
4256 @[ -f ./opcodes/Makefile ] || exit 0; \
4257 r=`${PWD_COMMAND}`; export r; \
4258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4261 for flag in $(EXTRA_HOST_FLAGS) ; do \
4262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4264 echo "Doing clean in opcodes" ; \
4266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4268 "RANLIB=$${RANLIB}" \
4269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4275 .PHONY: maybe-distclean-opcodes distclean-opcodes
4276 maybe-distclean-opcodes:
4278 maybe-distclean-opcodes: distclean-opcodes
4281 @[ -f ./opcodes/Makefile ] || exit 0; \
4282 r=`${PWD_COMMAND}`; export r; \
4283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4286 for flag in $(EXTRA_HOST_FLAGS) ; do \
4287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4289 echo "Doing distclean in opcodes" ; \
4291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4293 "RANLIB=$${RANLIB}" \
4294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4300 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4301 maybe-maintainer-clean-opcodes:
4303 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4305 maintainer-clean-opcodes:
4306 @[ -f ./opcodes/Makefile ] || exit 0; \
4307 r=`${PWD_COMMAND}`; export r; \
4308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4311 for flag in $(EXTRA_HOST_FLAGS) ; do \
4312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4314 echo "Doing maintainer-clean in opcodes" ; \
4316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4318 "RANLIB=$${RANLIB}" \
4319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4326 .PHONY: configure-binutils maybe-configure-binutils
4327 maybe-configure-binutils:
4329 maybe-configure-binutils: configure-binutils
4331 @test -f stage_last && exit 0; \
4332 test ! -f binutils/Makefile || exit 0; \
4333 [ -d binutils ] || mkdir binutils; \
4334 r=`${PWD_COMMAND}`; export r; \
4335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4337 echo Configuring in binutils; \
4338 cd binutils || exit 1; \
4341 srcdiroption="--srcdir=."; \
4343 /* | [A-Za-z]:[\\/]*) \
4344 srcdiroption="--srcdir=$(srcdir)/binutils"; \
4345 libsrcdir="$$s/binutils";; \
4347 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
4348 libsrcdir="$$s/binutils";; \
4350 $(SHELL) $${libsrcdir}/configure \
4351 $(HOST_CONFIGARGS) $${srcdiroption} \
4355 .PHONY: all-binutils maybe-all-binutils
4358 maybe-all-binutils: all-binutils
4359 all-binutils: configure-binutils
4360 @test -f stage_last && exit 0; \
4361 r=`${PWD_COMMAND}`; export r; \
4362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4365 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) all)
4368 .PHONY: check-binutils maybe-check-binutils
4369 maybe-check-binutils:
4371 maybe-check-binutils: check-binutils
4374 @r=`${PWD_COMMAND}`; export r; \
4375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4378 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
4382 .PHONY: install-binutils maybe-install-binutils
4383 maybe-install-binutils:
4385 maybe-install-binutils: install-binutils
4387 install-binutils: installdirs
4388 @r=`${PWD_COMMAND}`; export r; \
4389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4392 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
4396 # Other targets (info, dvi, etc.)
4398 .PHONY: maybe-info-binutils info-binutils
4399 maybe-info-binutils:
4401 maybe-info-binutils: info-binutils
4405 @[ -f ./binutils/Makefile ] || exit 0; \
4406 r=`${PWD_COMMAND}`; export r; \
4407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4410 for flag in $(EXTRA_HOST_FLAGS) ; do \
4411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4413 echo "Doing info in binutils" ; \
4415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4417 "RANLIB=$${RANLIB}" \
4418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4424 .PHONY: maybe-dvi-binutils dvi-binutils
4427 maybe-dvi-binutils: dvi-binutils
4431 @[ -f ./binutils/Makefile ] || exit 0; \
4432 r=`${PWD_COMMAND}`; export r; \
4433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4436 for flag in $(EXTRA_HOST_FLAGS) ; do \
4437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4439 echo "Doing dvi in binutils" ; \
4441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4443 "RANLIB=$${RANLIB}" \
4444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4450 .PHONY: maybe-TAGS-binutils TAGS-binutils
4451 maybe-TAGS-binutils:
4453 maybe-TAGS-binutils: TAGS-binutils
4457 @[ -f ./binutils/Makefile ] || exit 0; \
4458 r=`${PWD_COMMAND}`; export r; \
4459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4462 for flag in $(EXTRA_HOST_FLAGS) ; do \
4463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4465 echo "Doing TAGS in binutils" ; \
4467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4469 "RANLIB=$${RANLIB}" \
4470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4476 .PHONY: maybe-install-info-binutils install-info-binutils
4477 maybe-install-info-binutils:
4479 maybe-install-info-binutils: install-info-binutils
4481 install-info-binutils: \
4482 configure-binutils \
4484 @[ -f ./binutils/Makefile ] || exit 0; \
4485 r=`${PWD_COMMAND}`; export r; \
4486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4489 for flag in $(EXTRA_HOST_FLAGS) ; do \
4490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4492 echo "Doing install-info in binutils" ; \
4494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4496 "RANLIB=$${RANLIB}" \
4497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4503 .PHONY: maybe-installcheck-binutils installcheck-binutils
4504 maybe-installcheck-binutils:
4506 maybe-installcheck-binutils: installcheck-binutils
4508 installcheck-binutils: \
4510 @[ -f ./binutils/Makefile ] || exit 0; \
4511 r=`${PWD_COMMAND}`; export r; \
4512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4515 for flag in $(EXTRA_HOST_FLAGS) ; do \
4516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4518 echo "Doing installcheck in binutils" ; \
4520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4522 "RANLIB=$${RANLIB}" \
4523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4529 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4530 maybe-mostlyclean-binutils:
4532 maybe-mostlyclean-binutils: mostlyclean-binutils
4534 mostlyclean-binutils:
4535 @[ -f ./binutils/Makefile ] || exit 0; \
4536 r=`${PWD_COMMAND}`; export r; \
4537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4540 for flag in $(EXTRA_HOST_FLAGS) ; do \
4541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4543 echo "Doing mostlyclean in binutils" ; \
4545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4547 "RANLIB=$${RANLIB}" \
4548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4554 .PHONY: maybe-clean-binutils clean-binutils
4555 maybe-clean-binutils:
4557 maybe-clean-binutils: clean-binutils
4560 @[ -f ./binutils/Makefile ] || exit 0; \
4561 r=`${PWD_COMMAND}`; export r; \
4562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4565 for flag in $(EXTRA_HOST_FLAGS) ; do \
4566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4568 echo "Doing clean in binutils" ; \
4570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4572 "RANLIB=$${RANLIB}" \
4573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4579 .PHONY: maybe-distclean-binutils distclean-binutils
4580 maybe-distclean-binutils:
4582 maybe-distclean-binutils: distclean-binutils
4585 @[ -f ./binutils/Makefile ] || exit 0; \
4586 r=`${PWD_COMMAND}`; export r; \
4587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4590 for flag in $(EXTRA_HOST_FLAGS) ; do \
4591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4593 echo "Doing distclean in binutils" ; \
4595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4597 "RANLIB=$${RANLIB}" \
4598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4604 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4605 maybe-maintainer-clean-binutils:
4607 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4609 maintainer-clean-binutils:
4610 @[ -f ./binutils/Makefile ] || exit 0; \
4611 r=`${PWD_COMMAND}`; export r; \
4612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4615 for flag in $(EXTRA_HOST_FLAGS) ; do \
4616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4618 echo "Doing maintainer-clean in binutils" ; \
4620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4622 "RANLIB=$${RANLIB}" \
4623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4630 .PHONY: configure-bison maybe-configure-bison
4631 maybe-configure-bison:
4633 maybe-configure-bison: configure-bison
4635 @test ! -f bison/Makefile || exit 0; \
4636 [ -d bison ] || mkdir bison; \
4637 r=`${PWD_COMMAND}`; export r; \
4638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4640 echo Configuring in bison; \
4641 cd bison || exit 1; \
4644 srcdiroption="--srcdir=."; \
4646 /* | [A-Za-z]:[\\/]*) \
4647 srcdiroption="--srcdir=$(srcdir)/bison"; \
4648 libsrcdir="$$s/bison";; \
4650 srcdiroption="--srcdir=../$(srcdir)/bison"; \
4651 libsrcdir="$$s/bison";; \
4653 $(SHELL) $${libsrcdir}/configure \
4654 $(HOST_CONFIGARGS) $${srcdiroption} \
4658 .PHONY: all-bison maybe-all-bison
4661 maybe-all-bison: all-bison
4662 all-bison: configure-bison
4663 @r=`${PWD_COMMAND}`; export r; \
4664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4667 (cd bison && $(MAKE) $(FLAGS_TO_PASS) all)
4670 .PHONY: check-bison maybe-check-bison
4673 maybe-check-bison: check-bison
4675 # This module is only tested in a native toolchain.
4677 @if [ '$(host)' = '$(target)' ] ; then \
4678 r=`${PWD_COMMAND}`; export r; \
4679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4682 (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
4687 .PHONY: install-bison maybe-install-bison
4688 maybe-install-bison:
4690 maybe-install-bison: install-bison
4692 install-bison: installdirs
4693 @r=`${PWD_COMMAND}`; export r; \
4694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4697 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
4701 # Other targets (info, dvi, etc.)
4703 .PHONY: maybe-info-bison info-bison
4706 maybe-info-bison: info-bison
4710 @[ -f ./bison/Makefile ] || exit 0; \
4711 r=`${PWD_COMMAND}`; export r; \
4712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4715 for flag in $(EXTRA_HOST_FLAGS) ; do \
4716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4718 echo "Doing info in bison" ; \
4720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4722 "RANLIB=$${RANLIB}" \
4723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4729 .PHONY: maybe-dvi-bison dvi-bison
4732 maybe-dvi-bison: dvi-bison
4736 @[ -f ./bison/Makefile ] || exit 0; \
4737 r=`${PWD_COMMAND}`; export r; \
4738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4741 for flag in $(EXTRA_HOST_FLAGS) ; do \
4742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4744 echo "Doing dvi in bison" ; \
4746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4748 "RANLIB=$${RANLIB}" \
4749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4755 .PHONY: maybe-TAGS-bison TAGS-bison
4758 maybe-TAGS-bison: TAGS-bison
4762 @[ -f ./bison/Makefile ] || exit 0; \
4763 r=`${PWD_COMMAND}`; export r; \
4764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4767 for flag in $(EXTRA_HOST_FLAGS) ; do \
4768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4770 echo "Doing TAGS in bison" ; \
4772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4774 "RANLIB=$${RANLIB}" \
4775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4781 .PHONY: maybe-install-info-bison install-info-bison
4782 maybe-install-info-bison:
4784 maybe-install-info-bison: install-info-bison
4786 install-info-bison: \
4789 @[ -f ./bison/Makefile ] || exit 0; \
4790 r=`${PWD_COMMAND}`; export r; \
4791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4794 for flag in $(EXTRA_HOST_FLAGS) ; do \
4795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4797 echo "Doing install-info in bison" ; \
4799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4801 "RANLIB=$${RANLIB}" \
4802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4808 .PHONY: maybe-installcheck-bison installcheck-bison
4809 maybe-installcheck-bison:
4811 maybe-installcheck-bison: installcheck-bison
4813 installcheck-bison: \
4815 @[ -f ./bison/Makefile ] || exit 0; \
4816 r=`${PWD_COMMAND}`; export r; \
4817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4820 for flag in $(EXTRA_HOST_FLAGS) ; do \
4821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4823 echo "Doing installcheck in bison" ; \
4825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4827 "RANLIB=$${RANLIB}" \
4828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4834 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
4835 maybe-mostlyclean-bison:
4837 maybe-mostlyclean-bison: mostlyclean-bison
4840 @[ -f ./bison/Makefile ] || exit 0; \
4841 r=`${PWD_COMMAND}`; export r; \
4842 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 mostlyclean in bison" ; \
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}" \
4859 .PHONY: maybe-clean-bison clean-bison
4862 maybe-clean-bison: clean-bison
4865 @[ -f ./bison/Makefile ] || exit 0; \
4866 r=`${PWD_COMMAND}`; export r; \
4867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4870 for flag in $(EXTRA_HOST_FLAGS) ; do \
4871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4873 echo "Doing clean in bison" ; \
4875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4877 "RANLIB=$${RANLIB}" \
4878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4884 .PHONY: maybe-distclean-bison distclean-bison
4885 maybe-distclean-bison:
4887 maybe-distclean-bison: distclean-bison
4890 @[ -f ./bison/Makefile ] || exit 0; \
4891 r=`${PWD_COMMAND}`; export r; \
4892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4895 for flag in $(EXTRA_HOST_FLAGS) ; do \
4896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4898 echo "Doing distclean in bison" ; \
4900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4902 "RANLIB=$${RANLIB}" \
4903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4909 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
4910 maybe-maintainer-clean-bison:
4912 maybe-maintainer-clean-bison: maintainer-clean-bison
4914 maintainer-clean-bison:
4915 @[ -f ./bison/Makefile ] || exit 0; \
4916 r=`${PWD_COMMAND}`; export r; \
4917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4920 for flag in $(EXTRA_HOST_FLAGS) ; do \
4921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4923 echo "Doing maintainer-clean in bison" ; \
4925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4927 "RANLIB=$${RANLIB}" \
4928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4935 .PHONY: configure-byacc maybe-configure-byacc
4936 maybe-configure-byacc:
4938 maybe-configure-byacc: configure-byacc
4940 @test ! -f byacc/Makefile || exit 0; \
4941 [ -d byacc ] || mkdir byacc; \
4942 r=`${PWD_COMMAND}`; export r; \
4943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4945 echo Configuring in byacc; \
4946 cd byacc || exit 1; \
4949 srcdiroption="--srcdir=."; \
4951 /* | [A-Za-z]:[\\/]*) \
4952 srcdiroption="--srcdir=$(srcdir)/byacc"; \
4953 libsrcdir="$$s/byacc";; \
4955 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
4956 libsrcdir="$$s/byacc";; \
4958 $(SHELL) $${libsrcdir}/configure \
4959 $(HOST_CONFIGARGS) $${srcdiroption} \
4963 .PHONY: all-byacc maybe-all-byacc
4966 maybe-all-byacc: all-byacc
4967 all-byacc: configure-byacc
4968 @r=`${PWD_COMMAND}`; export r; \
4969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4972 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) all)
4975 .PHONY: check-byacc maybe-check-byacc
4978 maybe-check-byacc: check-byacc
4980 # This module is only tested in a native toolchain.
4982 @if [ '$(host)' = '$(target)' ] ; then \
4983 r=`${PWD_COMMAND}`; export r; \
4984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4987 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \
4992 .PHONY: install-byacc maybe-install-byacc
4993 maybe-install-byacc:
4995 maybe-install-byacc: install-byacc
4997 install-byacc: installdirs
4998 @r=`${PWD_COMMAND}`; export r; \
4999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5002 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
5006 # Other targets (info, dvi, etc.)
5008 .PHONY: maybe-info-byacc info-byacc
5011 maybe-info-byacc: info-byacc
5015 @[ -f ./byacc/Makefile ] || exit 0; \
5016 r=`${PWD_COMMAND}`; export r; \
5017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5020 for flag in $(EXTRA_HOST_FLAGS) ; do \
5021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5023 echo "Doing info in byacc" ; \
5025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5027 "RANLIB=$${RANLIB}" \
5028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5034 .PHONY: maybe-dvi-byacc dvi-byacc
5037 maybe-dvi-byacc: dvi-byacc
5041 @[ -f ./byacc/Makefile ] || exit 0; \
5042 r=`${PWD_COMMAND}`; export r; \
5043 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 dvi in byacc" ; \
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}" \
5060 .PHONY: maybe-TAGS-byacc TAGS-byacc
5063 maybe-TAGS-byacc: TAGS-byacc
5067 @[ -f ./byacc/Makefile ] || exit 0; \
5068 r=`${PWD_COMMAND}`; export r; \
5069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5072 for flag in $(EXTRA_HOST_FLAGS) ; do \
5073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5075 echo "Doing TAGS in byacc" ; \
5077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5079 "RANLIB=$${RANLIB}" \
5080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5086 .PHONY: maybe-install-info-byacc install-info-byacc
5087 maybe-install-info-byacc:
5089 maybe-install-info-byacc: install-info-byacc
5091 install-info-byacc: \
5094 @[ -f ./byacc/Makefile ] || exit 0; \
5095 r=`${PWD_COMMAND}`; export r; \
5096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5099 for flag in $(EXTRA_HOST_FLAGS) ; do \
5100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5102 echo "Doing install-info in byacc" ; \
5104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5106 "RANLIB=$${RANLIB}" \
5107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5113 .PHONY: maybe-installcheck-byacc installcheck-byacc
5114 maybe-installcheck-byacc:
5116 maybe-installcheck-byacc: installcheck-byacc
5118 installcheck-byacc: \
5120 @[ -f ./byacc/Makefile ] || exit 0; \
5121 r=`${PWD_COMMAND}`; export r; \
5122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5125 for flag in $(EXTRA_HOST_FLAGS) ; do \
5126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5128 echo "Doing installcheck in byacc" ; \
5130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5132 "RANLIB=$${RANLIB}" \
5133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5139 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
5140 maybe-mostlyclean-byacc:
5142 maybe-mostlyclean-byacc: mostlyclean-byacc
5145 @[ -f ./byacc/Makefile ] || exit 0; \
5146 r=`${PWD_COMMAND}`; export r; \
5147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5150 for flag in $(EXTRA_HOST_FLAGS) ; do \
5151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5153 echo "Doing mostlyclean in byacc" ; \
5155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5157 "RANLIB=$${RANLIB}" \
5158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5164 .PHONY: maybe-clean-byacc clean-byacc
5167 maybe-clean-byacc: clean-byacc
5170 @[ -f ./byacc/Makefile ] || exit 0; \
5171 r=`${PWD_COMMAND}`; export r; \
5172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5175 for flag in $(EXTRA_HOST_FLAGS) ; do \
5176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5178 echo "Doing clean in byacc" ; \
5180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5182 "RANLIB=$${RANLIB}" \
5183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5189 .PHONY: maybe-distclean-byacc distclean-byacc
5190 maybe-distclean-byacc:
5192 maybe-distclean-byacc: distclean-byacc
5195 @[ -f ./byacc/Makefile ] || exit 0; \
5196 r=`${PWD_COMMAND}`; export r; \
5197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5200 for flag in $(EXTRA_HOST_FLAGS) ; do \
5201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5203 echo "Doing distclean in byacc" ; \
5205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5207 "RANLIB=$${RANLIB}" \
5208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5214 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
5215 maybe-maintainer-clean-byacc:
5217 maybe-maintainer-clean-byacc: maintainer-clean-byacc
5219 maintainer-clean-byacc:
5220 @[ -f ./byacc/Makefile ] || exit 0; \
5221 r=`${PWD_COMMAND}`; export r; \
5222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5225 for flag in $(EXTRA_HOST_FLAGS) ; do \
5226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5228 echo "Doing maintainer-clean in byacc" ; \
5230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5232 "RANLIB=$${RANLIB}" \
5233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5240 .PHONY: configure-bzip2 maybe-configure-bzip2
5241 maybe-configure-bzip2:
5243 maybe-configure-bzip2: configure-bzip2
5245 @test ! -f bzip2/Makefile || exit 0; \
5246 [ -d bzip2 ] || mkdir bzip2; \
5247 r=`${PWD_COMMAND}`; export r; \
5248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5250 echo Configuring in bzip2; \
5251 cd bzip2 || exit 1; \
5254 srcdiroption="--srcdir=."; \
5256 /* | [A-Za-z]:[\\/]*) \
5257 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
5258 libsrcdir="$$s/bzip2";; \
5260 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
5261 libsrcdir="$$s/bzip2";; \
5263 $(SHELL) $${libsrcdir}/configure \
5264 $(HOST_CONFIGARGS) $${srcdiroption} \
5268 .PHONY: all-bzip2 maybe-all-bzip2
5271 maybe-all-bzip2: all-bzip2
5272 all-bzip2: configure-bzip2
5273 @r=`${PWD_COMMAND}`; export r; \
5274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5277 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) all)
5280 .PHONY: check-bzip2 maybe-check-bzip2
5283 maybe-check-bzip2: check-bzip2
5286 @r=`${PWD_COMMAND}`; export r; \
5287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5290 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
5294 .PHONY: install-bzip2 maybe-install-bzip2
5295 maybe-install-bzip2:
5297 maybe-install-bzip2: install-bzip2
5299 install-bzip2: installdirs
5300 @r=`${PWD_COMMAND}`; export r; \
5301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5304 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
5308 # Other targets (info, dvi, etc.)
5310 .PHONY: maybe-info-bzip2 info-bzip2
5313 maybe-info-bzip2: info-bzip2
5317 @[ -f ./bzip2/Makefile ] || exit 0; \
5318 r=`${PWD_COMMAND}`; export r; \
5319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5322 for flag in $(EXTRA_HOST_FLAGS) ; do \
5323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5325 echo "Doing info in bzip2" ; \
5327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5329 "RANLIB=$${RANLIB}" \
5330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5336 .PHONY: maybe-dvi-bzip2 dvi-bzip2
5339 maybe-dvi-bzip2: dvi-bzip2
5343 @[ -f ./bzip2/Makefile ] || exit 0; \
5344 r=`${PWD_COMMAND}`; export r; \
5345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5348 for flag in $(EXTRA_HOST_FLAGS) ; do \
5349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5351 echo "Doing dvi in bzip2" ; \
5353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5355 "RANLIB=$${RANLIB}" \
5356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5362 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
5365 maybe-TAGS-bzip2: TAGS-bzip2
5369 @[ -f ./bzip2/Makefile ] || exit 0; \
5370 r=`${PWD_COMMAND}`; export r; \
5371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5374 for flag in $(EXTRA_HOST_FLAGS) ; do \
5375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5377 echo "Doing TAGS in bzip2" ; \
5379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5381 "RANLIB=$${RANLIB}" \
5382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5388 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5389 maybe-install-info-bzip2:
5391 maybe-install-info-bzip2: install-info-bzip2
5393 install-info-bzip2: \
5396 @[ -f ./bzip2/Makefile ] || exit 0; \
5397 r=`${PWD_COMMAND}`; export r; \
5398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5401 for flag in $(EXTRA_HOST_FLAGS) ; do \
5402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5404 echo "Doing install-info in bzip2" ; \
5406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5408 "RANLIB=$${RANLIB}" \
5409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5415 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5416 maybe-installcheck-bzip2:
5418 maybe-installcheck-bzip2: installcheck-bzip2
5420 installcheck-bzip2: \
5422 @[ -f ./bzip2/Makefile ] || exit 0; \
5423 r=`${PWD_COMMAND}`; export r; \
5424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5427 for flag in $(EXTRA_HOST_FLAGS) ; do \
5428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5430 echo "Doing installcheck in bzip2" ; \
5432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5434 "RANLIB=$${RANLIB}" \
5435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5441 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5442 maybe-mostlyclean-bzip2:
5444 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5447 @[ -f ./bzip2/Makefile ] || exit 0; \
5448 r=`${PWD_COMMAND}`; export r; \
5449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5452 for flag in $(EXTRA_HOST_FLAGS) ; do \
5453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5455 echo "Doing mostlyclean in bzip2" ; \
5457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5459 "RANLIB=$${RANLIB}" \
5460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5466 .PHONY: maybe-clean-bzip2 clean-bzip2
5469 maybe-clean-bzip2: clean-bzip2
5472 @[ -f ./bzip2/Makefile ] || exit 0; \
5473 r=`${PWD_COMMAND}`; export r; \
5474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5477 for flag in $(EXTRA_HOST_FLAGS) ; do \
5478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5480 echo "Doing clean in bzip2" ; \
5482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5484 "RANLIB=$${RANLIB}" \
5485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5491 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5492 maybe-distclean-bzip2:
5494 maybe-distclean-bzip2: distclean-bzip2
5497 @[ -f ./bzip2/Makefile ] || exit 0; \
5498 r=`${PWD_COMMAND}`; export r; \
5499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5502 for flag in $(EXTRA_HOST_FLAGS) ; do \
5503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5505 echo "Doing distclean in bzip2" ; \
5507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5509 "RANLIB=$${RANLIB}" \
5510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5516 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5517 maybe-maintainer-clean-bzip2:
5519 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5521 maintainer-clean-bzip2:
5522 @[ -f ./bzip2/Makefile ] || exit 0; \
5523 r=`${PWD_COMMAND}`; export r; \
5524 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 maintainer-clean in bzip2" ; \
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}" \
5542 .PHONY: configure-dejagnu maybe-configure-dejagnu
5543 maybe-configure-dejagnu:
5545 maybe-configure-dejagnu: configure-dejagnu
5547 @test ! -f dejagnu/Makefile || exit 0; \
5548 [ -d dejagnu ] || mkdir dejagnu; \
5549 r=`${PWD_COMMAND}`; export r; \
5550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5552 echo Configuring in dejagnu; \
5553 cd dejagnu || exit 1; \
5556 srcdiroption="--srcdir=."; \
5558 /* | [A-Za-z]:[\\/]*) \
5559 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
5560 libsrcdir="$$s/dejagnu";; \
5562 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
5563 libsrcdir="$$s/dejagnu";; \
5565 $(SHELL) $${libsrcdir}/configure \
5566 $(HOST_CONFIGARGS) $${srcdiroption} \
5570 .PHONY: all-dejagnu maybe-all-dejagnu
5573 maybe-all-dejagnu: all-dejagnu
5574 all-dejagnu: configure-dejagnu
5575 @r=`${PWD_COMMAND}`; export r; \
5576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5579 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) all)
5582 .PHONY: check-dejagnu maybe-check-dejagnu
5583 maybe-check-dejagnu:
5585 maybe-check-dejagnu: check-dejagnu
5588 @r=`${PWD_COMMAND}`; export r; \
5589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5592 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
5596 .PHONY: install-dejagnu maybe-install-dejagnu
5597 maybe-install-dejagnu:
5599 maybe-install-dejagnu: install-dejagnu
5601 install-dejagnu: installdirs
5602 @r=`${PWD_COMMAND}`; export r; \
5603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5606 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
5610 # Other targets (info, dvi, etc.)
5612 .PHONY: maybe-info-dejagnu info-dejagnu
5615 maybe-info-dejagnu: info-dejagnu
5619 @[ -f ./dejagnu/Makefile ] || exit 0; \
5620 r=`${PWD_COMMAND}`; export r; \
5621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5624 for flag in $(EXTRA_HOST_FLAGS) ; do \
5625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5627 echo "Doing info in dejagnu" ; \
5629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5631 "RANLIB=$${RANLIB}" \
5632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5638 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
5641 maybe-dvi-dejagnu: dvi-dejagnu
5645 @[ -f ./dejagnu/Makefile ] || exit 0; \
5646 r=`${PWD_COMMAND}`; export r; \
5647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5650 for flag in $(EXTRA_HOST_FLAGS) ; do \
5651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5653 echo "Doing dvi in dejagnu" ; \
5655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5657 "RANLIB=$${RANLIB}" \
5658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5664 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
5667 maybe-TAGS-dejagnu: TAGS-dejagnu
5671 @[ -f ./dejagnu/Makefile ] || exit 0; \
5672 r=`${PWD_COMMAND}`; export r; \
5673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5676 for flag in $(EXTRA_HOST_FLAGS) ; do \
5677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5679 echo "Doing TAGS in dejagnu" ; \
5681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5683 "RANLIB=$${RANLIB}" \
5684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5690 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
5691 maybe-install-info-dejagnu:
5693 maybe-install-info-dejagnu: install-info-dejagnu
5695 install-info-dejagnu: \
5698 @[ -f ./dejagnu/Makefile ] || exit 0; \
5699 r=`${PWD_COMMAND}`; export r; \
5700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5703 for flag in $(EXTRA_HOST_FLAGS) ; do \
5704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5706 echo "Doing install-info in dejagnu" ; \
5708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5710 "RANLIB=$${RANLIB}" \
5711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5717 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
5718 maybe-installcheck-dejagnu:
5720 maybe-installcheck-dejagnu: installcheck-dejagnu
5722 installcheck-dejagnu: \
5724 @[ -f ./dejagnu/Makefile ] || exit 0; \
5725 r=`${PWD_COMMAND}`; export r; \
5726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5729 for flag in $(EXTRA_HOST_FLAGS) ; do \
5730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5732 echo "Doing installcheck in dejagnu" ; \
5734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5736 "RANLIB=$${RANLIB}" \
5737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5743 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
5744 maybe-mostlyclean-dejagnu:
5746 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
5748 mostlyclean-dejagnu:
5749 @[ -f ./dejagnu/Makefile ] || exit 0; \
5750 r=`${PWD_COMMAND}`; export r; \
5751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5754 for flag in $(EXTRA_HOST_FLAGS) ; do \
5755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5757 echo "Doing mostlyclean in dejagnu" ; \
5759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5761 "RANLIB=$${RANLIB}" \
5762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5768 .PHONY: maybe-clean-dejagnu clean-dejagnu
5769 maybe-clean-dejagnu:
5771 maybe-clean-dejagnu: clean-dejagnu
5774 @[ -f ./dejagnu/Makefile ] || exit 0; \
5775 r=`${PWD_COMMAND}`; export r; \
5776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5779 for flag in $(EXTRA_HOST_FLAGS) ; do \
5780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5782 echo "Doing clean in dejagnu" ; \
5784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5786 "RANLIB=$${RANLIB}" \
5787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5793 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
5794 maybe-distclean-dejagnu:
5796 maybe-distclean-dejagnu: distclean-dejagnu
5799 @[ -f ./dejagnu/Makefile ] || exit 0; \
5800 r=`${PWD_COMMAND}`; export r; \
5801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5804 for flag in $(EXTRA_HOST_FLAGS) ; do \
5805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5807 echo "Doing distclean in dejagnu" ; \
5809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5811 "RANLIB=$${RANLIB}" \
5812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5818 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
5819 maybe-maintainer-clean-dejagnu:
5821 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
5823 maintainer-clean-dejagnu:
5824 @[ -f ./dejagnu/Makefile ] || exit 0; \
5825 r=`${PWD_COMMAND}`; export r; \
5826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5829 for flag in $(EXTRA_HOST_FLAGS) ; do \
5830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5832 echo "Doing maintainer-clean in dejagnu" ; \
5834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5836 "RANLIB=$${RANLIB}" \
5837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5844 .PHONY: configure-diff maybe-configure-diff
5845 maybe-configure-diff:
5847 maybe-configure-diff: configure-diff
5849 @test ! -f diff/Makefile || exit 0; \
5850 [ -d diff ] || mkdir diff; \
5851 r=`${PWD_COMMAND}`; export r; \
5852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5854 echo Configuring in diff; \
5855 cd diff || exit 1; \
5858 srcdiroption="--srcdir=."; \
5860 /* | [A-Za-z]:[\\/]*) \
5861 srcdiroption="--srcdir=$(srcdir)/diff"; \
5862 libsrcdir="$$s/diff";; \
5864 srcdiroption="--srcdir=../$(srcdir)/diff"; \
5865 libsrcdir="$$s/diff";; \
5867 $(SHELL) $${libsrcdir}/configure \
5868 $(HOST_CONFIGARGS) $${srcdiroption} \
5872 .PHONY: all-diff maybe-all-diff
5875 maybe-all-diff: all-diff
5876 all-diff: configure-diff
5877 @r=`${PWD_COMMAND}`; export r; \
5878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5881 (cd diff && $(MAKE) $(FLAGS_TO_PASS) all)
5884 .PHONY: check-diff maybe-check-diff
5887 maybe-check-diff: check-diff
5890 @r=`${PWD_COMMAND}`; export r; \
5891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5894 (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
5898 .PHONY: install-diff maybe-install-diff
5901 maybe-install-diff: install-diff
5903 install-diff: installdirs
5904 @r=`${PWD_COMMAND}`; export r; \
5905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5908 (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
5912 # Other targets (info, dvi, etc.)
5914 .PHONY: maybe-info-diff info-diff
5917 maybe-info-diff: info-diff
5921 @[ -f ./diff/Makefile ] || exit 0; \
5922 r=`${PWD_COMMAND}`; export r; \
5923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5926 for flag in $(EXTRA_HOST_FLAGS) ; do \
5927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5929 echo "Doing info in diff" ; \
5931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5933 "RANLIB=$${RANLIB}" \
5934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5940 .PHONY: maybe-dvi-diff dvi-diff
5943 maybe-dvi-diff: dvi-diff
5947 @[ -f ./diff/Makefile ] || exit 0; \
5948 r=`${PWD_COMMAND}`; export r; \
5949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5952 for flag in $(EXTRA_HOST_FLAGS) ; do \
5953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5955 echo "Doing dvi in diff" ; \
5957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5959 "RANLIB=$${RANLIB}" \
5960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5966 .PHONY: maybe-TAGS-diff TAGS-diff
5969 maybe-TAGS-diff: TAGS-diff
5973 @[ -f ./diff/Makefile ] || exit 0; \
5974 r=`${PWD_COMMAND}`; export r; \
5975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5978 for flag in $(EXTRA_HOST_FLAGS) ; do \
5979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5981 echo "Doing TAGS in diff" ; \
5983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5985 "RANLIB=$${RANLIB}" \
5986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5992 .PHONY: maybe-install-info-diff install-info-diff
5993 maybe-install-info-diff:
5995 maybe-install-info-diff: install-info-diff
5997 install-info-diff: \
6000 @[ -f ./diff/Makefile ] || exit 0; \
6001 r=`${PWD_COMMAND}`; export r; \
6002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6005 for flag in $(EXTRA_HOST_FLAGS) ; do \
6006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6008 echo "Doing install-info in diff" ; \
6010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6012 "RANLIB=$${RANLIB}" \
6013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6019 .PHONY: maybe-installcheck-diff installcheck-diff
6020 maybe-installcheck-diff:
6022 maybe-installcheck-diff: installcheck-diff
6024 installcheck-diff: \
6026 @[ -f ./diff/Makefile ] || exit 0; \
6027 r=`${PWD_COMMAND}`; export r; \
6028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6031 for flag in $(EXTRA_HOST_FLAGS) ; do \
6032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6034 echo "Doing installcheck in diff" ; \
6036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6038 "RANLIB=$${RANLIB}" \
6039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6045 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
6046 maybe-mostlyclean-diff:
6048 maybe-mostlyclean-diff: mostlyclean-diff
6051 @[ -f ./diff/Makefile ] || exit 0; \
6052 r=`${PWD_COMMAND}`; export r; \
6053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6056 for flag in $(EXTRA_HOST_FLAGS) ; do \
6057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6059 echo "Doing mostlyclean in diff" ; \
6061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6063 "RANLIB=$${RANLIB}" \
6064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6070 .PHONY: maybe-clean-diff clean-diff
6073 maybe-clean-diff: clean-diff
6076 @[ -f ./diff/Makefile ] || exit 0; \
6077 r=`${PWD_COMMAND}`; export r; \
6078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6081 for flag in $(EXTRA_HOST_FLAGS) ; do \
6082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6084 echo "Doing clean in diff" ; \
6086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6088 "RANLIB=$${RANLIB}" \
6089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6095 .PHONY: maybe-distclean-diff distclean-diff
6096 maybe-distclean-diff:
6098 maybe-distclean-diff: distclean-diff
6101 @[ -f ./diff/Makefile ] || exit 0; \
6102 r=`${PWD_COMMAND}`; export r; \
6103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6106 for flag in $(EXTRA_HOST_FLAGS) ; do \
6107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6109 echo "Doing distclean in diff" ; \
6111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6113 "RANLIB=$${RANLIB}" \
6114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6120 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
6121 maybe-maintainer-clean-diff:
6123 maybe-maintainer-clean-diff: maintainer-clean-diff
6125 maintainer-clean-diff:
6126 @[ -f ./diff/Makefile ] || exit 0; \
6127 r=`${PWD_COMMAND}`; export r; \
6128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6131 for flag in $(EXTRA_HOST_FLAGS) ; do \
6132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6134 echo "Doing maintainer-clean in diff" ; \
6136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6138 "RANLIB=$${RANLIB}" \
6139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6146 .PHONY: configure-dosutils maybe-configure-dosutils
6147 maybe-configure-dosutils:
6149 maybe-configure-dosutils: configure-dosutils
6151 @test ! -f dosutils/Makefile || exit 0; \
6152 [ -d dosutils ] || mkdir dosutils; \
6153 r=`${PWD_COMMAND}`; export r; \
6154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6156 echo Configuring in dosutils; \
6157 cd dosutils || exit 1; \
6160 srcdiroption="--srcdir=."; \
6162 /* | [A-Za-z]:[\\/]*) \
6163 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
6164 libsrcdir="$$s/dosutils";; \
6166 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
6167 libsrcdir="$$s/dosutils";; \
6169 $(SHELL) $${libsrcdir}/configure \
6170 $(HOST_CONFIGARGS) $${srcdiroption} \
6174 .PHONY: all-dosutils maybe-all-dosutils
6177 maybe-all-dosutils: all-dosutils
6178 all-dosutils: configure-dosutils
6179 @r=`${PWD_COMMAND}`; export r; \
6180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6183 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) all)
6186 .PHONY: check-dosutils maybe-check-dosutils
6187 maybe-check-dosutils:
6189 maybe-check-dosutils: check-dosutils
6195 .PHONY: install-dosutils maybe-install-dosutils
6196 maybe-install-dosutils:
6198 maybe-install-dosutils: install-dosutils
6200 install-dosutils: installdirs
6201 @r=`${PWD_COMMAND}`; export r; \
6202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6205 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
6209 # Other targets (info, dvi, etc.)
6211 .PHONY: maybe-info-dosutils info-dosutils
6212 maybe-info-dosutils:
6214 maybe-info-dosutils: info-dosutils
6218 @[ -f ./dosutils/Makefile ] || exit 0; \
6219 r=`${PWD_COMMAND}`; export r; \
6220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6223 for flag in $(EXTRA_HOST_FLAGS) ; do \
6224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6226 echo "Doing info in dosutils" ; \
6228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6230 "RANLIB=$${RANLIB}" \
6231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6237 .PHONY: maybe-dvi-dosutils dvi-dosutils
6240 maybe-dvi-dosutils: dvi-dosutils
6244 @[ -f ./dosutils/Makefile ] || exit 0; \
6245 r=`${PWD_COMMAND}`; export r; \
6246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6249 for flag in $(EXTRA_HOST_FLAGS) ; do \
6250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6252 echo "Doing dvi in dosutils" ; \
6254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6256 "RANLIB=$${RANLIB}" \
6257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6263 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
6264 maybe-TAGS-dosutils:
6266 maybe-TAGS-dosutils: TAGS-dosutils
6270 @[ -f ./dosutils/Makefile ] || exit 0; \
6271 r=`${PWD_COMMAND}`; export r; \
6272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6275 for flag in $(EXTRA_HOST_FLAGS) ; do \
6276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6278 echo "Doing TAGS in dosutils" ; \
6280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6282 "RANLIB=$${RANLIB}" \
6283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6289 .PHONY: maybe-install-info-dosutils install-info-dosutils
6290 maybe-install-info-dosutils:
6292 maybe-install-info-dosutils: install-info-dosutils
6294 install-info-dosutils: \
6295 configure-dosutils \
6297 @[ -f ./dosutils/Makefile ] || exit 0; \
6298 r=`${PWD_COMMAND}`; export r; \
6299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6302 for flag in $(EXTRA_HOST_FLAGS) ; do \
6303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6305 echo "Doing install-info in dosutils" ; \
6307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6309 "RANLIB=$${RANLIB}" \
6310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6316 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
6317 maybe-installcheck-dosutils:
6319 maybe-installcheck-dosutils: installcheck-dosutils
6321 installcheck-dosutils: \
6323 @[ -f ./dosutils/Makefile ] || exit 0; \
6324 r=`${PWD_COMMAND}`; export r; \
6325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6328 for flag in $(EXTRA_HOST_FLAGS) ; do \
6329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6331 echo "Doing installcheck in dosutils" ; \
6333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6335 "RANLIB=$${RANLIB}" \
6336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6342 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
6343 maybe-mostlyclean-dosutils:
6345 maybe-mostlyclean-dosutils: mostlyclean-dosutils
6347 mostlyclean-dosutils:
6348 @[ -f ./dosutils/Makefile ] || exit 0; \
6349 r=`${PWD_COMMAND}`; export r; \
6350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6353 for flag in $(EXTRA_HOST_FLAGS) ; do \
6354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6356 echo "Doing mostlyclean in dosutils" ; \
6358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6360 "RANLIB=$${RANLIB}" \
6361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6367 .PHONY: maybe-clean-dosutils clean-dosutils
6368 maybe-clean-dosutils:
6370 maybe-clean-dosutils: clean-dosutils
6373 @[ -f ./dosutils/Makefile ] || exit 0; \
6374 r=`${PWD_COMMAND}`; export r; \
6375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6378 for flag in $(EXTRA_HOST_FLAGS) ; do \
6379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6381 echo "Doing clean in dosutils" ; \
6383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6385 "RANLIB=$${RANLIB}" \
6386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6392 .PHONY: maybe-distclean-dosutils distclean-dosutils
6393 maybe-distclean-dosutils:
6395 maybe-distclean-dosutils: distclean-dosutils
6398 @[ -f ./dosutils/Makefile ] || exit 0; \
6399 r=`${PWD_COMMAND}`; export r; \
6400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6403 for flag in $(EXTRA_HOST_FLAGS) ; do \
6404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6406 echo "Doing distclean in dosutils" ; \
6408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6410 "RANLIB=$${RANLIB}" \
6411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6417 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6418 maybe-maintainer-clean-dosutils:
6420 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6422 maintainer-clean-dosutils:
6423 @[ -f ./dosutils/Makefile ] || exit 0; \
6424 r=`${PWD_COMMAND}`; export r; \
6425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6428 for flag in $(EXTRA_HOST_FLAGS) ; do \
6429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6431 echo "Doing maintainer-clean in dosutils" ; \
6433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6435 "RANLIB=$${RANLIB}" \
6436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6443 .PHONY: configure-etc maybe-configure-etc
6444 maybe-configure-etc:
6446 maybe-configure-etc: configure-etc
6448 @test ! -f etc/Makefile || exit 0; \
6449 [ -d etc ] || mkdir etc; \
6450 r=`${PWD_COMMAND}`; export r; \
6451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6453 echo Configuring in etc; \
6457 srcdiroption="--srcdir=."; \
6459 /* | [A-Za-z]:[\\/]*) \
6460 srcdiroption="--srcdir=$(srcdir)/etc"; \
6461 libsrcdir="$$s/etc";; \
6463 srcdiroption="--srcdir=../$(srcdir)/etc"; \
6464 libsrcdir="$$s/etc";; \
6466 $(SHELL) $${libsrcdir}/configure \
6467 $(HOST_CONFIGARGS) $${srcdiroption} \
6471 .PHONY: all-etc maybe-all-etc
6474 maybe-all-etc: all-etc
6475 all-etc: configure-etc
6476 @r=`${PWD_COMMAND}`; export r; \
6477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6480 (cd etc && $(MAKE) $(FLAGS_TO_PASS) all)
6483 .PHONY: check-etc maybe-check-etc
6486 maybe-check-etc: check-etc
6489 @r=`${PWD_COMMAND}`; export r; \
6490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6493 (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
6497 .PHONY: install-etc maybe-install-etc
6500 maybe-install-etc: install-etc
6502 install-etc: installdirs
6503 @r=`${PWD_COMMAND}`; export r; \
6504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6507 (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
6511 # Other targets (info, dvi, etc.)
6513 .PHONY: maybe-info-etc info-etc
6516 maybe-info-etc: info-etc
6520 @[ -f ./etc/Makefile ] || exit 0; \
6521 r=`${PWD_COMMAND}`; export r; \
6522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6525 for flag in $(EXTRA_HOST_FLAGS) ; do \
6526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6528 echo "Doing info in etc" ; \
6530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6532 "RANLIB=$${RANLIB}" \
6533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6539 .PHONY: maybe-dvi-etc dvi-etc
6542 maybe-dvi-etc: dvi-etc
6546 @[ -f ./etc/Makefile ] || exit 0; \
6547 r=`${PWD_COMMAND}`; export r; \
6548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6551 for flag in $(EXTRA_HOST_FLAGS) ; do \
6552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6554 echo "Doing dvi in etc" ; \
6556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6558 "RANLIB=$${RANLIB}" \
6559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6565 .PHONY: maybe-TAGS-etc TAGS-etc
6568 maybe-TAGS-etc: TAGS-etc
6572 @[ -f ./etc/Makefile ] || exit 0; \
6573 r=`${PWD_COMMAND}`; export r; \
6574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6577 for flag in $(EXTRA_HOST_FLAGS) ; do \
6578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6580 echo "Doing TAGS in etc" ; \
6582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6584 "RANLIB=$${RANLIB}" \
6585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6591 .PHONY: maybe-install-info-etc install-info-etc
6592 maybe-install-info-etc:
6594 maybe-install-info-etc: install-info-etc
6599 @[ -f ./etc/Makefile ] || exit 0; \
6600 r=`${PWD_COMMAND}`; export r; \
6601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6604 for flag in $(EXTRA_HOST_FLAGS) ; do \
6605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6607 echo "Doing install-info in etc" ; \
6609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6611 "RANLIB=$${RANLIB}" \
6612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6618 .PHONY: maybe-installcheck-etc installcheck-etc
6619 maybe-installcheck-etc:
6621 maybe-installcheck-etc: installcheck-etc
6625 @[ -f ./etc/Makefile ] || exit 0; \
6626 r=`${PWD_COMMAND}`; export r; \
6627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6630 for flag in $(EXTRA_HOST_FLAGS) ; do \
6631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6633 echo "Doing installcheck in etc" ; \
6635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6637 "RANLIB=$${RANLIB}" \
6638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6644 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
6645 maybe-mostlyclean-etc:
6647 maybe-mostlyclean-etc: mostlyclean-etc
6650 @[ -f ./etc/Makefile ] || exit 0; \
6651 r=`${PWD_COMMAND}`; export r; \
6652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6655 for flag in $(EXTRA_HOST_FLAGS) ; do \
6656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6658 echo "Doing mostlyclean in etc" ; \
6660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6662 "RANLIB=$${RANLIB}" \
6663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6669 .PHONY: maybe-clean-etc clean-etc
6672 maybe-clean-etc: clean-etc
6675 @[ -f ./etc/Makefile ] || exit 0; \
6676 r=`${PWD_COMMAND}`; export r; \
6677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6680 for flag in $(EXTRA_HOST_FLAGS) ; do \
6681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6683 echo "Doing clean in etc" ; \
6685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6687 "RANLIB=$${RANLIB}" \
6688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6694 .PHONY: maybe-distclean-etc distclean-etc
6695 maybe-distclean-etc:
6697 maybe-distclean-etc: distclean-etc
6700 @[ -f ./etc/Makefile ] || exit 0; \
6701 r=`${PWD_COMMAND}`; export r; \
6702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6705 for flag in $(EXTRA_HOST_FLAGS) ; do \
6706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6708 echo "Doing distclean in etc" ; \
6710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6712 "RANLIB=$${RANLIB}" \
6713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6719 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
6720 maybe-maintainer-clean-etc:
6722 maybe-maintainer-clean-etc: maintainer-clean-etc
6724 maintainer-clean-etc:
6725 @[ -f ./etc/Makefile ] || exit 0; \
6726 r=`${PWD_COMMAND}`; export r; \
6727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6730 for flag in $(EXTRA_HOST_FLAGS) ; do \
6731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6733 echo "Doing maintainer-clean in etc" ; \
6735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6737 "RANLIB=$${RANLIB}" \
6738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6745 .PHONY: configure-fastjar maybe-configure-fastjar
6746 maybe-configure-fastjar:
6748 maybe-configure-fastjar: configure-fastjar
6750 @test ! -f fastjar/Makefile || exit 0; \
6751 [ -d fastjar ] || mkdir fastjar; \
6752 r=`${PWD_COMMAND}`; export r; \
6753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6755 echo Configuring in fastjar; \
6756 cd fastjar || exit 1; \
6759 srcdiroption="--srcdir=."; \
6761 /* | [A-Za-z]:[\\/]*) \
6762 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
6763 libsrcdir="$$s/fastjar";; \
6765 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
6766 libsrcdir="$$s/fastjar";; \
6768 $(SHELL) $${libsrcdir}/configure \
6769 $(HOST_CONFIGARGS) $${srcdiroption} \
6773 .PHONY: all-fastjar maybe-all-fastjar
6776 maybe-all-fastjar: all-fastjar
6777 all-fastjar: configure-fastjar
6778 @r=`${PWD_COMMAND}`; export r; \
6779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6782 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) all)
6785 .PHONY: check-fastjar maybe-check-fastjar
6786 maybe-check-fastjar:
6788 maybe-check-fastjar: check-fastjar
6790 # This module is only tested in a native toolchain.
6792 @if [ '$(host)' = '$(target)' ] ; then \
6793 r=`${PWD_COMMAND}`; export r; \
6794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6797 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \
6802 .PHONY: install-fastjar maybe-install-fastjar
6803 maybe-install-fastjar:
6805 maybe-install-fastjar: install-fastjar
6807 install-fastjar: installdirs
6808 @r=`${PWD_COMMAND}`; export r; \
6809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6812 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
6816 # Other targets (info, dvi, etc.)
6818 .PHONY: maybe-info-fastjar info-fastjar
6821 maybe-info-fastjar: info-fastjar
6825 @[ -f ./fastjar/Makefile ] || exit 0; \
6826 r=`${PWD_COMMAND}`; export r; \
6827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6830 for flag in $(EXTRA_HOST_FLAGS) ; do \
6831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6833 echo "Doing info in fastjar" ; \
6835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6837 "RANLIB=$${RANLIB}" \
6838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6844 .PHONY: maybe-dvi-fastjar dvi-fastjar
6847 maybe-dvi-fastjar: dvi-fastjar
6851 @[ -f ./fastjar/Makefile ] || exit 0; \
6852 r=`${PWD_COMMAND}`; export r; \
6853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6856 for flag in $(EXTRA_HOST_FLAGS) ; do \
6857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6859 echo "Doing dvi in fastjar" ; \
6861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6863 "RANLIB=$${RANLIB}" \
6864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6870 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
6873 maybe-TAGS-fastjar: TAGS-fastjar
6877 @[ -f ./fastjar/Makefile ] || exit 0; \
6878 r=`${PWD_COMMAND}`; export r; \
6879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6882 for flag in $(EXTRA_HOST_FLAGS) ; do \
6883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6885 echo "Doing TAGS in fastjar" ; \
6887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6889 "RANLIB=$${RANLIB}" \
6890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6896 .PHONY: maybe-install-info-fastjar install-info-fastjar
6897 maybe-install-info-fastjar:
6899 maybe-install-info-fastjar: install-info-fastjar
6901 install-info-fastjar: \
6904 @[ -f ./fastjar/Makefile ] || exit 0; \
6905 r=`${PWD_COMMAND}`; export r; \
6906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6909 for flag in $(EXTRA_HOST_FLAGS) ; do \
6910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6912 echo "Doing install-info in fastjar" ; \
6914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6916 "RANLIB=$${RANLIB}" \
6917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6923 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
6924 maybe-installcheck-fastjar:
6926 maybe-installcheck-fastjar: installcheck-fastjar
6928 installcheck-fastjar: \
6930 @[ -f ./fastjar/Makefile ] || exit 0; \
6931 r=`${PWD_COMMAND}`; export r; \
6932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6935 for flag in $(EXTRA_HOST_FLAGS) ; do \
6936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6938 echo "Doing installcheck in fastjar" ; \
6940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6942 "RANLIB=$${RANLIB}" \
6943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6949 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
6950 maybe-mostlyclean-fastjar:
6952 maybe-mostlyclean-fastjar: mostlyclean-fastjar
6954 mostlyclean-fastjar:
6955 @[ -f ./fastjar/Makefile ] || exit 0; \
6956 r=`${PWD_COMMAND}`; export r; \
6957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6960 for flag in $(EXTRA_HOST_FLAGS) ; do \
6961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6963 echo "Doing mostlyclean in fastjar" ; \
6965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6967 "RANLIB=$${RANLIB}" \
6968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6974 .PHONY: maybe-clean-fastjar clean-fastjar
6975 maybe-clean-fastjar:
6977 maybe-clean-fastjar: clean-fastjar
6980 @[ -f ./fastjar/Makefile ] || exit 0; \
6981 r=`${PWD_COMMAND}`; export r; \
6982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6985 for flag in $(EXTRA_HOST_FLAGS) ; do \
6986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6988 echo "Doing clean in fastjar" ; \
6990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6992 "RANLIB=$${RANLIB}" \
6993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6999 .PHONY: maybe-distclean-fastjar distclean-fastjar
7000 maybe-distclean-fastjar:
7002 maybe-distclean-fastjar: distclean-fastjar
7005 @[ -f ./fastjar/Makefile ] || exit 0; \
7006 r=`${PWD_COMMAND}`; export r; \
7007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7010 for flag in $(EXTRA_HOST_FLAGS) ; do \
7011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7013 echo "Doing distclean in fastjar" ; \
7015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7017 "RANLIB=$${RANLIB}" \
7018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7024 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7025 maybe-maintainer-clean-fastjar:
7027 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7029 maintainer-clean-fastjar:
7030 @[ -f ./fastjar/Makefile ] || exit 0; \
7031 r=`${PWD_COMMAND}`; export r; \
7032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7035 for flag in $(EXTRA_HOST_FLAGS) ; do \
7036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7038 echo "Doing maintainer-clean in fastjar" ; \
7040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7042 "RANLIB=$${RANLIB}" \
7043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7050 .PHONY: configure-fileutils maybe-configure-fileutils
7051 maybe-configure-fileutils:
7053 maybe-configure-fileutils: configure-fileutils
7054 configure-fileutils:
7055 @test ! -f fileutils/Makefile || exit 0; \
7056 [ -d fileutils ] || mkdir fileutils; \
7057 r=`${PWD_COMMAND}`; export r; \
7058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7060 echo Configuring in fileutils; \
7061 cd fileutils || exit 1; \
7064 srcdiroption="--srcdir=."; \
7066 /* | [A-Za-z]:[\\/]*) \
7067 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
7068 libsrcdir="$$s/fileutils";; \
7070 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
7071 libsrcdir="$$s/fileutils";; \
7073 $(SHELL) $${libsrcdir}/configure \
7074 $(HOST_CONFIGARGS) $${srcdiroption} \
7078 .PHONY: all-fileutils maybe-all-fileutils
7079 maybe-all-fileutils:
7081 maybe-all-fileutils: all-fileutils
7082 all-fileutils: configure-fileutils
7083 @r=`${PWD_COMMAND}`; export r; \
7084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7087 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) all)
7090 .PHONY: check-fileutils maybe-check-fileutils
7091 maybe-check-fileutils:
7093 maybe-check-fileutils: check-fileutils
7096 @r=`${PWD_COMMAND}`; export r; \
7097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7100 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
7104 .PHONY: install-fileutils maybe-install-fileutils
7105 maybe-install-fileutils:
7107 maybe-install-fileutils: install-fileutils
7109 install-fileutils: installdirs
7110 @r=`${PWD_COMMAND}`; export r; \
7111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7114 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
7118 # Other targets (info, dvi, etc.)
7120 .PHONY: maybe-info-fileutils info-fileutils
7121 maybe-info-fileutils:
7123 maybe-info-fileutils: info-fileutils
7127 @[ -f ./fileutils/Makefile ] || exit 0; \
7128 r=`${PWD_COMMAND}`; export r; \
7129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7132 for flag in $(EXTRA_HOST_FLAGS) ; do \
7133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7135 echo "Doing info in fileutils" ; \
7137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7139 "RANLIB=$${RANLIB}" \
7140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7146 .PHONY: maybe-dvi-fileutils dvi-fileutils
7147 maybe-dvi-fileutils:
7149 maybe-dvi-fileutils: dvi-fileutils
7153 @[ -f ./fileutils/Makefile ] || exit 0; \
7154 r=`${PWD_COMMAND}`; export r; \
7155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7158 for flag in $(EXTRA_HOST_FLAGS) ; do \
7159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7161 echo "Doing dvi in fileutils" ; \
7163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7165 "RANLIB=$${RANLIB}" \
7166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7172 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
7173 maybe-TAGS-fileutils:
7175 maybe-TAGS-fileutils: TAGS-fileutils
7179 @[ -f ./fileutils/Makefile ] || exit 0; \
7180 r=`${PWD_COMMAND}`; export r; \
7181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7184 for flag in $(EXTRA_HOST_FLAGS) ; do \
7185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7187 echo "Doing TAGS in fileutils" ; \
7189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7191 "RANLIB=$${RANLIB}" \
7192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7198 .PHONY: maybe-install-info-fileutils install-info-fileutils
7199 maybe-install-info-fileutils:
7201 maybe-install-info-fileutils: install-info-fileutils
7203 install-info-fileutils: \
7204 configure-fileutils \
7206 @[ -f ./fileutils/Makefile ] || exit 0; \
7207 r=`${PWD_COMMAND}`; export r; \
7208 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 install-info in fileutils" ; \
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}" \
7225 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
7226 maybe-installcheck-fileutils:
7228 maybe-installcheck-fileutils: installcheck-fileutils
7230 installcheck-fileutils: \
7232 @[ -f ./fileutils/Makefile ] || exit 0; \
7233 r=`${PWD_COMMAND}`; export r; \
7234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7237 for flag in $(EXTRA_HOST_FLAGS) ; do \
7238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7240 echo "Doing installcheck in fileutils" ; \
7242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7244 "RANLIB=$${RANLIB}" \
7245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7251 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
7252 maybe-mostlyclean-fileutils:
7254 maybe-mostlyclean-fileutils: mostlyclean-fileutils
7256 mostlyclean-fileutils:
7257 @[ -f ./fileutils/Makefile ] || exit 0; \
7258 r=`${PWD_COMMAND}`; export r; \
7259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7262 for flag in $(EXTRA_HOST_FLAGS) ; do \
7263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7265 echo "Doing mostlyclean in fileutils" ; \
7267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7269 "RANLIB=$${RANLIB}" \
7270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7276 .PHONY: maybe-clean-fileutils clean-fileutils
7277 maybe-clean-fileutils:
7279 maybe-clean-fileutils: clean-fileutils
7282 @[ -f ./fileutils/Makefile ] || exit 0; \
7283 r=`${PWD_COMMAND}`; export r; \
7284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7287 for flag in $(EXTRA_HOST_FLAGS) ; do \
7288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7290 echo "Doing clean in fileutils" ; \
7292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7294 "RANLIB=$${RANLIB}" \
7295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7301 .PHONY: maybe-distclean-fileutils distclean-fileutils
7302 maybe-distclean-fileutils:
7304 maybe-distclean-fileutils: distclean-fileutils
7306 distclean-fileutils:
7307 @[ -f ./fileutils/Makefile ] || exit 0; \
7308 r=`${PWD_COMMAND}`; export r; \
7309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7312 for flag in $(EXTRA_HOST_FLAGS) ; do \
7313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7315 echo "Doing distclean in fileutils" ; \
7317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7319 "RANLIB=$${RANLIB}" \
7320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7326 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
7327 maybe-maintainer-clean-fileutils:
7329 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
7331 maintainer-clean-fileutils:
7332 @[ -f ./fileutils/Makefile ] || exit 0; \
7333 r=`${PWD_COMMAND}`; export r; \
7334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7337 for flag in $(EXTRA_HOST_FLAGS) ; do \
7338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7340 echo "Doing maintainer-clean in fileutils" ; \
7342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7344 "RANLIB=$${RANLIB}" \
7345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7352 .PHONY: configure-findutils maybe-configure-findutils
7353 maybe-configure-findutils:
7355 maybe-configure-findutils: configure-findutils
7356 configure-findutils:
7357 @test ! -f findutils/Makefile || exit 0; \
7358 [ -d findutils ] || mkdir findutils; \
7359 r=`${PWD_COMMAND}`; export r; \
7360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7362 echo Configuring in findutils; \
7363 cd findutils || exit 1; \
7366 srcdiroption="--srcdir=."; \
7368 /* | [A-Za-z]:[\\/]*) \
7369 srcdiroption="--srcdir=$(srcdir)/findutils"; \
7370 libsrcdir="$$s/findutils";; \
7372 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
7373 libsrcdir="$$s/findutils";; \
7375 $(SHELL) $${libsrcdir}/configure \
7376 $(HOST_CONFIGARGS) $${srcdiroption} \
7380 .PHONY: all-findutils maybe-all-findutils
7381 maybe-all-findutils:
7383 maybe-all-findutils: all-findutils
7384 all-findutils: configure-findutils
7385 @r=`${PWD_COMMAND}`; export r; \
7386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7389 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) all)
7392 .PHONY: check-findutils maybe-check-findutils
7393 maybe-check-findutils:
7395 maybe-check-findutils: check-findutils
7398 @r=`${PWD_COMMAND}`; export r; \
7399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7402 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
7406 .PHONY: install-findutils maybe-install-findutils
7407 maybe-install-findutils:
7409 maybe-install-findutils: install-findutils
7411 install-findutils: installdirs
7412 @r=`${PWD_COMMAND}`; export r; \
7413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7416 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
7420 # Other targets (info, dvi, etc.)
7422 .PHONY: maybe-info-findutils info-findutils
7423 maybe-info-findutils:
7425 maybe-info-findutils: info-findutils
7429 @[ -f ./findutils/Makefile ] || exit 0; \
7430 r=`${PWD_COMMAND}`; export r; \
7431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7434 for flag in $(EXTRA_HOST_FLAGS) ; do \
7435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7437 echo "Doing info in findutils" ; \
7439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7441 "RANLIB=$${RANLIB}" \
7442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7448 .PHONY: maybe-dvi-findutils dvi-findutils
7449 maybe-dvi-findutils:
7451 maybe-dvi-findutils: dvi-findutils
7455 @[ -f ./findutils/Makefile ] || exit 0; \
7456 r=`${PWD_COMMAND}`; export r; \
7457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7460 for flag in $(EXTRA_HOST_FLAGS) ; do \
7461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7463 echo "Doing dvi in findutils" ; \
7465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7467 "RANLIB=$${RANLIB}" \
7468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7474 .PHONY: maybe-TAGS-findutils TAGS-findutils
7475 maybe-TAGS-findutils:
7477 maybe-TAGS-findutils: TAGS-findutils
7481 @[ -f ./findutils/Makefile ] || exit 0; \
7482 r=`${PWD_COMMAND}`; export r; \
7483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7486 for flag in $(EXTRA_HOST_FLAGS) ; do \
7487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7489 echo "Doing TAGS in findutils" ; \
7491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7493 "RANLIB=$${RANLIB}" \
7494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7500 .PHONY: maybe-install-info-findutils install-info-findutils
7501 maybe-install-info-findutils:
7503 maybe-install-info-findutils: install-info-findutils
7505 install-info-findutils: \
7506 configure-findutils \
7508 @[ -f ./findutils/Makefile ] || exit 0; \
7509 r=`${PWD_COMMAND}`; export r; \
7510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7513 for flag in $(EXTRA_HOST_FLAGS) ; do \
7514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7516 echo "Doing install-info in findutils" ; \
7518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7520 "RANLIB=$${RANLIB}" \
7521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7527 .PHONY: maybe-installcheck-findutils installcheck-findutils
7528 maybe-installcheck-findutils:
7530 maybe-installcheck-findutils: installcheck-findutils
7532 installcheck-findutils: \
7534 @[ -f ./findutils/Makefile ] || exit 0; \
7535 r=`${PWD_COMMAND}`; export r; \
7536 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 installcheck in findutils" ; \
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: maybe-mostlyclean-findutils mostlyclean-findutils
7554 maybe-mostlyclean-findutils:
7556 maybe-mostlyclean-findutils: mostlyclean-findutils
7558 mostlyclean-findutils:
7559 @[ -f ./findutils/Makefile ] || exit 0; \
7560 r=`${PWD_COMMAND}`; export r; \
7561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7564 for flag in $(EXTRA_HOST_FLAGS) ; do \
7565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7567 echo "Doing mostlyclean in findutils" ; \
7569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7571 "RANLIB=$${RANLIB}" \
7572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7578 .PHONY: maybe-clean-findutils clean-findutils
7579 maybe-clean-findutils:
7581 maybe-clean-findutils: clean-findutils
7584 @[ -f ./findutils/Makefile ] || exit 0; \
7585 r=`${PWD_COMMAND}`; export r; \
7586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7589 for flag in $(EXTRA_HOST_FLAGS) ; do \
7590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7592 echo "Doing clean in findutils" ; \
7594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7596 "RANLIB=$${RANLIB}" \
7597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7603 .PHONY: maybe-distclean-findutils distclean-findutils
7604 maybe-distclean-findutils:
7606 maybe-distclean-findutils: distclean-findutils
7608 distclean-findutils:
7609 @[ -f ./findutils/Makefile ] || exit 0; \
7610 r=`${PWD_COMMAND}`; export r; \
7611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7614 for flag in $(EXTRA_HOST_FLAGS) ; do \
7615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7617 echo "Doing distclean in findutils" ; \
7619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7621 "RANLIB=$${RANLIB}" \
7622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7628 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
7629 maybe-maintainer-clean-findutils:
7631 maybe-maintainer-clean-findutils: maintainer-clean-findutils
7633 maintainer-clean-findutils:
7634 @[ -f ./findutils/Makefile ] || exit 0; \
7635 r=`${PWD_COMMAND}`; export r; \
7636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7639 for flag in $(EXTRA_HOST_FLAGS) ; do \
7640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7642 echo "Doing maintainer-clean in findutils" ; \
7644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7646 "RANLIB=$${RANLIB}" \
7647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7654 .PHONY: configure-find maybe-configure-find
7655 maybe-configure-find:
7657 maybe-configure-find: configure-find
7659 @test ! -f find/Makefile || exit 0; \
7660 [ -d find ] || mkdir find; \
7661 r=`${PWD_COMMAND}`; export r; \
7662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7664 echo Configuring in find; \
7665 cd find || exit 1; \
7668 srcdiroption="--srcdir=."; \
7670 /* | [A-Za-z]:[\\/]*) \
7671 srcdiroption="--srcdir=$(srcdir)/find"; \
7672 libsrcdir="$$s/find";; \
7674 srcdiroption="--srcdir=../$(srcdir)/find"; \
7675 libsrcdir="$$s/find";; \
7677 $(SHELL) $${libsrcdir}/configure \
7678 $(HOST_CONFIGARGS) $${srcdiroption} \
7682 .PHONY: all-find maybe-all-find
7685 maybe-all-find: all-find
7686 all-find: configure-find
7687 @r=`${PWD_COMMAND}`; export r; \
7688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7691 (cd find && $(MAKE) $(FLAGS_TO_PASS) all)
7694 .PHONY: check-find maybe-check-find
7697 maybe-check-find: check-find
7700 @r=`${PWD_COMMAND}`; export r; \
7701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7704 (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
7708 .PHONY: install-find maybe-install-find
7711 maybe-install-find: install-find
7713 install-find: installdirs
7714 @r=`${PWD_COMMAND}`; export r; \
7715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7718 (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
7722 # Other targets (info, dvi, etc.)
7724 .PHONY: maybe-info-find info-find
7727 maybe-info-find: info-find
7731 @[ -f ./find/Makefile ] || exit 0; \
7732 r=`${PWD_COMMAND}`; export r; \
7733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7736 for flag in $(EXTRA_HOST_FLAGS) ; do \
7737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7739 echo "Doing info in find" ; \
7741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7743 "RANLIB=$${RANLIB}" \
7744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7750 .PHONY: maybe-dvi-find dvi-find
7753 maybe-dvi-find: dvi-find
7757 @[ -f ./find/Makefile ] || exit 0; \
7758 r=`${PWD_COMMAND}`; export r; \
7759 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 dvi in find" ; \
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}" \
7776 .PHONY: maybe-TAGS-find TAGS-find
7779 maybe-TAGS-find: TAGS-find
7783 @[ -f ./find/Makefile ] || exit 0; \
7784 r=`${PWD_COMMAND}`; export r; \
7785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7788 for flag in $(EXTRA_HOST_FLAGS) ; do \
7789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7791 echo "Doing TAGS in find" ; \
7793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7795 "RANLIB=$${RANLIB}" \
7796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7802 .PHONY: maybe-install-info-find install-info-find
7803 maybe-install-info-find:
7805 maybe-install-info-find: install-info-find
7807 install-info-find: \
7810 @[ -f ./find/Makefile ] || exit 0; \
7811 r=`${PWD_COMMAND}`; export r; \
7812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7815 for flag in $(EXTRA_HOST_FLAGS) ; do \
7816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7818 echo "Doing install-info in find" ; \
7820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7822 "RANLIB=$${RANLIB}" \
7823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7829 .PHONY: maybe-installcheck-find installcheck-find
7830 maybe-installcheck-find:
7832 maybe-installcheck-find: installcheck-find
7834 installcheck-find: \
7836 @[ -f ./find/Makefile ] || exit 0; \
7837 r=`${PWD_COMMAND}`; export r; \
7838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7841 for flag in $(EXTRA_HOST_FLAGS) ; do \
7842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7844 echo "Doing installcheck in find" ; \
7846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7848 "RANLIB=$${RANLIB}" \
7849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7855 .PHONY: maybe-mostlyclean-find mostlyclean-find
7856 maybe-mostlyclean-find:
7858 maybe-mostlyclean-find: mostlyclean-find
7861 @[ -f ./find/Makefile ] || exit 0; \
7862 r=`${PWD_COMMAND}`; export r; \
7863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7866 for flag in $(EXTRA_HOST_FLAGS) ; do \
7867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7869 echo "Doing mostlyclean in find" ; \
7871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7873 "RANLIB=$${RANLIB}" \
7874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7880 .PHONY: maybe-clean-find clean-find
7883 maybe-clean-find: clean-find
7886 @[ -f ./find/Makefile ] || exit 0; \
7887 r=`${PWD_COMMAND}`; export r; \
7888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7891 for flag in $(EXTRA_HOST_FLAGS) ; do \
7892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7894 echo "Doing clean in find" ; \
7896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7898 "RANLIB=$${RANLIB}" \
7899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7905 .PHONY: maybe-distclean-find distclean-find
7906 maybe-distclean-find:
7908 maybe-distclean-find: distclean-find
7911 @[ -f ./find/Makefile ] || exit 0; \
7912 r=`${PWD_COMMAND}`; export r; \
7913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7916 for flag in $(EXTRA_HOST_FLAGS) ; do \
7917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7919 echo "Doing distclean in find" ; \
7921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7923 "RANLIB=$${RANLIB}" \
7924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7930 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
7931 maybe-maintainer-clean-find:
7933 maybe-maintainer-clean-find: maintainer-clean-find
7935 maintainer-clean-find:
7936 @[ -f ./find/Makefile ] || exit 0; \
7937 r=`${PWD_COMMAND}`; export r; \
7938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7941 for flag in $(EXTRA_HOST_FLAGS) ; do \
7942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7944 echo "Doing maintainer-clean in find" ; \
7946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7948 "RANLIB=$${RANLIB}" \
7949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7956 .PHONY: configure-flex maybe-configure-flex
7957 maybe-configure-flex:
7959 maybe-configure-flex: configure-flex
7961 @test ! -f flex/Makefile || exit 0; \
7962 [ -d flex ] || mkdir flex; \
7963 r=`${PWD_COMMAND}`; export r; \
7964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7966 echo Configuring in flex; \
7967 cd flex || exit 1; \
7970 srcdiroption="--srcdir=."; \
7972 /* | [A-Za-z]:[\\/]*) \
7973 srcdiroption="--srcdir=$(srcdir)/flex"; \
7974 libsrcdir="$$s/flex";; \
7976 srcdiroption="--srcdir=../$(srcdir)/flex"; \
7977 libsrcdir="$$s/flex";; \
7979 $(SHELL) $${libsrcdir}/configure \
7980 $(HOST_CONFIGARGS) $${srcdiroption} \
7984 .PHONY: all-flex maybe-all-flex
7987 maybe-all-flex: all-flex
7988 all-flex: configure-flex
7989 @r=`${PWD_COMMAND}`; export r; \
7990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7993 (cd flex && $(MAKE) $(FLAGS_TO_PASS) all)
7996 .PHONY: check-flex maybe-check-flex
7999 maybe-check-flex: check-flex
8001 # This module is only tested in a native toolchain.
8003 @if [ '$(host)' = '$(target)' ] ; then \
8004 r=`${PWD_COMMAND}`; export r; \
8005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8008 (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \
8013 .PHONY: install-flex maybe-install-flex
8016 maybe-install-flex: install-flex
8018 install-flex: installdirs
8019 @r=`${PWD_COMMAND}`; export r; \
8020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8023 (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
8027 # Other targets (info, dvi, etc.)
8029 .PHONY: maybe-info-flex info-flex
8032 maybe-info-flex: info-flex
8036 @[ -f ./flex/Makefile ] || exit 0; \
8037 r=`${PWD_COMMAND}`; export r; \
8038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8041 for flag in $(EXTRA_HOST_FLAGS) ; do \
8042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8044 echo "Doing info in flex" ; \
8046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8048 "RANLIB=$${RANLIB}" \
8049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8055 .PHONY: maybe-dvi-flex dvi-flex
8058 maybe-dvi-flex: dvi-flex
8062 @[ -f ./flex/Makefile ] || exit 0; \
8063 r=`${PWD_COMMAND}`; export r; \
8064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8067 for flag in $(EXTRA_HOST_FLAGS) ; do \
8068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8070 echo "Doing dvi in flex" ; \
8072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8074 "RANLIB=$${RANLIB}" \
8075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8081 .PHONY: maybe-TAGS-flex TAGS-flex
8084 maybe-TAGS-flex: TAGS-flex
8088 @[ -f ./flex/Makefile ] || exit 0; \
8089 r=`${PWD_COMMAND}`; export r; \
8090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8093 for flag in $(EXTRA_HOST_FLAGS) ; do \
8094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8096 echo "Doing TAGS in flex" ; \
8098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8100 "RANLIB=$${RANLIB}" \
8101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8107 .PHONY: maybe-install-info-flex install-info-flex
8108 maybe-install-info-flex:
8110 maybe-install-info-flex: install-info-flex
8112 install-info-flex: \
8115 @[ -f ./flex/Makefile ] || exit 0; \
8116 r=`${PWD_COMMAND}`; export r; \
8117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8120 for flag in $(EXTRA_HOST_FLAGS) ; do \
8121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8123 echo "Doing install-info in flex" ; \
8125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8127 "RANLIB=$${RANLIB}" \
8128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8134 .PHONY: maybe-installcheck-flex installcheck-flex
8135 maybe-installcheck-flex:
8137 maybe-installcheck-flex: installcheck-flex
8139 installcheck-flex: \
8141 @[ -f ./flex/Makefile ] || exit 0; \
8142 r=`${PWD_COMMAND}`; export r; \
8143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8146 for flag in $(EXTRA_HOST_FLAGS) ; do \
8147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8149 echo "Doing installcheck in flex" ; \
8151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8153 "RANLIB=$${RANLIB}" \
8154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8160 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8161 maybe-mostlyclean-flex:
8163 maybe-mostlyclean-flex: mostlyclean-flex
8166 @[ -f ./flex/Makefile ] || exit 0; \
8167 r=`${PWD_COMMAND}`; export r; \
8168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8171 for flag in $(EXTRA_HOST_FLAGS) ; do \
8172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8174 echo "Doing mostlyclean in flex" ; \
8176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8178 "RANLIB=$${RANLIB}" \
8179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8185 .PHONY: maybe-clean-flex clean-flex
8188 maybe-clean-flex: clean-flex
8191 @[ -f ./flex/Makefile ] || exit 0; \
8192 r=`${PWD_COMMAND}`; export r; \
8193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8196 for flag in $(EXTRA_HOST_FLAGS) ; do \
8197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8199 echo "Doing clean in flex" ; \
8201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8203 "RANLIB=$${RANLIB}" \
8204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8210 .PHONY: maybe-distclean-flex distclean-flex
8211 maybe-distclean-flex:
8213 maybe-distclean-flex: distclean-flex
8216 @[ -f ./flex/Makefile ] || exit 0; \
8217 r=`${PWD_COMMAND}`; export r; \
8218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8221 for flag in $(EXTRA_HOST_FLAGS) ; do \
8222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8224 echo "Doing distclean in flex" ; \
8226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8228 "RANLIB=$${RANLIB}" \
8229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8235 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8236 maybe-maintainer-clean-flex:
8238 maybe-maintainer-clean-flex: maintainer-clean-flex
8240 maintainer-clean-flex:
8241 @[ -f ./flex/Makefile ] || exit 0; \
8242 r=`${PWD_COMMAND}`; export r; \
8243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8246 for flag in $(EXTRA_HOST_FLAGS) ; do \
8247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8249 echo "Doing maintainer-clean in flex" ; \
8251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8253 "RANLIB=$${RANLIB}" \
8254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8261 .PHONY: configure-gas maybe-configure-gas
8262 maybe-configure-gas:
8264 maybe-configure-gas: configure-gas
8266 @test -f stage_last && exit 0; \
8267 test ! -f gas/Makefile || exit 0; \
8268 [ -d gas ] || mkdir gas; \
8269 r=`${PWD_COMMAND}`; export r; \
8270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8272 echo Configuring in gas; \
8276 srcdiroption="--srcdir=."; \
8278 /* | [A-Za-z]:[\\/]*) \
8279 srcdiroption="--srcdir=$(srcdir)/gas"; \
8280 libsrcdir="$$s/gas";; \
8282 srcdiroption="--srcdir=../$(srcdir)/gas"; \
8283 libsrcdir="$$s/gas";; \
8285 $(SHELL) $${libsrcdir}/configure \
8286 $(HOST_CONFIGARGS) $${srcdiroption} \
8290 .PHONY: all-gas maybe-all-gas
8293 maybe-all-gas: all-gas
8294 all-gas: configure-gas
8295 @test -f stage_last && exit 0; \
8296 r=`${PWD_COMMAND}`; export r; \
8297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8300 (cd gas && $(MAKE) $(FLAGS_TO_PASS) all)
8303 .PHONY: check-gas maybe-check-gas
8306 maybe-check-gas: check-gas
8309 @r=`${PWD_COMMAND}`; export r; \
8310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8313 (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
8317 .PHONY: install-gas maybe-install-gas
8320 maybe-install-gas: install-gas
8322 install-gas: installdirs
8323 @r=`${PWD_COMMAND}`; export r; \
8324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8327 (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
8331 # Other targets (info, dvi, etc.)
8333 .PHONY: maybe-info-gas info-gas
8336 maybe-info-gas: info-gas
8340 @[ -f ./gas/Makefile ] || exit 0; \
8341 r=`${PWD_COMMAND}`; export r; \
8342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8345 for flag in $(EXTRA_HOST_FLAGS) ; do \
8346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8348 echo "Doing info in gas" ; \
8350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8352 "RANLIB=$${RANLIB}" \
8353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8359 .PHONY: maybe-dvi-gas dvi-gas
8362 maybe-dvi-gas: dvi-gas
8366 @[ -f ./gas/Makefile ] || exit 0; \
8367 r=`${PWD_COMMAND}`; export r; \
8368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8371 for flag in $(EXTRA_HOST_FLAGS) ; do \
8372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8374 echo "Doing dvi in gas" ; \
8376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8378 "RANLIB=$${RANLIB}" \
8379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8385 .PHONY: maybe-TAGS-gas TAGS-gas
8388 maybe-TAGS-gas: TAGS-gas
8392 @[ -f ./gas/Makefile ] || exit 0; \
8393 r=`${PWD_COMMAND}`; export r; \
8394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8397 for flag in $(EXTRA_HOST_FLAGS) ; do \
8398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8400 echo "Doing TAGS in gas" ; \
8402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8404 "RANLIB=$${RANLIB}" \
8405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8411 .PHONY: maybe-install-info-gas install-info-gas
8412 maybe-install-info-gas:
8414 maybe-install-info-gas: install-info-gas
8419 @[ -f ./gas/Makefile ] || exit 0; \
8420 r=`${PWD_COMMAND}`; export r; \
8421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8424 for flag in $(EXTRA_HOST_FLAGS) ; do \
8425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8427 echo "Doing install-info in gas" ; \
8429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8431 "RANLIB=$${RANLIB}" \
8432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8438 .PHONY: maybe-installcheck-gas installcheck-gas
8439 maybe-installcheck-gas:
8441 maybe-installcheck-gas: installcheck-gas
8445 @[ -f ./gas/Makefile ] || exit 0; \
8446 r=`${PWD_COMMAND}`; export r; \
8447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8450 for flag in $(EXTRA_HOST_FLAGS) ; do \
8451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8453 echo "Doing installcheck in gas" ; \
8455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8457 "RANLIB=$${RANLIB}" \
8458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8464 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
8465 maybe-mostlyclean-gas:
8467 maybe-mostlyclean-gas: mostlyclean-gas
8470 @[ -f ./gas/Makefile ] || exit 0; \
8471 r=`${PWD_COMMAND}`; export r; \
8472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8475 for flag in $(EXTRA_HOST_FLAGS) ; do \
8476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8478 echo "Doing mostlyclean in gas" ; \
8480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8482 "RANLIB=$${RANLIB}" \
8483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8489 .PHONY: maybe-clean-gas clean-gas
8492 maybe-clean-gas: clean-gas
8495 @[ -f ./gas/Makefile ] || exit 0; \
8496 r=`${PWD_COMMAND}`; export r; \
8497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8500 for flag in $(EXTRA_HOST_FLAGS) ; do \
8501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8503 echo "Doing clean in gas" ; \
8505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8507 "RANLIB=$${RANLIB}" \
8508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8514 .PHONY: maybe-distclean-gas distclean-gas
8515 maybe-distclean-gas:
8517 maybe-distclean-gas: distclean-gas
8520 @[ -f ./gas/Makefile ] || exit 0; \
8521 r=`${PWD_COMMAND}`; export r; \
8522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8525 for flag in $(EXTRA_HOST_FLAGS) ; do \
8526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8528 echo "Doing distclean in gas" ; \
8530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8532 "RANLIB=$${RANLIB}" \
8533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8539 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
8540 maybe-maintainer-clean-gas:
8542 maybe-maintainer-clean-gas: maintainer-clean-gas
8544 maintainer-clean-gas:
8545 @[ -f ./gas/Makefile ] || exit 0; \
8546 r=`${PWD_COMMAND}`; export r; \
8547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8550 for flag in $(EXTRA_HOST_FLAGS) ; do \
8551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8553 echo "Doing maintainer-clean in gas" ; \
8555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8557 "RANLIB=$${RANLIB}" \
8558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8565 .PHONY: configure-gcc maybe-configure-gcc
8566 maybe-configure-gcc:
8568 maybe-configure-gcc: configure-gcc
8570 @test -f stage_last && exit 0; \
8571 test ! -f gcc/Makefile || exit 0; \
8572 [ -d gcc ] || mkdir gcc; \
8573 r=`${PWD_COMMAND}`; export r; \
8574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8576 echo Configuring in gcc; \
8580 srcdiroption="--srcdir=."; \
8582 /* | [A-Za-z]:[\\/]*) \
8583 srcdiroption="--srcdir=$(srcdir)/gcc"; \
8584 libsrcdir="$$s/gcc";; \
8586 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
8587 libsrcdir="$$s/gcc";; \
8589 $(SHELL) $${libsrcdir}/configure \
8590 $(HOST_CONFIGARGS) $${srcdiroption} \
8594 .PHONY: all-gcc maybe-all-gcc
8597 maybe-all-gcc: all-gcc
8598 all-gcc: configure-gcc
8599 @test -f stage_last && exit 0; \
8600 r=`${PWD_COMMAND}`; export r; \
8601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8604 (cd gcc && $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
8605 `if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi` )
8608 .PHONY: check-gcc maybe-check-gcc
8611 maybe-check-gcc: check-gcc
8614 @r=`${PWD_COMMAND}`; export r; \
8615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8618 (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) check)
8622 .PHONY: install-gcc maybe-install-gcc
8625 maybe-install-gcc: install-gcc
8627 install-gcc: installdirs
8628 @r=`${PWD_COMMAND}`; export r; \
8629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8632 (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) install)
8636 # Other targets (info, dvi, etc.)
8638 .PHONY: maybe-info-gcc info-gcc
8641 maybe-info-gcc: info-gcc
8645 @[ -f ./gcc/Makefile ] || exit 0; \
8646 r=`${PWD_COMMAND}`; export r; \
8647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8650 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8653 echo "Doing info in gcc" ; \
8655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8657 "RANLIB=$${RANLIB}" \
8658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8664 .PHONY: maybe-dvi-gcc dvi-gcc
8667 maybe-dvi-gcc: dvi-gcc
8671 @[ -f ./gcc/Makefile ] || exit 0; \
8672 r=`${PWD_COMMAND}`; export r; \
8673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8676 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8679 echo "Doing dvi in gcc" ; \
8681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8683 "RANLIB=$${RANLIB}" \
8684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8690 .PHONY: maybe-TAGS-gcc TAGS-gcc
8693 maybe-TAGS-gcc: TAGS-gcc
8697 @[ -f ./gcc/Makefile ] || exit 0; \
8698 r=`${PWD_COMMAND}`; export r; \
8699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8702 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8705 echo "Doing TAGS in gcc" ; \
8707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8709 "RANLIB=$${RANLIB}" \
8710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8716 .PHONY: maybe-install-info-gcc install-info-gcc
8717 maybe-install-info-gcc:
8719 maybe-install-info-gcc: install-info-gcc
8724 @[ -f ./gcc/Makefile ] || exit 0; \
8725 r=`${PWD_COMMAND}`; export r; \
8726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8729 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8732 echo "Doing install-info in gcc" ; \
8734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8736 "RANLIB=$${RANLIB}" \
8737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8743 .PHONY: maybe-installcheck-gcc installcheck-gcc
8744 maybe-installcheck-gcc:
8746 maybe-installcheck-gcc: installcheck-gcc
8750 @[ -f ./gcc/Makefile ] || exit 0; \
8751 r=`${PWD_COMMAND}`; export r; \
8752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8755 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8758 echo "Doing installcheck in gcc" ; \
8760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8762 "RANLIB=$${RANLIB}" \
8763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8769 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
8770 maybe-mostlyclean-gcc:
8772 maybe-mostlyclean-gcc: mostlyclean-gcc
8775 @[ -f ./gcc/Makefile ] || exit 0; \
8776 r=`${PWD_COMMAND}`; export r; \
8777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8780 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8783 echo "Doing mostlyclean in gcc" ; \
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}" \
8794 .PHONY: maybe-clean-gcc clean-gcc
8797 maybe-clean-gcc: clean-gcc
8800 @[ -f ./gcc/Makefile ] || exit 0; \
8801 r=`${PWD_COMMAND}`; export r; \
8802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8805 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8808 echo "Doing clean in gcc" ; \
8810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8812 "RANLIB=$${RANLIB}" \
8813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8819 .PHONY: maybe-distclean-gcc distclean-gcc
8820 maybe-distclean-gcc:
8822 maybe-distclean-gcc: distclean-gcc
8825 @[ -f ./gcc/Makefile ] || exit 0; \
8826 r=`${PWD_COMMAND}`; export r; \
8827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8830 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8833 echo "Doing distclean in gcc" ; \
8835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8837 "RANLIB=$${RANLIB}" \
8838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8844 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
8845 maybe-maintainer-clean-gcc:
8847 maybe-maintainer-clean-gcc: maintainer-clean-gcc
8849 maintainer-clean-gcc:
8850 @[ -f ./gcc/Makefile ] || exit 0; \
8851 r=`${PWD_COMMAND}`; export r; \
8852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8855 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8858 echo "Doing maintainer-clean in gcc" ; \
8860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8862 "RANLIB=$${RANLIB}" \
8863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8870 .PHONY: configure-gawk maybe-configure-gawk
8871 maybe-configure-gawk:
8873 maybe-configure-gawk: configure-gawk
8875 @test ! -f gawk/Makefile || exit 0; \
8876 [ -d gawk ] || mkdir gawk; \
8877 r=`${PWD_COMMAND}`; export r; \
8878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8880 echo Configuring in gawk; \
8881 cd gawk || exit 1; \
8884 srcdiroption="--srcdir=."; \
8886 /* | [A-Za-z]:[\\/]*) \
8887 srcdiroption="--srcdir=$(srcdir)/gawk"; \
8888 libsrcdir="$$s/gawk";; \
8890 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
8891 libsrcdir="$$s/gawk";; \
8893 $(SHELL) $${libsrcdir}/configure \
8894 $(HOST_CONFIGARGS) $${srcdiroption} \
8898 .PHONY: all-gawk maybe-all-gawk
8901 maybe-all-gawk: all-gawk
8902 all-gawk: configure-gawk
8903 @r=`${PWD_COMMAND}`; export r; \
8904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8907 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) all)
8910 .PHONY: check-gawk maybe-check-gawk
8913 maybe-check-gawk: check-gawk
8916 @r=`${PWD_COMMAND}`; export r; \
8917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8920 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
8924 .PHONY: install-gawk maybe-install-gawk
8927 maybe-install-gawk: install-gawk
8929 install-gawk: installdirs
8930 @r=`${PWD_COMMAND}`; export r; \
8931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8934 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
8938 # Other targets (info, dvi, etc.)
8940 .PHONY: maybe-info-gawk info-gawk
8943 maybe-info-gawk: info-gawk
8947 @[ -f ./gawk/Makefile ] || exit 0; \
8948 r=`${PWD_COMMAND}`; export r; \
8949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8952 for flag in $(EXTRA_HOST_FLAGS) ; do \
8953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8955 echo "Doing info in gawk" ; \
8957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8959 "RANLIB=$${RANLIB}" \
8960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8966 .PHONY: maybe-dvi-gawk dvi-gawk
8969 maybe-dvi-gawk: dvi-gawk
8973 @[ -f ./gawk/Makefile ] || exit 0; \
8974 r=`${PWD_COMMAND}`; export r; \
8975 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 gawk" ; \
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}" \
8992 .PHONY: maybe-TAGS-gawk TAGS-gawk
8995 maybe-TAGS-gawk: TAGS-gawk
8999 @[ -f ./gawk/Makefile ] || exit 0; \
9000 r=`${PWD_COMMAND}`; export r; \
9001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9004 for flag in $(EXTRA_HOST_FLAGS) ; do \
9005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9007 echo "Doing TAGS in gawk" ; \
9009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9011 "RANLIB=$${RANLIB}" \
9012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9018 .PHONY: maybe-install-info-gawk install-info-gawk
9019 maybe-install-info-gawk:
9021 maybe-install-info-gawk: install-info-gawk
9023 install-info-gawk: \
9026 @[ -f ./gawk/Makefile ] || exit 0; \
9027 r=`${PWD_COMMAND}`; export r; \
9028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9031 for flag in $(EXTRA_HOST_FLAGS) ; do \
9032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9034 echo "Doing install-info in gawk" ; \
9036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9038 "RANLIB=$${RANLIB}" \
9039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9045 .PHONY: maybe-installcheck-gawk installcheck-gawk
9046 maybe-installcheck-gawk:
9048 maybe-installcheck-gawk: installcheck-gawk
9050 installcheck-gawk: \
9052 @[ -f ./gawk/Makefile ] || exit 0; \
9053 r=`${PWD_COMMAND}`; export r; \
9054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9057 for flag in $(EXTRA_HOST_FLAGS) ; do \
9058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9060 echo "Doing installcheck in gawk" ; \
9062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9064 "RANLIB=$${RANLIB}" \
9065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9071 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
9072 maybe-mostlyclean-gawk:
9074 maybe-mostlyclean-gawk: mostlyclean-gawk
9077 @[ -f ./gawk/Makefile ] || exit 0; \
9078 r=`${PWD_COMMAND}`; export r; \
9079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9082 for flag in $(EXTRA_HOST_FLAGS) ; do \
9083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9085 echo "Doing mostlyclean in gawk" ; \
9087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9089 "RANLIB=$${RANLIB}" \
9090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9096 .PHONY: maybe-clean-gawk clean-gawk
9099 maybe-clean-gawk: clean-gawk
9102 @[ -f ./gawk/Makefile ] || exit 0; \
9103 r=`${PWD_COMMAND}`; export r; \
9104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9107 for flag in $(EXTRA_HOST_FLAGS) ; do \
9108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9110 echo "Doing clean in gawk" ; \
9112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9114 "RANLIB=$${RANLIB}" \
9115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9121 .PHONY: maybe-distclean-gawk distclean-gawk
9122 maybe-distclean-gawk:
9124 maybe-distclean-gawk: distclean-gawk
9127 @[ -f ./gawk/Makefile ] || exit 0; \
9128 r=`${PWD_COMMAND}`; export r; \
9129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9132 for flag in $(EXTRA_HOST_FLAGS) ; do \
9133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9135 echo "Doing distclean in gawk" ; \
9137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9139 "RANLIB=$${RANLIB}" \
9140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9146 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
9147 maybe-maintainer-clean-gawk:
9149 maybe-maintainer-clean-gawk: maintainer-clean-gawk
9151 maintainer-clean-gawk:
9152 @[ -f ./gawk/Makefile ] || exit 0; \
9153 r=`${PWD_COMMAND}`; export r; \
9154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9157 for flag in $(EXTRA_HOST_FLAGS) ; do \
9158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9160 echo "Doing maintainer-clean in gawk" ; \
9162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9164 "RANLIB=$${RANLIB}" \
9165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9172 .PHONY: configure-gettext maybe-configure-gettext
9173 maybe-configure-gettext:
9175 maybe-configure-gettext: configure-gettext
9177 @test ! -f gettext/Makefile || exit 0; \
9178 [ -d gettext ] || mkdir gettext; \
9179 r=`${PWD_COMMAND}`; export r; \
9180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9182 echo Configuring in gettext; \
9183 cd gettext || exit 1; \
9186 srcdiroption="--srcdir=."; \
9188 /* | [A-Za-z]:[\\/]*) \
9189 srcdiroption="--srcdir=$(srcdir)/gettext"; \
9190 libsrcdir="$$s/gettext";; \
9192 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
9193 libsrcdir="$$s/gettext";; \
9195 $(SHELL) $${libsrcdir}/configure \
9196 $(HOST_CONFIGARGS) $${srcdiroption} \
9200 .PHONY: all-gettext maybe-all-gettext
9203 maybe-all-gettext: all-gettext
9204 all-gettext: configure-gettext
9205 @r=`${PWD_COMMAND}`; export r; \
9206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9209 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) all)
9212 .PHONY: check-gettext maybe-check-gettext
9213 maybe-check-gettext:
9215 maybe-check-gettext: check-gettext
9218 @r=`${PWD_COMMAND}`; export r; \
9219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9222 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
9226 .PHONY: install-gettext maybe-install-gettext
9227 maybe-install-gettext:
9229 maybe-install-gettext: install-gettext
9231 install-gettext: installdirs
9232 @r=`${PWD_COMMAND}`; export r; \
9233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9236 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
9240 # Other targets (info, dvi, etc.)
9242 .PHONY: maybe-info-gettext info-gettext
9245 maybe-info-gettext: info-gettext
9249 @[ -f ./gettext/Makefile ] || exit 0; \
9250 r=`${PWD_COMMAND}`; export r; \
9251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9254 for flag in $(EXTRA_HOST_FLAGS) ; do \
9255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9257 echo "Doing info in gettext" ; \
9259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9261 "RANLIB=$${RANLIB}" \
9262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9268 .PHONY: maybe-dvi-gettext dvi-gettext
9271 maybe-dvi-gettext: dvi-gettext
9275 @[ -f ./gettext/Makefile ] || exit 0; \
9276 r=`${PWD_COMMAND}`; export r; \
9277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9280 for flag in $(EXTRA_HOST_FLAGS) ; do \
9281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9283 echo "Doing dvi in gettext" ; \
9285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9287 "RANLIB=$${RANLIB}" \
9288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9294 .PHONY: maybe-TAGS-gettext TAGS-gettext
9297 maybe-TAGS-gettext: TAGS-gettext
9301 @[ -f ./gettext/Makefile ] || exit 0; \
9302 r=`${PWD_COMMAND}`; export r; \
9303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9306 for flag in $(EXTRA_HOST_FLAGS) ; do \
9307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9309 echo "Doing TAGS in gettext" ; \
9311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9313 "RANLIB=$${RANLIB}" \
9314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9320 .PHONY: maybe-install-info-gettext install-info-gettext
9321 maybe-install-info-gettext:
9323 maybe-install-info-gettext: install-info-gettext
9325 install-info-gettext: \
9328 @[ -f ./gettext/Makefile ] || exit 0; \
9329 r=`${PWD_COMMAND}`; export r; \
9330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9333 for flag in $(EXTRA_HOST_FLAGS) ; do \
9334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9336 echo "Doing install-info in gettext" ; \
9338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9340 "RANLIB=$${RANLIB}" \
9341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9347 .PHONY: maybe-installcheck-gettext installcheck-gettext
9348 maybe-installcheck-gettext:
9350 maybe-installcheck-gettext: installcheck-gettext
9352 installcheck-gettext: \
9354 @[ -f ./gettext/Makefile ] || exit 0; \
9355 r=`${PWD_COMMAND}`; export r; \
9356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9359 for flag in $(EXTRA_HOST_FLAGS) ; do \
9360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9362 echo "Doing installcheck in gettext" ; \
9364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9366 "RANLIB=$${RANLIB}" \
9367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9373 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
9374 maybe-mostlyclean-gettext:
9376 maybe-mostlyclean-gettext: mostlyclean-gettext
9378 mostlyclean-gettext:
9379 @[ -f ./gettext/Makefile ] || exit 0; \
9380 r=`${PWD_COMMAND}`; export r; \
9381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9384 for flag in $(EXTRA_HOST_FLAGS) ; do \
9385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9387 echo "Doing mostlyclean in gettext" ; \
9389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9391 "RANLIB=$${RANLIB}" \
9392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9398 .PHONY: maybe-clean-gettext clean-gettext
9399 maybe-clean-gettext:
9401 maybe-clean-gettext: clean-gettext
9404 @[ -f ./gettext/Makefile ] || exit 0; \
9405 r=`${PWD_COMMAND}`; export r; \
9406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9409 for flag in $(EXTRA_HOST_FLAGS) ; do \
9410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9412 echo "Doing clean in gettext" ; \
9414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9416 "RANLIB=$${RANLIB}" \
9417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9423 .PHONY: maybe-distclean-gettext distclean-gettext
9424 maybe-distclean-gettext:
9426 maybe-distclean-gettext: distclean-gettext
9429 @[ -f ./gettext/Makefile ] || exit 0; \
9430 r=`${PWD_COMMAND}`; export r; \
9431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9434 for flag in $(EXTRA_HOST_FLAGS) ; do \
9435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9437 echo "Doing distclean in gettext" ; \
9439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9441 "RANLIB=$${RANLIB}" \
9442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9448 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
9449 maybe-maintainer-clean-gettext:
9451 maybe-maintainer-clean-gettext: maintainer-clean-gettext
9453 maintainer-clean-gettext:
9454 @[ -f ./gettext/Makefile ] || exit 0; \
9455 r=`${PWD_COMMAND}`; export r; \
9456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9459 for flag in $(EXTRA_HOST_FLAGS) ; do \
9460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9462 echo "Doing maintainer-clean in gettext" ; \
9464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9466 "RANLIB=$${RANLIB}" \
9467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9474 .PHONY: configure-gnuserv maybe-configure-gnuserv
9475 maybe-configure-gnuserv:
9477 maybe-configure-gnuserv: configure-gnuserv
9479 @test ! -f gnuserv/Makefile || exit 0; \
9480 [ -d gnuserv ] || mkdir gnuserv; \
9481 r=`${PWD_COMMAND}`; export r; \
9482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9484 echo Configuring in gnuserv; \
9485 cd gnuserv || exit 1; \
9488 srcdiroption="--srcdir=."; \
9490 /* | [A-Za-z]:[\\/]*) \
9491 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
9492 libsrcdir="$$s/gnuserv";; \
9494 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
9495 libsrcdir="$$s/gnuserv";; \
9497 $(SHELL) $${libsrcdir}/configure \
9498 $(HOST_CONFIGARGS) $${srcdiroption} \
9502 .PHONY: all-gnuserv maybe-all-gnuserv
9505 maybe-all-gnuserv: all-gnuserv
9506 all-gnuserv: configure-gnuserv
9507 @r=`${PWD_COMMAND}`; export r; \
9508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9511 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) all)
9514 .PHONY: check-gnuserv maybe-check-gnuserv
9515 maybe-check-gnuserv:
9517 maybe-check-gnuserv: check-gnuserv
9520 @r=`${PWD_COMMAND}`; export r; \
9521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9524 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
9528 .PHONY: install-gnuserv maybe-install-gnuserv
9529 maybe-install-gnuserv:
9531 maybe-install-gnuserv: install-gnuserv
9533 install-gnuserv: installdirs
9534 @r=`${PWD_COMMAND}`; export r; \
9535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9538 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
9542 # Other targets (info, dvi, etc.)
9544 .PHONY: maybe-info-gnuserv info-gnuserv
9547 maybe-info-gnuserv: info-gnuserv
9551 @[ -f ./gnuserv/Makefile ] || exit 0; \
9552 r=`${PWD_COMMAND}`; export r; \
9553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9556 for flag in $(EXTRA_HOST_FLAGS) ; do \
9557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9559 echo "Doing info in gnuserv" ; \
9561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9563 "RANLIB=$${RANLIB}" \
9564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9570 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
9573 maybe-dvi-gnuserv: dvi-gnuserv
9577 @[ -f ./gnuserv/Makefile ] || exit 0; \
9578 r=`${PWD_COMMAND}`; export r; \
9579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9582 for flag in $(EXTRA_HOST_FLAGS) ; do \
9583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9585 echo "Doing dvi in gnuserv" ; \
9587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9589 "RANLIB=$${RANLIB}" \
9590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9596 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
9599 maybe-TAGS-gnuserv: TAGS-gnuserv
9603 @[ -f ./gnuserv/Makefile ] || exit 0; \
9604 r=`${PWD_COMMAND}`; export r; \
9605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9608 for flag in $(EXTRA_HOST_FLAGS) ; do \
9609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9611 echo "Doing TAGS in gnuserv" ; \
9613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9615 "RANLIB=$${RANLIB}" \
9616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9622 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
9623 maybe-install-info-gnuserv:
9625 maybe-install-info-gnuserv: install-info-gnuserv
9627 install-info-gnuserv: \
9630 @[ -f ./gnuserv/Makefile ] || exit 0; \
9631 r=`${PWD_COMMAND}`; export r; \
9632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9635 for flag in $(EXTRA_HOST_FLAGS) ; do \
9636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9638 echo "Doing install-info in gnuserv" ; \
9640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9642 "RANLIB=$${RANLIB}" \
9643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9649 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
9650 maybe-installcheck-gnuserv:
9652 maybe-installcheck-gnuserv: installcheck-gnuserv
9654 installcheck-gnuserv: \
9656 @[ -f ./gnuserv/Makefile ] || exit 0; \
9657 r=`${PWD_COMMAND}`; export r; \
9658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9661 for flag in $(EXTRA_HOST_FLAGS) ; do \
9662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9664 echo "Doing installcheck in gnuserv" ; \
9666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9668 "RANLIB=$${RANLIB}" \
9669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9675 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
9676 maybe-mostlyclean-gnuserv:
9678 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
9680 mostlyclean-gnuserv:
9681 @[ -f ./gnuserv/Makefile ] || exit 0; \
9682 r=`${PWD_COMMAND}`; export r; \
9683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9686 for flag in $(EXTRA_HOST_FLAGS) ; do \
9687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9689 echo "Doing mostlyclean in gnuserv" ; \
9691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9693 "RANLIB=$${RANLIB}" \
9694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9700 .PHONY: maybe-clean-gnuserv clean-gnuserv
9701 maybe-clean-gnuserv:
9703 maybe-clean-gnuserv: clean-gnuserv
9706 @[ -f ./gnuserv/Makefile ] || exit 0; \
9707 r=`${PWD_COMMAND}`; export r; \
9708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9711 for flag in $(EXTRA_HOST_FLAGS) ; do \
9712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9714 echo "Doing clean in gnuserv" ; \
9716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9718 "RANLIB=$${RANLIB}" \
9719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9725 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
9726 maybe-distclean-gnuserv:
9728 maybe-distclean-gnuserv: distclean-gnuserv
9731 @[ -f ./gnuserv/Makefile ] || exit 0; \
9732 r=`${PWD_COMMAND}`; export r; \
9733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9736 for flag in $(EXTRA_HOST_FLAGS) ; do \
9737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9739 echo "Doing distclean in gnuserv" ; \
9741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9743 "RANLIB=$${RANLIB}" \
9744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9750 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
9751 maybe-maintainer-clean-gnuserv:
9753 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
9755 maintainer-clean-gnuserv:
9756 @[ -f ./gnuserv/Makefile ] || exit 0; \
9757 r=`${PWD_COMMAND}`; export r; \
9758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9761 for flag in $(EXTRA_HOST_FLAGS) ; do \
9762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9764 echo "Doing maintainer-clean in gnuserv" ; \
9766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9768 "RANLIB=$${RANLIB}" \
9769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9776 .PHONY: configure-gprof maybe-configure-gprof
9777 maybe-configure-gprof:
9779 maybe-configure-gprof: configure-gprof
9781 @test ! -f gprof/Makefile || exit 0; \
9782 [ -d gprof ] || mkdir gprof; \
9783 r=`${PWD_COMMAND}`; export r; \
9784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9786 echo Configuring in gprof; \
9787 cd gprof || exit 1; \
9790 srcdiroption="--srcdir=."; \
9792 /* | [A-Za-z]:[\\/]*) \
9793 srcdiroption="--srcdir=$(srcdir)/gprof"; \
9794 libsrcdir="$$s/gprof";; \
9796 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
9797 libsrcdir="$$s/gprof";; \
9799 $(SHELL) $${libsrcdir}/configure \
9800 $(HOST_CONFIGARGS) $${srcdiroption} \
9804 .PHONY: all-gprof maybe-all-gprof
9807 maybe-all-gprof: all-gprof
9808 all-gprof: configure-gprof
9809 @r=`${PWD_COMMAND}`; export r; \
9810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9813 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) all)
9816 .PHONY: check-gprof maybe-check-gprof
9819 maybe-check-gprof: check-gprof
9822 @r=`${PWD_COMMAND}`; export r; \
9823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9826 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
9830 .PHONY: install-gprof maybe-install-gprof
9831 maybe-install-gprof:
9833 maybe-install-gprof: install-gprof
9835 install-gprof: installdirs
9836 @r=`${PWD_COMMAND}`; export r; \
9837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9840 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
9844 # Other targets (info, dvi, etc.)
9846 .PHONY: maybe-info-gprof info-gprof
9849 maybe-info-gprof: info-gprof
9853 @[ -f ./gprof/Makefile ] || exit 0; \
9854 r=`${PWD_COMMAND}`; export r; \
9855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9858 for flag in $(EXTRA_HOST_FLAGS) ; do \
9859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9861 echo "Doing info in gprof" ; \
9863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9865 "RANLIB=$${RANLIB}" \
9866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9872 .PHONY: maybe-dvi-gprof dvi-gprof
9875 maybe-dvi-gprof: dvi-gprof
9879 @[ -f ./gprof/Makefile ] || exit 0; \
9880 r=`${PWD_COMMAND}`; export r; \
9881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9884 for flag in $(EXTRA_HOST_FLAGS) ; do \
9885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9887 echo "Doing dvi in gprof" ; \
9889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9891 "RANLIB=$${RANLIB}" \
9892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9898 .PHONY: maybe-TAGS-gprof TAGS-gprof
9901 maybe-TAGS-gprof: TAGS-gprof
9905 @[ -f ./gprof/Makefile ] || exit 0; \
9906 r=`${PWD_COMMAND}`; export r; \
9907 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 TAGS in gprof" ; \
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: maybe-install-info-gprof install-info-gprof
9925 maybe-install-info-gprof:
9927 maybe-install-info-gprof: install-info-gprof
9929 install-info-gprof: \
9932 @[ -f ./gprof/Makefile ] || exit 0; \
9933 r=`${PWD_COMMAND}`; export r; \
9934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9937 for flag in $(EXTRA_HOST_FLAGS) ; do \
9938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9940 echo "Doing install-info in gprof" ; \
9942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9944 "RANLIB=$${RANLIB}" \
9945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9951 .PHONY: maybe-installcheck-gprof installcheck-gprof
9952 maybe-installcheck-gprof:
9954 maybe-installcheck-gprof: installcheck-gprof
9956 installcheck-gprof: \
9958 @[ -f ./gprof/Makefile ] || exit 0; \
9959 r=`${PWD_COMMAND}`; export r; \
9960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9963 for flag in $(EXTRA_HOST_FLAGS) ; do \
9964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9966 echo "Doing installcheck in gprof" ; \
9968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9970 "RANLIB=$${RANLIB}" \
9971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9977 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
9978 maybe-mostlyclean-gprof:
9980 maybe-mostlyclean-gprof: mostlyclean-gprof
9983 @[ -f ./gprof/Makefile ] || exit 0; \
9984 r=`${PWD_COMMAND}`; export r; \
9985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9988 for flag in $(EXTRA_HOST_FLAGS) ; do \
9989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9991 echo "Doing mostlyclean in gprof" ; \
9993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9995 "RANLIB=$${RANLIB}" \
9996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10002 .PHONY: maybe-clean-gprof clean-gprof
10005 maybe-clean-gprof: clean-gprof
10008 @[ -f ./gprof/Makefile ] || exit 0; \
10009 r=`${PWD_COMMAND}`; export r; \
10010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10013 for flag in $(EXTRA_HOST_FLAGS) ; do \
10014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10016 echo "Doing clean in gprof" ; \
10018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10020 "RANLIB=$${RANLIB}" \
10021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10027 .PHONY: maybe-distclean-gprof distclean-gprof
10028 maybe-distclean-gprof:
10030 maybe-distclean-gprof: distclean-gprof
10033 @[ -f ./gprof/Makefile ] || exit 0; \
10034 r=`${PWD_COMMAND}`; export r; \
10035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10038 for flag in $(EXTRA_HOST_FLAGS) ; do \
10039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10041 echo "Doing distclean in gprof" ; \
10043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10045 "RANLIB=$${RANLIB}" \
10046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10052 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
10053 maybe-maintainer-clean-gprof:
10055 maybe-maintainer-clean-gprof: maintainer-clean-gprof
10057 maintainer-clean-gprof:
10058 @[ -f ./gprof/Makefile ] || exit 0; \
10059 r=`${PWD_COMMAND}`; export r; \
10060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10063 for flag in $(EXTRA_HOST_FLAGS) ; do \
10064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10066 echo "Doing maintainer-clean in gprof" ; \
10068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10070 "RANLIB=$${RANLIB}" \
10071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10072 maintainer-clean) \
10078 .PHONY: configure-gzip maybe-configure-gzip
10079 maybe-configure-gzip:
10081 maybe-configure-gzip: configure-gzip
10083 @test ! -f gzip/Makefile || exit 0; \
10084 [ -d gzip ] || mkdir gzip; \
10085 r=`${PWD_COMMAND}`; export r; \
10086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10088 echo Configuring in gzip; \
10089 cd gzip || exit 1; \
10090 case $(srcdir) in \
10092 srcdiroption="--srcdir=."; \
10094 /* | [A-Za-z]:[\\/]*) \
10095 srcdiroption="--srcdir=$(srcdir)/gzip"; \
10096 libsrcdir="$$s/gzip";; \
10098 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
10099 libsrcdir="$$s/gzip";; \
10101 $(SHELL) $${libsrcdir}/configure \
10102 $(HOST_CONFIGARGS) $${srcdiroption} \
10106 .PHONY: all-gzip maybe-all-gzip
10109 maybe-all-gzip: all-gzip
10110 all-gzip: configure-gzip
10111 @r=`${PWD_COMMAND}`; export r; \
10112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10115 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) all)
10118 .PHONY: check-gzip maybe-check-gzip
10121 maybe-check-gzip: check-gzip
10124 @r=`${PWD_COMMAND}`; export r; \
10125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10128 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
10132 .PHONY: install-gzip maybe-install-gzip
10133 maybe-install-gzip:
10135 maybe-install-gzip: install-gzip
10137 install-gzip: installdirs
10138 @r=`${PWD_COMMAND}`; export r; \
10139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10142 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
10146 # Other targets (info, dvi, etc.)
10148 .PHONY: maybe-info-gzip info-gzip
10151 maybe-info-gzip: info-gzip
10155 @[ -f ./gzip/Makefile ] || exit 0; \
10156 r=`${PWD_COMMAND}`; export r; \
10157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10160 for flag in $(EXTRA_HOST_FLAGS) ; do \
10161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10163 echo "Doing info in gzip" ; \
10165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10167 "RANLIB=$${RANLIB}" \
10168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10174 .PHONY: maybe-dvi-gzip dvi-gzip
10177 maybe-dvi-gzip: dvi-gzip
10181 @[ -f ./gzip/Makefile ] || exit 0; \
10182 r=`${PWD_COMMAND}`; export r; \
10183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10186 for flag in $(EXTRA_HOST_FLAGS) ; do \
10187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10189 echo "Doing dvi in gzip" ; \
10191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10193 "RANLIB=$${RANLIB}" \
10194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10200 .PHONY: maybe-TAGS-gzip TAGS-gzip
10203 maybe-TAGS-gzip: TAGS-gzip
10207 @[ -f ./gzip/Makefile ] || exit 0; \
10208 r=`${PWD_COMMAND}`; export r; \
10209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10212 for flag in $(EXTRA_HOST_FLAGS) ; do \
10213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10215 echo "Doing TAGS in gzip" ; \
10217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10219 "RANLIB=$${RANLIB}" \
10220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10226 .PHONY: maybe-install-info-gzip install-info-gzip
10227 maybe-install-info-gzip:
10229 maybe-install-info-gzip: install-info-gzip
10231 install-info-gzip: \
10234 @[ -f ./gzip/Makefile ] || exit 0; \
10235 r=`${PWD_COMMAND}`; export r; \
10236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10239 for flag in $(EXTRA_HOST_FLAGS) ; do \
10240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10242 echo "Doing install-info in gzip" ; \
10244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10246 "RANLIB=$${RANLIB}" \
10247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10253 .PHONY: maybe-installcheck-gzip installcheck-gzip
10254 maybe-installcheck-gzip:
10256 maybe-installcheck-gzip: installcheck-gzip
10258 installcheck-gzip: \
10260 @[ -f ./gzip/Makefile ] || exit 0; \
10261 r=`${PWD_COMMAND}`; export r; \
10262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10265 for flag in $(EXTRA_HOST_FLAGS) ; do \
10266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10268 echo "Doing installcheck in gzip" ; \
10270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10272 "RANLIB=$${RANLIB}" \
10273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10279 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
10280 maybe-mostlyclean-gzip:
10282 maybe-mostlyclean-gzip: mostlyclean-gzip
10285 @[ -f ./gzip/Makefile ] || exit 0; \
10286 r=`${PWD_COMMAND}`; export r; \
10287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10290 for flag in $(EXTRA_HOST_FLAGS) ; do \
10291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10293 echo "Doing mostlyclean in gzip" ; \
10295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10297 "RANLIB=$${RANLIB}" \
10298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10304 .PHONY: maybe-clean-gzip clean-gzip
10307 maybe-clean-gzip: clean-gzip
10310 @[ -f ./gzip/Makefile ] || exit 0; \
10311 r=`${PWD_COMMAND}`; export r; \
10312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10315 for flag in $(EXTRA_HOST_FLAGS) ; do \
10316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10318 echo "Doing clean in gzip" ; \
10320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10322 "RANLIB=$${RANLIB}" \
10323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10329 .PHONY: maybe-distclean-gzip distclean-gzip
10330 maybe-distclean-gzip:
10332 maybe-distclean-gzip: distclean-gzip
10335 @[ -f ./gzip/Makefile ] || exit 0; \
10336 r=`${PWD_COMMAND}`; export r; \
10337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10340 for flag in $(EXTRA_HOST_FLAGS) ; do \
10341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10343 echo "Doing distclean in gzip" ; \
10345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10347 "RANLIB=$${RANLIB}" \
10348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10354 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
10355 maybe-maintainer-clean-gzip:
10357 maybe-maintainer-clean-gzip: maintainer-clean-gzip
10359 maintainer-clean-gzip:
10360 @[ -f ./gzip/Makefile ] || exit 0; \
10361 r=`${PWD_COMMAND}`; export r; \
10362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10365 for flag in $(EXTRA_HOST_FLAGS) ; do \
10366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10368 echo "Doing maintainer-clean in gzip" ; \
10370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10372 "RANLIB=$${RANLIB}" \
10373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10374 maintainer-clean) \
10380 .PHONY: configure-hello maybe-configure-hello
10381 maybe-configure-hello:
10383 maybe-configure-hello: configure-hello
10385 @test ! -f hello/Makefile || exit 0; \
10386 [ -d hello ] || mkdir hello; \
10387 r=`${PWD_COMMAND}`; export r; \
10388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10390 echo Configuring in hello; \
10391 cd hello || exit 1; \
10392 case $(srcdir) in \
10394 srcdiroption="--srcdir=."; \
10396 /* | [A-Za-z]:[\\/]*) \
10397 srcdiroption="--srcdir=$(srcdir)/hello"; \
10398 libsrcdir="$$s/hello";; \
10400 srcdiroption="--srcdir=../$(srcdir)/hello"; \
10401 libsrcdir="$$s/hello";; \
10403 $(SHELL) $${libsrcdir}/configure \
10404 $(HOST_CONFIGARGS) $${srcdiroption} \
10408 .PHONY: all-hello maybe-all-hello
10411 maybe-all-hello: all-hello
10412 all-hello: configure-hello
10413 @r=`${PWD_COMMAND}`; export r; \
10414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10417 (cd hello && $(MAKE) $(FLAGS_TO_PASS) all)
10420 .PHONY: check-hello maybe-check-hello
10423 maybe-check-hello: check-hello
10426 @r=`${PWD_COMMAND}`; export r; \
10427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10430 (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
10434 .PHONY: install-hello maybe-install-hello
10435 maybe-install-hello:
10437 maybe-install-hello: install-hello
10439 install-hello: installdirs
10440 @r=`${PWD_COMMAND}`; export r; \
10441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10444 (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
10448 # Other targets (info, dvi, etc.)
10450 .PHONY: maybe-info-hello info-hello
10453 maybe-info-hello: info-hello
10457 @[ -f ./hello/Makefile ] || exit 0; \
10458 r=`${PWD_COMMAND}`; export r; \
10459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10462 for flag in $(EXTRA_HOST_FLAGS) ; do \
10463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10465 echo "Doing info in hello" ; \
10467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10469 "RANLIB=$${RANLIB}" \
10470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10476 .PHONY: maybe-dvi-hello dvi-hello
10479 maybe-dvi-hello: dvi-hello
10483 @[ -f ./hello/Makefile ] || exit 0; \
10484 r=`${PWD_COMMAND}`; export r; \
10485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10488 for flag in $(EXTRA_HOST_FLAGS) ; do \
10489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10491 echo "Doing dvi in hello" ; \
10493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10495 "RANLIB=$${RANLIB}" \
10496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10502 .PHONY: maybe-TAGS-hello TAGS-hello
10505 maybe-TAGS-hello: TAGS-hello
10509 @[ -f ./hello/Makefile ] || exit 0; \
10510 r=`${PWD_COMMAND}`; export r; \
10511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10514 for flag in $(EXTRA_HOST_FLAGS) ; do \
10515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10517 echo "Doing TAGS in hello" ; \
10519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10521 "RANLIB=$${RANLIB}" \
10522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10528 .PHONY: maybe-install-info-hello install-info-hello
10529 maybe-install-info-hello:
10531 maybe-install-info-hello: install-info-hello
10533 install-info-hello: \
10536 @[ -f ./hello/Makefile ] || exit 0; \
10537 r=`${PWD_COMMAND}`; export r; \
10538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10541 for flag in $(EXTRA_HOST_FLAGS) ; do \
10542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10544 echo "Doing install-info in hello" ; \
10546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10548 "RANLIB=$${RANLIB}" \
10549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10555 .PHONY: maybe-installcheck-hello installcheck-hello
10556 maybe-installcheck-hello:
10558 maybe-installcheck-hello: installcheck-hello
10560 installcheck-hello: \
10562 @[ -f ./hello/Makefile ] || exit 0; \
10563 r=`${PWD_COMMAND}`; export r; \
10564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10567 for flag in $(EXTRA_HOST_FLAGS) ; do \
10568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10570 echo "Doing installcheck in hello" ; \
10572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10574 "RANLIB=$${RANLIB}" \
10575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10581 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
10582 maybe-mostlyclean-hello:
10584 maybe-mostlyclean-hello: mostlyclean-hello
10587 @[ -f ./hello/Makefile ] || exit 0; \
10588 r=`${PWD_COMMAND}`; export r; \
10589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10592 for flag in $(EXTRA_HOST_FLAGS) ; do \
10593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10595 echo "Doing mostlyclean in hello" ; \
10597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10599 "RANLIB=$${RANLIB}" \
10600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10606 .PHONY: maybe-clean-hello clean-hello
10609 maybe-clean-hello: clean-hello
10612 @[ -f ./hello/Makefile ] || exit 0; \
10613 r=`${PWD_COMMAND}`; export r; \
10614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10617 for flag in $(EXTRA_HOST_FLAGS) ; do \
10618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10620 echo "Doing clean in hello" ; \
10622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10624 "RANLIB=$${RANLIB}" \
10625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10631 .PHONY: maybe-distclean-hello distclean-hello
10632 maybe-distclean-hello:
10634 maybe-distclean-hello: distclean-hello
10637 @[ -f ./hello/Makefile ] || exit 0; \
10638 r=`${PWD_COMMAND}`; export r; \
10639 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 distclean in hello" ; \
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}" \
10656 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
10657 maybe-maintainer-clean-hello:
10659 maybe-maintainer-clean-hello: maintainer-clean-hello
10661 maintainer-clean-hello:
10662 @[ -f ./hello/Makefile ] || exit 0; \
10663 r=`${PWD_COMMAND}`; export r; \
10664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10667 for flag in $(EXTRA_HOST_FLAGS) ; do \
10668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10670 echo "Doing maintainer-clean in hello" ; \
10672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10674 "RANLIB=$${RANLIB}" \
10675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10676 maintainer-clean) \
10682 .PHONY: configure-indent maybe-configure-indent
10683 maybe-configure-indent:
10685 maybe-configure-indent: configure-indent
10687 @test ! -f indent/Makefile || exit 0; \
10688 [ -d indent ] || mkdir indent; \
10689 r=`${PWD_COMMAND}`; export r; \
10690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10692 echo Configuring in indent; \
10693 cd indent || exit 1; \
10694 case $(srcdir) in \
10696 srcdiroption="--srcdir=."; \
10698 /* | [A-Za-z]:[\\/]*) \
10699 srcdiroption="--srcdir=$(srcdir)/indent"; \
10700 libsrcdir="$$s/indent";; \
10702 srcdiroption="--srcdir=../$(srcdir)/indent"; \
10703 libsrcdir="$$s/indent";; \
10705 $(SHELL) $${libsrcdir}/configure \
10706 $(HOST_CONFIGARGS) $${srcdiroption} \
10710 .PHONY: all-indent maybe-all-indent
10713 maybe-all-indent: all-indent
10714 all-indent: configure-indent
10715 @r=`${PWD_COMMAND}`; export r; \
10716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10719 (cd indent && $(MAKE) $(FLAGS_TO_PASS) all)
10722 .PHONY: check-indent maybe-check-indent
10723 maybe-check-indent:
10725 maybe-check-indent: check-indent
10728 @r=`${PWD_COMMAND}`; export r; \
10729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10732 (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
10736 .PHONY: install-indent maybe-install-indent
10737 maybe-install-indent:
10739 maybe-install-indent: install-indent
10741 install-indent: installdirs
10742 @r=`${PWD_COMMAND}`; export r; \
10743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10746 (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
10750 # Other targets (info, dvi, etc.)
10752 .PHONY: maybe-info-indent info-indent
10755 maybe-info-indent: info-indent
10759 @[ -f ./indent/Makefile ] || exit 0; \
10760 r=`${PWD_COMMAND}`; export r; \
10761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10764 for flag in $(EXTRA_HOST_FLAGS) ; do \
10765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10767 echo "Doing info in indent" ; \
10769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10771 "RANLIB=$${RANLIB}" \
10772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10778 .PHONY: maybe-dvi-indent dvi-indent
10781 maybe-dvi-indent: dvi-indent
10785 @[ -f ./indent/Makefile ] || exit 0; \
10786 r=`${PWD_COMMAND}`; export r; \
10787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10790 for flag in $(EXTRA_HOST_FLAGS) ; do \
10791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10793 echo "Doing dvi in indent" ; \
10795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10797 "RANLIB=$${RANLIB}" \
10798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10804 .PHONY: maybe-TAGS-indent TAGS-indent
10807 maybe-TAGS-indent: TAGS-indent
10811 @[ -f ./indent/Makefile ] || exit 0; \
10812 r=`${PWD_COMMAND}`; export r; \
10813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10816 for flag in $(EXTRA_HOST_FLAGS) ; do \
10817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10819 echo "Doing TAGS in indent" ; \
10821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10823 "RANLIB=$${RANLIB}" \
10824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10830 .PHONY: maybe-install-info-indent install-info-indent
10831 maybe-install-info-indent:
10833 maybe-install-info-indent: install-info-indent
10835 install-info-indent: \
10838 @[ -f ./indent/Makefile ] || exit 0; \
10839 r=`${PWD_COMMAND}`; export r; \
10840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10843 for flag in $(EXTRA_HOST_FLAGS) ; do \
10844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10846 echo "Doing install-info in indent" ; \
10848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10850 "RANLIB=$${RANLIB}" \
10851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10857 .PHONY: maybe-installcheck-indent installcheck-indent
10858 maybe-installcheck-indent:
10860 maybe-installcheck-indent: installcheck-indent
10862 installcheck-indent: \
10864 @[ -f ./indent/Makefile ] || exit 0; \
10865 r=`${PWD_COMMAND}`; export r; \
10866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10869 for flag in $(EXTRA_HOST_FLAGS) ; do \
10870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10872 echo "Doing installcheck in indent" ; \
10874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10876 "RANLIB=$${RANLIB}" \
10877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10883 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
10884 maybe-mostlyclean-indent:
10886 maybe-mostlyclean-indent: mostlyclean-indent
10888 mostlyclean-indent:
10889 @[ -f ./indent/Makefile ] || exit 0; \
10890 r=`${PWD_COMMAND}`; export r; \
10891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10894 for flag in $(EXTRA_HOST_FLAGS) ; do \
10895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10897 echo "Doing mostlyclean in indent" ; \
10899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10901 "RANLIB=$${RANLIB}" \
10902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10908 .PHONY: maybe-clean-indent clean-indent
10909 maybe-clean-indent:
10911 maybe-clean-indent: clean-indent
10914 @[ -f ./indent/Makefile ] || exit 0; \
10915 r=`${PWD_COMMAND}`; export r; \
10916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10919 for flag in $(EXTRA_HOST_FLAGS) ; do \
10920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10922 echo "Doing clean in indent" ; \
10924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10926 "RANLIB=$${RANLIB}" \
10927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10933 .PHONY: maybe-distclean-indent distclean-indent
10934 maybe-distclean-indent:
10936 maybe-distclean-indent: distclean-indent
10939 @[ -f ./indent/Makefile ] || exit 0; \
10940 r=`${PWD_COMMAND}`; export r; \
10941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10944 for flag in $(EXTRA_HOST_FLAGS) ; do \
10945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10947 echo "Doing distclean in indent" ; \
10949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10951 "RANLIB=$${RANLIB}" \
10952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10958 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
10959 maybe-maintainer-clean-indent:
10961 maybe-maintainer-clean-indent: maintainer-clean-indent
10963 maintainer-clean-indent:
10964 @[ -f ./indent/Makefile ] || exit 0; \
10965 r=`${PWD_COMMAND}`; export r; \
10966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10969 for flag in $(EXTRA_HOST_FLAGS) ; do \
10970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10972 echo "Doing maintainer-clean in indent" ; \
10974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10976 "RANLIB=$${RANLIB}" \
10977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10978 maintainer-clean) \
10984 .PHONY: configure-intl maybe-configure-intl
10985 maybe-configure-intl:
10987 maybe-configure-intl: configure-intl
10989 @test -f stage_last && exit 0; \
10990 test ! -f intl/Makefile || exit 0; \
10991 [ -d intl ] || mkdir intl; \
10992 r=`${PWD_COMMAND}`; export r; \
10993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10995 echo Configuring in intl; \
10996 cd intl || exit 1; \
10997 case $(srcdir) in \
10999 srcdiroption="--srcdir=."; \
11001 /* | [A-Za-z]:[\\/]*) \
11002 srcdiroption="--srcdir=$(srcdir)/intl"; \
11003 libsrcdir="$$s/intl";; \
11005 srcdiroption="--srcdir=../$(srcdir)/intl"; \
11006 libsrcdir="$$s/intl";; \
11008 $(SHELL) $${libsrcdir}/configure \
11009 $(HOST_CONFIGARGS) $${srcdiroption} \
11013 .PHONY: all-intl maybe-all-intl
11016 maybe-all-intl: all-intl
11017 all-intl: configure-intl
11018 @test -f stage_last && exit 0; \
11019 r=`${PWD_COMMAND}`; export r; \
11020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11023 (cd intl && $(MAKE) $(FLAGS_TO_PASS) all)
11026 .PHONY: check-intl maybe-check-intl
11029 maybe-check-intl: check-intl
11032 @r=`${PWD_COMMAND}`; export r; \
11033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11036 (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
11040 .PHONY: install-intl maybe-install-intl
11041 maybe-install-intl:
11043 maybe-install-intl: install-intl
11045 install-intl: installdirs
11046 @r=`${PWD_COMMAND}`; export r; \
11047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11050 (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
11054 # Other targets (info, dvi, etc.)
11056 .PHONY: maybe-info-intl info-intl
11059 maybe-info-intl: info-intl
11063 @[ -f ./intl/Makefile ] || exit 0; \
11064 r=`${PWD_COMMAND}`; export r; \
11065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11068 for flag in $(EXTRA_HOST_FLAGS) ; do \
11069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11071 echo "Doing info in intl" ; \
11073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11075 "RANLIB=$${RANLIB}" \
11076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11082 .PHONY: maybe-dvi-intl dvi-intl
11085 maybe-dvi-intl: dvi-intl
11089 @[ -f ./intl/Makefile ] || exit 0; \
11090 r=`${PWD_COMMAND}`; export r; \
11091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11094 for flag in $(EXTRA_HOST_FLAGS) ; do \
11095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11097 echo "Doing dvi in intl" ; \
11099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11101 "RANLIB=$${RANLIB}" \
11102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11108 .PHONY: maybe-TAGS-intl TAGS-intl
11111 maybe-TAGS-intl: TAGS-intl
11115 @[ -f ./intl/Makefile ] || exit 0; \
11116 r=`${PWD_COMMAND}`; export r; \
11117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11120 for flag in $(EXTRA_HOST_FLAGS) ; do \
11121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11123 echo "Doing TAGS in intl" ; \
11125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11127 "RANLIB=$${RANLIB}" \
11128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11134 .PHONY: maybe-install-info-intl install-info-intl
11135 maybe-install-info-intl:
11137 maybe-install-info-intl: install-info-intl
11139 install-info-intl: \
11142 @[ -f ./intl/Makefile ] || exit 0; \
11143 r=`${PWD_COMMAND}`; export r; \
11144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11147 for flag in $(EXTRA_HOST_FLAGS) ; do \
11148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11150 echo "Doing install-info in intl" ; \
11152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11154 "RANLIB=$${RANLIB}" \
11155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11161 .PHONY: maybe-installcheck-intl installcheck-intl
11162 maybe-installcheck-intl:
11164 maybe-installcheck-intl: installcheck-intl
11166 installcheck-intl: \
11168 @[ -f ./intl/Makefile ] || exit 0; \
11169 r=`${PWD_COMMAND}`; export r; \
11170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11173 for flag in $(EXTRA_HOST_FLAGS) ; do \
11174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11176 echo "Doing installcheck in intl" ; \
11178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11180 "RANLIB=$${RANLIB}" \
11181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11187 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
11188 maybe-mostlyclean-intl:
11190 maybe-mostlyclean-intl: mostlyclean-intl
11193 @[ -f ./intl/Makefile ] || exit 0; \
11194 r=`${PWD_COMMAND}`; export r; \
11195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11198 for flag in $(EXTRA_HOST_FLAGS) ; do \
11199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11201 echo "Doing mostlyclean in intl" ; \
11203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11205 "RANLIB=$${RANLIB}" \
11206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11212 .PHONY: maybe-clean-intl clean-intl
11215 maybe-clean-intl: clean-intl
11218 @[ -f ./intl/Makefile ] || exit 0; \
11219 r=`${PWD_COMMAND}`; export r; \
11220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11223 for flag in $(EXTRA_HOST_FLAGS) ; do \
11224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11226 echo "Doing clean in intl" ; \
11228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11230 "RANLIB=$${RANLIB}" \
11231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11237 .PHONY: maybe-distclean-intl distclean-intl
11238 maybe-distclean-intl:
11240 maybe-distclean-intl: distclean-intl
11243 @[ -f ./intl/Makefile ] || exit 0; \
11244 r=`${PWD_COMMAND}`; export r; \
11245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11248 for flag in $(EXTRA_HOST_FLAGS) ; do \
11249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11251 echo "Doing distclean in intl" ; \
11253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11255 "RANLIB=$${RANLIB}" \
11256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11262 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
11263 maybe-maintainer-clean-intl:
11265 maybe-maintainer-clean-intl: maintainer-clean-intl
11267 maintainer-clean-intl:
11268 @[ -f ./intl/Makefile ] || exit 0; \
11269 r=`${PWD_COMMAND}`; export r; \
11270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11273 for flag in $(EXTRA_HOST_FLAGS) ; do \
11274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11276 echo "Doing maintainer-clean in intl" ; \
11278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11280 "RANLIB=$${RANLIB}" \
11281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11282 maintainer-clean) \
11288 .PHONY: configure-tcl maybe-configure-tcl
11289 maybe-configure-tcl:
11291 maybe-configure-tcl: configure-tcl
11293 @test ! -f tcl/Makefile || exit 0; \
11294 [ -d tcl ] || mkdir tcl; \
11295 r=`${PWD_COMMAND}`; export r; \
11296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11298 echo Configuring in tcl; \
11299 cd tcl || exit 1; \
11300 case $(srcdir) in \
11302 srcdiroption="--srcdir=."; \
11304 /* | [A-Za-z]:[\\/]*) \
11305 srcdiroption="--srcdir=$(srcdir)/tcl"; \
11306 libsrcdir="$$s/tcl";; \
11308 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
11309 libsrcdir="$$s/tcl";; \
11311 $(SHELL) $${libsrcdir}/configure \
11312 $(HOST_CONFIGARGS) $${srcdiroption} \
11316 .PHONY: all-tcl maybe-all-tcl
11319 maybe-all-tcl: all-tcl
11320 all-tcl: configure-tcl
11321 @r=`${PWD_COMMAND}`; export r; \
11322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11325 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) all)
11328 .PHONY: check-tcl maybe-check-tcl
11331 maybe-check-tcl: check-tcl
11334 @r=`${PWD_COMMAND}`; export r; \
11335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11338 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
11342 .PHONY: install-tcl maybe-install-tcl
11345 maybe-install-tcl: install-tcl
11347 install-tcl: installdirs
11348 @r=`${PWD_COMMAND}`; export r; \
11349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11352 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
11356 # Other targets (info, dvi, etc.)
11358 .PHONY: maybe-info-tcl info-tcl
11361 maybe-info-tcl: info-tcl
11365 @[ -f ./tcl/Makefile ] || exit 0; \
11366 r=`${PWD_COMMAND}`; export r; \
11367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11370 for flag in $(EXTRA_HOST_FLAGS) ; do \
11371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11373 echo "Doing info in tcl" ; \
11375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11377 "RANLIB=$${RANLIB}" \
11378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11384 .PHONY: maybe-dvi-tcl dvi-tcl
11387 maybe-dvi-tcl: dvi-tcl
11391 @[ -f ./tcl/Makefile ] || exit 0; \
11392 r=`${PWD_COMMAND}`; export r; \
11393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11396 for flag in $(EXTRA_HOST_FLAGS) ; do \
11397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11399 echo "Doing dvi in tcl" ; \
11401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11403 "RANLIB=$${RANLIB}" \
11404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11410 .PHONY: maybe-TAGS-tcl TAGS-tcl
11413 maybe-TAGS-tcl: TAGS-tcl
11417 @[ -f ./tcl/Makefile ] || exit 0; \
11418 r=`${PWD_COMMAND}`; export r; \
11419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11422 for flag in $(EXTRA_HOST_FLAGS) ; do \
11423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11425 echo "Doing TAGS in tcl" ; \
11427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11429 "RANLIB=$${RANLIB}" \
11430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11436 .PHONY: maybe-install-info-tcl install-info-tcl
11437 maybe-install-info-tcl:
11439 maybe-install-info-tcl: install-info-tcl
11441 install-info-tcl: \
11444 @[ -f ./tcl/Makefile ] || exit 0; \
11445 r=`${PWD_COMMAND}`; export r; \
11446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11449 for flag in $(EXTRA_HOST_FLAGS) ; do \
11450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11452 echo "Doing install-info in tcl" ; \
11454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11456 "RANLIB=$${RANLIB}" \
11457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11463 .PHONY: maybe-installcheck-tcl installcheck-tcl
11464 maybe-installcheck-tcl:
11466 maybe-installcheck-tcl: installcheck-tcl
11468 installcheck-tcl: \
11470 @[ -f ./tcl/Makefile ] || exit 0; \
11471 r=`${PWD_COMMAND}`; export r; \
11472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11475 for flag in $(EXTRA_HOST_FLAGS) ; do \
11476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11478 echo "Doing installcheck in tcl" ; \
11480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11482 "RANLIB=$${RANLIB}" \
11483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11489 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
11490 maybe-mostlyclean-tcl:
11492 maybe-mostlyclean-tcl: mostlyclean-tcl
11494 # tcl doesn't support mostlyclean.
11499 .PHONY: maybe-clean-tcl clean-tcl
11502 maybe-clean-tcl: clean-tcl
11505 @[ -f ./tcl/Makefile ] || exit 0; \
11506 r=`${PWD_COMMAND}`; export r; \
11507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11510 for flag in $(EXTRA_HOST_FLAGS) ; do \
11511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11513 echo "Doing clean in tcl" ; \
11515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11517 "RANLIB=$${RANLIB}" \
11518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11524 .PHONY: maybe-distclean-tcl distclean-tcl
11525 maybe-distclean-tcl:
11527 maybe-distclean-tcl: distclean-tcl
11530 @[ -f ./tcl/Makefile ] || exit 0; \
11531 r=`${PWD_COMMAND}`; export r; \
11532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11535 for flag in $(EXTRA_HOST_FLAGS) ; do \
11536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11538 echo "Doing distclean in tcl" ; \
11540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11542 "RANLIB=$${RANLIB}" \
11543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11549 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
11550 maybe-maintainer-clean-tcl:
11552 maybe-maintainer-clean-tcl: maintainer-clean-tcl
11554 maintainer-clean-tcl:
11555 @[ -f ./tcl/Makefile ] || exit 0; \
11556 r=`${PWD_COMMAND}`; export r; \
11557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11560 for flag in $(EXTRA_HOST_FLAGS) ; do \
11561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11563 echo "Doing maintainer-clean in tcl" ; \
11565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11567 "RANLIB=$${RANLIB}" \
11568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11569 maintainer-clean) \
11575 .PHONY: configure-itcl maybe-configure-itcl
11576 maybe-configure-itcl:
11578 maybe-configure-itcl: configure-itcl
11580 @test ! -f itcl/Makefile || exit 0; \
11581 [ -d itcl ] || mkdir itcl; \
11582 r=`${PWD_COMMAND}`; export r; \
11583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11585 echo Configuring in itcl; \
11586 cd itcl || exit 1; \
11587 case $(srcdir) in \
11589 srcdiroption="--srcdir=."; \
11591 /* | [A-Za-z]:[\\/]*) \
11592 srcdiroption="--srcdir=$(srcdir)/itcl"; \
11593 libsrcdir="$$s/itcl";; \
11595 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
11596 libsrcdir="$$s/itcl";; \
11598 $(SHELL) $${libsrcdir}/configure \
11599 $(HOST_CONFIGARGS) $${srcdiroption} \
11603 .PHONY: all-itcl maybe-all-itcl
11606 maybe-all-itcl: all-itcl
11607 all-itcl: configure-itcl
11608 @r=`${PWD_COMMAND}`; export r; \
11609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11612 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) all)
11615 .PHONY: check-itcl maybe-check-itcl
11618 maybe-check-itcl: check-itcl
11621 @r=`${PWD_COMMAND}`; export r; \
11622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11625 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
11629 .PHONY: install-itcl maybe-install-itcl
11630 maybe-install-itcl:
11632 maybe-install-itcl: install-itcl
11634 install-itcl: installdirs
11635 @r=`${PWD_COMMAND}`; export r; \
11636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11639 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
11643 # Other targets (info, dvi, etc.)
11645 .PHONY: maybe-info-itcl info-itcl
11648 maybe-info-itcl: info-itcl
11652 @[ -f ./itcl/Makefile ] || exit 0; \
11653 r=`${PWD_COMMAND}`; export r; \
11654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11657 for flag in $(EXTRA_HOST_FLAGS) ; do \
11658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11660 echo "Doing info in itcl" ; \
11662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11664 "RANLIB=$${RANLIB}" \
11665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11671 .PHONY: maybe-dvi-itcl dvi-itcl
11674 maybe-dvi-itcl: dvi-itcl
11678 @[ -f ./itcl/Makefile ] || exit 0; \
11679 r=`${PWD_COMMAND}`; export r; \
11680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11683 for flag in $(EXTRA_HOST_FLAGS) ; do \
11684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11686 echo "Doing dvi in itcl" ; \
11688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11690 "RANLIB=$${RANLIB}" \
11691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11697 .PHONY: maybe-TAGS-itcl TAGS-itcl
11700 maybe-TAGS-itcl: TAGS-itcl
11704 @[ -f ./itcl/Makefile ] || exit 0; \
11705 r=`${PWD_COMMAND}`; export r; \
11706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11709 for flag in $(EXTRA_HOST_FLAGS) ; do \
11710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11712 echo "Doing TAGS in itcl" ; \
11714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11716 "RANLIB=$${RANLIB}" \
11717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11723 .PHONY: maybe-install-info-itcl install-info-itcl
11724 maybe-install-info-itcl:
11726 maybe-install-info-itcl: install-info-itcl
11728 install-info-itcl: \
11731 @[ -f ./itcl/Makefile ] || exit 0; \
11732 r=`${PWD_COMMAND}`; export r; \
11733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11736 for flag in $(EXTRA_HOST_FLAGS) ; do \
11737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11739 echo "Doing install-info in itcl" ; \
11741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11743 "RANLIB=$${RANLIB}" \
11744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11750 .PHONY: maybe-installcheck-itcl installcheck-itcl
11751 maybe-installcheck-itcl:
11753 maybe-installcheck-itcl: installcheck-itcl
11755 installcheck-itcl: \
11757 @[ -f ./itcl/Makefile ] || exit 0; \
11758 r=`${PWD_COMMAND}`; export r; \
11759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11762 for flag in $(EXTRA_HOST_FLAGS) ; do \
11763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11765 echo "Doing installcheck in itcl" ; \
11767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11769 "RANLIB=$${RANLIB}" \
11770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11776 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
11777 maybe-mostlyclean-itcl:
11779 maybe-mostlyclean-itcl: mostlyclean-itcl
11782 @[ -f ./itcl/Makefile ] || exit 0; \
11783 r=`${PWD_COMMAND}`; export r; \
11784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11787 for flag in $(EXTRA_HOST_FLAGS) ; do \
11788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11790 echo "Doing mostlyclean in itcl" ; \
11792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11794 "RANLIB=$${RANLIB}" \
11795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11801 .PHONY: maybe-clean-itcl clean-itcl
11804 maybe-clean-itcl: clean-itcl
11807 @[ -f ./itcl/Makefile ] || exit 0; \
11808 r=`${PWD_COMMAND}`; export r; \
11809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11812 for flag in $(EXTRA_HOST_FLAGS) ; do \
11813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11815 echo "Doing clean in itcl" ; \
11817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11819 "RANLIB=$${RANLIB}" \
11820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11826 .PHONY: maybe-distclean-itcl distclean-itcl
11827 maybe-distclean-itcl:
11829 maybe-distclean-itcl: distclean-itcl
11832 @[ -f ./itcl/Makefile ] || exit 0; \
11833 r=`${PWD_COMMAND}`; export r; \
11834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11837 for flag in $(EXTRA_HOST_FLAGS) ; do \
11838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11840 echo "Doing distclean in itcl" ; \
11842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11844 "RANLIB=$${RANLIB}" \
11845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11851 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
11852 maybe-maintainer-clean-itcl:
11854 maybe-maintainer-clean-itcl: maintainer-clean-itcl
11856 maintainer-clean-itcl:
11857 @[ -f ./itcl/Makefile ] || exit 0; \
11858 r=`${PWD_COMMAND}`; export r; \
11859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11862 for flag in $(EXTRA_HOST_FLAGS) ; do \
11863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11865 echo "Doing maintainer-clean in itcl" ; \
11867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11869 "RANLIB=$${RANLIB}" \
11870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11871 maintainer-clean) \
11877 .PHONY: configure-ld maybe-configure-ld
11878 maybe-configure-ld:
11880 maybe-configure-ld: configure-ld
11882 @test -f stage_last && exit 0; \
11883 test ! -f ld/Makefile || exit 0; \
11884 [ -d ld ] || mkdir ld; \
11885 r=`${PWD_COMMAND}`; export r; \
11886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11888 echo Configuring in ld; \
11890 case $(srcdir) in \
11892 srcdiroption="--srcdir=."; \
11894 /* | [A-Za-z]:[\\/]*) \
11895 srcdiroption="--srcdir=$(srcdir)/ld"; \
11896 libsrcdir="$$s/ld";; \
11898 srcdiroption="--srcdir=../$(srcdir)/ld"; \
11899 libsrcdir="$$s/ld";; \
11901 $(SHELL) $${libsrcdir}/configure \
11902 $(HOST_CONFIGARGS) $${srcdiroption} \
11906 .PHONY: all-ld maybe-all-ld
11909 maybe-all-ld: all-ld
11910 all-ld: configure-ld
11911 @test -f stage_last && exit 0; \
11912 r=`${PWD_COMMAND}`; export r; \
11913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11916 (cd ld && $(MAKE) $(FLAGS_TO_PASS) all)
11919 .PHONY: check-ld maybe-check-ld
11922 maybe-check-ld: check-ld
11925 @r=`${PWD_COMMAND}`; export r; \
11926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11929 (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
11933 .PHONY: install-ld maybe-install-ld
11936 maybe-install-ld: install-ld
11938 install-ld: installdirs
11939 @r=`${PWD_COMMAND}`; export r; \
11940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11943 (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
11947 # Other targets (info, dvi, etc.)
11949 .PHONY: maybe-info-ld info-ld
11952 maybe-info-ld: info-ld
11956 @[ -f ./ld/Makefile ] || exit 0; \
11957 r=`${PWD_COMMAND}`; export r; \
11958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11961 for flag in $(EXTRA_HOST_FLAGS) ; do \
11962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11964 echo "Doing info in ld" ; \
11966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11968 "RANLIB=$${RANLIB}" \
11969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11975 .PHONY: maybe-dvi-ld dvi-ld
11978 maybe-dvi-ld: dvi-ld
11982 @[ -f ./ld/Makefile ] || exit 0; \
11983 r=`${PWD_COMMAND}`; export r; \
11984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11987 for flag in $(EXTRA_HOST_FLAGS) ; do \
11988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11990 echo "Doing dvi in ld" ; \
11992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11994 "RANLIB=$${RANLIB}" \
11995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12001 .PHONY: maybe-TAGS-ld TAGS-ld
12004 maybe-TAGS-ld: TAGS-ld
12008 @[ -f ./ld/Makefile ] || exit 0; \
12009 r=`${PWD_COMMAND}`; export r; \
12010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12013 for flag in $(EXTRA_HOST_FLAGS) ; do \
12014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12016 echo "Doing TAGS in ld" ; \
12018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12020 "RANLIB=$${RANLIB}" \
12021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12027 .PHONY: maybe-install-info-ld install-info-ld
12028 maybe-install-info-ld:
12030 maybe-install-info-ld: install-info-ld
12035 @[ -f ./ld/Makefile ] || exit 0; \
12036 r=`${PWD_COMMAND}`; export r; \
12037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12040 for flag in $(EXTRA_HOST_FLAGS) ; do \
12041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12043 echo "Doing install-info in ld" ; \
12045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12047 "RANLIB=$${RANLIB}" \
12048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12054 .PHONY: maybe-installcheck-ld installcheck-ld
12055 maybe-installcheck-ld:
12057 maybe-installcheck-ld: installcheck-ld
12061 @[ -f ./ld/Makefile ] || exit 0; \
12062 r=`${PWD_COMMAND}`; export r; \
12063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12066 for flag in $(EXTRA_HOST_FLAGS) ; do \
12067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12069 echo "Doing installcheck in ld" ; \
12071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12073 "RANLIB=$${RANLIB}" \
12074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12080 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
12081 maybe-mostlyclean-ld:
12083 maybe-mostlyclean-ld: mostlyclean-ld
12086 @[ -f ./ld/Makefile ] || exit 0; \
12087 r=`${PWD_COMMAND}`; export r; \
12088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12091 for flag in $(EXTRA_HOST_FLAGS) ; do \
12092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12094 echo "Doing mostlyclean in ld" ; \
12096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12098 "RANLIB=$${RANLIB}" \
12099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12105 .PHONY: maybe-clean-ld clean-ld
12108 maybe-clean-ld: clean-ld
12111 @[ -f ./ld/Makefile ] || exit 0; \
12112 r=`${PWD_COMMAND}`; export r; \
12113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12116 for flag in $(EXTRA_HOST_FLAGS) ; do \
12117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12119 echo "Doing clean in ld" ; \
12121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12123 "RANLIB=$${RANLIB}" \
12124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12130 .PHONY: maybe-distclean-ld distclean-ld
12131 maybe-distclean-ld:
12133 maybe-distclean-ld: distclean-ld
12136 @[ -f ./ld/Makefile ] || exit 0; \
12137 r=`${PWD_COMMAND}`; export r; \
12138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12141 for flag in $(EXTRA_HOST_FLAGS) ; do \
12142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12144 echo "Doing distclean in ld" ; \
12146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12148 "RANLIB=$${RANLIB}" \
12149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12155 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
12156 maybe-maintainer-clean-ld:
12158 maybe-maintainer-clean-ld: maintainer-clean-ld
12160 maintainer-clean-ld:
12161 @[ -f ./ld/Makefile ] || exit 0; \
12162 r=`${PWD_COMMAND}`; export r; \
12163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12166 for flag in $(EXTRA_HOST_FLAGS) ; do \
12167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12169 echo "Doing maintainer-clean in ld" ; \
12171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12173 "RANLIB=$${RANLIB}" \
12174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12175 maintainer-clean) \
12181 .PHONY: configure-libcpp maybe-configure-libcpp
12182 maybe-configure-libcpp:
12184 maybe-configure-libcpp: configure-libcpp
12186 @test -f stage_last && exit 0; \
12187 test ! -f libcpp/Makefile || exit 0; \
12188 [ -d libcpp ] || mkdir libcpp; \
12189 r=`${PWD_COMMAND}`; export r; \
12190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12192 echo Configuring in libcpp; \
12193 cd libcpp || exit 1; \
12194 case $(srcdir) in \
12196 srcdiroption="--srcdir=."; \
12198 /* | [A-Za-z]:[\\/]*) \
12199 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
12200 libsrcdir="$$s/libcpp";; \
12202 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
12203 libsrcdir="$$s/libcpp";; \
12205 $(SHELL) $${libsrcdir}/configure \
12206 $(HOST_CONFIGARGS) $${srcdiroption} \
12210 .PHONY: all-libcpp maybe-all-libcpp
12213 maybe-all-libcpp: all-libcpp
12214 all-libcpp: configure-libcpp
12215 @test -f stage_last && exit 0; \
12216 r=`${PWD_COMMAND}`; export r; \
12217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12220 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) all)
12223 .PHONY: check-libcpp maybe-check-libcpp
12224 maybe-check-libcpp:
12226 maybe-check-libcpp: check-libcpp
12229 @r=`${PWD_COMMAND}`; export r; \
12230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12233 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) check)
12237 .PHONY: install-libcpp maybe-install-libcpp
12238 maybe-install-libcpp:
12240 maybe-install-libcpp: install-libcpp
12242 install-libcpp: installdirs
12243 @r=`${PWD_COMMAND}`; export r; \
12244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12247 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) install)
12251 # Other targets (info, dvi, etc.)
12253 .PHONY: maybe-info-libcpp info-libcpp
12256 maybe-info-libcpp: info-libcpp
12260 @[ -f ./libcpp/Makefile ] || exit 0; \
12261 r=`${PWD_COMMAND}`; export r; \
12262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12265 for flag in $(EXTRA_HOST_FLAGS) ; do \
12266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12268 echo "Doing info in libcpp" ; \
12270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12272 "RANLIB=$${RANLIB}" \
12273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12279 .PHONY: maybe-dvi-libcpp dvi-libcpp
12282 maybe-dvi-libcpp: dvi-libcpp
12286 @[ -f ./libcpp/Makefile ] || exit 0; \
12287 r=`${PWD_COMMAND}`; export r; \
12288 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 dvi in libcpp" ; \
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}" \
12305 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
12308 maybe-TAGS-libcpp: TAGS-libcpp
12312 @[ -f ./libcpp/Makefile ] || exit 0; \
12313 r=`${PWD_COMMAND}`; export r; \
12314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12317 for flag in $(EXTRA_HOST_FLAGS) ; do \
12318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12320 echo "Doing TAGS in libcpp" ; \
12322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12324 "RANLIB=$${RANLIB}" \
12325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12331 .PHONY: maybe-install-info-libcpp install-info-libcpp
12332 maybe-install-info-libcpp:
12334 maybe-install-info-libcpp: install-info-libcpp
12336 install-info-libcpp: \
12339 @[ -f ./libcpp/Makefile ] || exit 0; \
12340 r=`${PWD_COMMAND}`; export r; \
12341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12344 for flag in $(EXTRA_HOST_FLAGS) ; do \
12345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12347 echo "Doing install-info in libcpp" ; \
12349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12351 "RANLIB=$${RANLIB}" \
12352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12358 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
12359 maybe-installcheck-libcpp:
12361 maybe-installcheck-libcpp: installcheck-libcpp
12363 installcheck-libcpp: \
12365 @[ -f ./libcpp/Makefile ] || exit 0; \
12366 r=`${PWD_COMMAND}`; export r; \
12367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12370 for flag in $(EXTRA_HOST_FLAGS) ; do \
12371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12373 echo "Doing installcheck in libcpp" ; \
12375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12377 "RANLIB=$${RANLIB}" \
12378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12384 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
12385 maybe-mostlyclean-libcpp:
12387 maybe-mostlyclean-libcpp: mostlyclean-libcpp
12389 mostlyclean-libcpp:
12390 @[ -f ./libcpp/Makefile ] || exit 0; \
12391 r=`${PWD_COMMAND}`; export r; \
12392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12395 for flag in $(EXTRA_HOST_FLAGS) ; do \
12396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12398 echo "Doing mostlyclean in libcpp" ; \
12400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12402 "RANLIB=$${RANLIB}" \
12403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12409 .PHONY: maybe-clean-libcpp clean-libcpp
12410 maybe-clean-libcpp:
12412 maybe-clean-libcpp: clean-libcpp
12415 @[ -f ./libcpp/Makefile ] || exit 0; \
12416 r=`${PWD_COMMAND}`; export r; \
12417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12420 for flag in $(EXTRA_HOST_FLAGS) ; do \
12421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12423 echo "Doing clean in libcpp" ; \
12425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12427 "RANLIB=$${RANLIB}" \
12428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12434 .PHONY: maybe-distclean-libcpp distclean-libcpp
12435 maybe-distclean-libcpp:
12437 maybe-distclean-libcpp: distclean-libcpp
12440 @[ -f ./libcpp/Makefile ] || exit 0; \
12441 r=`${PWD_COMMAND}`; export r; \
12442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12445 for flag in $(EXTRA_HOST_FLAGS) ; do \
12446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12448 echo "Doing distclean in libcpp" ; \
12450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12452 "RANLIB=$${RANLIB}" \
12453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12459 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
12460 maybe-maintainer-clean-libcpp:
12462 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
12464 maintainer-clean-libcpp:
12465 @[ -f ./libcpp/Makefile ] || exit 0; \
12466 r=`${PWD_COMMAND}`; export r; \
12467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12470 for flag in $(EXTRA_HOST_FLAGS) ; do \
12471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12473 echo "Doing maintainer-clean in libcpp" ; \
12475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12477 "RANLIB=$${RANLIB}" \
12478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12479 maintainer-clean) \
12485 .PHONY: configure-libgui maybe-configure-libgui
12486 maybe-configure-libgui:
12488 maybe-configure-libgui: configure-libgui
12490 @test ! -f libgui/Makefile || exit 0; \
12491 [ -d libgui ] || mkdir libgui; \
12492 r=`${PWD_COMMAND}`; export r; \
12493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12495 echo Configuring in libgui; \
12496 cd libgui || exit 1; \
12497 case $(srcdir) in \
12499 srcdiroption="--srcdir=."; \
12501 /* | [A-Za-z]:[\\/]*) \
12502 srcdiroption="--srcdir=$(srcdir)/libgui"; \
12503 libsrcdir="$$s/libgui";; \
12505 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
12506 libsrcdir="$$s/libgui";; \
12508 $(SHELL) $${libsrcdir}/configure \
12509 $(HOST_CONFIGARGS) $${srcdiroption} \
12513 .PHONY: all-libgui maybe-all-libgui
12516 maybe-all-libgui: all-libgui
12517 all-libgui: configure-libgui
12518 @r=`${PWD_COMMAND}`; export r; \
12519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12522 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) all)
12525 .PHONY: check-libgui maybe-check-libgui
12526 maybe-check-libgui:
12528 maybe-check-libgui: check-libgui
12531 @r=`${PWD_COMMAND}`; export r; \
12532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12535 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
12539 .PHONY: install-libgui maybe-install-libgui
12540 maybe-install-libgui:
12542 maybe-install-libgui: install-libgui
12544 install-libgui: installdirs
12545 @r=`${PWD_COMMAND}`; export r; \
12546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12549 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
12553 # Other targets (info, dvi, etc.)
12555 .PHONY: maybe-info-libgui info-libgui
12558 maybe-info-libgui: info-libgui
12562 @[ -f ./libgui/Makefile ] || exit 0; \
12563 r=`${PWD_COMMAND}`; export r; \
12564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12567 for flag in $(EXTRA_HOST_FLAGS) ; do \
12568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12570 echo "Doing info in libgui" ; \
12572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12574 "RANLIB=$${RANLIB}" \
12575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12581 .PHONY: maybe-dvi-libgui dvi-libgui
12584 maybe-dvi-libgui: dvi-libgui
12588 @[ -f ./libgui/Makefile ] || exit 0; \
12589 r=`${PWD_COMMAND}`; export r; \
12590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12593 for flag in $(EXTRA_HOST_FLAGS) ; do \
12594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12596 echo "Doing dvi in libgui" ; \
12598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12600 "RANLIB=$${RANLIB}" \
12601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12607 .PHONY: maybe-TAGS-libgui TAGS-libgui
12610 maybe-TAGS-libgui: TAGS-libgui
12614 @[ -f ./libgui/Makefile ] || exit 0; \
12615 r=`${PWD_COMMAND}`; export r; \
12616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12619 for flag in $(EXTRA_HOST_FLAGS) ; do \
12620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12622 echo "Doing TAGS in libgui" ; \
12624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12626 "RANLIB=$${RANLIB}" \
12627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12633 .PHONY: maybe-install-info-libgui install-info-libgui
12634 maybe-install-info-libgui:
12636 maybe-install-info-libgui: install-info-libgui
12638 install-info-libgui: \
12641 @[ -f ./libgui/Makefile ] || exit 0; \
12642 r=`${PWD_COMMAND}`; export r; \
12643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12646 for flag in $(EXTRA_HOST_FLAGS) ; do \
12647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12649 echo "Doing install-info in libgui" ; \
12651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12653 "RANLIB=$${RANLIB}" \
12654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12660 .PHONY: maybe-installcheck-libgui installcheck-libgui
12661 maybe-installcheck-libgui:
12663 maybe-installcheck-libgui: installcheck-libgui
12665 installcheck-libgui: \
12667 @[ -f ./libgui/Makefile ] || exit 0; \
12668 r=`${PWD_COMMAND}`; export r; \
12669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12672 for flag in $(EXTRA_HOST_FLAGS) ; do \
12673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12675 echo "Doing installcheck in libgui" ; \
12677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12679 "RANLIB=$${RANLIB}" \
12680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12686 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
12687 maybe-mostlyclean-libgui:
12689 maybe-mostlyclean-libgui: mostlyclean-libgui
12691 mostlyclean-libgui:
12692 @[ -f ./libgui/Makefile ] || exit 0; \
12693 r=`${PWD_COMMAND}`; export r; \
12694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12697 for flag in $(EXTRA_HOST_FLAGS) ; do \
12698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12700 echo "Doing mostlyclean in libgui" ; \
12702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12704 "RANLIB=$${RANLIB}" \
12705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12711 .PHONY: maybe-clean-libgui clean-libgui
12712 maybe-clean-libgui:
12714 maybe-clean-libgui: clean-libgui
12717 @[ -f ./libgui/Makefile ] || exit 0; \
12718 r=`${PWD_COMMAND}`; export r; \
12719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12722 for flag in $(EXTRA_HOST_FLAGS) ; do \
12723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12725 echo "Doing clean in libgui" ; \
12727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12729 "RANLIB=$${RANLIB}" \
12730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12736 .PHONY: maybe-distclean-libgui distclean-libgui
12737 maybe-distclean-libgui:
12739 maybe-distclean-libgui: distclean-libgui
12742 @[ -f ./libgui/Makefile ] || exit 0; \
12743 r=`${PWD_COMMAND}`; export r; \
12744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12747 for flag in $(EXTRA_HOST_FLAGS) ; do \
12748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12750 echo "Doing distclean in libgui" ; \
12752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12754 "RANLIB=$${RANLIB}" \
12755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12761 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
12762 maybe-maintainer-clean-libgui:
12764 maybe-maintainer-clean-libgui: maintainer-clean-libgui
12766 maintainer-clean-libgui:
12767 @[ -f ./libgui/Makefile ] || exit 0; \
12768 r=`${PWD_COMMAND}`; export r; \
12769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12772 for flag in $(EXTRA_HOST_FLAGS) ; do \
12773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12775 echo "Doing maintainer-clean in libgui" ; \
12777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12779 "RANLIB=$${RANLIB}" \
12780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12781 maintainer-clean) \
12787 .PHONY: configure-libiberty maybe-configure-libiberty
12788 maybe-configure-libiberty:
12790 maybe-configure-libiberty: configure-libiberty
12791 configure-libiberty:
12792 @test -f stage_last && exit 0; \
12793 test ! -f libiberty/Makefile || exit 0; \
12794 [ -d libiberty ] || mkdir libiberty; \
12795 r=`${PWD_COMMAND}`; export r; \
12796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12798 echo Configuring in libiberty; \
12799 cd libiberty || exit 1; \
12800 case $(srcdir) in \
12802 srcdiroption="--srcdir=."; \
12804 /* | [A-Za-z]:[\\/]*) \
12805 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
12806 libsrcdir="$$s/libiberty";; \
12808 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
12809 libsrcdir="$$s/libiberty";; \
12811 $(SHELL) $${libsrcdir}/configure \
12812 $(HOST_CONFIGARGS) $${srcdiroption} \
12816 .PHONY: all-libiberty maybe-all-libiberty
12817 maybe-all-libiberty:
12819 maybe-all-libiberty: all-libiberty
12820 all-libiberty: configure-libiberty
12821 @test -f stage_last && exit 0; \
12822 r=`${PWD_COMMAND}`; export r; \
12823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12826 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) all)
12829 .PHONY: check-libiberty maybe-check-libiberty
12830 maybe-check-libiberty:
12832 maybe-check-libiberty: check-libiberty
12835 @r=`${PWD_COMMAND}`; export r; \
12836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12839 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
12843 .PHONY: install-libiberty maybe-install-libiberty
12844 maybe-install-libiberty:
12846 maybe-install-libiberty: install-libiberty
12848 install-libiberty: installdirs
12849 @r=`${PWD_COMMAND}`; export r; \
12850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12853 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
12857 # Other targets (info, dvi, etc.)
12859 .PHONY: maybe-info-libiberty info-libiberty
12860 maybe-info-libiberty:
12862 maybe-info-libiberty: info-libiberty
12865 configure-libiberty
12866 @[ -f ./libiberty/Makefile ] || exit 0; \
12867 r=`${PWD_COMMAND}`; export r; \
12868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12871 for flag in $(EXTRA_HOST_FLAGS) ; do \
12872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12874 echo "Doing info in libiberty" ; \
12876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12878 "RANLIB=$${RANLIB}" \
12879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12885 .PHONY: maybe-dvi-libiberty dvi-libiberty
12886 maybe-dvi-libiberty:
12888 maybe-dvi-libiberty: dvi-libiberty
12891 configure-libiberty
12892 @[ -f ./libiberty/Makefile ] || exit 0; \
12893 r=`${PWD_COMMAND}`; export r; \
12894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12897 for flag in $(EXTRA_HOST_FLAGS) ; do \
12898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12900 echo "Doing dvi in libiberty" ; \
12902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12904 "RANLIB=$${RANLIB}" \
12905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12911 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
12912 maybe-TAGS-libiberty:
12914 maybe-TAGS-libiberty: TAGS-libiberty
12917 configure-libiberty
12918 @[ -f ./libiberty/Makefile ] || exit 0; \
12919 r=`${PWD_COMMAND}`; export r; \
12920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12923 for flag in $(EXTRA_HOST_FLAGS) ; do \
12924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12926 echo "Doing TAGS in libiberty" ; \
12928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12930 "RANLIB=$${RANLIB}" \
12931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12937 .PHONY: maybe-install-info-libiberty install-info-libiberty
12938 maybe-install-info-libiberty:
12940 maybe-install-info-libiberty: install-info-libiberty
12942 install-info-libiberty: \
12943 configure-libiberty \
12945 @[ -f ./libiberty/Makefile ] || exit 0; \
12946 r=`${PWD_COMMAND}`; export r; \
12947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12950 for flag in $(EXTRA_HOST_FLAGS) ; do \
12951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12953 echo "Doing install-info in libiberty" ; \
12955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12957 "RANLIB=$${RANLIB}" \
12958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12964 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
12965 maybe-installcheck-libiberty:
12967 maybe-installcheck-libiberty: installcheck-libiberty
12969 installcheck-libiberty: \
12970 configure-libiberty
12971 @[ -f ./libiberty/Makefile ] || exit 0; \
12972 r=`${PWD_COMMAND}`; export r; \
12973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12976 for flag in $(EXTRA_HOST_FLAGS) ; do \
12977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12979 echo "Doing installcheck in libiberty" ; \
12981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12983 "RANLIB=$${RANLIB}" \
12984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12990 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
12991 maybe-mostlyclean-libiberty:
12993 maybe-mostlyclean-libiberty: mostlyclean-libiberty
12995 mostlyclean-libiberty:
12996 @[ -f ./libiberty/Makefile ] || exit 0; \
12997 r=`${PWD_COMMAND}`; export r; \
12998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13001 for flag in $(EXTRA_HOST_FLAGS) ; do \
13002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13004 echo "Doing mostlyclean in libiberty" ; \
13006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13008 "RANLIB=$${RANLIB}" \
13009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13015 .PHONY: maybe-clean-libiberty clean-libiberty
13016 maybe-clean-libiberty:
13018 maybe-clean-libiberty: clean-libiberty
13021 @[ -f ./libiberty/Makefile ] || exit 0; \
13022 r=`${PWD_COMMAND}`; export r; \
13023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13026 for flag in $(EXTRA_HOST_FLAGS) ; do \
13027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13029 echo "Doing clean in libiberty" ; \
13031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13033 "RANLIB=$${RANLIB}" \
13034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13040 .PHONY: maybe-distclean-libiberty distclean-libiberty
13041 maybe-distclean-libiberty:
13043 maybe-distclean-libiberty: distclean-libiberty
13045 distclean-libiberty:
13046 @[ -f ./libiberty/Makefile ] || exit 0; \
13047 r=`${PWD_COMMAND}`; export r; \
13048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13051 for flag in $(EXTRA_HOST_FLAGS) ; do \
13052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13054 echo "Doing distclean in libiberty" ; \
13056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13058 "RANLIB=$${RANLIB}" \
13059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13065 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
13066 maybe-maintainer-clean-libiberty:
13068 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
13070 maintainer-clean-libiberty:
13071 @[ -f ./libiberty/Makefile ] || exit 0; \
13072 r=`${PWD_COMMAND}`; export r; \
13073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13076 for flag in $(EXTRA_HOST_FLAGS) ; do \
13077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13079 echo "Doing maintainer-clean in libiberty" ; \
13081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13083 "RANLIB=$${RANLIB}" \
13084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13085 maintainer-clean) \
13091 .PHONY: configure-libtool maybe-configure-libtool
13092 maybe-configure-libtool:
13094 maybe-configure-libtool: configure-libtool
13096 @test ! -f libtool/Makefile || exit 0; \
13097 [ -d libtool ] || mkdir libtool; \
13098 r=`${PWD_COMMAND}`; export r; \
13099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13101 echo Configuring in libtool; \
13102 cd libtool || exit 1; \
13103 case $(srcdir) in \
13105 srcdiroption="--srcdir=."; \
13107 /* | [A-Za-z]:[\\/]*) \
13108 srcdiroption="--srcdir=$(srcdir)/libtool"; \
13109 libsrcdir="$$s/libtool";; \
13111 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
13112 libsrcdir="$$s/libtool";; \
13114 $(SHELL) $${libsrcdir}/configure \
13115 $(HOST_CONFIGARGS) $${srcdiroption} \
13119 .PHONY: all-libtool maybe-all-libtool
13122 maybe-all-libtool: all-libtool
13123 all-libtool: configure-libtool
13124 @r=`${PWD_COMMAND}`; export r; \
13125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13128 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) all)
13131 .PHONY: check-libtool maybe-check-libtool
13132 maybe-check-libtool:
13134 maybe-check-libtool: check-libtool
13137 @r=`${PWD_COMMAND}`; export r; \
13138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13141 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
13145 .PHONY: install-libtool maybe-install-libtool
13146 maybe-install-libtool:
13148 maybe-install-libtool: install-libtool
13150 install-libtool: installdirs
13151 @r=`${PWD_COMMAND}`; export r; \
13152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13155 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
13159 # Other targets (info, dvi, etc.)
13161 .PHONY: maybe-info-libtool info-libtool
13162 maybe-info-libtool:
13164 maybe-info-libtool: info-libtool
13168 @[ -f ./libtool/Makefile ] || exit 0; \
13169 r=`${PWD_COMMAND}`; export r; \
13170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13173 for flag in $(EXTRA_HOST_FLAGS) ; do \
13174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13176 echo "Doing info in libtool" ; \
13178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13180 "RANLIB=$${RANLIB}" \
13181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13187 .PHONY: maybe-dvi-libtool dvi-libtool
13190 maybe-dvi-libtool: dvi-libtool
13194 @[ -f ./libtool/Makefile ] || exit 0; \
13195 r=`${PWD_COMMAND}`; export r; \
13196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13199 for flag in $(EXTRA_HOST_FLAGS) ; do \
13200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13202 echo "Doing dvi in libtool" ; \
13204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13206 "RANLIB=$${RANLIB}" \
13207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13213 .PHONY: maybe-TAGS-libtool TAGS-libtool
13214 maybe-TAGS-libtool:
13216 maybe-TAGS-libtool: TAGS-libtool
13220 @[ -f ./libtool/Makefile ] || exit 0; \
13221 r=`${PWD_COMMAND}`; export r; \
13222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13225 for flag in $(EXTRA_HOST_FLAGS) ; do \
13226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13228 echo "Doing TAGS in libtool" ; \
13230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13232 "RANLIB=$${RANLIB}" \
13233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13239 .PHONY: maybe-install-info-libtool install-info-libtool
13240 maybe-install-info-libtool:
13242 maybe-install-info-libtool: install-info-libtool
13244 install-info-libtool: \
13245 configure-libtool \
13247 @[ -f ./libtool/Makefile ] || exit 0; \
13248 r=`${PWD_COMMAND}`; export r; \
13249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13252 for flag in $(EXTRA_HOST_FLAGS) ; do \
13253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13255 echo "Doing install-info in libtool" ; \
13257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13259 "RANLIB=$${RANLIB}" \
13260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13266 .PHONY: maybe-installcheck-libtool installcheck-libtool
13267 maybe-installcheck-libtool:
13269 maybe-installcheck-libtool: installcheck-libtool
13271 installcheck-libtool: \
13273 @[ -f ./libtool/Makefile ] || exit 0; \
13274 r=`${PWD_COMMAND}`; export r; \
13275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13278 for flag in $(EXTRA_HOST_FLAGS) ; do \
13279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13281 echo "Doing installcheck in libtool" ; \
13283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13285 "RANLIB=$${RANLIB}" \
13286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13292 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
13293 maybe-mostlyclean-libtool:
13295 maybe-mostlyclean-libtool: mostlyclean-libtool
13297 mostlyclean-libtool:
13298 @[ -f ./libtool/Makefile ] || exit 0; \
13299 r=`${PWD_COMMAND}`; export r; \
13300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13303 for flag in $(EXTRA_HOST_FLAGS) ; do \
13304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13306 echo "Doing mostlyclean in libtool" ; \
13308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13310 "RANLIB=$${RANLIB}" \
13311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13317 .PHONY: maybe-clean-libtool clean-libtool
13318 maybe-clean-libtool:
13320 maybe-clean-libtool: clean-libtool
13323 @[ -f ./libtool/Makefile ] || exit 0; \
13324 r=`${PWD_COMMAND}`; export r; \
13325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13328 for flag in $(EXTRA_HOST_FLAGS) ; do \
13329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13331 echo "Doing clean in libtool" ; \
13333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13335 "RANLIB=$${RANLIB}" \
13336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13342 .PHONY: maybe-distclean-libtool distclean-libtool
13343 maybe-distclean-libtool:
13345 maybe-distclean-libtool: distclean-libtool
13348 @[ -f ./libtool/Makefile ] || exit 0; \
13349 r=`${PWD_COMMAND}`; export r; \
13350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13353 for flag in $(EXTRA_HOST_FLAGS) ; do \
13354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13356 echo "Doing distclean in libtool" ; \
13358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13360 "RANLIB=$${RANLIB}" \
13361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13367 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
13368 maybe-maintainer-clean-libtool:
13370 maybe-maintainer-clean-libtool: maintainer-clean-libtool
13372 maintainer-clean-libtool:
13373 @[ -f ./libtool/Makefile ] || exit 0; \
13374 r=`${PWD_COMMAND}`; export r; \
13375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13378 for flag in $(EXTRA_HOST_FLAGS) ; do \
13379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13381 echo "Doing maintainer-clean in libtool" ; \
13383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13385 "RANLIB=$${RANLIB}" \
13386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13387 maintainer-clean) \
13393 .PHONY: configure-m4 maybe-configure-m4
13394 maybe-configure-m4:
13396 maybe-configure-m4: configure-m4
13398 @test ! -f m4/Makefile || exit 0; \
13399 [ -d m4 ] || mkdir m4; \
13400 r=`${PWD_COMMAND}`; export r; \
13401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13403 echo Configuring in m4; \
13405 case $(srcdir) in \
13407 srcdiroption="--srcdir=."; \
13409 /* | [A-Za-z]:[\\/]*) \
13410 srcdiroption="--srcdir=$(srcdir)/m4"; \
13411 libsrcdir="$$s/m4";; \
13413 srcdiroption="--srcdir=../$(srcdir)/m4"; \
13414 libsrcdir="$$s/m4";; \
13416 $(SHELL) $${libsrcdir}/configure \
13417 $(HOST_CONFIGARGS) $${srcdiroption} \
13421 .PHONY: all-m4 maybe-all-m4
13424 maybe-all-m4: all-m4
13425 all-m4: configure-m4
13426 @r=`${PWD_COMMAND}`; export r; \
13427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13430 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) all)
13433 .PHONY: check-m4 maybe-check-m4
13436 maybe-check-m4: check-m4
13439 @r=`${PWD_COMMAND}`; export r; \
13440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13443 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
13447 .PHONY: install-m4 maybe-install-m4
13450 maybe-install-m4: install-m4
13452 install-m4: installdirs
13453 @r=`${PWD_COMMAND}`; export r; \
13454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13457 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
13461 # Other targets (info, dvi, etc.)
13463 .PHONY: maybe-info-m4 info-m4
13466 maybe-info-m4: info-m4
13470 @[ -f ./m4/Makefile ] || exit 0; \
13471 r=`${PWD_COMMAND}`; export r; \
13472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13475 for flag in $(EXTRA_HOST_FLAGS) ; do \
13476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13478 echo "Doing info in m4" ; \
13480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13482 "RANLIB=$${RANLIB}" \
13483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13489 .PHONY: maybe-dvi-m4 dvi-m4
13492 maybe-dvi-m4: dvi-m4
13496 @[ -f ./m4/Makefile ] || exit 0; \
13497 r=`${PWD_COMMAND}`; export r; \
13498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13501 for flag in $(EXTRA_HOST_FLAGS) ; do \
13502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13504 echo "Doing dvi in m4" ; \
13506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13508 "RANLIB=$${RANLIB}" \
13509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13515 .PHONY: maybe-TAGS-m4 TAGS-m4
13518 maybe-TAGS-m4: TAGS-m4
13522 @[ -f ./m4/Makefile ] || exit 0; \
13523 r=`${PWD_COMMAND}`; export r; \
13524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13527 for flag in $(EXTRA_HOST_FLAGS) ; do \
13528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13530 echo "Doing TAGS in m4" ; \
13532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13534 "RANLIB=$${RANLIB}" \
13535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13541 .PHONY: maybe-install-info-m4 install-info-m4
13542 maybe-install-info-m4:
13544 maybe-install-info-m4: install-info-m4
13549 @[ -f ./m4/Makefile ] || exit 0; \
13550 r=`${PWD_COMMAND}`; export r; \
13551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13554 for flag in $(EXTRA_HOST_FLAGS) ; do \
13555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13557 echo "Doing install-info in m4" ; \
13559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13561 "RANLIB=$${RANLIB}" \
13562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13568 .PHONY: maybe-installcheck-m4 installcheck-m4
13569 maybe-installcheck-m4:
13571 maybe-installcheck-m4: installcheck-m4
13575 @[ -f ./m4/Makefile ] || exit 0; \
13576 r=`${PWD_COMMAND}`; export r; \
13577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13580 for flag in $(EXTRA_HOST_FLAGS) ; do \
13581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13583 echo "Doing installcheck in m4" ; \
13585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13587 "RANLIB=$${RANLIB}" \
13588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13594 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
13595 maybe-mostlyclean-m4:
13597 maybe-mostlyclean-m4: mostlyclean-m4
13600 @[ -f ./m4/Makefile ] || exit 0; \
13601 r=`${PWD_COMMAND}`; export r; \
13602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13605 for flag in $(EXTRA_HOST_FLAGS) ; do \
13606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13608 echo "Doing mostlyclean in m4" ; \
13610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13612 "RANLIB=$${RANLIB}" \
13613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13619 .PHONY: maybe-clean-m4 clean-m4
13622 maybe-clean-m4: clean-m4
13625 @[ -f ./m4/Makefile ] || exit 0; \
13626 r=`${PWD_COMMAND}`; export r; \
13627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13630 for flag in $(EXTRA_HOST_FLAGS) ; do \
13631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13633 echo "Doing clean in m4" ; \
13635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13637 "RANLIB=$${RANLIB}" \
13638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13644 .PHONY: maybe-distclean-m4 distclean-m4
13645 maybe-distclean-m4:
13647 maybe-distclean-m4: distclean-m4
13650 @[ -f ./m4/Makefile ] || exit 0; \
13651 r=`${PWD_COMMAND}`; export r; \
13652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13655 for flag in $(EXTRA_HOST_FLAGS) ; do \
13656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13658 echo "Doing distclean in m4" ; \
13660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13662 "RANLIB=$${RANLIB}" \
13663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13669 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
13670 maybe-maintainer-clean-m4:
13672 maybe-maintainer-clean-m4: maintainer-clean-m4
13674 maintainer-clean-m4:
13675 @[ -f ./m4/Makefile ] || exit 0; \
13676 r=`${PWD_COMMAND}`; export r; \
13677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13680 for flag in $(EXTRA_HOST_FLAGS) ; do \
13681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13683 echo "Doing maintainer-clean in m4" ; \
13685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13687 "RANLIB=$${RANLIB}" \
13688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13689 maintainer-clean) \
13695 .PHONY: configure-make maybe-configure-make
13696 maybe-configure-make:
13698 maybe-configure-make: configure-make
13700 @test ! -f make/Makefile || exit 0; \
13701 [ -d make ] || mkdir make; \
13702 r=`${PWD_COMMAND}`; export r; \
13703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13705 echo Configuring in make; \
13706 cd make || exit 1; \
13707 case $(srcdir) in \
13709 srcdiroption="--srcdir=."; \
13711 /* | [A-Za-z]:[\\/]*) \
13712 srcdiroption="--srcdir=$(srcdir)/make"; \
13713 libsrcdir="$$s/make";; \
13715 srcdiroption="--srcdir=../$(srcdir)/make"; \
13716 libsrcdir="$$s/make";; \
13718 $(SHELL) $${libsrcdir}/configure \
13719 $(HOST_CONFIGARGS) $${srcdiroption} \
13723 .PHONY: all-make maybe-all-make
13726 maybe-all-make: all-make
13727 all-make: configure-make
13728 @r=`${PWD_COMMAND}`; export r; \
13729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13732 (cd make && $(MAKE) $(FLAGS_TO_PASS) all)
13735 .PHONY: check-make maybe-check-make
13738 maybe-check-make: check-make
13741 @r=`${PWD_COMMAND}`; export r; \
13742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13745 (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
13749 .PHONY: install-make maybe-install-make
13750 maybe-install-make:
13752 maybe-install-make: install-make
13754 install-make: installdirs
13755 @r=`${PWD_COMMAND}`; export r; \
13756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13759 (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
13763 # Other targets (info, dvi, etc.)
13765 .PHONY: maybe-info-make info-make
13768 maybe-info-make: info-make
13772 @[ -f ./make/Makefile ] || exit 0; \
13773 r=`${PWD_COMMAND}`; export r; \
13774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13777 for flag in $(EXTRA_HOST_FLAGS) ; do \
13778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13780 echo "Doing info in make" ; \
13782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13784 "RANLIB=$${RANLIB}" \
13785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13791 .PHONY: maybe-dvi-make dvi-make
13794 maybe-dvi-make: dvi-make
13798 @[ -f ./make/Makefile ] || exit 0; \
13799 r=`${PWD_COMMAND}`; export r; \
13800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13803 for flag in $(EXTRA_HOST_FLAGS) ; do \
13804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13806 echo "Doing dvi in make" ; \
13808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13810 "RANLIB=$${RANLIB}" \
13811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13817 .PHONY: maybe-TAGS-make TAGS-make
13820 maybe-TAGS-make: TAGS-make
13824 @[ -f ./make/Makefile ] || exit 0; \
13825 r=`${PWD_COMMAND}`; export r; \
13826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13829 for flag in $(EXTRA_HOST_FLAGS) ; do \
13830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13832 echo "Doing TAGS in make" ; \
13834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13836 "RANLIB=$${RANLIB}" \
13837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13843 .PHONY: maybe-install-info-make install-info-make
13844 maybe-install-info-make:
13846 maybe-install-info-make: install-info-make
13848 install-info-make: \
13851 @[ -f ./make/Makefile ] || exit 0; \
13852 r=`${PWD_COMMAND}`; export r; \
13853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13856 for flag in $(EXTRA_HOST_FLAGS) ; do \
13857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13859 echo "Doing install-info in make" ; \
13861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13863 "RANLIB=$${RANLIB}" \
13864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13870 .PHONY: maybe-installcheck-make installcheck-make
13871 maybe-installcheck-make:
13873 maybe-installcheck-make: installcheck-make
13875 installcheck-make: \
13877 @[ -f ./make/Makefile ] || exit 0; \
13878 r=`${PWD_COMMAND}`; export r; \
13879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13882 for flag in $(EXTRA_HOST_FLAGS) ; do \
13883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13885 echo "Doing installcheck in make" ; \
13887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13889 "RANLIB=$${RANLIB}" \
13890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13896 .PHONY: maybe-mostlyclean-make mostlyclean-make
13897 maybe-mostlyclean-make:
13899 maybe-mostlyclean-make: mostlyclean-make
13902 @[ -f ./make/Makefile ] || exit 0; \
13903 r=`${PWD_COMMAND}`; export r; \
13904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13907 for flag in $(EXTRA_HOST_FLAGS) ; do \
13908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13910 echo "Doing mostlyclean in make" ; \
13912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13914 "RANLIB=$${RANLIB}" \
13915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13921 .PHONY: maybe-clean-make clean-make
13924 maybe-clean-make: clean-make
13927 @[ -f ./make/Makefile ] || exit 0; \
13928 r=`${PWD_COMMAND}`; export r; \
13929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13932 for flag in $(EXTRA_HOST_FLAGS) ; do \
13933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13935 echo "Doing clean in make" ; \
13937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13939 "RANLIB=$${RANLIB}" \
13940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13946 .PHONY: maybe-distclean-make distclean-make
13947 maybe-distclean-make:
13949 maybe-distclean-make: distclean-make
13952 @[ -f ./make/Makefile ] || exit 0; \
13953 r=`${PWD_COMMAND}`; export r; \
13954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13957 for flag in $(EXTRA_HOST_FLAGS) ; do \
13958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13960 echo "Doing distclean in make" ; \
13962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13964 "RANLIB=$${RANLIB}" \
13965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13971 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
13972 maybe-maintainer-clean-make:
13974 maybe-maintainer-clean-make: maintainer-clean-make
13976 maintainer-clean-make:
13977 @[ -f ./make/Makefile ] || exit 0; \
13978 r=`${PWD_COMMAND}`; export r; \
13979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13982 for flag in $(EXTRA_HOST_FLAGS) ; do \
13983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13985 echo "Doing maintainer-clean in make" ; \
13987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13989 "RANLIB=$${RANLIB}" \
13990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13991 maintainer-clean) \
13997 .PHONY: configure-mmalloc maybe-configure-mmalloc
13998 maybe-configure-mmalloc:
14000 maybe-configure-mmalloc: configure-mmalloc
14002 @test ! -f mmalloc/Makefile || exit 0; \
14003 [ -d mmalloc ] || mkdir mmalloc; \
14004 r=`${PWD_COMMAND}`; export r; \
14005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14007 echo Configuring in mmalloc; \
14008 cd mmalloc || exit 1; \
14009 case $(srcdir) in \
14011 srcdiroption="--srcdir=."; \
14013 /* | [A-Za-z]:[\\/]*) \
14014 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
14015 libsrcdir="$$s/mmalloc";; \
14017 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
14018 libsrcdir="$$s/mmalloc";; \
14020 $(SHELL) $${libsrcdir}/configure \
14021 $(HOST_CONFIGARGS) $${srcdiroption} \
14025 .PHONY: all-mmalloc maybe-all-mmalloc
14028 maybe-all-mmalloc: all-mmalloc
14029 all-mmalloc: configure-mmalloc
14030 @r=`${PWD_COMMAND}`; export r; \
14031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14034 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) all)
14037 .PHONY: check-mmalloc maybe-check-mmalloc
14038 maybe-check-mmalloc:
14040 maybe-check-mmalloc: check-mmalloc
14046 .PHONY: install-mmalloc maybe-install-mmalloc
14047 maybe-install-mmalloc:
14049 maybe-install-mmalloc: install-mmalloc
14051 install-mmalloc: installdirs
14052 @r=`${PWD_COMMAND}`; export r; \
14053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14056 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
14060 # Other targets (info, dvi, etc.)
14062 .PHONY: maybe-info-mmalloc info-mmalloc
14063 maybe-info-mmalloc:
14065 maybe-info-mmalloc: info-mmalloc
14069 @[ -f ./mmalloc/Makefile ] || exit 0; \
14070 r=`${PWD_COMMAND}`; export r; \
14071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14074 for flag in $(EXTRA_HOST_FLAGS) ; do \
14075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14077 echo "Doing info in mmalloc" ; \
14079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14081 "RANLIB=$${RANLIB}" \
14082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14088 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
14091 maybe-dvi-mmalloc: dvi-mmalloc
14095 @[ -f ./mmalloc/Makefile ] || exit 0; \
14096 r=`${PWD_COMMAND}`; export r; \
14097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14100 for flag in $(EXTRA_HOST_FLAGS) ; do \
14101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14103 echo "Doing dvi in mmalloc" ; \
14105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14107 "RANLIB=$${RANLIB}" \
14108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14114 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
14115 maybe-TAGS-mmalloc:
14117 maybe-TAGS-mmalloc: TAGS-mmalloc
14121 @[ -f ./mmalloc/Makefile ] || exit 0; \
14122 r=`${PWD_COMMAND}`; export r; \
14123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14126 for flag in $(EXTRA_HOST_FLAGS) ; do \
14127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14129 echo "Doing TAGS in mmalloc" ; \
14131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14133 "RANLIB=$${RANLIB}" \
14134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14140 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
14141 maybe-install-info-mmalloc:
14143 maybe-install-info-mmalloc: install-info-mmalloc
14145 install-info-mmalloc: \
14146 configure-mmalloc \
14148 @[ -f ./mmalloc/Makefile ] || exit 0; \
14149 r=`${PWD_COMMAND}`; export r; \
14150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14153 for flag in $(EXTRA_HOST_FLAGS) ; do \
14154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14156 echo "Doing install-info in mmalloc" ; \
14158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14160 "RANLIB=$${RANLIB}" \
14161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14167 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
14168 maybe-installcheck-mmalloc:
14170 maybe-installcheck-mmalloc: installcheck-mmalloc
14172 installcheck-mmalloc: \
14174 @[ -f ./mmalloc/Makefile ] || exit 0; \
14175 r=`${PWD_COMMAND}`; export r; \
14176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14179 for flag in $(EXTRA_HOST_FLAGS) ; do \
14180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14182 echo "Doing installcheck in mmalloc" ; \
14184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14186 "RANLIB=$${RANLIB}" \
14187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14193 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
14194 maybe-mostlyclean-mmalloc:
14196 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
14198 mostlyclean-mmalloc:
14199 @[ -f ./mmalloc/Makefile ] || exit 0; \
14200 r=`${PWD_COMMAND}`; export r; \
14201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14204 for flag in $(EXTRA_HOST_FLAGS) ; do \
14205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14207 echo "Doing mostlyclean in mmalloc" ; \
14209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14211 "RANLIB=$${RANLIB}" \
14212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14218 .PHONY: maybe-clean-mmalloc clean-mmalloc
14219 maybe-clean-mmalloc:
14221 maybe-clean-mmalloc: clean-mmalloc
14224 @[ -f ./mmalloc/Makefile ] || exit 0; \
14225 r=`${PWD_COMMAND}`; export r; \
14226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14229 for flag in $(EXTRA_HOST_FLAGS) ; do \
14230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14232 echo "Doing clean in mmalloc" ; \
14234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14236 "RANLIB=$${RANLIB}" \
14237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14243 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
14244 maybe-distclean-mmalloc:
14246 maybe-distclean-mmalloc: distclean-mmalloc
14249 @[ -f ./mmalloc/Makefile ] || exit 0; \
14250 r=`${PWD_COMMAND}`; export r; \
14251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14254 for flag in $(EXTRA_HOST_FLAGS) ; do \
14255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14257 echo "Doing distclean in mmalloc" ; \
14259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14261 "RANLIB=$${RANLIB}" \
14262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14268 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
14269 maybe-maintainer-clean-mmalloc:
14271 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
14273 maintainer-clean-mmalloc:
14274 @[ -f ./mmalloc/Makefile ] || exit 0; \
14275 r=`${PWD_COMMAND}`; export r; \
14276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14279 for flag in $(EXTRA_HOST_FLAGS) ; do \
14280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14282 echo "Doing maintainer-clean in mmalloc" ; \
14284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14286 "RANLIB=$${RANLIB}" \
14287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14288 maintainer-clean) \
14294 .PHONY: configure-patch maybe-configure-patch
14295 maybe-configure-patch:
14297 maybe-configure-patch: configure-patch
14299 @test ! -f patch/Makefile || exit 0; \
14300 [ -d patch ] || mkdir patch; \
14301 r=`${PWD_COMMAND}`; export r; \
14302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14304 echo Configuring in patch; \
14305 cd patch || exit 1; \
14306 case $(srcdir) in \
14308 srcdiroption="--srcdir=."; \
14310 /* | [A-Za-z]:[\\/]*) \
14311 srcdiroption="--srcdir=$(srcdir)/patch"; \
14312 libsrcdir="$$s/patch";; \
14314 srcdiroption="--srcdir=../$(srcdir)/patch"; \
14315 libsrcdir="$$s/patch";; \
14317 $(SHELL) $${libsrcdir}/configure \
14318 $(HOST_CONFIGARGS) $${srcdiroption} \
14322 .PHONY: all-patch maybe-all-patch
14325 maybe-all-patch: all-patch
14326 all-patch: configure-patch
14327 @r=`${PWD_COMMAND}`; export r; \
14328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14331 (cd patch && $(MAKE) $(FLAGS_TO_PASS) all)
14334 .PHONY: check-patch maybe-check-patch
14337 maybe-check-patch: check-patch
14340 @r=`${PWD_COMMAND}`; export r; \
14341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14344 (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
14348 .PHONY: install-patch maybe-install-patch
14349 maybe-install-patch:
14351 maybe-install-patch: install-patch
14353 install-patch: installdirs
14354 @r=`${PWD_COMMAND}`; export r; \
14355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14358 (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
14362 # Other targets (info, dvi, etc.)
14364 .PHONY: maybe-info-patch info-patch
14367 maybe-info-patch: info-patch
14371 @[ -f ./patch/Makefile ] || exit 0; \
14372 r=`${PWD_COMMAND}`; export r; \
14373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14376 for flag in $(EXTRA_HOST_FLAGS) ; do \
14377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14379 echo "Doing info in patch" ; \
14381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14383 "RANLIB=$${RANLIB}" \
14384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14390 .PHONY: maybe-dvi-patch dvi-patch
14393 maybe-dvi-patch: dvi-patch
14397 @[ -f ./patch/Makefile ] || exit 0; \
14398 r=`${PWD_COMMAND}`; export r; \
14399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14402 for flag in $(EXTRA_HOST_FLAGS) ; do \
14403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14405 echo "Doing dvi in patch" ; \
14407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14409 "RANLIB=$${RANLIB}" \
14410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14416 .PHONY: maybe-TAGS-patch TAGS-patch
14419 maybe-TAGS-patch: TAGS-patch
14423 @[ -f ./patch/Makefile ] || exit 0; \
14424 r=`${PWD_COMMAND}`; export r; \
14425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14428 for flag in $(EXTRA_HOST_FLAGS) ; do \
14429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14431 echo "Doing TAGS in patch" ; \
14433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14435 "RANLIB=$${RANLIB}" \
14436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14442 .PHONY: maybe-install-info-patch install-info-patch
14443 maybe-install-info-patch:
14445 maybe-install-info-patch: install-info-patch
14447 install-info-patch: \
14450 @[ -f ./patch/Makefile ] || exit 0; \
14451 r=`${PWD_COMMAND}`; export r; \
14452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14455 for flag in $(EXTRA_HOST_FLAGS) ; do \
14456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14458 echo "Doing install-info in patch" ; \
14460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14462 "RANLIB=$${RANLIB}" \
14463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14469 .PHONY: maybe-installcheck-patch installcheck-patch
14470 maybe-installcheck-patch:
14472 maybe-installcheck-patch: installcheck-patch
14474 installcheck-patch: \
14476 @[ -f ./patch/Makefile ] || exit 0; \
14477 r=`${PWD_COMMAND}`; export r; \
14478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14481 for flag in $(EXTRA_HOST_FLAGS) ; do \
14482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14484 echo "Doing installcheck in patch" ; \
14486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14488 "RANLIB=$${RANLIB}" \
14489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14495 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
14496 maybe-mostlyclean-patch:
14498 maybe-mostlyclean-patch: mostlyclean-patch
14501 @[ -f ./patch/Makefile ] || exit 0; \
14502 r=`${PWD_COMMAND}`; export r; \
14503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14506 for flag in $(EXTRA_HOST_FLAGS) ; do \
14507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14509 echo "Doing mostlyclean in patch" ; \
14511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14513 "RANLIB=$${RANLIB}" \
14514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14520 .PHONY: maybe-clean-patch clean-patch
14523 maybe-clean-patch: clean-patch
14526 @[ -f ./patch/Makefile ] || exit 0; \
14527 r=`${PWD_COMMAND}`; export r; \
14528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14531 for flag in $(EXTRA_HOST_FLAGS) ; do \
14532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14534 echo "Doing clean in patch" ; \
14536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14538 "RANLIB=$${RANLIB}" \
14539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14545 .PHONY: maybe-distclean-patch distclean-patch
14546 maybe-distclean-patch:
14548 maybe-distclean-patch: distclean-patch
14551 @[ -f ./patch/Makefile ] || exit 0; \
14552 r=`${PWD_COMMAND}`; export r; \
14553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14556 for flag in $(EXTRA_HOST_FLAGS) ; do \
14557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14559 echo "Doing distclean in patch" ; \
14561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14563 "RANLIB=$${RANLIB}" \
14564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14570 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
14571 maybe-maintainer-clean-patch:
14573 maybe-maintainer-clean-patch: maintainer-clean-patch
14575 maintainer-clean-patch:
14576 @[ -f ./patch/Makefile ] || exit 0; \
14577 r=`${PWD_COMMAND}`; export r; \
14578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14581 for flag in $(EXTRA_HOST_FLAGS) ; do \
14582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14584 echo "Doing maintainer-clean in patch" ; \
14586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14588 "RANLIB=$${RANLIB}" \
14589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14590 maintainer-clean) \
14596 .PHONY: configure-perl maybe-configure-perl
14597 maybe-configure-perl:
14599 maybe-configure-perl: configure-perl
14601 @test ! -f perl/Makefile || exit 0; \
14602 [ -d perl ] || mkdir perl; \
14603 r=`${PWD_COMMAND}`; export r; \
14604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14606 echo Configuring in perl; \
14607 cd perl || exit 1; \
14608 case $(srcdir) in \
14610 srcdiroption="--srcdir=."; \
14612 /* | [A-Za-z]:[\\/]*) \
14613 srcdiroption="--srcdir=$(srcdir)/perl"; \
14614 libsrcdir="$$s/perl";; \
14616 srcdiroption="--srcdir=../$(srcdir)/perl"; \
14617 libsrcdir="$$s/perl";; \
14619 $(SHELL) $${libsrcdir}/configure \
14620 $(HOST_CONFIGARGS) $${srcdiroption} \
14624 .PHONY: all-perl maybe-all-perl
14627 maybe-all-perl: all-perl
14628 all-perl: configure-perl
14629 @r=`${PWD_COMMAND}`; export r; \
14630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14633 (cd perl && $(MAKE) $(FLAGS_TO_PASS) all)
14636 .PHONY: check-perl maybe-check-perl
14639 maybe-check-perl: check-perl
14642 @r=`${PWD_COMMAND}`; export r; \
14643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14646 (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
14650 .PHONY: install-perl maybe-install-perl
14651 maybe-install-perl:
14653 maybe-install-perl: install-perl
14655 install-perl: installdirs
14656 @r=`${PWD_COMMAND}`; export r; \
14657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14660 (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
14664 # Other targets (info, dvi, etc.)
14666 .PHONY: maybe-info-perl info-perl
14669 maybe-info-perl: info-perl
14673 @[ -f ./perl/Makefile ] || exit 0; \
14674 r=`${PWD_COMMAND}`; export r; \
14675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14678 for flag in $(EXTRA_HOST_FLAGS) ; do \
14679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14681 echo "Doing info in perl" ; \
14683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14685 "RANLIB=$${RANLIB}" \
14686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14692 .PHONY: maybe-dvi-perl dvi-perl
14695 maybe-dvi-perl: dvi-perl
14699 @[ -f ./perl/Makefile ] || exit 0; \
14700 r=`${PWD_COMMAND}`; export r; \
14701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14704 for flag in $(EXTRA_HOST_FLAGS) ; do \
14705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14707 echo "Doing dvi in perl" ; \
14709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14711 "RANLIB=$${RANLIB}" \
14712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14718 .PHONY: maybe-TAGS-perl TAGS-perl
14721 maybe-TAGS-perl: TAGS-perl
14725 @[ -f ./perl/Makefile ] || exit 0; \
14726 r=`${PWD_COMMAND}`; export r; \
14727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14730 for flag in $(EXTRA_HOST_FLAGS) ; do \
14731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14733 echo "Doing TAGS in perl" ; \
14735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14737 "RANLIB=$${RANLIB}" \
14738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14744 .PHONY: maybe-install-info-perl install-info-perl
14745 maybe-install-info-perl:
14747 maybe-install-info-perl: install-info-perl
14749 install-info-perl: \
14752 @[ -f ./perl/Makefile ] || exit 0; \
14753 r=`${PWD_COMMAND}`; export r; \
14754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14757 for flag in $(EXTRA_HOST_FLAGS) ; do \
14758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14760 echo "Doing install-info in perl" ; \
14762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14764 "RANLIB=$${RANLIB}" \
14765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14771 .PHONY: maybe-installcheck-perl installcheck-perl
14772 maybe-installcheck-perl:
14774 maybe-installcheck-perl: installcheck-perl
14776 installcheck-perl: \
14778 @[ -f ./perl/Makefile ] || exit 0; \
14779 r=`${PWD_COMMAND}`; export r; \
14780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14783 for flag in $(EXTRA_HOST_FLAGS) ; do \
14784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14786 echo "Doing installcheck in perl" ; \
14788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14790 "RANLIB=$${RANLIB}" \
14791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14797 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
14798 maybe-mostlyclean-perl:
14800 maybe-mostlyclean-perl: mostlyclean-perl
14803 @[ -f ./perl/Makefile ] || exit 0; \
14804 r=`${PWD_COMMAND}`; export r; \
14805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14808 for flag in $(EXTRA_HOST_FLAGS) ; do \
14809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14811 echo "Doing mostlyclean in perl" ; \
14813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14815 "RANLIB=$${RANLIB}" \
14816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14822 .PHONY: maybe-clean-perl clean-perl
14825 maybe-clean-perl: clean-perl
14828 @[ -f ./perl/Makefile ] || exit 0; \
14829 r=`${PWD_COMMAND}`; export r; \
14830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14833 for flag in $(EXTRA_HOST_FLAGS) ; do \
14834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14836 echo "Doing clean in perl" ; \
14838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14840 "RANLIB=$${RANLIB}" \
14841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14847 .PHONY: maybe-distclean-perl distclean-perl
14848 maybe-distclean-perl:
14850 maybe-distclean-perl: distclean-perl
14853 @[ -f ./perl/Makefile ] || exit 0; \
14854 r=`${PWD_COMMAND}`; export r; \
14855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14858 for flag in $(EXTRA_HOST_FLAGS) ; do \
14859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14861 echo "Doing distclean in perl" ; \
14863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14865 "RANLIB=$${RANLIB}" \
14866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14872 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
14873 maybe-maintainer-clean-perl:
14875 maybe-maintainer-clean-perl: maintainer-clean-perl
14877 maintainer-clean-perl:
14878 @[ -f ./perl/Makefile ] || exit 0; \
14879 r=`${PWD_COMMAND}`; export r; \
14880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14883 for flag in $(EXTRA_HOST_FLAGS) ; do \
14884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14886 echo "Doing maintainer-clean in perl" ; \
14888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14890 "RANLIB=$${RANLIB}" \
14891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14892 maintainer-clean) \
14898 .PHONY: configure-prms maybe-configure-prms
14899 maybe-configure-prms:
14901 maybe-configure-prms: configure-prms
14903 @test ! -f prms/Makefile || exit 0; \
14904 [ -d prms ] || mkdir prms; \
14905 r=`${PWD_COMMAND}`; export r; \
14906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14908 echo Configuring in prms; \
14909 cd prms || exit 1; \
14910 case $(srcdir) in \
14912 srcdiroption="--srcdir=."; \
14914 /* | [A-Za-z]:[\\/]*) \
14915 srcdiroption="--srcdir=$(srcdir)/prms"; \
14916 libsrcdir="$$s/prms";; \
14918 srcdiroption="--srcdir=../$(srcdir)/prms"; \
14919 libsrcdir="$$s/prms";; \
14921 $(SHELL) $${libsrcdir}/configure \
14922 $(HOST_CONFIGARGS) $${srcdiroption} \
14926 .PHONY: all-prms maybe-all-prms
14929 maybe-all-prms: all-prms
14930 all-prms: configure-prms
14931 @r=`${PWD_COMMAND}`; export r; \
14932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14935 (cd prms && $(MAKE) $(FLAGS_TO_PASS) all)
14938 .PHONY: check-prms maybe-check-prms
14941 maybe-check-prms: check-prms
14944 @r=`${PWD_COMMAND}`; export r; \
14945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14948 (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
14952 .PHONY: install-prms maybe-install-prms
14953 maybe-install-prms:
14955 maybe-install-prms: install-prms
14957 install-prms: installdirs
14958 @r=`${PWD_COMMAND}`; export r; \
14959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14962 (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
14966 # Other targets (info, dvi, etc.)
14968 .PHONY: maybe-info-prms info-prms
14971 maybe-info-prms: info-prms
14975 @[ -f ./prms/Makefile ] || exit 0; \
14976 r=`${PWD_COMMAND}`; export r; \
14977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14980 for flag in $(EXTRA_HOST_FLAGS) ; do \
14981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14983 echo "Doing info in prms" ; \
14985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14987 "RANLIB=$${RANLIB}" \
14988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14994 .PHONY: maybe-dvi-prms dvi-prms
14997 maybe-dvi-prms: dvi-prms
15001 @[ -f ./prms/Makefile ] || exit 0; \
15002 r=`${PWD_COMMAND}`; export r; \
15003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15006 for flag in $(EXTRA_HOST_FLAGS) ; do \
15007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15009 echo "Doing dvi in prms" ; \
15011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15013 "RANLIB=$${RANLIB}" \
15014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15020 .PHONY: maybe-TAGS-prms TAGS-prms
15023 maybe-TAGS-prms: TAGS-prms
15027 @[ -f ./prms/Makefile ] || exit 0; \
15028 r=`${PWD_COMMAND}`; export r; \
15029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15032 for flag in $(EXTRA_HOST_FLAGS) ; do \
15033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15035 echo "Doing TAGS in prms" ; \
15037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15039 "RANLIB=$${RANLIB}" \
15040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15046 .PHONY: maybe-install-info-prms install-info-prms
15047 maybe-install-info-prms:
15049 maybe-install-info-prms: install-info-prms
15051 install-info-prms: \
15054 @[ -f ./prms/Makefile ] || exit 0; \
15055 r=`${PWD_COMMAND}`; export r; \
15056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15059 for flag in $(EXTRA_HOST_FLAGS) ; do \
15060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15062 echo "Doing install-info in prms" ; \
15064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15066 "RANLIB=$${RANLIB}" \
15067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15073 .PHONY: maybe-installcheck-prms installcheck-prms
15074 maybe-installcheck-prms:
15076 maybe-installcheck-prms: installcheck-prms
15078 installcheck-prms: \
15080 @[ -f ./prms/Makefile ] || exit 0; \
15081 r=`${PWD_COMMAND}`; export r; \
15082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15085 for flag in $(EXTRA_HOST_FLAGS) ; do \
15086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15088 echo "Doing installcheck in prms" ; \
15090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15092 "RANLIB=$${RANLIB}" \
15093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15099 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
15100 maybe-mostlyclean-prms:
15102 maybe-mostlyclean-prms: mostlyclean-prms
15105 @[ -f ./prms/Makefile ] || exit 0; \
15106 r=`${PWD_COMMAND}`; export r; \
15107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15110 for flag in $(EXTRA_HOST_FLAGS) ; do \
15111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15113 echo "Doing mostlyclean in prms" ; \
15115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15117 "RANLIB=$${RANLIB}" \
15118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15124 .PHONY: maybe-clean-prms clean-prms
15127 maybe-clean-prms: clean-prms
15130 @[ -f ./prms/Makefile ] || exit 0; \
15131 r=`${PWD_COMMAND}`; export r; \
15132 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 clean in prms" ; \
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}" \
15149 .PHONY: maybe-distclean-prms distclean-prms
15150 maybe-distclean-prms:
15152 maybe-distclean-prms: distclean-prms
15155 @[ -f ./prms/Makefile ] || exit 0; \
15156 r=`${PWD_COMMAND}`; export r; \
15157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15160 for flag in $(EXTRA_HOST_FLAGS) ; do \
15161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15163 echo "Doing distclean in prms" ; \
15165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15167 "RANLIB=$${RANLIB}" \
15168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15174 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
15175 maybe-maintainer-clean-prms:
15177 maybe-maintainer-clean-prms: maintainer-clean-prms
15179 maintainer-clean-prms:
15180 @[ -f ./prms/Makefile ] || exit 0; \
15181 r=`${PWD_COMMAND}`; export r; \
15182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15185 for flag in $(EXTRA_HOST_FLAGS) ; do \
15186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15188 echo "Doing maintainer-clean in prms" ; \
15190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15192 "RANLIB=$${RANLIB}" \
15193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15194 maintainer-clean) \
15200 .PHONY: configure-rcs maybe-configure-rcs
15201 maybe-configure-rcs:
15203 maybe-configure-rcs: configure-rcs
15205 @test ! -f rcs/Makefile || exit 0; \
15206 [ -d rcs ] || mkdir rcs; \
15207 r=`${PWD_COMMAND}`; export r; \
15208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15210 echo Configuring in rcs; \
15211 cd rcs || exit 1; \
15212 case $(srcdir) in \
15214 srcdiroption="--srcdir=."; \
15216 /* | [A-Za-z]:[\\/]*) \
15217 srcdiroption="--srcdir=$(srcdir)/rcs"; \
15218 libsrcdir="$$s/rcs";; \
15220 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
15221 libsrcdir="$$s/rcs";; \
15223 $(SHELL) $${libsrcdir}/configure \
15224 $(HOST_CONFIGARGS) $${srcdiroption} \
15228 .PHONY: all-rcs maybe-all-rcs
15231 maybe-all-rcs: all-rcs
15232 all-rcs: configure-rcs
15233 @r=`${PWD_COMMAND}`; export r; \
15234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15237 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) all)
15240 .PHONY: check-rcs maybe-check-rcs
15243 maybe-check-rcs: check-rcs
15246 @r=`${PWD_COMMAND}`; export r; \
15247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15250 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
15254 .PHONY: install-rcs maybe-install-rcs
15257 maybe-install-rcs: install-rcs
15259 install-rcs: installdirs
15260 @r=`${PWD_COMMAND}`; export r; \
15261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15264 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
15268 # Other targets (info, dvi, etc.)
15270 .PHONY: maybe-info-rcs info-rcs
15273 maybe-info-rcs: info-rcs
15277 @[ -f ./rcs/Makefile ] || exit 0; \
15278 r=`${PWD_COMMAND}`; export r; \
15279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15282 for flag in $(EXTRA_HOST_FLAGS) ; do \
15283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15285 echo "Doing info in rcs" ; \
15287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15289 "RANLIB=$${RANLIB}" \
15290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15296 .PHONY: maybe-dvi-rcs dvi-rcs
15299 maybe-dvi-rcs: dvi-rcs
15303 @[ -f ./rcs/Makefile ] || exit 0; \
15304 r=`${PWD_COMMAND}`; export r; \
15305 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 rcs" ; \
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}" \
15322 .PHONY: maybe-TAGS-rcs TAGS-rcs
15325 maybe-TAGS-rcs: TAGS-rcs
15329 @[ -f ./rcs/Makefile ] || exit 0; \
15330 r=`${PWD_COMMAND}`; export r; \
15331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15334 for flag in $(EXTRA_HOST_FLAGS) ; do \
15335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15337 echo "Doing TAGS in rcs" ; \
15339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15341 "RANLIB=$${RANLIB}" \
15342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15348 .PHONY: maybe-install-info-rcs install-info-rcs
15349 maybe-install-info-rcs:
15351 maybe-install-info-rcs: install-info-rcs
15353 install-info-rcs: \
15356 @[ -f ./rcs/Makefile ] || exit 0; \
15357 r=`${PWD_COMMAND}`; export r; \
15358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15361 for flag in $(EXTRA_HOST_FLAGS) ; do \
15362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15364 echo "Doing install-info in rcs" ; \
15366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15368 "RANLIB=$${RANLIB}" \
15369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15375 .PHONY: maybe-installcheck-rcs installcheck-rcs
15376 maybe-installcheck-rcs:
15378 maybe-installcheck-rcs: installcheck-rcs
15380 installcheck-rcs: \
15382 @[ -f ./rcs/Makefile ] || exit 0; \
15383 r=`${PWD_COMMAND}`; export r; \
15384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15387 for flag in $(EXTRA_HOST_FLAGS) ; do \
15388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15390 echo "Doing installcheck in rcs" ; \
15392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15394 "RANLIB=$${RANLIB}" \
15395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15401 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
15402 maybe-mostlyclean-rcs:
15404 maybe-mostlyclean-rcs: mostlyclean-rcs
15407 @[ -f ./rcs/Makefile ] || exit 0; \
15408 r=`${PWD_COMMAND}`; export r; \
15409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15412 for flag in $(EXTRA_HOST_FLAGS) ; do \
15413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15415 echo "Doing mostlyclean in rcs" ; \
15417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15419 "RANLIB=$${RANLIB}" \
15420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15426 .PHONY: maybe-clean-rcs clean-rcs
15429 maybe-clean-rcs: clean-rcs
15432 @[ -f ./rcs/Makefile ] || exit 0; \
15433 r=`${PWD_COMMAND}`; export r; \
15434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15437 for flag in $(EXTRA_HOST_FLAGS) ; do \
15438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15440 echo "Doing clean in rcs" ; \
15442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15444 "RANLIB=$${RANLIB}" \
15445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15451 .PHONY: maybe-distclean-rcs distclean-rcs
15452 maybe-distclean-rcs:
15454 maybe-distclean-rcs: distclean-rcs
15457 @[ -f ./rcs/Makefile ] || exit 0; \
15458 r=`${PWD_COMMAND}`; export r; \
15459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15462 for flag in $(EXTRA_HOST_FLAGS) ; do \
15463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15465 echo "Doing distclean in rcs" ; \
15467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15469 "RANLIB=$${RANLIB}" \
15470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15476 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
15477 maybe-maintainer-clean-rcs:
15479 maybe-maintainer-clean-rcs: maintainer-clean-rcs
15481 maintainer-clean-rcs:
15482 @[ -f ./rcs/Makefile ] || exit 0; \
15483 r=`${PWD_COMMAND}`; export r; \
15484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15487 for flag in $(EXTRA_HOST_FLAGS) ; do \
15488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15490 echo "Doing maintainer-clean in rcs" ; \
15492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15494 "RANLIB=$${RANLIB}" \
15495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15496 maintainer-clean) \
15502 .PHONY: configure-readline maybe-configure-readline
15503 maybe-configure-readline:
15505 maybe-configure-readline: configure-readline
15506 configure-readline:
15507 @test ! -f readline/Makefile || exit 0; \
15508 [ -d readline ] || mkdir readline; \
15509 r=`${PWD_COMMAND}`; export r; \
15510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15512 echo Configuring in readline; \
15513 cd readline || exit 1; \
15514 case $(srcdir) in \
15516 srcdiroption="--srcdir=."; \
15518 /* | [A-Za-z]:[\\/]*) \
15519 srcdiroption="--srcdir=$(srcdir)/readline"; \
15520 libsrcdir="$$s/readline";; \
15522 srcdiroption="--srcdir=../$(srcdir)/readline"; \
15523 libsrcdir="$$s/readline";; \
15525 $(SHELL) $${libsrcdir}/configure \
15526 $(HOST_CONFIGARGS) $${srcdiroption} \
15530 .PHONY: all-readline maybe-all-readline
15531 maybe-all-readline:
15533 maybe-all-readline: all-readline
15534 all-readline: configure-readline
15535 @r=`${PWD_COMMAND}`; export r; \
15536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15539 (cd readline && $(MAKE) $(FLAGS_TO_PASS) all)
15542 .PHONY: check-readline maybe-check-readline
15543 maybe-check-readline:
15545 maybe-check-readline: check-readline
15548 @r=`${PWD_COMMAND}`; export r; \
15549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15552 (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
15556 .PHONY: install-readline maybe-install-readline
15557 maybe-install-readline:
15559 maybe-install-readline: install-readline
15561 install-readline: installdirs
15562 @r=`${PWD_COMMAND}`; export r; \
15563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15566 (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
15570 # Other targets (info, dvi, etc.)
15572 .PHONY: maybe-info-readline info-readline
15573 maybe-info-readline:
15575 maybe-info-readline: info-readline
15579 @[ -f ./readline/Makefile ] || exit 0; \
15580 r=`${PWD_COMMAND}`; export r; \
15581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15584 for flag in $(EXTRA_HOST_FLAGS) ; do \
15585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15587 echo "Doing info in readline" ; \
15589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15591 "RANLIB=$${RANLIB}" \
15592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15598 .PHONY: maybe-dvi-readline dvi-readline
15599 maybe-dvi-readline:
15601 maybe-dvi-readline: dvi-readline
15605 @[ -f ./readline/Makefile ] || exit 0; \
15606 r=`${PWD_COMMAND}`; export r; \
15607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15610 for flag in $(EXTRA_HOST_FLAGS) ; do \
15611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15613 echo "Doing dvi in readline" ; \
15615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15617 "RANLIB=$${RANLIB}" \
15618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15624 .PHONY: maybe-TAGS-readline TAGS-readline
15625 maybe-TAGS-readline:
15627 maybe-TAGS-readline: TAGS-readline
15631 @[ -f ./readline/Makefile ] || exit 0; \
15632 r=`${PWD_COMMAND}`; export r; \
15633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15636 for flag in $(EXTRA_HOST_FLAGS) ; do \
15637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15639 echo "Doing TAGS in readline" ; \
15641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15643 "RANLIB=$${RANLIB}" \
15644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15650 .PHONY: maybe-install-info-readline install-info-readline
15651 maybe-install-info-readline:
15653 maybe-install-info-readline: install-info-readline
15655 install-info-readline: \
15656 configure-readline \
15658 @[ -f ./readline/Makefile ] || exit 0; \
15659 r=`${PWD_COMMAND}`; export r; \
15660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15663 for flag in $(EXTRA_HOST_FLAGS) ; do \
15664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15666 echo "Doing install-info in readline" ; \
15668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15670 "RANLIB=$${RANLIB}" \
15671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15677 .PHONY: maybe-installcheck-readline installcheck-readline
15678 maybe-installcheck-readline:
15680 maybe-installcheck-readline: installcheck-readline
15682 installcheck-readline: \
15684 @[ -f ./readline/Makefile ] || exit 0; \
15685 r=`${PWD_COMMAND}`; export r; \
15686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15689 for flag in $(EXTRA_HOST_FLAGS) ; do \
15690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15692 echo "Doing installcheck in readline" ; \
15694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15696 "RANLIB=$${RANLIB}" \
15697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15703 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
15704 maybe-mostlyclean-readline:
15706 maybe-mostlyclean-readline: mostlyclean-readline
15708 mostlyclean-readline:
15709 @[ -f ./readline/Makefile ] || exit 0; \
15710 r=`${PWD_COMMAND}`; export r; \
15711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15714 for flag in $(EXTRA_HOST_FLAGS) ; do \
15715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15717 echo "Doing mostlyclean in readline" ; \
15719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15721 "RANLIB=$${RANLIB}" \
15722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15728 .PHONY: maybe-clean-readline clean-readline
15729 maybe-clean-readline:
15731 maybe-clean-readline: clean-readline
15734 @[ -f ./readline/Makefile ] || exit 0; \
15735 r=`${PWD_COMMAND}`; export r; \
15736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15739 for flag in $(EXTRA_HOST_FLAGS) ; do \
15740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15742 echo "Doing clean in readline" ; \
15744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15746 "RANLIB=$${RANLIB}" \
15747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15753 .PHONY: maybe-distclean-readline distclean-readline
15754 maybe-distclean-readline:
15756 maybe-distclean-readline: distclean-readline
15758 distclean-readline:
15759 @[ -f ./readline/Makefile ] || exit 0; \
15760 r=`${PWD_COMMAND}`; export r; \
15761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15764 for flag in $(EXTRA_HOST_FLAGS) ; do \
15765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15767 echo "Doing distclean in readline" ; \
15769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15771 "RANLIB=$${RANLIB}" \
15772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15778 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
15779 maybe-maintainer-clean-readline:
15781 maybe-maintainer-clean-readline: maintainer-clean-readline
15783 maintainer-clean-readline:
15784 @[ -f ./readline/Makefile ] || exit 0; \
15785 r=`${PWD_COMMAND}`; export r; \
15786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15789 for flag in $(EXTRA_HOST_FLAGS) ; do \
15790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15792 echo "Doing maintainer-clean in readline" ; \
15794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15796 "RANLIB=$${RANLIB}" \
15797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15798 maintainer-clean) \
15804 .PHONY: configure-release maybe-configure-release
15805 maybe-configure-release:
15807 maybe-configure-release: configure-release
15809 @test ! -f release/Makefile || exit 0; \
15810 [ -d release ] || mkdir release; \
15811 r=`${PWD_COMMAND}`; export r; \
15812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15814 echo Configuring in release; \
15815 cd release || exit 1; \
15816 case $(srcdir) in \
15818 srcdiroption="--srcdir=."; \
15820 /* | [A-Za-z]:[\\/]*) \
15821 srcdiroption="--srcdir=$(srcdir)/release"; \
15822 libsrcdir="$$s/release";; \
15824 srcdiroption="--srcdir=../$(srcdir)/release"; \
15825 libsrcdir="$$s/release";; \
15827 $(SHELL) $${libsrcdir}/configure \
15828 $(HOST_CONFIGARGS) $${srcdiroption} \
15832 .PHONY: all-release maybe-all-release
15835 maybe-all-release: all-release
15836 all-release: configure-release
15837 @r=`${PWD_COMMAND}`; export r; \
15838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15841 (cd release && $(MAKE) $(FLAGS_TO_PASS) all)
15844 .PHONY: check-release maybe-check-release
15845 maybe-check-release:
15847 maybe-check-release: check-release
15853 .PHONY: install-release maybe-install-release
15854 maybe-install-release:
15856 maybe-install-release: install-release
15862 # Other targets (info, dvi, etc.)
15864 .PHONY: maybe-info-release info-release
15865 maybe-info-release:
15867 maybe-info-release: info-release
15871 @[ -f ./release/Makefile ] || exit 0; \
15872 r=`${PWD_COMMAND}`; export r; \
15873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15876 for flag in $(EXTRA_HOST_FLAGS) ; do \
15877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15879 echo "Doing info in release" ; \
15881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15883 "RANLIB=$${RANLIB}" \
15884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15890 .PHONY: maybe-dvi-release dvi-release
15893 maybe-dvi-release: dvi-release
15897 @[ -f ./release/Makefile ] || exit 0; \
15898 r=`${PWD_COMMAND}`; export r; \
15899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15902 for flag in $(EXTRA_HOST_FLAGS) ; do \
15903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15905 echo "Doing dvi in release" ; \
15907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15909 "RANLIB=$${RANLIB}" \
15910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15916 .PHONY: maybe-TAGS-release TAGS-release
15917 maybe-TAGS-release:
15919 maybe-TAGS-release: TAGS-release
15923 @[ -f ./release/Makefile ] || exit 0; \
15924 r=`${PWD_COMMAND}`; export r; \
15925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15928 for flag in $(EXTRA_HOST_FLAGS) ; do \
15929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15931 echo "Doing TAGS in release" ; \
15933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15935 "RANLIB=$${RANLIB}" \
15936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15942 .PHONY: maybe-install-info-release install-info-release
15943 maybe-install-info-release:
15945 maybe-install-info-release: install-info-release
15947 install-info-release: \
15948 configure-release \
15950 @[ -f ./release/Makefile ] || exit 0; \
15951 r=`${PWD_COMMAND}`; export r; \
15952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15955 for flag in $(EXTRA_HOST_FLAGS) ; do \
15956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15958 echo "Doing install-info in release" ; \
15960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15962 "RANLIB=$${RANLIB}" \
15963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15969 .PHONY: maybe-installcheck-release installcheck-release
15970 maybe-installcheck-release:
15972 maybe-installcheck-release: installcheck-release
15974 installcheck-release: \
15976 @[ -f ./release/Makefile ] || exit 0; \
15977 r=`${PWD_COMMAND}`; export r; \
15978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15981 for flag in $(EXTRA_HOST_FLAGS) ; do \
15982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15984 echo "Doing installcheck in release" ; \
15986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15988 "RANLIB=$${RANLIB}" \
15989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15995 .PHONY: maybe-mostlyclean-release mostlyclean-release
15996 maybe-mostlyclean-release:
15998 maybe-mostlyclean-release: mostlyclean-release
16000 mostlyclean-release:
16001 @[ -f ./release/Makefile ] || exit 0; \
16002 r=`${PWD_COMMAND}`; export r; \
16003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16006 for flag in $(EXTRA_HOST_FLAGS) ; do \
16007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16009 echo "Doing mostlyclean in release" ; \
16011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16013 "RANLIB=$${RANLIB}" \
16014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16020 .PHONY: maybe-clean-release clean-release
16021 maybe-clean-release:
16023 maybe-clean-release: clean-release
16026 @[ -f ./release/Makefile ] || exit 0; \
16027 r=`${PWD_COMMAND}`; export r; \
16028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16031 for flag in $(EXTRA_HOST_FLAGS) ; do \
16032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16034 echo "Doing clean in release" ; \
16036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16038 "RANLIB=$${RANLIB}" \
16039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16045 .PHONY: maybe-distclean-release distclean-release
16046 maybe-distclean-release:
16048 maybe-distclean-release: distclean-release
16051 @[ -f ./release/Makefile ] || exit 0; \
16052 r=`${PWD_COMMAND}`; export r; \
16053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16056 for flag in $(EXTRA_HOST_FLAGS) ; do \
16057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16059 echo "Doing distclean in release" ; \
16061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16063 "RANLIB=$${RANLIB}" \
16064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16070 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
16071 maybe-maintainer-clean-release:
16073 maybe-maintainer-clean-release: maintainer-clean-release
16075 maintainer-clean-release:
16076 @[ -f ./release/Makefile ] || exit 0; \
16077 r=`${PWD_COMMAND}`; export r; \
16078 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 maintainer-clean in release" ; \
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}" \
16090 maintainer-clean) \
16096 .PHONY: configure-recode maybe-configure-recode
16097 maybe-configure-recode:
16099 maybe-configure-recode: configure-recode
16101 @test ! -f recode/Makefile || exit 0; \
16102 [ -d recode ] || mkdir recode; \
16103 r=`${PWD_COMMAND}`; export r; \
16104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16106 echo Configuring in recode; \
16107 cd recode || exit 1; \
16108 case $(srcdir) in \
16110 srcdiroption="--srcdir=."; \
16112 /* | [A-Za-z]:[\\/]*) \
16113 srcdiroption="--srcdir=$(srcdir)/recode"; \
16114 libsrcdir="$$s/recode";; \
16116 srcdiroption="--srcdir=../$(srcdir)/recode"; \
16117 libsrcdir="$$s/recode";; \
16119 $(SHELL) $${libsrcdir}/configure \
16120 $(HOST_CONFIGARGS) $${srcdiroption} \
16124 .PHONY: all-recode maybe-all-recode
16127 maybe-all-recode: all-recode
16128 all-recode: configure-recode
16129 @r=`${PWD_COMMAND}`; export r; \
16130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16133 (cd recode && $(MAKE) $(FLAGS_TO_PASS) all)
16136 .PHONY: check-recode maybe-check-recode
16137 maybe-check-recode:
16139 maybe-check-recode: check-recode
16142 @r=`${PWD_COMMAND}`; export r; \
16143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16146 (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
16150 .PHONY: install-recode maybe-install-recode
16151 maybe-install-recode:
16153 maybe-install-recode: install-recode
16155 install-recode: installdirs
16156 @r=`${PWD_COMMAND}`; export r; \
16157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16160 (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
16164 # Other targets (info, dvi, etc.)
16166 .PHONY: maybe-info-recode info-recode
16169 maybe-info-recode: info-recode
16173 @[ -f ./recode/Makefile ] || exit 0; \
16174 r=`${PWD_COMMAND}`; export r; \
16175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16178 for flag in $(EXTRA_HOST_FLAGS) ; do \
16179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16181 echo "Doing info in recode" ; \
16183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16185 "RANLIB=$${RANLIB}" \
16186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16192 .PHONY: maybe-dvi-recode dvi-recode
16195 maybe-dvi-recode: dvi-recode
16199 @[ -f ./recode/Makefile ] || exit 0; \
16200 r=`${PWD_COMMAND}`; export r; \
16201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16204 for flag in $(EXTRA_HOST_FLAGS) ; do \
16205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16207 echo "Doing dvi in recode" ; \
16209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16211 "RANLIB=$${RANLIB}" \
16212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16218 .PHONY: maybe-TAGS-recode TAGS-recode
16221 maybe-TAGS-recode: TAGS-recode
16225 @[ -f ./recode/Makefile ] || exit 0; \
16226 r=`${PWD_COMMAND}`; export r; \
16227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16230 for flag in $(EXTRA_HOST_FLAGS) ; do \
16231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16233 echo "Doing TAGS in recode" ; \
16235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16237 "RANLIB=$${RANLIB}" \
16238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16244 .PHONY: maybe-install-info-recode install-info-recode
16245 maybe-install-info-recode:
16247 maybe-install-info-recode: install-info-recode
16249 install-info-recode: \
16252 @[ -f ./recode/Makefile ] || exit 0; \
16253 r=`${PWD_COMMAND}`; export r; \
16254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16257 for flag in $(EXTRA_HOST_FLAGS) ; do \
16258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16260 echo "Doing install-info in recode" ; \
16262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16264 "RANLIB=$${RANLIB}" \
16265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16271 .PHONY: maybe-installcheck-recode installcheck-recode
16272 maybe-installcheck-recode:
16274 maybe-installcheck-recode: installcheck-recode
16276 installcheck-recode: \
16278 @[ -f ./recode/Makefile ] || exit 0; \
16279 r=`${PWD_COMMAND}`; export r; \
16280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16283 for flag in $(EXTRA_HOST_FLAGS) ; do \
16284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16286 echo "Doing installcheck in recode" ; \
16288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16290 "RANLIB=$${RANLIB}" \
16291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16297 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
16298 maybe-mostlyclean-recode:
16300 maybe-mostlyclean-recode: mostlyclean-recode
16302 mostlyclean-recode:
16303 @[ -f ./recode/Makefile ] || exit 0; \
16304 r=`${PWD_COMMAND}`; export r; \
16305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16308 for flag in $(EXTRA_HOST_FLAGS) ; do \
16309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16311 echo "Doing mostlyclean in recode" ; \
16313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16315 "RANLIB=$${RANLIB}" \
16316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16322 .PHONY: maybe-clean-recode clean-recode
16323 maybe-clean-recode:
16325 maybe-clean-recode: clean-recode
16328 @[ -f ./recode/Makefile ] || exit 0; \
16329 r=`${PWD_COMMAND}`; export r; \
16330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16333 for flag in $(EXTRA_HOST_FLAGS) ; do \
16334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16336 echo "Doing clean in recode" ; \
16338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16340 "RANLIB=$${RANLIB}" \
16341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16347 .PHONY: maybe-distclean-recode distclean-recode
16348 maybe-distclean-recode:
16350 maybe-distclean-recode: distclean-recode
16353 @[ -f ./recode/Makefile ] || exit 0; \
16354 r=`${PWD_COMMAND}`; export r; \
16355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16358 for flag in $(EXTRA_HOST_FLAGS) ; do \
16359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16361 echo "Doing distclean in recode" ; \
16363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16365 "RANLIB=$${RANLIB}" \
16366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16372 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
16373 maybe-maintainer-clean-recode:
16375 maybe-maintainer-clean-recode: maintainer-clean-recode
16377 maintainer-clean-recode:
16378 @[ -f ./recode/Makefile ] || exit 0; \
16379 r=`${PWD_COMMAND}`; export r; \
16380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16383 for flag in $(EXTRA_HOST_FLAGS) ; do \
16384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16386 echo "Doing maintainer-clean in recode" ; \
16388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16390 "RANLIB=$${RANLIB}" \
16391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16392 maintainer-clean) \
16398 .PHONY: configure-sed maybe-configure-sed
16399 maybe-configure-sed:
16401 maybe-configure-sed: configure-sed
16403 @test ! -f sed/Makefile || exit 0; \
16404 [ -d sed ] || mkdir sed; \
16405 r=`${PWD_COMMAND}`; export r; \
16406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16408 echo Configuring in sed; \
16409 cd sed || exit 1; \
16410 case $(srcdir) in \
16412 srcdiroption="--srcdir=."; \
16414 /* | [A-Za-z]:[\\/]*) \
16415 srcdiroption="--srcdir=$(srcdir)/sed"; \
16416 libsrcdir="$$s/sed";; \
16418 srcdiroption="--srcdir=../$(srcdir)/sed"; \
16419 libsrcdir="$$s/sed";; \
16421 $(SHELL) $${libsrcdir}/configure \
16422 $(HOST_CONFIGARGS) $${srcdiroption} \
16426 .PHONY: all-sed maybe-all-sed
16429 maybe-all-sed: all-sed
16430 all-sed: configure-sed
16431 @r=`${PWD_COMMAND}`; export r; \
16432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16435 (cd sed && $(MAKE) $(FLAGS_TO_PASS) all)
16438 .PHONY: check-sed maybe-check-sed
16441 maybe-check-sed: check-sed
16444 @r=`${PWD_COMMAND}`; export r; \
16445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16448 (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
16452 .PHONY: install-sed maybe-install-sed
16455 maybe-install-sed: install-sed
16457 install-sed: installdirs
16458 @r=`${PWD_COMMAND}`; export r; \
16459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16462 (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
16466 # Other targets (info, dvi, etc.)
16468 .PHONY: maybe-info-sed info-sed
16471 maybe-info-sed: info-sed
16475 @[ -f ./sed/Makefile ] || exit 0; \
16476 r=`${PWD_COMMAND}`; export r; \
16477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16480 for flag in $(EXTRA_HOST_FLAGS) ; do \
16481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16483 echo "Doing info in sed" ; \
16485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16487 "RANLIB=$${RANLIB}" \
16488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16494 .PHONY: maybe-dvi-sed dvi-sed
16497 maybe-dvi-sed: dvi-sed
16501 @[ -f ./sed/Makefile ] || exit 0; \
16502 r=`${PWD_COMMAND}`; export r; \
16503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16506 for flag in $(EXTRA_HOST_FLAGS) ; do \
16507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16509 echo "Doing dvi in sed" ; \
16511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16513 "RANLIB=$${RANLIB}" \
16514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16520 .PHONY: maybe-TAGS-sed TAGS-sed
16523 maybe-TAGS-sed: TAGS-sed
16527 @[ -f ./sed/Makefile ] || exit 0; \
16528 r=`${PWD_COMMAND}`; export r; \
16529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16532 for flag in $(EXTRA_HOST_FLAGS) ; do \
16533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16535 echo "Doing TAGS in sed" ; \
16537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16539 "RANLIB=$${RANLIB}" \
16540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16546 .PHONY: maybe-install-info-sed install-info-sed
16547 maybe-install-info-sed:
16549 maybe-install-info-sed: install-info-sed
16551 install-info-sed: \
16554 @[ -f ./sed/Makefile ] || exit 0; \
16555 r=`${PWD_COMMAND}`; export r; \
16556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16559 for flag in $(EXTRA_HOST_FLAGS) ; do \
16560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16562 echo "Doing install-info in sed" ; \
16564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16566 "RANLIB=$${RANLIB}" \
16567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16573 .PHONY: maybe-installcheck-sed installcheck-sed
16574 maybe-installcheck-sed:
16576 maybe-installcheck-sed: installcheck-sed
16578 installcheck-sed: \
16580 @[ -f ./sed/Makefile ] || exit 0; \
16581 r=`${PWD_COMMAND}`; export r; \
16582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16585 for flag in $(EXTRA_HOST_FLAGS) ; do \
16586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16588 echo "Doing installcheck in sed" ; \
16590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16592 "RANLIB=$${RANLIB}" \
16593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16599 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
16600 maybe-mostlyclean-sed:
16602 maybe-mostlyclean-sed: mostlyclean-sed
16605 @[ -f ./sed/Makefile ] || exit 0; \
16606 r=`${PWD_COMMAND}`; export r; \
16607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16610 for flag in $(EXTRA_HOST_FLAGS) ; do \
16611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16613 echo "Doing mostlyclean in sed" ; \
16615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16617 "RANLIB=$${RANLIB}" \
16618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16624 .PHONY: maybe-clean-sed clean-sed
16627 maybe-clean-sed: clean-sed
16630 @[ -f ./sed/Makefile ] || exit 0; \
16631 r=`${PWD_COMMAND}`; export r; \
16632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16635 for flag in $(EXTRA_HOST_FLAGS) ; do \
16636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16638 echo "Doing clean in sed" ; \
16640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16642 "RANLIB=$${RANLIB}" \
16643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16649 .PHONY: maybe-distclean-sed distclean-sed
16650 maybe-distclean-sed:
16652 maybe-distclean-sed: distclean-sed
16655 @[ -f ./sed/Makefile ] || exit 0; \
16656 r=`${PWD_COMMAND}`; export r; \
16657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16660 for flag in $(EXTRA_HOST_FLAGS) ; do \
16661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16663 echo "Doing distclean in sed" ; \
16665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16667 "RANLIB=$${RANLIB}" \
16668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16674 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
16675 maybe-maintainer-clean-sed:
16677 maybe-maintainer-clean-sed: maintainer-clean-sed
16679 maintainer-clean-sed:
16680 @[ -f ./sed/Makefile ] || exit 0; \
16681 r=`${PWD_COMMAND}`; export r; \
16682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16685 for flag in $(EXTRA_HOST_FLAGS) ; do \
16686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16688 echo "Doing maintainer-clean in sed" ; \
16690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16692 "RANLIB=$${RANLIB}" \
16693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16694 maintainer-clean) \
16700 .PHONY: configure-send-pr maybe-configure-send-pr
16701 maybe-configure-send-pr:
16703 maybe-configure-send-pr: configure-send-pr
16705 @test ! -f send-pr/Makefile || exit 0; \
16706 [ -d send-pr ] || mkdir send-pr; \
16707 r=`${PWD_COMMAND}`; export r; \
16708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16710 echo Configuring in send-pr; \
16711 cd send-pr || exit 1; \
16712 case $(srcdir) in \
16714 srcdiroption="--srcdir=."; \
16716 /* | [A-Za-z]:[\\/]*) \
16717 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
16718 libsrcdir="$$s/send-pr";; \
16720 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
16721 libsrcdir="$$s/send-pr";; \
16723 $(SHELL) $${libsrcdir}/configure \
16724 $(HOST_CONFIGARGS) $${srcdiroption} \
16728 .PHONY: all-send-pr maybe-all-send-pr
16731 maybe-all-send-pr: all-send-pr
16732 all-send-pr: configure-send-pr
16733 @r=`${PWD_COMMAND}`; export r; \
16734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16737 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) all)
16740 .PHONY: check-send-pr maybe-check-send-pr
16741 maybe-check-send-pr:
16743 maybe-check-send-pr: check-send-pr
16746 @r=`${PWD_COMMAND}`; export r; \
16747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16750 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
16754 .PHONY: install-send-pr maybe-install-send-pr
16755 maybe-install-send-pr:
16757 maybe-install-send-pr: install-send-pr
16759 install-send-pr: installdirs
16760 @r=`${PWD_COMMAND}`; export r; \
16761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16764 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
16768 # Other targets (info, dvi, etc.)
16770 .PHONY: maybe-info-send-pr info-send-pr
16771 maybe-info-send-pr:
16773 maybe-info-send-pr: info-send-pr
16777 @[ -f ./send-pr/Makefile ] || exit 0; \
16778 r=`${PWD_COMMAND}`; export r; \
16779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16782 for flag in $(EXTRA_HOST_FLAGS) ; do \
16783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16785 echo "Doing info in send-pr" ; \
16787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16789 "RANLIB=$${RANLIB}" \
16790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16796 .PHONY: maybe-dvi-send-pr dvi-send-pr
16799 maybe-dvi-send-pr: dvi-send-pr
16803 @[ -f ./send-pr/Makefile ] || exit 0; \
16804 r=`${PWD_COMMAND}`; export r; \
16805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16808 for flag in $(EXTRA_HOST_FLAGS) ; do \
16809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16811 echo "Doing dvi in send-pr" ; \
16813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16815 "RANLIB=$${RANLIB}" \
16816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16822 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
16823 maybe-TAGS-send-pr:
16825 maybe-TAGS-send-pr: TAGS-send-pr
16829 @[ -f ./send-pr/Makefile ] || exit 0; \
16830 r=`${PWD_COMMAND}`; export r; \
16831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16834 for flag in $(EXTRA_HOST_FLAGS) ; do \
16835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16837 echo "Doing TAGS in send-pr" ; \
16839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16841 "RANLIB=$${RANLIB}" \
16842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16848 .PHONY: maybe-install-info-send-pr install-info-send-pr
16849 maybe-install-info-send-pr:
16851 maybe-install-info-send-pr: install-info-send-pr
16853 install-info-send-pr: \
16854 configure-send-pr \
16856 @[ -f ./send-pr/Makefile ] || exit 0; \
16857 r=`${PWD_COMMAND}`; export r; \
16858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16861 for flag in $(EXTRA_HOST_FLAGS) ; do \
16862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16864 echo "Doing install-info in send-pr" ; \
16866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16868 "RANLIB=$${RANLIB}" \
16869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16875 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
16876 maybe-installcheck-send-pr:
16878 maybe-installcheck-send-pr: installcheck-send-pr
16880 installcheck-send-pr: \
16882 @[ -f ./send-pr/Makefile ] || exit 0; \
16883 r=`${PWD_COMMAND}`; export r; \
16884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16887 for flag in $(EXTRA_HOST_FLAGS) ; do \
16888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16890 echo "Doing installcheck in send-pr" ; \
16892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16894 "RANLIB=$${RANLIB}" \
16895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16901 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
16902 maybe-mostlyclean-send-pr:
16904 maybe-mostlyclean-send-pr: mostlyclean-send-pr
16906 mostlyclean-send-pr:
16907 @[ -f ./send-pr/Makefile ] || exit 0; \
16908 r=`${PWD_COMMAND}`; export r; \
16909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16912 for flag in $(EXTRA_HOST_FLAGS) ; do \
16913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16915 echo "Doing mostlyclean in send-pr" ; \
16917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16919 "RANLIB=$${RANLIB}" \
16920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16926 .PHONY: maybe-clean-send-pr clean-send-pr
16927 maybe-clean-send-pr:
16929 maybe-clean-send-pr: clean-send-pr
16932 @[ -f ./send-pr/Makefile ] || exit 0; \
16933 r=`${PWD_COMMAND}`; export r; \
16934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16937 for flag in $(EXTRA_HOST_FLAGS) ; do \
16938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16940 echo "Doing clean in send-pr" ; \
16942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16944 "RANLIB=$${RANLIB}" \
16945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16951 .PHONY: maybe-distclean-send-pr distclean-send-pr
16952 maybe-distclean-send-pr:
16954 maybe-distclean-send-pr: distclean-send-pr
16957 @[ -f ./send-pr/Makefile ] || exit 0; \
16958 r=`${PWD_COMMAND}`; export r; \
16959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16962 for flag in $(EXTRA_HOST_FLAGS) ; do \
16963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16965 echo "Doing distclean in send-pr" ; \
16967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16969 "RANLIB=$${RANLIB}" \
16970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16976 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
16977 maybe-maintainer-clean-send-pr:
16979 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
16981 maintainer-clean-send-pr:
16982 @[ -f ./send-pr/Makefile ] || exit 0; \
16983 r=`${PWD_COMMAND}`; export r; \
16984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16987 for flag in $(EXTRA_HOST_FLAGS) ; do \
16988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16990 echo "Doing maintainer-clean in send-pr" ; \
16992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16994 "RANLIB=$${RANLIB}" \
16995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16996 maintainer-clean) \
17002 .PHONY: configure-shellutils maybe-configure-shellutils
17003 maybe-configure-shellutils:
17005 maybe-configure-shellutils: configure-shellutils
17006 configure-shellutils:
17007 @test ! -f shellutils/Makefile || exit 0; \
17008 [ -d shellutils ] || mkdir shellutils; \
17009 r=`${PWD_COMMAND}`; export r; \
17010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17012 echo Configuring in shellutils; \
17013 cd shellutils || exit 1; \
17014 case $(srcdir) in \
17016 srcdiroption="--srcdir=."; \
17018 /* | [A-Za-z]:[\\/]*) \
17019 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
17020 libsrcdir="$$s/shellutils";; \
17022 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
17023 libsrcdir="$$s/shellutils";; \
17025 $(SHELL) $${libsrcdir}/configure \
17026 $(HOST_CONFIGARGS) $${srcdiroption} \
17030 .PHONY: all-shellutils maybe-all-shellutils
17031 maybe-all-shellutils:
17033 maybe-all-shellutils: all-shellutils
17034 all-shellutils: configure-shellutils
17035 @r=`${PWD_COMMAND}`; export r; \
17036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17039 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) all)
17042 .PHONY: check-shellutils maybe-check-shellutils
17043 maybe-check-shellutils:
17045 maybe-check-shellutils: check-shellutils
17048 @r=`${PWD_COMMAND}`; export r; \
17049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17052 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
17056 .PHONY: install-shellutils maybe-install-shellutils
17057 maybe-install-shellutils:
17059 maybe-install-shellutils: install-shellutils
17061 install-shellutils: installdirs
17062 @r=`${PWD_COMMAND}`; export r; \
17063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17066 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
17070 # Other targets (info, dvi, etc.)
17072 .PHONY: maybe-info-shellutils info-shellutils
17073 maybe-info-shellutils:
17075 maybe-info-shellutils: info-shellutils
17078 configure-shellutils
17079 @[ -f ./shellutils/Makefile ] || exit 0; \
17080 r=`${PWD_COMMAND}`; export r; \
17081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17084 for flag in $(EXTRA_HOST_FLAGS) ; do \
17085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17087 echo "Doing info in shellutils" ; \
17088 (cd shellutils && \
17089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17091 "RANLIB=$${RANLIB}" \
17092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17098 .PHONY: maybe-dvi-shellutils dvi-shellutils
17099 maybe-dvi-shellutils:
17101 maybe-dvi-shellutils: dvi-shellutils
17104 configure-shellutils
17105 @[ -f ./shellutils/Makefile ] || exit 0; \
17106 r=`${PWD_COMMAND}`; export r; \
17107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17110 for flag in $(EXTRA_HOST_FLAGS) ; do \
17111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17113 echo "Doing dvi in shellutils" ; \
17114 (cd shellutils && \
17115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17117 "RANLIB=$${RANLIB}" \
17118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17124 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
17125 maybe-TAGS-shellutils:
17127 maybe-TAGS-shellutils: TAGS-shellutils
17130 configure-shellutils
17131 @[ -f ./shellutils/Makefile ] || exit 0; \
17132 r=`${PWD_COMMAND}`; export r; \
17133 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 TAGS in shellutils" ; \
17140 (cd shellutils && \
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}" \
17150 .PHONY: maybe-install-info-shellutils install-info-shellutils
17151 maybe-install-info-shellutils:
17153 maybe-install-info-shellutils: install-info-shellutils
17155 install-info-shellutils: \
17156 configure-shellutils \
17158 @[ -f ./shellutils/Makefile ] || exit 0; \
17159 r=`${PWD_COMMAND}`; export r; \
17160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17163 for flag in $(EXTRA_HOST_FLAGS) ; do \
17164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17166 echo "Doing install-info in shellutils" ; \
17167 (cd shellutils && \
17168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17170 "RANLIB=$${RANLIB}" \
17171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17177 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
17178 maybe-installcheck-shellutils:
17180 maybe-installcheck-shellutils: installcheck-shellutils
17182 installcheck-shellutils: \
17183 configure-shellutils
17184 @[ -f ./shellutils/Makefile ] || exit 0; \
17185 r=`${PWD_COMMAND}`; export r; \
17186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17189 for flag in $(EXTRA_HOST_FLAGS) ; do \
17190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17192 echo "Doing installcheck in shellutils" ; \
17193 (cd shellutils && \
17194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17196 "RANLIB=$${RANLIB}" \
17197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17203 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
17204 maybe-mostlyclean-shellutils:
17206 maybe-mostlyclean-shellutils: mostlyclean-shellutils
17208 mostlyclean-shellutils:
17209 @[ -f ./shellutils/Makefile ] || exit 0; \
17210 r=`${PWD_COMMAND}`; export r; \
17211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17214 for flag in $(EXTRA_HOST_FLAGS) ; do \
17215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17217 echo "Doing mostlyclean in shellutils" ; \
17218 (cd shellutils && \
17219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17221 "RANLIB=$${RANLIB}" \
17222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17228 .PHONY: maybe-clean-shellutils clean-shellutils
17229 maybe-clean-shellutils:
17231 maybe-clean-shellutils: clean-shellutils
17234 @[ -f ./shellutils/Makefile ] || exit 0; \
17235 r=`${PWD_COMMAND}`; export r; \
17236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17239 for flag in $(EXTRA_HOST_FLAGS) ; do \
17240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17242 echo "Doing clean in shellutils" ; \
17243 (cd shellutils && \
17244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17246 "RANLIB=$${RANLIB}" \
17247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17253 .PHONY: maybe-distclean-shellutils distclean-shellutils
17254 maybe-distclean-shellutils:
17256 maybe-distclean-shellutils: distclean-shellutils
17258 distclean-shellutils:
17259 @[ -f ./shellutils/Makefile ] || exit 0; \
17260 r=`${PWD_COMMAND}`; export r; \
17261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17264 for flag in $(EXTRA_HOST_FLAGS) ; do \
17265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17267 echo "Doing distclean in shellutils" ; \
17268 (cd shellutils && \
17269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17271 "RANLIB=$${RANLIB}" \
17272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17278 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
17279 maybe-maintainer-clean-shellutils:
17281 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
17283 maintainer-clean-shellutils:
17284 @[ -f ./shellutils/Makefile ] || exit 0; \
17285 r=`${PWD_COMMAND}`; export r; \
17286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17289 for flag in $(EXTRA_HOST_FLAGS) ; do \
17290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17292 echo "Doing maintainer-clean in shellutils" ; \
17293 (cd shellutils && \
17294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17296 "RANLIB=$${RANLIB}" \
17297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17298 maintainer-clean) \
17304 .PHONY: configure-sid maybe-configure-sid
17305 maybe-configure-sid:
17307 maybe-configure-sid: configure-sid
17309 @test ! -f sid/Makefile || exit 0; \
17310 [ -d sid ] || mkdir sid; \
17311 r=`${PWD_COMMAND}`; export r; \
17312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17314 echo Configuring in sid; \
17315 cd sid || exit 1; \
17316 case $(srcdir) in \
17318 srcdiroption="--srcdir=."; \
17320 /* | [A-Za-z]:[\\/]*) \
17321 srcdiroption="--srcdir=$(srcdir)/sid"; \
17322 libsrcdir="$$s/sid";; \
17324 srcdiroption="--srcdir=../$(srcdir)/sid"; \
17325 libsrcdir="$$s/sid";; \
17327 $(SHELL) $${libsrcdir}/configure \
17328 $(HOST_CONFIGARGS) $${srcdiroption} \
17332 .PHONY: all-sid maybe-all-sid
17335 maybe-all-sid: all-sid
17336 all-sid: configure-sid
17337 @r=`${PWD_COMMAND}`; export r; \
17338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17341 (cd sid && $(MAKE) $(FLAGS_TO_PASS) all)
17344 .PHONY: check-sid maybe-check-sid
17347 maybe-check-sid: check-sid
17350 @r=`${PWD_COMMAND}`; export r; \
17351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17354 (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
17358 .PHONY: install-sid maybe-install-sid
17361 maybe-install-sid: install-sid
17363 install-sid: installdirs
17364 @r=`${PWD_COMMAND}`; export r; \
17365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17368 (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
17372 # Other targets (info, dvi, etc.)
17374 .PHONY: maybe-info-sid info-sid
17377 maybe-info-sid: info-sid
17381 @[ -f ./sid/Makefile ] || exit 0; \
17382 r=`${PWD_COMMAND}`; export r; \
17383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17386 for flag in $(EXTRA_HOST_FLAGS) ; do \
17387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17389 echo "Doing info in sid" ; \
17391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17393 "RANLIB=$${RANLIB}" \
17394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17400 .PHONY: maybe-dvi-sid dvi-sid
17403 maybe-dvi-sid: dvi-sid
17407 @[ -f ./sid/Makefile ] || exit 0; \
17408 r=`${PWD_COMMAND}`; export r; \
17409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17412 for flag in $(EXTRA_HOST_FLAGS) ; do \
17413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17415 echo "Doing dvi in sid" ; \
17417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17419 "RANLIB=$${RANLIB}" \
17420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17426 .PHONY: maybe-TAGS-sid TAGS-sid
17429 maybe-TAGS-sid: TAGS-sid
17433 @[ -f ./sid/Makefile ] || exit 0; \
17434 r=`${PWD_COMMAND}`; export r; \
17435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17438 for flag in $(EXTRA_HOST_FLAGS) ; do \
17439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17441 echo "Doing TAGS in sid" ; \
17443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17445 "RANLIB=$${RANLIB}" \
17446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17452 .PHONY: maybe-install-info-sid install-info-sid
17453 maybe-install-info-sid:
17455 maybe-install-info-sid: install-info-sid
17457 install-info-sid: \
17460 @[ -f ./sid/Makefile ] || exit 0; \
17461 r=`${PWD_COMMAND}`; export r; \
17462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17465 for flag in $(EXTRA_HOST_FLAGS) ; do \
17466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17468 echo "Doing install-info in sid" ; \
17470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17472 "RANLIB=$${RANLIB}" \
17473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17479 .PHONY: maybe-installcheck-sid installcheck-sid
17480 maybe-installcheck-sid:
17482 maybe-installcheck-sid: installcheck-sid
17484 installcheck-sid: \
17486 @[ -f ./sid/Makefile ] || exit 0; \
17487 r=`${PWD_COMMAND}`; export r; \
17488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17491 for flag in $(EXTRA_HOST_FLAGS) ; do \
17492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17494 echo "Doing installcheck in sid" ; \
17496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17498 "RANLIB=$${RANLIB}" \
17499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17505 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
17506 maybe-mostlyclean-sid:
17508 maybe-mostlyclean-sid: mostlyclean-sid
17511 @[ -f ./sid/Makefile ] || exit 0; \
17512 r=`${PWD_COMMAND}`; export r; \
17513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17516 for flag in $(EXTRA_HOST_FLAGS) ; do \
17517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17519 echo "Doing mostlyclean in sid" ; \
17521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17523 "RANLIB=$${RANLIB}" \
17524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17530 .PHONY: maybe-clean-sid clean-sid
17533 maybe-clean-sid: clean-sid
17536 @[ -f ./sid/Makefile ] || exit 0; \
17537 r=`${PWD_COMMAND}`; export r; \
17538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17541 for flag in $(EXTRA_HOST_FLAGS) ; do \
17542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17544 echo "Doing clean in sid" ; \
17546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17548 "RANLIB=$${RANLIB}" \
17549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17555 .PHONY: maybe-distclean-sid distclean-sid
17556 maybe-distclean-sid:
17558 maybe-distclean-sid: distclean-sid
17561 @[ -f ./sid/Makefile ] || exit 0; \
17562 r=`${PWD_COMMAND}`; export r; \
17563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17566 for flag in $(EXTRA_HOST_FLAGS) ; do \
17567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17569 echo "Doing distclean in sid" ; \
17571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17573 "RANLIB=$${RANLIB}" \
17574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17580 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
17581 maybe-maintainer-clean-sid:
17583 maybe-maintainer-clean-sid: maintainer-clean-sid
17585 maintainer-clean-sid:
17586 @[ -f ./sid/Makefile ] || exit 0; \
17587 r=`${PWD_COMMAND}`; export r; \
17588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17591 for flag in $(EXTRA_HOST_FLAGS) ; do \
17592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17594 echo "Doing maintainer-clean in sid" ; \
17596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17598 "RANLIB=$${RANLIB}" \
17599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17600 maintainer-clean) \
17606 .PHONY: configure-sim maybe-configure-sim
17607 maybe-configure-sim:
17609 maybe-configure-sim: configure-sim
17611 @test ! -f sim/Makefile || exit 0; \
17612 [ -d sim ] || mkdir sim; \
17613 r=`${PWD_COMMAND}`; export r; \
17614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17616 echo Configuring in sim; \
17617 cd sim || exit 1; \
17618 case $(srcdir) in \
17620 srcdiroption="--srcdir=."; \
17622 /* | [A-Za-z]:[\\/]*) \
17623 srcdiroption="--srcdir=$(srcdir)/sim"; \
17624 libsrcdir="$$s/sim";; \
17626 srcdiroption="--srcdir=../$(srcdir)/sim"; \
17627 libsrcdir="$$s/sim";; \
17629 $(SHELL) $${libsrcdir}/configure \
17630 $(HOST_CONFIGARGS) $${srcdiroption} \
17634 .PHONY: all-sim maybe-all-sim
17637 maybe-all-sim: all-sim
17638 all-sim: configure-sim
17639 @r=`${PWD_COMMAND}`; export r; \
17640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17643 (cd sim && $(MAKE) $(FLAGS_TO_PASS) all)
17646 .PHONY: check-sim maybe-check-sim
17649 maybe-check-sim: check-sim
17652 @r=`${PWD_COMMAND}`; export r; \
17653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17656 (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
17660 .PHONY: install-sim maybe-install-sim
17663 maybe-install-sim: install-sim
17665 install-sim: installdirs
17666 @r=`${PWD_COMMAND}`; export r; \
17667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17670 (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
17674 # Other targets (info, dvi, etc.)
17676 .PHONY: maybe-info-sim info-sim
17679 maybe-info-sim: info-sim
17683 @[ -f ./sim/Makefile ] || exit 0; \
17684 r=`${PWD_COMMAND}`; export r; \
17685 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 info in sim" ; \
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}" \
17702 .PHONY: maybe-dvi-sim dvi-sim
17705 maybe-dvi-sim: dvi-sim
17709 @[ -f ./sim/Makefile ] || exit 0; \
17710 r=`${PWD_COMMAND}`; export r; \
17711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17714 for flag in $(EXTRA_HOST_FLAGS) ; do \
17715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17717 echo "Doing dvi in sim" ; \
17719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17721 "RANLIB=$${RANLIB}" \
17722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17728 .PHONY: maybe-TAGS-sim TAGS-sim
17731 maybe-TAGS-sim: TAGS-sim
17735 @[ -f ./sim/Makefile ] || exit 0; \
17736 r=`${PWD_COMMAND}`; export r; \
17737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17740 for flag in $(EXTRA_HOST_FLAGS) ; do \
17741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17743 echo "Doing TAGS in sim" ; \
17745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17747 "RANLIB=$${RANLIB}" \
17748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17754 .PHONY: maybe-install-info-sim install-info-sim
17755 maybe-install-info-sim:
17757 maybe-install-info-sim: install-info-sim
17759 install-info-sim: \
17762 @[ -f ./sim/Makefile ] || exit 0; \
17763 r=`${PWD_COMMAND}`; export r; \
17764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17767 for flag in $(EXTRA_HOST_FLAGS) ; do \
17768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17770 echo "Doing install-info in sim" ; \
17772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17774 "RANLIB=$${RANLIB}" \
17775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17781 .PHONY: maybe-installcheck-sim installcheck-sim
17782 maybe-installcheck-sim:
17784 maybe-installcheck-sim: installcheck-sim
17786 installcheck-sim: \
17788 @[ -f ./sim/Makefile ] || exit 0; \
17789 r=`${PWD_COMMAND}`; export r; \
17790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17793 for flag in $(EXTRA_HOST_FLAGS) ; do \
17794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17796 echo "Doing installcheck in sim" ; \
17798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17800 "RANLIB=$${RANLIB}" \
17801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17807 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
17808 maybe-mostlyclean-sim:
17810 maybe-mostlyclean-sim: mostlyclean-sim
17813 @[ -f ./sim/Makefile ] || exit 0; \
17814 r=`${PWD_COMMAND}`; export r; \
17815 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 mostlyclean in sim" ; \
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}" \
17832 .PHONY: maybe-clean-sim clean-sim
17835 maybe-clean-sim: clean-sim
17838 @[ -f ./sim/Makefile ] || exit 0; \
17839 r=`${PWD_COMMAND}`; export r; \
17840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17843 for flag in $(EXTRA_HOST_FLAGS) ; do \
17844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17846 echo "Doing clean in sim" ; \
17848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17850 "RANLIB=$${RANLIB}" \
17851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17857 .PHONY: maybe-distclean-sim distclean-sim
17858 maybe-distclean-sim:
17860 maybe-distclean-sim: distclean-sim
17863 @[ -f ./sim/Makefile ] || exit 0; \
17864 r=`${PWD_COMMAND}`; export r; \
17865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17868 for flag in $(EXTRA_HOST_FLAGS) ; do \
17869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17871 echo "Doing distclean in sim" ; \
17873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17875 "RANLIB=$${RANLIB}" \
17876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17882 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
17883 maybe-maintainer-clean-sim:
17885 maybe-maintainer-clean-sim: maintainer-clean-sim
17887 maintainer-clean-sim:
17888 @[ -f ./sim/Makefile ] || exit 0; \
17889 r=`${PWD_COMMAND}`; export r; \
17890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17893 for flag in $(EXTRA_HOST_FLAGS) ; do \
17894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17896 echo "Doing maintainer-clean in sim" ; \
17898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17900 "RANLIB=$${RANLIB}" \
17901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17902 maintainer-clean) \
17908 .PHONY: configure-tar maybe-configure-tar
17909 maybe-configure-tar:
17911 maybe-configure-tar: configure-tar
17913 @test ! -f tar/Makefile || exit 0; \
17914 [ -d tar ] || mkdir tar; \
17915 r=`${PWD_COMMAND}`; export r; \
17916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17918 echo Configuring in tar; \
17919 cd tar || exit 1; \
17920 case $(srcdir) in \
17922 srcdiroption="--srcdir=."; \
17924 /* | [A-Za-z]:[\\/]*) \
17925 srcdiroption="--srcdir=$(srcdir)/tar"; \
17926 libsrcdir="$$s/tar";; \
17928 srcdiroption="--srcdir=../$(srcdir)/tar"; \
17929 libsrcdir="$$s/tar";; \
17931 $(SHELL) $${libsrcdir}/configure \
17932 $(HOST_CONFIGARGS) $${srcdiroption} \
17936 .PHONY: all-tar maybe-all-tar
17939 maybe-all-tar: all-tar
17940 all-tar: configure-tar
17941 @r=`${PWD_COMMAND}`; export r; \
17942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17945 (cd tar && $(MAKE) $(FLAGS_TO_PASS) all)
17948 .PHONY: check-tar maybe-check-tar
17951 maybe-check-tar: check-tar
17954 @r=`${PWD_COMMAND}`; export r; \
17955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17958 (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
17962 .PHONY: install-tar maybe-install-tar
17965 maybe-install-tar: install-tar
17967 install-tar: installdirs
17968 @r=`${PWD_COMMAND}`; export r; \
17969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17972 (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
17976 # Other targets (info, dvi, etc.)
17978 .PHONY: maybe-info-tar info-tar
17981 maybe-info-tar: info-tar
17985 @[ -f ./tar/Makefile ] || exit 0; \
17986 r=`${PWD_COMMAND}`; export r; \
17987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17990 for flag in $(EXTRA_HOST_FLAGS) ; do \
17991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17993 echo "Doing info in tar" ; \
17995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17997 "RANLIB=$${RANLIB}" \
17998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18004 .PHONY: maybe-dvi-tar dvi-tar
18007 maybe-dvi-tar: dvi-tar
18011 @[ -f ./tar/Makefile ] || exit 0; \
18012 r=`${PWD_COMMAND}`; export r; \
18013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18016 for flag in $(EXTRA_HOST_FLAGS) ; do \
18017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18019 echo "Doing dvi in tar" ; \
18021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18023 "RANLIB=$${RANLIB}" \
18024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18030 .PHONY: maybe-TAGS-tar TAGS-tar
18033 maybe-TAGS-tar: TAGS-tar
18037 @[ -f ./tar/Makefile ] || exit 0; \
18038 r=`${PWD_COMMAND}`; export r; \
18039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18042 for flag in $(EXTRA_HOST_FLAGS) ; do \
18043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18045 echo "Doing TAGS in tar" ; \
18047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18049 "RANLIB=$${RANLIB}" \
18050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18056 .PHONY: maybe-install-info-tar install-info-tar
18057 maybe-install-info-tar:
18059 maybe-install-info-tar: install-info-tar
18061 install-info-tar: \
18064 @[ -f ./tar/Makefile ] || exit 0; \
18065 r=`${PWD_COMMAND}`; export r; \
18066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18069 for flag in $(EXTRA_HOST_FLAGS) ; do \
18070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18072 echo "Doing install-info in tar" ; \
18074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18076 "RANLIB=$${RANLIB}" \
18077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18083 .PHONY: maybe-installcheck-tar installcheck-tar
18084 maybe-installcheck-tar:
18086 maybe-installcheck-tar: installcheck-tar
18088 installcheck-tar: \
18090 @[ -f ./tar/Makefile ] || exit 0; \
18091 r=`${PWD_COMMAND}`; export r; \
18092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18095 for flag in $(EXTRA_HOST_FLAGS) ; do \
18096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18098 echo "Doing installcheck in tar" ; \
18100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18102 "RANLIB=$${RANLIB}" \
18103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18109 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
18110 maybe-mostlyclean-tar:
18112 maybe-mostlyclean-tar: mostlyclean-tar
18115 @[ -f ./tar/Makefile ] || exit 0; \
18116 r=`${PWD_COMMAND}`; export r; \
18117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18120 for flag in $(EXTRA_HOST_FLAGS) ; do \
18121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18123 echo "Doing mostlyclean in tar" ; \
18125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18127 "RANLIB=$${RANLIB}" \
18128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18134 .PHONY: maybe-clean-tar clean-tar
18137 maybe-clean-tar: clean-tar
18140 @[ -f ./tar/Makefile ] || exit 0; \
18141 r=`${PWD_COMMAND}`; export r; \
18142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18145 for flag in $(EXTRA_HOST_FLAGS) ; do \
18146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18148 echo "Doing clean in tar" ; \
18150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18152 "RANLIB=$${RANLIB}" \
18153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18159 .PHONY: maybe-distclean-tar distclean-tar
18160 maybe-distclean-tar:
18162 maybe-distclean-tar: distclean-tar
18165 @[ -f ./tar/Makefile ] || exit 0; \
18166 r=`${PWD_COMMAND}`; export r; \
18167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18170 for flag in $(EXTRA_HOST_FLAGS) ; do \
18171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18173 echo "Doing distclean in tar" ; \
18175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18177 "RANLIB=$${RANLIB}" \
18178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18184 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
18185 maybe-maintainer-clean-tar:
18187 maybe-maintainer-clean-tar: maintainer-clean-tar
18189 maintainer-clean-tar:
18190 @[ -f ./tar/Makefile ] || exit 0; \
18191 r=`${PWD_COMMAND}`; export r; \
18192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18195 for flag in $(EXTRA_HOST_FLAGS) ; do \
18196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18198 echo "Doing maintainer-clean in tar" ; \
18200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18202 "RANLIB=$${RANLIB}" \
18203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18204 maintainer-clean) \
18210 .PHONY: configure-texinfo maybe-configure-texinfo
18211 maybe-configure-texinfo:
18213 maybe-configure-texinfo: configure-texinfo
18215 @test ! -f texinfo/Makefile || exit 0; \
18216 [ -d texinfo ] || mkdir texinfo; \
18217 r=`${PWD_COMMAND}`; export r; \
18218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18220 echo Configuring in texinfo; \
18221 cd texinfo || exit 1; \
18222 case $(srcdir) in \
18224 srcdiroption="--srcdir=."; \
18226 /* | [A-Za-z]:[\\/]*) \
18227 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
18228 libsrcdir="$$s/texinfo";; \
18230 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
18231 libsrcdir="$$s/texinfo";; \
18233 $(SHELL) $${libsrcdir}/configure \
18234 $(HOST_CONFIGARGS) $${srcdiroption} \
18238 .PHONY: all-texinfo maybe-all-texinfo
18241 maybe-all-texinfo: all-texinfo
18242 all-texinfo: configure-texinfo
18243 @r=`${PWD_COMMAND}`; export r; \
18244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18247 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) all)
18250 .PHONY: check-texinfo maybe-check-texinfo
18251 maybe-check-texinfo:
18253 maybe-check-texinfo: check-texinfo
18256 @r=`${PWD_COMMAND}`; export r; \
18257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18260 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
18264 .PHONY: install-texinfo maybe-install-texinfo
18265 maybe-install-texinfo:
18267 maybe-install-texinfo: install-texinfo
18273 # Other targets (info, dvi, etc.)
18275 .PHONY: maybe-info-texinfo info-texinfo
18276 maybe-info-texinfo:
18278 maybe-info-texinfo: info-texinfo
18282 @[ -f ./texinfo/Makefile ] || exit 0; \
18283 r=`${PWD_COMMAND}`; export r; \
18284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18287 for flag in $(EXTRA_HOST_FLAGS) ; do \
18288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18290 echo "Doing info in texinfo" ; \
18292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18294 "RANLIB=$${RANLIB}" \
18295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18301 .PHONY: maybe-dvi-texinfo dvi-texinfo
18304 maybe-dvi-texinfo: dvi-texinfo
18308 @[ -f ./texinfo/Makefile ] || exit 0; \
18309 r=`${PWD_COMMAND}`; export r; \
18310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18313 for flag in $(EXTRA_HOST_FLAGS) ; do \
18314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18316 echo "Doing dvi in texinfo" ; \
18318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18320 "RANLIB=$${RANLIB}" \
18321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18327 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
18328 maybe-TAGS-texinfo:
18330 maybe-TAGS-texinfo: TAGS-texinfo
18334 @[ -f ./texinfo/Makefile ] || exit 0; \
18335 r=`${PWD_COMMAND}`; export r; \
18336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18339 for flag in $(EXTRA_HOST_FLAGS) ; do \
18340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18342 echo "Doing TAGS in texinfo" ; \
18344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18346 "RANLIB=$${RANLIB}" \
18347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18353 .PHONY: maybe-install-info-texinfo install-info-texinfo
18354 maybe-install-info-texinfo:
18356 maybe-install-info-texinfo: install-info-texinfo
18358 install-info-texinfo: \
18359 configure-texinfo \
18361 @[ -f ./texinfo/Makefile ] || exit 0; \
18362 r=`${PWD_COMMAND}`; export r; \
18363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18366 for flag in $(EXTRA_HOST_FLAGS) ; do \
18367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18369 echo "Doing install-info in texinfo" ; \
18371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18373 "RANLIB=$${RANLIB}" \
18374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18380 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
18381 maybe-installcheck-texinfo:
18383 maybe-installcheck-texinfo: installcheck-texinfo
18385 installcheck-texinfo: \
18387 @[ -f ./texinfo/Makefile ] || exit 0; \
18388 r=`${PWD_COMMAND}`; export r; \
18389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18392 for flag in $(EXTRA_HOST_FLAGS) ; do \
18393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18395 echo "Doing installcheck in texinfo" ; \
18397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18399 "RANLIB=$${RANLIB}" \
18400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18406 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
18407 maybe-mostlyclean-texinfo:
18409 maybe-mostlyclean-texinfo: mostlyclean-texinfo
18411 mostlyclean-texinfo:
18412 @[ -f ./texinfo/Makefile ] || exit 0; \
18413 r=`${PWD_COMMAND}`; export r; \
18414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18417 for flag in $(EXTRA_HOST_FLAGS) ; do \
18418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18420 echo "Doing mostlyclean in texinfo" ; \
18422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18424 "RANLIB=$${RANLIB}" \
18425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18431 .PHONY: maybe-clean-texinfo clean-texinfo
18432 maybe-clean-texinfo:
18434 maybe-clean-texinfo: clean-texinfo
18437 @[ -f ./texinfo/Makefile ] || exit 0; \
18438 r=`${PWD_COMMAND}`; export r; \
18439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18442 for flag in $(EXTRA_HOST_FLAGS) ; do \
18443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18445 echo "Doing clean in texinfo" ; \
18447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18449 "RANLIB=$${RANLIB}" \
18450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18456 .PHONY: maybe-distclean-texinfo distclean-texinfo
18457 maybe-distclean-texinfo:
18459 maybe-distclean-texinfo: distclean-texinfo
18462 @[ -f ./texinfo/Makefile ] || exit 0; \
18463 r=`${PWD_COMMAND}`; export r; \
18464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18467 for flag in $(EXTRA_HOST_FLAGS) ; do \
18468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18470 echo "Doing distclean in texinfo" ; \
18472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18474 "RANLIB=$${RANLIB}" \
18475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18481 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
18482 maybe-maintainer-clean-texinfo:
18484 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
18486 maintainer-clean-texinfo:
18487 @[ -f ./texinfo/Makefile ] || exit 0; \
18488 r=`${PWD_COMMAND}`; export r; \
18489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18492 for flag in $(EXTRA_HOST_FLAGS) ; do \
18493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18495 echo "Doing maintainer-clean in texinfo" ; \
18497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18499 "RANLIB=$${RANLIB}" \
18500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18501 maintainer-clean) \
18507 .PHONY: configure-textutils maybe-configure-textutils
18508 maybe-configure-textutils:
18510 maybe-configure-textutils: configure-textutils
18511 configure-textutils:
18512 @test ! -f textutils/Makefile || exit 0; \
18513 [ -d textutils ] || mkdir textutils; \
18514 r=`${PWD_COMMAND}`; export r; \
18515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18517 echo Configuring in textutils; \
18518 cd textutils || exit 1; \
18519 case $(srcdir) in \
18521 srcdiroption="--srcdir=."; \
18523 /* | [A-Za-z]:[\\/]*) \
18524 srcdiroption="--srcdir=$(srcdir)/textutils"; \
18525 libsrcdir="$$s/textutils";; \
18527 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
18528 libsrcdir="$$s/textutils";; \
18530 $(SHELL) $${libsrcdir}/configure \
18531 $(HOST_CONFIGARGS) $${srcdiroption} \
18535 .PHONY: all-textutils maybe-all-textutils
18536 maybe-all-textutils:
18538 maybe-all-textutils: all-textutils
18539 all-textutils: configure-textutils
18540 @r=`${PWD_COMMAND}`; export r; \
18541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18544 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) all)
18547 .PHONY: check-textutils maybe-check-textutils
18548 maybe-check-textutils:
18550 maybe-check-textutils: check-textutils
18553 @r=`${PWD_COMMAND}`; export r; \
18554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18557 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
18561 .PHONY: install-textutils maybe-install-textutils
18562 maybe-install-textutils:
18564 maybe-install-textutils: install-textutils
18566 install-textutils: installdirs
18567 @r=`${PWD_COMMAND}`; export r; \
18568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18571 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
18575 # Other targets (info, dvi, etc.)
18577 .PHONY: maybe-info-textutils info-textutils
18578 maybe-info-textutils:
18580 maybe-info-textutils: info-textutils
18583 configure-textutils
18584 @[ -f ./textutils/Makefile ] || exit 0; \
18585 r=`${PWD_COMMAND}`; export r; \
18586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18589 for flag in $(EXTRA_HOST_FLAGS) ; do \
18590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18592 echo "Doing info in textutils" ; \
18594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18596 "RANLIB=$${RANLIB}" \
18597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18603 .PHONY: maybe-dvi-textutils dvi-textutils
18604 maybe-dvi-textutils:
18606 maybe-dvi-textutils: dvi-textutils
18609 configure-textutils
18610 @[ -f ./textutils/Makefile ] || exit 0; \
18611 r=`${PWD_COMMAND}`; export r; \
18612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18615 for flag in $(EXTRA_HOST_FLAGS) ; do \
18616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18618 echo "Doing dvi in textutils" ; \
18620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18622 "RANLIB=$${RANLIB}" \
18623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18629 .PHONY: maybe-TAGS-textutils TAGS-textutils
18630 maybe-TAGS-textutils:
18632 maybe-TAGS-textutils: TAGS-textutils
18635 configure-textutils
18636 @[ -f ./textutils/Makefile ] || exit 0; \
18637 r=`${PWD_COMMAND}`; export r; \
18638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18641 for flag in $(EXTRA_HOST_FLAGS) ; do \
18642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18644 echo "Doing TAGS in textutils" ; \
18646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18648 "RANLIB=$${RANLIB}" \
18649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18655 .PHONY: maybe-install-info-textutils install-info-textutils
18656 maybe-install-info-textutils:
18658 maybe-install-info-textutils: install-info-textutils
18660 install-info-textutils: \
18661 configure-textutils \
18663 @[ -f ./textutils/Makefile ] || exit 0; \
18664 r=`${PWD_COMMAND}`; export r; \
18665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18668 for flag in $(EXTRA_HOST_FLAGS) ; do \
18669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18671 echo "Doing install-info in textutils" ; \
18673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18675 "RANLIB=$${RANLIB}" \
18676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18682 .PHONY: maybe-installcheck-textutils installcheck-textutils
18683 maybe-installcheck-textutils:
18685 maybe-installcheck-textutils: installcheck-textutils
18687 installcheck-textutils: \
18688 configure-textutils
18689 @[ -f ./textutils/Makefile ] || exit 0; \
18690 r=`${PWD_COMMAND}`; export r; \
18691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18694 for flag in $(EXTRA_HOST_FLAGS) ; do \
18695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18697 echo "Doing installcheck in textutils" ; \
18699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18701 "RANLIB=$${RANLIB}" \
18702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18708 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
18709 maybe-mostlyclean-textutils:
18711 maybe-mostlyclean-textutils: mostlyclean-textutils
18713 mostlyclean-textutils:
18714 @[ -f ./textutils/Makefile ] || exit 0; \
18715 r=`${PWD_COMMAND}`; export r; \
18716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18719 for flag in $(EXTRA_HOST_FLAGS) ; do \
18720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18722 echo "Doing mostlyclean in textutils" ; \
18724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18726 "RANLIB=$${RANLIB}" \
18727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18733 .PHONY: maybe-clean-textutils clean-textutils
18734 maybe-clean-textutils:
18736 maybe-clean-textutils: clean-textutils
18739 @[ -f ./textutils/Makefile ] || exit 0; \
18740 r=`${PWD_COMMAND}`; export r; \
18741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18744 for flag in $(EXTRA_HOST_FLAGS) ; do \
18745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18747 echo "Doing clean in textutils" ; \
18749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18751 "RANLIB=$${RANLIB}" \
18752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18758 .PHONY: maybe-distclean-textutils distclean-textutils
18759 maybe-distclean-textutils:
18761 maybe-distclean-textutils: distclean-textutils
18763 distclean-textutils:
18764 @[ -f ./textutils/Makefile ] || exit 0; \
18765 r=`${PWD_COMMAND}`; export r; \
18766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18769 for flag in $(EXTRA_HOST_FLAGS) ; do \
18770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18772 echo "Doing distclean in textutils" ; \
18774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18776 "RANLIB=$${RANLIB}" \
18777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18783 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
18784 maybe-maintainer-clean-textutils:
18786 maybe-maintainer-clean-textutils: maintainer-clean-textutils
18788 maintainer-clean-textutils:
18789 @[ -f ./textutils/Makefile ] || exit 0; \
18790 r=`${PWD_COMMAND}`; export r; \
18791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18794 for flag in $(EXTRA_HOST_FLAGS) ; do \
18795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18797 echo "Doing maintainer-clean in textutils" ; \
18799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18801 "RANLIB=$${RANLIB}" \
18802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18803 maintainer-clean) \
18809 .PHONY: configure-time maybe-configure-time
18810 maybe-configure-time:
18812 maybe-configure-time: configure-time
18814 @test ! -f time/Makefile || exit 0; \
18815 [ -d time ] || mkdir time; \
18816 r=`${PWD_COMMAND}`; export r; \
18817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18819 echo Configuring in time; \
18820 cd time || exit 1; \
18821 case $(srcdir) in \
18823 srcdiroption="--srcdir=."; \
18825 /* | [A-Za-z]:[\\/]*) \
18826 srcdiroption="--srcdir=$(srcdir)/time"; \
18827 libsrcdir="$$s/time";; \
18829 srcdiroption="--srcdir=../$(srcdir)/time"; \
18830 libsrcdir="$$s/time";; \
18832 $(SHELL) $${libsrcdir}/configure \
18833 $(HOST_CONFIGARGS) $${srcdiroption} \
18837 .PHONY: all-time maybe-all-time
18840 maybe-all-time: all-time
18841 all-time: configure-time
18842 @r=`${PWD_COMMAND}`; export r; \
18843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18846 (cd time && $(MAKE) $(FLAGS_TO_PASS) all)
18849 .PHONY: check-time maybe-check-time
18852 maybe-check-time: check-time
18855 @r=`${PWD_COMMAND}`; export r; \
18856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18859 (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
18863 .PHONY: install-time maybe-install-time
18864 maybe-install-time:
18866 maybe-install-time: install-time
18868 install-time: installdirs
18869 @r=`${PWD_COMMAND}`; export r; \
18870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18873 (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
18877 # Other targets (info, dvi, etc.)
18879 .PHONY: maybe-info-time info-time
18882 maybe-info-time: info-time
18886 @[ -f ./time/Makefile ] || exit 0; \
18887 r=`${PWD_COMMAND}`; export r; \
18888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18891 for flag in $(EXTRA_HOST_FLAGS) ; do \
18892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18894 echo "Doing info in time" ; \
18896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18898 "RANLIB=$${RANLIB}" \
18899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18905 .PHONY: maybe-dvi-time dvi-time
18908 maybe-dvi-time: dvi-time
18912 @[ -f ./time/Makefile ] || exit 0; \
18913 r=`${PWD_COMMAND}`; export r; \
18914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18917 for flag in $(EXTRA_HOST_FLAGS) ; do \
18918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18920 echo "Doing dvi in time" ; \
18922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18924 "RANLIB=$${RANLIB}" \
18925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18931 .PHONY: maybe-TAGS-time TAGS-time
18934 maybe-TAGS-time: TAGS-time
18938 @[ -f ./time/Makefile ] || exit 0; \
18939 r=`${PWD_COMMAND}`; export r; \
18940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18943 for flag in $(EXTRA_HOST_FLAGS) ; do \
18944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18946 echo "Doing TAGS in time" ; \
18948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18950 "RANLIB=$${RANLIB}" \
18951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18957 .PHONY: maybe-install-info-time install-info-time
18958 maybe-install-info-time:
18960 maybe-install-info-time: install-info-time
18962 install-info-time: \
18965 @[ -f ./time/Makefile ] || exit 0; \
18966 r=`${PWD_COMMAND}`; export r; \
18967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18970 for flag in $(EXTRA_HOST_FLAGS) ; do \
18971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18973 echo "Doing install-info in time" ; \
18975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18977 "RANLIB=$${RANLIB}" \
18978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18984 .PHONY: maybe-installcheck-time installcheck-time
18985 maybe-installcheck-time:
18987 maybe-installcheck-time: installcheck-time
18989 installcheck-time: \
18991 @[ -f ./time/Makefile ] || exit 0; \
18992 r=`${PWD_COMMAND}`; export r; \
18993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18996 for flag in $(EXTRA_HOST_FLAGS) ; do \
18997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18999 echo "Doing installcheck in time" ; \
19001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19003 "RANLIB=$${RANLIB}" \
19004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19010 .PHONY: maybe-mostlyclean-time mostlyclean-time
19011 maybe-mostlyclean-time:
19013 maybe-mostlyclean-time: mostlyclean-time
19016 @[ -f ./time/Makefile ] || exit 0; \
19017 r=`${PWD_COMMAND}`; export r; \
19018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19021 for flag in $(EXTRA_HOST_FLAGS) ; do \
19022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19024 echo "Doing mostlyclean in time" ; \
19026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19028 "RANLIB=$${RANLIB}" \
19029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19035 .PHONY: maybe-clean-time clean-time
19038 maybe-clean-time: clean-time
19041 @[ -f ./time/Makefile ] || exit 0; \
19042 r=`${PWD_COMMAND}`; export r; \
19043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19046 for flag in $(EXTRA_HOST_FLAGS) ; do \
19047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19049 echo "Doing clean in time" ; \
19051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19053 "RANLIB=$${RANLIB}" \
19054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19060 .PHONY: maybe-distclean-time distclean-time
19061 maybe-distclean-time:
19063 maybe-distclean-time: distclean-time
19066 @[ -f ./time/Makefile ] || exit 0; \
19067 r=`${PWD_COMMAND}`; export r; \
19068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19071 for flag in $(EXTRA_HOST_FLAGS) ; do \
19072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19074 echo "Doing distclean in time" ; \
19076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19078 "RANLIB=$${RANLIB}" \
19079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19085 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
19086 maybe-maintainer-clean-time:
19088 maybe-maintainer-clean-time: maintainer-clean-time
19090 maintainer-clean-time:
19091 @[ -f ./time/Makefile ] || exit 0; \
19092 r=`${PWD_COMMAND}`; export r; \
19093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19096 for flag in $(EXTRA_HOST_FLAGS) ; do \
19097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19099 echo "Doing maintainer-clean in time" ; \
19101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19103 "RANLIB=$${RANLIB}" \
19104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19105 maintainer-clean) \
19111 .PHONY: configure-uudecode maybe-configure-uudecode
19112 maybe-configure-uudecode:
19114 maybe-configure-uudecode: configure-uudecode
19115 configure-uudecode:
19116 @test ! -f uudecode/Makefile || exit 0; \
19117 [ -d uudecode ] || mkdir uudecode; \
19118 r=`${PWD_COMMAND}`; export r; \
19119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19121 echo Configuring in uudecode; \
19122 cd uudecode || exit 1; \
19123 case $(srcdir) in \
19125 srcdiroption="--srcdir=."; \
19127 /* | [A-Za-z]:[\\/]*) \
19128 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
19129 libsrcdir="$$s/uudecode";; \
19131 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
19132 libsrcdir="$$s/uudecode";; \
19134 $(SHELL) $${libsrcdir}/configure \
19135 $(HOST_CONFIGARGS) $${srcdiroption} \
19139 .PHONY: all-uudecode maybe-all-uudecode
19140 maybe-all-uudecode:
19142 maybe-all-uudecode: all-uudecode
19143 all-uudecode: configure-uudecode
19144 @r=`${PWD_COMMAND}`; export r; \
19145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19148 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) all)
19151 .PHONY: check-uudecode maybe-check-uudecode
19152 maybe-check-uudecode:
19154 maybe-check-uudecode: check-uudecode
19157 @r=`${PWD_COMMAND}`; export r; \
19158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19161 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
19165 .PHONY: install-uudecode maybe-install-uudecode
19166 maybe-install-uudecode:
19168 maybe-install-uudecode: install-uudecode
19170 install-uudecode: installdirs
19171 @r=`${PWD_COMMAND}`; export r; \
19172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19175 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
19179 # Other targets (info, dvi, etc.)
19181 .PHONY: maybe-info-uudecode info-uudecode
19182 maybe-info-uudecode:
19184 maybe-info-uudecode: info-uudecode
19188 @[ -f ./uudecode/Makefile ] || exit 0; \
19189 r=`${PWD_COMMAND}`; export r; \
19190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19193 for flag in $(EXTRA_HOST_FLAGS) ; do \
19194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19196 echo "Doing info in uudecode" ; \
19198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19200 "RANLIB=$${RANLIB}" \
19201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19207 .PHONY: maybe-dvi-uudecode dvi-uudecode
19208 maybe-dvi-uudecode:
19210 maybe-dvi-uudecode: dvi-uudecode
19214 @[ -f ./uudecode/Makefile ] || exit 0; \
19215 r=`${PWD_COMMAND}`; export r; \
19216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19219 for flag in $(EXTRA_HOST_FLAGS) ; do \
19220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19222 echo "Doing dvi in uudecode" ; \
19224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19226 "RANLIB=$${RANLIB}" \
19227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19233 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
19234 maybe-TAGS-uudecode:
19236 maybe-TAGS-uudecode: TAGS-uudecode
19240 @[ -f ./uudecode/Makefile ] || exit 0; \
19241 r=`${PWD_COMMAND}`; export r; \
19242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19245 for flag in $(EXTRA_HOST_FLAGS) ; do \
19246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19248 echo "Doing TAGS in uudecode" ; \
19250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19252 "RANLIB=$${RANLIB}" \
19253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19259 .PHONY: maybe-install-info-uudecode install-info-uudecode
19260 maybe-install-info-uudecode:
19262 maybe-install-info-uudecode: install-info-uudecode
19264 install-info-uudecode: \
19265 configure-uudecode \
19267 @[ -f ./uudecode/Makefile ] || exit 0; \
19268 r=`${PWD_COMMAND}`; export r; \
19269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19272 for flag in $(EXTRA_HOST_FLAGS) ; do \
19273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19275 echo "Doing install-info in uudecode" ; \
19277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19279 "RANLIB=$${RANLIB}" \
19280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19286 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
19287 maybe-installcheck-uudecode:
19289 maybe-installcheck-uudecode: installcheck-uudecode
19291 installcheck-uudecode: \
19293 @[ -f ./uudecode/Makefile ] || exit 0; \
19294 r=`${PWD_COMMAND}`; export r; \
19295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19298 for flag in $(EXTRA_HOST_FLAGS) ; do \
19299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19301 echo "Doing installcheck in uudecode" ; \
19303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19305 "RANLIB=$${RANLIB}" \
19306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19312 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
19313 maybe-mostlyclean-uudecode:
19315 maybe-mostlyclean-uudecode: mostlyclean-uudecode
19317 mostlyclean-uudecode:
19318 @[ -f ./uudecode/Makefile ] || exit 0; \
19319 r=`${PWD_COMMAND}`; export r; \
19320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19323 for flag in $(EXTRA_HOST_FLAGS) ; do \
19324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19326 echo "Doing mostlyclean in uudecode" ; \
19328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19330 "RANLIB=$${RANLIB}" \
19331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19337 .PHONY: maybe-clean-uudecode clean-uudecode
19338 maybe-clean-uudecode:
19340 maybe-clean-uudecode: clean-uudecode
19343 @[ -f ./uudecode/Makefile ] || exit 0; \
19344 r=`${PWD_COMMAND}`; export r; \
19345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19348 for flag in $(EXTRA_HOST_FLAGS) ; do \
19349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19351 echo "Doing clean in uudecode" ; \
19353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19355 "RANLIB=$${RANLIB}" \
19356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19362 .PHONY: maybe-distclean-uudecode distclean-uudecode
19363 maybe-distclean-uudecode:
19365 maybe-distclean-uudecode: distclean-uudecode
19367 distclean-uudecode:
19368 @[ -f ./uudecode/Makefile ] || exit 0; \
19369 r=`${PWD_COMMAND}`; export r; \
19370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19373 for flag in $(EXTRA_HOST_FLAGS) ; do \
19374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19376 echo "Doing distclean in uudecode" ; \
19378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19380 "RANLIB=$${RANLIB}" \
19381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19387 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
19388 maybe-maintainer-clean-uudecode:
19390 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
19392 maintainer-clean-uudecode:
19393 @[ -f ./uudecode/Makefile ] || exit 0; \
19394 r=`${PWD_COMMAND}`; export r; \
19395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19398 for flag in $(EXTRA_HOST_FLAGS) ; do \
19399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19401 echo "Doing maintainer-clean in uudecode" ; \
19403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19405 "RANLIB=$${RANLIB}" \
19406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19407 maintainer-clean) \
19413 .PHONY: configure-wdiff maybe-configure-wdiff
19414 maybe-configure-wdiff:
19416 maybe-configure-wdiff: configure-wdiff
19418 @test ! -f wdiff/Makefile || exit 0; \
19419 [ -d wdiff ] || mkdir wdiff; \
19420 r=`${PWD_COMMAND}`; export r; \
19421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19423 echo Configuring in wdiff; \
19424 cd wdiff || exit 1; \
19425 case $(srcdir) in \
19427 srcdiroption="--srcdir=."; \
19429 /* | [A-Za-z]:[\\/]*) \
19430 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
19431 libsrcdir="$$s/wdiff";; \
19433 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
19434 libsrcdir="$$s/wdiff";; \
19436 $(SHELL) $${libsrcdir}/configure \
19437 $(HOST_CONFIGARGS) $${srcdiroption} \
19441 .PHONY: all-wdiff maybe-all-wdiff
19444 maybe-all-wdiff: all-wdiff
19445 all-wdiff: configure-wdiff
19446 @r=`${PWD_COMMAND}`; export r; \
19447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19450 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) all)
19453 .PHONY: check-wdiff maybe-check-wdiff
19456 maybe-check-wdiff: check-wdiff
19459 @r=`${PWD_COMMAND}`; export r; \
19460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19463 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
19467 .PHONY: install-wdiff maybe-install-wdiff
19468 maybe-install-wdiff:
19470 maybe-install-wdiff: install-wdiff
19472 install-wdiff: installdirs
19473 @r=`${PWD_COMMAND}`; export r; \
19474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19477 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
19481 # Other targets (info, dvi, etc.)
19483 .PHONY: maybe-info-wdiff info-wdiff
19486 maybe-info-wdiff: info-wdiff
19490 @[ -f ./wdiff/Makefile ] || exit 0; \
19491 r=`${PWD_COMMAND}`; export r; \
19492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19495 for flag in $(EXTRA_HOST_FLAGS) ; do \
19496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19498 echo "Doing info in wdiff" ; \
19500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19502 "RANLIB=$${RANLIB}" \
19503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19509 .PHONY: maybe-dvi-wdiff dvi-wdiff
19512 maybe-dvi-wdiff: dvi-wdiff
19516 @[ -f ./wdiff/Makefile ] || exit 0; \
19517 r=`${PWD_COMMAND}`; export r; \
19518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19521 for flag in $(EXTRA_HOST_FLAGS) ; do \
19522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19524 echo "Doing dvi in wdiff" ; \
19526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19528 "RANLIB=$${RANLIB}" \
19529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19535 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
19538 maybe-TAGS-wdiff: TAGS-wdiff
19542 @[ -f ./wdiff/Makefile ] || exit 0; \
19543 r=`${PWD_COMMAND}`; export r; \
19544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19547 for flag in $(EXTRA_HOST_FLAGS) ; do \
19548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19550 echo "Doing TAGS in wdiff" ; \
19552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19554 "RANLIB=$${RANLIB}" \
19555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19561 .PHONY: maybe-install-info-wdiff install-info-wdiff
19562 maybe-install-info-wdiff:
19564 maybe-install-info-wdiff: install-info-wdiff
19566 install-info-wdiff: \
19569 @[ -f ./wdiff/Makefile ] || exit 0; \
19570 r=`${PWD_COMMAND}`; export r; \
19571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19574 for flag in $(EXTRA_HOST_FLAGS) ; do \
19575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19577 echo "Doing install-info in wdiff" ; \
19579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19581 "RANLIB=$${RANLIB}" \
19582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19588 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
19589 maybe-installcheck-wdiff:
19591 maybe-installcheck-wdiff: installcheck-wdiff
19593 installcheck-wdiff: \
19595 @[ -f ./wdiff/Makefile ] || exit 0; \
19596 r=`${PWD_COMMAND}`; export r; \
19597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19600 for flag in $(EXTRA_HOST_FLAGS) ; do \
19601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19603 echo "Doing installcheck in wdiff" ; \
19605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19607 "RANLIB=$${RANLIB}" \
19608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19614 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
19615 maybe-mostlyclean-wdiff:
19617 maybe-mostlyclean-wdiff: mostlyclean-wdiff
19620 @[ -f ./wdiff/Makefile ] || exit 0; \
19621 r=`${PWD_COMMAND}`; export r; \
19622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19625 for flag in $(EXTRA_HOST_FLAGS) ; do \
19626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19628 echo "Doing mostlyclean in wdiff" ; \
19630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19632 "RANLIB=$${RANLIB}" \
19633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19639 .PHONY: maybe-clean-wdiff clean-wdiff
19642 maybe-clean-wdiff: clean-wdiff
19645 @[ -f ./wdiff/Makefile ] || exit 0; \
19646 r=`${PWD_COMMAND}`; export r; \
19647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19650 for flag in $(EXTRA_HOST_FLAGS) ; do \
19651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19653 echo "Doing clean in wdiff" ; \
19655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19657 "RANLIB=$${RANLIB}" \
19658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19664 .PHONY: maybe-distclean-wdiff distclean-wdiff
19665 maybe-distclean-wdiff:
19667 maybe-distclean-wdiff: distclean-wdiff
19670 @[ -f ./wdiff/Makefile ] || exit 0; \
19671 r=`${PWD_COMMAND}`; export r; \
19672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19675 for flag in $(EXTRA_HOST_FLAGS) ; do \
19676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19678 echo "Doing distclean in wdiff" ; \
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}" \
19689 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
19690 maybe-maintainer-clean-wdiff:
19692 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
19694 maintainer-clean-wdiff:
19695 @[ -f ./wdiff/Makefile ] || exit 0; \
19696 r=`${PWD_COMMAND}`; export r; \
19697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19700 for flag in $(EXTRA_HOST_FLAGS) ; do \
19701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19703 echo "Doing maintainer-clean in wdiff" ; \
19705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19707 "RANLIB=$${RANLIB}" \
19708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19709 maintainer-clean) \
19715 .PHONY: configure-zip maybe-configure-zip
19716 maybe-configure-zip:
19718 maybe-configure-zip: configure-zip
19720 @test ! -f zip/Makefile || exit 0; \
19721 [ -d zip ] || mkdir zip; \
19722 r=`${PWD_COMMAND}`; export r; \
19723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19725 echo Configuring in zip; \
19726 cd zip || exit 1; \
19727 case $(srcdir) in \
19729 srcdiroption="--srcdir=."; \
19731 /* | [A-Za-z]:[\\/]*) \
19732 srcdiroption="--srcdir=$(srcdir)/zip"; \
19733 libsrcdir="$$s/zip";; \
19735 srcdiroption="--srcdir=../$(srcdir)/zip"; \
19736 libsrcdir="$$s/zip";; \
19738 $(SHELL) $${libsrcdir}/configure \
19739 $(HOST_CONFIGARGS) $${srcdiroption} \
19743 .PHONY: all-zip maybe-all-zip
19746 maybe-all-zip: all-zip
19747 all-zip: configure-zip
19748 @r=`${PWD_COMMAND}`; export r; \
19749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19752 (cd zip && $(MAKE) $(FLAGS_TO_PASS) all)
19755 .PHONY: check-zip maybe-check-zip
19758 maybe-check-zip: check-zip
19760 # This module is only tested in a native toolchain.
19762 @if [ '$(host)' = '$(target)' ] ; then \
19763 r=`${PWD_COMMAND}`; export r; \
19764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19767 (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \
19772 .PHONY: install-zip maybe-install-zip
19775 maybe-install-zip: install-zip
19777 install-zip: installdirs
19778 @r=`${PWD_COMMAND}`; export r; \
19779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19782 (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
19786 # Other targets (info, dvi, etc.)
19788 .PHONY: maybe-info-zip info-zip
19791 maybe-info-zip: info-zip
19795 @[ -f ./zip/Makefile ] || exit 0; \
19796 r=`${PWD_COMMAND}`; export r; \
19797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19800 for flag in $(EXTRA_HOST_FLAGS) ; do \
19801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19803 echo "Doing info in zip" ; \
19805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19807 "RANLIB=$${RANLIB}" \
19808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19814 .PHONY: maybe-dvi-zip dvi-zip
19817 maybe-dvi-zip: dvi-zip
19821 @[ -f ./zip/Makefile ] || exit 0; \
19822 r=`${PWD_COMMAND}`; export r; \
19823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19826 for flag in $(EXTRA_HOST_FLAGS) ; do \
19827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19829 echo "Doing dvi in zip" ; \
19831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19833 "RANLIB=$${RANLIB}" \
19834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19840 .PHONY: maybe-TAGS-zip TAGS-zip
19843 maybe-TAGS-zip: TAGS-zip
19847 @[ -f ./zip/Makefile ] || exit 0; \
19848 r=`${PWD_COMMAND}`; export r; \
19849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19852 for flag in $(EXTRA_HOST_FLAGS) ; do \
19853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19855 echo "Doing TAGS in zip" ; \
19857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19859 "RANLIB=$${RANLIB}" \
19860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19866 .PHONY: maybe-install-info-zip install-info-zip
19867 maybe-install-info-zip:
19869 maybe-install-info-zip: install-info-zip
19871 install-info-zip: \
19874 @[ -f ./zip/Makefile ] || exit 0; \
19875 r=`${PWD_COMMAND}`; export r; \
19876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19879 for flag in $(EXTRA_HOST_FLAGS) ; do \
19880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19882 echo "Doing install-info in zip" ; \
19884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19886 "RANLIB=$${RANLIB}" \
19887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19893 .PHONY: maybe-installcheck-zip installcheck-zip
19894 maybe-installcheck-zip:
19896 maybe-installcheck-zip: installcheck-zip
19898 installcheck-zip: \
19900 @[ -f ./zip/Makefile ] || exit 0; \
19901 r=`${PWD_COMMAND}`; export r; \
19902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19905 for flag in $(EXTRA_HOST_FLAGS) ; do \
19906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19908 echo "Doing installcheck in zip" ; \
19910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19912 "RANLIB=$${RANLIB}" \
19913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19919 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
19920 maybe-mostlyclean-zip:
19922 maybe-mostlyclean-zip: mostlyclean-zip
19925 @[ -f ./zip/Makefile ] || exit 0; \
19926 r=`${PWD_COMMAND}`; export r; \
19927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19930 for flag in $(EXTRA_HOST_FLAGS) ; do \
19931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19933 echo "Doing mostlyclean in zip" ; \
19935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19937 "RANLIB=$${RANLIB}" \
19938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19944 .PHONY: maybe-clean-zip clean-zip
19947 maybe-clean-zip: clean-zip
19950 @[ -f ./zip/Makefile ] || exit 0; \
19951 r=`${PWD_COMMAND}`; export r; \
19952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19955 for flag in $(EXTRA_HOST_FLAGS) ; do \
19956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19958 echo "Doing clean in zip" ; \
19960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19962 "RANLIB=$${RANLIB}" \
19963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19969 .PHONY: maybe-distclean-zip distclean-zip
19970 maybe-distclean-zip:
19972 maybe-distclean-zip: distclean-zip
19975 @[ -f ./zip/Makefile ] || exit 0; \
19976 r=`${PWD_COMMAND}`; export r; \
19977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19980 for flag in $(EXTRA_HOST_FLAGS) ; do \
19981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19983 echo "Doing distclean in zip" ; \
19985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19987 "RANLIB=$${RANLIB}" \
19988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19994 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
19995 maybe-maintainer-clean-zip:
19997 maybe-maintainer-clean-zip: maintainer-clean-zip
19999 maintainer-clean-zip:
20000 @[ -f ./zip/Makefile ] || exit 0; \
20001 r=`${PWD_COMMAND}`; export r; \
20002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20005 for flag in $(EXTRA_HOST_FLAGS) ; do \
20006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20008 echo "Doing maintainer-clean in zip" ; \
20010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20012 "RANLIB=$${RANLIB}" \
20013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20014 maintainer-clean) \
20020 .PHONY: configure-zlib maybe-configure-zlib
20021 maybe-configure-zlib:
20023 maybe-configure-zlib: configure-zlib
20025 @test -f stage_last && exit 0; \
20026 test ! -f zlib/Makefile || exit 0; \
20027 [ -d zlib ] || mkdir zlib; \
20028 r=`${PWD_COMMAND}`; export r; \
20029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20031 echo Configuring in zlib; \
20032 cd zlib || exit 1; \
20033 case $(srcdir) in \
20035 srcdiroption="--srcdir=."; \
20037 /* | [A-Za-z]:[\\/]*) \
20038 srcdiroption="--srcdir=$(srcdir)/zlib"; \
20039 libsrcdir="$$s/zlib";; \
20041 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
20042 libsrcdir="$$s/zlib";; \
20044 $(SHELL) $${libsrcdir}/configure \
20045 $(HOST_CONFIGARGS) $${srcdiroption} \
20049 .PHONY: all-zlib maybe-all-zlib
20052 maybe-all-zlib: all-zlib
20053 all-zlib: configure-zlib
20054 @test -f stage_last && exit 0; \
20055 r=`${PWD_COMMAND}`; export r; \
20056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20059 (cd zlib && $(MAKE) $(FLAGS_TO_PASS) all)
20062 .PHONY: check-zlib maybe-check-zlib
20065 maybe-check-zlib: check-zlib
20071 .PHONY: install-zlib maybe-install-zlib
20072 maybe-install-zlib:
20074 maybe-install-zlib: install-zlib
20080 # Other targets (info, dvi, etc.)
20082 .PHONY: maybe-info-zlib info-zlib
20085 maybe-info-zlib: info-zlib
20089 @[ -f ./zlib/Makefile ] || exit 0; \
20090 r=`${PWD_COMMAND}`; export r; \
20091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20094 for flag in $(EXTRA_HOST_FLAGS) ; do \
20095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20097 echo "Doing info in zlib" ; \
20099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20101 "RANLIB=$${RANLIB}" \
20102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20108 .PHONY: maybe-dvi-zlib dvi-zlib
20111 maybe-dvi-zlib: dvi-zlib
20115 @[ -f ./zlib/Makefile ] || exit 0; \
20116 r=`${PWD_COMMAND}`; export r; \
20117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20120 for flag in $(EXTRA_HOST_FLAGS) ; do \
20121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20123 echo "Doing dvi in zlib" ; \
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}" \
20134 .PHONY: maybe-TAGS-zlib TAGS-zlib
20137 maybe-TAGS-zlib: TAGS-zlib
20141 @[ -f ./zlib/Makefile ] || exit 0; \
20142 r=`${PWD_COMMAND}`; export r; \
20143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20146 for flag in $(EXTRA_HOST_FLAGS) ; do \
20147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20149 echo "Doing TAGS in zlib" ; \
20151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20153 "RANLIB=$${RANLIB}" \
20154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20160 .PHONY: maybe-install-info-zlib install-info-zlib
20161 maybe-install-info-zlib:
20163 maybe-install-info-zlib: install-info-zlib
20165 install-info-zlib: \
20168 @[ -f ./zlib/Makefile ] || exit 0; \
20169 r=`${PWD_COMMAND}`; export r; \
20170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20173 for flag in $(EXTRA_HOST_FLAGS) ; do \
20174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20176 echo "Doing install-info in zlib" ; \
20178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20180 "RANLIB=$${RANLIB}" \
20181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20187 .PHONY: maybe-installcheck-zlib installcheck-zlib
20188 maybe-installcheck-zlib:
20190 maybe-installcheck-zlib: installcheck-zlib
20192 installcheck-zlib: \
20194 @[ -f ./zlib/Makefile ] || exit 0; \
20195 r=`${PWD_COMMAND}`; export r; \
20196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20199 for flag in $(EXTRA_HOST_FLAGS) ; do \
20200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20202 echo "Doing installcheck in zlib" ; \
20204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20206 "RANLIB=$${RANLIB}" \
20207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20213 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
20214 maybe-mostlyclean-zlib:
20216 maybe-mostlyclean-zlib: mostlyclean-zlib
20219 @[ -f ./zlib/Makefile ] || exit 0; \
20220 r=`${PWD_COMMAND}`; export r; \
20221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20224 for flag in $(EXTRA_HOST_FLAGS) ; do \
20225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20227 echo "Doing mostlyclean in zlib" ; \
20229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20231 "RANLIB=$${RANLIB}" \
20232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20238 .PHONY: maybe-clean-zlib clean-zlib
20241 maybe-clean-zlib: clean-zlib
20244 @[ -f ./zlib/Makefile ] || exit 0; \
20245 r=`${PWD_COMMAND}`; export r; \
20246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20249 for flag in $(EXTRA_HOST_FLAGS) ; do \
20250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20252 echo "Doing clean in zlib" ; \
20254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20256 "RANLIB=$${RANLIB}" \
20257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20263 .PHONY: maybe-distclean-zlib distclean-zlib
20264 maybe-distclean-zlib:
20266 maybe-distclean-zlib: distclean-zlib
20269 @[ -f ./zlib/Makefile ] || exit 0; \
20270 r=`${PWD_COMMAND}`; export r; \
20271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20274 for flag in $(EXTRA_HOST_FLAGS) ; do \
20275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20277 echo "Doing distclean in zlib" ; \
20279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20281 "RANLIB=$${RANLIB}" \
20282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20288 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
20289 maybe-maintainer-clean-zlib:
20291 maybe-maintainer-clean-zlib: maintainer-clean-zlib
20293 maintainer-clean-zlib:
20294 @[ -f ./zlib/Makefile ] || exit 0; \
20295 r=`${PWD_COMMAND}`; export r; \
20296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20299 for flag in $(EXTRA_HOST_FLAGS) ; do \
20300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20302 echo "Doing maintainer-clean in zlib" ; \
20304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20306 "RANLIB=$${RANLIB}" \
20307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20308 maintainer-clean) \
20314 .PHONY: configure-gdb maybe-configure-gdb
20315 maybe-configure-gdb:
20317 maybe-configure-gdb: configure-gdb
20319 @test ! -f gdb/Makefile || exit 0; \
20320 [ -d gdb ] || mkdir gdb; \
20321 r=`${PWD_COMMAND}`; export r; \
20322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20324 echo Configuring in gdb; \
20325 cd gdb || exit 1; \
20326 case $(srcdir) in \
20328 srcdiroption="--srcdir=."; \
20330 /* | [A-Za-z]:[\\/]*) \
20331 srcdiroption="--srcdir=$(srcdir)/gdb"; \
20332 libsrcdir="$$s/gdb";; \
20334 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
20335 libsrcdir="$$s/gdb";; \
20337 $(SHELL) $${libsrcdir}/configure \
20338 $(HOST_CONFIGARGS) $${srcdiroption} \
20342 .PHONY: all-gdb maybe-all-gdb
20345 maybe-all-gdb: all-gdb
20346 all-gdb: configure-gdb
20347 @r=`${PWD_COMMAND}`; export r; \
20348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20351 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20354 .PHONY: check-gdb maybe-check-gdb
20357 maybe-check-gdb: check-gdb
20360 @r=`${PWD_COMMAND}`; export r; \
20361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20364 (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
20368 .PHONY: install-gdb maybe-install-gdb
20371 maybe-install-gdb: install-gdb
20373 install-gdb: installdirs
20374 @r=`${PWD_COMMAND}`; export r; \
20375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20378 (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
20382 # Other targets (info, dvi, etc.)
20384 .PHONY: maybe-info-gdb info-gdb
20387 maybe-info-gdb: info-gdb
20391 @[ -f ./gdb/Makefile ] || exit 0; \
20392 r=`${PWD_COMMAND}`; export r; \
20393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20396 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20399 echo "Doing info in gdb" ; \
20401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20403 "RANLIB=$${RANLIB}" \
20404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20410 .PHONY: maybe-dvi-gdb dvi-gdb
20413 maybe-dvi-gdb: dvi-gdb
20417 @[ -f ./gdb/Makefile ] || exit 0; \
20418 r=`${PWD_COMMAND}`; export r; \
20419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20422 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20425 echo "Doing dvi in gdb" ; \
20427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20429 "RANLIB=$${RANLIB}" \
20430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20436 .PHONY: maybe-TAGS-gdb TAGS-gdb
20439 maybe-TAGS-gdb: TAGS-gdb
20443 @[ -f ./gdb/Makefile ] || exit 0; \
20444 r=`${PWD_COMMAND}`; export r; \
20445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20448 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20451 echo "Doing TAGS in gdb" ; \
20453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20455 "RANLIB=$${RANLIB}" \
20456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20462 .PHONY: maybe-install-info-gdb install-info-gdb
20463 maybe-install-info-gdb:
20465 maybe-install-info-gdb: install-info-gdb
20467 install-info-gdb: \
20470 @[ -f ./gdb/Makefile ] || exit 0; \
20471 r=`${PWD_COMMAND}`; export r; \
20472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20475 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20478 echo "Doing install-info in gdb" ; \
20480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20482 "RANLIB=$${RANLIB}" \
20483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20489 .PHONY: maybe-installcheck-gdb installcheck-gdb
20490 maybe-installcheck-gdb:
20492 maybe-installcheck-gdb: installcheck-gdb
20494 installcheck-gdb: \
20496 @[ -f ./gdb/Makefile ] || exit 0; \
20497 r=`${PWD_COMMAND}`; export r; \
20498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20501 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20504 echo "Doing installcheck in gdb" ; \
20506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20508 "RANLIB=$${RANLIB}" \
20509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20515 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
20516 maybe-mostlyclean-gdb:
20518 maybe-mostlyclean-gdb: mostlyclean-gdb
20521 @[ -f ./gdb/Makefile ] || exit 0; \
20522 r=`${PWD_COMMAND}`; export r; \
20523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20526 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20529 echo "Doing mostlyclean in gdb" ; \
20531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20533 "RANLIB=$${RANLIB}" \
20534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20540 .PHONY: maybe-clean-gdb clean-gdb
20543 maybe-clean-gdb: clean-gdb
20546 @[ -f ./gdb/Makefile ] || exit 0; \
20547 r=`${PWD_COMMAND}`; export r; \
20548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20551 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20554 echo "Doing clean in gdb" ; \
20556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20558 "RANLIB=$${RANLIB}" \
20559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20565 .PHONY: maybe-distclean-gdb distclean-gdb
20566 maybe-distclean-gdb:
20568 maybe-distclean-gdb: distclean-gdb
20571 @[ -f ./gdb/Makefile ] || exit 0; \
20572 r=`${PWD_COMMAND}`; export r; \
20573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20576 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20579 echo "Doing distclean in gdb" ; \
20581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20583 "RANLIB=$${RANLIB}" \
20584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20590 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
20591 maybe-maintainer-clean-gdb:
20593 maybe-maintainer-clean-gdb: maintainer-clean-gdb
20595 maintainer-clean-gdb:
20596 @[ -f ./gdb/Makefile ] || exit 0; \
20597 r=`${PWD_COMMAND}`; export r; \
20598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20601 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20604 echo "Doing maintainer-clean in gdb" ; \
20606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20608 "RANLIB=$${RANLIB}" \
20609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20610 maintainer-clean) \
20616 .PHONY: configure-expect maybe-configure-expect
20617 maybe-configure-expect:
20619 maybe-configure-expect: configure-expect
20621 @test ! -f expect/Makefile || exit 0; \
20622 [ -d expect ] || mkdir expect; \
20623 r=`${PWD_COMMAND}`; export r; \
20624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20626 echo Configuring in expect; \
20627 cd expect || exit 1; \
20628 case $(srcdir) in \
20630 srcdiroption="--srcdir=."; \
20632 /* | [A-Za-z]:[\\/]*) \
20633 srcdiroption="--srcdir=$(srcdir)/expect"; \
20634 libsrcdir="$$s/expect";; \
20636 srcdiroption="--srcdir=../$(srcdir)/expect"; \
20637 libsrcdir="$$s/expect";; \
20639 $(SHELL) $${libsrcdir}/configure \
20640 $(HOST_CONFIGARGS) $${srcdiroption} \
20644 .PHONY: all-expect maybe-all-expect
20647 maybe-all-expect: all-expect
20648 all-expect: configure-expect
20649 @r=`${PWD_COMMAND}`; export r; \
20650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20653 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20656 .PHONY: check-expect maybe-check-expect
20657 maybe-check-expect:
20659 maybe-check-expect: check-expect
20662 @r=`${PWD_COMMAND}`; export r; \
20663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20666 (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
20670 .PHONY: install-expect maybe-install-expect
20671 maybe-install-expect:
20673 maybe-install-expect: install-expect
20675 install-expect: installdirs
20676 @r=`${PWD_COMMAND}`; export r; \
20677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20680 (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
20684 # Other targets (info, dvi, etc.)
20686 .PHONY: maybe-info-expect info-expect
20689 maybe-info-expect: info-expect
20693 @[ -f ./expect/Makefile ] || exit 0; \
20694 r=`${PWD_COMMAND}`; export r; \
20695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20698 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20701 echo "Doing info in expect" ; \
20703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20705 "RANLIB=$${RANLIB}" \
20706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20712 .PHONY: maybe-dvi-expect dvi-expect
20715 maybe-dvi-expect: dvi-expect
20719 @[ -f ./expect/Makefile ] || exit 0; \
20720 r=`${PWD_COMMAND}`; export r; \
20721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20724 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20727 echo "Doing dvi in expect" ; \
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}" \
20738 .PHONY: maybe-TAGS-expect TAGS-expect
20741 maybe-TAGS-expect: TAGS-expect
20745 @[ -f ./expect/Makefile ] || exit 0; \
20746 r=`${PWD_COMMAND}`; export r; \
20747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20750 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20753 echo "Doing TAGS in expect" ; \
20755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20757 "RANLIB=$${RANLIB}" \
20758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20764 .PHONY: maybe-install-info-expect install-info-expect
20765 maybe-install-info-expect:
20767 maybe-install-info-expect: install-info-expect
20769 install-info-expect: \
20772 @[ -f ./expect/Makefile ] || exit 0; \
20773 r=`${PWD_COMMAND}`; export r; \
20774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20777 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20780 echo "Doing install-info in expect" ; \
20782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20784 "RANLIB=$${RANLIB}" \
20785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20791 .PHONY: maybe-installcheck-expect installcheck-expect
20792 maybe-installcheck-expect:
20794 maybe-installcheck-expect: installcheck-expect
20796 installcheck-expect: \
20798 @[ -f ./expect/Makefile ] || exit 0; \
20799 r=`${PWD_COMMAND}`; export r; \
20800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20803 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20806 echo "Doing installcheck in expect" ; \
20808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20810 "RANLIB=$${RANLIB}" \
20811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20817 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
20818 maybe-mostlyclean-expect:
20820 maybe-mostlyclean-expect: mostlyclean-expect
20822 mostlyclean-expect:
20823 @[ -f ./expect/Makefile ] || exit 0; \
20824 r=`${PWD_COMMAND}`; export r; \
20825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20828 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20831 echo "Doing mostlyclean in expect" ; \
20833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20835 "RANLIB=$${RANLIB}" \
20836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20842 .PHONY: maybe-clean-expect clean-expect
20843 maybe-clean-expect:
20845 maybe-clean-expect: clean-expect
20848 @[ -f ./expect/Makefile ] || exit 0; \
20849 r=`${PWD_COMMAND}`; export r; \
20850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20853 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20856 echo "Doing clean in expect" ; \
20858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20860 "RANLIB=$${RANLIB}" \
20861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20867 .PHONY: maybe-distclean-expect distclean-expect
20868 maybe-distclean-expect:
20870 maybe-distclean-expect: distclean-expect
20873 @[ -f ./expect/Makefile ] || exit 0; \
20874 r=`${PWD_COMMAND}`; export r; \
20875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20878 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20881 echo "Doing distclean in expect" ; \
20883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20885 "RANLIB=$${RANLIB}" \
20886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20892 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
20893 maybe-maintainer-clean-expect:
20895 maybe-maintainer-clean-expect: maintainer-clean-expect
20897 maintainer-clean-expect:
20898 @[ -f ./expect/Makefile ] || exit 0; \
20899 r=`${PWD_COMMAND}`; export r; \
20900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20903 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20906 echo "Doing maintainer-clean in expect" ; \
20908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20910 "RANLIB=$${RANLIB}" \
20911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20912 maintainer-clean) \
20918 .PHONY: configure-guile maybe-configure-guile
20919 maybe-configure-guile:
20921 maybe-configure-guile: configure-guile
20923 @test ! -f guile/Makefile || exit 0; \
20924 [ -d guile ] || mkdir guile; \
20925 r=`${PWD_COMMAND}`; export r; \
20926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20928 echo Configuring in guile; \
20929 cd guile || exit 1; \
20930 case $(srcdir) in \
20932 srcdiroption="--srcdir=."; \
20934 /* | [A-Za-z]:[\\/]*) \
20935 srcdiroption="--srcdir=$(srcdir)/guile"; \
20936 libsrcdir="$$s/guile";; \
20938 srcdiroption="--srcdir=../$(srcdir)/guile"; \
20939 libsrcdir="$$s/guile";; \
20941 $(SHELL) $${libsrcdir}/configure \
20942 $(HOST_CONFIGARGS) $${srcdiroption} \
20946 .PHONY: all-guile maybe-all-guile
20949 maybe-all-guile: all-guile
20950 all-guile: configure-guile
20951 @r=`${PWD_COMMAND}`; export r; \
20952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20955 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20958 .PHONY: check-guile maybe-check-guile
20961 maybe-check-guile: check-guile
20964 @r=`${PWD_COMMAND}`; export r; \
20965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20968 (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
20972 .PHONY: install-guile maybe-install-guile
20973 maybe-install-guile:
20975 maybe-install-guile: install-guile
20977 install-guile: installdirs
20978 @r=`${PWD_COMMAND}`; export r; \
20979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20982 (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
20986 # Other targets (info, dvi, etc.)
20988 .PHONY: maybe-info-guile info-guile
20991 maybe-info-guile: info-guile
20995 @[ -f ./guile/Makefile ] || exit 0; \
20996 r=`${PWD_COMMAND}`; export r; \
20997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21000 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21003 echo "Doing info in guile" ; \
21005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21007 "RANLIB=$${RANLIB}" \
21008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21014 .PHONY: maybe-dvi-guile dvi-guile
21017 maybe-dvi-guile: dvi-guile
21021 @[ -f ./guile/Makefile ] || exit 0; \
21022 r=`${PWD_COMMAND}`; export r; \
21023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21026 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21029 echo "Doing dvi in guile" ; \
21031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21033 "RANLIB=$${RANLIB}" \
21034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21040 .PHONY: maybe-TAGS-guile TAGS-guile
21043 maybe-TAGS-guile: TAGS-guile
21047 @[ -f ./guile/Makefile ] || exit 0; \
21048 r=`${PWD_COMMAND}`; export r; \
21049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21052 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21055 echo "Doing TAGS in guile" ; \
21057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21059 "RANLIB=$${RANLIB}" \
21060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21066 .PHONY: maybe-install-info-guile install-info-guile
21067 maybe-install-info-guile:
21069 maybe-install-info-guile: install-info-guile
21071 install-info-guile: \
21074 @[ -f ./guile/Makefile ] || exit 0; \
21075 r=`${PWD_COMMAND}`; export r; \
21076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21079 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21082 echo "Doing install-info in guile" ; \
21084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21086 "RANLIB=$${RANLIB}" \
21087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21093 .PHONY: maybe-installcheck-guile installcheck-guile
21094 maybe-installcheck-guile:
21096 maybe-installcheck-guile: installcheck-guile
21098 installcheck-guile: \
21100 @[ -f ./guile/Makefile ] || exit 0; \
21101 r=`${PWD_COMMAND}`; export r; \
21102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21105 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21108 echo "Doing installcheck in guile" ; \
21110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21112 "RANLIB=$${RANLIB}" \
21113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21119 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
21120 maybe-mostlyclean-guile:
21122 maybe-mostlyclean-guile: mostlyclean-guile
21125 @[ -f ./guile/Makefile ] || exit 0; \
21126 r=`${PWD_COMMAND}`; export r; \
21127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21130 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21133 echo "Doing mostlyclean in guile" ; \
21135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21137 "RANLIB=$${RANLIB}" \
21138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21144 .PHONY: maybe-clean-guile clean-guile
21147 maybe-clean-guile: clean-guile
21150 @[ -f ./guile/Makefile ] || exit 0; \
21151 r=`${PWD_COMMAND}`; export r; \
21152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21155 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21158 echo "Doing clean in guile" ; \
21160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21162 "RANLIB=$${RANLIB}" \
21163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21169 .PHONY: maybe-distclean-guile distclean-guile
21170 maybe-distclean-guile:
21172 maybe-distclean-guile: distclean-guile
21175 @[ -f ./guile/Makefile ] || exit 0; \
21176 r=`${PWD_COMMAND}`; export r; \
21177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21180 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21183 echo "Doing distclean in guile" ; \
21185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21187 "RANLIB=$${RANLIB}" \
21188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21194 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
21195 maybe-maintainer-clean-guile:
21197 maybe-maintainer-clean-guile: maintainer-clean-guile
21199 maintainer-clean-guile:
21200 @[ -f ./guile/Makefile ] || exit 0; \
21201 r=`${PWD_COMMAND}`; export r; \
21202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21205 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21208 echo "Doing maintainer-clean in guile" ; \
21210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21212 "RANLIB=$${RANLIB}" \
21213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21214 maintainer-clean) \
21220 .PHONY: configure-tk maybe-configure-tk
21221 maybe-configure-tk:
21223 maybe-configure-tk: configure-tk
21225 @test ! -f tk/Makefile || exit 0; \
21226 [ -d tk ] || mkdir tk; \
21227 r=`${PWD_COMMAND}`; export r; \
21228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21230 echo Configuring in tk; \
21232 case $(srcdir) in \
21234 srcdiroption="--srcdir=."; \
21236 /* | [A-Za-z]:[\\/]*) \
21237 srcdiroption="--srcdir=$(srcdir)/tk"; \
21238 libsrcdir="$$s/tk";; \
21240 srcdiroption="--srcdir=../$(srcdir)/tk"; \
21241 libsrcdir="$$s/tk";; \
21243 $(SHELL) $${libsrcdir}/configure \
21244 $(HOST_CONFIGARGS) $${srcdiroption} \
21248 .PHONY: all-tk maybe-all-tk
21251 maybe-all-tk: all-tk
21252 all-tk: configure-tk
21253 @r=`${PWD_COMMAND}`; export r; \
21254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21257 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21260 .PHONY: check-tk maybe-check-tk
21263 maybe-check-tk: check-tk
21266 @r=`${PWD_COMMAND}`; export r; \
21267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21270 (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
21274 .PHONY: install-tk maybe-install-tk
21277 maybe-install-tk: install-tk
21279 install-tk: installdirs
21280 @r=`${PWD_COMMAND}`; export r; \
21281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21284 (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
21288 # Other targets (info, dvi, etc.)
21290 .PHONY: maybe-info-tk info-tk
21293 maybe-info-tk: info-tk
21297 @[ -f ./tk/Makefile ] || exit 0; \
21298 r=`${PWD_COMMAND}`; export r; \
21299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21302 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21305 echo "Doing info in tk" ; \
21307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21309 "RANLIB=$${RANLIB}" \
21310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21316 .PHONY: maybe-dvi-tk dvi-tk
21319 maybe-dvi-tk: dvi-tk
21323 @[ -f ./tk/Makefile ] || exit 0; \
21324 r=`${PWD_COMMAND}`; export r; \
21325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21328 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21331 echo "Doing dvi in tk" ; \
21333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21335 "RANLIB=$${RANLIB}" \
21336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21342 .PHONY: maybe-TAGS-tk TAGS-tk
21345 maybe-TAGS-tk: TAGS-tk
21349 @[ -f ./tk/Makefile ] || exit 0; \
21350 r=`${PWD_COMMAND}`; export r; \
21351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21354 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21357 echo "Doing TAGS in tk" ; \
21359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21361 "RANLIB=$${RANLIB}" \
21362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21368 .PHONY: maybe-install-info-tk install-info-tk
21369 maybe-install-info-tk:
21371 maybe-install-info-tk: install-info-tk
21376 @[ -f ./tk/Makefile ] || exit 0; \
21377 r=`${PWD_COMMAND}`; export r; \
21378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21381 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21384 echo "Doing install-info in tk" ; \
21386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21388 "RANLIB=$${RANLIB}" \
21389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21395 .PHONY: maybe-installcheck-tk installcheck-tk
21396 maybe-installcheck-tk:
21398 maybe-installcheck-tk: installcheck-tk
21402 @[ -f ./tk/Makefile ] || exit 0; \
21403 r=`${PWD_COMMAND}`; export r; \
21404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21407 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21410 echo "Doing installcheck in tk" ; \
21412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21414 "RANLIB=$${RANLIB}" \
21415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21421 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
21422 maybe-mostlyclean-tk:
21424 maybe-mostlyclean-tk: mostlyclean-tk
21427 @[ -f ./tk/Makefile ] || exit 0; \
21428 r=`${PWD_COMMAND}`; export r; \
21429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21432 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21435 echo "Doing mostlyclean in tk" ; \
21437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21439 "RANLIB=$${RANLIB}" \
21440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21446 .PHONY: maybe-clean-tk clean-tk
21449 maybe-clean-tk: clean-tk
21452 @[ -f ./tk/Makefile ] || exit 0; \
21453 r=`${PWD_COMMAND}`; export r; \
21454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21457 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21460 echo "Doing clean in tk" ; \
21462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21464 "RANLIB=$${RANLIB}" \
21465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21471 .PHONY: maybe-distclean-tk distclean-tk
21472 maybe-distclean-tk:
21474 maybe-distclean-tk: distclean-tk
21477 @[ -f ./tk/Makefile ] || exit 0; \
21478 r=`${PWD_COMMAND}`; export r; \
21479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21482 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21485 echo "Doing distclean in tk" ; \
21487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21489 "RANLIB=$${RANLIB}" \
21490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21496 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
21497 maybe-maintainer-clean-tk:
21499 maybe-maintainer-clean-tk: maintainer-clean-tk
21501 maintainer-clean-tk:
21502 @[ -f ./tk/Makefile ] || exit 0; \
21503 r=`${PWD_COMMAND}`; export r; \
21504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21507 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21510 echo "Doing maintainer-clean in tk" ; \
21512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21514 "RANLIB=$${RANLIB}" \
21515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21516 maintainer-clean) \
21522 .PHONY: configure-libtermcap maybe-configure-libtermcap
21523 maybe-configure-libtermcap:
21525 maybe-configure-libtermcap: configure-libtermcap
21526 configure-libtermcap:
21527 @test ! -f libtermcap/Makefile || exit 0; \
21528 [ -d libtermcap ] || mkdir libtermcap; \
21529 r=`${PWD_COMMAND}`; export r; \
21530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21532 echo Configuring in libtermcap; \
21533 cd libtermcap || exit 1; \
21534 case $(srcdir) in \
21536 srcdiroption="--srcdir=."; \
21538 /* | [A-Za-z]:[\\/]*) \
21539 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
21540 libsrcdir="$$s/libtermcap";; \
21542 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
21543 libsrcdir="$$s/libtermcap";; \
21545 $(SHELL) $${libsrcdir}/configure \
21546 $(HOST_CONFIGARGS) $${srcdiroption} \
21550 .PHONY: all-libtermcap maybe-all-libtermcap
21551 maybe-all-libtermcap:
21553 maybe-all-libtermcap: all-libtermcap
21554 all-libtermcap: configure-libtermcap
21555 @r=`${PWD_COMMAND}`; export r; \
21556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21559 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) all)
21562 .PHONY: check-libtermcap maybe-check-libtermcap
21563 maybe-check-libtermcap:
21565 maybe-check-libtermcap: check-libtermcap
21571 .PHONY: install-libtermcap maybe-install-libtermcap
21572 maybe-install-libtermcap:
21574 maybe-install-libtermcap: install-libtermcap
21576 install-libtermcap: installdirs
21577 @r=`${PWD_COMMAND}`; export r; \
21578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21581 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
21585 # Other targets (info, dvi, etc.)
21587 .PHONY: maybe-info-libtermcap info-libtermcap
21588 maybe-info-libtermcap:
21590 maybe-info-libtermcap: info-libtermcap
21593 configure-libtermcap
21594 @[ -f ./libtermcap/Makefile ] || exit 0; \
21595 r=`${PWD_COMMAND}`; export r; \
21596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21599 for flag in $(EXTRA_HOST_FLAGS) ; do \
21600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21602 echo "Doing info in libtermcap" ; \
21603 (cd libtermcap && \
21604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21606 "RANLIB=$${RANLIB}" \
21607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21613 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
21614 maybe-dvi-libtermcap:
21616 maybe-dvi-libtermcap: dvi-libtermcap
21619 configure-libtermcap
21620 @[ -f ./libtermcap/Makefile ] || exit 0; \
21621 r=`${PWD_COMMAND}`; export r; \
21622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21625 for flag in $(EXTRA_HOST_FLAGS) ; do \
21626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21628 echo "Doing dvi in libtermcap" ; \
21629 (cd libtermcap && \
21630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21632 "RANLIB=$${RANLIB}" \
21633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21639 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
21640 maybe-TAGS-libtermcap:
21642 maybe-TAGS-libtermcap: TAGS-libtermcap
21645 configure-libtermcap
21646 @[ -f ./libtermcap/Makefile ] || exit 0; \
21647 r=`${PWD_COMMAND}`; export r; \
21648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21651 for flag in $(EXTRA_HOST_FLAGS) ; do \
21652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21654 echo "Doing TAGS in libtermcap" ; \
21655 (cd libtermcap && \
21656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21658 "RANLIB=$${RANLIB}" \
21659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21665 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
21666 maybe-install-info-libtermcap:
21668 maybe-install-info-libtermcap: install-info-libtermcap
21670 install-info-libtermcap: \
21671 configure-libtermcap \
21673 @[ -f ./libtermcap/Makefile ] || exit 0; \
21674 r=`${PWD_COMMAND}`; export r; \
21675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21678 for flag in $(EXTRA_HOST_FLAGS) ; do \
21679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21681 echo "Doing install-info in libtermcap" ; \
21682 (cd libtermcap && \
21683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21685 "RANLIB=$${RANLIB}" \
21686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21692 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
21693 maybe-installcheck-libtermcap:
21695 maybe-installcheck-libtermcap: installcheck-libtermcap
21697 installcheck-libtermcap: \
21698 configure-libtermcap
21699 @[ -f ./libtermcap/Makefile ] || exit 0; \
21700 r=`${PWD_COMMAND}`; export r; \
21701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21704 for flag in $(EXTRA_HOST_FLAGS) ; do \
21705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21707 echo "Doing installcheck in libtermcap" ; \
21708 (cd libtermcap && \
21709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21711 "RANLIB=$${RANLIB}" \
21712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21718 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
21719 maybe-mostlyclean-libtermcap:
21721 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
21723 # libtermcap doesn't support mostlyclean.
21724 mostlyclean-libtermcap:
21728 .PHONY: maybe-clean-libtermcap clean-libtermcap
21729 maybe-clean-libtermcap:
21731 maybe-clean-libtermcap: clean-libtermcap
21733 # libtermcap doesn't support clean.
21738 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
21739 maybe-distclean-libtermcap:
21741 maybe-distclean-libtermcap: distclean-libtermcap
21743 # libtermcap doesn't support distclean.
21744 distclean-libtermcap:
21748 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
21749 maybe-maintainer-clean-libtermcap:
21751 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
21753 # libtermcap doesn't support maintainer-clean.
21754 maintainer-clean-libtermcap:
21759 .PHONY: configure-utils maybe-configure-utils
21760 maybe-configure-utils:
21762 maybe-configure-utils: configure-utils
21764 @test ! -f utils/Makefile || exit 0; \
21765 [ -d utils ] || mkdir utils; \
21766 r=`${PWD_COMMAND}`; export r; \
21767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21769 echo Configuring in utils; \
21770 cd utils || exit 1; \
21771 case $(srcdir) in \
21773 srcdiroption="--srcdir=."; \
21775 /* | [A-Za-z]:[\\/]*) \
21776 srcdiroption="--srcdir=$(srcdir)/utils"; \
21777 libsrcdir="$$s/utils";; \
21779 srcdiroption="--srcdir=../$(srcdir)/utils"; \
21780 libsrcdir="$$s/utils";; \
21782 $(SHELL) $${libsrcdir}/configure \
21783 $(HOST_CONFIGARGS) $${srcdiroption} \
21787 .PHONY: all-utils maybe-all-utils
21790 maybe-all-utils: all-utils
21791 all-utils: configure-utils
21792 @r=`${PWD_COMMAND}`; export r; \
21793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21796 (cd utils && $(MAKE) $(FLAGS_TO_PASS) all)
21799 .PHONY: check-utils maybe-check-utils
21802 maybe-check-utils: check-utils
21808 .PHONY: install-utils maybe-install-utils
21809 maybe-install-utils:
21811 maybe-install-utils: install-utils
21813 install-utils: installdirs
21814 @r=`${PWD_COMMAND}`; export r; \
21815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21818 (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
21822 # Other targets (info, dvi, etc.)
21824 .PHONY: maybe-info-utils info-utils
21827 maybe-info-utils: info-utils
21831 @[ -f ./utils/Makefile ] || exit 0; \
21832 r=`${PWD_COMMAND}`; export r; \
21833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21836 for flag in $(EXTRA_HOST_FLAGS) ; do \
21837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21839 echo "Doing info in utils" ; \
21841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21843 "RANLIB=$${RANLIB}" \
21844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21850 .PHONY: maybe-dvi-utils dvi-utils
21853 maybe-dvi-utils: dvi-utils
21857 @[ -f ./utils/Makefile ] || exit 0; \
21858 r=`${PWD_COMMAND}`; export r; \
21859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21862 for flag in $(EXTRA_HOST_FLAGS) ; do \
21863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21865 echo "Doing dvi in utils" ; \
21867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21869 "RANLIB=$${RANLIB}" \
21870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21876 .PHONY: maybe-TAGS-utils TAGS-utils
21879 maybe-TAGS-utils: TAGS-utils
21883 @[ -f ./utils/Makefile ] || exit 0; \
21884 r=`${PWD_COMMAND}`; export r; \
21885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21888 for flag in $(EXTRA_HOST_FLAGS) ; do \
21889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21891 echo "Doing TAGS in utils" ; \
21893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21895 "RANLIB=$${RANLIB}" \
21896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21902 .PHONY: maybe-install-info-utils install-info-utils
21903 maybe-install-info-utils:
21905 maybe-install-info-utils: install-info-utils
21907 install-info-utils: \
21910 @[ -f ./utils/Makefile ] || exit 0; \
21911 r=`${PWD_COMMAND}`; export r; \
21912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21915 for flag in $(EXTRA_HOST_FLAGS) ; do \
21916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21918 echo "Doing install-info in utils" ; \
21920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21922 "RANLIB=$${RANLIB}" \
21923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21929 .PHONY: maybe-installcheck-utils installcheck-utils
21930 maybe-installcheck-utils:
21932 maybe-installcheck-utils: installcheck-utils
21934 installcheck-utils: \
21936 @[ -f ./utils/Makefile ] || exit 0; \
21937 r=`${PWD_COMMAND}`; export r; \
21938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21941 for flag in $(EXTRA_HOST_FLAGS) ; do \
21942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21944 echo "Doing installcheck in utils" ; \
21946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21948 "RANLIB=$${RANLIB}" \
21949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21955 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
21956 maybe-mostlyclean-utils:
21958 maybe-mostlyclean-utils: mostlyclean-utils
21961 @[ -f ./utils/Makefile ] || exit 0; \
21962 r=`${PWD_COMMAND}`; export r; \
21963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21966 for flag in $(EXTRA_HOST_FLAGS) ; do \
21967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21969 echo "Doing mostlyclean in utils" ; \
21971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21973 "RANLIB=$${RANLIB}" \
21974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21980 .PHONY: maybe-clean-utils clean-utils
21983 maybe-clean-utils: clean-utils
21986 @[ -f ./utils/Makefile ] || exit 0; \
21987 r=`${PWD_COMMAND}`; export r; \
21988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21991 for flag in $(EXTRA_HOST_FLAGS) ; do \
21992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21994 echo "Doing clean in utils" ; \
21996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21998 "RANLIB=$${RANLIB}" \
21999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22005 .PHONY: maybe-distclean-utils distclean-utils
22006 maybe-distclean-utils:
22008 maybe-distclean-utils: distclean-utils
22011 @[ -f ./utils/Makefile ] || exit 0; \
22012 r=`${PWD_COMMAND}`; export r; \
22013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22016 for flag in $(EXTRA_HOST_FLAGS) ; do \
22017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22019 echo "Doing distclean in utils" ; \
22021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22023 "RANLIB=$${RANLIB}" \
22024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22030 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
22031 maybe-maintainer-clean-utils:
22033 maybe-maintainer-clean-utils: maintainer-clean-utils
22035 maintainer-clean-utils:
22036 @[ -f ./utils/Makefile ] || exit 0; \
22037 r=`${PWD_COMMAND}`; export r; \
22038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22041 for flag in $(EXTRA_HOST_FLAGS) ; do \
22042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22044 echo "Doing maintainer-clean in utils" ; \
22046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22048 "RANLIB=$${RANLIB}" \
22049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22050 maintainer-clean) \
22057 # ---------------------------------------
22058 # Modules which run on the target machine
22059 # ---------------------------------------
22061 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
22062 maybe-configure-target-libstdc++-v3:
22063 @if target-libstdc++-v3
22064 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
22066 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22067 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
22068 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22069 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
22070 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22072 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22073 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
22074 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22075 r=`${PWD_COMMAND}`; export r; \
22076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22078 $(RAW_CXX_TARGET_EXPORTS) \
22079 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
22080 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
22081 case $(srcdir) in \
22082 /* | [A-Za-z]:[\\/]*) \
22083 topdir=$(srcdir) ;; \
22085 case "$(TARGET_SUBDIR)" in \
22086 .) topdir="../$(srcdir)" ;; \
22087 *) topdir="../../$(srcdir)" ;; \
22090 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
22091 libsrcdir="$$s/libstdc++-v3"; \
22092 rm -f no-such-file || : ; \
22093 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22094 $(TARGET_CONFIGARGS) $${srcdiroption} \
22095 --with-target-subdir="$(TARGET_SUBDIR)" \
22097 @endif target-libstdc++-v3
22099 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
22100 maybe-all-target-libstdc++-v3:
22101 @if target-libstdc++-v3
22102 TARGET-target-libstdc++-v3=all
22103 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
22104 all-target-libstdc++-v3: configure-target-libstdc++-v3
22105 @r=`${PWD_COMMAND}`; export r; \
22106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22108 $(RAW_CXX_TARGET_EXPORTS) \
22109 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22110 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
22111 @endif target-libstdc++-v3
22113 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
22114 maybe-check-target-libstdc++-v3:
22115 @if target-libstdc++-v3
22116 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
22118 check-target-libstdc++-v3:
22119 @r=`${PWD_COMMAND}`; export r; \
22120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22122 $(RAW_CXX_TARGET_EXPORTS) \
22123 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22124 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
22126 @endif target-libstdc++-v3
22128 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
22129 maybe-install-target-libstdc++-v3:
22130 @if target-libstdc++-v3
22131 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
22133 install-target-libstdc++-v3: installdirs
22134 @r=`${PWD_COMMAND}`; export r; \
22135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22137 $(RAW_CXX_TARGET_EXPORTS) \
22138 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22139 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22141 @endif target-libstdc++-v3
22143 # Other targets (info, dvi, etc.)
22145 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
22146 maybe-info-target-libstdc++-v3:
22147 @if target-libstdc++-v3
22148 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
22150 info-target-libstdc++-v3: \
22151 configure-target-libstdc++-v3
22152 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22153 r=`${PWD_COMMAND}`; export r; \
22154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22156 $(RAW_CXX_TARGET_EXPORTS) \
22157 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22158 for flag in $(EXTRA_TARGET_FLAGS); do \
22159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22161 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22164 "RANLIB=$${RANLIB}" \
22165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22169 @endif target-libstdc++-v3
22171 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
22172 maybe-dvi-target-libstdc++-v3:
22173 @if target-libstdc++-v3
22174 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
22176 dvi-target-libstdc++-v3: \
22177 configure-target-libstdc++-v3
22178 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22179 r=`${PWD_COMMAND}`; export r; \
22180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22182 $(RAW_CXX_TARGET_EXPORTS) \
22183 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22184 for flag in $(EXTRA_TARGET_FLAGS); do \
22185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22187 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22190 "RANLIB=$${RANLIB}" \
22191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22195 @endif target-libstdc++-v3
22197 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
22198 maybe-TAGS-target-libstdc++-v3:
22199 @if target-libstdc++-v3
22200 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
22202 TAGS-target-libstdc++-v3: \
22203 configure-target-libstdc++-v3
22204 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22205 r=`${PWD_COMMAND}`; export r; \
22206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22208 $(RAW_CXX_TARGET_EXPORTS) \
22209 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22210 for flag in $(EXTRA_TARGET_FLAGS); do \
22211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22213 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22216 "RANLIB=$${RANLIB}" \
22217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22221 @endif target-libstdc++-v3
22223 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
22224 maybe-install-info-target-libstdc++-v3:
22225 @if target-libstdc++-v3
22226 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
22228 install-info-target-libstdc++-v3: \
22229 configure-target-libstdc++-v3 \
22230 info-target-libstdc++-v3
22231 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22232 r=`${PWD_COMMAND}`; export r; \
22233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22235 $(RAW_CXX_TARGET_EXPORTS) \
22236 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22237 for flag in $(EXTRA_TARGET_FLAGS); do \
22238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22240 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22243 "RANLIB=$${RANLIB}" \
22244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22248 @endif target-libstdc++-v3
22250 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
22251 maybe-installcheck-target-libstdc++-v3:
22252 @if target-libstdc++-v3
22253 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
22255 installcheck-target-libstdc++-v3: \
22256 configure-target-libstdc++-v3
22257 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22258 r=`${PWD_COMMAND}`; export r; \
22259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22261 $(RAW_CXX_TARGET_EXPORTS) \
22262 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22263 for flag in $(EXTRA_TARGET_FLAGS); do \
22264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22266 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22269 "RANLIB=$${RANLIB}" \
22270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22274 @endif target-libstdc++-v3
22276 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
22277 maybe-mostlyclean-target-libstdc++-v3:
22278 @if target-libstdc++-v3
22279 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
22281 mostlyclean-target-libstdc++-v3:
22282 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22283 r=`${PWD_COMMAND}`; export r; \
22284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22286 $(RAW_CXX_TARGET_EXPORTS) \
22287 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22288 for flag in $(EXTRA_TARGET_FLAGS); do \
22289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22291 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22294 "RANLIB=$${RANLIB}" \
22295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22299 @endif target-libstdc++-v3
22301 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
22302 maybe-clean-target-libstdc++-v3:
22303 @if target-libstdc++-v3
22304 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
22306 clean-target-libstdc++-v3:
22307 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22308 r=`${PWD_COMMAND}`; export r; \
22309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22311 $(RAW_CXX_TARGET_EXPORTS) \
22312 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22313 for flag in $(EXTRA_TARGET_FLAGS); do \
22314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22316 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22319 "RANLIB=$${RANLIB}" \
22320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22324 @endif target-libstdc++-v3
22326 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
22327 maybe-distclean-target-libstdc++-v3:
22328 @if target-libstdc++-v3
22329 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
22331 distclean-target-libstdc++-v3:
22332 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22333 r=`${PWD_COMMAND}`; export r; \
22334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22336 $(RAW_CXX_TARGET_EXPORTS) \
22337 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22338 for flag in $(EXTRA_TARGET_FLAGS); do \
22339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22341 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22344 "RANLIB=$${RANLIB}" \
22345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22349 @endif target-libstdc++-v3
22351 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
22352 maybe-maintainer-clean-target-libstdc++-v3:
22353 @if target-libstdc++-v3
22354 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
22356 maintainer-clean-target-libstdc++-v3:
22357 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22358 r=`${PWD_COMMAND}`; export r; \
22359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22361 $(RAW_CXX_TARGET_EXPORTS) \
22362 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22363 for flag in $(EXTRA_TARGET_FLAGS); do \
22364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22366 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22369 "RANLIB=$${RANLIB}" \
22370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22371 maintainer-clean) \
22374 @endif target-libstdc++-v3
22377 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
22378 maybe-configure-target-libmudflap:
22379 @if target-libmudflap
22380 maybe-configure-target-libmudflap: configure-target-libmudflap
22382 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22383 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
22384 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22385 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
22386 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
22388 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
22389 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
22390 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22391 r=`${PWD_COMMAND}`; export r; \
22392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22394 $(NORMAL_TARGET_EXPORTS) \
22395 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
22396 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
22397 case $(srcdir) in \
22398 /* | [A-Za-z]:[\\/]*) \
22399 topdir=$(srcdir) ;; \
22401 case "$(TARGET_SUBDIR)" in \
22402 .) topdir="../$(srcdir)" ;; \
22403 *) topdir="../../$(srcdir)" ;; \
22406 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
22407 libsrcdir="$$s/libmudflap"; \
22408 rm -f no-such-file || : ; \
22409 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22410 $(TARGET_CONFIGARGS) $${srcdiroption} \
22411 --with-target-subdir="$(TARGET_SUBDIR)" \
22413 @endif target-libmudflap
22415 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
22416 maybe-all-target-libmudflap:
22417 @if target-libmudflap
22418 TARGET-target-libmudflap=all
22419 maybe-all-target-libmudflap: all-target-libmudflap
22420 all-target-libmudflap: configure-target-libmudflap
22421 @r=`${PWD_COMMAND}`; export r; \
22422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22424 $(NORMAL_TARGET_EXPORTS) \
22425 (cd $(TARGET_SUBDIR)/libmudflap && \
22426 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
22427 @endif target-libmudflap
22429 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
22430 maybe-check-target-libmudflap:
22431 @if target-libmudflap
22432 maybe-check-target-libmudflap: check-target-libmudflap
22434 check-target-libmudflap:
22435 @r=`${PWD_COMMAND}`; export r; \
22436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22438 $(NORMAL_TARGET_EXPORTS) \
22439 (cd $(TARGET_SUBDIR)/libmudflap && \
22440 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22442 @endif target-libmudflap
22444 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
22445 maybe-install-target-libmudflap:
22446 @if target-libmudflap
22447 maybe-install-target-libmudflap: install-target-libmudflap
22449 install-target-libmudflap: installdirs
22450 @r=`${PWD_COMMAND}`; export r; \
22451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22453 $(NORMAL_TARGET_EXPORTS) \
22454 (cd $(TARGET_SUBDIR)/libmudflap && \
22455 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22457 @endif target-libmudflap
22459 # Other targets (info, dvi, etc.)
22461 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
22462 maybe-info-target-libmudflap:
22463 @if target-libmudflap
22464 maybe-info-target-libmudflap: info-target-libmudflap
22466 info-target-libmudflap: \
22467 configure-target-libmudflap
22468 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22469 r=`${PWD_COMMAND}`; export r; \
22470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22472 $(NORMAL_TARGET_EXPORTS) \
22473 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
22474 for flag in $(EXTRA_TARGET_FLAGS); do \
22475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22477 (cd $(TARGET_SUBDIR)/libmudflap && \
22478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22480 "RANLIB=$${RANLIB}" \
22481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22485 @endif target-libmudflap
22487 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
22488 maybe-dvi-target-libmudflap:
22489 @if target-libmudflap
22490 maybe-dvi-target-libmudflap: dvi-target-libmudflap
22492 dvi-target-libmudflap: \
22493 configure-target-libmudflap
22494 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22495 r=`${PWD_COMMAND}`; export r; \
22496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22498 $(NORMAL_TARGET_EXPORTS) \
22499 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
22500 for flag in $(EXTRA_TARGET_FLAGS); do \
22501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22503 (cd $(TARGET_SUBDIR)/libmudflap && \
22504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22506 "RANLIB=$${RANLIB}" \
22507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22511 @endif target-libmudflap
22513 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
22514 maybe-TAGS-target-libmudflap:
22515 @if target-libmudflap
22516 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
22518 TAGS-target-libmudflap: \
22519 configure-target-libmudflap
22520 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22521 r=`${PWD_COMMAND}`; export r; \
22522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22524 $(NORMAL_TARGET_EXPORTS) \
22525 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
22526 for flag in $(EXTRA_TARGET_FLAGS); do \
22527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22529 (cd $(TARGET_SUBDIR)/libmudflap && \
22530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22532 "RANLIB=$${RANLIB}" \
22533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22537 @endif target-libmudflap
22539 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
22540 maybe-install-info-target-libmudflap:
22541 @if target-libmudflap
22542 maybe-install-info-target-libmudflap: install-info-target-libmudflap
22544 install-info-target-libmudflap: \
22545 configure-target-libmudflap \
22546 info-target-libmudflap
22547 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22548 r=`${PWD_COMMAND}`; export r; \
22549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22551 $(NORMAL_TARGET_EXPORTS) \
22552 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
22553 for flag in $(EXTRA_TARGET_FLAGS); do \
22554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22556 (cd $(TARGET_SUBDIR)/libmudflap && \
22557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22559 "RANLIB=$${RANLIB}" \
22560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22564 @endif target-libmudflap
22566 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
22567 maybe-installcheck-target-libmudflap:
22568 @if target-libmudflap
22569 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
22571 installcheck-target-libmudflap: \
22572 configure-target-libmudflap
22573 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22574 r=`${PWD_COMMAND}`; export r; \
22575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22577 $(NORMAL_TARGET_EXPORTS) \
22578 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
22579 for flag in $(EXTRA_TARGET_FLAGS); do \
22580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22582 (cd $(TARGET_SUBDIR)/libmudflap && \
22583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22585 "RANLIB=$${RANLIB}" \
22586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22590 @endif target-libmudflap
22592 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
22593 maybe-mostlyclean-target-libmudflap:
22594 @if target-libmudflap
22595 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
22597 mostlyclean-target-libmudflap:
22598 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22599 r=`${PWD_COMMAND}`; export r; \
22600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22602 $(NORMAL_TARGET_EXPORTS) \
22603 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
22604 for flag in $(EXTRA_TARGET_FLAGS); do \
22605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22607 (cd $(TARGET_SUBDIR)/libmudflap && \
22608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22610 "RANLIB=$${RANLIB}" \
22611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22615 @endif target-libmudflap
22617 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
22618 maybe-clean-target-libmudflap:
22619 @if target-libmudflap
22620 maybe-clean-target-libmudflap: clean-target-libmudflap
22622 clean-target-libmudflap:
22623 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22624 r=`${PWD_COMMAND}`; export r; \
22625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22627 $(NORMAL_TARGET_EXPORTS) \
22628 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
22629 for flag in $(EXTRA_TARGET_FLAGS); do \
22630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22632 (cd $(TARGET_SUBDIR)/libmudflap && \
22633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22635 "RANLIB=$${RANLIB}" \
22636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22640 @endif target-libmudflap
22642 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
22643 maybe-distclean-target-libmudflap:
22644 @if target-libmudflap
22645 maybe-distclean-target-libmudflap: distclean-target-libmudflap
22647 distclean-target-libmudflap:
22648 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22649 r=`${PWD_COMMAND}`; export r; \
22650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22652 $(NORMAL_TARGET_EXPORTS) \
22653 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
22654 for flag in $(EXTRA_TARGET_FLAGS); do \
22655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22657 (cd $(TARGET_SUBDIR)/libmudflap && \
22658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22660 "RANLIB=$${RANLIB}" \
22661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22665 @endif target-libmudflap
22667 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
22668 maybe-maintainer-clean-target-libmudflap:
22669 @if target-libmudflap
22670 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
22672 maintainer-clean-target-libmudflap:
22673 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22674 r=`${PWD_COMMAND}`; export r; \
22675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22677 $(NORMAL_TARGET_EXPORTS) \
22678 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
22679 for flag in $(EXTRA_TARGET_FLAGS); do \
22680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22682 (cd $(TARGET_SUBDIR)/libmudflap && \
22683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22685 "RANLIB=$${RANLIB}" \
22686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22687 maintainer-clean) \
22690 @endif target-libmudflap
22693 .PHONY: configure-target-newlib maybe-configure-target-newlib
22694 maybe-configure-target-newlib:
22696 maybe-configure-target-newlib: configure-target-newlib
22698 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22699 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
22700 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
22701 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
22702 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
22704 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
22705 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
22706 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
22707 r=`${PWD_COMMAND}`; export r; \
22708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22710 $(NORMAL_TARGET_EXPORTS) \
22711 echo Configuring in $(TARGET_SUBDIR)/newlib; \
22712 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
22713 case $(srcdir) in \
22714 /* | [A-Za-z]:[\\/]*) \
22715 topdir=$(srcdir) ;; \
22717 case "$(TARGET_SUBDIR)" in \
22718 .) topdir="../$(srcdir)" ;; \
22719 *) topdir="../../$(srcdir)" ;; \
22722 srcdiroption="--srcdir=$${topdir}/newlib"; \
22723 libsrcdir="$$s/newlib"; \
22724 rm -f no-such-file || : ; \
22725 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22726 $(TARGET_CONFIGARGS) $${srcdiroption} \
22727 --with-target-subdir="$(TARGET_SUBDIR)" \
22729 @endif target-newlib
22731 .PHONY: all-target-newlib maybe-all-target-newlib
22732 maybe-all-target-newlib:
22734 TARGET-target-newlib=all
22735 maybe-all-target-newlib: all-target-newlib
22736 all-target-newlib: configure-target-newlib
22737 @r=`${PWD_COMMAND}`; export r; \
22738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22740 $(NORMAL_TARGET_EXPORTS) \
22741 (cd $(TARGET_SUBDIR)/newlib && \
22742 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
22743 @endif target-newlib
22745 .PHONY: check-target-newlib maybe-check-target-newlib
22746 maybe-check-target-newlib:
22748 maybe-check-target-newlib: check-target-newlib
22750 check-target-newlib:
22751 @r=`${PWD_COMMAND}`; export r; \
22752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22754 $(NORMAL_TARGET_EXPORTS) \
22755 (cd $(TARGET_SUBDIR)/newlib && \
22756 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22758 @endif target-newlib
22760 .PHONY: install-target-newlib maybe-install-target-newlib
22761 maybe-install-target-newlib:
22763 maybe-install-target-newlib: install-target-newlib
22765 install-target-newlib: installdirs
22766 @r=`${PWD_COMMAND}`; export r; \
22767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22769 $(NORMAL_TARGET_EXPORTS) \
22770 (cd $(TARGET_SUBDIR)/newlib && \
22771 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22773 @endif target-newlib
22775 # Other targets (info, dvi, etc.)
22777 .PHONY: maybe-info-target-newlib info-target-newlib
22778 maybe-info-target-newlib:
22780 maybe-info-target-newlib: info-target-newlib
22782 info-target-newlib: \
22783 configure-target-newlib
22784 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22785 r=`${PWD_COMMAND}`; export r; \
22786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22788 $(NORMAL_TARGET_EXPORTS) \
22789 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
22790 for flag in $(EXTRA_TARGET_FLAGS); do \
22791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22793 (cd $(TARGET_SUBDIR)/newlib && \
22794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22796 "RANLIB=$${RANLIB}" \
22797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22801 @endif target-newlib
22803 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
22804 maybe-dvi-target-newlib:
22806 maybe-dvi-target-newlib: dvi-target-newlib
22808 dvi-target-newlib: \
22809 configure-target-newlib
22810 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22811 r=`${PWD_COMMAND}`; export r; \
22812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22814 $(NORMAL_TARGET_EXPORTS) \
22815 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
22816 for flag in $(EXTRA_TARGET_FLAGS); do \
22817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22819 (cd $(TARGET_SUBDIR)/newlib && \
22820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22822 "RANLIB=$${RANLIB}" \
22823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22827 @endif target-newlib
22829 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
22830 maybe-TAGS-target-newlib:
22832 maybe-TAGS-target-newlib: TAGS-target-newlib
22834 TAGS-target-newlib: \
22835 configure-target-newlib
22836 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22837 r=`${PWD_COMMAND}`; export r; \
22838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22840 $(NORMAL_TARGET_EXPORTS) \
22841 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
22842 for flag in $(EXTRA_TARGET_FLAGS); do \
22843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22845 (cd $(TARGET_SUBDIR)/newlib && \
22846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22848 "RANLIB=$${RANLIB}" \
22849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22853 @endif target-newlib
22855 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
22856 maybe-install-info-target-newlib:
22858 maybe-install-info-target-newlib: install-info-target-newlib
22860 install-info-target-newlib: \
22861 configure-target-newlib \
22863 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22864 r=`${PWD_COMMAND}`; export r; \
22865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22867 $(NORMAL_TARGET_EXPORTS) \
22868 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
22869 for flag in $(EXTRA_TARGET_FLAGS); do \
22870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22872 (cd $(TARGET_SUBDIR)/newlib && \
22873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22875 "RANLIB=$${RANLIB}" \
22876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22880 @endif target-newlib
22882 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
22883 maybe-installcheck-target-newlib:
22885 maybe-installcheck-target-newlib: installcheck-target-newlib
22887 installcheck-target-newlib: \
22888 configure-target-newlib
22889 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22890 r=`${PWD_COMMAND}`; export r; \
22891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22893 $(NORMAL_TARGET_EXPORTS) \
22894 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
22895 for flag in $(EXTRA_TARGET_FLAGS); do \
22896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22898 (cd $(TARGET_SUBDIR)/newlib && \
22899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22901 "RANLIB=$${RANLIB}" \
22902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22906 @endif target-newlib
22908 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
22909 maybe-mostlyclean-target-newlib:
22911 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
22913 mostlyclean-target-newlib:
22914 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22915 r=`${PWD_COMMAND}`; export r; \
22916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22918 $(NORMAL_TARGET_EXPORTS) \
22919 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
22920 for flag in $(EXTRA_TARGET_FLAGS); do \
22921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22923 (cd $(TARGET_SUBDIR)/newlib && \
22924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22926 "RANLIB=$${RANLIB}" \
22927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22931 @endif target-newlib
22933 .PHONY: maybe-clean-target-newlib clean-target-newlib
22934 maybe-clean-target-newlib:
22936 maybe-clean-target-newlib: clean-target-newlib
22938 clean-target-newlib:
22939 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22940 r=`${PWD_COMMAND}`; export r; \
22941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22943 $(NORMAL_TARGET_EXPORTS) \
22944 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
22945 for flag in $(EXTRA_TARGET_FLAGS); do \
22946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22948 (cd $(TARGET_SUBDIR)/newlib && \
22949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22951 "RANLIB=$${RANLIB}" \
22952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22956 @endif target-newlib
22958 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
22959 maybe-distclean-target-newlib:
22961 maybe-distclean-target-newlib: distclean-target-newlib
22963 distclean-target-newlib:
22964 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22965 r=`${PWD_COMMAND}`; export r; \
22966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22968 $(NORMAL_TARGET_EXPORTS) \
22969 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
22970 for flag in $(EXTRA_TARGET_FLAGS); do \
22971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22973 (cd $(TARGET_SUBDIR)/newlib && \
22974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22976 "RANLIB=$${RANLIB}" \
22977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22981 @endif target-newlib
22983 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
22984 maybe-maintainer-clean-target-newlib:
22986 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
22988 maintainer-clean-target-newlib:
22989 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
22990 r=`${PWD_COMMAND}`; export r; \
22991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22993 $(NORMAL_TARGET_EXPORTS) \
22994 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
22995 for flag in $(EXTRA_TARGET_FLAGS); do \
22996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22998 (cd $(TARGET_SUBDIR)/newlib && \
22999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23001 "RANLIB=$${RANLIB}" \
23002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23003 maintainer-clean) \
23006 @endif target-newlib
23009 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
23010 maybe-configure-target-libgfortran:
23011 @if target-libgfortran
23012 maybe-configure-target-libgfortran: configure-target-libgfortran
23014 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23015 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
23016 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
23017 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
23018 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
23020 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
23021 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
23022 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
23023 r=`${PWD_COMMAND}`; export r; \
23024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23026 $(NORMAL_TARGET_EXPORTS) \
23027 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
23028 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
23029 case $(srcdir) in \
23030 /* | [A-Za-z]:[\\/]*) \
23031 topdir=$(srcdir) ;; \
23033 case "$(TARGET_SUBDIR)" in \
23034 .) topdir="../$(srcdir)" ;; \
23035 *) topdir="../../$(srcdir)" ;; \
23038 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
23039 libsrcdir="$$s/libgfortran"; \
23040 rm -f no-such-file || : ; \
23041 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23042 $(TARGET_CONFIGARGS) $${srcdiroption} \
23043 --with-target-subdir="$(TARGET_SUBDIR)" \
23045 @endif target-libgfortran
23047 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
23048 maybe-all-target-libgfortran:
23049 @if target-libgfortran
23050 TARGET-target-libgfortran=all
23051 maybe-all-target-libgfortran: all-target-libgfortran
23052 all-target-libgfortran: configure-target-libgfortran
23053 @r=`${PWD_COMMAND}`; export r; \
23054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23056 $(NORMAL_TARGET_EXPORTS) \
23057 (cd $(TARGET_SUBDIR)/libgfortran && \
23058 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
23059 @endif target-libgfortran
23061 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
23062 maybe-check-target-libgfortran:
23063 @if target-libgfortran
23064 maybe-check-target-libgfortran: check-target-libgfortran
23066 check-target-libgfortran:
23067 @r=`${PWD_COMMAND}`; export r; \
23068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23070 $(NORMAL_TARGET_EXPORTS) \
23071 (cd $(TARGET_SUBDIR)/libgfortran && \
23072 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23074 @endif target-libgfortran
23076 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
23077 maybe-install-target-libgfortran:
23078 @if target-libgfortran
23079 maybe-install-target-libgfortran: install-target-libgfortran
23081 install-target-libgfortran: installdirs
23082 @r=`${PWD_COMMAND}`; export r; \
23083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23085 $(NORMAL_TARGET_EXPORTS) \
23086 (cd $(TARGET_SUBDIR)/libgfortran && \
23087 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23089 @endif target-libgfortran
23091 # Other targets (info, dvi, etc.)
23093 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
23094 maybe-info-target-libgfortran:
23095 @if target-libgfortran
23096 maybe-info-target-libgfortran: info-target-libgfortran
23098 info-target-libgfortran: \
23099 configure-target-libgfortran
23100 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23101 r=`${PWD_COMMAND}`; export r; \
23102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23104 $(NORMAL_TARGET_EXPORTS) \
23105 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
23106 for flag in $(EXTRA_TARGET_FLAGS); do \
23107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23109 (cd $(TARGET_SUBDIR)/libgfortran && \
23110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23112 "RANLIB=$${RANLIB}" \
23113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23117 @endif target-libgfortran
23119 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
23120 maybe-dvi-target-libgfortran:
23121 @if target-libgfortran
23122 maybe-dvi-target-libgfortran: dvi-target-libgfortran
23124 dvi-target-libgfortran: \
23125 configure-target-libgfortran
23126 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23127 r=`${PWD_COMMAND}`; export r; \
23128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23130 $(NORMAL_TARGET_EXPORTS) \
23131 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
23132 for flag in $(EXTRA_TARGET_FLAGS); do \
23133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23135 (cd $(TARGET_SUBDIR)/libgfortran && \
23136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23138 "RANLIB=$${RANLIB}" \
23139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23143 @endif target-libgfortran
23145 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
23146 maybe-TAGS-target-libgfortran:
23147 @if target-libgfortran
23148 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
23150 TAGS-target-libgfortran: \
23151 configure-target-libgfortran
23152 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23153 r=`${PWD_COMMAND}`; export r; \
23154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23156 $(NORMAL_TARGET_EXPORTS) \
23157 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
23158 for flag in $(EXTRA_TARGET_FLAGS); do \
23159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23161 (cd $(TARGET_SUBDIR)/libgfortran && \
23162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23164 "RANLIB=$${RANLIB}" \
23165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23169 @endif target-libgfortran
23171 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
23172 maybe-install-info-target-libgfortran:
23173 @if target-libgfortran
23174 maybe-install-info-target-libgfortran: install-info-target-libgfortran
23176 install-info-target-libgfortran: \
23177 configure-target-libgfortran \
23178 info-target-libgfortran
23179 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23180 r=`${PWD_COMMAND}`; export r; \
23181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23183 $(NORMAL_TARGET_EXPORTS) \
23184 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
23185 for flag in $(EXTRA_TARGET_FLAGS); do \
23186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23188 (cd $(TARGET_SUBDIR)/libgfortran && \
23189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23191 "RANLIB=$${RANLIB}" \
23192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23196 @endif target-libgfortran
23198 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
23199 maybe-installcheck-target-libgfortran:
23200 @if target-libgfortran
23201 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
23203 installcheck-target-libgfortran: \
23204 configure-target-libgfortran
23205 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23206 r=`${PWD_COMMAND}`; export r; \
23207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23209 $(NORMAL_TARGET_EXPORTS) \
23210 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
23211 for flag in $(EXTRA_TARGET_FLAGS); do \
23212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23214 (cd $(TARGET_SUBDIR)/libgfortran && \
23215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23217 "RANLIB=$${RANLIB}" \
23218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23222 @endif target-libgfortran
23224 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
23225 maybe-mostlyclean-target-libgfortran:
23226 @if target-libgfortran
23227 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
23229 mostlyclean-target-libgfortran:
23230 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23231 r=`${PWD_COMMAND}`; export r; \
23232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23234 $(NORMAL_TARGET_EXPORTS) \
23235 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
23236 for flag in $(EXTRA_TARGET_FLAGS); do \
23237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23239 (cd $(TARGET_SUBDIR)/libgfortran && \
23240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23242 "RANLIB=$${RANLIB}" \
23243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23247 @endif target-libgfortran
23249 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
23250 maybe-clean-target-libgfortran:
23251 @if target-libgfortran
23252 maybe-clean-target-libgfortran: clean-target-libgfortran
23254 clean-target-libgfortran:
23255 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23256 r=`${PWD_COMMAND}`; export r; \
23257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23259 $(NORMAL_TARGET_EXPORTS) \
23260 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
23261 for flag in $(EXTRA_TARGET_FLAGS); do \
23262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23264 (cd $(TARGET_SUBDIR)/libgfortran && \
23265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23267 "RANLIB=$${RANLIB}" \
23268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23272 @endif target-libgfortran
23274 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
23275 maybe-distclean-target-libgfortran:
23276 @if target-libgfortran
23277 maybe-distclean-target-libgfortran: distclean-target-libgfortran
23279 distclean-target-libgfortran:
23280 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23281 r=`${PWD_COMMAND}`; export r; \
23282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23284 $(NORMAL_TARGET_EXPORTS) \
23285 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
23286 for flag in $(EXTRA_TARGET_FLAGS); do \
23287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23289 (cd $(TARGET_SUBDIR)/libgfortran && \
23290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23292 "RANLIB=$${RANLIB}" \
23293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23297 @endif target-libgfortran
23299 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
23300 maybe-maintainer-clean-target-libgfortran:
23301 @if target-libgfortran
23302 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
23304 maintainer-clean-target-libgfortran:
23305 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23306 r=`${PWD_COMMAND}`; export r; \
23307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23309 $(NORMAL_TARGET_EXPORTS) \
23310 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
23311 for flag in $(EXTRA_TARGET_FLAGS); do \
23312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23314 (cd $(TARGET_SUBDIR)/libgfortran && \
23315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23317 "RANLIB=$${RANLIB}" \
23318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23319 maintainer-clean) \
23322 @endif target-libgfortran
23325 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
23326 maybe-configure-target-libobjc:
23328 maybe-configure-target-libobjc: configure-target-libobjc
23330 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23331 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
23332 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23333 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
23334 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
23336 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
23337 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
23338 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23339 r=`${PWD_COMMAND}`; export r; \
23340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23342 $(NORMAL_TARGET_EXPORTS) \
23343 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
23344 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
23345 case $(srcdir) in \
23346 /* | [A-Za-z]:[\\/]*) \
23347 topdir=$(srcdir) ;; \
23349 case "$(TARGET_SUBDIR)" in \
23350 .) topdir="../$(srcdir)" ;; \
23351 *) topdir="../../$(srcdir)" ;; \
23354 srcdiroption="--srcdir=$${topdir}/libobjc"; \
23355 libsrcdir="$$s/libobjc"; \
23356 rm -f no-such-file || : ; \
23357 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23358 $(TARGET_CONFIGARGS) $${srcdiroption} \
23359 --with-target-subdir="$(TARGET_SUBDIR)" \
23361 @endif target-libobjc
23363 .PHONY: all-target-libobjc maybe-all-target-libobjc
23364 maybe-all-target-libobjc:
23366 TARGET-target-libobjc=all
23367 maybe-all-target-libobjc: all-target-libobjc
23368 all-target-libobjc: configure-target-libobjc
23369 @r=`${PWD_COMMAND}`; export r; \
23370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23372 $(NORMAL_TARGET_EXPORTS) \
23373 (cd $(TARGET_SUBDIR)/libobjc && \
23374 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
23375 @endif target-libobjc
23377 .PHONY: check-target-libobjc maybe-check-target-libobjc
23378 maybe-check-target-libobjc:
23380 maybe-check-target-libobjc: check-target-libobjc
23382 check-target-libobjc:
23383 @r=`${PWD_COMMAND}`; export r; \
23384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23386 $(NORMAL_TARGET_EXPORTS) \
23387 (cd $(TARGET_SUBDIR)/libobjc && \
23388 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23390 @endif target-libobjc
23392 .PHONY: install-target-libobjc maybe-install-target-libobjc
23393 maybe-install-target-libobjc:
23395 maybe-install-target-libobjc: install-target-libobjc
23397 install-target-libobjc: installdirs
23398 @r=`${PWD_COMMAND}`; export r; \
23399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23401 $(NORMAL_TARGET_EXPORTS) \
23402 (cd $(TARGET_SUBDIR)/libobjc && \
23403 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23405 @endif target-libobjc
23407 # Other targets (info, dvi, etc.)
23409 .PHONY: maybe-info-target-libobjc info-target-libobjc
23410 maybe-info-target-libobjc:
23412 maybe-info-target-libobjc: info-target-libobjc
23414 info-target-libobjc: \
23415 configure-target-libobjc
23416 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23417 r=`${PWD_COMMAND}`; export r; \
23418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23420 $(NORMAL_TARGET_EXPORTS) \
23421 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
23422 for flag in $(EXTRA_TARGET_FLAGS); do \
23423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23425 (cd $(TARGET_SUBDIR)/libobjc && \
23426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23428 "RANLIB=$${RANLIB}" \
23429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23433 @endif target-libobjc
23435 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
23436 maybe-dvi-target-libobjc:
23438 maybe-dvi-target-libobjc: dvi-target-libobjc
23440 dvi-target-libobjc: \
23441 configure-target-libobjc
23442 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23443 r=`${PWD_COMMAND}`; export r; \
23444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23446 $(NORMAL_TARGET_EXPORTS) \
23447 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
23448 for flag in $(EXTRA_TARGET_FLAGS); do \
23449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23451 (cd $(TARGET_SUBDIR)/libobjc && \
23452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23454 "RANLIB=$${RANLIB}" \
23455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23459 @endif target-libobjc
23461 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
23462 maybe-TAGS-target-libobjc:
23464 maybe-TAGS-target-libobjc: TAGS-target-libobjc
23466 TAGS-target-libobjc: \
23467 configure-target-libobjc
23468 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23469 r=`${PWD_COMMAND}`; export r; \
23470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23472 $(NORMAL_TARGET_EXPORTS) \
23473 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
23474 for flag in $(EXTRA_TARGET_FLAGS); do \
23475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23477 (cd $(TARGET_SUBDIR)/libobjc && \
23478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23480 "RANLIB=$${RANLIB}" \
23481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23485 @endif target-libobjc
23487 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
23488 maybe-install-info-target-libobjc:
23490 maybe-install-info-target-libobjc: install-info-target-libobjc
23492 install-info-target-libobjc: \
23493 configure-target-libobjc \
23494 info-target-libobjc
23495 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23496 r=`${PWD_COMMAND}`; export r; \
23497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23499 $(NORMAL_TARGET_EXPORTS) \
23500 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
23501 for flag in $(EXTRA_TARGET_FLAGS); do \
23502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23504 (cd $(TARGET_SUBDIR)/libobjc && \
23505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23507 "RANLIB=$${RANLIB}" \
23508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23512 @endif target-libobjc
23514 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
23515 maybe-installcheck-target-libobjc:
23517 maybe-installcheck-target-libobjc: installcheck-target-libobjc
23519 installcheck-target-libobjc: \
23520 configure-target-libobjc
23521 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23522 r=`${PWD_COMMAND}`; export r; \
23523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23525 $(NORMAL_TARGET_EXPORTS) \
23526 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
23527 for flag in $(EXTRA_TARGET_FLAGS); do \
23528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23530 (cd $(TARGET_SUBDIR)/libobjc && \
23531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23533 "RANLIB=$${RANLIB}" \
23534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23538 @endif target-libobjc
23540 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
23541 maybe-mostlyclean-target-libobjc:
23543 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
23545 mostlyclean-target-libobjc:
23546 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23547 r=`${PWD_COMMAND}`; export r; \
23548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23550 $(NORMAL_TARGET_EXPORTS) \
23551 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
23552 for flag in $(EXTRA_TARGET_FLAGS); do \
23553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23555 (cd $(TARGET_SUBDIR)/libobjc && \
23556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23558 "RANLIB=$${RANLIB}" \
23559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23563 @endif target-libobjc
23565 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
23566 maybe-clean-target-libobjc:
23568 maybe-clean-target-libobjc: clean-target-libobjc
23570 clean-target-libobjc:
23571 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23572 r=`${PWD_COMMAND}`; export r; \
23573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23575 $(NORMAL_TARGET_EXPORTS) \
23576 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
23577 for flag in $(EXTRA_TARGET_FLAGS); do \
23578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23580 (cd $(TARGET_SUBDIR)/libobjc && \
23581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23583 "RANLIB=$${RANLIB}" \
23584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23588 @endif target-libobjc
23590 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
23591 maybe-distclean-target-libobjc:
23593 maybe-distclean-target-libobjc: distclean-target-libobjc
23595 distclean-target-libobjc:
23596 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23597 r=`${PWD_COMMAND}`; export r; \
23598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23600 $(NORMAL_TARGET_EXPORTS) \
23601 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
23602 for flag in $(EXTRA_TARGET_FLAGS); do \
23603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23605 (cd $(TARGET_SUBDIR)/libobjc && \
23606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23608 "RANLIB=$${RANLIB}" \
23609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23613 @endif target-libobjc
23615 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
23616 maybe-maintainer-clean-target-libobjc:
23618 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
23620 maintainer-clean-target-libobjc:
23621 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23622 r=`${PWD_COMMAND}`; export r; \
23623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23625 $(NORMAL_TARGET_EXPORTS) \
23626 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
23627 for flag in $(EXTRA_TARGET_FLAGS); do \
23628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23630 (cd $(TARGET_SUBDIR)/libobjc && \
23631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23633 "RANLIB=$${RANLIB}" \
23634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23635 maintainer-clean) \
23638 @endif target-libobjc
23641 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
23642 maybe-configure-target-libtermcap:
23643 @if target-libtermcap
23644 maybe-configure-target-libtermcap: configure-target-libtermcap
23646 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23647 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
23648 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
23649 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
23650 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
23652 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
23653 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
23654 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
23655 r=`${PWD_COMMAND}`; export r; \
23656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23658 $(NORMAL_TARGET_EXPORTS) \
23659 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
23660 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
23661 case $(srcdir) in \
23662 /* | [A-Za-z]:[\\/]*) \
23663 topdir=$(srcdir) ;; \
23665 case "$(TARGET_SUBDIR)" in \
23666 .) topdir="../$(srcdir)" ;; \
23667 *) topdir="../../$(srcdir)" ;; \
23670 if [ "$(srcdir)" = "." ] ; then \
23671 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23672 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
23673 if [ -f Makefile ]; then \
23674 if $(MAKE) distclean; then \
23688 srcdiroption="--srcdir=."; \
23691 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
23692 libsrcdir="$$s/libtermcap"; \
23694 rm -f no-such-file || : ; \
23695 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23696 $(TARGET_CONFIGARGS) $${srcdiroption} \
23697 --with-target-subdir="$(TARGET_SUBDIR)" \
23699 @endif target-libtermcap
23701 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
23702 maybe-all-target-libtermcap:
23703 @if target-libtermcap
23704 TARGET-target-libtermcap=all
23705 maybe-all-target-libtermcap: all-target-libtermcap
23706 all-target-libtermcap: configure-target-libtermcap
23707 @r=`${PWD_COMMAND}`; export r; \
23708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23710 $(NORMAL_TARGET_EXPORTS) \
23711 (cd $(TARGET_SUBDIR)/libtermcap && \
23712 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
23713 @endif target-libtermcap
23715 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
23716 maybe-check-target-libtermcap:
23717 @if target-libtermcap
23718 maybe-check-target-libtermcap: check-target-libtermcap
23720 # Dummy target for uncheckable module.
23721 check-target-libtermcap:
23723 @endif target-libtermcap
23725 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
23726 maybe-install-target-libtermcap:
23727 @if target-libtermcap
23728 maybe-install-target-libtermcap: install-target-libtermcap
23730 install-target-libtermcap: installdirs
23731 @r=`${PWD_COMMAND}`; export r; \
23732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23734 $(NORMAL_TARGET_EXPORTS) \
23735 (cd $(TARGET_SUBDIR)/libtermcap && \
23736 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23738 @endif target-libtermcap
23740 # Other targets (info, dvi, etc.)
23742 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
23743 maybe-info-target-libtermcap:
23744 @if target-libtermcap
23745 maybe-info-target-libtermcap: info-target-libtermcap
23747 info-target-libtermcap: \
23748 configure-target-libtermcap
23749 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23750 r=`${PWD_COMMAND}`; export r; \
23751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23753 $(NORMAL_TARGET_EXPORTS) \
23754 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
23755 for flag in $(EXTRA_TARGET_FLAGS); do \
23756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23758 (cd $(TARGET_SUBDIR)/libtermcap && \
23759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23761 "RANLIB=$${RANLIB}" \
23762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23766 @endif target-libtermcap
23768 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
23769 maybe-dvi-target-libtermcap:
23770 @if target-libtermcap
23771 maybe-dvi-target-libtermcap: dvi-target-libtermcap
23773 dvi-target-libtermcap: \
23774 configure-target-libtermcap
23775 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23776 r=`${PWD_COMMAND}`; export r; \
23777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23779 $(NORMAL_TARGET_EXPORTS) \
23780 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
23781 for flag in $(EXTRA_TARGET_FLAGS); do \
23782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23784 (cd $(TARGET_SUBDIR)/libtermcap && \
23785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23787 "RANLIB=$${RANLIB}" \
23788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23792 @endif target-libtermcap
23794 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
23795 maybe-TAGS-target-libtermcap:
23796 @if target-libtermcap
23797 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
23799 TAGS-target-libtermcap: \
23800 configure-target-libtermcap
23801 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23802 r=`${PWD_COMMAND}`; export r; \
23803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23805 $(NORMAL_TARGET_EXPORTS) \
23806 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
23807 for flag in $(EXTRA_TARGET_FLAGS); do \
23808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23810 (cd $(TARGET_SUBDIR)/libtermcap && \
23811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23813 "RANLIB=$${RANLIB}" \
23814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23818 @endif target-libtermcap
23820 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
23821 maybe-install-info-target-libtermcap:
23822 @if target-libtermcap
23823 maybe-install-info-target-libtermcap: install-info-target-libtermcap
23825 install-info-target-libtermcap: \
23826 configure-target-libtermcap \
23827 info-target-libtermcap
23828 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23829 r=`${PWD_COMMAND}`; export r; \
23830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23832 $(NORMAL_TARGET_EXPORTS) \
23833 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
23834 for flag in $(EXTRA_TARGET_FLAGS); do \
23835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23837 (cd $(TARGET_SUBDIR)/libtermcap && \
23838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23840 "RANLIB=$${RANLIB}" \
23841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23845 @endif target-libtermcap
23847 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
23848 maybe-installcheck-target-libtermcap:
23849 @if target-libtermcap
23850 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
23852 installcheck-target-libtermcap: \
23853 configure-target-libtermcap
23854 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
23855 r=`${PWD_COMMAND}`; export r; \
23856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23858 $(NORMAL_TARGET_EXPORTS) \
23859 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
23860 for flag in $(EXTRA_TARGET_FLAGS); do \
23861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23863 (cd $(TARGET_SUBDIR)/libtermcap && \
23864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23866 "RANLIB=$${RANLIB}" \
23867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23871 @endif target-libtermcap
23873 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
23874 maybe-mostlyclean-target-libtermcap:
23875 @if target-libtermcap
23876 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
23878 # libtermcap doesn't support mostlyclean.
23879 mostlyclean-target-libtermcap:
23881 @endif target-libtermcap
23883 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
23884 maybe-clean-target-libtermcap:
23885 @if target-libtermcap
23886 maybe-clean-target-libtermcap: clean-target-libtermcap
23888 # libtermcap doesn't support clean.
23889 clean-target-libtermcap:
23891 @endif target-libtermcap
23893 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
23894 maybe-distclean-target-libtermcap:
23895 @if target-libtermcap
23896 maybe-distclean-target-libtermcap: distclean-target-libtermcap
23898 # libtermcap doesn't support distclean.
23899 distclean-target-libtermcap:
23901 @endif target-libtermcap
23903 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
23904 maybe-maintainer-clean-target-libtermcap:
23905 @if target-libtermcap
23906 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
23908 # libtermcap doesn't support maintainer-clean.
23909 maintainer-clean-target-libtermcap:
23911 @endif target-libtermcap
23914 .PHONY: configure-target-winsup maybe-configure-target-winsup
23915 maybe-configure-target-winsup:
23917 maybe-configure-target-winsup: configure-target-winsup
23919 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23920 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
23921 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
23922 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
23923 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
23925 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
23926 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
23927 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
23928 r=`${PWD_COMMAND}`; export r; \
23929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23931 $(NORMAL_TARGET_EXPORTS) \
23932 echo Configuring in $(TARGET_SUBDIR)/winsup; \
23933 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
23934 case $(srcdir) in \
23935 /* | [A-Za-z]:[\\/]*) \
23936 topdir=$(srcdir) ;; \
23938 case "$(TARGET_SUBDIR)" in \
23939 .) topdir="../$(srcdir)" ;; \
23940 *) topdir="../../$(srcdir)" ;; \
23943 srcdiroption="--srcdir=$${topdir}/winsup"; \
23944 libsrcdir="$$s/winsup"; \
23945 rm -f no-such-file || : ; \
23946 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23947 $(TARGET_CONFIGARGS) $${srcdiroption} \
23948 --with-target-subdir="$(TARGET_SUBDIR)" \
23950 @endif target-winsup
23952 .PHONY: all-target-winsup maybe-all-target-winsup
23953 maybe-all-target-winsup:
23955 TARGET-target-winsup=all
23956 maybe-all-target-winsup: all-target-winsup
23957 all-target-winsup: configure-target-winsup
23958 @r=`${PWD_COMMAND}`; export r; \
23959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23961 $(NORMAL_TARGET_EXPORTS) \
23962 (cd $(TARGET_SUBDIR)/winsup && \
23963 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
23964 @endif target-winsup
23966 .PHONY: check-target-winsup maybe-check-target-winsup
23967 maybe-check-target-winsup:
23969 maybe-check-target-winsup: check-target-winsup
23971 check-target-winsup:
23972 @r=`${PWD_COMMAND}`; export r; \
23973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23975 $(NORMAL_TARGET_EXPORTS) \
23976 (cd $(TARGET_SUBDIR)/winsup && \
23977 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23979 @endif target-winsup
23981 .PHONY: install-target-winsup maybe-install-target-winsup
23982 maybe-install-target-winsup:
23984 maybe-install-target-winsup: install-target-winsup
23986 install-target-winsup: installdirs
23987 @r=`${PWD_COMMAND}`; export r; \
23988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23990 $(NORMAL_TARGET_EXPORTS) \
23991 (cd $(TARGET_SUBDIR)/winsup && \
23992 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23994 @endif target-winsup
23996 # Other targets (info, dvi, etc.)
23998 .PHONY: maybe-info-target-winsup info-target-winsup
23999 maybe-info-target-winsup:
24001 maybe-info-target-winsup: info-target-winsup
24003 info-target-winsup: \
24004 configure-target-winsup
24005 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24006 r=`${PWD_COMMAND}`; export r; \
24007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24009 $(NORMAL_TARGET_EXPORTS) \
24010 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
24011 for flag in $(EXTRA_TARGET_FLAGS); do \
24012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24014 (cd $(TARGET_SUBDIR)/winsup && \
24015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24017 "RANLIB=$${RANLIB}" \
24018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24022 @endif target-winsup
24024 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
24025 maybe-dvi-target-winsup:
24027 maybe-dvi-target-winsup: dvi-target-winsup
24029 dvi-target-winsup: \
24030 configure-target-winsup
24031 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24032 r=`${PWD_COMMAND}`; export r; \
24033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24035 $(NORMAL_TARGET_EXPORTS) \
24036 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
24037 for flag in $(EXTRA_TARGET_FLAGS); do \
24038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24040 (cd $(TARGET_SUBDIR)/winsup && \
24041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24043 "RANLIB=$${RANLIB}" \
24044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24048 @endif target-winsup
24050 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
24051 maybe-TAGS-target-winsup:
24053 maybe-TAGS-target-winsup: TAGS-target-winsup
24055 TAGS-target-winsup: \
24056 configure-target-winsup
24057 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24058 r=`${PWD_COMMAND}`; export r; \
24059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24061 $(NORMAL_TARGET_EXPORTS) \
24062 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
24063 for flag in $(EXTRA_TARGET_FLAGS); do \
24064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24066 (cd $(TARGET_SUBDIR)/winsup && \
24067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24069 "RANLIB=$${RANLIB}" \
24070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24074 @endif target-winsup
24076 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
24077 maybe-install-info-target-winsup:
24079 maybe-install-info-target-winsup: install-info-target-winsup
24081 install-info-target-winsup: \
24082 configure-target-winsup \
24084 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24085 r=`${PWD_COMMAND}`; export r; \
24086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24088 $(NORMAL_TARGET_EXPORTS) \
24089 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
24090 for flag in $(EXTRA_TARGET_FLAGS); do \
24091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24093 (cd $(TARGET_SUBDIR)/winsup && \
24094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24096 "RANLIB=$${RANLIB}" \
24097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24101 @endif target-winsup
24103 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
24104 maybe-installcheck-target-winsup:
24106 maybe-installcheck-target-winsup: installcheck-target-winsup
24108 installcheck-target-winsup: \
24109 configure-target-winsup
24110 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24111 r=`${PWD_COMMAND}`; export r; \
24112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24114 $(NORMAL_TARGET_EXPORTS) \
24115 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
24116 for flag in $(EXTRA_TARGET_FLAGS); do \
24117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24119 (cd $(TARGET_SUBDIR)/winsup && \
24120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24122 "RANLIB=$${RANLIB}" \
24123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24127 @endif target-winsup
24129 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
24130 maybe-mostlyclean-target-winsup:
24132 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
24134 mostlyclean-target-winsup:
24135 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24136 r=`${PWD_COMMAND}`; export r; \
24137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24139 $(NORMAL_TARGET_EXPORTS) \
24140 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
24141 for flag in $(EXTRA_TARGET_FLAGS); do \
24142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24144 (cd $(TARGET_SUBDIR)/winsup && \
24145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24147 "RANLIB=$${RANLIB}" \
24148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24152 @endif target-winsup
24154 .PHONY: maybe-clean-target-winsup clean-target-winsup
24155 maybe-clean-target-winsup:
24157 maybe-clean-target-winsup: clean-target-winsup
24159 clean-target-winsup:
24160 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24161 r=`${PWD_COMMAND}`; export r; \
24162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24164 $(NORMAL_TARGET_EXPORTS) \
24165 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
24166 for flag in $(EXTRA_TARGET_FLAGS); do \
24167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24169 (cd $(TARGET_SUBDIR)/winsup && \
24170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24172 "RANLIB=$${RANLIB}" \
24173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24177 @endif target-winsup
24179 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
24180 maybe-distclean-target-winsup:
24182 maybe-distclean-target-winsup: distclean-target-winsup
24184 distclean-target-winsup:
24185 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24186 r=`${PWD_COMMAND}`; export r; \
24187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24189 $(NORMAL_TARGET_EXPORTS) \
24190 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
24191 for flag in $(EXTRA_TARGET_FLAGS); do \
24192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24194 (cd $(TARGET_SUBDIR)/winsup && \
24195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24197 "RANLIB=$${RANLIB}" \
24198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24202 @endif target-winsup
24204 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
24205 maybe-maintainer-clean-target-winsup:
24207 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
24209 maintainer-clean-target-winsup:
24210 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24211 r=`${PWD_COMMAND}`; export r; \
24212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24214 $(NORMAL_TARGET_EXPORTS) \
24215 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
24216 for flag in $(EXTRA_TARGET_FLAGS); do \
24217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24219 (cd $(TARGET_SUBDIR)/winsup && \
24220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24222 "RANLIB=$${RANLIB}" \
24223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24224 maintainer-clean) \
24227 @endif target-winsup
24230 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
24231 maybe-configure-target-libgloss:
24232 @if target-libgloss
24233 maybe-configure-target-libgloss: configure-target-libgloss
24235 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24236 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
24237 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24238 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
24239 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
24241 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
24242 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
24243 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24244 r=`${PWD_COMMAND}`; export r; \
24245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24247 $(NORMAL_TARGET_EXPORTS) \
24248 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
24249 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
24250 case $(srcdir) in \
24251 /* | [A-Za-z]:[\\/]*) \
24252 topdir=$(srcdir) ;; \
24254 case "$(TARGET_SUBDIR)" in \
24255 .) topdir="../$(srcdir)" ;; \
24256 *) topdir="../../$(srcdir)" ;; \
24259 srcdiroption="--srcdir=$${topdir}/libgloss"; \
24260 libsrcdir="$$s/libgloss"; \
24261 rm -f no-such-file || : ; \
24262 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24263 $(TARGET_CONFIGARGS) $${srcdiroption} \
24264 --with-target-subdir="$(TARGET_SUBDIR)" \
24266 @endif target-libgloss
24268 .PHONY: all-target-libgloss maybe-all-target-libgloss
24269 maybe-all-target-libgloss:
24270 @if target-libgloss
24271 TARGET-target-libgloss=all
24272 maybe-all-target-libgloss: all-target-libgloss
24273 all-target-libgloss: configure-target-libgloss
24274 @r=`${PWD_COMMAND}`; export r; \
24275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24277 $(NORMAL_TARGET_EXPORTS) \
24278 (cd $(TARGET_SUBDIR)/libgloss && \
24279 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
24280 @endif target-libgloss
24282 .PHONY: check-target-libgloss maybe-check-target-libgloss
24283 maybe-check-target-libgloss:
24284 @if target-libgloss
24285 maybe-check-target-libgloss: check-target-libgloss
24287 # Dummy target for uncheckable module.
24288 check-target-libgloss:
24290 @endif target-libgloss
24292 .PHONY: install-target-libgloss maybe-install-target-libgloss
24293 maybe-install-target-libgloss:
24294 @if target-libgloss
24295 maybe-install-target-libgloss: install-target-libgloss
24297 install-target-libgloss: installdirs
24298 @r=`${PWD_COMMAND}`; export r; \
24299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24301 $(NORMAL_TARGET_EXPORTS) \
24302 (cd $(TARGET_SUBDIR)/libgloss && \
24303 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24305 @endif target-libgloss
24307 # Other targets (info, dvi, etc.)
24309 .PHONY: maybe-info-target-libgloss info-target-libgloss
24310 maybe-info-target-libgloss:
24311 @if target-libgloss
24312 maybe-info-target-libgloss: info-target-libgloss
24314 info-target-libgloss: \
24315 configure-target-libgloss
24316 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24317 r=`${PWD_COMMAND}`; export r; \
24318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24320 $(NORMAL_TARGET_EXPORTS) \
24321 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
24322 for flag in $(EXTRA_TARGET_FLAGS); do \
24323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24325 (cd $(TARGET_SUBDIR)/libgloss && \
24326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24328 "RANLIB=$${RANLIB}" \
24329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24333 @endif target-libgloss
24335 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
24336 maybe-dvi-target-libgloss:
24337 @if target-libgloss
24338 maybe-dvi-target-libgloss: dvi-target-libgloss
24340 dvi-target-libgloss: \
24341 configure-target-libgloss
24342 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24343 r=`${PWD_COMMAND}`; export r; \
24344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24346 $(NORMAL_TARGET_EXPORTS) \
24347 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
24348 for flag in $(EXTRA_TARGET_FLAGS); do \
24349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24351 (cd $(TARGET_SUBDIR)/libgloss && \
24352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24354 "RANLIB=$${RANLIB}" \
24355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24359 @endif target-libgloss
24361 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
24362 maybe-TAGS-target-libgloss:
24363 @if target-libgloss
24364 maybe-TAGS-target-libgloss: TAGS-target-libgloss
24366 TAGS-target-libgloss: \
24367 configure-target-libgloss
24368 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24369 r=`${PWD_COMMAND}`; export r; \
24370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24372 $(NORMAL_TARGET_EXPORTS) \
24373 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
24374 for flag in $(EXTRA_TARGET_FLAGS); do \
24375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24377 (cd $(TARGET_SUBDIR)/libgloss && \
24378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24380 "RANLIB=$${RANLIB}" \
24381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24385 @endif target-libgloss
24387 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
24388 maybe-install-info-target-libgloss:
24389 @if target-libgloss
24390 maybe-install-info-target-libgloss: install-info-target-libgloss
24392 install-info-target-libgloss: \
24393 configure-target-libgloss \
24394 info-target-libgloss
24395 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24396 r=`${PWD_COMMAND}`; export r; \
24397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24399 $(NORMAL_TARGET_EXPORTS) \
24400 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
24401 for flag in $(EXTRA_TARGET_FLAGS); do \
24402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24404 (cd $(TARGET_SUBDIR)/libgloss && \
24405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24407 "RANLIB=$${RANLIB}" \
24408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24412 @endif target-libgloss
24414 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
24415 maybe-installcheck-target-libgloss:
24416 @if target-libgloss
24417 maybe-installcheck-target-libgloss: installcheck-target-libgloss
24419 installcheck-target-libgloss: \
24420 configure-target-libgloss
24421 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24422 r=`${PWD_COMMAND}`; export r; \
24423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24425 $(NORMAL_TARGET_EXPORTS) \
24426 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
24427 for flag in $(EXTRA_TARGET_FLAGS); do \
24428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24430 (cd $(TARGET_SUBDIR)/libgloss && \
24431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24433 "RANLIB=$${RANLIB}" \
24434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24438 @endif target-libgloss
24440 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
24441 maybe-mostlyclean-target-libgloss:
24442 @if target-libgloss
24443 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
24445 mostlyclean-target-libgloss:
24446 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24447 r=`${PWD_COMMAND}`; export r; \
24448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24450 $(NORMAL_TARGET_EXPORTS) \
24451 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
24452 for flag in $(EXTRA_TARGET_FLAGS); do \
24453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24455 (cd $(TARGET_SUBDIR)/libgloss && \
24456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24458 "RANLIB=$${RANLIB}" \
24459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24463 @endif target-libgloss
24465 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
24466 maybe-clean-target-libgloss:
24467 @if target-libgloss
24468 maybe-clean-target-libgloss: clean-target-libgloss
24470 clean-target-libgloss:
24471 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24472 r=`${PWD_COMMAND}`; export r; \
24473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24475 $(NORMAL_TARGET_EXPORTS) \
24476 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
24477 for flag in $(EXTRA_TARGET_FLAGS); do \
24478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24480 (cd $(TARGET_SUBDIR)/libgloss && \
24481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24483 "RANLIB=$${RANLIB}" \
24484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24488 @endif target-libgloss
24490 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
24491 maybe-distclean-target-libgloss:
24492 @if target-libgloss
24493 maybe-distclean-target-libgloss: distclean-target-libgloss
24495 distclean-target-libgloss:
24496 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24497 r=`${PWD_COMMAND}`; export r; \
24498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24500 $(NORMAL_TARGET_EXPORTS) \
24501 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
24502 for flag in $(EXTRA_TARGET_FLAGS); do \
24503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24505 (cd $(TARGET_SUBDIR)/libgloss && \
24506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24508 "RANLIB=$${RANLIB}" \
24509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24513 @endif target-libgloss
24515 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
24516 maybe-maintainer-clean-target-libgloss:
24517 @if target-libgloss
24518 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
24520 maintainer-clean-target-libgloss:
24521 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24522 r=`${PWD_COMMAND}`; export r; \
24523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24525 $(NORMAL_TARGET_EXPORTS) \
24526 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
24527 for flag in $(EXTRA_TARGET_FLAGS); do \
24528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24530 (cd $(TARGET_SUBDIR)/libgloss && \
24531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24533 "RANLIB=$${RANLIB}" \
24534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24535 maintainer-clean) \
24538 @endif target-libgloss
24541 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
24542 maybe-configure-target-libiberty:
24543 @if target-libiberty
24544 maybe-configure-target-libiberty: configure-target-libiberty
24546 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24547 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
24548 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24549 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
24550 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
24552 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
24553 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
24554 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24555 r=`${PWD_COMMAND}`; export r; \
24556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24558 $(NORMAL_TARGET_EXPORTS) \
24559 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
24560 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
24561 case $(srcdir) in \
24562 /* | [A-Za-z]:[\\/]*) \
24563 topdir=$(srcdir) ;; \
24565 case "$(TARGET_SUBDIR)" in \
24566 .) topdir="../$(srcdir)" ;; \
24567 *) topdir="../../$(srcdir)" ;; \
24570 srcdiroption="--srcdir=$${topdir}/libiberty"; \
24571 libsrcdir="$$s/libiberty"; \
24572 rm -f no-such-file || : ; \
24573 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24574 $(TARGET_CONFIGARGS) $${srcdiroption} \
24575 --with-target-subdir="$(TARGET_SUBDIR)" \
24577 @endif target-libiberty
24579 .PHONY: all-target-libiberty maybe-all-target-libiberty
24580 maybe-all-target-libiberty:
24581 @if target-libiberty
24582 TARGET-target-libiberty=all
24583 maybe-all-target-libiberty: all-target-libiberty
24584 all-target-libiberty: configure-target-libiberty
24585 @r=`${PWD_COMMAND}`; export r; \
24586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24588 $(NORMAL_TARGET_EXPORTS) \
24589 (cd $(TARGET_SUBDIR)/libiberty && \
24590 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
24591 @endif target-libiberty
24593 .PHONY: check-target-libiberty maybe-check-target-libiberty
24594 maybe-check-target-libiberty:
24595 @if target-libiberty
24596 maybe-check-target-libiberty: check-target-libiberty
24598 check-target-libiberty:
24599 @r=`${PWD_COMMAND}`; export r; \
24600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24602 $(NORMAL_TARGET_EXPORTS) \
24603 (cd $(TARGET_SUBDIR)/libiberty && \
24604 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24606 @endif target-libiberty
24608 .PHONY: install-target-libiberty maybe-install-target-libiberty
24609 maybe-install-target-libiberty:
24610 @if target-libiberty
24611 maybe-install-target-libiberty: install-target-libiberty
24613 install-target-libiberty: installdirs
24614 @r=`${PWD_COMMAND}`; export r; \
24615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24617 $(NORMAL_TARGET_EXPORTS) \
24618 (cd $(TARGET_SUBDIR)/libiberty && \
24619 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24621 @endif target-libiberty
24623 # Other targets (info, dvi, etc.)
24625 .PHONY: maybe-info-target-libiberty info-target-libiberty
24626 maybe-info-target-libiberty:
24627 @if target-libiberty
24628 maybe-info-target-libiberty: info-target-libiberty
24630 info-target-libiberty: \
24631 configure-target-libiberty
24632 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24633 r=`${PWD_COMMAND}`; export r; \
24634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24636 $(NORMAL_TARGET_EXPORTS) \
24637 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
24638 for flag in $(EXTRA_TARGET_FLAGS); do \
24639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24641 (cd $(TARGET_SUBDIR)/libiberty && \
24642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24644 "RANLIB=$${RANLIB}" \
24645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24649 @endif target-libiberty
24651 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
24652 maybe-dvi-target-libiberty:
24653 @if target-libiberty
24654 maybe-dvi-target-libiberty: dvi-target-libiberty
24656 dvi-target-libiberty: \
24657 configure-target-libiberty
24658 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24659 r=`${PWD_COMMAND}`; export r; \
24660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24662 $(NORMAL_TARGET_EXPORTS) \
24663 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
24664 for flag in $(EXTRA_TARGET_FLAGS); do \
24665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24667 (cd $(TARGET_SUBDIR)/libiberty && \
24668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24670 "RANLIB=$${RANLIB}" \
24671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24675 @endif target-libiberty
24677 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
24678 maybe-TAGS-target-libiberty:
24679 @if target-libiberty
24680 maybe-TAGS-target-libiberty: TAGS-target-libiberty
24682 TAGS-target-libiberty: \
24683 configure-target-libiberty
24684 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24685 r=`${PWD_COMMAND}`; export r; \
24686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24688 $(NORMAL_TARGET_EXPORTS) \
24689 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
24690 for flag in $(EXTRA_TARGET_FLAGS); do \
24691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24693 (cd $(TARGET_SUBDIR)/libiberty && \
24694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24696 "RANLIB=$${RANLIB}" \
24697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24701 @endif target-libiberty
24703 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
24704 maybe-install-info-target-libiberty:
24705 @if target-libiberty
24706 maybe-install-info-target-libiberty: install-info-target-libiberty
24708 install-info-target-libiberty: \
24709 configure-target-libiberty \
24710 info-target-libiberty
24711 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24712 r=`${PWD_COMMAND}`; export r; \
24713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24715 $(NORMAL_TARGET_EXPORTS) \
24716 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
24717 for flag in $(EXTRA_TARGET_FLAGS); do \
24718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24720 (cd $(TARGET_SUBDIR)/libiberty && \
24721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24723 "RANLIB=$${RANLIB}" \
24724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24728 @endif target-libiberty
24730 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
24731 maybe-installcheck-target-libiberty:
24732 @if target-libiberty
24733 maybe-installcheck-target-libiberty: installcheck-target-libiberty
24735 installcheck-target-libiberty: \
24736 configure-target-libiberty
24737 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24738 r=`${PWD_COMMAND}`; export r; \
24739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24741 $(NORMAL_TARGET_EXPORTS) \
24742 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
24743 for flag in $(EXTRA_TARGET_FLAGS); do \
24744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24746 (cd $(TARGET_SUBDIR)/libiberty && \
24747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24749 "RANLIB=$${RANLIB}" \
24750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24754 @endif target-libiberty
24756 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
24757 maybe-mostlyclean-target-libiberty:
24758 @if target-libiberty
24759 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
24761 mostlyclean-target-libiberty:
24762 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24763 r=`${PWD_COMMAND}`; export r; \
24764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24766 $(NORMAL_TARGET_EXPORTS) \
24767 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
24768 for flag in $(EXTRA_TARGET_FLAGS); do \
24769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24771 (cd $(TARGET_SUBDIR)/libiberty && \
24772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24774 "RANLIB=$${RANLIB}" \
24775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24779 @endif target-libiberty
24781 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
24782 maybe-clean-target-libiberty:
24783 @if target-libiberty
24784 maybe-clean-target-libiberty: clean-target-libiberty
24786 clean-target-libiberty:
24787 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24788 r=`${PWD_COMMAND}`; export r; \
24789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24791 $(NORMAL_TARGET_EXPORTS) \
24792 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
24793 for flag in $(EXTRA_TARGET_FLAGS); do \
24794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24796 (cd $(TARGET_SUBDIR)/libiberty && \
24797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24799 "RANLIB=$${RANLIB}" \
24800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24804 @endif target-libiberty
24806 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
24807 maybe-distclean-target-libiberty:
24808 @if target-libiberty
24809 maybe-distclean-target-libiberty: distclean-target-libiberty
24811 distclean-target-libiberty:
24812 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24813 r=`${PWD_COMMAND}`; export r; \
24814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24816 $(NORMAL_TARGET_EXPORTS) \
24817 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
24818 for flag in $(EXTRA_TARGET_FLAGS); do \
24819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24821 (cd $(TARGET_SUBDIR)/libiberty && \
24822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24824 "RANLIB=$${RANLIB}" \
24825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24829 @endif target-libiberty
24831 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
24832 maybe-maintainer-clean-target-libiberty:
24833 @if target-libiberty
24834 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
24836 maintainer-clean-target-libiberty:
24837 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24838 r=`${PWD_COMMAND}`; export r; \
24839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24841 $(NORMAL_TARGET_EXPORTS) \
24842 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
24843 for flag in $(EXTRA_TARGET_FLAGS); do \
24844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24846 (cd $(TARGET_SUBDIR)/libiberty && \
24847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24849 "RANLIB=$${RANLIB}" \
24850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24851 maintainer-clean) \
24854 @endif target-libiberty
24857 .PHONY: configure-target-gperf maybe-configure-target-gperf
24858 maybe-configure-target-gperf:
24860 maybe-configure-target-gperf: configure-target-gperf
24862 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24863 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
24864 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
24865 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
24866 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
24868 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
24869 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
24870 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
24871 r=`${PWD_COMMAND}`; export r; \
24872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24874 $(NORMAL_TARGET_EXPORTS) \
24875 echo Configuring in $(TARGET_SUBDIR)/gperf; \
24876 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
24877 case $(srcdir) in \
24878 /* | [A-Za-z]:[\\/]*) \
24879 topdir=$(srcdir) ;; \
24881 case "$(TARGET_SUBDIR)" in \
24882 .) topdir="../$(srcdir)" ;; \
24883 *) topdir="../../$(srcdir)" ;; \
24886 srcdiroption="--srcdir=$${topdir}/gperf"; \
24887 libsrcdir="$$s/gperf"; \
24888 rm -f no-such-file || : ; \
24889 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24890 $(TARGET_CONFIGARGS) $${srcdiroption} \
24891 --with-target-subdir="$(TARGET_SUBDIR)" \
24893 @endif target-gperf
24895 .PHONY: all-target-gperf maybe-all-target-gperf
24896 maybe-all-target-gperf:
24898 TARGET-target-gperf=all
24899 maybe-all-target-gperf: all-target-gperf
24900 all-target-gperf: configure-target-gperf
24901 @r=`${PWD_COMMAND}`; export r; \
24902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24904 $(NORMAL_TARGET_EXPORTS) \
24905 (cd $(TARGET_SUBDIR)/gperf && \
24906 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
24907 @endif target-gperf
24909 .PHONY: check-target-gperf maybe-check-target-gperf
24910 maybe-check-target-gperf:
24912 maybe-check-target-gperf: check-target-gperf
24914 check-target-gperf:
24915 @r=`${PWD_COMMAND}`; export r; \
24916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24918 $(NORMAL_TARGET_EXPORTS) \
24919 (cd $(TARGET_SUBDIR)/gperf && \
24920 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24922 @endif target-gperf
24924 .PHONY: install-target-gperf maybe-install-target-gperf
24925 maybe-install-target-gperf:
24927 maybe-install-target-gperf: install-target-gperf
24929 install-target-gperf: installdirs
24930 @r=`${PWD_COMMAND}`; export r; \
24931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24933 $(NORMAL_TARGET_EXPORTS) \
24934 (cd $(TARGET_SUBDIR)/gperf && \
24935 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24937 @endif target-gperf
24939 # Other targets (info, dvi, etc.)
24941 .PHONY: maybe-info-target-gperf info-target-gperf
24942 maybe-info-target-gperf:
24944 maybe-info-target-gperf: info-target-gperf
24946 info-target-gperf: \
24947 configure-target-gperf
24948 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24949 r=`${PWD_COMMAND}`; export r; \
24950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24952 $(NORMAL_TARGET_EXPORTS) \
24953 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
24954 for flag in $(EXTRA_TARGET_FLAGS); do \
24955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24957 (cd $(TARGET_SUBDIR)/gperf && \
24958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24960 "RANLIB=$${RANLIB}" \
24961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24965 @endif target-gperf
24967 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
24968 maybe-dvi-target-gperf:
24970 maybe-dvi-target-gperf: dvi-target-gperf
24972 dvi-target-gperf: \
24973 configure-target-gperf
24974 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
24975 r=`${PWD_COMMAND}`; export r; \
24976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24978 $(NORMAL_TARGET_EXPORTS) \
24979 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
24980 for flag in $(EXTRA_TARGET_FLAGS); do \
24981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24983 (cd $(TARGET_SUBDIR)/gperf && \
24984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24986 "RANLIB=$${RANLIB}" \
24987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24991 @endif target-gperf
24993 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
24994 maybe-TAGS-target-gperf:
24996 maybe-TAGS-target-gperf: TAGS-target-gperf
24998 TAGS-target-gperf: \
24999 configure-target-gperf
25000 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25001 r=`${PWD_COMMAND}`; export r; \
25002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25004 $(NORMAL_TARGET_EXPORTS) \
25005 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
25006 for flag in $(EXTRA_TARGET_FLAGS); do \
25007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25009 (cd $(TARGET_SUBDIR)/gperf && \
25010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25012 "RANLIB=$${RANLIB}" \
25013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25017 @endif target-gperf
25019 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
25020 maybe-install-info-target-gperf:
25022 maybe-install-info-target-gperf: install-info-target-gperf
25024 install-info-target-gperf: \
25025 configure-target-gperf \
25027 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25028 r=`${PWD_COMMAND}`; export r; \
25029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25031 $(NORMAL_TARGET_EXPORTS) \
25032 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
25033 for flag in $(EXTRA_TARGET_FLAGS); do \
25034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25036 (cd $(TARGET_SUBDIR)/gperf && \
25037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25039 "RANLIB=$${RANLIB}" \
25040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25044 @endif target-gperf
25046 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
25047 maybe-installcheck-target-gperf:
25049 maybe-installcheck-target-gperf: installcheck-target-gperf
25051 installcheck-target-gperf: \
25052 configure-target-gperf
25053 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25054 r=`${PWD_COMMAND}`; export r; \
25055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25057 $(NORMAL_TARGET_EXPORTS) \
25058 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
25059 for flag in $(EXTRA_TARGET_FLAGS); do \
25060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25062 (cd $(TARGET_SUBDIR)/gperf && \
25063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25065 "RANLIB=$${RANLIB}" \
25066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25070 @endif target-gperf
25072 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
25073 maybe-mostlyclean-target-gperf:
25075 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
25077 mostlyclean-target-gperf:
25078 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25079 r=`${PWD_COMMAND}`; export r; \
25080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25082 $(NORMAL_TARGET_EXPORTS) \
25083 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
25084 for flag in $(EXTRA_TARGET_FLAGS); do \
25085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25087 (cd $(TARGET_SUBDIR)/gperf && \
25088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25090 "RANLIB=$${RANLIB}" \
25091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25095 @endif target-gperf
25097 .PHONY: maybe-clean-target-gperf clean-target-gperf
25098 maybe-clean-target-gperf:
25100 maybe-clean-target-gperf: clean-target-gperf
25102 clean-target-gperf:
25103 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25104 r=`${PWD_COMMAND}`; export r; \
25105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25107 $(NORMAL_TARGET_EXPORTS) \
25108 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
25109 for flag in $(EXTRA_TARGET_FLAGS); do \
25110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25112 (cd $(TARGET_SUBDIR)/gperf && \
25113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25115 "RANLIB=$${RANLIB}" \
25116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25120 @endif target-gperf
25122 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
25123 maybe-distclean-target-gperf:
25125 maybe-distclean-target-gperf: distclean-target-gperf
25127 distclean-target-gperf:
25128 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25129 r=`${PWD_COMMAND}`; export r; \
25130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25132 $(NORMAL_TARGET_EXPORTS) \
25133 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
25134 for flag in $(EXTRA_TARGET_FLAGS); do \
25135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25137 (cd $(TARGET_SUBDIR)/gperf && \
25138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25140 "RANLIB=$${RANLIB}" \
25141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25145 @endif target-gperf
25147 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
25148 maybe-maintainer-clean-target-gperf:
25150 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
25152 maintainer-clean-target-gperf:
25153 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25154 r=`${PWD_COMMAND}`; export r; \
25155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25157 $(NORMAL_TARGET_EXPORTS) \
25158 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
25159 for flag in $(EXTRA_TARGET_FLAGS); do \
25160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25162 (cd $(TARGET_SUBDIR)/gperf && \
25163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25165 "RANLIB=$${RANLIB}" \
25166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25167 maintainer-clean) \
25170 @endif target-gperf
25173 .PHONY: configure-target-examples maybe-configure-target-examples
25174 maybe-configure-target-examples:
25175 @if target-examples
25176 maybe-configure-target-examples: configure-target-examples
25178 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25179 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
25180 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25181 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
25182 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
25184 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
25185 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
25186 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25187 r=`${PWD_COMMAND}`; export r; \
25188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25190 $(NORMAL_TARGET_EXPORTS) \
25191 echo Configuring in $(TARGET_SUBDIR)/examples; \
25192 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
25193 case $(srcdir) in \
25194 /* | [A-Za-z]:[\\/]*) \
25195 topdir=$(srcdir) ;; \
25197 case "$(TARGET_SUBDIR)" in \
25198 .) topdir="../$(srcdir)" ;; \
25199 *) topdir="../../$(srcdir)" ;; \
25202 srcdiroption="--srcdir=$${topdir}/examples"; \
25203 libsrcdir="$$s/examples"; \
25204 rm -f no-such-file || : ; \
25205 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25206 $(TARGET_CONFIGARGS) $${srcdiroption} \
25207 --with-target-subdir="$(TARGET_SUBDIR)" \
25209 @endif target-examples
25211 .PHONY: all-target-examples maybe-all-target-examples
25212 maybe-all-target-examples:
25213 @if target-examples
25214 TARGET-target-examples=all
25215 maybe-all-target-examples: all-target-examples
25216 all-target-examples: configure-target-examples
25217 @r=`${PWD_COMMAND}`; export r; \
25218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25220 $(NORMAL_TARGET_EXPORTS) \
25221 (cd $(TARGET_SUBDIR)/examples && \
25222 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
25223 @endif target-examples
25225 .PHONY: check-target-examples maybe-check-target-examples
25226 maybe-check-target-examples:
25227 @if target-examples
25228 maybe-check-target-examples: check-target-examples
25230 # Dummy target for uncheckable module.
25231 check-target-examples:
25233 @endif target-examples
25235 .PHONY: install-target-examples maybe-install-target-examples
25236 maybe-install-target-examples:
25237 @if target-examples
25238 maybe-install-target-examples: install-target-examples
25240 # Dummy target for uninstallable.
25241 install-target-examples:
25243 @endif target-examples
25245 # Other targets (info, dvi, etc.)
25247 .PHONY: maybe-info-target-examples info-target-examples
25248 maybe-info-target-examples:
25249 @if target-examples
25250 maybe-info-target-examples: info-target-examples
25252 info-target-examples: \
25253 configure-target-examples
25254 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25255 r=`${PWD_COMMAND}`; export r; \
25256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25258 $(NORMAL_TARGET_EXPORTS) \
25259 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
25260 for flag in $(EXTRA_TARGET_FLAGS); do \
25261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25263 (cd $(TARGET_SUBDIR)/examples && \
25264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25266 "RANLIB=$${RANLIB}" \
25267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25271 @endif target-examples
25273 .PHONY: maybe-dvi-target-examples dvi-target-examples
25274 maybe-dvi-target-examples:
25275 @if target-examples
25276 maybe-dvi-target-examples: dvi-target-examples
25278 dvi-target-examples: \
25279 configure-target-examples
25280 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25281 r=`${PWD_COMMAND}`; export r; \
25282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25284 $(NORMAL_TARGET_EXPORTS) \
25285 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
25286 for flag in $(EXTRA_TARGET_FLAGS); do \
25287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25289 (cd $(TARGET_SUBDIR)/examples && \
25290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25292 "RANLIB=$${RANLIB}" \
25293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25297 @endif target-examples
25299 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
25300 maybe-TAGS-target-examples:
25301 @if target-examples
25302 maybe-TAGS-target-examples: TAGS-target-examples
25304 TAGS-target-examples: \
25305 configure-target-examples
25306 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25307 r=`${PWD_COMMAND}`; export r; \
25308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25310 $(NORMAL_TARGET_EXPORTS) \
25311 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
25312 for flag in $(EXTRA_TARGET_FLAGS); do \
25313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25315 (cd $(TARGET_SUBDIR)/examples && \
25316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25318 "RANLIB=$${RANLIB}" \
25319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25323 @endif target-examples
25325 .PHONY: maybe-install-info-target-examples install-info-target-examples
25326 maybe-install-info-target-examples:
25327 @if target-examples
25328 maybe-install-info-target-examples: install-info-target-examples
25330 install-info-target-examples: \
25331 configure-target-examples \
25332 info-target-examples
25333 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25334 r=`${PWD_COMMAND}`; export r; \
25335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25337 $(NORMAL_TARGET_EXPORTS) \
25338 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
25339 for flag in $(EXTRA_TARGET_FLAGS); do \
25340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25342 (cd $(TARGET_SUBDIR)/examples && \
25343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25345 "RANLIB=$${RANLIB}" \
25346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25350 @endif target-examples
25352 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
25353 maybe-installcheck-target-examples:
25354 @if target-examples
25355 maybe-installcheck-target-examples: installcheck-target-examples
25357 installcheck-target-examples: \
25358 configure-target-examples
25359 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25360 r=`${PWD_COMMAND}`; export r; \
25361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25363 $(NORMAL_TARGET_EXPORTS) \
25364 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
25365 for flag in $(EXTRA_TARGET_FLAGS); do \
25366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25368 (cd $(TARGET_SUBDIR)/examples && \
25369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25371 "RANLIB=$${RANLIB}" \
25372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25376 @endif target-examples
25378 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
25379 maybe-mostlyclean-target-examples:
25380 @if target-examples
25381 maybe-mostlyclean-target-examples: mostlyclean-target-examples
25383 mostlyclean-target-examples:
25384 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25385 r=`${PWD_COMMAND}`; export r; \
25386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25388 $(NORMAL_TARGET_EXPORTS) \
25389 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
25390 for flag in $(EXTRA_TARGET_FLAGS); do \
25391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25393 (cd $(TARGET_SUBDIR)/examples && \
25394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25396 "RANLIB=$${RANLIB}" \
25397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25401 @endif target-examples
25403 .PHONY: maybe-clean-target-examples clean-target-examples
25404 maybe-clean-target-examples:
25405 @if target-examples
25406 maybe-clean-target-examples: clean-target-examples
25408 clean-target-examples:
25409 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25410 r=`${PWD_COMMAND}`; export r; \
25411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25413 $(NORMAL_TARGET_EXPORTS) \
25414 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
25415 for flag in $(EXTRA_TARGET_FLAGS); do \
25416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25418 (cd $(TARGET_SUBDIR)/examples && \
25419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25421 "RANLIB=$${RANLIB}" \
25422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25426 @endif target-examples
25428 .PHONY: maybe-distclean-target-examples distclean-target-examples
25429 maybe-distclean-target-examples:
25430 @if target-examples
25431 maybe-distclean-target-examples: distclean-target-examples
25433 distclean-target-examples:
25434 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25435 r=`${PWD_COMMAND}`; export r; \
25436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25438 $(NORMAL_TARGET_EXPORTS) \
25439 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
25440 for flag in $(EXTRA_TARGET_FLAGS); do \
25441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25443 (cd $(TARGET_SUBDIR)/examples && \
25444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25446 "RANLIB=$${RANLIB}" \
25447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25451 @endif target-examples
25453 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
25454 maybe-maintainer-clean-target-examples:
25455 @if target-examples
25456 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
25458 maintainer-clean-target-examples:
25459 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25460 r=`${PWD_COMMAND}`; export r; \
25461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25463 $(NORMAL_TARGET_EXPORTS) \
25464 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
25465 for flag in $(EXTRA_TARGET_FLAGS); do \
25466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25468 (cd $(TARGET_SUBDIR)/examples && \
25469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25471 "RANLIB=$${RANLIB}" \
25472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25473 maintainer-clean) \
25476 @endif target-examples
25479 .PHONY: configure-target-libffi maybe-configure-target-libffi
25480 maybe-configure-target-libffi:
25482 maybe-configure-target-libffi: configure-target-libffi
25484 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25485 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
25486 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25487 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
25488 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
25490 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
25491 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
25492 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25493 r=`${PWD_COMMAND}`; export r; \
25494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25496 $(NORMAL_TARGET_EXPORTS) \
25497 echo Configuring in $(TARGET_SUBDIR)/libffi; \
25498 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
25499 case $(srcdir) in \
25500 /* | [A-Za-z]:[\\/]*) \
25501 topdir=$(srcdir) ;; \
25503 case "$(TARGET_SUBDIR)" in \
25504 .) topdir="../$(srcdir)" ;; \
25505 *) topdir="../../$(srcdir)" ;; \
25508 srcdiroption="--srcdir=$${topdir}/libffi"; \
25509 libsrcdir="$$s/libffi"; \
25510 rm -f no-such-file || : ; \
25511 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25512 $(TARGET_CONFIGARGS) $${srcdiroption} \
25513 --with-target-subdir="$(TARGET_SUBDIR)" \
25515 @endif target-libffi
25517 .PHONY: all-target-libffi maybe-all-target-libffi
25518 maybe-all-target-libffi:
25520 TARGET-target-libffi=all
25521 maybe-all-target-libffi: all-target-libffi
25522 all-target-libffi: configure-target-libffi
25523 @r=`${PWD_COMMAND}`; export r; \
25524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25526 $(NORMAL_TARGET_EXPORTS) \
25527 (cd $(TARGET_SUBDIR)/libffi && \
25528 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
25529 @endif target-libffi
25531 .PHONY: check-target-libffi maybe-check-target-libffi
25532 maybe-check-target-libffi:
25534 maybe-check-target-libffi: check-target-libffi
25536 check-target-libffi:
25537 @r=`${PWD_COMMAND}`; export r; \
25538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25540 $(NORMAL_TARGET_EXPORTS) \
25541 (cd $(TARGET_SUBDIR)/libffi && \
25542 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25544 @endif target-libffi
25546 .PHONY: install-target-libffi maybe-install-target-libffi
25547 maybe-install-target-libffi:
25549 maybe-install-target-libffi: install-target-libffi
25551 install-target-libffi: installdirs
25552 @r=`${PWD_COMMAND}`; export r; \
25553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25555 $(NORMAL_TARGET_EXPORTS) \
25556 (cd $(TARGET_SUBDIR)/libffi && \
25557 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25559 @endif target-libffi
25561 # Other targets (info, dvi, etc.)
25563 .PHONY: maybe-info-target-libffi info-target-libffi
25564 maybe-info-target-libffi:
25566 maybe-info-target-libffi: info-target-libffi
25568 info-target-libffi: \
25569 configure-target-libffi
25570 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25571 r=`${PWD_COMMAND}`; export r; \
25572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25574 $(NORMAL_TARGET_EXPORTS) \
25575 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
25576 for flag in $(EXTRA_TARGET_FLAGS); do \
25577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25579 (cd $(TARGET_SUBDIR)/libffi && \
25580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25582 "RANLIB=$${RANLIB}" \
25583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25587 @endif target-libffi
25589 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
25590 maybe-dvi-target-libffi:
25592 maybe-dvi-target-libffi: dvi-target-libffi
25594 dvi-target-libffi: \
25595 configure-target-libffi
25596 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25597 r=`${PWD_COMMAND}`; export r; \
25598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25600 $(NORMAL_TARGET_EXPORTS) \
25601 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
25602 for flag in $(EXTRA_TARGET_FLAGS); do \
25603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25605 (cd $(TARGET_SUBDIR)/libffi && \
25606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25608 "RANLIB=$${RANLIB}" \
25609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25613 @endif target-libffi
25615 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
25616 maybe-TAGS-target-libffi:
25618 maybe-TAGS-target-libffi: TAGS-target-libffi
25620 TAGS-target-libffi: \
25621 configure-target-libffi
25622 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25623 r=`${PWD_COMMAND}`; export r; \
25624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25626 $(NORMAL_TARGET_EXPORTS) \
25627 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
25628 for flag in $(EXTRA_TARGET_FLAGS); do \
25629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25631 (cd $(TARGET_SUBDIR)/libffi && \
25632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25634 "RANLIB=$${RANLIB}" \
25635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25639 @endif target-libffi
25641 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
25642 maybe-install-info-target-libffi:
25644 maybe-install-info-target-libffi: install-info-target-libffi
25646 install-info-target-libffi: \
25647 configure-target-libffi \
25649 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25650 r=`${PWD_COMMAND}`; export r; \
25651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25653 $(NORMAL_TARGET_EXPORTS) \
25654 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
25655 for flag in $(EXTRA_TARGET_FLAGS); do \
25656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25658 (cd $(TARGET_SUBDIR)/libffi && \
25659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25661 "RANLIB=$${RANLIB}" \
25662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25666 @endif target-libffi
25668 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
25669 maybe-installcheck-target-libffi:
25671 maybe-installcheck-target-libffi: installcheck-target-libffi
25673 installcheck-target-libffi: \
25674 configure-target-libffi
25675 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25676 r=`${PWD_COMMAND}`; export r; \
25677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25679 $(NORMAL_TARGET_EXPORTS) \
25680 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
25681 for flag in $(EXTRA_TARGET_FLAGS); do \
25682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25684 (cd $(TARGET_SUBDIR)/libffi && \
25685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25687 "RANLIB=$${RANLIB}" \
25688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25692 @endif target-libffi
25694 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
25695 maybe-mostlyclean-target-libffi:
25697 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
25699 mostlyclean-target-libffi:
25700 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25701 r=`${PWD_COMMAND}`; export r; \
25702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25704 $(NORMAL_TARGET_EXPORTS) \
25705 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
25706 for flag in $(EXTRA_TARGET_FLAGS); do \
25707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25709 (cd $(TARGET_SUBDIR)/libffi && \
25710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25712 "RANLIB=$${RANLIB}" \
25713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25717 @endif target-libffi
25719 .PHONY: maybe-clean-target-libffi clean-target-libffi
25720 maybe-clean-target-libffi:
25722 maybe-clean-target-libffi: clean-target-libffi
25724 clean-target-libffi:
25725 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25726 r=`${PWD_COMMAND}`; export r; \
25727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25729 $(NORMAL_TARGET_EXPORTS) \
25730 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
25731 for flag in $(EXTRA_TARGET_FLAGS); do \
25732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25734 (cd $(TARGET_SUBDIR)/libffi && \
25735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25737 "RANLIB=$${RANLIB}" \
25738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25742 @endif target-libffi
25744 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
25745 maybe-distclean-target-libffi:
25747 maybe-distclean-target-libffi: distclean-target-libffi
25749 distclean-target-libffi:
25750 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25751 r=`${PWD_COMMAND}`; export r; \
25752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25754 $(NORMAL_TARGET_EXPORTS) \
25755 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
25756 for flag in $(EXTRA_TARGET_FLAGS); do \
25757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25759 (cd $(TARGET_SUBDIR)/libffi && \
25760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25762 "RANLIB=$${RANLIB}" \
25763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25767 @endif target-libffi
25769 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
25770 maybe-maintainer-clean-target-libffi:
25772 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
25774 maintainer-clean-target-libffi:
25775 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25776 r=`${PWD_COMMAND}`; export r; \
25777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25779 $(NORMAL_TARGET_EXPORTS) \
25780 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
25781 for flag in $(EXTRA_TARGET_FLAGS); do \
25782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25784 (cd $(TARGET_SUBDIR)/libffi && \
25785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25787 "RANLIB=$${RANLIB}" \
25788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25789 maintainer-clean) \
25792 @endif target-libffi
25795 .PHONY: configure-target-libjava maybe-configure-target-libjava
25796 maybe-configure-target-libjava:
25798 maybe-configure-target-libjava: configure-target-libjava
25800 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25801 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
25802 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
25803 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
25804 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
25806 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
25807 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
25808 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
25809 r=`${PWD_COMMAND}`; export r; \
25810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25812 $(RAW_CXX_TARGET_EXPORTS) \
25813 echo Configuring in $(TARGET_SUBDIR)/libjava; \
25814 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
25815 case $(srcdir) in \
25816 /* | [A-Za-z]:[\\/]*) \
25817 topdir=$(srcdir) ;; \
25819 case "$(TARGET_SUBDIR)" in \
25820 .) topdir="../$(srcdir)" ;; \
25821 *) topdir="../../$(srcdir)" ;; \
25824 srcdiroption="--srcdir=$${topdir}/libjava"; \
25825 libsrcdir="$$s/libjava"; \
25826 rm -f no-such-file || : ; \
25827 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25828 $(TARGET_CONFIGARGS) $${srcdiroption} \
25829 --with-target-subdir="$(TARGET_SUBDIR)" \
25831 @endif target-libjava
25833 .PHONY: all-target-libjava maybe-all-target-libjava
25834 maybe-all-target-libjava:
25836 TARGET-target-libjava=all
25837 maybe-all-target-libjava: all-target-libjava
25838 all-target-libjava: configure-target-libjava
25839 @r=`${PWD_COMMAND}`; export r; \
25840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25842 $(RAW_CXX_TARGET_EXPORTS) \
25843 (cd $(TARGET_SUBDIR)/libjava && \
25844 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
25845 @endif target-libjava
25847 .PHONY: check-target-libjava maybe-check-target-libjava
25848 maybe-check-target-libjava:
25850 maybe-check-target-libjava: check-target-libjava
25852 check-target-libjava:
25853 @r=`${PWD_COMMAND}`; export r; \
25854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25856 $(RAW_CXX_TARGET_EXPORTS) \
25857 (cd $(TARGET_SUBDIR)/libjava && \
25858 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
25860 @endif target-libjava
25862 .PHONY: install-target-libjava maybe-install-target-libjava
25863 maybe-install-target-libjava:
25865 maybe-install-target-libjava: install-target-libjava
25867 install-target-libjava: installdirs
25868 @r=`${PWD_COMMAND}`; export r; \
25869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25871 $(RAW_CXX_TARGET_EXPORTS) \
25872 (cd $(TARGET_SUBDIR)/libjava && \
25873 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25875 @endif target-libjava
25877 # Other targets (info, dvi, etc.)
25879 .PHONY: maybe-info-target-libjava info-target-libjava
25880 maybe-info-target-libjava:
25882 maybe-info-target-libjava: info-target-libjava
25884 info-target-libjava: \
25885 configure-target-libjava
25886 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25887 r=`${PWD_COMMAND}`; export r; \
25888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25890 $(RAW_CXX_TARGET_EXPORTS) \
25891 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
25892 for flag in $(EXTRA_TARGET_FLAGS); do \
25893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25895 (cd $(TARGET_SUBDIR)/libjava && \
25896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25898 "RANLIB=$${RANLIB}" \
25899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25903 @endif target-libjava
25905 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
25906 maybe-dvi-target-libjava:
25908 maybe-dvi-target-libjava: dvi-target-libjava
25910 dvi-target-libjava: \
25911 configure-target-libjava
25912 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25913 r=`${PWD_COMMAND}`; export r; \
25914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25916 $(RAW_CXX_TARGET_EXPORTS) \
25917 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
25918 for flag in $(EXTRA_TARGET_FLAGS); do \
25919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25921 (cd $(TARGET_SUBDIR)/libjava && \
25922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25924 "RANLIB=$${RANLIB}" \
25925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25929 @endif target-libjava
25931 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
25932 maybe-TAGS-target-libjava:
25934 maybe-TAGS-target-libjava: TAGS-target-libjava
25936 TAGS-target-libjava: \
25937 configure-target-libjava
25938 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25939 r=`${PWD_COMMAND}`; export r; \
25940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25942 $(RAW_CXX_TARGET_EXPORTS) \
25943 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
25944 for flag in $(EXTRA_TARGET_FLAGS); do \
25945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25947 (cd $(TARGET_SUBDIR)/libjava && \
25948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25950 "RANLIB=$${RANLIB}" \
25951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25955 @endif target-libjava
25957 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
25958 maybe-install-info-target-libjava:
25960 maybe-install-info-target-libjava: install-info-target-libjava
25962 install-info-target-libjava: \
25963 configure-target-libjava \
25964 info-target-libjava
25965 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25966 r=`${PWD_COMMAND}`; export r; \
25967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25969 $(RAW_CXX_TARGET_EXPORTS) \
25970 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
25971 for flag in $(EXTRA_TARGET_FLAGS); do \
25972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25974 (cd $(TARGET_SUBDIR)/libjava && \
25975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25977 "RANLIB=$${RANLIB}" \
25978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25982 @endif target-libjava
25984 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
25985 maybe-installcheck-target-libjava:
25987 maybe-installcheck-target-libjava: installcheck-target-libjava
25989 installcheck-target-libjava: \
25990 configure-target-libjava
25991 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
25992 r=`${PWD_COMMAND}`; export r; \
25993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25995 $(RAW_CXX_TARGET_EXPORTS) \
25996 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
25997 for flag in $(EXTRA_TARGET_FLAGS); do \
25998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26000 (cd $(TARGET_SUBDIR)/libjava && \
26001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26003 "RANLIB=$${RANLIB}" \
26004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26008 @endif target-libjava
26010 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
26011 maybe-mostlyclean-target-libjava:
26013 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
26015 mostlyclean-target-libjava:
26016 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26017 r=`${PWD_COMMAND}`; export r; \
26018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26020 $(RAW_CXX_TARGET_EXPORTS) \
26021 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
26022 for flag in $(EXTRA_TARGET_FLAGS); do \
26023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26025 (cd $(TARGET_SUBDIR)/libjava && \
26026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26028 "RANLIB=$${RANLIB}" \
26029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26033 @endif target-libjava
26035 .PHONY: maybe-clean-target-libjava clean-target-libjava
26036 maybe-clean-target-libjava:
26038 maybe-clean-target-libjava: clean-target-libjava
26040 clean-target-libjava:
26041 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26042 r=`${PWD_COMMAND}`; export r; \
26043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26045 $(RAW_CXX_TARGET_EXPORTS) \
26046 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
26047 for flag in $(EXTRA_TARGET_FLAGS); do \
26048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26050 (cd $(TARGET_SUBDIR)/libjava && \
26051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26053 "RANLIB=$${RANLIB}" \
26054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26058 @endif target-libjava
26060 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
26061 maybe-distclean-target-libjava:
26063 maybe-distclean-target-libjava: distclean-target-libjava
26065 distclean-target-libjava:
26066 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26067 r=`${PWD_COMMAND}`; export r; \
26068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26070 $(RAW_CXX_TARGET_EXPORTS) \
26071 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
26072 for flag in $(EXTRA_TARGET_FLAGS); do \
26073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26075 (cd $(TARGET_SUBDIR)/libjava && \
26076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26078 "RANLIB=$${RANLIB}" \
26079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26083 @endif target-libjava
26085 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
26086 maybe-maintainer-clean-target-libjava:
26088 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
26090 maintainer-clean-target-libjava:
26091 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26092 r=`${PWD_COMMAND}`; export r; \
26093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26095 $(RAW_CXX_TARGET_EXPORTS) \
26096 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
26097 for flag in $(EXTRA_TARGET_FLAGS); do \
26098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26100 (cd $(TARGET_SUBDIR)/libjava && \
26101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26103 "RANLIB=$${RANLIB}" \
26104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26105 maintainer-clean) \
26108 @endif target-libjava
26111 .PHONY: configure-target-zlib maybe-configure-target-zlib
26112 maybe-configure-target-zlib:
26114 maybe-configure-target-zlib: configure-target-zlib
26116 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26117 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
26118 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26119 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
26120 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
26122 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
26123 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
26124 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26125 r=`${PWD_COMMAND}`; export r; \
26126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26128 $(NORMAL_TARGET_EXPORTS) \
26129 echo Configuring in $(TARGET_SUBDIR)/zlib; \
26130 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
26131 case $(srcdir) in \
26132 /* | [A-Za-z]:[\\/]*) \
26133 topdir=$(srcdir) ;; \
26135 case "$(TARGET_SUBDIR)" in \
26136 .) topdir="../$(srcdir)" ;; \
26137 *) topdir="../../$(srcdir)" ;; \
26140 if [ "$(srcdir)" = "." ] ; then \
26141 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
26142 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
26143 if [ -f Makefile ]; then \
26144 if $(MAKE) distclean; then \
26158 srcdiroption="--srcdir=."; \
26161 srcdiroption="--srcdir=$${topdir}/zlib"; \
26162 libsrcdir="$$s/zlib"; \
26164 rm -f no-such-file || : ; \
26165 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26166 $(TARGET_CONFIGARGS) $${srcdiroption} \
26167 --with-target-subdir="$(TARGET_SUBDIR)" \
26171 .PHONY: all-target-zlib maybe-all-target-zlib
26172 maybe-all-target-zlib:
26174 TARGET-target-zlib=all
26175 maybe-all-target-zlib: all-target-zlib
26176 all-target-zlib: configure-target-zlib
26177 @r=`${PWD_COMMAND}`; export r; \
26178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26180 $(NORMAL_TARGET_EXPORTS) \
26181 (cd $(TARGET_SUBDIR)/zlib && \
26182 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
26185 .PHONY: check-target-zlib maybe-check-target-zlib
26186 maybe-check-target-zlib:
26188 maybe-check-target-zlib: check-target-zlib
26191 @r=`${PWD_COMMAND}`; export r; \
26192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26194 $(NORMAL_TARGET_EXPORTS) \
26195 (cd $(TARGET_SUBDIR)/zlib && \
26196 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26200 .PHONY: install-target-zlib maybe-install-target-zlib
26201 maybe-install-target-zlib:
26203 maybe-install-target-zlib: install-target-zlib
26205 install-target-zlib: installdirs
26206 @r=`${PWD_COMMAND}`; export r; \
26207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26209 $(NORMAL_TARGET_EXPORTS) \
26210 (cd $(TARGET_SUBDIR)/zlib && \
26211 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26215 # Other targets (info, dvi, etc.)
26217 .PHONY: maybe-info-target-zlib info-target-zlib
26218 maybe-info-target-zlib:
26220 maybe-info-target-zlib: info-target-zlib
26222 info-target-zlib: \
26223 configure-target-zlib
26224 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26225 r=`${PWD_COMMAND}`; export r; \
26226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26228 $(NORMAL_TARGET_EXPORTS) \
26229 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
26230 for flag in $(EXTRA_TARGET_FLAGS); do \
26231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26233 (cd $(TARGET_SUBDIR)/zlib && \
26234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26236 "RANLIB=$${RANLIB}" \
26237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26243 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
26244 maybe-dvi-target-zlib:
26246 maybe-dvi-target-zlib: dvi-target-zlib
26249 configure-target-zlib
26250 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26251 r=`${PWD_COMMAND}`; export r; \
26252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26254 $(NORMAL_TARGET_EXPORTS) \
26255 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
26256 for flag in $(EXTRA_TARGET_FLAGS); do \
26257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26259 (cd $(TARGET_SUBDIR)/zlib && \
26260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26262 "RANLIB=$${RANLIB}" \
26263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26269 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
26270 maybe-TAGS-target-zlib:
26272 maybe-TAGS-target-zlib: TAGS-target-zlib
26274 TAGS-target-zlib: \
26275 configure-target-zlib
26276 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26277 r=`${PWD_COMMAND}`; export r; \
26278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26280 $(NORMAL_TARGET_EXPORTS) \
26281 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
26282 for flag in $(EXTRA_TARGET_FLAGS); do \
26283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26285 (cd $(TARGET_SUBDIR)/zlib && \
26286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26288 "RANLIB=$${RANLIB}" \
26289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26295 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
26296 maybe-install-info-target-zlib:
26298 maybe-install-info-target-zlib: install-info-target-zlib
26300 install-info-target-zlib: \
26301 configure-target-zlib \
26303 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26304 r=`${PWD_COMMAND}`; export r; \
26305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26307 $(NORMAL_TARGET_EXPORTS) \
26308 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
26309 for flag in $(EXTRA_TARGET_FLAGS); do \
26310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26312 (cd $(TARGET_SUBDIR)/zlib && \
26313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26315 "RANLIB=$${RANLIB}" \
26316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26322 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
26323 maybe-installcheck-target-zlib:
26325 maybe-installcheck-target-zlib: installcheck-target-zlib
26327 installcheck-target-zlib: \
26328 configure-target-zlib
26329 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26330 r=`${PWD_COMMAND}`; export r; \
26331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26333 $(NORMAL_TARGET_EXPORTS) \
26334 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
26335 for flag in $(EXTRA_TARGET_FLAGS); do \
26336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26338 (cd $(TARGET_SUBDIR)/zlib && \
26339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26341 "RANLIB=$${RANLIB}" \
26342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26348 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
26349 maybe-mostlyclean-target-zlib:
26351 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
26353 mostlyclean-target-zlib:
26354 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26355 r=`${PWD_COMMAND}`; export r; \
26356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26358 $(NORMAL_TARGET_EXPORTS) \
26359 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
26360 for flag in $(EXTRA_TARGET_FLAGS); do \
26361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26363 (cd $(TARGET_SUBDIR)/zlib && \
26364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26366 "RANLIB=$${RANLIB}" \
26367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26373 .PHONY: maybe-clean-target-zlib clean-target-zlib
26374 maybe-clean-target-zlib:
26376 maybe-clean-target-zlib: clean-target-zlib
26379 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26380 r=`${PWD_COMMAND}`; export r; \
26381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26383 $(NORMAL_TARGET_EXPORTS) \
26384 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
26385 for flag in $(EXTRA_TARGET_FLAGS); do \
26386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26388 (cd $(TARGET_SUBDIR)/zlib && \
26389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26391 "RANLIB=$${RANLIB}" \
26392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26398 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
26399 maybe-distclean-target-zlib:
26401 maybe-distclean-target-zlib: distclean-target-zlib
26403 distclean-target-zlib:
26404 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26405 r=`${PWD_COMMAND}`; export r; \
26406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26408 $(NORMAL_TARGET_EXPORTS) \
26409 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
26410 for flag in $(EXTRA_TARGET_FLAGS); do \
26411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26413 (cd $(TARGET_SUBDIR)/zlib && \
26414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26416 "RANLIB=$${RANLIB}" \
26417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26423 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
26424 maybe-maintainer-clean-target-zlib:
26426 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
26428 maintainer-clean-target-zlib:
26429 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26430 r=`${PWD_COMMAND}`; export r; \
26431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26433 $(NORMAL_TARGET_EXPORTS) \
26434 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
26435 for flag in $(EXTRA_TARGET_FLAGS); do \
26436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26438 (cd $(TARGET_SUBDIR)/zlib && \
26439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26441 "RANLIB=$${RANLIB}" \
26442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26443 maintainer-clean) \
26449 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
26450 maybe-configure-target-boehm-gc:
26451 @if target-boehm-gc
26452 maybe-configure-target-boehm-gc: configure-target-boehm-gc
26454 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26455 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
26456 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26457 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
26458 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
26460 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
26461 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
26462 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26463 r=`${PWD_COMMAND}`; export r; \
26464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26466 $(NORMAL_TARGET_EXPORTS) \
26467 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
26468 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
26469 case $(srcdir) in \
26470 /* | [A-Za-z]:[\\/]*) \
26471 topdir=$(srcdir) ;; \
26473 case "$(TARGET_SUBDIR)" in \
26474 .) topdir="../$(srcdir)" ;; \
26475 *) topdir="../../$(srcdir)" ;; \
26478 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
26479 libsrcdir="$$s/boehm-gc"; \
26480 rm -f no-such-file || : ; \
26481 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26482 $(TARGET_CONFIGARGS) $${srcdiroption} \
26483 --with-target-subdir="$(TARGET_SUBDIR)" \
26485 @endif target-boehm-gc
26487 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
26488 maybe-all-target-boehm-gc:
26489 @if target-boehm-gc
26490 TARGET-target-boehm-gc=all
26491 maybe-all-target-boehm-gc: all-target-boehm-gc
26492 all-target-boehm-gc: configure-target-boehm-gc
26493 @r=`${PWD_COMMAND}`; export r; \
26494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26496 $(NORMAL_TARGET_EXPORTS) \
26497 (cd $(TARGET_SUBDIR)/boehm-gc && \
26498 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
26499 @endif target-boehm-gc
26501 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
26502 maybe-check-target-boehm-gc:
26503 @if target-boehm-gc
26504 maybe-check-target-boehm-gc: check-target-boehm-gc
26506 check-target-boehm-gc:
26507 @r=`${PWD_COMMAND}`; export r; \
26508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26510 $(NORMAL_TARGET_EXPORTS) \
26511 (cd $(TARGET_SUBDIR)/boehm-gc && \
26512 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26514 @endif target-boehm-gc
26516 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
26517 maybe-install-target-boehm-gc:
26518 @if target-boehm-gc
26519 maybe-install-target-boehm-gc: install-target-boehm-gc
26521 install-target-boehm-gc: installdirs
26522 @r=`${PWD_COMMAND}`; export r; \
26523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26525 $(NORMAL_TARGET_EXPORTS) \
26526 (cd $(TARGET_SUBDIR)/boehm-gc && \
26527 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26529 @endif target-boehm-gc
26531 # Other targets (info, dvi, etc.)
26533 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
26534 maybe-info-target-boehm-gc:
26535 @if target-boehm-gc
26536 maybe-info-target-boehm-gc: info-target-boehm-gc
26538 info-target-boehm-gc: \
26539 configure-target-boehm-gc
26540 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26541 r=`${PWD_COMMAND}`; export r; \
26542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26544 $(NORMAL_TARGET_EXPORTS) \
26545 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
26546 for flag in $(EXTRA_TARGET_FLAGS); do \
26547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26549 (cd $(TARGET_SUBDIR)/boehm-gc && \
26550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26552 "RANLIB=$${RANLIB}" \
26553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26557 @endif target-boehm-gc
26559 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
26560 maybe-dvi-target-boehm-gc:
26561 @if target-boehm-gc
26562 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
26564 dvi-target-boehm-gc: \
26565 configure-target-boehm-gc
26566 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26567 r=`${PWD_COMMAND}`; export r; \
26568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26570 $(NORMAL_TARGET_EXPORTS) \
26571 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
26572 for flag in $(EXTRA_TARGET_FLAGS); do \
26573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26575 (cd $(TARGET_SUBDIR)/boehm-gc && \
26576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26578 "RANLIB=$${RANLIB}" \
26579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26583 @endif target-boehm-gc
26585 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
26586 maybe-TAGS-target-boehm-gc:
26587 @if target-boehm-gc
26588 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
26590 TAGS-target-boehm-gc: \
26591 configure-target-boehm-gc
26592 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26593 r=`${PWD_COMMAND}`; export r; \
26594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26596 $(NORMAL_TARGET_EXPORTS) \
26597 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
26598 for flag in $(EXTRA_TARGET_FLAGS); do \
26599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26601 (cd $(TARGET_SUBDIR)/boehm-gc && \
26602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26604 "RANLIB=$${RANLIB}" \
26605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26609 @endif target-boehm-gc
26611 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
26612 maybe-install-info-target-boehm-gc:
26613 @if target-boehm-gc
26614 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
26616 install-info-target-boehm-gc: \
26617 configure-target-boehm-gc \
26618 info-target-boehm-gc
26619 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26620 r=`${PWD_COMMAND}`; export r; \
26621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26623 $(NORMAL_TARGET_EXPORTS) \
26624 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
26625 for flag in $(EXTRA_TARGET_FLAGS); do \
26626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26628 (cd $(TARGET_SUBDIR)/boehm-gc && \
26629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26631 "RANLIB=$${RANLIB}" \
26632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26636 @endif target-boehm-gc
26638 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
26639 maybe-installcheck-target-boehm-gc:
26640 @if target-boehm-gc
26641 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
26643 installcheck-target-boehm-gc: \
26644 configure-target-boehm-gc
26645 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26646 r=`${PWD_COMMAND}`; export r; \
26647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26649 $(NORMAL_TARGET_EXPORTS) \
26650 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
26651 for flag in $(EXTRA_TARGET_FLAGS); do \
26652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26654 (cd $(TARGET_SUBDIR)/boehm-gc && \
26655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26657 "RANLIB=$${RANLIB}" \
26658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26662 @endif target-boehm-gc
26664 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
26665 maybe-mostlyclean-target-boehm-gc:
26666 @if target-boehm-gc
26667 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
26669 mostlyclean-target-boehm-gc:
26670 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26671 r=`${PWD_COMMAND}`; export r; \
26672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26674 $(NORMAL_TARGET_EXPORTS) \
26675 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
26676 for flag in $(EXTRA_TARGET_FLAGS); do \
26677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26679 (cd $(TARGET_SUBDIR)/boehm-gc && \
26680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26682 "RANLIB=$${RANLIB}" \
26683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26687 @endif target-boehm-gc
26689 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
26690 maybe-clean-target-boehm-gc:
26691 @if target-boehm-gc
26692 maybe-clean-target-boehm-gc: clean-target-boehm-gc
26694 clean-target-boehm-gc:
26695 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26696 r=`${PWD_COMMAND}`; export r; \
26697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26699 $(NORMAL_TARGET_EXPORTS) \
26700 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
26701 for flag in $(EXTRA_TARGET_FLAGS); do \
26702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26704 (cd $(TARGET_SUBDIR)/boehm-gc && \
26705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26707 "RANLIB=$${RANLIB}" \
26708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26712 @endif target-boehm-gc
26714 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
26715 maybe-distclean-target-boehm-gc:
26716 @if target-boehm-gc
26717 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
26719 distclean-target-boehm-gc:
26720 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26721 r=`${PWD_COMMAND}`; export r; \
26722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26724 $(NORMAL_TARGET_EXPORTS) \
26725 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
26726 for flag in $(EXTRA_TARGET_FLAGS); do \
26727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26729 (cd $(TARGET_SUBDIR)/boehm-gc && \
26730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26732 "RANLIB=$${RANLIB}" \
26733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26737 @endif target-boehm-gc
26739 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
26740 maybe-maintainer-clean-target-boehm-gc:
26741 @if target-boehm-gc
26742 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
26744 maintainer-clean-target-boehm-gc:
26745 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26746 r=`${PWD_COMMAND}`; export r; \
26747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26749 $(NORMAL_TARGET_EXPORTS) \
26750 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
26751 for flag in $(EXTRA_TARGET_FLAGS); do \
26752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26754 (cd $(TARGET_SUBDIR)/boehm-gc && \
26755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26757 "RANLIB=$${RANLIB}" \
26758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26759 maintainer-clean) \
26762 @endif target-boehm-gc
26765 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
26766 maybe-configure-target-qthreads:
26767 @if target-qthreads
26768 maybe-configure-target-qthreads: configure-target-qthreads
26770 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26771 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
26772 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
26773 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
26774 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
26776 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
26777 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
26778 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
26779 r=`${PWD_COMMAND}`; export r; \
26780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26782 $(NORMAL_TARGET_EXPORTS) \
26783 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
26784 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
26785 case $(srcdir) in \
26786 /* | [A-Za-z]:[\\/]*) \
26787 topdir=$(srcdir) ;; \
26789 case "$(TARGET_SUBDIR)" in \
26790 .) topdir="../$(srcdir)" ;; \
26791 *) topdir="../../$(srcdir)" ;; \
26794 srcdiroption="--srcdir=$${topdir}/qthreads"; \
26795 libsrcdir="$$s/qthreads"; \
26796 rm -f no-such-file || : ; \
26797 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26798 $(TARGET_CONFIGARGS) $${srcdiroption} \
26799 --with-target-subdir="$(TARGET_SUBDIR)" \
26801 @endif target-qthreads
26803 .PHONY: all-target-qthreads maybe-all-target-qthreads
26804 maybe-all-target-qthreads:
26805 @if target-qthreads
26806 TARGET-target-qthreads=all
26807 maybe-all-target-qthreads: all-target-qthreads
26808 all-target-qthreads: configure-target-qthreads
26809 @r=`${PWD_COMMAND}`; export r; \
26810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26812 $(NORMAL_TARGET_EXPORTS) \
26813 (cd $(TARGET_SUBDIR)/qthreads && \
26814 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
26815 @endif target-qthreads
26817 .PHONY: check-target-qthreads maybe-check-target-qthreads
26818 maybe-check-target-qthreads:
26819 @if target-qthreads
26820 maybe-check-target-qthreads: check-target-qthreads
26822 check-target-qthreads:
26823 @r=`${PWD_COMMAND}`; export r; \
26824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26826 $(NORMAL_TARGET_EXPORTS) \
26827 (cd $(TARGET_SUBDIR)/qthreads && \
26828 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26830 @endif target-qthreads
26832 .PHONY: install-target-qthreads maybe-install-target-qthreads
26833 maybe-install-target-qthreads:
26834 @if target-qthreads
26835 maybe-install-target-qthreads: install-target-qthreads
26837 install-target-qthreads: installdirs
26838 @r=`${PWD_COMMAND}`; export r; \
26839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26841 $(NORMAL_TARGET_EXPORTS) \
26842 (cd $(TARGET_SUBDIR)/qthreads && \
26843 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26845 @endif target-qthreads
26847 # Other targets (info, dvi, etc.)
26849 .PHONY: maybe-info-target-qthreads info-target-qthreads
26850 maybe-info-target-qthreads:
26851 @if target-qthreads
26852 maybe-info-target-qthreads: info-target-qthreads
26854 info-target-qthreads: \
26855 configure-target-qthreads
26856 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26857 r=`${PWD_COMMAND}`; export r; \
26858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26860 $(NORMAL_TARGET_EXPORTS) \
26861 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
26862 for flag in $(EXTRA_TARGET_FLAGS); do \
26863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26865 (cd $(TARGET_SUBDIR)/qthreads && \
26866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26868 "RANLIB=$${RANLIB}" \
26869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26873 @endif target-qthreads
26875 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
26876 maybe-dvi-target-qthreads:
26877 @if target-qthreads
26878 maybe-dvi-target-qthreads: dvi-target-qthreads
26880 dvi-target-qthreads: \
26881 configure-target-qthreads
26882 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26883 r=`${PWD_COMMAND}`; export r; \
26884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26886 $(NORMAL_TARGET_EXPORTS) \
26887 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
26888 for flag in $(EXTRA_TARGET_FLAGS); do \
26889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26891 (cd $(TARGET_SUBDIR)/qthreads && \
26892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26894 "RANLIB=$${RANLIB}" \
26895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26899 @endif target-qthreads
26901 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
26902 maybe-TAGS-target-qthreads:
26903 @if target-qthreads
26904 maybe-TAGS-target-qthreads: TAGS-target-qthreads
26906 TAGS-target-qthreads: \
26907 configure-target-qthreads
26908 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26909 r=`${PWD_COMMAND}`; export r; \
26910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26912 $(NORMAL_TARGET_EXPORTS) \
26913 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
26914 for flag in $(EXTRA_TARGET_FLAGS); do \
26915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26917 (cd $(TARGET_SUBDIR)/qthreads && \
26918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26920 "RANLIB=$${RANLIB}" \
26921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26925 @endif target-qthreads
26927 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
26928 maybe-install-info-target-qthreads:
26929 @if target-qthreads
26930 maybe-install-info-target-qthreads: install-info-target-qthreads
26932 install-info-target-qthreads: \
26933 configure-target-qthreads \
26934 info-target-qthreads
26935 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26936 r=`${PWD_COMMAND}`; export r; \
26937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26939 $(NORMAL_TARGET_EXPORTS) \
26940 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
26941 for flag in $(EXTRA_TARGET_FLAGS); do \
26942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26944 (cd $(TARGET_SUBDIR)/qthreads && \
26945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26947 "RANLIB=$${RANLIB}" \
26948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26952 @endif target-qthreads
26954 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
26955 maybe-installcheck-target-qthreads:
26956 @if target-qthreads
26957 maybe-installcheck-target-qthreads: installcheck-target-qthreads
26959 installcheck-target-qthreads: \
26960 configure-target-qthreads
26961 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26962 r=`${PWD_COMMAND}`; export r; \
26963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26965 $(NORMAL_TARGET_EXPORTS) \
26966 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
26967 for flag in $(EXTRA_TARGET_FLAGS); do \
26968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26970 (cd $(TARGET_SUBDIR)/qthreads && \
26971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26973 "RANLIB=$${RANLIB}" \
26974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26978 @endif target-qthreads
26980 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
26981 maybe-mostlyclean-target-qthreads:
26982 @if target-qthreads
26983 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
26985 mostlyclean-target-qthreads:
26986 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
26987 r=`${PWD_COMMAND}`; export r; \
26988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26990 $(NORMAL_TARGET_EXPORTS) \
26991 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
26992 for flag in $(EXTRA_TARGET_FLAGS); do \
26993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26995 (cd $(TARGET_SUBDIR)/qthreads && \
26996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26998 "RANLIB=$${RANLIB}" \
26999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27003 @endif target-qthreads
27005 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
27006 maybe-clean-target-qthreads:
27007 @if target-qthreads
27008 maybe-clean-target-qthreads: clean-target-qthreads
27010 clean-target-qthreads:
27011 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27012 r=`${PWD_COMMAND}`; export r; \
27013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27015 $(NORMAL_TARGET_EXPORTS) \
27016 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
27017 for flag in $(EXTRA_TARGET_FLAGS); do \
27018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27020 (cd $(TARGET_SUBDIR)/qthreads && \
27021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27023 "RANLIB=$${RANLIB}" \
27024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27028 @endif target-qthreads
27030 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
27031 maybe-distclean-target-qthreads:
27032 @if target-qthreads
27033 maybe-distclean-target-qthreads: distclean-target-qthreads
27035 distclean-target-qthreads:
27036 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27037 r=`${PWD_COMMAND}`; export r; \
27038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27040 $(NORMAL_TARGET_EXPORTS) \
27041 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
27042 for flag in $(EXTRA_TARGET_FLAGS); do \
27043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27045 (cd $(TARGET_SUBDIR)/qthreads && \
27046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27048 "RANLIB=$${RANLIB}" \
27049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27053 @endif target-qthreads
27055 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
27056 maybe-maintainer-clean-target-qthreads:
27057 @if target-qthreads
27058 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
27060 maintainer-clean-target-qthreads:
27061 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27062 r=`${PWD_COMMAND}`; export r; \
27063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27065 $(NORMAL_TARGET_EXPORTS) \
27066 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
27067 for flag in $(EXTRA_TARGET_FLAGS); do \
27068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27070 (cd $(TARGET_SUBDIR)/qthreads && \
27071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27073 "RANLIB=$${RANLIB}" \
27074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27075 maintainer-clean) \
27078 @endif target-qthreads
27081 .PHONY: configure-target-rda maybe-configure-target-rda
27082 maybe-configure-target-rda:
27084 maybe-configure-target-rda: configure-target-rda
27086 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27087 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
27088 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27089 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
27090 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
27092 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
27093 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
27094 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27095 r=`${PWD_COMMAND}`; export r; \
27096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27098 $(NORMAL_TARGET_EXPORTS) \
27099 echo Configuring in $(TARGET_SUBDIR)/rda; \
27100 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
27101 case $(srcdir) in \
27102 /* | [A-Za-z]:[\\/]*) \
27103 topdir=$(srcdir) ;; \
27105 case "$(TARGET_SUBDIR)" in \
27106 .) topdir="../$(srcdir)" ;; \
27107 *) topdir="../../$(srcdir)" ;; \
27110 srcdiroption="--srcdir=$${topdir}/rda"; \
27111 libsrcdir="$$s/rda"; \
27112 rm -f no-such-file || : ; \
27113 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27114 $(TARGET_CONFIGARGS) $${srcdiroption} \
27115 --with-target-subdir="$(TARGET_SUBDIR)" \
27119 .PHONY: all-target-rda maybe-all-target-rda
27120 maybe-all-target-rda:
27122 TARGET-target-rda=all
27123 maybe-all-target-rda: all-target-rda
27124 all-target-rda: configure-target-rda
27125 @r=`${PWD_COMMAND}`; export r; \
27126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27128 $(NORMAL_TARGET_EXPORTS) \
27129 (cd $(TARGET_SUBDIR)/rda && \
27130 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
27133 .PHONY: check-target-rda maybe-check-target-rda
27134 maybe-check-target-rda:
27136 maybe-check-target-rda: check-target-rda
27139 @r=`${PWD_COMMAND}`; export r; \
27140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27142 $(NORMAL_TARGET_EXPORTS) \
27143 (cd $(TARGET_SUBDIR)/rda && \
27144 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27148 .PHONY: install-target-rda maybe-install-target-rda
27149 maybe-install-target-rda:
27151 maybe-install-target-rda: install-target-rda
27153 install-target-rda: installdirs
27154 @r=`${PWD_COMMAND}`; export r; \
27155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27157 $(NORMAL_TARGET_EXPORTS) \
27158 (cd $(TARGET_SUBDIR)/rda && \
27159 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27163 # Other targets (info, dvi, etc.)
27165 .PHONY: maybe-info-target-rda info-target-rda
27166 maybe-info-target-rda:
27168 maybe-info-target-rda: info-target-rda
27171 configure-target-rda
27172 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27173 r=`${PWD_COMMAND}`; export r; \
27174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27176 $(NORMAL_TARGET_EXPORTS) \
27177 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
27178 for flag in $(EXTRA_TARGET_FLAGS); do \
27179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27181 (cd $(TARGET_SUBDIR)/rda && \
27182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27184 "RANLIB=$${RANLIB}" \
27185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27191 .PHONY: maybe-dvi-target-rda dvi-target-rda
27192 maybe-dvi-target-rda:
27194 maybe-dvi-target-rda: dvi-target-rda
27197 configure-target-rda
27198 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27199 r=`${PWD_COMMAND}`; export r; \
27200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27202 $(NORMAL_TARGET_EXPORTS) \
27203 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
27204 for flag in $(EXTRA_TARGET_FLAGS); do \
27205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27207 (cd $(TARGET_SUBDIR)/rda && \
27208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27210 "RANLIB=$${RANLIB}" \
27211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27217 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
27218 maybe-TAGS-target-rda:
27220 maybe-TAGS-target-rda: TAGS-target-rda
27223 configure-target-rda
27224 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27225 r=`${PWD_COMMAND}`; export r; \
27226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27228 $(NORMAL_TARGET_EXPORTS) \
27229 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
27230 for flag in $(EXTRA_TARGET_FLAGS); do \
27231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27233 (cd $(TARGET_SUBDIR)/rda && \
27234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27236 "RANLIB=$${RANLIB}" \
27237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27243 .PHONY: maybe-install-info-target-rda install-info-target-rda
27244 maybe-install-info-target-rda:
27246 maybe-install-info-target-rda: install-info-target-rda
27248 install-info-target-rda: \
27249 configure-target-rda \
27251 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27252 r=`${PWD_COMMAND}`; export r; \
27253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27255 $(NORMAL_TARGET_EXPORTS) \
27256 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
27257 for flag in $(EXTRA_TARGET_FLAGS); do \
27258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27260 (cd $(TARGET_SUBDIR)/rda && \
27261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27263 "RANLIB=$${RANLIB}" \
27264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27270 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
27271 maybe-installcheck-target-rda:
27273 maybe-installcheck-target-rda: installcheck-target-rda
27275 installcheck-target-rda: \
27276 configure-target-rda
27277 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27278 r=`${PWD_COMMAND}`; export r; \
27279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27281 $(NORMAL_TARGET_EXPORTS) \
27282 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
27283 for flag in $(EXTRA_TARGET_FLAGS); do \
27284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27286 (cd $(TARGET_SUBDIR)/rda && \
27287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27289 "RANLIB=$${RANLIB}" \
27290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27296 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
27297 maybe-mostlyclean-target-rda:
27299 maybe-mostlyclean-target-rda: mostlyclean-target-rda
27301 mostlyclean-target-rda:
27302 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27303 r=`${PWD_COMMAND}`; export r; \
27304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27306 $(NORMAL_TARGET_EXPORTS) \
27307 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
27308 for flag in $(EXTRA_TARGET_FLAGS); do \
27309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27311 (cd $(TARGET_SUBDIR)/rda && \
27312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27314 "RANLIB=$${RANLIB}" \
27315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27321 .PHONY: maybe-clean-target-rda clean-target-rda
27322 maybe-clean-target-rda:
27324 maybe-clean-target-rda: clean-target-rda
27327 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27328 r=`${PWD_COMMAND}`; export r; \
27329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27331 $(NORMAL_TARGET_EXPORTS) \
27332 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
27333 for flag in $(EXTRA_TARGET_FLAGS); do \
27334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27336 (cd $(TARGET_SUBDIR)/rda && \
27337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27339 "RANLIB=$${RANLIB}" \
27340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27346 .PHONY: maybe-distclean-target-rda distclean-target-rda
27347 maybe-distclean-target-rda:
27349 maybe-distclean-target-rda: distclean-target-rda
27351 distclean-target-rda:
27352 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27353 r=`${PWD_COMMAND}`; export r; \
27354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27356 $(NORMAL_TARGET_EXPORTS) \
27357 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
27358 for flag in $(EXTRA_TARGET_FLAGS); do \
27359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27361 (cd $(TARGET_SUBDIR)/rda && \
27362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27364 "RANLIB=$${RANLIB}" \
27365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27371 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
27372 maybe-maintainer-clean-target-rda:
27374 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
27376 maintainer-clean-target-rda:
27377 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27378 r=`${PWD_COMMAND}`; export r; \
27379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27381 $(NORMAL_TARGET_EXPORTS) \
27382 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
27383 for flag in $(EXTRA_TARGET_FLAGS); do \
27384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27386 (cd $(TARGET_SUBDIR)/rda && \
27387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27389 "RANLIB=$${RANLIB}" \
27390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27391 maintainer-clean) \
27397 .PHONY: configure-target-libada maybe-configure-target-libada
27398 maybe-configure-target-libada:
27400 maybe-configure-target-libada: configure-target-libada
27402 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27403 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
27404 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27405 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
27406 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
27408 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
27409 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
27410 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27411 r=`${PWD_COMMAND}`; export r; \
27412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27414 $(NORMAL_TARGET_EXPORTS) \
27415 echo Configuring in $(TARGET_SUBDIR)/libada; \
27416 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
27417 case $(srcdir) in \
27418 /* | [A-Za-z]:[\\/]*) \
27419 topdir=$(srcdir) ;; \
27421 case "$(TARGET_SUBDIR)" in \
27422 .) topdir="../$(srcdir)" ;; \
27423 *) topdir="../../$(srcdir)" ;; \
27426 srcdiroption="--srcdir=$${topdir}/libada"; \
27427 libsrcdir="$$s/libada"; \
27428 rm -f no-such-file || : ; \
27429 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27430 $(TARGET_CONFIGARGS) $${srcdiroption} \
27431 --with-target-subdir="$(TARGET_SUBDIR)" \
27433 @endif target-libada
27435 .PHONY: all-target-libada maybe-all-target-libada
27436 maybe-all-target-libada:
27438 TARGET-target-libada=all
27439 maybe-all-target-libada: all-target-libada
27440 all-target-libada: configure-target-libada
27441 @r=`${PWD_COMMAND}`; export r; \
27442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27444 $(NORMAL_TARGET_EXPORTS) \
27445 (cd $(TARGET_SUBDIR)/libada && \
27446 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
27447 @endif target-libada
27449 .PHONY: check-target-libada maybe-check-target-libada
27450 maybe-check-target-libada:
27452 maybe-check-target-libada: check-target-libada
27454 check-target-libada:
27455 @r=`${PWD_COMMAND}`; export r; \
27456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27458 $(NORMAL_TARGET_EXPORTS) \
27459 (cd $(TARGET_SUBDIR)/libada && \
27460 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27462 @endif target-libada
27464 .PHONY: install-target-libada maybe-install-target-libada
27465 maybe-install-target-libada:
27467 maybe-install-target-libada: install-target-libada
27469 install-target-libada: installdirs
27470 @r=`${PWD_COMMAND}`; export r; \
27471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27473 $(NORMAL_TARGET_EXPORTS) \
27474 (cd $(TARGET_SUBDIR)/libada && \
27475 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27477 @endif target-libada
27479 # Other targets (info, dvi, etc.)
27481 .PHONY: maybe-info-target-libada info-target-libada
27482 maybe-info-target-libada:
27484 maybe-info-target-libada: info-target-libada
27486 info-target-libada: \
27487 configure-target-libada
27488 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27489 r=`${PWD_COMMAND}`; export r; \
27490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27492 $(NORMAL_TARGET_EXPORTS) \
27493 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
27494 for flag in $(EXTRA_TARGET_FLAGS); do \
27495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27497 (cd $(TARGET_SUBDIR)/libada && \
27498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27500 "RANLIB=$${RANLIB}" \
27501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27505 @endif target-libada
27507 .PHONY: maybe-dvi-target-libada dvi-target-libada
27508 maybe-dvi-target-libada:
27510 maybe-dvi-target-libada: dvi-target-libada
27512 dvi-target-libada: \
27513 configure-target-libada
27514 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27515 r=`${PWD_COMMAND}`; export r; \
27516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27518 $(NORMAL_TARGET_EXPORTS) \
27519 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
27520 for flag in $(EXTRA_TARGET_FLAGS); do \
27521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27523 (cd $(TARGET_SUBDIR)/libada && \
27524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27526 "RANLIB=$${RANLIB}" \
27527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27531 @endif target-libada
27533 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
27534 maybe-TAGS-target-libada:
27536 maybe-TAGS-target-libada: TAGS-target-libada
27538 TAGS-target-libada: \
27539 configure-target-libada
27540 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27541 r=`${PWD_COMMAND}`; export r; \
27542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27544 $(NORMAL_TARGET_EXPORTS) \
27545 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
27546 for flag in $(EXTRA_TARGET_FLAGS); do \
27547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27549 (cd $(TARGET_SUBDIR)/libada && \
27550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27552 "RANLIB=$${RANLIB}" \
27553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27557 @endif target-libada
27559 .PHONY: maybe-install-info-target-libada install-info-target-libada
27560 maybe-install-info-target-libada:
27562 maybe-install-info-target-libada: install-info-target-libada
27564 install-info-target-libada: \
27565 configure-target-libada \
27567 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27568 r=`${PWD_COMMAND}`; export r; \
27569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27571 $(NORMAL_TARGET_EXPORTS) \
27572 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
27573 for flag in $(EXTRA_TARGET_FLAGS); do \
27574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27576 (cd $(TARGET_SUBDIR)/libada && \
27577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27579 "RANLIB=$${RANLIB}" \
27580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27584 @endif target-libada
27586 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
27587 maybe-installcheck-target-libada:
27589 maybe-installcheck-target-libada: installcheck-target-libada
27591 installcheck-target-libada: \
27592 configure-target-libada
27593 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27594 r=`${PWD_COMMAND}`; export r; \
27595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27597 $(NORMAL_TARGET_EXPORTS) \
27598 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
27599 for flag in $(EXTRA_TARGET_FLAGS); do \
27600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27602 (cd $(TARGET_SUBDIR)/libada && \
27603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27605 "RANLIB=$${RANLIB}" \
27606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27610 @endif target-libada
27612 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
27613 maybe-mostlyclean-target-libada:
27615 maybe-mostlyclean-target-libada: mostlyclean-target-libada
27617 mostlyclean-target-libada:
27618 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27619 r=`${PWD_COMMAND}`; export r; \
27620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27622 $(NORMAL_TARGET_EXPORTS) \
27623 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
27624 for flag in $(EXTRA_TARGET_FLAGS); do \
27625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27627 (cd $(TARGET_SUBDIR)/libada && \
27628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27630 "RANLIB=$${RANLIB}" \
27631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27635 @endif target-libada
27637 .PHONY: maybe-clean-target-libada clean-target-libada
27638 maybe-clean-target-libada:
27640 maybe-clean-target-libada: clean-target-libada
27642 clean-target-libada:
27643 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27644 r=`${PWD_COMMAND}`; export r; \
27645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27647 $(NORMAL_TARGET_EXPORTS) \
27648 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
27649 for flag in $(EXTRA_TARGET_FLAGS); do \
27650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27652 (cd $(TARGET_SUBDIR)/libada && \
27653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27655 "RANLIB=$${RANLIB}" \
27656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27660 @endif target-libada
27662 .PHONY: maybe-distclean-target-libada distclean-target-libada
27663 maybe-distclean-target-libada:
27665 maybe-distclean-target-libada: distclean-target-libada
27667 distclean-target-libada:
27668 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27669 r=`${PWD_COMMAND}`; export r; \
27670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27672 $(NORMAL_TARGET_EXPORTS) \
27673 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
27674 for flag in $(EXTRA_TARGET_FLAGS); do \
27675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27677 (cd $(TARGET_SUBDIR)/libada && \
27678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27680 "RANLIB=$${RANLIB}" \
27681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27685 @endif target-libada
27687 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
27688 maybe-maintainer-clean-target-libada:
27690 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
27692 maintainer-clean-target-libada:
27693 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27694 r=`${PWD_COMMAND}`; export r; \
27695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27697 $(NORMAL_TARGET_EXPORTS) \
27698 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
27699 for flag in $(EXTRA_TARGET_FLAGS); do \
27700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27702 (cd $(TARGET_SUBDIR)/libada && \
27703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27705 "RANLIB=$${RANLIB}" \
27706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27707 maintainer-clean) \
27710 @endif target-libada
27718 @if gcc-no-bootstrap
27719 # GCC has some more recursive targets, which trigger the old
27720 # (but still current, until the toplevel bootstrap project
27721 # is finished) compiler bootstrapping rules.
27723 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
27724 .PHONY: $(GCC_STRAP_TARGETS)
27725 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
27726 @r=`${PWD_COMMAND}`; export r; \
27727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27730 echo "Bootstrapping the compiler"; \
27731 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
27732 @r=`${PWD_COMMAND}`; export r; \
27733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27735 *bootstrap4-lean ) \
27736 msg="Comparing stage3 and stage4 of the compiler"; \
27737 compare=compare3-lean ;; \
27739 msg="Comparing stage3 and stage4 of the compiler"; \
27740 compare=compare3 ;; \
27742 msg="Comparing stage2 and stage3 of the compiler"; \
27743 compare=compare-lean ;; \
27745 msg="Comparing stage2 and stage3 of the compiler"; \
27746 compare=compare ;; \
27751 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
27752 @r=`${PWD_COMMAND}`; export r; \
27753 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27755 echo "Building runtime libraries"; \
27756 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
27758 profiledbootstrap: all-prebootstrap configure-gcc
27759 @r=`${PWD_COMMAND}`; export r; \
27760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27763 echo "Bootstrapping training compiler"; \
27764 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
27765 @r=`${PWD_COMMAND}`; export r; \
27766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27769 echo "Building feedback based compiler"; \
27770 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
27771 @r=`${PWD_COMMAND}`; export r; \
27772 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27774 echo "Building runtime libraries"; \
27775 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
27778 cross: all-build all-gas all-ld
27779 @r=`${PWD_COMMAND}`; export r; \
27780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27783 echo "Building the C and C++ compiler"; \
27784 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
27785 @r=`${PWD_COMMAND}`; export r; \
27786 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27788 echo "Building runtime libraries"; \
27789 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
27790 @endif gcc-no-bootstrap
27793 .PHONY: check-gcc-c++
27795 @if [ -f ./gcc/Makefile ] ; then \
27796 r=`${PWD_COMMAND}`; export r; \
27797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27800 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
27806 check-c++: check-target-libstdc++-v3 check-gcc-c++
27808 # Install the gcc headers files, but not the fixed include files,
27809 # which Cygnus is not allowed to distribute. This rule is very
27810 # dependent on the workings of the gcc Makefile.in.
27811 .PHONY: gcc-no-fixedincludes
27812 gcc-no-fixedincludes:
27813 @if [ -f ./gcc/Makefile ]; then \
27814 rm -rf gcc/tmp-include; \
27815 mv gcc/include gcc/tmp-include 2>/dev/null; \
27816 mkdir gcc/include; \
27817 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
27818 touch gcc/stmp-fixinc gcc/include/fixed; \
27819 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
27820 r=`${PWD_COMMAND}`; export r; \
27821 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
27825 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
27826 rm -rf gcc/include; \
27827 mv gcc/tmp-include gcc/include 2>/dev/null; \
27831 # ---------------------
27832 # GCC bootstrap support
27833 # ---------------------
27835 # We track the current stage (the one in 'gcc') in the stage_current file.
27836 # stage_last instead tracks the stage that was built last. These targets
27837 # are dummy when toplevel bootstrap is not active.
27842 @[ -f stage_current ] || $(MAKE) `cat stage_last`-start
27843 @endif gcc-bootstrap
27848 @$(MAKE) `cat stage_current`-end
27849 @endif gcc-bootstrap
27851 # We name the build directories for the various stages "stage1-gcc",
27852 # "stage2-gcc","stage3-gcc", etc.
27854 # Since the 'compare' process will fail (on debugging information) if any
27855 # directory names are different, we need to link the gcc directory for
27856 # the previous stage to a constant name ('gcc-prev'), and to make the name of
27857 # the build directories constant as well. For the latter, we use naked names
27858 # like 'gcc', because the scripts in that directory assume it. We use
27859 # mv on platforms where symlinks to directories do not work or are not
27862 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
27863 # be kept, so that libraries can find it. Ick!
27865 # It would be best to preinstall gcc into a staging area (and in the
27866 # future, gather there all prebootstrap packages). This would allow
27867 # assemblers and linkers can be bootstrapped as well as the compiler
27868 # (both in a combined tree, or separately). This however requires some
27869 # change to the gcc driver, again in order to avoid comparison failures.
27871 # Bugs: This is crippled when doing parallel make, the `make all-host'
27872 # and `make all-target' phases can be parallelized.
27875 # 'touch' doesn't work right on some platforms.
27876 STAMP = echo timestamp >
27878 # Only build the C compiler for stage1, because that is the only one that
27879 # we can guarantee will build with the native compiler, and also it is the
27880 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
27881 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
27882 # overrideable (for a bootstrap build stage1 also builds gcc.info).
27884 STAGE1_CFLAGS=@stage1_cflags@
27885 STAGE1_LANGUAGES=@stage1_languages@
27887 # We only want to compare .o files, so set this!
27890 # Flags to pass to stage2 and later makes.
27891 POSTSTAGE1_FLAGS_TO_PASS = \
27892 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
27893 STAGE_PREFIX=$$r/stage-gcc/ \
27894 CFLAGS="$(BOOT_CFLAGS)" \
27898 # * We force-disable intermodule optimizations, even if
27899 # --enable-intermodule was passed, since the installed compiler probably
27900 # can't handle them. Luckily, autoconf always respects
27901 # the last argument when conflicting --enable arguments are passed.
27902 # * Likewise, we force-disable coverage flags, since the installed compiler
27903 # probably has never heard of them.
27904 # * We build only C (and possibly Ada).
27907 .PHONY: stage1-start stage1-end
27910 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
27911 echo stage1 > stage_current ; \
27912 echo stage1 > stage_last
27914 @[ -d stage1-bfd ] || mkdir stage1-bfd; \
27915 set stage1-bfd bfd ; @CREATE_LINK_TO_DIR@
27918 @[ -d stage1-opcodes ] || mkdir stage1-opcodes; \
27919 set stage1-opcodes opcodes ; @CREATE_LINK_TO_DIR@
27922 @[ -d stage1-binutils ] || mkdir stage1-binutils; \
27923 set stage1-binutils binutils ; @CREATE_LINK_TO_DIR@
27926 @[ -d stage1-gas ] || mkdir stage1-gas; \
27927 set stage1-gas gas ; @CREATE_LINK_TO_DIR@
27930 @[ -d stage1-gcc ] || mkdir stage1-gcc; \
27931 set stage1-gcc gcc ; @CREATE_LINK_TO_DIR@
27934 @[ -d stage1-intl ] || mkdir stage1-intl; \
27935 set stage1-intl intl ; @CREATE_LINK_TO_DIR@
27938 @[ -d stage1-ld ] || mkdir stage1-ld; \
27939 set stage1-ld ld ; @CREATE_LINK_TO_DIR@
27942 @[ -d stage1-libcpp ] || mkdir stage1-libcpp; \
27943 set stage1-libcpp libcpp ; @CREATE_LINK_TO_DIR@
27946 @[ -d stage1-libiberty ] || mkdir stage1-libiberty; \
27947 set stage1-libiberty libiberty ; @CREATE_LINK_TO_DIR@
27950 @[ -d stage1-zlib ] || mkdir stage1-zlib; \
27951 set stage1-zlib zlib ; @CREATE_LINK_TO_DIR@
27955 @rm -f stage_current
27957 @set bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
27960 @set opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
27963 @set binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
27966 @set gas stage1-gas ; @UNDO_LINK_TO_DIR@
27969 @set gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
27972 @set intl stage1-intl ; @UNDO_LINK_TO_DIR@
27975 @set ld stage1-ld ; @UNDO_LINK_TO_DIR@
27978 @set libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
27981 @set libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
27984 @set zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
27987 # Bubble a bugfix through all the stages up to stage 1. They
27988 # are remade, but not reconfigured. The next stage (if any) will not
27989 # be reconfigured as well.
27990 .PHONY: stage1-bubble
27992 @if test -f stage1-lean ; then \
27993 echo Skipping rebuild of stage1 ; \
27995 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage1; \
27998 .PHONY: all-stage1 clean-stage1
28000 maybe-all-stage1-bfd \
28001 maybe-all-stage1-opcodes \
28002 maybe-all-stage1-binutils \
28003 maybe-all-stage1-gas \
28004 maybe-all-stage1-gcc \
28005 maybe-all-stage1-intl \
28006 maybe-all-stage1-ld \
28007 maybe-all-stage1-libcpp \
28008 maybe-all-stage1-libiberty \
28009 maybe-all-stage1-zlib
28011 do-clean: clean-stage1
28013 maybe-clean-stage1-bfd \
28014 maybe-clean-stage1-opcodes \
28015 maybe-clean-stage1-binutils \
28016 maybe-clean-stage1-gas \
28017 maybe-clean-stage1-gcc \
28018 maybe-clean-stage1-intl \
28019 maybe-clean-stage1-ld \
28020 maybe-clean-stage1-libcpp \
28021 maybe-clean-stage1-libiberty \
28022 maybe-clean-stage1-zlib
28025 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
28026 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
28027 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
28029 maybe-configure-stage1-bfd:
28030 maybe-all-stage1-bfd:
28031 maybe-clean-stage1-bfd:
28034 maybe-configure-stage1-bfd: configure-stage1-bfd
28035 configure-stage1-bfd:
28036 @$(MAKE) stage1-start
28037 @[ -f bfd/Makefile ] && exit 0 || : ; \
28038 r=`${PWD_COMMAND}`; export r; \
28039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28041 echo Configuring stage 1 in bfd ; \
28042 cd bfd || exit 1; \
28043 case $(srcdir) in \
28045 srcdiroption="--srcdir=."; \
28047 /* | [A-Za-z]:[\\/]*) \
28048 srcdiroption="--srcdir=$(srcdir)/bfd"; \
28049 libsrcdir="$$s/bfd";; \
28051 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
28052 libsrcdir="$$s/bfd";; \
28054 $(SHELL) $${libsrcdir}/configure \
28055 $(HOST_CONFIGARGS) $${srcdiroption} \
28056 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28058 maybe-all-stage1-bfd: all-stage1-bfd
28059 all-stage1-bfd: configure-stage1-bfd
28060 @$(MAKE) stage1-start
28061 @r=`${PWD_COMMAND}`; export r; \
28062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28065 $(MAKE) $(FLAGS_TO_PASS) \
28066 CFLAGS="$(STAGE1_CFLAGS)"
28068 maybe-clean-stage1-bfd: clean-stage1-bfd
28070 @[ -f bfd/Makefile ] || [ -f stage1-bfd/Makefile ] \
28072 [ -f bfd/Makefile ] || $(MAKE) stage1-start ; \
28074 $(MAKE) $(FLAGS_TO_PASS) \
28075 CFLAGS="$(STAGE1_CFLAGS)" clean
28076 @endif bfd-bootstrap
28079 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
28080 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
28081 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
28083 maybe-configure-stage1-opcodes:
28084 maybe-all-stage1-opcodes:
28085 maybe-clean-stage1-opcodes:
28087 @if opcodes-bootstrap
28088 maybe-configure-stage1-opcodes: configure-stage1-opcodes
28089 configure-stage1-opcodes:
28090 @$(MAKE) stage1-start
28091 @[ -f opcodes/Makefile ] && exit 0 || : ; \
28092 r=`${PWD_COMMAND}`; export r; \
28093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28095 echo Configuring stage 1 in opcodes ; \
28096 cd opcodes || exit 1; \
28097 case $(srcdir) in \
28099 srcdiroption="--srcdir=."; \
28101 /* | [A-Za-z]:[\\/]*) \
28102 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
28103 libsrcdir="$$s/opcodes";; \
28105 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
28106 libsrcdir="$$s/opcodes";; \
28108 $(SHELL) $${libsrcdir}/configure \
28109 $(HOST_CONFIGARGS) $${srcdiroption} \
28110 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28112 maybe-all-stage1-opcodes: all-stage1-opcodes
28113 all-stage1-opcodes: configure-stage1-opcodes
28114 @$(MAKE) stage1-start
28115 @r=`${PWD_COMMAND}`; export r; \
28116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28119 $(MAKE) $(FLAGS_TO_PASS) \
28120 CFLAGS="$(STAGE1_CFLAGS)"
28122 maybe-clean-stage1-opcodes: clean-stage1-opcodes
28123 clean-stage1-opcodes:
28124 @[ -f opcodes/Makefile ] || [ -f stage1-opcodes/Makefile ] \
28126 [ -f opcodes/Makefile ] || $(MAKE) stage1-start ; \
28128 $(MAKE) $(FLAGS_TO_PASS) \
28129 CFLAGS="$(STAGE1_CFLAGS)" clean
28130 @endif opcodes-bootstrap
28133 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
28134 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
28135 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
28137 maybe-configure-stage1-binutils:
28138 maybe-all-stage1-binutils:
28139 maybe-clean-stage1-binutils:
28141 @if binutils-bootstrap
28142 maybe-configure-stage1-binutils: configure-stage1-binutils
28143 configure-stage1-binutils:
28144 @$(MAKE) stage1-start
28145 @[ -f binutils/Makefile ] && exit 0 || : ; \
28146 r=`${PWD_COMMAND}`; export r; \
28147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28149 echo Configuring stage 1 in binutils ; \
28150 cd binutils || exit 1; \
28151 case $(srcdir) in \
28153 srcdiroption="--srcdir=."; \
28155 /* | [A-Za-z]:[\\/]*) \
28156 srcdiroption="--srcdir=$(srcdir)/binutils"; \
28157 libsrcdir="$$s/binutils";; \
28159 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
28160 libsrcdir="$$s/binutils";; \
28162 $(SHELL) $${libsrcdir}/configure \
28163 $(HOST_CONFIGARGS) $${srcdiroption} \
28164 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28166 maybe-all-stage1-binutils: all-stage1-binutils
28167 all-stage1-binutils: configure-stage1-binutils
28168 @$(MAKE) stage1-start
28169 @r=`${PWD_COMMAND}`; export r; \
28170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28173 $(MAKE) $(FLAGS_TO_PASS) \
28174 CFLAGS="$(STAGE1_CFLAGS)"
28176 maybe-clean-stage1-binutils: clean-stage1-binutils
28177 clean-stage1-binutils:
28178 @[ -f binutils/Makefile ] || [ -f stage1-binutils/Makefile ] \
28180 [ -f binutils/Makefile ] || $(MAKE) stage1-start ; \
28182 $(MAKE) $(FLAGS_TO_PASS) \
28183 CFLAGS="$(STAGE1_CFLAGS)" clean
28184 @endif binutils-bootstrap
28187 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
28188 .PHONY: all-stage1-gas maybe-all-stage1-gas
28189 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
28191 maybe-configure-stage1-gas:
28192 maybe-all-stage1-gas:
28193 maybe-clean-stage1-gas:
28196 maybe-configure-stage1-gas: configure-stage1-gas
28197 configure-stage1-gas:
28198 @$(MAKE) stage1-start
28199 @[ -f gas/Makefile ] && exit 0 || : ; \
28200 r=`${PWD_COMMAND}`; export r; \
28201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28203 echo Configuring stage 1 in gas ; \
28204 cd gas || exit 1; \
28205 case $(srcdir) in \
28207 srcdiroption="--srcdir=."; \
28209 /* | [A-Za-z]:[\\/]*) \
28210 srcdiroption="--srcdir=$(srcdir)/gas"; \
28211 libsrcdir="$$s/gas";; \
28213 srcdiroption="--srcdir=../$(srcdir)/gas"; \
28214 libsrcdir="$$s/gas";; \
28216 $(SHELL) $${libsrcdir}/configure \
28217 $(HOST_CONFIGARGS) $${srcdiroption} \
28218 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28220 maybe-all-stage1-gas: all-stage1-gas
28221 all-stage1-gas: configure-stage1-gas
28222 @$(MAKE) stage1-start
28223 @r=`${PWD_COMMAND}`; export r; \
28224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28227 $(MAKE) $(FLAGS_TO_PASS) \
28228 CFLAGS="$(STAGE1_CFLAGS)"
28230 maybe-clean-stage1-gas: clean-stage1-gas
28232 @[ -f gas/Makefile ] || [ -f stage1-gas/Makefile ] \
28234 [ -f gas/Makefile ] || $(MAKE) stage1-start ; \
28236 $(MAKE) $(FLAGS_TO_PASS) \
28237 CFLAGS="$(STAGE1_CFLAGS)" clean
28238 @endif gas-bootstrap
28241 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
28242 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
28243 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
28245 maybe-configure-stage1-gcc:
28246 maybe-all-stage1-gcc:
28247 maybe-clean-stage1-gcc:
28250 maybe-configure-stage1-gcc: configure-stage1-gcc
28251 configure-stage1-gcc:
28252 @$(MAKE) stage1-start
28253 @[ -f gcc/Makefile ] && exit 0 || : ; \
28254 r=`${PWD_COMMAND}`; export r; \
28255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28257 echo Configuring stage 1 in gcc ; \
28258 cd gcc || exit 1; \
28259 case $(srcdir) in \
28261 srcdiroption="--srcdir=."; \
28263 /* | [A-Za-z]:[\\/]*) \
28264 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28265 libsrcdir="$$s/gcc";; \
28267 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28268 libsrcdir="$$s/gcc";; \
28270 $(SHELL) $${libsrcdir}/configure \
28271 $(HOST_CONFIGARGS) $${srcdiroption} \
28272 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28274 maybe-all-stage1-gcc: all-stage1-gcc
28275 all-stage1-gcc: configure-stage1-gcc
28276 @$(MAKE) stage1-start
28277 @r=`${PWD_COMMAND}`; export r; \
28278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28281 $(MAKE) $(FLAGS_TO_PASS) \
28282 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS)
28284 maybe-clean-stage1-gcc: clean-stage1-gcc
28286 @[ -f gcc/Makefile ] || [ -f stage1-gcc/Makefile ] \
28288 [ -f gcc/Makefile ] || $(MAKE) stage1-start ; \
28290 $(MAKE) $(FLAGS_TO_PASS) \
28291 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
28292 @endif gcc-bootstrap
28295 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
28296 .PHONY: all-stage1-intl maybe-all-stage1-intl
28297 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
28299 maybe-configure-stage1-intl:
28300 maybe-all-stage1-intl:
28301 maybe-clean-stage1-intl:
28304 maybe-configure-stage1-intl: configure-stage1-intl
28305 configure-stage1-intl:
28306 @$(MAKE) stage1-start
28307 @[ -f intl/Makefile ] && exit 0 || : ; \
28308 r=`${PWD_COMMAND}`; export r; \
28309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28311 echo Configuring stage 1 in intl ; \
28312 cd intl || exit 1; \
28313 case $(srcdir) in \
28315 srcdiroption="--srcdir=."; \
28317 /* | [A-Za-z]:[\\/]*) \
28318 srcdiroption="--srcdir=$(srcdir)/intl"; \
28319 libsrcdir="$$s/intl";; \
28321 srcdiroption="--srcdir=../$(srcdir)/intl"; \
28322 libsrcdir="$$s/intl";; \
28324 $(SHELL) $${libsrcdir}/configure \
28325 $(HOST_CONFIGARGS) $${srcdiroption} \
28326 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28328 maybe-all-stage1-intl: all-stage1-intl
28329 all-stage1-intl: configure-stage1-intl
28330 @$(MAKE) stage1-start
28331 @r=`${PWD_COMMAND}`; export r; \
28332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28335 $(MAKE) $(FLAGS_TO_PASS) \
28336 CFLAGS="$(STAGE1_CFLAGS)"
28338 maybe-clean-stage1-intl: clean-stage1-intl
28340 @[ -f intl/Makefile ] || [ -f stage1-intl/Makefile ] \
28342 [ -f intl/Makefile ] || $(MAKE) stage1-start ; \
28344 $(MAKE) $(FLAGS_TO_PASS) \
28345 CFLAGS="$(STAGE1_CFLAGS)" clean
28346 @endif intl-bootstrap
28349 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
28350 .PHONY: all-stage1-ld maybe-all-stage1-ld
28351 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
28353 maybe-configure-stage1-ld:
28354 maybe-all-stage1-ld:
28355 maybe-clean-stage1-ld:
28358 maybe-configure-stage1-ld: configure-stage1-ld
28359 configure-stage1-ld:
28360 @$(MAKE) stage1-start
28361 @[ -f ld/Makefile ] && exit 0 || : ; \
28362 r=`${PWD_COMMAND}`; export r; \
28363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28365 echo Configuring stage 1 in ld ; \
28367 case $(srcdir) in \
28369 srcdiroption="--srcdir=."; \
28371 /* | [A-Za-z]:[\\/]*) \
28372 srcdiroption="--srcdir=$(srcdir)/ld"; \
28373 libsrcdir="$$s/ld";; \
28375 srcdiroption="--srcdir=../$(srcdir)/ld"; \
28376 libsrcdir="$$s/ld";; \
28378 $(SHELL) $${libsrcdir}/configure \
28379 $(HOST_CONFIGARGS) $${srcdiroption} \
28380 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28382 maybe-all-stage1-ld: all-stage1-ld
28383 all-stage1-ld: configure-stage1-ld
28384 @$(MAKE) stage1-start
28385 @r=`${PWD_COMMAND}`; export r; \
28386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28389 $(MAKE) $(FLAGS_TO_PASS) \
28390 CFLAGS="$(STAGE1_CFLAGS)"
28392 maybe-clean-stage1-ld: clean-stage1-ld
28394 @[ -f ld/Makefile ] || [ -f stage1-ld/Makefile ] \
28396 [ -f ld/Makefile ] || $(MAKE) stage1-start ; \
28398 $(MAKE) $(FLAGS_TO_PASS) \
28399 CFLAGS="$(STAGE1_CFLAGS)" clean
28400 @endif ld-bootstrap
28403 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
28404 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
28405 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
28407 maybe-configure-stage1-libcpp:
28408 maybe-all-stage1-libcpp:
28409 maybe-clean-stage1-libcpp:
28411 @if libcpp-bootstrap
28412 maybe-configure-stage1-libcpp: configure-stage1-libcpp
28413 configure-stage1-libcpp:
28414 @$(MAKE) stage1-start
28415 @[ -f libcpp/Makefile ] && exit 0 || : ; \
28416 r=`${PWD_COMMAND}`; export r; \
28417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28419 echo Configuring stage 1 in libcpp ; \
28420 cd libcpp || exit 1; \
28421 case $(srcdir) in \
28423 srcdiroption="--srcdir=."; \
28425 /* | [A-Za-z]:[\\/]*) \
28426 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
28427 libsrcdir="$$s/libcpp";; \
28429 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
28430 libsrcdir="$$s/libcpp";; \
28432 $(SHELL) $${libsrcdir}/configure \
28433 $(HOST_CONFIGARGS) $${srcdiroption} \
28434 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28436 maybe-all-stage1-libcpp: all-stage1-libcpp
28437 all-stage1-libcpp: configure-stage1-libcpp
28438 @$(MAKE) stage1-start
28439 @r=`${PWD_COMMAND}`; export r; \
28440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28443 $(MAKE) $(FLAGS_TO_PASS) \
28444 CFLAGS="$(STAGE1_CFLAGS)"
28446 maybe-clean-stage1-libcpp: clean-stage1-libcpp
28447 clean-stage1-libcpp:
28448 @[ -f libcpp/Makefile ] || [ -f stage1-libcpp/Makefile ] \
28450 [ -f libcpp/Makefile ] || $(MAKE) stage1-start ; \
28452 $(MAKE) $(FLAGS_TO_PASS) \
28453 CFLAGS="$(STAGE1_CFLAGS)" clean
28454 @endif libcpp-bootstrap
28457 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
28458 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
28459 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
28461 maybe-configure-stage1-libiberty:
28462 maybe-all-stage1-libiberty:
28463 maybe-clean-stage1-libiberty:
28465 @if libiberty-bootstrap
28466 maybe-configure-stage1-libiberty: configure-stage1-libiberty
28467 configure-stage1-libiberty:
28468 @$(MAKE) stage1-start
28469 @[ -f libiberty/Makefile ] && exit 0 || : ; \
28470 r=`${PWD_COMMAND}`; export r; \
28471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28473 echo Configuring stage 1 in libiberty ; \
28474 cd libiberty || exit 1; \
28475 case $(srcdir) in \
28477 srcdiroption="--srcdir=."; \
28479 /* | [A-Za-z]:[\\/]*) \
28480 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
28481 libsrcdir="$$s/libiberty";; \
28483 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
28484 libsrcdir="$$s/libiberty";; \
28486 $(SHELL) $${libsrcdir}/configure \
28487 $(HOST_CONFIGARGS) $${srcdiroption} \
28488 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28490 maybe-all-stage1-libiberty: all-stage1-libiberty
28491 all-stage1-libiberty: configure-stage1-libiberty
28492 @$(MAKE) stage1-start
28493 @r=`${PWD_COMMAND}`; export r; \
28494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28497 $(MAKE) $(FLAGS_TO_PASS) \
28498 CFLAGS="$(STAGE1_CFLAGS)"
28500 maybe-clean-stage1-libiberty: clean-stage1-libiberty
28501 clean-stage1-libiberty:
28502 @[ -f libiberty/Makefile ] || [ -f stage1-libiberty/Makefile ] \
28504 [ -f libiberty/Makefile ] || $(MAKE) stage1-start ; \
28506 $(MAKE) $(FLAGS_TO_PASS) \
28507 CFLAGS="$(STAGE1_CFLAGS)" clean
28508 @endif libiberty-bootstrap
28511 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
28512 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
28513 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
28515 maybe-configure-stage1-zlib:
28516 maybe-all-stage1-zlib:
28517 maybe-clean-stage1-zlib:
28520 maybe-configure-stage1-zlib: configure-stage1-zlib
28521 configure-stage1-zlib:
28522 @$(MAKE) stage1-start
28523 @[ -f zlib/Makefile ] && exit 0 || : ; \
28524 r=`${PWD_COMMAND}`; export r; \
28525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28527 echo Configuring stage 1 in zlib ; \
28528 cd zlib || exit 1; \
28529 case $(srcdir) in \
28531 srcdiroption="--srcdir=."; \
28533 /* | [A-Za-z]:[\\/]*) \
28534 srcdiroption="--srcdir=$(srcdir)/zlib"; \
28535 libsrcdir="$$s/zlib";; \
28537 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
28538 libsrcdir="$$s/zlib";; \
28540 $(SHELL) $${libsrcdir}/configure \
28541 $(HOST_CONFIGARGS) $${srcdiroption} \
28542 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28544 maybe-all-stage1-zlib: all-stage1-zlib
28545 all-stage1-zlib: configure-stage1-zlib
28546 @$(MAKE) stage1-start
28547 @r=`${PWD_COMMAND}`; export r; \
28548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28551 $(MAKE) $(FLAGS_TO_PASS) \
28552 CFLAGS="$(STAGE1_CFLAGS)"
28554 maybe-clean-stage1-zlib: clean-stage1-zlib
28556 @[ -f zlib/Makefile ] || [ -f stage1-zlib/Makefile ] \
28558 [ -f zlib/Makefile ] || $(MAKE) stage1-start ; \
28560 $(MAKE) $(FLAGS_TO_PASS) \
28561 CFLAGS="$(STAGE1_CFLAGS)" clean
28562 @endif zlib-bootstrap
28566 # FIXME: Will not need to be conditional when toplevel bootstrap is the
28567 # only possibility, but now it conflicts with no-bootstrap rules
28573 # Rules to wipe a stage and all the following ones, also used for cleanstrap
28575 .PHONY: distclean-stage1
28577 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28581 @endif gcc-bootstrap
28584 .PHONY: stage2-start stage2-end
28587 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
28588 echo stage2 > stage_current ; \
28589 echo stage2 > stage_last
28591 @[ -d stage2-bfd ] || mkdir stage2-bfd; \
28592 set stage2-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
28593 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
28596 @[ -d stage2-opcodes ] || mkdir stage2-opcodes; \
28597 set stage2-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
28598 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
28601 @[ -d stage2-binutils ] || mkdir stage2-binutils; \
28602 set stage2-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
28603 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
28606 @[ -d stage2-gas ] || mkdir stage2-gas; \
28607 set stage2-gas gas ; @CREATE_LINK_TO_DIR@ ; \
28608 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
28611 @[ -d stage2-gcc ] || mkdir stage2-gcc; \
28612 set stage2-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28613 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28616 @[ -d stage2-intl ] || mkdir stage2-intl; \
28617 set stage2-intl intl ; @CREATE_LINK_TO_DIR@ ; \
28618 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
28621 @[ -d stage2-ld ] || mkdir stage2-ld; \
28622 set stage2-ld ld ; @CREATE_LINK_TO_DIR@ ; \
28623 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
28626 @[ -d stage2-libcpp ] || mkdir stage2-libcpp; \
28627 set stage2-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
28628 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
28631 @[ -d stage2-libiberty ] || mkdir stage2-libiberty; \
28632 set stage2-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
28633 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
28636 @[ -d stage2-zlib ] || mkdir stage2-zlib; \
28637 set stage2-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
28638 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
28642 @rm -f stage_current
28644 @set bfd stage2-bfd ; @UNDO_LINK_TO_DIR@ ; \
28645 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
28648 @set opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@ ; \
28649 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
28652 @set binutils stage2-binutils ; @UNDO_LINK_TO_DIR@ ; \
28653 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
28656 @set gas stage2-gas ; @UNDO_LINK_TO_DIR@ ; \
28657 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
28660 @set gcc stage2-gcc ; @UNDO_LINK_TO_DIR@ ; \
28661 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28664 @set intl stage2-intl ; @UNDO_LINK_TO_DIR@ ; \
28665 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
28668 @set ld stage2-ld ; @UNDO_LINK_TO_DIR@ ; \
28669 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
28672 @set libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@ ; \
28673 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
28676 @set libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@ ; \
28677 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
28680 @set zlib stage2-zlib ; @UNDO_LINK_TO_DIR@ ; \
28681 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
28684 # Bubble a bugfix through all the stages up to stage 2. They
28685 # are remade, but not reconfigured. The next stage (if any) will not
28686 # be reconfigured as well.
28687 .PHONY: stage2-bubble
28688 stage2-bubble:: stage1-bubble
28689 @if test -f stage2-lean || test -f stage1-lean ; then \
28690 echo Skipping rebuild of stage2 ; \
28692 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage2; \
28695 .PHONY: all-stage2 clean-stage2
28697 maybe-all-stage2-bfd \
28698 maybe-all-stage2-opcodes \
28699 maybe-all-stage2-binutils \
28700 maybe-all-stage2-gas \
28701 maybe-all-stage2-gcc \
28702 maybe-all-stage2-intl \
28703 maybe-all-stage2-ld \
28704 maybe-all-stage2-libcpp \
28705 maybe-all-stage2-libiberty \
28706 maybe-all-stage2-zlib
28708 do-clean: clean-stage2
28710 maybe-clean-stage2-bfd \
28711 maybe-clean-stage2-opcodes \
28712 maybe-clean-stage2-binutils \
28713 maybe-clean-stage2-gas \
28714 maybe-clean-stage2-gcc \
28715 maybe-clean-stage2-intl \
28716 maybe-clean-stage2-ld \
28717 maybe-clean-stage2-libcpp \
28718 maybe-clean-stage2-libiberty \
28719 maybe-clean-stage2-zlib
28722 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
28723 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
28724 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
28726 maybe-configure-stage2-bfd:
28727 maybe-all-stage2-bfd:
28728 maybe-clean-stage2-bfd:
28731 maybe-configure-stage2-bfd: configure-stage2-bfd
28732 configure-stage2-bfd:
28733 @$(MAKE) stage2-start
28734 @[ -f bfd/Makefile ] && exit 0 || : ; \
28735 r=`${PWD_COMMAND}`; export r; \
28736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28737 $(STAGE_HOST_EXPORTS) \
28738 echo Configuring stage 2 in bfd ; \
28739 cd bfd || exit 1; \
28740 case $(srcdir) in \
28742 srcdiroption="--srcdir=."; \
28744 /* | [A-Za-z]:[\\/]*) \
28745 srcdiroption="--srcdir=$(srcdir)/bfd"; \
28746 libsrcdir="$$s/bfd";; \
28748 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
28749 libsrcdir="$$s/bfd";; \
28751 $(SHELL) $${libsrcdir}/configure \
28752 $(HOST_CONFIGARGS) $${srcdiroption} \
28753 @stage2_werror_flag@
28755 maybe-all-stage2-bfd: all-stage2-bfd
28756 all-stage2-bfd: configure-stage2-bfd
28757 @$(MAKE) stage2-start
28758 @r=`${PWD_COMMAND}`; export r; \
28759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28760 $(STAGE_HOST_EXPORTS) \
28762 $(MAKE) $(FLAGS_TO_PASS) \
28763 $(POSTSTAGE1_FLAGS_TO_PASS) \
28766 maybe-clean-stage2-bfd: clean-stage2-bfd
28768 @[ -f bfd/Makefile ] || [ -f stage2-bfd/Makefile ] \
28770 [ -f bfd/Makefile ] || $(MAKE) stage2-start ; \
28772 $(MAKE) $(FLAGS_TO_PASS) \
28773 $(POSTSTAGE1_FLAGS_TO_PASS) \
28775 @endif bfd-bootstrap
28778 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
28779 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
28780 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
28782 maybe-configure-stage2-opcodes:
28783 maybe-all-stage2-opcodes:
28784 maybe-clean-stage2-opcodes:
28786 @if opcodes-bootstrap
28787 maybe-configure-stage2-opcodes: configure-stage2-opcodes
28788 configure-stage2-opcodes:
28789 @$(MAKE) stage2-start
28790 @[ -f opcodes/Makefile ] && exit 0 || : ; \
28791 r=`${PWD_COMMAND}`; export r; \
28792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28793 $(STAGE_HOST_EXPORTS) \
28794 echo Configuring stage 2 in opcodes ; \
28795 cd opcodes || exit 1; \
28796 case $(srcdir) in \
28798 srcdiroption="--srcdir=."; \
28800 /* | [A-Za-z]:[\\/]*) \
28801 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
28802 libsrcdir="$$s/opcodes";; \
28804 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
28805 libsrcdir="$$s/opcodes";; \
28807 $(SHELL) $${libsrcdir}/configure \
28808 $(HOST_CONFIGARGS) $${srcdiroption} \
28809 @stage2_werror_flag@
28811 maybe-all-stage2-opcodes: all-stage2-opcodes
28812 all-stage2-opcodes: configure-stage2-opcodes
28813 @$(MAKE) stage2-start
28814 @r=`${PWD_COMMAND}`; export r; \
28815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28816 $(STAGE_HOST_EXPORTS) \
28818 $(MAKE) $(FLAGS_TO_PASS) \
28819 $(POSTSTAGE1_FLAGS_TO_PASS) \
28822 maybe-clean-stage2-opcodes: clean-stage2-opcodes
28823 clean-stage2-opcodes:
28824 @[ -f opcodes/Makefile ] || [ -f stage2-opcodes/Makefile ] \
28826 [ -f opcodes/Makefile ] || $(MAKE) stage2-start ; \
28828 $(MAKE) $(FLAGS_TO_PASS) \
28829 $(POSTSTAGE1_FLAGS_TO_PASS) \
28831 @endif opcodes-bootstrap
28834 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
28835 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
28836 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
28838 maybe-configure-stage2-binutils:
28839 maybe-all-stage2-binutils:
28840 maybe-clean-stage2-binutils:
28842 @if binutils-bootstrap
28843 maybe-configure-stage2-binutils: configure-stage2-binutils
28844 configure-stage2-binutils:
28845 @$(MAKE) stage2-start
28846 @[ -f binutils/Makefile ] && exit 0 || : ; \
28847 r=`${PWD_COMMAND}`; export r; \
28848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28849 $(STAGE_HOST_EXPORTS) \
28850 echo Configuring stage 2 in binutils ; \
28851 cd binutils || exit 1; \
28852 case $(srcdir) in \
28854 srcdiroption="--srcdir=."; \
28856 /* | [A-Za-z]:[\\/]*) \
28857 srcdiroption="--srcdir=$(srcdir)/binutils"; \
28858 libsrcdir="$$s/binutils";; \
28860 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
28861 libsrcdir="$$s/binutils";; \
28863 $(SHELL) $${libsrcdir}/configure \
28864 $(HOST_CONFIGARGS) $${srcdiroption} \
28865 @stage2_werror_flag@
28867 maybe-all-stage2-binutils: all-stage2-binutils
28868 all-stage2-binutils: configure-stage2-binutils
28869 @$(MAKE) stage2-start
28870 @r=`${PWD_COMMAND}`; export r; \
28871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28872 $(STAGE_HOST_EXPORTS) \
28874 $(MAKE) $(FLAGS_TO_PASS) \
28875 $(POSTSTAGE1_FLAGS_TO_PASS) \
28878 maybe-clean-stage2-binutils: clean-stage2-binutils
28879 clean-stage2-binutils:
28880 @[ -f binutils/Makefile ] || [ -f stage2-binutils/Makefile ] \
28882 [ -f binutils/Makefile ] || $(MAKE) stage2-start ; \
28884 $(MAKE) $(FLAGS_TO_PASS) \
28885 $(POSTSTAGE1_FLAGS_TO_PASS) \
28887 @endif binutils-bootstrap
28890 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
28891 .PHONY: all-stage2-gas maybe-all-stage2-gas
28892 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
28894 maybe-configure-stage2-gas:
28895 maybe-all-stage2-gas:
28896 maybe-clean-stage2-gas:
28899 maybe-configure-stage2-gas: configure-stage2-gas
28900 configure-stage2-gas:
28901 @$(MAKE) stage2-start
28902 @[ -f gas/Makefile ] && exit 0 || : ; \
28903 r=`${PWD_COMMAND}`; export r; \
28904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28905 $(STAGE_HOST_EXPORTS) \
28906 echo Configuring stage 2 in gas ; \
28907 cd gas || exit 1; \
28908 case $(srcdir) in \
28910 srcdiroption="--srcdir=."; \
28912 /* | [A-Za-z]:[\\/]*) \
28913 srcdiroption="--srcdir=$(srcdir)/gas"; \
28914 libsrcdir="$$s/gas";; \
28916 srcdiroption="--srcdir=../$(srcdir)/gas"; \
28917 libsrcdir="$$s/gas";; \
28919 $(SHELL) $${libsrcdir}/configure \
28920 $(HOST_CONFIGARGS) $${srcdiroption} \
28921 @stage2_werror_flag@
28923 maybe-all-stage2-gas: all-stage2-gas
28924 all-stage2-gas: configure-stage2-gas
28925 @$(MAKE) stage2-start
28926 @r=`${PWD_COMMAND}`; export r; \
28927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28928 $(STAGE_HOST_EXPORTS) \
28930 $(MAKE) $(FLAGS_TO_PASS) \
28931 $(POSTSTAGE1_FLAGS_TO_PASS) \
28934 maybe-clean-stage2-gas: clean-stage2-gas
28936 @[ -f gas/Makefile ] || [ -f stage2-gas/Makefile ] \
28938 [ -f gas/Makefile ] || $(MAKE) stage2-start ; \
28940 $(MAKE) $(FLAGS_TO_PASS) \
28941 $(POSTSTAGE1_FLAGS_TO_PASS) \
28943 @endif gas-bootstrap
28946 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
28947 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
28948 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
28950 maybe-configure-stage2-gcc:
28951 maybe-all-stage2-gcc:
28952 maybe-clean-stage2-gcc:
28955 maybe-configure-stage2-gcc: configure-stage2-gcc
28956 configure-stage2-gcc:
28957 @$(MAKE) stage2-start
28958 @[ -f gcc/Makefile ] && exit 0 || : ; \
28959 r=`${PWD_COMMAND}`; export r; \
28960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28961 $(STAGE_HOST_EXPORTS) \
28962 echo Configuring stage 2 in gcc ; \
28963 cd gcc || exit 1; \
28964 case $(srcdir) in \
28966 srcdiroption="--srcdir=."; \
28968 /* | [A-Za-z]:[\\/]*) \
28969 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28970 libsrcdir="$$s/gcc";; \
28972 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28973 libsrcdir="$$s/gcc";; \
28975 $(SHELL) $${libsrcdir}/configure \
28976 $(HOST_CONFIGARGS) $${srcdiroption} \
28977 @stage2_werror_flag@
28979 maybe-all-stage2-gcc: all-stage2-gcc
28980 all-stage2-gcc: configure-stage2-gcc
28981 @$(MAKE) stage2-start
28982 @r=`${PWD_COMMAND}`; export r; \
28983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28984 $(STAGE_HOST_EXPORTS) \
28986 $(MAKE) $(FLAGS_TO_PASS) \
28987 $(POSTSTAGE1_FLAGS_TO_PASS) \
28990 maybe-clean-stage2-gcc: clean-stage2-gcc
28992 @[ -f gcc/Makefile ] || [ -f stage2-gcc/Makefile ] \
28994 [ -f gcc/Makefile ] || $(MAKE) stage2-start ; \
28996 $(MAKE) $(FLAGS_TO_PASS) \
28997 $(POSTSTAGE1_FLAGS_TO_PASS) \
28998 $(EXTRA_GCC_FLAGS) clean
28999 @endif gcc-bootstrap
29002 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
29003 .PHONY: all-stage2-intl maybe-all-stage2-intl
29004 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
29006 maybe-configure-stage2-intl:
29007 maybe-all-stage2-intl:
29008 maybe-clean-stage2-intl:
29011 maybe-configure-stage2-intl: configure-stage2-intl
29012 configure-stage2-intl:
29013 @$(MAKE) stage2-start
29014 @[ -f intl/Makefile ] && exit 0 || : ; \
29015 r=`${PWD_COMMAND}`; export r; \
29016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29017 $(STAGE_HOST_EXPORTS) \
29018 echo Configuring stage 2 in intl ; \
29019 cd intl || exit 1; \
29020 case $(srcdir) in \
29022 srcdiroption="--srcdir=."; \
29024 /* | [A-Za-z]:[\\/]*) \
29025 srcdiroption="--srcdir=$(srcdir)/intl"; \
29026 libsrcdir="$$s/intl";; \
29028 srcdiroption="--srcdir=../$(srcdir)/intl"; \
29029 libsrcdir="$$s/intl";; \
29031 $(SHELL) $${libsrcdir}/configure \
29032 $(HOST_CONFIGARGS) $${srcdiroption} \
29033 @stage2_werror_flag@
29035 maybe-all-stage2-intl: all-stage2-intl
29036 all-stage2-intl: configure-stage2-intl
29037 @$(MAKE) stage2-start
29038 @r=`${PWD_COMMAND}`; export r; \
29039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29040 $(STAGE_HOST_EXPORTS) \
29042 $(MAKE) $(FLAGS_TO_PASS) \
29043 $(POSTSTAGE1_FLAGS_TO_PASS) \
29046 maybe-clean-stage2-intl: clean-stage2-intl
29048 @[ -f intl/Makefile ] || [ -f stage2-intl/Makefile ] \
29050 [ -f intl/Makefile ] || $(MAKE) stage2-start ; \
29052 $(MAKE) $(FLAGS_TO_PASS) \
29053 $(POSTSTAGE1_FLAGS_TO_PASS) \
29055 @endif intl-bootstrap
29058 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
29059 .PHONY: all-stage2-ld maybe-all-stage2-ld
29060 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
29062 maybe-configure-stage2-ld:
29063 maybe-all-stage2-ld:
29064 maybe-clean-stage2-ld:
29067 maybe-configure-stage2-ld: configure-stage2-ld
29068 configure-stage2-ld:
29069 @$(MAKE) stage2-start
29070 @[ -f ld/Makefile ] && exit 0 || : ; \
29071 r=`${PWD_COMMAND}`; export r; \
29072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29073 $(STAGE_HOST_EXPORTS) \
29074 echo Configuring stage 2 in ld ; \
29076 case $(srcdir) in \
29078 srcdiroption="--srcdir=."; \
29080 /* | [A-Za-z]:[\\/]*) \
29081 srcdiroption="--srcdir=$(srcdir)/ld"; \
29082 libsrcdir="$$s/ld";; \
29084 srcdiroption="--srcdir=../$(srcdir)/ld"; \
29085 libsrcdir="$$s/ld";; \
29087 $(SHELL) $${libsrcdir}/configure \
29088 $(HOST_CONFIGARGS) $${srcdiroption} \
29089 @stage2_werror_flag@
29091 maybe-all-stage2-ld: all-stage2-ld
29092 all-stage2-ld: configure-stage2-ld
29093 @$(MAKE) stage2-start
29094 @r=`${PWD_COMMAND}`; export r; \
29095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29096 $(STAGE_HOST_EXPORTS) \
29098 $(MAKE) $(FLAGS_TO_PASS) \
29099 $(POSTSTAGE1_FLAGS_TO_PASS) \
29102 maybe-clean-stage2-ld: clean-stage2-ld
29104 @[ -f ld/Makefile ] || [ -f stage2-ld/Makefile ] \
29106 [ -f ld/Makefile ] || $(MAKE) stage2-start ; \
29108 $(MAKE) $(FLAGS_TO_PASS) \
29109 $(POSTSTAGE1_FLAGS_TO_PASS) \
29111 @endif ld-bootstrap
29114 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
29115 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
29116 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
29118 maybe-configure-stage2-libcpp:
29119 maybe-all-stage2-libcpp:
29120 maybe-clean-stage2-libcpp:
29122 @if libcpp-bootstrap
29123 maybe-configure-stage2-libcpp: configure-stage2-libcpp
29124 configure-stage2-libcpp:
29125 @$(MAKE) stage2-start
29126 @[ -f libcpp/Makefile ] && exit 0 || : ; \
29127 r=`${PWD_COMMAND}`; export r; \
29128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29129 $(STAGE_HOST_EXPORTS) \
29130 echo Configuring stage 2 in libcpp ; \
29131 cd libcpp || exit 1; \
29132 case $(srcdir) in \
29134 srcdiroption="--srcdir=."; \
29136 /* | [A-Za-z]:[\\/]*) \
29137 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
29138 libsrcdir="$$s/libcpp";; \
29140 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
29141 libsrcdir="$$s/libcpp";; \
29143 $(SHELL) $${libsrcdir}/configure \
29144 $(HOST_CONFIGARGS) $${srcdiroption} \
29145 @stage2_werror_flag@
29147 maybe-all-stage2-libcpp: all-stage2-libcpp
29148 all-stage2-libcpp: configure-stage2-libcpp
29149 @$(MAKE) stage2-start
29150 @r=`${PWD_COMMAND}`; export r; \
29151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29152 $(STAGE_HOST_EXPORTS) \
29154 $(MAKE) $(FLAGS_TO_PASS) \
29155 $(POSTSTAGE1_FLAGS_TO_PASS) \
29158 maybe-clean-stage2-libcpp: clean-stage2-libcpp
29159 clean-stage2-libcpp:
29160 @[ -f libcpp/Makefile ] || [ -f stage2-libcpp/Makefile ] \
29162 [ -f libcpp/Makefile ] || $(MAKE) stage2-start ; \
29164 $(MAKE) $(FLAGS_TO_PASS) \
29165 $(POSTSTAGE1_FLAGS_TO_PASS) \
29167 @endif libcpp-bootstrap
29170 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
29171 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
29172 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
29174 maybe-configure-stage2-libiberty:
29175 maybe-all-stage2-libiberty:
29176 maybe-clean-stage2-libiberty:
29178 @if libiberty-bootstrap
29179 maybe-configure-stage2-libiberty: configure-stage2-libiberty
29180 configure-stage2-libiberty:
29181 @$(MAKE) stage2-start
29182 @[ -f libiberty/Makefile ] && exit 0 || : ; \
29183 r=`${PWD_COMMAND}`; export r; \
29184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29185 $(STAGE_HOST_EXPORTS) \
29186 echo Configuring stage 2 in libiberty ; \
29187 cd libiberty || exit 1; \
29188 case $(srcdir) in \
29190 srcdiroption="--srcdir=."; \
29192 /* | [A-Za-z]:[\\/]*) \
29193 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
29194 libsrcdir="$$s/libiberty";; \
29196 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
29197 libsrcdir="$$s/libiberty";; \
29199 $(SHELL) $${libsrcdir}/configure \
29200 $(HOST_CONFIGARGS) $${srcdiroption} \
29201 @stage2_werror_flag@
29203 maybe-all-stage2-libiberty: all-stage2-libiberty
29204 all-stage2-libiberty: configure-stage2-libiberty
29205 @$(MAKE) stage2-start
29206 @r=`${PWD_COMMAND}`; export r; \
29207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29208 $(STAGE_HOST_EXPORTS) \
29210 $(MAKE) $(FLAGS_TO_PASS) \
29211 $(POSTSTAGE1_FLAGS_TO_PASS) \
29214 maybe-clean-stage2-libiberty: clean-stage2-libiberty
29215 clean-stage2-libiberty:
29216 @[ -f libiberty/Makefile ] || [ -f stage2-libiberty/Makefile ] \
29218 [ -f libiberty/Makefile ] || $(MAKE) stage2-start ; \
29220 $(MAKE) $(FLAGS_TO_PASS) \
29221 $(POSTSTAGE1_FLAGS_TO_PASS) \
29223 @endif libiberty-bootstrap
29226 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
29227 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
29228 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
29230 maybe-configure-stage2-zlib:
29231 maybe-all-stage2-zlib:
29232 maybe-clean-stage2-zlib:
29235 maybe-configure-stage2-zlib: configure-stage2-zlib
29236 configure-stage2-zlib:
29237 @$(MAKE) stage2-start
29238 @[ -f zlib/Makefile ] && exit 0 || : ; \
29239 r=`${PWD_COMMAND}`; export r; \
29240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29241 $(STAGE_HOST_EXPORTS) \
29242 echo Configuring stage 2 in zlib ; \
29243 cd zlib || exit 1; \
29244 case $(srcdir) in \
29246 srcdiroption="--srcdir=."; \
29248 /* | [A-Za-z]:[\\/]*) \
29249 srcdiroption="--srcdir=$(srcdir)/zlib"; \
29250 libsrcdir="$$s/zlib";; \
29252 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
29253 libsrcdir="$$s/zlib";; \
29255 $(SHELL) $${libsrcdir}/configure \
29256 $(HOST_CONFIGARGS) $${srcdiroption} \
29257 @stage2_werror_flag@
29259 maybe-all-stage2-zlib: all-stage2-zlib
29260 all-stage2-zlib: configure-stage2-zlib
29261 @$(MAKE) stage2-start
29262 @r=`${PWD_COMMAND}`; export r; \
29263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29264 $(STAGE_HOST_EXPORTS) \
29266 $(MAKE) $(FLAGS_TO_PASS) \
29267 $(POSTSTAGE1_FLAGS_TO_PASS) \
29270 maybe-clean-stage2-zlib: clean-stage2-zlib
29272 @[ -f zlib/Makefile ] || [ -f stage2-zlib/Makefile ] \
29274 [ -f zlib/Makefile ] || $(MAKE) stage2-start ; \
29276 $(MAKE) $(FLAGS_TO_PASS) \
29277 $(POSTSTAGE1_FLAGS_TO_PASS) \
29279 @endif zlib-bootstrap
29283 # FIXME: Will not need to be conditional when toplevel bootstrap is the
29284 # only possibility, but now it conflicts with no-bootstrap rules
29290 bootstrap2: stage2-bubble all
29293 # Rules to wipe a stage and all the following ones, also used for cleanstrap
29294 distclean-stage1:: distclean-stage2
29295 .PHONY: distclean-stage2
29297 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
29301 @endif gcc-bootstrap
29304 .PHONY: stage3-start stage3-end
29307 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
29308 echo stage3 > stage_current ; \
29309 echo stage3 > stage_last
29311 @[ -d stage3-bfd ] || mkdir stage3-bfd; \
29312 set stage3-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
29313 set stage2-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
29316 @[ -d stage3-opcodes ] || mkdir stage3-opcodes; \
29317 set stage3-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
29318 set stage2-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
29321 @[ -d stage3-binutils ] || mkdir stage3-binutils; \
29322 set stage3-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
29323 set stage2-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
29326 @[ -d stage3-gas ] || mkdir stage3-gas; \
29327 set stage3-gas gas ; @CREATE_LINK_TO_DIR@ ; \
29328 set stage2-gas prev-gas ; @CREATE_LINK_TO_DIR@
29331 @[ -d stage3-gcc ] || mkdir stage3-gcc; \
29332 set stage3-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
29333 set stage2-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
29336 @[ -d stage3-intl ] || mkdir stage3-intl; \
29337 set stage3-intl intl ; @CREATE_LINK_TO_DIR@ ; \
29338 set stage2-intl prev-intl ; @CREATE_LINK_TO_DIR@
29341 @[ -d stage3-ld ] || mkdir stage3-ld; \
29342 set stage3-ld ld ; @CREATE_LINK_TO_DIR@ ; \
29343 set stage2-ld prev-ld ; @CREATE_LINK_TO_DIR@
29346 @[ -d stage3-libcpp ] || mkdir stage3-libcpp; \
29347 set stage3-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
29348 set stage2-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
29351 @[ -d stage3-libiberty ] || mkdir stage3-libiberty; \
29352 set stage3-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
29353 set stage2-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
29356 @[ -d stage3-zlib ] || mkdir stage3-zlib; \
29357 set stage3-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
29358 set stage2-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
29362 @rm -f stage_current
29364 @set bfd stage3-bfd ; @UNDO_LINK_TO_DIR@ ; \
29365 set prev-bfd stage2-bfd ; @UNDO_LINK_TO_DIR@
29368 @set opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@ ; \
29369 set prev-opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@
29372 @set binutils stage3-binutils ; @UNDO_LINK_TO_DIR@ ; \
29373 set prev-binutils stage2-binutils ; @UNDO_LINK_TO_DIR@
29376 @set gas stage3-gas ; @UNDO_LINK_TO_DIR@ ; \
29377 set prev-gas stage2-gas ; @UNDO_LINK_TO_DIR@
29380 @set gcc stage3-gcc ; @UNDO_LINK_TO_DIR@ ; \
29381 set prev-gcc stage2-gcc ; @UNDO_LINK_TO_DIR@
29384 @set intl stage3-intl ; @UNDO_LINK_TO_DIR@ ; \
29385 set prev-intl stage2-intl ; @UNDO_LINK_TO_DIR@
29388 @set ld stage3-ld ; @UNDO_LINK_TO_DIR@ ; \
29389 set prev-ld stage2-ld ; @UNDO_LINK_TO_DIR@
29392 @set libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@ ; \
29393 set prev-libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@
29396 @set libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@ ; \
29397 set prev-libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@
29400 @set zlib stage3-zlib ; @UNDO_LINK_TO_DIR@ ; \
29401 set prev-zlib stage2-zlib ; @UNDO_LINK_TO_DIR@
29404 # Bubble a bugfix through all the stages up to stage 3. They
29405 # are remade, but not reconfigured. The next stage (if any) will not
29406 # be reconfigured as well.
29407 .PHONY: stage3-bubble
29408 stage3-bubble:: stage2-bubble
29409 @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
29410 @if test -f stage3-lean || test -f stage2-lean ; then \
29411 echo Skipping rebuild of stage3 ; \
29413 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage3; \
29416 .PHONY: all-stage3 clean-stage3
29418 maybe-all-stage3-bfd \
29419 maybe-all-stage3-opcodes \
29420 maybe-all-stage3-binutils \
29421 maybe-all-stage3-gas \
29422 maybe-all-stage3-gcc \
29423 maybe-all-stage3-intl \
29424 maybe-all-stage3-ld \
29425 maybe-all-stage3-libcpp \
29426 maybe-all-stage3-libiberty \
29427 maybe-all-stage3-zlib
29429 do-clean: clean-stage3
29431 maybe-clean-stage3-bfd \
29432 maybe-clean-stage3-opcodes \
29433 maybe-clean-stage3-binutils \
29434 maybe-clean-stage3-gas \
29435 maybe-clean-stage3-gcc \
29436 maybe-clean-stage3-intl \
29437 maybe-clean-stage3-ld \
29438 maybe-clean-stage3-libcpp \
29439 maybe-clean-stage3-libiberty \
29440 maybe-clean-stage3-zlib
29443 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
29444 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
29445 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
29447 maybe-configure-stage3-bfd:
29448 maybe-all-stage3-bfd:
29449 maybe-clean-stage3-bfd:
29452 maybe-configure-stage3-bfd: configure-stage3-bfd
29453 configure-stage3-bfd:
29454 @$(MAKE) stage3-start
29455 @[ -f bfd/Makefile ] && exit 0 || : ; \
29456 r=`${PWD_COMMAND}`; export r; \
29457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29458 $(STAGE_HOST_EXPORTS) \
29459 echo Configuring stage 3 in bfd ; \
29460 cd bfd || exit 1; \
29461 case $(srcdir) in \
29463 srcdiroption="--srcdir=."; \
29465 /* | [A-Za-z]:[\\/]*) \
29466 srcdiroption="--srcdir=$(srcdir)/bfd"; \
29467 libsrcdir="$$s/bfd";; \
29469 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
29470 libsrcdir="$$s/bfd";; \
29472 $(SHELL) $${libsrcdir}/configure \
29473 $(HOST_CONFIGARGS) $${srcdiroption} \
29474 @stage2_werror_flag@
29476 maybe-all-stage3-bfd: all-stage3-bfd
29477 all-stage3-bfd: configure-stage3-bfd
29478 @$(MAKE) stage3-start
29479 @r=`${PWD_COMMAND}`; export r; \
29480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29481 $(STAGE_HOST_EXPORTS) \
29483 $(MAKE) $(FLAGS_TO_PASS) \
29484 $(POSTSTAGE1_FLAGS_TO_PASS) \
29487 maybe-clean-stage3-bfd: clean-stage3-bfd
29489 @[ -f bfd/Makefile ] || [ -f stage3-bfd/Makefile ] \
29491 [ -f bfd/Makefile ] || $(MAKE) stage3-start ; \
29493 $(MAKE) $(FLAGS_TO_PASS) \
29494 $(POSTSTAGE1_FLAGS_TO_PASS) \
29496 @endif bfd-bootstrap
29499 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
29500 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
29501 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
29503 maybe-configure-stage3-opcodes:
29504 maybe-all-stage3-opcodes:
29505 maybe-clean-stage3-opcodes:
29507 @if opcodes-bootstrap
29508 maybe-configure-stage3-opcodes: configure-stage3-opcodes
29509 configure-stage3-opcodes:
29510 @$(MAKE) stage3-start
29511 @[ -f opcodes/Makefile ] && exit 0 || : ; \
29512 r=`${PWD_COMMAND}`; export r; \
29513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29514 $(STAGE_HOST_EXPORTS) \
29515 echo Configuring stage 3 in opcodes ; \
29516 cd opcodes || exit 1; \
29517 case $(srcdir) in \
29519 srcdiroption="--srcdir=."; \
29521 /* | [A-Za-z]:[\\/]*) \
29522 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
29523 libsrcdir="$$s/opcodes";; \
29525 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
29526 libsrcdir="$$s/opcodes";; \
29528 $(SHELL) $${libsrcdir}/configure \
29529 $(HOST_CONFIGARGS) $${srcdiroption} \
29530 @stage2_werror_flag@
29532 maybe-all-stage3-opcodes: all-stage3-opcodes
29533 all-stage3-opcodes: configure-stage3-opcodes
29534 @$(MAKE) stage3-start
29535 @r=`${PWD_COMMAND}`; export r; \
29536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29537 $(STAGE_HOST_EXPORTS) \
29539 $(MAKE) $(FLAGS_TO_PASS) \
29540 $(POSTSTAGE1_FLAGS_TO_PASS) \
29543 maybe-clean-stage3-opcodes: clean-stage3-opcodes
29544 clean-stage3-opcodes:
29545 @[ -f opcodes/Makefile ] || [ -f stage3-opcodes/Makefile ] \
29547 [ -f opcodes/Makefile ] || $(MAKE) stage3-start ; \
29549 $(MAKE) $(FLAGS_TO_PASS) \
29550 $(POSTSTAGE1_FLAGS_TO_PASS) \
29552 @endif opcodes-bootstrap
29555 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
29556 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
29557 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
29559 maybe-configure-stage3-binutils:
29560 maybe-all-stage3-binutils:
29561 maybe-clean-stage3-binutils:
29563 @if binutils-bootstrap
29564 maybe-configure-stage3-binutils: configure-stage3-binutils
29565 configure-stage3-binutils:
29566 @$(MAKE) stage3-start
29567 @[ -f binutils/Makefile ] && exit 0 || : ; \
29568 r=`${PWD_COMMAND}`; export r; \
29569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29570 $(STAGE_HOST_EXPORTS) \
29571 echo Configuring stage 3 in binutils ; \
29572 cd binutils || exit 1; \
29573 case $(srcdir) in \
29575 srcdiroption="--srcdir=."; \
29577 /* | [A-Za-z]:[\\/]*) \
29578 srcdiroption="--srcdir=$(srcdir)/binutils"; \
29579 libsrcdir="$$s/binutils";; \
29581 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
29582 libsrcdir="$$s/binutils";; \
29584 $(SHELL) $${libsrcdir}/configure \
29585 $(HOST_CONFIGARGS) $${srcdiroption} \
29586 @stage2_werror_flag@
29588 maybe-all-stage3-binutils: all-stage3-binutils
29589 all-stage3-binutils: configure-stage3-binutils
29590 @$(MAKE) stage3-start
29591 @r=`${PWD_COMMAND}`; export r; \
29592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29593 $(STAGE_HOST_EXPORTS) \
29595 $(MAKE) $(FLAGS_TO_PASS) \
29596 $(POSTSTAGE1_FLAGS_TO_PASS) \
29599 maybe-clean-stage3-binutils: clean-stage3-binutils
29600 clean-stage3-binutils:
29601 @[ -f binutils/Makefile ] || [ -f stage3-binutils/Makefile ] \
29603 [ -f binutils/Makefile ] || $(MAKE) stage3-start ; \
29605 $(MAKE) $(FLAGS_TO_PASS) \
29606 $(POSTSTAGE1_FLAGS_TO_PASS) \
29608 @endif binutils-bootstrap
29611 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
29612 .PHONY: all-stage3-gas maybe-all-stage3-gas
29613 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
29615 maybe-configure-stage3-gas:
29616 maybe-all-stage3-gas:
29617 maybe-clean-stage3-gas:
29620 maybe-configure-stage3-gas: configure-stage3-gas
29621 configure-stage3-gas:
29622 @$(MAKE) stage3-start
29623 @[ -f gas/Makefile ] && exit 0 || : ; \
29624 r=`${PWD_COMMAND}`; export r; \
29625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29626 $(STAGE_HOST_EXPORTS) \
29627 echo Configuring stage 3 in gas ; \
29628 cd gas || exit 1; \
29629 case $(srcdir) in \
29631 srcdiroption="--srcdir=."; \
29633 /* | [A-Za-z]:[\\/]*) \
29634 srcdiroption="--srcdir=$(srcdir)/gas"; \
29635 libsrcdir="$$s/gas";; \
29637 srcdiroption="--srcdir=../$(srcdir)/gas"; \
29638 libsrcdir="$$s/gas";; \
29640 $(SHELL) $${libsrcdir}/configure \
29641 $(HOST_CONFIGARGS) $${srcdiroption} \
29642 @stage2_werror_flag@
29644 maybe-all-stage3-gas: all-stage3-gas
29645 all-stage3-gas: configure-stage3-gas
29646 @$(MAKE) stage3-start
29647 @r=`${PWD_COMMAND}`; export r; \
29648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29649 $(STAGE_HOST_EXPORTS) \
29651 $(MAKE) $(FLAGS_TO_PASS) \
29652 $(POSTSTAGE1_FLAGS_TO_PASS) \
29655 maybe-clean-stage3-gas: clean-stage3-gas
29657 @[ -f gas/Makefile ] || [ -f stage3-gas/Makefile ] \
29659 [ -f gas/Makefile ] || $(MAKE) stage3-start ; \
29661 $(MAKE) $(FLAGS_TO_PASS) \
29662 $(POSTSTAGE1_FLAGS_TO_PASS) \
29664 @endif gas-bootstrap
29667 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
29668 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
29669 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
29671 maybe-configure-stage3-gcc:
29672 maybe-all-stage3-gcc:
29673 maybe-clean-stage3-gcc:
29676 maybe-configure-stage3-gcc: configure-stage3-gcc
29677 configure-stage3-gcc:
29678 @$(MAKE) stage3-start
29679 @[ -f gcc/Makefile ] && exit 0 || : ; \
29680 r=`${PWD_COMMAND}`; export r; \
29681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29682 $(STAGE_HOST_EXPORTS) \
29683 echo Configuring stage 3 in gcc ; \
29684 cd gcc || exit 1; \
29685 case $(srcdir) in \
29687 srcdiroption="--srcdir=."; \
29689 /* | [A-Za-z]:[\\/]*) \
29690 srcdiroption="--srcdir=$(srcdir)/gcc"; \
29691 libsrcdir="$$s/gcc";; \
29693 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
29694 libsrcdir="$$s/gcc";; \
29696 $(SHELL) $${libsrcdir}/configure \
29697 $(HOST_CONFIGARGS) $${srcdiroption} \
29698 @stage2_werror_flag@
29700 maybe-all-stage3-gcc: all-stage3-gcc
29701 all-stage3-gcc: configure-stage3-gcc
29702 @$(MAKE) stage3-start
29703 @r=`${PWD_COMMAND}`; export r; \
29704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29705 $(STAGE_HOST_EXPORTS) \
29707 $(MAKE) $(FLAGS_TO_PASS) \
29708 $(POSTSTAGE1_FLAGS_TO_PASS) \
29711 maybe-clean-stage3-gcc: clean-stage3-gcc
29713 @[ -f gcc/Makefile ] || [ -f stage3-gcc/Makefile ] \
29715 [ -f gcc/Makefile ] || $(MAKE) stage3-start ; \
29717 $(MAKE) $(FLAGS_TO_PASS) \
29718 $(POSTSTAGE1_FLAGS_TO_PASS) \
29719 $(EXTRA_GCC_FLAGS) clean
29720 @endif gcc-bootstrap
29723 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
29724 .PHONY: all-stage3-intl maybe-all-stage3-intl
29725 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
29727 maybe-configure-stage3-intl:
29728 maybe-all-stage3-intl:
29729 maybe-clean-stage3-intl:
29732 maybe-configure-stage3-intl: configure-stage3-intl
29733 configure-stage3-intl:
29734 @$(MAKE) stage3-start
29735 @[ -f intl/Makefile ] && exit 0 || : ; \
29736 r=`${PWD_COMMAND}`; export r; \
29737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29738 $(STAGE_HOST_EXPORTS) \
29739 echo Configuring stage 3 in intl ; \
29740 cd intl || exit 1; \
29741 case $(srcdir) in \
29743 srcdiroption="--srcdir=."; \
29745 /* | [A-Za-z]:[\\/]*) \
29746 srcdiroption="--srcdir=$(srcdir)/intl"; \
29747 libsrcdir="$$s/intl";; \
29749 srcdiroption="--srcdir=../$(srcdir)/intl"; \
29750 libsrcdir="$$s/intl";; \
29752 $(SHELL) $${libsrcdir}/configure \
29753 $(HOST_CONFIGARGS) $${srcdiroption} \
29754 @stage2_werror_flag@
29756 maybe-all-stage3-intl: all-stage3-intl
29757 all-stage3-intl: configure-stage3-intl
29758 @$(MAKE) stage3-start
29759 @r=`${PWD_COMMAND}`; export r; \
29760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29761 $(STAGE_HOST_EXPORTS) \
29763 $(MAKE) $(FLAGS_TO_PASS) \
29764 $(POSTSTAGE1_FLAGS_TO_PASS) \
29767 maybe-clean-stage3-intl: clean-stage3-intl
29769 @[ -f intl/Makefile ] || [ -f stage3-intl/Makefile ] \
29771 [ -f intl/Makefile ] || $(MAKE) stage3-start ; \
29773 $(MAKE) $(FLAGS_TO_PASS) \
29774 $(POSTSTAGE1_FLAGS_TO_PASS) \
29776 @endif intl-bootstrap
29779 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
29780 .PHONY: all-stage3-ld maybe-all-stage3-ld
29781 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
29783 maybe-configure-stage3-ld:
29784 maybe-all-stage3-ld:
29785 maybe-clean-stage3-ld:
29788 maybe-configure-stage3-ld: configure-stage3-ld
29789 configure-stage3-ld:
29790 @$(MAKE) stage3-start
29791 @[ -f ld/Makefile ] && exit 0 || : ; \
29792 r=`${PWD_COMMAND}`; export r; \
29793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29794 $(STAGE_HOST_EXPORTS) \
29795 echo Configuring stage 3 in ld ; \
29797 case $(srcdir) in \
29799 srcdiroption="--srcdir=."; \
29801 /* | [A-Za-z]:[\\/]*) \
29802 srcdiroption="--srcdir=$(srcdir)/ld"; \
29803 libsrcdir="$$s/ld";; \
29805 srcdiroption="--srcdir=../$(srcdir)/ld"; \
29806 libsrcdir="$$s/ld";; \
29808 $(SHELL) $${libsrcdir}/configure \
29809 $(HOST_CONFIGARGS) $${srcdiroption} \
29810 @stage2_werror_flag@
29812 maybe-all-stage3-ld: all-stage3-ld
29813 all-stage3-ld: configure-stage3-ld
29814 @$(MAKE) stage3-start
29815 @r=`${PWD_COMMAND}`; export r; \
29816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29817 $(STAGE_HOST_EXPORTS) \
29819 $(MAKE) $(FLAGS_TO_PASS) \
29820 $(POSTSTAGE1_FLAGS_TO_PASS) \
29823 maybe-clean-stage3-ld: clean-stage3-ld
29825 @[ -f ld/Makefile ] || [ -f stage3-ld/Makefile ] \
29827 [ -f ld/Makefile ] || $(MAKE) stage3-start ; \
29829 $(MAKE) $(FLAGS_TO_PASS) \
29830 $(POSTSTAGE1_FLAGS_TO_PASS) \
29832 @endif ld-bootstrap
29835 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
29836 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
29837 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
29839 maybe-configure-stage3-libcpp:
29840 maybe-all-stage3-libcpp:
29841 maybe-clean-stage3-libcpp:
29843 @if libcpp-bootstrap
29844 maybe-configure-stage3-libcpp: configure-stage3-libcpp
29845 configure-stage3-libcpp:
29846 @$(MAKE) stage3-start
29847 @[ -f libcpp/Makefile ] && exit 0 || : ; \
29848 r=`${PWD_COMMAND}`; export r; \
29849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29850 $(STAGE_HOST_EXPORTS) \
29851 echo Configuring stage 3 in libcpp ; \
29852 cd libcpp || exit 1; \
29853 case $(srcdir) in \
29855 srcdiroption="--srcdir=."; \
29857 /* | [A-Za-z]:[\\/]*) \
29858 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
29859 libsrcdir="$$s/libcpp";; \
29861 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
29862 libsrcdir="$$s/libcpp";; \
29864 $(SHELL) $${libsrcdir}/configure \
29865 $(HOST_CONFIGARGS) $${srcdiroption} \
29866 @stage2_werror_flag@
29868 maybe-all-stage3-libcpp: all-stage3-libcpp
29869 all-stage3-libcpp: configure-stage3-libcpp
29870 @$(MAKE) stage3-start
29871 @r=`${PWD_COMMAND}`; export r; \
29872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29873 $(STAGE_HOST_EXPORTS) \
29875 $(MAKE) $(FLAGS_TO_PASS) \
29876 $(POSTSTAGE1_FLAGS_TO_PASS) \
29879 maybe-clean-stage3-libcpp: clean-stage3-libcpp
29880 clean-stage3-libcpp:
29881 @[ -f libcpp/Makefile ] || [ -f stage3-libcpp/Makefile ] \
29883 [ -f libcpp/Makefile ] || $(MAKE) stage3-start ; \
29885 $(MAKE) $(FLAGS_TO_PASS) \
29886 $(POSTSTAGE1_FLAGS_TO_PASS) \
29888 @endif libcpp-bootstrap
29891 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
29892 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
29893 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
29895 maybe-configure-stage3-libiberty:
29896 maybe-all-stage3-libiberty:
29897 maybe-clean-stage3-libiberty:
29899 @if libiberty-bootstrap
29900 maybe-configure-stage3-libiberty: configure-stage3-libiberty
29901 configure-stage3-libiberty:
29902 @$(MAKE) stage3-start
29903 @[ -f libiberty/Makefile ] && exit 0 || : ; \
29904 r=`${PWD_COMMAND}`; export r; \
29905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29906 $(STAGE_HOST_EXPORTS) \
29907 echo Configuring stage 3 in libiberty ; \
29908 cd libiberty || exit 1; \
29909 case $(srcdir) in \
29911 srcdiroption="--srcdir=."; \
29913 /* | [A-Za-z]:[\\/]*) \
29914 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
29915 libsrcdir="$$s/libiberty";; \
29917 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
29918 libsrcdir="$$s/libiberty";; \
29920 $(SHELL) $${libsrcdir}/configure \
29921 $(HOST_CONFIGARGS) $${srcdiroption} \
29922 @stage2_werror_flag@
29924 maybe-all-stage3-libiberty: all-stage3-libiberty
29925 all-stage3-libiberty: configure-stage3-libiberty
29926 @$(MAKE) stage3-start
29927 @r=`${PWD_COMMAND}`; export r; \
29928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29929 $(STAGE_HOST_EXPORTS) \
29931 $(MAKE) $(FLAGS_TO_PASS) \
29932 $(POSTSTAGE1_FLAGS_TO_PASS) \
29935 maybe-clean-stage3-libiberty: clean-stage3-libiberty
29936 clean-stage3-libiberty:
29937 @[ -f libiberty/Makefile ] || [ -f stage3-libiberty/Makefile ] \
29939 [ -f libiberty/Makefile ] || $(MAKE) stage3-start ; \
29941 $(MAKE) $(FLAGS_TO_PASS) \
29942 $(POSTSTAGE1_FLAGS_TO_PASS) \
29944 @endif libiberty-bootstrap
29947 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
29948 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
29949 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
29951 maybe-configure-stage3-zlib:
29952 maybe-all-stage3-zlib:
29953 maybe-clean-stage3-zlib:
29956 maybe-configure-stage3-zlib: configure-stage3-zlib
29957 configure-stage3-zlib:
29958 @$(MAKE) stage3-start
29959 @[ -f zlib/Makefile ] && exit 0 || : ; \
29960 r=`${PWD_COMMAND}`; export r; \
29961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29962 $(STAGE_HOST_EXPORTS) \
29963 echo Configuring stage 3 in zlib ; \
29964 cd zlib || exit 1; \
29965 case $(srcdir) in \
29967 srcdiroption="--srcdir=."; \
29969 /* | [A-Za-z]:[\\/]*) \
29970 srcdiroption="--srcdir=$(srcdir)/zlib"; \
29971 libsrcdir="$$s/zlib";; \
29973 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
29974 libsrcdir="$$s/zlib";; \
29976 $(SHELL) $${libsrcdir}/configure \
29977 $(HOST_CONFIGARGS) $${srcdiroption} \
29978 @stage2_werror_flag@
29980 maybe-all-stage3-zlib: all-stage3-zlib
29981 all-stage3-zlib: configure-stage3-zlib
29982 @$(MAKE) stage3-start
29983 @r=`${PWD_COMMAND}`; export r; \
29984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29985 $(STAGE_HOST_EXPORTS) \
29987 $(MAKE) $(FLAGS_TO_PASS) \
29988 $(POSTSTAGE1_FLAGS_TO_PASS) \
29991 maybe-clean-stage3-zlib: clean-stage3-zlib
29993 @[ -f zlib/Makefile ] || [ -f stage3-zlib/Makefile ] \
29995 [ -f zlib/Makefile ] || $(MAKE) stage3-start ; \
29997 $(MAKE) $(FLAGS_TO_PASS) \
29998 $(POSTSTAGE1_FLAGS_TO_PASS) \
30000 @endif zlib-bootstrap
30004 # FIXME: Will not need to be conditional when toplevel bootstrap is the
30005 # only possibility, but now it conflicts with no-bootstrap rules
30009 @if test -f stage2-lean; then \
30010 echo Cannot compare object files as stage 2 was deleted. ; \
30013 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30014 @r=`${PWD_COMMAND}`; export r; \
30015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30016 rm -f .bad_compare ; \
30018 files=`find . -name "*$(objext)" -print` ; \
30020 for file in $${files} ; do \
30021 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
30022 @do_compare@ > /dev/null 2>&1; \
30023 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
30025 if [ -f .bad_compare ]; then \
30026 echo "Bootstrap comparison failure!"; \
30027 cat .bad_compare; \
30033 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
30038 bootstrap: stage3-bubble compare all
30041 # Rules to wipe a stage and all the following ones, also used for cleanstrap
30042 distclean-stage2:: distclean-stage3
30043 .PHONY: distclean-stage3
30045 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
30046 rm -rf stage3-* compare
30050 cleanstrap: distclean bootstrap
30052 @endif gcc-bootstrap
30055 .PHONY: stage4-start stage4-end
30058 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30059 echo stage4 > stage_current ; \
30060 echo stage4 > stage_last
30062 @[ -d stage4-bfd ] || mkdir stage4-bfd; \
30063 set stage4-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
30064 set stage3-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
30067 @[ -d stage4-opcodes ] || mkdir stage4-opcodes; \
30068 set stage4-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
30069 set stage3-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
30072 @[ -d stage4-binutils ] || mkdir stage4-binutils; \
30073 set stage4-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
30074 set stage3-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
30077 @[ -d stage4-gas ] || mkdir stage4-gas; \
30078 set stage4-gas gas ; @CREATE_LINK_TO_DIR@ ; \
30079 set stage3-gas prev-gas ; @CREATE_LINK_TO_DIR@
30082 @[ -d stage4-gcc ] || mkdir stage4-gcc; \
30083 set stage4-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
30084 set stage3-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
30087 @[ -d stage4-intl ] || mkdir stage4-intl; \
30088 set stage4-intl intl ; @CREATE_LINK_TO_DIR@ ; \
30089 set stage3-intl prev-intl ; @CREATE_LINK_TO_DIR@
30092 @[ -d stage4-ld ] || mkdir stage4-ld; \
30093 set stage4-ld ld ; @CREATE_LINK_TO_DIR@ ; \
30094 set stage3-ld prev-ld ; @CREATE_LINK_TO_DIR@
30097 @[ -d stage4-libcpp ] || mkdir stage4-libcpp; \
30098 set stage4-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
30099 set stage3-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
30102 @[ -d stage4-libiberty ] || mkdir stage4-libiberty; \
30103 set stage4-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
30104 set stage3-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
30107 @[ -d stage4-zlib ] || mkdir stage4-zlib; \
30108 set stage4-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
30109 set stage3-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
30113 @rm -f stage_current
30115 @set bfd stage4-bfd ; @UNDO_LINK_TO_DIR@ ; \
30116 set prev-bfd stage3-bfd ; @UNDO_LINK_TO_DIR@
30119 @set opcodes stage4-opcodes ; @UNDO_LINK_TO_DIR@ ; \
30120 set prev-opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@
30123 @set binutils stage4-binutils ; @UNDO_LINK_TO_DIR@ ; \
30124 set prev-binutils stage3-binutils ; @UNDO_LINK_TO_DIR@
30127 @set gas stage4-gas ; @UNDO_LINK_TO_DIR@ ; \
30128 set prev-gas stage3-gas ; @UNDO_LINK_TO_DIR@
30131 @set gcc stage4-gcc ; @UNDO_LINK_TO_DIR@ ; \
30132 set prev-gcc stage3-gcc ; @UNDO_LINK_TO_DIR@
30135 @set intl stage4-intl ; @UNDO_LINK_TO_DIR@ ; \
30136 set prev-intl stage3-intl ; @UNDO_LINK_TO_DIR@
30139 @set ld stage4-ld ; @UNDO_LINK_TO_DIR@ ; \
30140 set prev-ld stage3-ld ; @UNDO_LINK_TO_DIR@
30143 @set libcpp stage4-libcpp ; @UNDO_LINK_TO_DIR@ ; \
30144 set prev-libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@
30147 @set libiberty stage4-libiberty ; @UNDO_LINK_TO_DIR@ ; \
30148 set prev-libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@
30151 @set zlib stage4-zlib ; @UNDO_LINK_TO_DIR@ ; \
30152 set prev-zlib stage3-zlib ; @UNDO_LINK_TO_DIR@
30155 # Bubble a bugfix through all the stages up to stage 4. They
30156 # are remade, but not reconfigured. The next stage (if any) will not
30157 # be reconfigured as well.
30158 .PHONY: stage4-bubble
30159 stage4-bubble:: stage3-bubble
30160 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
30161 @if test -f stage4-lean || test -f stage3-lean ; then \
30162 echo Skipping rebuild of stage4 ; \
30164 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage4; \
30167 .PHONY: all-stage4 clean-stage4
30169 maybe-all-stage4-bfd \
30170 maybe-all-stage4-opcodes \
30171 maybe-all-stage4-binutils \
30172 maybe-all-stage4-gas \
30173 maybe-all-stage4-gcc \
30174 maybe-all-stage4-intl \
30175 maybe-all-stage4-ld \
30176 maybe-all-stage4-libcpp \
30177 maybe-all-stage4-libiberty \
30178 maybe-all-stage4-zlib
30180 do-clean: clean-stage4
30182 maybe-clean-stage4-bfd \
30183 maybe-clean-stage4-opcodes \
30184 maybe-clean-stage4-binutils \
30185 maybe-clean-stage4-gas \
30186 maybe-clean-stage4-gcc \
30187 maybe-clean-stage4-intl \
30188 maybe-clean-stage4-ld \
30189 maybe-clean-stage4-libcpp \
30190 maybe-clean-stage4-libiberty \
30191 maybe-clean-stage4-zlib
30194 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
30195 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
30196 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
30198 maybe-configure-stage4-bfd:
30199 maybe-all-stage4-bfd:
30200 maybe-clean-stage4-bfd:
30203 maybe-configure-stage4-bfd: configure-stage4-bfd
30204 configure-stage4-bfd:
30205 @$(MAKE) stage4-start
30206 @[ -f bfd/Makefile ] && exit 0 || : ; \
30207 r=`${PWD_COMMAND}`; export r; \
30208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30209 $(STAGE_HOST_EXPORTS) \
30210 echo Configuring stage 4 in bfd ; \
30211 cd bfd || exit 1; \
30212 case $(srcdir) in \
30214 srcdiroption="--srcdir=."; \
30216 /* | [A-Za-z]:[\\/]*) \
30217 srcdiroption="--srcdir=$(srcdir)/bfd"; \
30218 libsrcdir="$$s/bfd";; \
30220 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
30221 libsrcdir="$$s/bfd";; \
30223 $(SHELL) $${libsrcdir}/configure \
30224 $(HOST_CONFIGARGS) $${srcdiroption} \
30225 @stage2_werror_flag@
30227 maybe-all-stage4-bfd: all-stage4-bfd
30228 all-stage4-bfd: configure-stage4-bfd
30229 @$(MAKE) stage4-start
30230 @r=`${PWD_COMMAND}`; export r; \
30231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30232 $(STAGE_HOST_EXPORTS) \
30234 $(MAKE) $(FLAGS_TO_PASS) \
30235 $(POSTSTAGE1_FLAGS_TO_PASS) \
30238 maybe-clean-stage4-bfd: clean-stage4-bfd
30240 @[ -f bfd/Makefile ] || [ -f stage4-bfd/Makefile ] \
30242 [ -f bfd/Makefile ] || $(MAKE) stage4-start ; \
30244 $(MAKE) $(FLAGS_TO_PASS) \
30245 $(POSTSTAGE1_FLAGS_TO_PASS) \
30247 @endif bfd-bootstrap
30250 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
30251 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
30252 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
30254 maybe-configure-stage4-opcodes:
30255 maybe-all-stage4-opcodes:
30256 maybe-clean-stage4-opcodes:
30258 @if opcodes-bootstrap
30259 maybe-configure-stage4-opcodes: configure-stage4-opcodes
30260 configure-stage4-opcodes:
30261 @$(MAKE) stage4-start
30262 @[ -f opcodes/Makefile ] && exit 0 || : ; \
30263 r=`${PWD_COMMAND}`; export r; \
30264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30265 $(STAGE_HOST_EXPORTS) \
30266 echo Configuring stage 4 in opcodes ; \
30267 cd opcodes || exit 1; \
30268 case $(srcdir) in \
30270 srcdiroption="--srcdir=."; \
30272 /* | [A-Za-z]:[\\/]*) \
30273 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
30274 libsrcdir="$$s/opcodes";; \
30276 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
30277 libsrcdir="$$s/opcodes";; \
30279 $(SHELL) $${libsrcdir}/configure \
30280 $(HOST_CONFIGARGS) $${srcdiroption} \
30281 @stage2_werror_flag@
30283 maybe-all-stage4-opcodes: all-stage4-opcodes
30284 all-stage4-opcodes: configure-stage4-opcodes
30285 @$(MAKE) stage4-start
30286 @r=`${PWD_COMMAND}`; export r; \
30287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30288 $(STAGE_HOST_EXPORTS) \
30290 $(MAKE) $(FLAGS_TO_PASS) \
30291 $(POSTSTAGE1_FLAGS_TO_PASS) \
30294 maybe-clean-stage4-opcodes: clean-stage4-opcodes
30295 clean-stage4-opcodes:
30296 @[ -f opcodes/Makefile ] || [ -f stage4-opcodes/Makefile ] \
30298 [ -f opcodes/Makefile ] || $(MAKE) stage4-start ; \
30300 $(MAKE) $(FLAGS_TO_PASS) \
30301 $(POSTSTAGE1_FLAGS_TO_PASS) \
30303 @endif opcodes-bootstrap
30306 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
30307 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
30308 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
30310 maybe-configure-stage4-binutils:
30311 maybe-all-stage4-binutils:
30312 maybe-clean-stage4-binutils:
30314 @if binutils-bootstrap
30315 maybe-configure-stage4-binutils: configure-stage4-binutils
30316 configure-stage4-binutils:
30317 @$(MAKE) stage4-start
30318 @[ -f binutils/Makefile ] && exit 0 || : ; \
30319 r=`${PWD_COMMAND}`; export r; \
30320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30321 $(STAGE_HOST_EXPORTS) \
30322 echo Configuring stage 4 in binutils ; \
30323 cd binutils || exit 1; \
30324 case $(srcdir) in \
30326 srcdiroption="--srcdir=."; \
30328 /* | [A-Za-z]:[\\/]*) \
30329 srcdiroption="--srcdir=$(srcdir)/binutils"; \
30330 libsrcdir="$$s/binutils";; \
30332 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
30333 libsrcdir="$$s/binutils";; \
30335 $(SHELL) $${libsrcdir}/configure \
30336 $(HOST_CONFIGARGS) $${srcdiroption} \
30337 @stage2_werror_flag@
30339 maybe-all-stage4-binutils: all-stage4-binutils
30340 all-stage4-binutils: configure-stage4-binutils
30341 @$(MAKE) stage4-start
30342 @r=`${PWD_COMMAND}`; export r; \
30343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30344 $(STAGE_HOST_EXPORTS) \
30346 $(MAKE) $(FLAGS_TO_PASS) \
30347 $(POSTSTAGE1_FLAGS_TO_PASS) \
30350 maybe-clean-stage4-binutils: clean-stage4-binutils
30351 clean-stage4-binutils:
30352 @[ -f binutils/Makefile ] || [ -f stage4-binutils/Makefile ] \
30354 [ -f binutils/Makefile ] || $(MAKE) stage4-start ; \
30356 $(MAKE) $(FLAGS_TO_PASS) \
30357 $(POSTSTAGE1_FLAGS_TO_PASS) \
30359 @endif binutils-bootstrap
30362 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
30363 .PHONY: all-stage4-gas maybe-all-stage4-gas
30364 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
30366 maybe-configure-stage4-gas:
30367 maybe-all-stage4-gas:
30368 maybe-clean-stage4-gas:
30371 maybe-configure-stage4-gas: configure-stage4-gas
30372 configure-stage4-gas:
30373 @$(MAKE) stage4-start
30374 @[ -f gas/Makefile ] && exit 0 || : ; \
30375 r=`${PWD_COMMAND}`; export r; \
30376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30377 $(STAGE_HOST_EXPORTS) \
30378 echo Configuring stage 4 in gas ; \
30379 cd gas || exit 1; \
30380 case $(srcdir) in \
30382 srcdiroption="--srcdir=."; \
30384 /* | [A-Za-z]:[\\/]*) \
30385 srcdiroption="--srcdir=$(srcdir)/gas"; \
30386 libsrcdir="$$s/gas";; \
30388 srcdiroption="--srcdir=../$(srcdir)/gas"; \
30389 libsrcdir="$$s/gas";; \
30391 $(SHELL) $${libsrcdir}/configure \
30392 $(HOST_CONFIGARGS) $${srcdiroption} \
30393 @stage2_werror_flag@
30395 maybe-all-stage4-gas: all-stage4-gas
30396 all-stage4-gas: configure-stage4-gas
30397 @$(MAKE) stage4-start
30398 @r=`${PWD_COMMAND}`; export r; \
30399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30400 $(STAGE_HOST_EXPORTS) \
30402 $(MAKE) $(FLAGS_TO_PASS) \
30403 $(POSTSTAGE1_FLAGS_TO_PASS) \
30406 maybe-clean-stage4-gas: clean-stage4-gas
30408 @[ -f gas/Makefile ] || [ -f stage4-gas/Makefile ] \
30410 [ -f gas/Makefile ] || $(MAKE) stage4-start ; \
30412 $(MAKE) $(FLAGS_TO_PASS) \
30413 $(POSTSTAGE1_FLAGS_TO_PASS) \
30415 @endif gas-bootstrap
30418 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
30419 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
30420 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
30422 maybe-configure-stage4-gcc:
30423 maybe-all-stage4-gcc:
30424 maybe-clean-stage4-gcc:
30427 maybe-configure-stage4-gcc: configure-stage4-gcc
30428 configure-stage4-gcc:
30429 @$(MAKE) stage4-start
30430 @[ -f gcc/Makefile ] && exit 0 || : ; \
30431 r=`${PWD_COMMAND}`; export r; \
30432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30433 $(STAGE_HOST_EXPORTS) \
30434 echo Configuring stage 4 in gcc ; \
30435 cd gcc || exit 1; \
30436 case $(srcdir) in \
30438 srcdiroption="--srcdir=."; \
30440 /* | [A-Za-z]:[\\/]*) \
30441 srcdiroption="--srcdir=$(srcdir)/gcc"; \
30442 libsrcdir="$$s/gcc";; \
30444 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
30445 libsrcdir="$$s/gcc";; \
30447 $(SHELL) $${libsrcdir}/configure \
30448 $(HOST_CONFIGARGS) $${srcdiroption} \
30449 @stage2_werror_flag@
30451 maybe-all-stage4-gcc: all-stage4-gcc
30452 all-stage4-gcc: configure-stage4-gcc
30453 @$(MAKE) stage4-start
30454 @r=`${PWD_COMMAND}`; export r; \
30455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30456 $(STAGE_HOST_EXPORTS) \
30458 $(MAKE) $(FLAGS_TO_PASS) \
30459 $(POSTSTAGE1_FLAGS_TO_PASS) \
30462 maybe-clean-stage4-gcc: clean-stage4-gcc
30464 @[ -f gcc/Makefile ] || [ -f stage4-gcc/Makefile ] \
30466 [ -f gcc/Makefile ] || $(MAKE) stage4-start ; \
30468 $(MAKE) $(FLAGS_TO_PASS) \
30469 $(POSTSTAGE1_FLAGS_TO_PASS) \
30470 $(EXTRA_GCC_FLAGS) clean
30471 @endif gcc-bootstrap
30474 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
30475 .PHONY: all-stage4-intl maybe-all-stage4-intl
30476 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
30478 maybe-configure-stage4-intl:
30479 maybe-all-stage4-intl:
30480 maybe-clean-stage4-intl:
30483 maybe-configure-stage4-intl: configure-stage4-intl
30484 configure-stage4-intl:
30485 @$(MAKE) stage4-start
30486 @[ -f intl/Makefile ] && exit 0 || : ; \
30487 r=`${PWD_COMMAND}`; export r; \
30488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30489 $(STAGE_HOST_EXPORTS) \
30490 echo Configuring stage 4 in intl ; \
30491 cd intl || exit 1; \
30492 case $(srcdir) in \
30494 srcdiroption="--srcdir=."; \
30496 /* | [A-Za-z]:[\\/]*) \
30497 srcdiroption="--srcdir=$(srcdir)/intl"; \
30498 libsrcdir="$$s/intl";; \
30500 srcdiroption="--srcdir=../$(srcdir)/intl"; \
30501 libsrcdir="$$s/intl";; \
30503 $(SHELL) $${libsrcdir}/configure \
30504 $(HOST_CONFIGARGS) $${srcdiroption} \
30505 @stage2_werror_flag@
30507 maybe-all-stage4-intl: all-stage4-intl
30508 all-stage4-intl: configure-stage4-intl
30509 @$(MAKE) stage4-start
30510 @r=`${PWD_COMMAND}`; export r; \
30511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30512 $(STAGE_HOST_EXPORTS) \
30514 $(MAKE) $(FLAGS_TO_PASS) \
30515 $(POSTSTAGE1_FLAGS_TO_PASS) \
30518 maybe-clean-stage4-intl: clean-stage4-intl
30520 @[ -f intl/Makefile ] || [ -f stage4-intl/Makefile ] \
30522 [ -f intl/Makefile ] || $(MAKE) stage4-start ; \
30524 $(MAKE) $(FLAGS_TO_PASS) \
30525 $(POSTSTAGE1_FLAGS_TO_PASS) \
30527 @endif intl-bootstrap
30530 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
30531 .PHONY: all-stage4-ld maybe-all-stage4-ld
30532 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
30534 maybe-configure-stage4-ld:
30535 maybe-all-stage4-ld:
30536 maybe-clean-stage4-ld:
30539 maybe-configure-stage4-ld: configure-stage4-ld
30540 configure-stage4-ld:
30541 @$(MAKE) stage4-start
30542 @[ -f ld/Makefile ] && exit 0 || : ; \
30543 r=`${PWD_COMMAND}`; export r; \
30544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30545 $(STAGE_HOST_EXPORTS) \
30546 echo Configuring stage 4 in ld ; \
30548 case $(srcdir) in \
30550 srcdiroption="--srcdir=."; \
30552 /* | [A-Za-z]:[\\/]*) \
30553 srcdiroption="--srcdir=$(srcdir)/ld"; \
30554 libsrcdir="$$s/ld";; \
30556 srcdiroption="--srcdir=../$(srcdir)/ld"; \
30557 libsrcdir="$$s/ld";; \
30559 $(SHELL) $${libsrcdir}/configure \
30560 $(HOST_CONFIGARGS) $${srcdiroption} \
30561 @stage2_werror_flag@
30563 maybe-all-stage4-ld: all-stage4-ld
30564 all-stage4-ld: configure-stage4-ld
30565 @$(MAKE) stage4-start
30566 @r=`${PWD_COMMAND}`; export r; \
30567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30568 $(STAGE_HOST_EXPORTS) \
30570 $(MAKE) $(FLAGS_TO_PASS) \
30571 $(POSTSTAGE1_FLAGS_TO_PASS) \
30574 maybe-clean-stage4-ld: clean-stage4-ld
30576 @[ -f ld/Makefile ] || [ -f stage4-ld/Makefile ] \
30578 [ -f ld/Makefile ] || $(MAKE) stage4-start ; \
30580 $(MAKE) $(FLAGS_TO_PASS) \
30581 $(POSTSTAGE1_FLAGS_TO_PASS) \
30583 @endif ld-bootstrap
30586 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
30587 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
30588 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
30590 maybe-configure-stage4-libcpp:
30591 maybe-all-stage4-libcpp:
30592 maybe-clean-stage4-libcpp:
30594 @if libcpp-bootstrap
30595 maybe-configure-stage4-libcpp: configure-stage4-libcpp
30596 configure-stage4-libcpp:
30597 @$(MAKE) stage4-start
30598 @[ -f libcpp/Makefile ] && exit 0 || : ; \
30599 r=`${PWD_COMMAND}`; export r; \
30600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30601 $(STAGE_HOST_EXPORTS) \
30602 echo Configuring stage 4 in libcpp ; \
30603 cd libcpp || exit 1; \
30604 case $(srcdir) in \
30606 srcdiroption="--srcdir=."; \
30608 /* | [A-Za-z]:[\\/]*) \
30609 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
30610 libsrcdir="$$s/libcpp";; \
30612 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
30613 libsrcdir="$$s/libcpp";; \
30615 $(SHELL) $${libsrcdir}/configure \
30616 $(HOST_CONFIGARGS) $${srcdiroption} \
30617 @stage2_werror_flag@
30619 maybe-all-stage4-libcpp: all-stage4-libcpp
30620 all-stage4-libcpp: configure-stage4-libcpp
30621 @$(MAKE) stage4-start
30622 @r=`${PWD_COMMAND}`; export r; \
30623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30624 $(STAGE_HOST_EXPORTS) \
30626 $(MAKE) $(FLAGS_TO_PASS) \
30627 $(POSTSTAGE1_FLAGS_TO_PASS) \
30630 maybe-clean-stage4-libcpp: clean-stage4-libcpp
30631 clean-stage4-libcpp:
30632 @[ -f libcpp/Makefile ] || [ -f stage4-libcpp/Makefile ] \
30634 [ -f libcpp/Makefile ] || $(MAKE) stage4-start ; \
30636 $(MAKE) $(FLAGS_TO_PASS) \
30637 $(POSTSTAGE1_FLAGS_TO_PASS) \
30639 @endif libcpp-bootstrap
30642 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
30643 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
30644 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
30646 maybe-configure-stage4-libiberty:
30647 maybe-all-stage4-libiberty:
30648 maybe-clean-stage4-libiberty:
30650 @if libiberty-bootstrap
30651 maybe-configure-stage4-libiberty: configure-stage4-libiberty
30652 configure-stage4-libiberty:
30653 @$(MAKE) stage4-start
30654 @[ -f libiberty/Makefile ] && exit 0 || : ; \
30655 r=`${PWD_COMMAND}`; export r; \
30656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30657 $(STAGE_HOST_EXPORTS) \
30658 echo Configuring stage 4 in libiberty ; \
30659 cd libiberty || exit 1; \
30660 case $(srcdir) in \
30662 srcdiroption="--srcdir=."; \
30664 /* | [A-Za-z]:[\\/]*) \
30665 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
30666 libsrcdir="$$s/libiberty";; \
30668 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
30669 libsrcdir="$$s/libiberty";; \
30671 $(SHELL) $${libsrcdir}/configure \
30672 $(HOST_CONFIGARGS) $${srcdiroption} \
30673 @stage2_werror_flag@
30675 maybe-all-stage4-libiberty: all-stage4-libiberty
30676 all-stage4-libiberty: configure-stage4-libiberty
30677 @$(MAKE) stage4-start
30678 @r=`${PWD_COMMAND}`; export r; \
30679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30680 $(STAGE_HOST_EXPORTS) \
30682 $(MAKE) $(FLAGS_TO_PASS) \
30683 $(POSTSTAGE1_FLAGS_TO_PASS) \
30686 maybe-clean-stage4-libiberty: clean-stage4-libiberty
30687 clean-stage4-libiberty:
30688 @[ -f libiberty/Makefile ] || [ -f stage4-libiberty/Makefile ] \
30690 [ -f libiberty/Makefile ] || $(MAKE) stage4-start ; \
30692 $(MAKE) $(FLAGS_TO_PASS) \
30693 $(POSTSTAGE1_FLAGS_TO_PASS) \
30695 @endif libiberty-bootstrap
30698 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
30699 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
30700 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
30702 maybe-configure-stage4-zlib:
30703 maybe-all-stage4-zlib:
30704 maybe-clean-stage4-zlib:
30707 maybe-configure-stage4-zlib: configure-stage4-zlib
30708 configure-stage4-zlib:
30709 @$(MAKE) stage4-start
30710 @[ -f zlib/Makefile ] && exit 0 || : ; \
30711 r=`${PWD_COMMAND}`; export r; \
30712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30713 $(STAGE_HOST_EXPORTS) \
30714 echo Configuring stage 4 in zlib ; \
30715 cd zlib || exit 1; \
30716 case $(srcdir) in \
30718 srcdiroption="--srcdir=."; \
30720 /* | [A-Za-z]:[\\/]*) \
30721 srcdiroption="--srcdir=$(srcdir)/zlib"; \
30722 libsrcdir="$$s/zlib";; \
30724 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
30725 libsrcdir="$$s/zlib";; \
30727 $(SHELL) $${libsrcdir}/configure \
30728 $(HOST_CONFIGARGS) $${srcdiroption} \
30729 @stage2_werror_flag@
30731 maybe-all-stage4-zlib: all-stage4-zlib
30732 all-stage4-zlib: configure-stage4-zlib
30733 @$(MAKE) stage4-start
30734 @r=`${PWD_COMMAND}`; export r; \
30735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30736 $(STAGE_HOST_EXPORTS) \
30738 $(MAKE) $(FLAGS_TO_PASS) \
30739 $(POSTSTAGE1_FLAGS_TO_PASS) \
30742 maybe-clean-stage4-zlib: clean-stage4-zlib
30744 @[ -f zlib/Makefile ] || [ -f stage4-zlib/Makefile ] \
30746 [ -f zlib/Makefile ] || $(MAKE) stage4-start ; \
30748 $(MAKE) $(FLAGS_TO_PASS) \
30749 $(POSTSTAGE1_FLAGS_TO_PASS) \
30751 @endif zlib-bootstrap
30755 # FIXME: Will not need to be conditional when toplevel bootstrap is the
30756 # only possibility, but now it conflicts with no-bootstrap rules
30760 @if test -f stage3-lean; then \
30761 echo Cannot compare object files as stage 3 was deleted. ; \
30764 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30765 @r=`${PWD_COMMAND}`; export r; \
30766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30767 rm -f .bad_compare ; \
30769 files=`find . -name "*$(objext)" -print` ; \
30771 for file in $${files} ; do \
30772 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
30773 @do_compare@ > /dev/null 2>&1; \
30774 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
30776 if [ -f .bad_compare ]; then \
30777 echo "Bootstrap comparison failure!"; \
30778 cat .bad_compare; \
30784 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
30789 bootstrap4: stage4-bubble compare3 all
30792 # Rules to wipe a stage and all the following ones, also used for cleanstrap
30793 distclean-stage3:: distclean-stage4
30794 .PHONY: distclean-stage4
30796 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
30797 rm -rf stage4-* compare3
30800 @endif gcc-bootstrap
30803 .PHONY: stageprofile-start stageprofile-end
30805 stageprofile-start::
30806 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30807 echo stageprofile > stage_current ; \
30808 echo stageprofile > stage_last
30810 @[ -d stageprofile-bfd ] || mkdir stageprofile-bfd; \
30811 set stageprofile-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
30812 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
30815 @[ -d stageprofile-opcodes ] || mkdir stageprofile-opcodes; \
30816 set stageprofile-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
30817 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
30820 @[ -d stageprofile-binutils ] || mkdir stageprofile-binutils; \
30821 set stageprofile-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
30822 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
30825 @[ -d stageprofile-gas ] || mkdir stageprofile-gas; \
30826 set stageprofile-gas gas ; @CREATE_LINK_TO_DIR@ ; \
30827 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
30830 @[ -d stageprofile-gcc ] || mkdir stageprofile-gcc; \
30831 set stageprofile-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
30832 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
30835 @[ -d stageprofile-intl ] || mkdir stageprofile-intl; \
30836 set stageprofile-intl intl ; @CREATE_LINK_TO_DIR@ ; \
30837 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
30840 @[ -d stageprofile-ld ] || mkdir stageprofile-ld; \
30841 set stageprofile-ld ld ; @CREATE_LINK_TO_DIR@ ; \
30842 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
30845 @[ -d stageprofile-libcpp ] || mkdir stageprofile-libcpp; \
30846 set stageprofile-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
30847 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
30850 @[ -d stageprofile-libiberty ] || mkdir stageprofile-libiberty; \
30851 set stageprofile-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
30852 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
30855 @[ -d stageprofile-zlib ] || mkdir stageprofile-zlib; \
30856 set stageprofile-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
30857 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
30861 @rm -f stage_current
30863 @set bfd stageprofile-bfd ; @UNDO_LINK_TO_DIR@ ; \
30864 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
30867 @set opcodes stageprofile-opcodes ; @UNDO_LINK_TO_DIR@ ; \
30868 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
30871 @set binutils stageprofile-binutils ; @UNDO_LINK_TO_DIR@ ; \
30872 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
30875 @set gas stageprofile-gas ; @UNDO_LINK_TO_DIR@ ; \
30876 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
30879 @set gcc stageprofile-gcc ; @UNDO_LINK_TO_DIR@ ; \
30880 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
30883 @set intl stageprofile-intl ; @UNDO_LINK_TO_DIR@ ; \
30884 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
30887 @set ld stageprofile-ld ; @UNDO_LINK_TO_DIR@ ; \
30888 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
30891 @set libcpp stageprofile-libcpp ; @UNDO_LINK_TO_DIR@ ; \
30892 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
30895 @set libiberty stageprofile-libiberty ; @UNDO_LINK_TO_DIR@ ; \
30896 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
30899 @set zlib stageprofile-zlib ; @UNDO_LINK_TO_DIR@ ; \
30900 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
30903 # Bubble a bugfix through all the stages up to stage profile. They
30904 # are remade, but not reconfigured. The next stage (if any) will not
30905 # be reconfigured as well.
30906 .PHONY: stageprofile-bubble
30907 stageprofile-bubble:: stage1-bubble
30908 @if test -f stageprofile-lean || test -f stage1-lean ; then \
30909 echo Skipping rebuild of stageprofile ; \
30911 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stageprofile; \
30914 .PHONY: all-stageprofile clean-stageprofile
30915 all-stageprofile: \
30916 maybe-all-stageprofile-bfd \
30917 maybe-all-stageprofile-opcodes \
30918 maybe-all-stageprofile-binutils \
30919 maybe-all-stageprofile-gas \
30920 maybe-all-stageprofile-gcc \
30921 maybe-all-stageprofile-intl \
30922 maybe-all-stageprofile-ld \
30923 maybe-all-stageprofile-libcpp \
30924 maybe-all-stageprofile-libiberty \
30925 maybe-all-stageprofile-zlib
30927 do-clean: clean-stageprofile
30928 clean-stageprofile: \
30929 maybe-clean-stageprofile-bfd \
30930 maybe-clean-stageprofile-opcodes \
30931 maybe-clean-stageprofile-binutils \
30932 maybe-clean-stageprofile-gas \
30933 maybe-clean-stageprofile-gcc \
30934 maybe-clean-stageprofile-intl \
30935 maybe-clean-stageprofile-ld \
30936 maybe-clean-stageprofile-libcpp \
30937 maybe-clean-stageprofile-libiberty \
30938 maybe-clean-stageprofile-zlib
30941 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
30942 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
30943 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
30945 maybe-configure-stageprofile-bfd:
30946 maybe-all-stageprofile-bfd:
30947 maybe-clean-stageprofile-bfd:
30950 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
30951 configure-stageprofile-bfd:
30952 @$(MAKE) stageprofile-start
30953 @[ -f bfd/Makefile ] && exit 0 || : ; \
30954 r=`${PWD_COMMAND}`; export r; \
30955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30956 $(STAGE_HOST_EXPORTS) \
30957 echo Configuring stage profile in bfd ; \
30958 cd bfd || exit 1; \
30959 case $(srcdir) in \
30961 srcdiroption="--srcdir=."; \
30963 /* | [A-Za-z]:[\\/]*) \
30964 srcdiroption="--srcdir=$(srcdir)/bfd"; \
30965 libsrcdir="$$s/bfd";; \
30967 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
30968 libsrcdir="$$s/bfd";; \
30970 $(SHELL) $${libsrcdir}/configure \
30971 $(HOST_CONFIGARGS) $${srcdiroption} \
30972 @stage2_werror_flag@
30974 maybe-all-stageprofile-bfd: all-stageprofile-bfd
30975 all-stageprofile-bfd: configure-stageprofile-bfd
30976 @$(MAKE) stageprofile-start
30977 @r=`${PWD_COMMAND}`; export r; \
30978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30979 $(STAGE_HOST_EXPORTS) \
30981 $(MAKE) $(FLAGS_TO_PASS) \
30982 $(POSTSTAGE1_FLAGS_TO_PASS) \
30983 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
30985 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
30986 clean-stageprofile-bfd:
30987 @[ -f bfd/Makefile ] || [ -f stageprofile-bfd/Makefile ] \
30989 [ -f bfd/Makefile ] || $(MAKE) stageprofile-start ; \
30991 $(MAKE) $(FLAGS_TO_PASS) \
30992 $(POSTSTAGE1_FLAGS_TO_PASS) \
30993 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
30994 @endif bfd-bootstrap
30997 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
30998 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
30999 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
31001 maybe-configure-stageprofile-opcodes:
31002 maybe-all-stageprofile-opcodes:
31003 maybe-clean-stageprofile-opcodes:
31005 @if opcodes-bootstrap
31006 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
31007 configure-stageprofile-opcodes:
31008 @$(MAKE) stageprofile-start
31009 @[ -f opcodes/Makefile ] && exit 0 || : ; \
31010 r=`${PWD_COMMAND}`; export r; \
31011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31012 $(STAGE_HOST_EXPORTS) \
31013 echo Configuring stage profile in opcodes ; \
31014 cd opcodes || exit 1; \
31015 case $(srcdir) in \
31017 srcdiroption="--srcdir=."; \
31019 /* | [A-Za-z]:[\\/]*) \
31020 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
31021 libsrcdir="$$s/opcodes";; \
31023 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
31024 libsrcdir="$$s/opcodes";; \
31026 $(SHELL) $${libsrcdir}/configure \
31027 $(HOST_CONFIGARGS) $${srcdiroption} \
31028 @stage2_werror_flag@
31030 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
31031 all-stageprofile-opcodes: configure-stageprofile-opcodes
31032 @$(MAKE) stageprofile-start
31033 @r=`${PWD_COMMAND}`; export r; \
31034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31035 $(STAGE_HOST_EXPORTS) \
31037 $(MAKE) $(FLAGS_TO_PASS) \
31038 $(POSTSTAGE1_FLAGS_TO_PASS) \
31039 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31041 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
31042 clean-stageprofile-opcodes:
31043 @[ -f opcodes/Makefile ] || [ -f stageprofile-opcodes/Makefile ] \
31045 [ -f opcodes/Makefile ] || $(MAKE) stageprofile-start ; \
31047 $(MAKE) $(FLAGS_TO_PASS) \
31048 $(POSTSTAGE1_FLAGS_TO_PASS) \
31049 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31050 @endif opcodes-bootstrap
31053 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
31054 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
31055 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
31057 maybe-configure-stageprofile-binutils:
31058 maybe-all-stageprofile-binutils:
31059 maybe-clean-stageprofile-binutils:
31061 @if binutils-bootstrap
31062 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
31063 configure-stageprofile-binutils:
31064 @$(MAKE) stageprofile-start
31065 @[ -f binutils/Makefile ] && exit 0 || : ; \
31066 r=`${PWD_COMMAND}`; export r; \
31067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31068 $(STAGE_HOST_EXPORTS) \
31069 echo Configuring stage profile in binutils ; \
31070 cd binutils || exit 1; \
31071 case $(srcdir) in \
31073 srcdiroption="--srcdir=."; \
31075 /* | [A-Za-z]:[\\/]*) \
31076 srcdiroption="--srcdir=$(srcdir)/binutils"; \
31077 libsrcdir="$$s/binutils";; \
31079 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
31080 libsrcdir="$$s/binutils";; \
31082 $(SHELL) $${libsrcdir}/configure \
31083 $(HOST_CONFIGARGS) $${srcdiroption} \
31084 @stage2_werror_flag@
31086 maybe-all-stageprofile-binutils: all-stageprofile-binutils
31087 all-stageprofile-binutils: configure-stageprofile-binutils
31088 @$(MAKE) stageprofile-start
31089 @r=`${PWD_COMMAND}`; export r; \
31090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31091 $(STAGE_HOST_EXPORTS) \
31093 $(MAKE) $(FLAGS_TO_PASS) \
31094 $(POSTSTAGE1_FLAGS_TO_PASS) \
31095 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31097 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
31098 clean-stageprofile-binutils:
31099 @[ -f binutils/Makefile ] || [ -f stageprofile-binutils/Makefile ] \
31101 [ -f binutils/Makefile ] || $(MAKE) stageprofile-start ; \
31103 $(MAKE) $(FLAGS_TO_PASS) \
31104 $(POSTSTAGE1_FLAGS_TO_PASS) \
31105 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31106 @endif binutils-bootstrap
31109 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
31110 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
31111 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
31113 maybe-configure-stageprofile-gas:
31114 maybe-all-stageprofile-gas:
31115 maybe-clean-stageprofile-gas:
31118 maybe-configure-stageprofile-gas: configure-stageprofile-gas
31119 configure-stageprofile-gas:
31120 @$(MAKE) stageprofile-start
31121 @[ -f gas/Makefile ] && exit 0 || : ; \
31122 r=`${PWD_COMMAND}`; export r; \
31123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31124 $(STAGE_HOST_EXPORTS) \
31125 echo Configuring stage profile in gas ; \
31126 cd gas || exit 1; \
31127 case $(srcdir) in \
31129 srcdiroption="--srcdir=."; \
31131 /* | [A-Za-z]:[\\/]*) \
31132 srcdiroption="--srcdir=$(srcdir)/gas"; \
31133 libsrcdir="$$s/gas";; \
31135 srcdiroption="--srcdir=../$(srcdir)/gas"; \
31136 libsrcdir="$$s/gas";; \
31138 $(SHELL) $${libsrcdir}/configure \
31139 $(HOST_CONFIGARGS) $${srcdiroption} \
31140 @stage2_werror_flag@
31142 maybe-all-stageprofile-gas: all-stageprofile-gas
31143 all-stageprofile-gas: configure-stageprofile-gas
31144 @$(MAKE) stageprofile-start
31145 @r=`${PWD_COMMAND}`; export r; \
31146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31147 $(STAGE_HOST_EXPORTS) \
31149 $(MAKE) $(FLAGS_TO_PASS) \
31150 $(POSTSTAGE1_FLAGS_TO_PASS) \
31151 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31153 maybe-clean-stageprofile-gas: clean-stageprofile-gas
31154 clean-stageprofile-gas:
31155 @[ -f gas/Makefile ] || [ -f stageprofile-gas/Makefile ] \
31157 [ -f gas/Makefile ] || $(MAKE) stageprofile-start ; \
31159 $(MAKE) $(FLAGS_TO_PASS) \
31160 $(POSTSTAGE1_FLAGS_TO_PASS) \
31161 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31162 @endif gas-bootstrap
31165 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
31166 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
31167 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
31169 maybe-configure-stageprofile-gcc:
31170 maybe-all-stageprofile-gcc:
31171 maybe-clean-stageprofile-gcc:
31174 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
31175 configure-stageprofile-gcc:
31176 @$(MAKE) stageprofile-start
31177 @[ -f gcc/Makefile ] && exit 0 || : ; \
31178 r=`${PWD_COMMAND}`; export r; \
31179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31180 $(STAGE_HOST_EXPORTS) \
31181 echo Configuring stage profile in gcc ; \
31182 cd gcc || exit 1; \
31183 case $(srcdir) in \
31185 srcdiroption="--srcdir=."; \
31187 /* | [A-Za-z]:[\\/]*) \
31188 srcdiroption="--srcdir=$(srcdir)/gcc"; \
31189 libsrcdir="$$s/gcc";; \
31191 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
31192 libsrcdir="$$s/gcc";; \
31194 $(SHELL) $${libsrcdir}/configure \
31195 $(HOST_CONFIGARGS) $${srcdiroption} \
31196 @stage2_werror_flag@
31198 maybe-all-stageprofile-gcc: all-stageprofile-gcc
31199 all-stageprofile-gcc: configure-stageprofile-gcc
31200 @$(MAKE) stageprofile-start
31201 @r=`${PWD_COMMAND}`; export r; \
31202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31203 $(STAGE_HOST_EXPORTS) \
31205 $(MAKE) $(FLAGS_TO_PASS) \
31206 $(POSTSTAGE1_FLAGS_TO_PASS) \
31207 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS)
31209 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
31210 clean-stageprofile-gcc:
31211 @[ -f gcc/Makefile ] || [ -f stageprofile-gcc/Makefile ] \
31213 [ -f gcc/Makefile ] || $(MAKE) stageprofile-start ; \
31215 $(MAKE) $(FLAGS_TO_PASS) \
31216 $(POSTSTAGE1_FLAGS_TO_PASS) \
31217 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
31218 @endif gcc-bootstrap
31221 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
31222 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
31223 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
31225 maybe-configure-stageprofile-intl:
31226 maybe-all-stageprofile-intl:
31227 maybe-clean-stageprofile-intl:
31230 maybe-configure-stageprofile-intl: configure-stageprofile-intl
31231 configure-stageprofile-intl:
31232 @$(MAKE) stageprofile-start
31233 @[ -f intl/Makefile ] && exit 0 || : ; \
31234 r=`${PWD_COMMAND}`; export r; \
31235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31236 $(STAGE_HOST_EXPORTS) \
31237 echo Configuring stage profile in intl ; \
31238 cd intl || exit 1; \
31239 case $(srcdir) in \
31241 srcdiroption="--srcdir=."; \
31243 /* | [A-Za-z]:[\\/]*) \
31244 srcdiroption="--srcdir=$(srcdir)/intl"; \
31245 libsrcdir="$$s/intl";; \
31247 srcdiroption="--srcdir=../$(srcdir)/intl"; \
31248 libsrcdir="$$s/intl";; \
31250 $(SHELL) $${libsrcdir}/configure \
31251 $(HOST_CONFIGARGS) $${srcdiroption} \
31252 @stage2_werror_flag@
31254 maybe-all-stageprofile-intl: all-stageprofile-intl
31255 all-stageprofile-intl: configure-stageprofile-intl
31256 @$(MAKE) stageprofile-start
31257 @r=`${PWD_COMMAND}`; export r; \
31258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31259 $(STAGE_HOST_EXPORTS) \
31261 $(MAKE) $(FLAGS_TO_PASS) \
31262 $(POSTSTAGE1_FLAGS_TO_PASS) \
31263 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31265 maybe-clean-stageprofile-intl: clean-stageprofile-intl
31266 clean-stageprofile-intl:
31267 @[ -f intl/Makefile ] || [ -f stageprofile-intl/Makefile ] \
31269 [ -f intl/Makefile ] || $(MAKE) stageprofile-start ; \
31271 $(MAKE) $(FLAGS_TO_PASS) \
31272 $(POSTSTAGE1_FLAGS_TO_PASS) \
31273 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31274 @endif intl-bootstrap
31277 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
31278 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
31279 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
31281 maybe-configure-stageprofile-ld:
31282 maybe-all-stageprofile-ld:
31283 maybe-clean-stageprofile-ld:
31286 maybe-configure-stageprofile-ld: configure-stageprofile-ld
31287 configure-stageprofile-ld:
31288 @$(MAKE) stageprofile-start
31289 @[ -f ld/Makefile ] && exit 0 || : ; \
31290 r=`${PWD_COMMAND}`; export r; \
31291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31292 $(STAGE_HOST_EXPORTS) \
31293 echo Configuring stage profile in ld ; \
31295 case $(srcdir) in \
31297 srcdiroption="--srcdir=."; \
31299 /* | [A-Za-z]:[\\/]*) \
31300 srcdiroption="--srcdir=$(srcdir)/ld"; \
31301 libsrcdir="$$s/ld";; \
31303 srcdiroption="--srcdir=../$(srcdir)/ld"; \
31304 libsrcdir="$$s/ld";; \
31306 $(SHELL) $${libsrcdir}/configure \
31307 $(HOST_CONFIGARGS) $${srcdiroption} \
31308 @stage2_werror_flag@
31310 maybe-all-stageprofile-ld: all-stageprofile-ld
31311 all-stageprofile-ld: configure-stageprofile-ld
31312 @$(MAKE) stageprofile-start
31313 @r=`${PWD_COMMAND}`; export r; \
31314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31315 $(STAGE_HOST_EXPORTS) \
31317 $(MAKE) $(FLAGS_TO_PASS) \
31318 $(POSTSTAGE1_FLAGS_TO_PASS) \
31319 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31321 maybe-clean-stageprofile-ld: clean-stageprofile-ld
31322 clean-stageprofile-ld:
31323 @[ -f ld/Makefile ] || [ -f stageprofile-ld/Makefile ] \
31325 [ -f ld/Makefile ] || $(MAKE) stageprofile-start ; \
31327 $(MAKE) $(FLAGS_TO_PASS) \
31328 $(POSTSTAGE1_FLAGS_TO_PASS) \
31329 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31330 @endif ld-bootstrap
31333 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
31334 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
31335 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
31337 maybe-configure-stageprofile-libcpp:
31338 maybe-all-stageprofile-libcpp:
31339 maybe-clean-stageprofile-libcpp:
31341 @if libcpp-bootstrap
31342 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
31343 configure-stageprofile-libcpp:
31344 @$(MAKE) stageprofile-start
31345 @[ -f libcpp/Makefile ] && exit 0 || : ; \
31346 r=`${PWD_COMMAND}`; export r; \
31347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31348 $(STAGE_HOST_EXPORTS) \
31349 echo Configuring stage profile in libcpp ; \
31350 cd libcpp || exit 1; \
31351 case $(srcdir) in \
31353 srcdiroption="--srcdir=."; \
31355 /* | [A-Za-z]:[\\/]*) \
31356 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
31357 libsrcdir="$$s/libcpp";; \
31359 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
31360 libsrcdir="$$s/libcpp";; \
31362 $(SHELL) $${libsrcdir}/configure \
31363 $(HOST_CONFIGARGS) $${srcdiroption} \
31364 @stage2_werror_flag@
31366 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
31367 all-stageprofile-libcpp: configure-stageprofile-libcpp
31368 @$(MAKE) stageprofile-start
31369 @r=`${PWD_COMMAND}`; export r; \
31370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31371 $(STAGE_HOST_EXPORTS) \
31373 $(MAKE) $(FLAGS_TO_PASS) \
31374 $(POSTSTAGE1_FLAGS_TO_PASS) \
31375 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31377 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
31378 clean-stageprofile-libcpp:
31379 @[ -f libcpp/Makefile ] || [ -f stageprofile-libcpp/Makefile ] \
31381 [ -f libcpp/Makefile ] || $(MAKE) stageprofile-start ; \
31383 $(MAKE) $(FLAGS_TO_PASS) \
31384 $(POSTSTAGE1_FLAGS_TO_PASS) \
31385 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31386 @endif libcpp-bootstrap
31389 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
31390 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
31391 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
31393 maybe-configure-stageprofile-libiberty:
31394 maybe-all-stageprofile-libiberty:
31395 maybe-clean-stageprofile-libiberty:
31397 @if libiberty-bootstrap
31398 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
31399 configure-stageprofile-libiberty:
31400 @$(MAKE) stageprofile-start
31401 @[ -f libiberty/Makefile ] && exit 0 || : ; \
31402 r=`${PWD_COMMAND}`; export r; \
31403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31404 $(STAGE_HOST_EXPORTS) \
31405 echo Configuring stage profile in libiberty ; \
31406 cd libiberty || exit 1; \
31407 case $(srcdir) in \
31409 srcdiroption="--srcdir=."; \
31411 /* | [A-Za-z]:[\\/]*) \
31412 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
31413 libsrcdir="$$s/libiberty";; \
31415 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
31416 libsrcdir="$$s/libiberty";; \
31418 $(SHELL) $${libsrcdir}/configure \
31419 $(HOST_CONFIGARGS) $${srcdiroption} \
31420 @stage2_werror_flag@
31422 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
31423 all-stageprofile-libiberty: configure-stageprofile-libiberty
31424 @$(MAKE) stageprofile-start
31425 @r=`${PWD_COMMAND}`; export r; \
31426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31427 $(STAGE_HOST_EXPORTS) \
31429 $(MAKE) $(FLAGS_TO_PASS) \
31430 $(POSTSTAGE1_FLAGS_TO_PASS) \
31431 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31433 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
31434 clean-stageprofile-libiberty:
31435 @[ -f libiberty/Makefile ] || [ -f stageprofile-libiberty/Makefile ] \
31437 [ -f libiberty/Makefile ] || $(MAKE) stageprofile-start ; \
31439 $(MAKE) $(FLAGS_TO_PASS) \
31440 $(POSTSTAGE1_FLAGS_TO_PASS) \
31441 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31442 @endif libiberty-bootstrap
31445 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
31446 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
31447 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
31449 maybe-configure-stageprofile-zlib:
31450 maybe-all-stageprofile-zlib:
31451 maybe-clean-stageprofile-zlib:
31454 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
31455 configure-stageprofile-zlib:
31456 @$(MAKE) stageprofile-start
31457 @[ -f zlib/Makefile ] && exit 0 || : ; \
31458 r=`${PWD_COMMAND}`; export r; \
31459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31460 $(STAGE_HOST_EXPORTS) \
31461 echo Configuring stage profile in zlib ; \
31462 cd zlib || exit 1; \
31463 case $(srcdir) in \
31465 srcdiroption="--srcdir=."; \
31467 /* | [A-Za-z]:[\\/]*) \
31468 srcdiroption="--srcdir=$(srcdir)/zlib"; \
31469 libsrcdir="$$s/zlib";; \
31471 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
31472 libsrcdir="$$s/zlib";; \
31474 $(SHELL) $${libsrcdir}/configure \
31475 $(HOST_CONFIGARGS) $${srcdiroption} \
31476 @stage2_werror_flag@
31478 maybe-all-stageprofile-zlib: all-stageprofile-zlib
31479 all-stageprofile-zlib: configure-stageprofile-zlib
31480 @$(MAKE) stageprofile-start
31481 @r=`${PWD_COMMAND}`; export r; \
31482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31483 $(STAGE_HOST_EXPORTS) \
31485 $(MAKE) $(FLAGS_TO_PASS) \
31486 $(POSTSTAGE1_FLAGS_TO_PASS) \
31487 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31489 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
31490 clean-stageprofile-zlib:
31491 @[ -f zlib/Makefile ] || [ -f stageprofile-zlib/Makefile ] \
31493 [ -f zlib/Makefile ] || $(MAKE) stageprofile-start ; \
31495 $(MAKE) $(FLAGS_TO_PASS) \
31496 $(POSTSTAGE1_FLAGS_TO_PASS) \
31497 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31498 @endif zlib-bootstrap
31502 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31503 # only possibility, but now it conflicts with no-bootstrap rules
31509 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31510 distclean-stage1:: distclean-stageprofile
31511 .PHONY: distclean-stageprofile
31512 distclean-stageprofile::
31513 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31514 rm -rf stageprofile-*
31517 @endif gcc-bootstrap
31520 .PHONY: stagefeedback-start stagefeedback-end
31522 stagefeedback-start::
31523 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31524 echo stagefeedback > stage_current ; \
31525 echo stagefeedback > stage_last
31527 @[ -d stagefeedback-bfd ] || mkdir stagefeedback-bfd; \
31528 set stagefeedback-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
31529 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
31532 @[ -d stagefeedback-opcodes ] || mkdir stagefeedback-opcodes; \
31533 set stagefeedback-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
31534 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
31537 @[ -d stagefeedback-binutils ] || mkdir stagefeedback-binutils; \
31538 set stagefeedback-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
31539 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
31542 @[ -d stagefeedback-gas ] || mkdir stagefeedback-gas; \
31543 set stagefeedback-gas gas ; @CREATE_LINK_TO_DIR@ ; \
31544 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
31547 @[ -d stagefeedback-gcc ] || mkdir stagefeedback-gcc; \
31548 set stagefeedback-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
31549 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
31552 @[ -d stagefeedback-intl ] || mkdir stagefeedback-intl; \
31553 set stagefeedback-intl intl ; @CREATE_LINK_TO_DIR@ ; \
31554 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
31557 @[ -d stagefeedback-ld ] || mkdir stagefeedback-ld; \
31558 set stagefeedback-ld ld ; @CREATE_LINK_TO_DIR@ ; \
31559 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
31562 @[ -d stagefeedback-libcpp ] || mkdir stagefeedback-libcpp; \
31563 set stagefeedback-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
31564 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
31567 @[ -d stagefeedback-libiberty ] || mkdir stagefeedback-libiberty; \
31568 set stagefeedback-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
31569 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
31572 @[ -d stagefeedback-zlib ] || mkdir stagefeedback-zlib; \
31573 set stagefeedback-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
31574 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
31577 stagefeedback-end::
31578 @rm -f stage_current
31580 @set bfd stagefeedback-bfd ; @UNDO_LINK_TO_DIR@ ; \
31581 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
31584 @set opcodes stagefeedback-opcodes ; @UNDO_LINK_TO_DIR@ ; \
31585 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
31588 @set binutils stagefeedback-binutils ; @UNDO_LINK_TO_DIR@ ; \
31589 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
31592 @set gas stagefeedback-gas ; @UNDO_LINK_TO_DIR@ ; \
31593 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
31596 @set gcc stagefeedback-gcc ; @UNDO_LINK_TO_DIR@ ; \
31597 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
31600 @set intl stagefeedback-intl ; @UNDO_LINK_TO_DIR@ ; \
31601 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
31604 @set ld stagefeedback-ld ; @UNDO_LINK_TO_DIR@ ; \
31605 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
31608 @set libcpp stagefeedback-libcpp ; @UNDO_LINK_TO_DIR@ ; \
31609 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
31612 @set libiberty stagefeedback-libiberty ; @UNDO_LINK_TO_DIR@ ; \
31613 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
31616 @set zlib stagefeedback-zlib ; @UNDO_LINK_TO_DIR@ ; \
31617 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
31620 # Bubble a bugfix through all the stages up to stage feedback. They
31621 # are remade, but not reconfigured. The next stage (if any) will not
31622 # be reconfigured as well.
31623 .PHONY: stagefeedback-bubble
31624 stagefeedback-bubble:: stage1-bubble
31625 @if test -f stagefeedback-lean || test -f stage1-lean ; then \
31626 echo Skipping rebuild of stagefeedback ; \
31628 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stagefeedback; \
31631 .PHONY: all-stagefeedback clean-stagefeedback
31632 all-stagefeedback: \
31633 maybe-all-stagefeedback-bfd \
31634 maybe-all-stagefeedback-opcodes \
31635 maybe-all-stagefeedback-binutils \
31636 maybe-all-stagefeedback-gas \
31637 maybe-all-stagefeedback-gcc \
31638 maybe-all-stagefeedback-intl \
31639 maybe-all-stagefeedback-ld \
31640 maybe-all-stagefeedback-libcpp \
31641 maybe-all-stagefeedback-libiberty \
31642 maybe-all-stagefeedback-zlib
31644 do-clean: clean-stagefeedback
31645 clean-stagefeedback: \
31646 maybe-clean-stagefeedback-bfd \
31647 maybe-clean-stagefeedback-opcodes \
31648 maybe-clean-stagefeedback-binutils \
31649 maybe-clean-stagefeedback-gas \
31650 maybe-clean-stagefeedback-gcc \
31651 maybe-clean-stagefeedback-intl \
31652 maybe-clean-stagefeedback-ld \
31653 maybe-clean-stagefeedback-libcpp \
31654 maybe-clean-stagefeedback-libiberty \
31655 maybe-clean-stagefeedback-zlib
31658 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
31659 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
31660 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
31662 maybe-configure-stagefeedback-bfd:
31663 maybe-all-stagefeedback-bfd:
31664 maybe-clean-stagefeedback-bfd:
31667 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
31668 configure-stagefeedback-bfd:
31669 @$(MAKE) stagefeedback-start
31670 @[ -f bfd/Makefile ] && exit 0 || : ; \
31671 r=`${PWD_COMMAND}`; export r; \
31672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31673 $(STAGE_HOST_EXPORTS) \
31674 echo Configuring stage feedback in bfd ; \
31675 cd bfd || exit 1; \
31676 case $(srcdir) in \
31678 srcdiroption="--srcdir=."; \
31680 /* | [A-Za-z]:[\\/]*) \
31681 srcdiroption="--srcdir=$(srcdir)/bfd"; \
31682 libsrcdir="$$s/bfd";; \
31684 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
31685 libsrcdir="$$s/bfd";; \
31687 $(SHELL) $${libsrcdir}/configure \
31688 $(HOST_CONFIGARGS) $${srcdiroption} \
31689 @stage2_werror_flag@
31691 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
31692 all-stagefeedback-bfd: configure-stagefeedback-bfd
31693 @$(MAKE) stagefeedback-start
31694 @r=`${PWD_COMMAND}`; export r; \
31695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31696 $(STAGE_HOST_EXPORTS) \
31698 $(MAKE) $(FLAGS_TO_PASS) \
31699 $(POSTSTAGE1_FLAGS_TO_PASS) \
31700 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
31702 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
31703 clean-stagefeedback-bfd:
31704 @[ -f bfd/Makefile ] || [ -f stagefeedback-bfd/Makefile ] \
31706 [ -f bfd/Makefile ] || $(MAKE) stagefeedback-start ; \
31708 $(MAKE) $(FLAGS_TO_PASS) \
31709 $(POSTSTAGE1_FLAGS_TO_PASS) \
31710 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
31711 @endif bfd-bootstrap
31714 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
31715 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
31716 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
31718 maybe-configure-stagefeedback-opcodes:
31719 maybe-all-stagefeedback-opcodes:
31720 maybe-clean-stagefeedback-opcodes:
31722 @if opcodes-bootstrap
31723 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
31724 configure-stagefeedback-opcodes:
31725 @$(MAKE) stagefeedback-start
31726 @[ -f opcodes/Makefile ] && exit 0 || : ; \
31727 r=`${PWD_COMMAND}`; export r; \
31728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31729 $(STAGE_HOST_EXPORTS) \
31730 echo Configuring stage feedback in opcodes ; \
31731 cd opcodes || exit 1; \
31732 case $(srcdir) in \
31734 srcdiroption="--srcdir=."; \
31736 /* | [A-Za-z]:[\\/]*) \
31737 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
31738 libsrcdir="$$s/opcodes";; \
31740 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
31741 libsrcdir="$$s/opcodes";; \
31743 $(SHELL) $${libsrcdir}/configure \
31744 $(HOST_CONFIGARGS) $${srcdiroption} \
31745 @stage2_werror_flag@
31747 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
31748 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
31749 @$(MAKE) stagefeedback-start
31750 @r=`${PWD_COMMAND}`; export r; \
31751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31752 $(STAGE_HOST_EXPORTS) \
31754 $(MAKE) $(FLAGS_TO_PASS) \
31755 $(POSTSTAGE1_FLAGS_TO_PASS) \
31756 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
31758 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
31759 clean-stagefeedback-opcodes:
31760 @[ -f opcodes/Makefile ] || [ -f stagefeedback-opcodes/Makefile ] \
31762 [ -f opcodes/Makefile ] || $(MAKE) stagefeedback-start ; \
31764 $(MAKE) $(FLAGS_TO_PASS) \
31765 $(POSTSTAGE1_FLAGS_TO_PASS) \
31766 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
31767 @endif opcodes-bootstrap
31770 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
31771 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
31772 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
31774 maybe-configure-stagefeedback-binutils:
31775 maybe-all-stagefeedback-binutils:
31776 maybe-clean-stagefeedback-binutils:
31778 @if binutils-bootstrap
31779 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
31780 configure-stagefeedback-binutils:
31781 @$(MAKE) stagefeedback-start
31782 @[ -f binutils/Makefile ] && exit 0 || : ; \
31783 r=`${PWD_COMMAND}`; export r; \
31784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31785 $(STAGE_HOST_EXPORTS) \
31786 echo Configuring stage feedback in binutils ; \
31787 cd binutils || exit 1; \
31788 case $(srcdir) in \
31790 srcdiroption="--srcdir=."; \
31792 /* | [A-Za-z]:[\\/]*) \
31793 srcdiroption="--srcdir=$(srcdir)/binutils"; \
31794 libsrcdir="$$s/binutils";; \
31796 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
31797 libsrcdir="$$s/binutils";; \
31799 $(SHELL) $${libsrcdir}/configure \
31800 $(HOST_CONFIGARGS) $${srcdiroption} \
31801 @stage2_werror_flag@
31803 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
31804 all-stagefeedback-binutils: configure-stagefeedback-binutils
31805 @$(MAKE) stagefeedback-start
31806 @r=`${PWD_COMMAND}`; export r; \
31807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31808 $(STAGE_HOST_EXPORTS) \
31810 $(MAKE) $(FLAGS_TO_PASS) \
31811 $(POSTSTAGE1_FLAGS_TO_PASS) \
31812 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
31814 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
31815 clean-stagefeedback-binutils:
31816 @[ -f binutils/Makefile ] || [ -f stagefeedback-binutils/Makefile ] \
31818 [ -f binutils/Makefile ] || $(MAKE) stagefeedback-start ; \
31820 $(MAKE) $(FLAGS_TO_PASS) \
31821 $(POSTSTAGE1_FLAGS_TO_PASS) \
31822 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
31823 @endif binutils-bootstrap
31826 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
31827 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
31828 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
31830 maybe-configure-stagefeedback-gas:
31831 maybe-all-stagefeedback-gas:
31832 maybe-clean-stagefeedback-gas:
31835 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
31836 configure-stagefeedback-gas:
31837 @$(MAKE) stagefeedback-start
31838 @[ -f gas/Makefile ] && exit 0 || : ; \
31839 r=`${PWD_COMMAND}`; export r; \
31840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31841 $(STAGE_HOST_EXPORTS) \
31842 echo Configuring stage feedback in gas ; \
31843 cd gas || exit 1; \
31844 case $(srcdir) in \
31846 srcdiroption="--srcdir=."; \
31848 /* | [A-Za-z]:[\\/]*) \
31849 srcdiroption="--srcdir=$(srcdir)/gas"; \
31850 libsrcdir="$$s/gas";; \
31852 srcdiroption="--srcdir=../$(srcdir)/gas"; \
31853 libsrcdir="$$s/gas";; \
31855 $(SHELL) $${libsrcdir}/configure \
31856 $(HOST_CONFIGARGS) $${srcdiroption} \
31857 @stage2_werror_flag@
31859 maybe-all-stagefeedback-gas: all-stagefeedback-gas
31860 all-stagefeedback-gas: configure-stagefeedback-gas
31861 @$(MAKE) stagefeedback-start
31862 @r=`${PWD_COMMAND}`; export r; \
31863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31864 $(STAGE_HOST_EXPORTS) \
31866 $(MAKE) $(FLAGS_TO_PASS) \
31867 $(POSTSTAGE1_FLAGS_TO_PASS) \
31868 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
31870 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
31871 clean-stagefeedback-gas:
31872 @[ -f gas/Makefile ] || [ -f stagefeedback-gas/Makefile ] \
31874 [ -f gas/Makefile ] || $(MAKE) stagefeedback-start ; \
31876 $(MAKE) $(FLAGS_TO_PASS) \
31877 $(POSTSTAGE1_FLAGS_TO_PASS) \
31878 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
31879 @endif gas-bootstrap
31882 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
31883 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
31884 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
31886 maybe-configure-stagefeedback-gcc:
31887 maybe-all-stagefeedback-gcc:
31888 maybe-clean-stagefeedback-gcc:
31891 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
31892 configure-stagefeedback-gcc:
31893 @$(MAKE) stagefeedback-start
31894 @[ -f gcc/Makefile ] && exit 0 || : ; \
31895 r=`${PWD_COMMAND}`; export r; \
31896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31897 $(STAGE_HOST_EXPORTS) \
31898 echo Configuring stage feedback in gcc ; \
31899 cd gcc || exit 1; \
31900 case $(srcdir) in \
31902 srcdiroption="--srcdir=."; \
31904 /* | [A-Za-z]:[\\/]*) \
31905 srcdiroption="--srcdir=$(srcdir)/gcc"; \
31906 libsrcdir="$$s/gcc";; \
31908 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
31909 libsrcdir="$$s/gcc";; \
31911 $(SHELL) $${libsrcdir}/configure \
31912 $(HOST_CONFIGARGS) $${srcdiroption} \
31913 @stage2_werror_flag@
31915 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
31916 all-stagefeedback-gcc: configure-stagefeedback-gcc
31917 @$(MAKE) stagefeedback-start
31918 @r=`${PWD_COMMAND}`; export r; \
31919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31920 $(STAGE_HOST_EXPORTS) \
31922 $(MAKE) $(FLAGS_TO_PASS) \
31923 $(POSTSTAGE1_FLAGS_TO_PASS) \
31924 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS)
31926 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
31927 clean-stagefeedback-gcc:
31928 @[ -f gcc/Makefile ] || [ -f stagefeedback-gcc/Makefile ] \
31930 [ -f gcc/Makefile ] || $(MAKE) stagefeedback-start ; \
31932 $(MAKE) $(FLAGS_TO_PASS) \
31933 $(POSTSTAGE1_FLAGS_TO_PASS) \
31934 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
31935 @endif gcc-bootstrap
31938 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
31939 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
31940 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
31942 maybe-configure-stagefeedback-intl:
31943 maybe-all-stagefeedback-intl:
31944 maybe-clean-stagefeedback-intl:
31947 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
31948 configure-stagefeedback-intl:
31949 @$(MAKE) stagefeedback-start
31950 @[ -f intl/Makefile ] && exit 0 || : ; \
31951 r=`${PWD_COMMAND}`; export r; \
31952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31953 $(STAGE_HOST_EXPORTS) \
31954 echo Configuring stage feedback in intl ; \
31955 cd intl || exit 1; \
31956 case $(srcdir) in \
31958 srcdiroption="--srcdir=."; \
31960 /* | [A-Za-z]:[\\/]*) \
31961 srcdiroption="--srcdir=$(srcdir)/intl"; \
31962 libsrcdir="$$s/intl";; \
31964 srcdiroption="--srcdir=../$(srcdir)/intl"; \
31965 libsrcdir="$$s/intl";; \
31967 $(SHELL) $${libsrcdir}/configure \
31968 $(HOST_CONFIGARGS) $${srcdiroption} \
31969 @stage2_werror_flag@
31971 maybe-all-stagefeedback-intl: all-stagefeedback-intl
31972 all-stagefeedback-intl: configure-stagefeedback-intl
31973 @$(MAKE) stagefeedback-start
31974 @r=`${PWD_COMMAND}`; export r; \
31975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31976 $(STAGE_HOST_EXPORTS) \
31978 $(MAKE) $(FLAGS_TO_PASS) \
31979 $(POSTSTAGE1_FLAGS_TO_PASS) \
31980 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
31982 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
31983 clean-stagefeedback-intl:
31984 @[ -f intl/Makefile ] || [ -f stagefeedback-intl/Makefile ] \
31986 [ -f intl/Makefile ] || $(MAKE) stagefeedback-start ; \
31988 $(MAKE) $(FLAGS_TO_PASS) \
31989 $(POSTSTAGE1_FLAGS_TO_PASS) \
31990 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
31991 @endif intl-bootstrap
31994 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
31995 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
31996 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
31998 maybe-configure-stagefeedback-ld:
31999 maybe-all-stagefeedback-ld:
32000 maybe-clean-stagefeedback-ld:
32003 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
32004 configure-stagefeedback-ld:
32005 @$(MAKE) stagefeedback-start
32006 @[ -f ld/Makefile ] && exit 0 || : ; \
32007 r=`${PWD_COMMAND}`; export r; \
32008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32009 $(STAGE_HOST_EXPORTS) \
32010 echo Configuring stage feedback in ld ; \
32012 case $(srcdir) in \
32014 srcdiroption="--srcdir=."; \
32016 /* | [A-Za-z]:[\\/]*) \
32017 srcdiroption="--srcdir=$(srcdir)/ld"; \
32018 libsrcdir="$$s/ld";; \
32020 srcdiroption="--srcdir=../$(srcdir)/ld"; \
32021 libsrcdir="$$s/ld";; \
32023 $(SHELL) $${libsrcdir}/configure \
32024 $(HOST_CONFIGARGS) $${srcdiroption} \
32025 @stage2_werror_flag@
32027 maybe-all-stagefeedback-ld: all-stagefeedback-ld
32028 all-stagefeedback-ld: configure-stagefeedback-ld
32029 @$(MAKE) stagefeedback-start
32030 @r=`${PWD_COMMAND}`; export r; \
32031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32032 $(STAGE_HOST_EXPORTS) \
32034 $(MAKE) $(FLAGS_TO_PASS) \
32035 $(POSTSTAGE1_FLAGS_TO_PASS) \
32036 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32038 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
32039 clean-stagefeedback-ld:
32040 @[ -f ld/Makefile ] || [ -f stagefeedback-ld/Makefile ] \
32042 [ -f ld/Makefile ] || $(MAKE) stagefeedback-start ; \
32044 $(MAKE) $(FLAGS_TO_PASS) \
32045 $(POSTSTAGE1_FLAGS_TO_PASS) \
32046 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32047 @endif ld-bootstrap
32050 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
32051 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
32052 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
32054 maybe-configure-stagefeedback-libcpp:
32055 maybe-all-stagefeedback-libcpp:
32056 maybe-clean-stagefeedback-libcpp:
32058 @if libcpp-bootstrap
32059 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
32060 configure-stagefeedback-libcpp:
32061 @$(MAKE) stagefeedback-start
32062 @[ -f libcpp/Makefile ] && exit 0 || : ; \
32063 r=`${PWD_COMMAND}`; export r; \
32064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32065 $(STAGE_HOST_EXPORTS) \
32066 echo Configuring stage feedback in libcpp ; \
32067 cd libcpp || exit 1; \
32068 case $(srcdir) in \
32070 srcdiroption="--srcdir=."; \
32072 /* | [A-Za-z]:[\\/]*) \
32073 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
32074 libsrcdir="$$s/libcpp";; \
32076 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
32077 libsrcdir="$$s/libcpp";; \
32079 $(SHELL) $${libsrcdir}/configure \
32080 $(HOST_CONFIGARGS) $${srcdiroption} \
32081 @stage2_werror_flag@
32083 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
32084 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
32085 @$(MAKE) stagefeedback-start
32086 @r=`${PWD_COMMAND}`; export r; \
32087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32088 $(STAGE_HOST_EXPORTS) \
32090 $(MAKE) $(FLAGS_TO_PASS) \
32091 $(POSTSTAGE1_FLAGS_TO_PASS) \
32092 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32094 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
32095 clean-stagefeedback-libcpp:
32096 @[ -f libcpp/Makefile ] || [ -f stagefeedback-libcpp/Makefile ] \
32098 [ -f libcpp/Makefile ] || $(MAKE) stagefeedback-start ; \
32100 $(MAKE) $(FLAGS_TO_PASS) \
32101 $(POSTSTAGE1_FLAGS_TO_PASS) \
32102 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32103 @endif libcpp-bootstrap
32106 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
32107 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
32108 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
32110 maybe-configure-stagefeedback-libiberty:
32111 maybe-all-stagefeedback-libiberty:
32112 maybe-clean-stagefeedback-libiberty:
32114 @if libiberty-bootstrap
32115 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
32116 configure-stagefeedback-libiberty:
32117 @$(MAKE) stagefeedback-start
32118 @[ -f libiberty/Makefile ] && exit 0 || : ; \
32119 r=`${PWD_COMMAND}`; export r; \
32120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32121 $(STAGE_HOST_EXPORTS) \
32122 echo Configuring stage feedback in libiberty ; \
32123 cd libiberty || exit 1; \
32124 case $(srcdir) in \
32126 srcdiroption="--srcdir=."; \
32128 /* | [A-Za-z]:[\\/]*) \
32129 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
32130 libsrcdir="$$s/libiberty";; \
32132 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
32133 libsrcdir="$$s/libiberty";; \
32135 $(SHELL) $${libsrcdir}/configure \
32136 $(HOST_CONFIGARGS) $${srcdiroption} \
32137 @stage2_werror_flag@
32139 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
32140 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
32141 @$(MAKE) stagefeedback-start
32142 @r=`${PWD_COMMAND}`; export r; \
32143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32144 $(STAGE_HOST_EXPORTS) \
32146 $(MAKE) $(FLAGS_TO_PASS) \
32147 $(POSTSTAGE1_FLAGS_TO_PASS) \
32148 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32150 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
32151 clean-stagefeedback-libiberty:
32152 @[ -f libiberty/Makefile ] || [ -f stagefeedback-libiberty/Makefile ] \
32154 [ -f libiberty/Makefile ] || $(MAKE) stagefeedback-start ; \
32156 $(MAKE) $(FLAGS_TO_PASS) \
32157 $(POSTSTAGE1_FLAGS_TO_PASS) \
32158 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32159 @endif libiberty-bootstrap
32162 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
32163 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
32164 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
32166 maybe-configure-stagefeedback-zlib:
32167 maybe-all-stagefeedback-zlib:
32168 maybe-clean-stagefeedback-zlib:
32171 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
32172 configure-stagefeedback-zlib:
32173 @$(MAKE) stagefeedback-start
32174 @[ -f zlib/Makefile ] && exit 0 || : ; \
32175 r=`${PWD_COMMAND}`; export r; \
32176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32177 $(STAGE_HOST_EXPORTS) \
32178 echo Configuring stage feedback in zlib ; \
32179 cd zlib || exit 1; \
32180 case $(srcdir) in \
32182 srcdiroption="--srcdir=."; \
32184 /* | [A-Za-z]:[\\/]*) \
32185 srcdiroption="--srcdir=$(srcdir)/zlib"; \
32186 libsrcdir="$$s/zlib";; \
32188 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
32189 libsrcdir="$$s/zlib";; \
32191 $(SHELL) $${libsrcdir}/configure \
32192 $(HOST_CONFIGARGS) $${srcdiroption} \
32193 @stage2_werror_flag@
32195 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
32196 all-stagefeedback-zlib: configure-stagefeedback-zlib
32197 @$(MAKE) stagefeedback-start
32198 @r=`${PWD_COMMAND}`; export r; \
32199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32200 $(STAGE_HOST_EXPORTS) \
32202 $(MAKE) $(FLAGS_TO_PASS) \
32203 $(POSTSTAGE1_FLAGS_TO_PASS) \
32204 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32206 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
32207 clean-stagefeedback-zlib:
32208 @[ -f zlib/Makefile ] || [ -f stagefeedback-zlib/Makefile ] \
32210 [ -f zlib/Makefile ] || $(MAKE) stagefeedback-start ; \
32212 $(MAKE) $(FLAGS_TO_PASS) \
32213 $(POSTSTAGE1_FLAGS_TO_PASS) \
32214 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32215 @endif zlib-bootstrap
32219 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32220 # only possibility, but now it conflicts with no-bootstrap rules
32226 # Rules to wipe a stage and all the following ones, also used for cleanstrap
32227 distclean-stage1:: distclean-stagefeedback
32228 .PHONY: distclean-stagefeedback
32229 distclean-stagefeedback::
32230 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
32231 rm -rf stagefeedback-*
32234 @endif gcc-bootstrap
32238 stagefeedback-start::
32239 @r=`${PWD_COMMAND}`; export r; \
32240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32241 cd stageprofile-gcc && \
32242 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \
32243 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); }
32245 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32246 # only possibility, but now it conflicts with no-bootstrap rules
32249 @r=`${PWD_COMMAND}`; export r; \
32250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32253 echo "Bootstrapping the compiler"; \
32254 $(MAKE) stageprofile-bubble distclean-stagefeedback
32255 @r=`${PWD_COMMAND}`; export r; \
32256 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
32258 echo "Building runtime libraries and training compiler"; \
32259 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
32260 @r=`${PWD_COMMAND}`; export r; \
32261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32264 echo "Building feedback based compiler"; \
32265 $(MAKE) stagefeedback-bubble stagefeedback-end
32266 @endif gcc-bootstrap
32269 NOTPARALLEL = .NOTPARALLEL
32271 do-distclean: distclean-stage1
32272 @endif gcc-bootstrap
32274 # --------------------------------------
32275 # Dependencies between different modules
32276 # --------------------------------------
32278 # Generic dependencies for target modules on host stuff, especially gcc
32280 configure-target-libstdc++-v3: maybe-all-gcc
32282 configure-target-libmudflap: maybe-all-gcc
32284 configure-target-newlib: maybe-all-gcc
32286 configure-target-libgfortran: maybe-all-gcc
32288 configure-target-libobjc: maybe-all-gcc
32290 configure-target-libtermcap: maybe-all-gcc
32292 configure-target-winsup: maybe-all-gcc
32294 configure-target-libgloss: maybe-all-gcc
32296 configure-target-libiberty: maybe-all-gcc
32298 configure-target-gperf: maybe-all-gcc
32300 configure-target-examples: maybe-all-gcc
32302 configure-target-libffi: maybe-all-gcc
32304 configure-target-libjava: maybe-all-gcc
32306 configure-target-zlib: maybe-all-gcc
32308 configure-target-boehm-gc: maybe-all-gcc
32310 configure-target-qthreads: maybe-all-gcc
32312 configure-target-rda: maybe-all-gcc
32314 configure-target-libada: maybe-all-gcc
32318 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
32320 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
32321 configure-target-gperf: maybe-all-target-libstdc++-v3
32323 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
32325 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
32327 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
32329 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
32330 configure-target-libjava: maybe-all-target-libstdc++-v3
32332 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
32334 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
32336 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
32338 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
32340 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
32342 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
32344 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
32346 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
32349 # There are two types of dependencies here: 'hard' dependencies, where one
32350 # module simply won't build without the other; and 'soft' dependencies, where
32351 # if the depended-on module is missing, the depending module will do without
32352 # or find a substitute somewhere (perhaps installed). Soft dependencies
32353 # are made here to depend on a 'maybe-' target. If you're not sure,
32354 # it's safer to use a soft dependency.
32360 # With all the machinery above in place, it is pretty easy to generate
32361 # dependencies. Host dependencies are a bit more complex because we have
32362 # to check for bootstrap/prebootstrap dependencies. To resolve
32363 # prebootstrap dependencies, prebootstrap modules are gathered in
32365 all-build-bison: maybe-all-build-texinfo
32366 all-build-byacc: maybe-all-build-texinfo
32367 all-build-flex: maybe-all-build-texinfo
32368 all-build-flex: maybe-all-build-bison
32369 all-build-flex: maybe-all-build-byacc
32370 all-build-flex: maybe-all-build-m4
32371 all-build-libiberty: maybe-all-build-texinfo
32372 all-build-m4: maybe-all-build-texinfo
32373 all-build-fixincludes: maybe-all-build-libiberty
32374 configure-gcc: maybe-configure-intl
32376 configure-stage1-gcc: maybe-configure-stage1-intl
32377 configure-stage2-gcc: maybe-configure-stage2-intl
32378 configure-stage3-gcc: maybe-configure-stage3-intl
32379 configure-stage4-gcc: maybe-configure-stage4-intl
32380 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
32381 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
32382 configure-gcc: maybe-configure-binutils
32384 configure-stage1-gcc: maybe-configure-stage1-binutils
32385 configure-stage2-gcc: maybe-configure-stage2-binutils
32386 configure-stage3-gcc: maybe-configure-stage3-binutils
32387 configure-stage4-gcc: maybe-configure-stage4-binutils
32388 configure-stageprofile-gcc: maybe-configure-stageprofile-binutils
32389 configure-stagefeedback-gcc: maybe-configure-stagefeedback-binutils
32390 configure-gcc: maybe-configure-gas
32392 configure-stage1-gcc: maybe-configure-stage1-gas
32393 configure-stage2-gcc: maybe-configure-stage2-gas
32394 configure-stage3-gcc: maybe-configure-stage3-gas
32395 configure-stage4-gcc: maybe-configure-stage4-gas
32396 configure-stageprofile-gcc: maybe-configure-stageprofile-gas
32397 configure-stagefeedback-gcc: maybe-configure-stagefeedback-gas
32398 configure-gcc: maybe-configure-ld
32400 configure-stage1-gcc: maybe-configure-stage1-ld
32401 configure-stage2-gcc: maybe-configure-stage2-ld
32402 configure-stage3-gcc: maybe-configure-stage3-ld
32403 configure-stage4-gcc: maybe-configure-stage4-ld
32404 configure-stageprofile-gcc: maybe-configure-stageprofile-ld
32405 configure-stagefeedback-gcc: maybe-configure-stagefeedback-ld
32406 all-gcc: all-libiberty
32408 all-stage1-gcc: all-stage1-libiberty
32409 all-stage2-gcc: all-stage2-libiberty
32410 all-stage3-gcc: all-stage3-libiberty
32411 all-stage4-gcc: all-stage4-libiberty
32412 all-stageprofile-gcc: all-stageprofile-libiberty
32413 all-stagefeedback-gcc: all-stagefeedback-libiberty
32414 all-gcc: maybe-all-intl
32416 all-stage1-gcc: maybe-all-stage1-intl
32417 all-stage2-gcc: maybe-all-stage2-intl
32418 all-stage3-gcc: maybe-all-stage3-intl
32419 all-stage4-gcc: maybe-all-stage4-intl
32420 all-stageprofile-gcc: maybe-all-stageprofile-intl
32421 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
32422 all-gcc: maybe-all-build-texinfo
32424 all-stage1-gcc: maybe-all-build-texinfo
32425 all-stage2-gcc: maybe-all-build-texinfo
32426 all-stage3-gcc: maybe-all-build-texinfo
32427 all-stage4-gcc: maybe-all-build-texinfo
32428 all-stageprofile-gcc: maybe-all-build-texinfo
32429 all-stagefeedback-gcc: maybe-all-build-texinfo
32430 all-prebootstrap: maybe-all-build-texinfo
32431 all-gcc: maybe-all-build-bison
32433 all-stage1-gcc: maybe-all-build-bison
32434 all-stage2-gcc: maybe-all-build-bison
32435 all-stage3-gcc: maybe-all-build-bison
32436 all-stage4-gcc: maybe-all-build-bison
32437 all-stageprofile-gcc: maybe-all-build-bison
32438 all-stagefeedback-gcc: maybe-all-build-bison
32439 all-prebootstrap: maybe-all-build-bison
32440 all-gcc: maybe-all-build-byacc
32442 all-stage1-gcc: maybe-all-build-byacc
32443 all-stage2-gcc: maybe-all-build-byacc
32444 all-stage3-gcc: maybe-all-build-byacc
32445 all-stage4-gcc: maybe-all-build-byacc
32446 all-stageprofile-gcc: maybe-all-build-byacc
32447 all-stagefeedback-gcc: maybe-all-build-byacc
32448 all-prebootstrap: maybe-all-build-byacc
32449 all-gcc: maybe-all-build-flex
32451 all-stage1-gcc: maybe-all-build-flex
32452 all-stage2-gcc: maybe-all-build-flex
32453 all-stage3-gcc: maybe-all-build-flex
32454 all-stage4-gcc: maybe-all-build-flex
32455 all-stageprofile-gcc: maybe-all-build-flex
32456 all-stagefeedback-gcc: maybe-all-build-flex
32457 all-prebootstrap: maybe-all-build-flex
32458 all-gcc: maybe-all-build-libiberty
32460 all-stage1-gcc: maybe-all-build-libiberty
32461 all-stage2-gcc: maybe-all-build-libiberty
32462 all-stage3-gcc: maybe-all-build-libiberty
32463 all-stage4-gcc: maybe-all-build-libiberty
32464 all-stageprofile-gcc: maybe-all-build-libiberty
32465 all-stagefeedback-gcc: maybe-all-build-libiberty
32466 all-prebootstrap: maybe-all-build-libiberty
32467 all-gcc: maybe-all-build-fixincludes
32469 all-stage1-gcc: maybe-all-build-fixincludes
32470 all-stage2-gcc: maybe-all-build-fixincludes
32471 all-stage3-gcc: maybe-all-build-fixincludes
32472 all-stage4-gcc: maybe-all-build-fixincludes
32473 all-stageprofile-gcc: maybe-all-build-fixincludes
32474 all-stagefeedback-gcc: maybe-all-build-fixincludes
32475 all-prebootstrap: maybe-all-build-fixincludes
32476 all-gcc: maybe-all-binutils
32478 all-stage1-gcc: maybe-all-stage1-binutils
32479 all-stage2-gcc: maybe-all-stage2-binutils
32480 all-stage3-gcc: maybe-all-stage3-binutils
32481 all-stage4-gcc: maybe-all-stage4-binutils
32482 all-stageprofile-gcc: maybe-all-stageprofile-binutils
32483 all-stagefeedback-gcc: maybe-all-stagefeedback-binutils
32484 all-gcc: maybe-all-gas
32486 all-stage1-gcc: maybe-all-stage1-gas
32487 all-stage2-gcc: maybe-all-stage2-gas
32488 all-stage3-gcc: maybe-all-stage3-gas
32489 all-stage4-gcc: maybe-all-stage4-gas
32490 all-stageprofile-gcc: maybe-all-stageprofile-gas
32491 all-stagefeedback-gcc: maybe-all-stagefeedback-gas
32492 all-gcc: maybe-all-ld
32494 all-stage1-gcc: maybe-all-stage1-ld
32495 all-stage2-gcc: maybe-all-stage2-ld
32496 all-stage3-gcc: maybe-all-stage3-ld
32497 all-stage4-gcc: maybe-all-stage4-ld
32498 all-stageprofile-gcc: maybe-all-stageprofile-ld
32499 all-stagefeedback-gcc: maybe-all-stagefeedback-ld
32500 all-gcc: maybe-all-zlib
32502 all-stage1-gcc: maybe-all-stage1-zlib
32503 all-stage2-gcc: maybe-all-stage2-zlib
32504 all-stage3-gcc: maybe-all-stage3-zlib
32505 all-stage4-gcc: maybe-all-stage4-zlib
32506 all-stageprofile-gcc: maybe-all-stageprofile-zlib
32507 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
32508 all-gcc: all-libcpp
32510 all-stage1-gcc: all-stage1-libcpp
32511 all-stage2-gcc: all-stage2-libcpp
32512 all-stage3-gcc: all-stage3-libcpp
32513 all-stage4-gcc: all-stage4-libcpp
32514 all-stageprofile-gcc: all-stageprofile-libcpp
32515 all-stagefeedback-gcc: all-stagefeedback-libcpp
32516 all-gcc: maybe-all-build-libiberty
32518 all-stage1-gcc: maybe-all-build-libiberty
32519 all-stage2-gcc: maybe-all-build-libiberty
32520 all-stage3-gcc: maybe-all-build-libiberty
32521 all-stage4-gcc: maybe-all-build-libiberty
32522 all-stageprofile-gcc: maybe-all-build-libiberty
32523 all-stagefeedback-gcc: maybe-all-build-libiberty
32524 all-prebootstrap: maybe-all-build-libiberty
32525 configure-libcpp: configure-libiberty
32527 configure-stage1-libcpp: configure-stage1-libiberty
32528 configure-stage2-libcpp: configure-stage2-libiberty
32529 configure-stage3-libcpp: configure-stage3-libiberty
32530 configure-stage4-libcpp: configure-stage4-libiberty
32531 configure-stageprofile-libcpp: configure-stageprofile-libiberty
32532 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
32533 configure-libcpp: maybe-configure-intl
32535 configure-stage1-libcpp: maybe-configure-stage1-intl
32536 configure-stage2-libcpp: maybe-configure-stage2-intl
32537 configure-stage3-libcpp: maybe-configure-stage3-intl
32538 configure-stage4-libcpp: maybe-configure-stage4-intl
32539 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
32540 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
32541 all-libcpp: all-libiberty
32543 all-stage1-libcpp: all-stage1-libiberty
32544 all-stage2-libcpp: all-stage2-libiberty
32545 all-stage3-libcpp: all-stage3-libiberty
32546 all-stage4-libcpp: all-stage4-libiberty
32547 all-stageprofile-libcpp: all-stageprofile-libiberty
32548 all-stagefeedback-libcpp: all-stagefeedback-libiberty
32549 all-libcpp: maybe-all-intl
32551 all-stage1-libcpp: maybe-all-stage1-intl
32552 all-stage2-libcpp: maybe-all-stage2-intl
32553 all-stage3-libcpp: maybe-all-stage3-intl
32554 all-stage4-libcpp: maybe-all-stage4-intl
32555 all-stageprofile-libcpp: maybe-all-stageprofile-intl
32556 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
32557 configure-gdb: maybe-configure-itcl
32558 configure-gdb: maybe-configure-tcl
32559 configure-gdb: maybe-configure-tk
32560 configure-gdb: maybe-configure-sim
32561 all-gdb: maybe-all-libiberty
32562 all-gdb: maybe-all-opcodes
32563 all-gdb: maybe-all-bfd
32564 all-gdb: maybe-all-readline
32565 all-gdb: maybe-all-build-bison
32566 all-gdb: maybe-all-build-byacc
32567 all-gdb: maybe-all-sim
32568 install-gdb: maybe-install-tcl
32569 install-gdb: maybe-install-tk
32570 install-gdb: maybe-install-itcl
32571 install-gdb: maybe-install-libgui
32572 configure-libgui: maybe-configure-tcl
32573 configure-libgui: maybe-configure-tk
32574 all-libgui: maybe-all-tcl
32575 all-libgui: maybe-all-tk
32576 all-libgui: maybe-all-itcl
32577 configure-bfd: configure-libiberty
32579 configure-stage1-bfd: configure-stage1-libiberty
32580 configure-stage2-bfd: configure-stage2-libiberty
32581 configure-stage3-bfd: configure-stage3-libiberty
32582 configure-stage4-bfd: configure-stage4-libiberty
32583 configure-stageprofile-bfd: configure-stageprofile-libiberty
32584 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
32585 all-bfd: maybe-all-libiberty
32587 all-stage1-bfd: maybe-all-stage1-libiberty
32588 all-stage2-bfd: maybe-all-stage2-libiberty
32589 all-stage3-bfd: maybe-all-stage3-libiberty
32590 all-stage4-bfd: maybe-all-stage4-libiberty
32591 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
32592 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
32593 all-bfd: maybe-all-intl
32595 all-stage1-bfd: maybe-all-stage1-intl
32596 all-stage2-bfd: maybe-all-stage2-intl
32597 all-stage3-bfd: maybe-all-stage3-intl
32598 all-stage4-bfd: maybe-all-stage4-intl
32599 all-stageprofile-bfd: maybe-all-stageprofile-intl
32600 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
32601 all-binutils: maybe-all-libiberty
32603 all-stage1-binutils: maybe-all-stage1-libiberty
32604 all-stage2-binutils: maybe-all-stage2-libiberty
32605 all-stage3-binutils: maybe-all-stage3-libiberty
32606 all-stage4-binutils: maybe-all-stage4-libiberty
32607 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
32608 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
32609 all-binutils: maybe-all-opcodes
32611 all-stage1-binutils: maybe-all-stage1-opcodes
32612 all-stage2-binutils: maybe-all-stage2-opcodes
32613 all-stage3-binutils: maybe-all-stage3-opcodes
32614 all-stage4-binutils: maybe-all-stage4-opcodes
32615 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
32616 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
32617 all-binutils: maybe-all-bfd
32619 all-stage1-binutils: maybe-all-stage1-bfd
32620 all-stage2-binutils: maybe-all-stage2-bfd
32621 all-stage3-binutils: maybe-all-stage3-bfd
32622 all-stage4-binutils: maybe-all-stage4-bfd
32623 all-stageprofile-binutils: maybe-all-stageprofile-bfd
32624 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
32625 all-binutils: maybe-all-build-flex
32627 all-stage1-binutils: maybe-all-build-flex
32628 all-stage2-binutils: maybe-all-build-flex
32629 all-stage3-binutils: maybe-all-build-flex
32630 all-stage4-binutils: maybe-all-build-flex
32631 all-stageprofile-binutils: maybe-all-build-flex
32632 all-stagefeedback-binutils: maybe-all-build-flex
32633 all-prebootstrap: maybe-all-build-flex
32634 all-binutils: maybe-all-build-bison
32636 all-stage1-binutils: maybe-all-build-bison
32637 all-stage2-binutils: maybe-all-build-bison
32638 all-stage3-binutils: maybe-all-build-bison
32639 all-stage4-binutils: maybe-all-build-bison
32640 all-stageprofile-binutils: maybe-all-build-bison
32641 all-stagefeedback-binutils: maybe-all-build-bison
32642 all-prebootstrap: maybe-all-build-bison
32643 all-binutils: maybe-all-build-byacc
32645 all-stage1-binutils: maybe-all-build-byacc
32646 all-stage2-binutils: maybe-all-build-byacc
32647 all-stage3-binutils: maybe-all-build-byacc
32648 all-stage4-binutils: maybe-all-build-byacc
32649 all-stageprofile-binutils: maybe-all-build-byacc
32650 all-stagefeedback-binutils: maybe-all-build-byacc
32651 all-prebootstrap: maybe-all-build-byacc
32652 all-binutils: maybe-all-intl
32654 all-stage1-binutils: maybe-all-stage1-intl
32655 all-stage2-binutils: maybe-all-stage2-intl
32656 all-stage3-binutils: maybe-all-stage3-intl
32657 all-stage4-binutils: maybe-all-stage4-intl
32658 all-stageprofile-binutils: maybe-all-stageprofile-intl
32659 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
32660 install-binutils: maybe-install-opcodes
32661 install-opcodes: maybe-install-bfd
32662 all-gas: maybe-all-libiberty
32664 all-stage1-gas: maybe-all-stage1-libiberty
32665 all-stage2-gas: maybe-all-stage2-libiberty
32666 all-stage3-gas: maybe-all-stage3-libiberty
32667 all-stage4-gas: maybe-all-stage4-libiberty
32668 all-stageprofile-gas: maybe-all-stageprofile-libiberty
32669 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
32670 all-gas: maybe-all-opcodes
32672 all-stage1-gas: maybe-all-stage1-opcodes
32673 all-stage2-gas: maybe-all-stage2-opcodes
32674 all-stage3-gas: maybe-all-stage3-opcodes
32675 all-stage4-gas: maybe-all-stage4-opcodes
32676 all-stageprofile-gas: maybe-all-stageprofile-opcodes
32677 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
32678 all-gas: maybe-all-bfd
32680 all-stage1-gas: maybe-all-stage1-bfd
32681 all-stage2-gas: maybe-all-stage2-bfd
32682 all-stage3-gas: maybe-all-stage3-bfd
32683 all-stage4-gas: maybe-all-stage4-bfd
32684 all-stageprofile-gas: maybe-all-stageprofile-bfd
32685 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
32686 all-gas: maybe-all-intl
32688 all-stage1-gas: maybe-all-stage1-intl
32689 all-stage2-gas: maybe-all-stage2-intl
32690 all-stage3-gas: maybe-all-stage3-intl
32691 all-stage4-gas: maybe-all-stage4-intl
32692 all-stageprofile-gas: maybe-all-stageprofile-intl
32693 all-stagefeedback-gas: maybe-all-stagefeedback-intl
32694 all-gprof: maybe-all-libiberty
32695 all-gprof: maybe-all-bfd
32696 all-gprof: maybe-all-opcodes
32697 all-gprof: maybe-all-intl
32698 all-ld: maybe-all-libiberty
32700 all-stage1-ld: maybe-all-stage1-libiberty
32701 all-stage2-ld: maybe-all-stage2-libiberty
32702 all-stage3-ld: maybe-all-stage3-libiberty
32703 all-stage4-ld: maybe-all-stage4-libiberty
32704 all-stageprofile-ld: maybe-all-stageprofile-libiberty
32705 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
32706 all-ld: maybe-all-bfd
32708 all-stage1-ld: maybe-all-stage1-bfd
32709 all-stage2-ld: maybe-all-stage2-bfd
32710 all-stage3-ld: maybe-all-stage3-bfd
32711 all-stage4-ld: maybe-all-stage4-bfd
32712 all-stageprofile-ld: maybe-all-stageprofile-bfd
32713 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
32714 all-ld: maybe-all-opcodes
32716 all-stage1-ld: maybe-all-stage1-opcodes
32717 all-stage2-ld: maybe-all-stage2-opcodes
32718 all-stage3-ld: maybe-all-stage3-opcodes
32719 all-stage4-ld: maybe-all-stage4-opcodes
32720 all-stageprofile-ld: maybe-all-stageprofile-opcodes
32721 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
32722 all-ld: maybe-all-build-bison
32724 all-stage1-ld: maybe-all-build-bison
32725 all-stage2-ld: maybe-all-build-bison
32726 all-stage3-ld: maybe-all-build-bison
32727 all-stage4-ld: maybe-all-build-bison
32728 all-stageprofile-ld: maybe-all-build-bison
32729 all-stagefeedback-ld: maybe-all-build-bison
32730 all-prebootstrap: maybe-all-build-bison
32731 all-ld: maybe-all-build-byacc
32733 all-stage1-ld: maybe-all-build-byacc
32734 all-stage2-ld: maybe-all-build-byacc
32735 all-stage3-ld: maybe-all-build-byacc
32736 all-stage4-ld: maybe-all-build-byacc
32737 all-stageprofile-ld: maybe-all-build-byacc
32738 all-stagefeedback-ld: maybe-all-build-byacc
32739 all-prebootstrap: maybe-all-build-byacc
32740 all-ld: maybe-all-build-flex
32742 all-stage1-ld: maybe-all-build-flex
32743 all-stage2-ld: maybe-all-build-flex
32744 all-stage3-ld: maybe-all-build-flex
32745 all-stage4-ld: maybe-all-build-flex
32746 all-stageprofile-ld: maybe-all-build-flex
32747 all-stagefeedback-ld: maybe-all-build-flex
32748 all-prebootstrap: maybe-all-build-flex
32749 all-ld: maybe-all-intl
32751 all-stage1-ld: maybe-all-stage1-intl
32752 all-stage2-ld: maybe-all-stage2-intl
32753 all-stage3-ld: maybe-all-stage3-intl
32754 all-stage4-ld: maybe-all-stage4-intl
32755 all-stageprofile-ld: maybe-all-stageprofile-intl
32756 all-stagefeedback-ld: maybe-all-stagefeedback-intl
32757 all-opcodes: maybe-all-bfd
32759 all-stage1-opcodes: maybe-all-stage1-bfd
32760 all-stage2-opcodes: maybe-all-stage2-bfd
32761 all-stage3-opcodes: maybe-all-stage3-bfd
32762 all-stage4-opcodes: maybe-all-stage4-bfd
32763 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
32764 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
32765 all-opcodes: maybe-all-libiberty
32767 all-stage1-opcodes: maybe-all-stage1-libiberty
32768 all-stage2-opcodes: maybe-all-stage2-libiberty
32769 all-stage3-opcodes: maybe-all-stage3-libiberty
32770 all-stage4-opcodes: maybe-all-stage4-libiberty
32771 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
32772 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
32773 all-dejagnu: maybe-all-tcl
32774 all-dejagnu: maybe-all-expect
32775 all-dejagnu: maybe-all-tk
32776 configure-expect: maybe-configure-tcl
32777 configure-expect: maybe-configure-tk
32778 all-expect: maybe-all-tcl
32779 all-expect: maybe-all-tk
32780 configure-itcl: maybe-configure-tcl
32781 configure-itcl: maybe-configure-tk
32782 all-itcl: maybe-all-tcl
32783 all-itcl: maybe-all-tk
32784 install-itcl: maybe-install-tcl
32785 configure-tk: maybe-configure-tcl
32786 all-tk: maybe-all-tcl
32787 all-sid: maybe-all-libiberty
32788 all-sid: maybe-all-bfd
32789 all-sid: maybe-all-opcodes
32790 all-sid: maybe-all-tcl
32791 all-sid: maybe-all-tk
32792 install-sid: maybe-install-tcl
32793 install-sid: maybe-install-tk
32794 all-sim: maybe-all-libiberty
32795 all-sim: maybe-all-bfd
32796 all-sim: maybe-all-opcodes
32797 all-sim: maybe-all-readline
32798 all-sim: maybe-configure-gdb
32799 all-fastjar: maybe-all-zlib
32800 all-fastjar: maybe-all-build-texinfo
32801 all-fastjar: maybe-all-libiberty
32802 all-autoconf: maybe-all-m4
32803 all-autoconf: maybe-all-build-texinfo
32804 all-automake: maybe-all-m4
32805 all-automake: maybe-all-build-texinfo
32806 all-automake: maybe-all-autoconf
32807 all-bison: maybe-all-intl
32808 all-bison: maybe-all-build-texinfo
32809 all-diff: maybe-all-intl
32810 all-diff: maybe-all-build-texinfo
32811 all-fileutils: maybe-all-intl
32812 all-fileutils: maybe-all-build-texinfo
32813 all-flex: maybe-all-build-bison
32814 all-flex: maybe-all-build-byacc
32815 all-flex: maybe-all-intl
32816 all-flex: maybe-all-m4
32817 all-flex: maybe-all-build-texinfo
32818 all-gzip: maybe-all-intl
32819 all-gzip: maybe-all-zlib
32820 all-gzip: maybe-all-build-texinfo
32821 all-hello: maybe-all-intl
32822 all-hello: maybe-all-build-texinfo
32823 all-m4: maybe-all-intl
32824 all-m4: maybe-all-build-texinfo
32825 all-make: maybe-all-intl
32826 all-make: maybe-all-build-texinfo
32827 all-patch: maybe-all-build-texinfo
32828 all-make: maybe-all-build-texinfo
32829 all-prms: maybe-all-libiberty
32830 all-recode: maybe-all-build-texinfo
32831 all-sed: maybe-all-build-texinfo
32832 all-send-pr: maybe-all-prms
32833 all-tar: maybe-all-build-texinfo
32834 all-uudecode: maybe-all-build-texinfo
32835 configure-target-boehm-gc: maybe-configure-target-qthreads
32836 configure-target-fastjar: maybe-configure-target-zlib
32837 all-target-fastjar: maybe-all-target-zlib
32838 all-target-fastjar: maybe-all-target-libiberty
32839 configure-target-libjava: maybe-configure-target-zlib
32840 configure-target-libjava: maybe-configure-target-boehm-gc
32841 configure-target-libjava: maybe-configure-target-qthreads
32842 configure-target-libjava: maybe-configure-target-libffi
32843 all-target-libjava: maybe-all-fastjar
32844 all-target-libjava: maybe-all-target-zlib
32845 all-target-libjava: maybe-all-target-boehm-gc
32846 all-target-libjava: maybe-all-target-qthreads
32847 all-target-libjava: maybe-all-target-libffi
32848 all-target-libobjc: maybe-all-target-libiberty
32849 all-target-libstdc++-v3: maybe-all-target-libiberty
32850 all-target-libgloss: maybe-configure-target-newlib
32851 all-target-winsup: maybe-all-target-libiberty
32852 all-target-winsup: maybe-all-target-libtermcap
32855 # Non-toplevel bootstrap rules must depend on several packages, to be built
32856 # before gcc. Another wart that will go away, hopefully soon.
32857 @if gcc-no-bootstrap
32859 all-prebootstrap: maybe-all-bfd
32860 all-prebootstrap: maybe-all-opcodes
32861 all-prebootstrap: maybe-all-binutils
32862 all-prebootstrap: maybe-all-gas
32863 all-prebootstrap: maybe-all-intl
32864 all-prebootstrap: maybe-all-ld
32865 all-prebootstrap: maybe-all-libcpp
32866 all-prebootstrap: maybe-all-libiberty
32867 all-prebootstrap: maybe-all-zlib
32868 @endif gcc-no-bootstrap
32871 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
32873 # Serialization dependencies. Host configures don't work well in parallel to
32874 # each other, due to contention over config.cache. Target configures and
32875 # build configures are similar.
32876 @serialization_dependencies@
32878 # --------------------------------
32879 # Regenerating top level configury
32880 # --------------------------------
32882 # Multilib.out tells target dirs what multilibs they should build.
32883 # There is really only one copy. We use the 'timestamp' method to
32884 # work around various timestamp bugs on some systems.
32885 # We use move-if-change so that it's only considered updated when it
32886 # actually changes, because it has to depend on a phony target.
32887 multilib.out: maybe-all-gcc
32888 @r=`${PWD_COMMAND}`; export r; \
32889 echo "Checking multilib configuration..."; \
32890 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
32891 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
32893 # Rebuilding Makefile.in, using autogen.
32895 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
32896 cd $(srcdir) && $(AUTOGEN) Makefile.def
32898 # Rebuilding Makefile.
32899 Makefile: $(srcdir)/Makefile.in config.status
32900 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
32902 config.status: configure $(gcc_version_trigger)
32903 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
32905 # Rebuilding configure.
32906 AUTOCONF = autoconf
32907 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
32908 cd $(srcdir) && $(AUTOCONF)
32910 # ------------------------------
32911 # Special directives to GNU Make
32912 # ------------------------------
32914 # Don't pass command-line variables to submakes.
32918 # end of Makefile.in