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 = \
105 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
107 # This is the list of directories to be built for the build system.
108 BUILD_CONFIGDIRS = libiberty
109 # Build programs are put under this directory.
110 BUILD_SUBDIR = @build_subdir@
111 # This is set by the configure script to the arguments to use when configuring
112 # directories built for the build system.
113 BUILD_CONFIGARGS = @build_configargs@
115 # This is the list of variables to export in the environment when
116 # configuring any subdirectory. It must also be exported whenever
117 # recursing into a build directory in case that directory's Makefile
120 FLEX="$(FLEX)"; export FLEX; \
121 LEX="$(LEX)"; export LEX; \
122 BISON="$(BISON)"; export BISON; \
123 YACC="$(YACC)"; export YACC; \
124 M4="$(M4)"; export M4; \
125 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
127 # This is the list of variables to export in the environment when
128 # configuring subdirectories for the build system.
131 AR="$(AR_FOR_BUILD)"; export AR; \
132 AS="$(AS_FOR_BUILD)"; export AS; \
133 CC="$(CC_FOR_BUILD)"; export CC; \
134 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
135 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
136 CXX="$(CXX_FOR_BUILD)"; export CXX; \
137 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
138 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
139 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
140 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
141 LD="$(LD_FOR_BUILD)"; export LD; \
142 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
143 NM="$(NM_FOR_BUILD)"; export NM; \
144 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
145 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
147 # This is the list of directories to built for the host system.
148 SUBDIRS = @configdirs@
149 # This is set by the configure script to the arguments to use when configuring
150 # directories built for the host system.
151 HOST_CONFIGARGS = @host_configargs@
152 # This is the list of variables to export in the environment when
153 # configuring subdirectories for the host system.
156 CC="$(CC)"; export CC; \
157 CFLAGS="$(CFLAGS)"; export CFLAGS; \
158 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
159 CXX="$(CXX)"; export CXX; \
160 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
161 AR="$(AR)"; export AR; \
162 AS="$(AS)"; export AS; \
163 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
164 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
165 LD="$(LD)"; export LD; \
166 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
167 NM="$(NM)"; export NM; \
168 RANLIB="$(RANLIB)"; export RANLIB; \
169 WINDRES="$(WINDRES)"; export WINDRES; \
170 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
171 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
172 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
173 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
174 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
175 SET_GCC_LIB_PATH_CMD="@SET_GCC_LIB_PATH@"; export SET_GCC_LIB_PATH_CMD; \
178 # Similar, for later GCC stages.
179 STAGE_HOST_EXPORTS = \
181 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
182 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
184 # This is set by the configure script to the list of directories which
185 # should be built using the target tools.
186 TARGET_CONFIGDIRS = @target_configdirs@
187 # Target libraries are put under this directory:
188 TARGET_SUBDIR = @target_subdir@
189 # This is set by the configure script to the arguments to use when configuring
190 # directories built for the target.
191 TARGET_CONFIGARGS = @target_configargs@
192 # This is the list of variables to export in the environment when
193 # configuring subdirectories for the host system.
194 BASE_TARGET_EXPORTS = \
196 AR="$(AR_FOR_TARGET)"; export AR; \
197 AS="$(AS_FOR_TARGET)"; export AS; \
198 CC="$(CC_FOR_TARGET)"; export CC; \
199 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
200 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
201 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
202 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
203 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
204 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
205 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
206 LD="$(LD_FOR_TARGET)"; export LD; \
207 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
208 NM="$(NM_FOR_TARGET)"; export NM; \
209 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
210 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
211 SET_GCC_LIB_PATH_CMD="@SET_GCC_LIB_PATH@"; export SET_GCC_LIB_PATH_CMD; \
214 RAW_CXX_TARGET_EXPORTS = \
215 $(BASE_TARGET_EXPORTS) \
216 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
217 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
219 NORMAL_TARGET_EXPORTS = \
220 $(BASE_TARGET_EXPORTS) \
221 CXX="$(CXX_FOR_TARGET)"; export CXX;
224 HOST_GMPLIBS = @gmplibs@
225 HOST_GMPINC = @gmpinc@
227 # ----------------------------------------------
228 # Programs producing files for the BUILD machine
229 # ----------------------------------------------
231 SHELL = @config_shell@
233 # pwd command to use. Allow user to override default by setting PWDCMD in
234 # the environment to account for automounters. The make variable must not
235 # be called PWDCMD, otherwise the value set here is passed to make
236 # subprocesses and overrides the setting from the user's environment.
237 # Don't use PWD since it is a common shell environment variable and we
238 # don't want to corrupt it.
239 PWD_COMMAND = $${PWDCMD-pwd}
241 # compilers to use to create programs which must be run in the build
243 CC_FOR_BUILD = @CC_FOR_BUILD@
244 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
246 CXX_FOR_BUILD = $(CXX)
248 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
249 # here so that they can be overridden by Makefile fragments.
250 BUILD_PREFIX = @BUILD_PREFIX@
251 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
253 # Flags to pass to stage2 and later makes. They are defined
254 # here so that they can be overridden by Makefile fragments.
257 CONFIGURED_BISON = @CONFIGURED_BISON@
258 BISON = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
259 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison ; \
261 echo ${CONFIGURED_BISON} ; \
264 CONFIGURED_YACC = @CONFIGURED_YACC@
265 YACC = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
266 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison -y ; \
267 elif [ -f $$r/$(BUILD_SUBDIR)/byacc/byacc ] ; then \
268 echo $$r/$(BUILD_SUBDIR)/byacc/byacc ; \
270 echo ${CONFIGURED_YACC} ; \
273 CONFIGURED_FLEX = @CONFIGURED_FLEX@
274 FLEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
275 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
276 else echo ${CONFIGURED_FLEX} ; fi`
278 CONFIGURED_LEX = @CONFIGURED_LEX@
279 LEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
280 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
281 else echo ${CONFIGURED_LEX} ; fi`
283 CONFIGURED_M4 = @CONFIGURED_M4@
284 M4 = `if [ -f $$r/$(BUILD_SUBDIR)/m4/m4 ] ; \
285 then echo $$r/$(BUILD_SUBDIR)/m4/m4 ; \
286 else echo ${CONFIGURED_M4} ; fi`
288 # For an installed makeinfo, we require it to be from texinfo 4.2 or
289 # higher, else we use the "missing" dummy. We also pass the subdirectory
290 # makeinfo even if only the Makefile is there, because Texinfo builds its
291 # manual when made, and it requires its own version.
292 CONFIGURED_MAKEINFO = @CONFIGURED_MAKEINFO@
293 MAKEINFO = `if [ -f $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/Makefile ] ; \
294 then echo $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo ; \
295 else if (${CONFIGURED_MAKEINFO} --version \
296 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
297 then echo ${CONFIGURED_MAKEINFO}; else echo $$s/missing makeinfo; fi; fi`
299 # This just becomes part of the MAKEINFO definition passed down to
300 # sub-makes. It lets flags be given on the command line while still
301 # using the makeinfo from the object tree.
302 # (Default to avoid splitting info files by setting the threshold high.)
303 MAKEINFOFLAGS = --split-size=5000000
305 EXPECT = `if [ -f $$r/expect/expect ] ; \
306 then echo $$r/expect/expect ; \
307 else echo expect ; fi`
309 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
310 then echo $$s/dejagnu/runtest ; \
311 else echo runtest ; fi`
313 # ---------------------------------------------
314 # Programs producing files for the HOST machine
315 # ---------------------------------------------
317 # This is the list of directories that may be needed in RPATH_ENVVAR
318 # so that programs built for the host machine work.
319 HOST_LIB_PATH = $$r/bfd:$$r/opcodes
328 LIBCFLAGS = $(CFLAGS)
331 CXXFLAGS = @CXXFLAGS@
332 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
347 # -----------------------------------------------
348 # Programs producing files for the TARGET machine
349 # -----------------------------------------------
351 # This is the list of directories that may be needed in RPATH_ENVVAR
352 # so that prorgams built for the target machine work.
353 TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:$$r/$(TARGET_SUBDIR)/libmudflap/.libs
355 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
357 AR_FOR_TARGET=@AR_FOR_TARGET@
358 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
359 USUAL_AR_FOR_TARGET = ` \
360 if [ -f $$r/binutils/ar ] ; then \
361 echo $$r/binutils/ar ; \
363 if [ '$(host)' = '$(target)' ] ; then \
366 echo $(CONFIGURED_AR_FOR_TARGET) ; \
370 AS_FOR_TARGET=@AS_FOR_TARGET@
371 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
372 USUAL_AS_FOR_TARGET = ` \
373 if [ -f $$r/gas/as-new ] ; then \
374 echo $$r/gas/as-new ; \
375 elif [ -f $$r/gcc/xgcc ]; then \
376 $(CC_FOR_TARGET) -print-prog-name=as ; \
378 if [ '$(host)' = '$(target)' ] ; then \
381 echo $(CONFIGURED_AS_FOR_TARGET) ; \
385 CC_FOR_TARGET = @CC_FOR_TARGET@
386 # During gcc bootstrap, if we use some random cc for stage1 then
387 # CFLAGS will be just -g. We want to ensure that TARGET libraries
388 # (which we know are built with gcc) are built with optimizations so
389 # prepend -O2 when setting CFLAGS_FOR_TARGET.
390 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
391 # If GCC_FOR_TARGET is not overriden on the command line, then this
392 # variable is passed down to the gcc Makefile, where it is used to
393 # build libgcc2.a. We define it here so that it can itself be
394 # overridden on the command line.
395 GCC_FOR_TARGET=@GCC_FOR_TARGET@
396 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
397 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
399 CXX_FOR_TARGET = @CXX_FOR_TARGET@
400 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
401 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
402 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
403 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
404 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
406 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
407 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
408 USUAL_DLLTOOL_FOR_TARGET = ` \
409 if [ -f $$r/binutils/dlltool ] ; then \
410 echo $$r/binutils/dlltool ; \
412 if [ '$(host)' = '$(target)' ] ; then \
415 echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
419 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
420 GFORTRAN_FOR_TARGET = @GFORTRAN_FOR_TARGET@
422 LD_FOR_TARGET=@LD_FOR_TARGET@
423 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
424 USUAL_LD_FOR_TARGET = ` \
425 if [ -f $$r/ld/ld-new ] ; then \
426 echo $$r/ld/ld-new ; \
427 elif [ -f $$r/gcc/xgcc ]; then \
428 $(CC_FOR_TARGET) -print-prog-name=ld ; \
430 if [ '$(host)' = '$(target)' ] ; then \
433 echo $(CONFIGURED_LD_FOR_TARGET) ; \
439 NM_FOR_TARGET=@NM_FOR_TARGET@
440 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
441 USUAL_NM_FOR_TARGET = ` \
442 if [ -f $$r/binutils/nm-new ] ; then \
443 echo $$r/binutils/nm-new ; \
444 elif [ -f $$r/gcc/xgcc ]; then \
445 $(CC_FOR_TARGET) -print-prog-name=nm ; \
447 if [ '$(host)' = '$(target)' ] ; then \
450 echo $(CONFIGURED_NM_FOR_TARGET) ; \
454 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
455 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
456 USUAL_RANLIB_FOR_TARGET = ` \
457 if [ -f $$r/binutils/ranlib ] ; then \
458 echo $$r/binutils/ranlib ; \
460 if [ '$(host)' = '$(target)' ] ; then \
461 if [ x'$(RANLIB)' != x ]; then \
467 echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
471 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
472 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
473 USUAL_WINDRES_FOR_TARGET = ` \
474 if [ -f $$r/binutils/windres ] ; then \
475 echo $$r/binutils/windres ; \
477 if [ '$(host)' = '$(target)' ] ; then \
480 echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
486 # ------------------------------------
487 # Miscellaneous targets and flag lists
488 # ------------------------------------
490 # The first rule in the file had better be this one. Don't put any above it.
491 # This lives here to allow makefile fragments to contain dependencies.
494 #### host and target specific makefile fragments come in here.
495 @target_makefile_frag@
501 # Flags to pass down to all sub-makes.
502 BASE_FLAGS_TO_PASS = \
503 "DESTDIR=$(DESTDIR)" \
504 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
505 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
507 "datadir=$(datadir)" \
508 "exec_prefix=$(exec_prefix)" \
509 "includedir=$(includedir)" \
510 "infodir=$(infodir)" \
512 "libexecdir=$(libexecdir)" \
513 "lispdir=$(lispdir)" \
514 "libstdcxx_incdir=$(libstdcxx_incdir)" \
515 "libsubdir=$(libsubdir)" \
516 "localstatedir=$(localstatedir)" \
518 "oldincludedir=$(oldincludedir)" \
520 "sbindir=$(sbindir)" \
521 "sharedstatedir=$(sharedstatedir)" \
522 "sysconfdir=$(sysconfdir)" \
523 "tooldir=$(tooldir)" \
524 "build_tooldir=$(build_tooldir)" \
525 "gxx_include_dir=$(gxx_include_dir)" \
526 "gcc_version=$(gcc_version)" \
527 "gcc_version_trigger=$(gcc_version_trigger)" \
528 "target_alias=$(target_alias)" \
530 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
531 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
534 "INSTALL=$(INSTALL)" \
535 "INSTALL_DATA=$(INSTALL_DATA)" \
536 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
537 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
541 "RUNTEST=$(RUNTEST)" \
542 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
545 "AR_FLAGS=$(AR_FLAGS)" \
547 "CXXFLAGS=$(CXXFLAGS)" \
548 "LDFLAGS=$(LDFLAGS)" \
549 "LIBCFLAGS=$(LIBCFLAGS)" \
550 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
551 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
552 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
553 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
554 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
555 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
556 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
557 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
558 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
559 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
560 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
561 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
562 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
563 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
564 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
565 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
566 "CONFIG_SHELL=$(SHELL)" \
567 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
569 # For any flags above that may contain shell code that varies from one
570 # target library to another. When doing recursive invocations of the
571 # top-level Makefile, we don't want the outer make to evaluate them,
572 # so we pass these variables down unchanged. They must not contain
573 # single nor double quotes.
575 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
576 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
578 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS)
580 # Flags to pass down to most sub-makes, in which we're building with
581 # the host environment.
587 'DLLTOOL=$(DLLTOOL)' \
593 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
595 # Flags that are concerned with the location of the X11 include files
598 # NOTE: until the top-level is getting the values via autoconf, it only
599 # causes problems to have this top-level Makefile overriding the autoconf-set
600 # values in child directories. Only variables that don't conflict with
601 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
603 X11_FLAGS_TO_PASS = \
604 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
605 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
607 # Flags to pass down to makes which are built with the target environment.
608 # The double $ decreases the length of the command line; the variables
609 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
610 EXTRA_TARGET_FLAGS = \
611 'AR=$$(AR_FOR_TARGET)' \
612 'AS=$$(AS_FOR_TARGET)' \
613 'CC=$$(CC_FOR_TARGET)' \
614 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
615 'CXX=$$(CXX_FOR_TARGET)' \
616 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
617 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
618 'LD=$$(LD_FOR_TARGET)' \
619 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
620 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
621 'NM=$$(NM_FOR_TARGET)' \
622 'RANLIB=$$(RANLIB_FOR_TARGET)' \
623 'WINDRES=$$(WINDRES_FOR_TARGET)'
625 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
627 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
628 # unfortunately needs the native compiler and the target ar and
630 # If any variables are added here, they must be added to do-*, below.
631 # The BUILD_* variables are a special case, which are used for the gcc
632 # cross-building scheme.
634 'BUILD_PREFIX=$(BUILD_PREFIX)' \
635 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
636 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
637 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
638 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
639 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
640 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
641 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
642 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
643 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
644 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
645 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
646 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
648 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
650 .PHONY: configure-host
652 maybe-configure-ash \
653 maybe-configure-autoconf \
654 maybe-configure-automake \
655 maybe-configure-bash \
656 maybe-configure-bfd \
657 maybe-configure-opcodes \
658 maybe-configure-binutils \
659 maybe-configure-bison \
660 maybe-configure-byacc \
661 maybe-configure-bzip2 \
662 maybe-configure-dejagnu \
663 maybe-configure-diff \
664 maybe-configure-dosutils \
665 maybe-configure-etc \
666 maybe-configure-fastjar \
667 maybe-configure-fileutils \
668 maybe-configure-findutils \
669 maybe-configure-find \
670 maybe-configure-fixincludes \
671 maybe-configure-flex \
672 maybe-configure-gas \
673 maybe-configure-gcc \
674 maybe-configure-gawk \
675 maybe-configure-gettext \
676 maybe-configure-gnuserv \
677 maybe-configure-gprof \
678 maybe-configure-gzip \
679 maybe-configure-hello \
680 maybe-configure-indent \
681 maybe-configure-intl \
682 maybe-configure-tcl \
683 maybe-configure-itcl \
685 maybe-configure-libcpp \
686 maybe-configure-libgui \
687 maybe-configure-libiberty \
688 maybe-configure-libtool \
690 maybe-configure-make \
691 maybe-configure-mmalloc \
692 maybe-configure-patch \
693 maybe-configure-perl \
694 maybe-configure-prms \
695 maybe-configure-rcs \
696 maybe-configure-readline \
697 maybe-configure-release \
698 maybe-configure-recode \
699 maybe-configure-sed \
700 maybe-configure-send-pr \
701 maybe-configure-shellutils \
702 maybe-configure-sid \
703 maybe-configure-sim \
704 maybe-configure-tar \
705 maybe-configure-texinfo \
706 maybe-configure-textutils \
707 maybe-configure-time \
708 maybe-configure-uudecode \
709 maybe-configure-wdiff \
710 maybe-configure-zip \
711 maybe-configure-zlib \
712 maybe-configure-gdb \
713 maybe-configure-expect \
714 maybe-configure-guile \
716 maybe-configure-libtermcap \
717 maybe-configure-utils
718 .PHONY: configure-target
720 maybe-configure-target-libstdc++-v3 \
721 maybe-configure-target-libmudflap \
722 maybe-configure-target-newlib \
723 maybe-configure-target-libgfortran \
724 maybe-configure-target-libobjc \
725 maybe-configure-target-libtermcap \
726 maybe-configure-target-winsup \
727 maybe-configure-target-libgloss \
728 maybe-configure-target-libiberty \
729 maybe-configure-target-gperf \
730 maybe-configure-target-examples \
731 maybe-configure-target-libffi \
732 maybe-configure-target-libjava \
733 maybe-configure-target-zlib \
734 maybe-configure-target-boehm-gc \
735 maybe-configure-target-qthreads \
736 maybe-configure-target-rda \
737 maybe-configure-target-libada
739 # The target built for a native non-bootstrap build.
741 all: unstage all-host all-target stage
745 maybe-all-build-libiberty \
746 maybe-all-build-bison \
747 maybe-all-build-byacc \
748 maybe-all-build-flex \
750 maybe-all-build-texinfo \
751 maybe-all-build-fixincludes
769 maybe-all-fileutils \
770 maybe-all-findutils \
772 maybe-all-fixincludes \
789 maybe-all-libiberty \
803 maybe-all-shellutils \
808 maybe-all-textutils \
818 maybe-all-libtermcap \
822 maybe-all-target-libstdc++-v3 \
823 maybe-all-target-libmudflap \
824 maybe-all-target-newlib \
825 maybe-all-target-libgfortran \
826 maybe-all-target-libobjc \
827 maybe-all-target-libtermcap \
828 maybe-all-target-winsup \
829 maybe-all-target-libgloss \
830 maybe-all-target-libiberty \
831 maybe-all-target-gperf \
832 maybe-all-target-examples \
833 maybe-all-target-libffi \
834 maybe-all-target-libjava \
835 maybe-all-target-zlib \
836 maybe-all-target-boehm-gc \
837 maybe-all-target-qthreads \
838 maybe-all-target-rda \
839 maybe-all-target-libada
841 # Do a target for all the subdirectories. A ``make do-X'' will do a
842 # ``make X'' in all subdirectories (because, in general, there is a
843 # dependency (below) of X upon do-X, a ``make X'' will also do this,
844 # but it may do additional work as well).
847 do-info: unstage info-host info-target stage
852 maybe-info-autoconf \
853 maybe-info-automake \
857 maybe-info-binutils \
863 maybe-info-dosutils \
866 maybe-info-fileutils \
867 maybe-info-findutils \
869 maybe-info-fixincludes \
886 maybe-info-libiberty \
895 maybe-info-readline \
900 maybe-info-shellutils \
905 maybe-info-textutils \
907 maybe-info-uudecode \
915 maybe-info-libtermcap \
920 maybe-info-target-libstdc++-v3 \
921 maybe-info-target-libmudflap \
922 maybe-info-target-newlib \
923 maybe-info-target-libgfortran \
924 maybe-info-target-libobjc \
925 maybe-info-target-libtermcap \
926 maybe-info-target-winsup \
927 maybe-info-target-libgloss \
928 maybe-info-target-libiberty \
929 maybe-info-target-gperf \
930 maybe-info-target-examples \
931 maybe-info-target-libffi \
932 maybe-info-target-libjava \
933 maybe-info-target-zlib \
934 maybe-info-target-boehm-gc \
935 maybe-info-target-qthreads \
936 maybe-info-target-rda \
937 maybe-info-target-libada
940 do-dvi: unstage dvi-host dvi-target stage
959 maybe-dvi-fileutils \
960 maybe-dvi-findutils \
962 maybe-dvi-fixincludes \
979 maybe-dvi-libiberty \
993 maybe-dvi-shellutils \
998 maybe-dvi-textutils \
1000 maybe-dvi-uudecode \
1008 maybe-dvi-libtermcap \
1013 maybe-dvi-target-libstdc++-v3 \
1014 maybe-dvi-target-libmudflap \
1015 maybe-dvi-target-newlib \
1016 maybe-dvi-target-libgfortran \
1017 maybe-dvi-target-libobjc \
1018 maybe-dvi-target-libtermcap \
1019 maybe-dvi-target-winsup \
1020 maybe-dvi-target-libgloss \
1021 maybe-dvi-target-libiberty \
1022 maybe-dvi-target-gperf \
1023 maybe-dvi-target-examples \
1024 maybe-dvi-target-libffi \
1025 maybe-dvi-target-libjava \
1026 maybe-dvi-target-zlib \
1027 maybe-dvi-target-boehm-gc \
1028 maybe-dvi-target-qthreads \
1029 maybe-dvi-target-rda \
1030 maybe-dvi-target-libada
1033 do-TAGS: unstage TAGS-host TAGS-target stage
1038 maybe-TAGS-autoconf \
1039 maybe-TAGS-automake \
1042 maybe-TAGS-opcodes \
1043 maybe-TAGS-binutils \
1047 maybe-TAGS-dejagnu \
1049 maybe-TAGS-dosutils \
1051 maybe-TAGS-fastjar \
1052 maybe-TAGS-fileutils \
1053 maybe-TAGS-findutils \
1055 maybe-TAGS-fixincludes \
1060 maybe-TAGS-gettext \
1061 maybe-TAGS-gnuserv \
1072 maybe-TAGS-libiberty \
1073 maybe-TAGS-libtool \
1076 maybe-TAGS-mmalloc \
1081 maybe-TAGS-readline \
1082 maybe-TAGS-release \
1085 maybe-TAGS-send-pr \
1086 maybe-TAGS-shellutils \
1090 maybe-TAGS-texinfo \
1091 maybe-TAGS-textutils \
1093 maybe-TAGS-uudecode \
1101 maybe-TAGS-libtermcap \
1106 maybe-TAGS-target-libstdc++-v3 \
1107 maybe-TAGS-target-libmudflap \
1108 maybe-TAGS-target-newlib \
1109 maybe-TAGS-target-libgfortran \
1110 maybe-TAGS-target-libobjc \
1111 maybe-TAGS-target-libtermcap \
1112 maybe-TAGS-target-winsup \
1113 maybe-TAGS-target-libgloss \
1114 maybe-TAGS-target-libiberty \
1115 maybe-TAGS-target-gperf \
1116 maybe-TAGS-target-examples \
1117 maybe-TAGS-target-libffi \
1118 maybe-TAGS-target-libjava \
1119 maybe-TAGS-target-zlib \
1120 maybe-TAGS-target-boehm-gc \
1121 maybe-TAGS-target-qthreads \
1122 maybe-TAGS-target-rda \
1123 maybe-TAGS-target-libada
1125 .PHONY: do-install-info
1126 do-install-info: unstage install-info-host install-info-target stage
1128 .PHONY: install-info-host
1129 install-info-host: \
1130 maybe-install-info-ash \
1131 maybe-install-info-autoconf \
1132 maybe-install-info-automake \
1133 maybe-install-info-bash \
1134 maybe-install-info-bfd \
1135 maybe-install-info-opcodes \
1136 maybe-install-info-binutils \
1137 maybe-install-info-bison \
1138 maybe-install-info-byacc \
1139 maybe-install-info-bzip2 \
1140 maybe-install-info-dejagnu \
1141 maybe-install-info-diff \
1142 maybe-install-info-dosutils \
1143 maybe-install-info-etc \
1144 maybe-install-info-fastjar \
1145 maybe-install-info-fileutils \
1146 maybe-install-info-findutils \
1147 maybe-install-info-find \
1148 maybe-install-info-fixincludes \
1149 maybe-install-info-flex \
1150 maybe-install-info-gas \
1151 maybe-install-info-gcc \
1152 maybe-install-info-gawk \
1153 maybe-install-info-gettext \
1154 maybe-install-info-gnuserv \
1155 maybe-install-info-gprof \
1156 maybe-install-info-gzip \
1157 maybe-install-info-hello \
1158 maybe-install-info-indent \
1159 maybe-install-info-intl \
1160 maybe-install-info-tcl \
1161 maybe-install-info-itcl \
1162 maybe-install-info-ld \
1163 maybe-install-info-libcpp \
1164 maybe-install-info-libgui \
1165 maybe-install-info-libiberty \
1166 maybe-install-info-libtool \
1167 maybe-install-info-m4 \
1168 maybe-install-info-make \
1169 maybe-install-info-mmalloc \
1170 maybe-install-info-patch \
1171 maybe-install-info-perl \
1172 maybe-install-info-prms \
1173 maybe-install-info-rcs \
1174 maybe-install-info-readline \
1175 maybe-install-info-release \
1176 maybe-install-info-recode \
1177 maybe-install-info-sed \
1178 maybe-install-info-send-pr \
1179 maybe-install-info-shellutils \
1180 maybe-install-info-sid \
1181 maybe-install-info-sim \
1182 maybe-install-info-tar \
1183 maybe-install-info-texinfo \
1184 maybe-install-info-textutils \
1185 maybe-install-info-time \
1186 maybe-install-info-uudecode \
1187 maybe-install-info-wdiff \
1188 maybe-install-info-zip \
1189 maybe-install-info-zlib \
1190 maybe-install-info-gdb \
1191 maybe-install-info-expect \
1192 maybe-install-info-guile \
1193 maybe-install-info-tk \
1194 maybe-install-info-libtermcap \
1195 maybe-install-info-utils
1197 .PHONY: install-info-target
1198 install-info-target: \
1199 maybe-install-info-target-libstdc++-v3 \
1200 maybe-install-info-target-libmudflap \
1201 maybe-install-info-target-newlib \
1202 maybe-install-info-target-libgfortran \
1203 maybe-install-info-target-libobjc \
1204 maybe-install-info-target-libtermcap \
1205 maybe-install-info-target-winsup \
1206 maybe-install-info-target-libgloss \
1207 maybe-install-info-target-libiberty \
1208 maybe-install-info-target-gperf \
1209 maybe-install-info-target-examples \
1210 maybe-install-info-target-libffi \
1211 maybe-install-info-target-libjava \
1212 maybe-install-info-target-zlib \
1213 maybe-install-info-target-boehm-gc \
1214 maybe-install-info-target-qthreads \
1215 maybe-install-info-target-rda \
1216 maybe-install-info-target-libada
1218 .PHONY: do-installcheck
1219 do-installcheck: unstage installcheck-host installcheck-target stage
1221 .PHONY: installcheck-host
1222 installcheck-host: \
1223 maybe-installcheck-ash \
1224 maybe-installcheck-autoconf \
1225 maybe-installcheck-automake \
1226 maybe-installcheck-bash \
1227 maybe-installcheck-bfd \
1228 maybe-installcheck-opcodes \
1229 maybe-installcheck-binutils \
1230 maybe-installcheck-bison \
1231 maybe-installcheck-byacc \
1232 maybe-installcheck-bzip2 \
1233 maybe-installcheck-dejagnu \
1234 maybe-installcheck-diff \
1235 maybe-installcheck-dosutils \
1236 maybe-installcheck-etc \
1237 maybe-installcheck-fastjar \
1238 maybe-installcheck-fileutils \
1239 maybe-installcheck-findutils \
1240 maybe-installcheck-find \
1241 maybe-installcheck-fixincludes \
1242 maybe-installcheck-flex \
1243 maybe-installcheck-gas \
1244 maybe-installcheck-gcc \
1245 maybe-installcheck-gawk \
1246 maybe-installcheck-gettext \
1247 maybe-installcheck-gnuserv \
1248 maybe-installcheck-gprof \
1249 maybe-installcheck-gzip \
1250 maybe-installcheck-hello \
1251 maybe-installcheck-indent \
1252 maybe-installcheck-intl \
1253 maybe-installcheck-tcl \
1254 maybe-installcheck-itcl \
1255 maybe-installcheck-ld \
1256 maybe-installcheck-libcpp \
1257 maybe-installcheck-libgui \
1258 maybe-installcheck-libiberty \
1259 maybe-installcheck-libtool \
1260 maybe-installcheck-m4 \
1261 maybe-installcheck-make \
1262 maybe-installcheck-mmalloc \
1263 maybe-installcheck-patch \
1264 maybe-installcheck-perl \
1265 maybe-installcheck-prms \
1266 maybe-installcheck-rcs \
1267 maybe-installcheck-readline \
1268 maybe-installcheck-release \
1269 maybe-installcheck-recode \
1270 maybe-installcheck-sed \
1271 maybe-installcheck-send-pr \
1272 maybe-installcheck-shellutils \
1273 maybe-installcheck-sid \
1274 maybe-installcheck-sim \
1275 maybe-installcheck-tar \
1276 maybe-installcheck-texinfo \
1277 maybe-installcheck-textutils \
1278 maybe-installcheck-time \
1279 maybe-installcheck-uudecode \
1280 maybe-installcheck-wdiff \
1281 maybe-installcheck-zip \
1282 maybe-installcheck-zlib \
1283 maybe-installcheck-gdb \
1284 maybe-installcheck-expect \
1285 maybe-installcheck-guile \
1286 maybe-installcheck-tk \
1287 maybe-installcheck-libtermcap \
1288 maybe-installcheck-utils
1290 .PHONY: installcheck-target
1291 installcheck-target: \
1292 maybe-installcheck-target-libstdc++-v3 \
1293 maybe-installcheck-target-libmudflap \
1294 maybe-installcheck-target-newlib \
1295 maybe-installcheck-target-libgfortran \
1296 maybe-installcheck-target-libobjc \
1297 maybe-installcheck-target-libtermcap \
1298 maybe-installcheck-target-winsup \
1299 maybe-installcheck-target-libgloss \
1300 maybe-installcheck-target-libiberty \
1301 maybe-installcheck-target-gperf \
1302 maybe-installcheck-target-examples \
1303 maybe-installcheck-target-libffi \
1304 maybe-installcheck-target-libjava \
1305 maybe-installcheck-target-zlib \
1306 maybe-installcheck-target-boehm-gc \
1307 maybe-installcheck-target-qthreads \
1308 maybe-installcheck-target-rda \
1309 maybe-installcheck-target-libada
1311 .PHONY: do-mostlyclean
1312 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1314 .PHONY: mostlyclean-host
1316 maybe-mostlyclean-ash \
1317 maybe-mostlyclean-autoconf \
1318 maybe-mostlyclean-automake \
1319 maybe-mostlyclean-bash \
1320 maybe-mostlyclean-bfd \
1321 maybe-mostlyclean-opcodes \
1322 maybe-mostlyclean-binutils \
1323 maybe-mostlyclean-bison \
1324 maybe-mostlyclean-byacc \
1325 maybe-mostlyclean-bzip2 \
1326 maybe-mostlyclean-dejagnu \
1327 maybe-mostlyclean-diff \
1328 maybe-mostlyclean-dosutils \
1329 maybe-mostlyclean-etc \
1330 maybe-mostlyclean-fastjar \
1331 maybe-mostlyclean-fileutils \
1332 maybe-mostlyclean-findutils \
1333 maybe-mostlyclean-find \
1334 maybe-mostlyclean-fixincludes \
1335 maybe-mostlyclean-flex \
1336 maybe-mostlyclean-gas \
1337 maybe-mostlyclean-gcc \
1338 maybe-mostlyclean-gawk \
1339 maybe-mostlyclean-gettext \
1340 maybe-mostlyclean-gnuserv \
1341 maybe-mostlyclean-gprof \
1342 maybe-mostlyclean-gzip \
1343 maybe-mostlyclean-hello \
1344 maybe-mostlyclean-indent \
1345 maybe-mostlyclean-intl \
1346 maybe-mostlyclean-tcl \
1347 maybe-mostlyclean-itcl \
1348 maybe-mostlyclean-ld \
1349 maybe-mostlyclean-libcpp \
1350 maybe-mostlyclean-libgui \
1351 maybe-mostlyclean-libiberty \
1352 maybe-mostlyclean-libtool \
1353 maybe-mostlyclean-m4 \
1354 maybe-mostlyclean-make \
1355 maybe-mostlyclean-mmalloc \
1356 maybe-mostlyclean-patch \
1357 maybe-mostlyclean-perl \
1358 maybe-mostlyclean-prms \
1359 maybe-mostlyclean-rcs \
1360 maybe-mostlyclean-readline \
1361 maybe-mostlyclean-release \
1362 maybe-mostlyclean-recode \
1363 maybe-mostlyclean-sed \
1364 maybe-mostlyclean-send-pr \
1365 maybe-mostlyclean-shellutils \
1366 maybe-mostlyclean-sid \
1367 maybe-mostlyclean-sim \
1368 maybe-mostlyclean-tar \
1369 maybe-mostlyclean-texinfo \
1370 maybe-mostlyclean-textutils \
1371 maybe-mostlyclean-time \
1372 maybe-mostlyclean-uudecode \
1373 maybe-mostlyclean-wdiff \
1374 maybe-mostlyclean-zip \
1375 maybe-mostlyclean-zlib \
1376 maybe-mostlyclean-gdb \
1377 maybe-mostlyclean-expect \
1378 maybe-mostlyclean-guile \
1379 maybe-mostlyclean-tk \
1380 maybe-mostlyclean-libtermcap \
1381 maybe-mostlyclean-utils
1383 .PHONY: mostlyclean-target
1384 mostlyclean-target: \
1385 maybe-mostlyclean-target-libstdc++-v3 \
1386 maybe-mostlyclean-target-libmudflap \
1387 maybe-mostlyclean-target-newlib \
1388 maybe-mostlyclean-target-libgfortran \
1389 maybe-mostlyclean-target-libobjc \
1390 maybe-mostlyclean-target-libtermcap \
1391 maybe-mostlyclean-target-winsup \
1392 maybe-mostlyclean-target-libgloss \
1393 maybe-mostlyclean-target-libiberty \
1394 maybe-mostlyclean-target-gperf \
1395 maybe-mostlyclean-target-examples \
1396 maybe-mostlyclean-target-libffi \
1397 maybe-mostlyclean-target-libjava \
1398 maybe-mostlyclean-target-zlib \
1399 maybe-mostlyclean-target-boehm-gc \
1400 maybe-mostlyclean-target-qthreads \
1401 maybe-mostlyclean-target-rda \
1402 maybe-mostlyclean-target-libada
1405 do-clean: unstage clean-host clean-target stage
1410 maybe-clean-autoconf \
1411 maybe-clean-automake \
1414 maybe-clean-opcodes \
1415 maybe-clean-binutils \
1419 maybe-clean-dejagnu \
1421 maybe-clean-dosutils \
1423 maybe-clean-fastjar \
1424 maybe-clean-fileutils \
1425 maybe-clean-findutils \
1427 maybe-clean-fixincludes \
1432 maybe-clean-gettext \
1433 maybe-clean-gnuserv \
1437 maybe-clean-indent \
1442 maybe-clean-libcpp \
1443 maybe-clean-libgui \
1444 maybe-clean-libiberty \
1445 maybe-clean-libtool \
1448 maybe-clean-mmalloc \
1453 maybe-clean-readline \
1454 maybe-clean-release \
1455 maybe-clean-recode \
1457 maybe-clean-send-pr \
1458 maybe-clean-shellutils \
1462 maybe-clean-texinfo \
1463 maybe-clean-textutils \
1465 maybe-clean-uudecode \
1470 maybe-clean-expect \
1473 maybe-clean-libtermcap \
1476 .PHONY: clean-target
1478 maybe-clean-target-libstdc++-v3 \
1479 maybe-clean-target-libmudflap \
1480 maybe-clean-target-newlib \
1481 maybe-clean-target-libgfortran \
1482 maybe-clean-target-libobjc \
1483 maybe-clean-target-libtermcap \
1484 maybe-clean-target-winsup \
1485 maybe-clean-target-libgloss \
1486 maybe-clean-target-libiberty \
1487 maybe-clean-target-gperf \
1488 maybe-clean-target-examples \
1489 maybe-clean-target-libffi \
1490 maybe-clean-target-libjava \
1491 maybe-clean-target-zlib \
1492 maybe-clean-target-boehm-gc \
1493 maybe-clean-target-qthreads \
1494 maybe-clean-target-rda \
1495 maybe-clean-target-libada
1497 .PHONY: do-distclean
1498 do-distclean: unstage distclean-host distclean-target stage
1500 .PHONY: distclean-host
1502 maybe-distclean-ash \
1503 maybe-distclean-autoconf \
1504 maybe-distclean-automake \
1505 maybe-distclean-bash \
1506 maybe-distclean-bfd \
1507 maybe-distclean-opcodes \
1508 maybe-distclean-binutils \
1509 maybe-distclean-bison \
1510 maybe-distclean-byacc \
1511 maybe-distclean-bzip2 \
1512 maybe-distclean-dejagnu \
1513 maybe-distclean-diff \
1514 maybe-distclean-dosutils \
1515 maybe-distclean-etc \
1516 maybe-distclean-fastjar \
1517 maybe-distclean-fileutils \
1518 maybe-distclean-findutils \
1519 maybe-distclean-find \
1520 maybe-distclean-fixincludes \
1521 maybe-distclean-flex \
1522 maybe-distclean-gas \
1523 maybe-distclean-gcc \
1524 maybe-distclean-gawk \
1525 maybe-distclean-gettext \
1526 maybe-distclean-gnuserv \
1527 maybe-distclean-gprof \
1528 maybe-distclean-gzip \
1529 maybe-distclean-hello \
1530 maybe-distclean-indent \
1531 maybe-distclean-intl \
1532 maybe-distclean-tcl \
1533 maybe-distclean-itcl \
1534 maybe-distclean-ld \
1535 maybe-distclean-libcpp \
1536 maybe-distclean-libgui \
1537 maybe-distclean-libiberty \
1538 maybe-distclean-libtool \
1539 maybe-distclean-m4 \
1540 maybe-distclean-make \
1541 maybe-distclean-mmalloc \
1542 maybe-distclean-patch \
1543 maybe-distclean-perl \
1544 maybe-distclean-prms \
1545 maybe-distclean-rcs \
1546 maybe-distclean-readline \
1547 maybe-distclean-release \
1548 maybe-distclean-recode \
1549 maybe-distclean-sed \
1550 maybe-distclean-send-pr \
1551 maybe-distclean-shellutils \
1552 maybe-distclean-sid \
1553 maybe-distclean-sim \
1554 maybe-distclean-tar \
1555 maybe-distclean-texinfo \
1556 maybe-distclean-textutils \
1557 maybe-distclean-time \
1558 maybe-distclean-uudecode \
1559 maybe-distclean-wdiff \
1560 maybe-distclean-zip \
1561 maybe-distclean-zlib \
1562 maybe-distclean-gdb \
1563 maybe-distclean-expect \
1564 maybe-distclean-guile \
1565 maybe-distclean-tk \
1566 maybe-distclean-libtermcap \
1567 maybe-distclean-utils
1569 .PHONY: distclean-target
1571 maybe-distclean-target-libstdc++-v3 \
1572 maybe-distclean-target-libmudflap \
1573 maybe-distclean-target-newlib \
1574 maybe-distclean-target-libgfortran \
1575 maybe-distclean-target-libobjc \
1576 maybe-distclean-target-libtermcap \
1577 maybe-distclean-target-winsup \
1578 maybe-distclean-target-libgloss \
1579 maybe-distclean-target-libiberty \
1580 maybe-distclean-target-gperf \
1581 maybe-distclean-target-examples \
1582 maybe-distclean-target-libffi \
1583 maybe-distclean-target-libjava \
1584 maybe-distclean-target-zlib \
1585 maybe-distclean-target-boehm-gc \
1586 maybe-distclean-target-qthreads \
1587 maybe-distclean-target-rda \
1588 maybe-distclean-target-libada
1590 .PHONY: do-maintainer-clean
1591 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1593 .PHONY: maintainer-clean-host
1594 maintainer-clean-host: \
1595 maybe-maintainer-clean-ash \
1596 maybe-maintainer-clean-autoconf \
1597 maybe-maintainer-clean-automake \
1598 maybe-maintainer-clean-bash \
1599 maybe-maintainer-clean-bfd \
1600 maybe-maintainer-clean-opcodes \
1601 maybe-maintainer-clean-binutils \
1602 maybe-maintainer-clean-bison \
1603 maybe-maintainer-clean-byacc \
1604 maybe-maintainer-clean-bzip2 \
1605 maybe-maintainer-clean-dejagnu \
1606 maybe-maintainer-clean-diff \
1607 maybe-maintainer-clean-dosutils \
1608 maybe-maintainer-clean-etc \
1609 maybe-maintainer-clean-fastjar \
1610 maybe-maintainer-clean-fileutils \
1611 maybe-maintainer-clean-findutils \
1612 maybe-maintainer-clean-find \
1613 maybe-maintainer-clean-fixincludes \
1614 maybe-maintainer-clean-flex \
1615 maybe-maintainer-clean-gas \
1616 maybe-maintainer-clean-gcc \
1617 maybe-maintainer-clean-gawk \
1618 maybe-maintainer-clean-gettext \
1619 maybe-maintainer-clean-gnuserv \
1620 maybe-maintainer-clean-gprof \
1621 maybe-maintainer-clean-gzip \
1622 maybe-maintainer-clean-hello \
1623 maybe-maintainer-clean-indent \
1624 maybe-maintainer-clean-intl \
1625 maybe-maintainer-clean-tcl \
1626 maybe-maintainer-clean-itcl \
1627 maybe-maintainer-clean-ld \
1628 maybe-maintainer-clean-libcpp \
1629 maybe-maintainer-clean-libgui \
1630 maybe-maintainer-clean-libiberty \
1631 maybe-maintainer-clean-libtool \
1632 maybe-maintainer-clean-m4 \
1633 maybe-maintainer-clean-make \
1634 maybe-maintainer-clean-mmalloc \
1635 maybe-maintainer-clean-patch \
1636 maybe-maintainer-clean-perl \
1637 maybe-maintainer-clean-prms \
1638 maybe-maintainer-clean-rcs \
1639 maybe-maintainer-clean-readline \
1640 maybe-maintainer-clean-release \
1641 maybe-maintainer-clean-recode \
1642 maybe-maintainer-clean-sed \
1643 maybe-maintainer-clean-send-pr \
1644 maybe-maintainer-clean-shellutils \
1645 maybe-maintainer-clean-sid \
1646 maybe-maintainer-clean-sim \
1647 maybe-maintainer-clean-tar \
1648 maybe-maintainer-clean-texinfo \
1649 maybe-maintainer-clean-textutils \
1650 maybe-maintainer-clean-time \
1651 maybe-maintainer-clean-uudecode \
1652 maybe-maintainer-clean-wdiff \
1653 maybe-maintainer-clean-zip \
1654 maybe-maintainer-clean-zlib \
1655 maybe-maintainer-clean-gdb \
1656 maybe-maintainer-clean-expect \
1657 maybe-maintainer-clean-guile \
1658 maybe-maintainer-clean-tk \
1659 maybe-maintainer-clean-libtermcap \
1660 maybe-maintainer-clean-utils
1662 .PHONY: maintainer-clean-target
1663 maintainer-clean-target: \
1664 maybe-maintainer-clean-target-libstdc++-v3 \
1665 maybe-maintainer-clean-target-libmudflap \
1666 maybe-maintainer-clean-target-newlib \
1667 maybe-maintainer-clean-target-libgfortran \
1668 maybe-maintainer-clean-target-libobjc \
1669 maybe-maintainer-clean-target-libtermcap \
1670 maybe-maintainer-clean-target-winsup \
1671 maybe-maintainer-clean-target-libgloss \
1672 maybe-maintainer-clean-target-libiberty \
1673 maybe-maintainer-clean-target-gperf \
1674 maybe-maintainer-clean-target-examples \
1675 maybe-maintainer-clean-target-libffi \
1676 maybe-maintainer-clean-target-libjava \
1677 maybe-maintainer-clean-target-zlib \
1678 maybe-maintainer-clean-target-boehm-gc \
1679 maybe-maintainer-clean-target-qthreads \
1680 maybe-maintainer-clean-target-rda \
1681 maybe-maintainer-clean-target-libada
1684 # Here are the targets which correspond to the do-X targets.
1686 .PHONY: info installcheck dvi install-info
1687 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1688 .PHONY: local-clean local-distclean local-maintainer-clean
1690 installcheck: do-installcheck
1693 # Make sure makeinfo is built before we do a `make info', if we're
1694 # in fact building texinfo.
1695 do-info: maybe-all-texinfo
1697 install-info: do-install-info dir.info
1698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1699 if [ -f dir.info ] ; then \
1700 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1704 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1707 -rm -f Makefile config.status config.cache mh-frag mt-frag
1708 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1709 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1710 rm -rf $(TARGET_SUBDIR); \
1712 -rm -rf $(BUILD_SUBDIR)
1713 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1714 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1715 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1716 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1717 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1719 local-maintainer-clean:
1720 @echo "This command is intended for maintainers to use;"
1721 @echo "it deletes files that may require special tools to rebuild."
1723 clean: do-clean local-clean
1724 mostlyclean: do-mostlyclean local-clean
1725 distclean: do-distclean local-clean local-distclean
1726 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1727 maintainer-clean: local-distclean
1728 realclean: maintainer-clean
1730 # Extra dependency for clean-target, owing to the mixed nature of gcc
1731 clean-target: clean-target-libgcc
1732 clean-target-libgcc:
1733 test ! -d gcc/libgcc || \
1734 (cd gcc/libgcc && find . -type d -print) | \
1735 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1740 .PHONY: check do-check
1743 # Only include modules actually being configured and built.
1746 maybe-check-autoconf \
1747 maybe-check-automake \
1750 maybe-check-opcodes \
1751 maybe-check-binutils \
1755 maybe-check-dejagnu \
1757 maybe-check-dosutils \
1759 maybe-check-fastjar \
1760 maybe-check-fileutils \
1761 maybe-check-findutils \
1763 maybe-check-fixincludes \
1768 maybe-check-gettext \
1769 maybe-check-gnuserv \
1773 maybe-check-indent \
1778 maybe-check-libcpp \
1779 maybe-check-libgui \
1780 maybe-check-libiberty \
1781 maybe-check-libtool \
1784 maybe-check-mmalloc \
1789 maybe-check-readline \
1790 maybe-check-release \
1791 maybe-check-recode \
1793 maybe-check-send-pr \
1794 maybe-check-shellutils \
1798 maybe-check-texinfo \
1799 maybe-check-textutils \
1801 maybe-check-uudecode \
1806 maybe-check-expect \
1809 maybe-check-libtermcap \
1811 maybe-check-target-libstdc++-v3 \
1812 maybe-check-target-libmudflap \
1813 maybe-check-target-newlib \
1814 maybe-check-target-libgfortran \
1815 maybe-check-target-libobjc \
1816 maybe-check-target-libtermcap \
1817 maybe-check-target-winsup \
1818 maybe-check-target-libgloss \
1819 maybe-check-target-libiberty \
1820 maybe-check-target-gperf \
1821 maybe-check-target-examples \
1822 maybe-check-target-libffi \
1823 maybe-check-target-libjava \
1824 maybe-check-target-zlib \
1825 maybe-check-target-boehm-gc \
1826 maybe-check-target-qthreads \
1827 maybe-check-target-rda \
1828 maybe-check-target-libada stage
1830 # Automated reporting of test results.
1832 warning.log: build.log
1833 $(srcdir)/contrib/warn_summary build.log > $@
1836 if test x'$(BOOT_CFLAGS)' != x''; then \
1837 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1839 $(srcdir)/contrib/test_summary -t >$@
1841 echo If you really want to send e-mail, run ./$@ now
1843 mail-report-with-warnings.log: warning.log
1844 if test x'$(BOOT_CFLAGS)' != x''; then \
1845 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1847 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1849 echo If you really want to send e-mail, run ./$@ now
1851 # Installation targets.
1853 .PHONY: install uninstall
1854 install: installdirs install-host install-target
1856 .PHONY: install-host-nogcc
1857 install-host-nogcc: \
1859 maybe-install-autoconf \
1860 maybe-install-automake \
1861 maybe-install-bash \
1863 maybe-install-opcodes \
1864 maybe-install-binutils \
1865 maybe-install-bison \
1866 maybe-install-byacc \
1867 maybe-install-bzip2 \
1868 maybe-install-dejagnu \
1869 maybe-install-diff \
1870 maybe-install-dosutils \
1872 maybe-install-fastjar \
1873 maybe-install-fileutils \
1874 maybe-install-findutils \
1875 maybe-install-find \
1876 maybe-install-fixincludes \
1877 maybe-install-flex \
1879 maybe-install-gawk \
1880 maybe-install-gettext \
1881 maybe-install-gnuserv \
1882 maybe-install-gprof \
1883 maybe-install-gzip \
1884 maybe-install-hello \
1885 maybe-install-indent \
1886 maybe-install-intl \
1888 maybe-install-itcl \
1890 maybe-install-libcpp \
1891 maybe-install-libgui \
1892 maybe-install-libiberty \
1893 maybe-install-libtool \
1895 maybe-install-make \
1896 maybe-install-mmalloc \
1897 maybe-install-patch \
1898 maybe-install-perl \
1899 maybe-install-prms \
1901 maybe-install-readline \
1902 maybe-install-release \
1903 maybe-install-recode \
1905 maybe-install-send-pr \
1906 maybe-install-shellutils \
1910 maybe-install-texinfo \
1911 maybe-install-textutils \
1912 maybe-install-time \
1913 maybe-install-uudecode \
1914 maybe-install-wdiff \
1916 maybe-install-zlib \
1918 maybe-install-expect \
1919 maybe-install-guile \
1921 maybe-install-libtermcap \
1924 .PHONY: install-host
1927 maybe-install-autoconf \
1928 maybe-install-automake \
1929 maybe-install-bash \
1931 maybe-install-opcodes \
1932 maybe-install-binutils \
1933 maybe-install-bison \
1934 maybe-install-byacc \
1935 maybe-install-bzip2 \
1936 maybe-install-dejagnu \
1937 maybe-install-diff \
1938 maybe-install-dosutils \
1940 maybe-install-fastjar \
1941 maybe-install-fileutils \
1942 maybe-install-findutils \
1943 maybe-install-find \
1944 maybe-install-fixincludes \
1945 maybe-install-flex \
1948 maybe-install-gawk \
1949 maybe-install-gettext \
1950 maybe-install-gnuserv \
1951 maybe-install-gprof \
1952 maybe-install-gzip \
1953 maybe-install-hello \
1954 maybe-install-indent \
1955 maybe-install-intl \
1957 maybe-install-itcl \
1959 maybe-install-libcpp \
1960 maybe-install-libgui \
1961 maybe-install-libiberty \
1962 maybe-install-libtool \
1964 maybe-install-make \
1965 maybe-install-mmalloc \
1966 maybe-install-patch \
1967 maybe-install-perl \
1968 maybe-install-prms \
1970 maybe-install-readline \
1971 maybe-install-release \
1972 maybe-install-recode \
1974 maybe-install-send-pr \
1975 maybe-install-shellutils \
1979 maybe-install-texinfo \
1980 maybe-install-textutils \
1981 maybe-install-time \
1982 maybe-install-uudecode \
1983 maybe-install-wdiff \
1985 maybe-install-zlib \
1987 maybe-install-expect \
1988 maybe-install-guile \
1990 maybe-install-libtermcap \
1993 .PHONY: install-target
1995 maybe-install-target-libstdc++-v3 \
1996 maybe-install-target-libmudflap \
1997 maybe-install-target-newlib \
1998 maybe-install-target-libgfortran \
1999 maybe-install-target-libobjc \
2000 maybe-install-target-libtermcap \
2001 maybe-install-target-winsup \
2002 maybe-install-target-libgloss \
2003 maybe-install-target-libiberty \
2004 maybe-install-target-gperf \
2005 maybe-install-target-examples \
2006 maybe-install-target-libffi \
2007 maybe-install-target-libjava \
2008 maybe-install-target-zlib \
2009 maybe-install-target-boehm-gc \
2010 maybe-install-target-qthreads \
2011 maybe-install-target-rda \
2012 maybe-install-target-libada
2015 @echo "the uninstall target is not supported in this tree"
2018 install.all: install-no-fixedincludes
2019 @if [ -f ./gcc/Makefile ] ; then \
2020 r=`${PWD_COMMAND}` ; export r ; \
2024 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2029 # install-no-fixedincludes is used because Cygnus can not distribute
2030 # the fixed header files.
2031 .PHONY: install-no-fixedincludes
2032 install-no-fixedincludes: installdirs install-host-nogcc \
2033 install-target gcc-no-fixedincludes
2035 ### other supporting targets
2038 $(DESTDIR)$(prefix) \
2039 $(DESTDIR)$(exec_prefix)
2041 installdirs: mkinstalldirs
2042 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2044 dir.info: do-install-info
2045 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2046 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2047 mv -f dir.info.new dir.info ; \
2052 @echo "Building a full distribution of this tree isn't done"
2053 @echo "via 'make dist'. Check out the etc/ subdirectory"
2057 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2058 # ability to use several tags files at once, so there is probably no need
2059 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2060 # (if we felt like it) have this Makefile write a piece of elisp which
2061 # the user could load to tell emacs19 where all the TAGS files we just
2065 # --------------------------------------
2066 # Modules which run on the build machine
2067 # --------------------------------------
2069 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2070 maybe-configure-build-libiberty:
2072 maybe-configure-build-libiberty: configure-build-libiberty
2073 configure-build-libiberty:
2074 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2075 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2076 r=`${PWD_COMMAND}`; export r; \
2077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2079 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2080 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2082 /* | [A-Za-z]:[\\/]*) \
2083 topdir=$(srcdir) ;; \
2085 case "$(BUILD_SUBDIR)" in \
2086 .) topdir="../$(srcdir)" ;; \
2087 *) topdir="../../$(srcdir)" ;; \
2090 if [ "$(srcdir)" = "." ] ; then \
2091 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2092 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
2093 if [ -f Makefile ]; then \
2094 if $(MAKE) distclean; then \
2108 srcdiroption="--srcdir=."; \
2111 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2112 libsrcdir="$$s/libiberty"; \
2114 rm -f no-such-file || : ; \
2115 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2116 $(BUILD_CONFIGARGS) $${srcdiroption} \
2117 --with-build-subdir="$(BUILD_SUBDIR)" \
2119 @endif build-libiberty
2121 .PHONY: all-build-libiberty maybe-all-build-libiberty
2122 maybe-all-build-libiberty:
2124 TARGET-build-libiberty=all
2125 maybe-all-build-libiberty: all-build-libiberty
2126 all-build-libiberty: configure-build-libiberty
2127 @r=`${PWD_COMMAND}`; export r; \
2128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2130 (cd $(BUILD_SUBDIR)/libiberty && \
2131 $(MAKE) $(TARGET-build-libiberty))
2132 @endif build-libiberty
2134 .PHONY: configure-build-bison maybe-configure-build-bison
2135 maybe-configure-build-bison:
2137 maybe-configure-build-bison: configure-build-bison
2138 configure-build-bison:
2139 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2140 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2141 r=`${PWD_COMMAND}`; export r; \
2142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2144 echo Configuring in $(BUILD_SUBDIR)/bison; \
2145 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2147 /* | [A-Za-z]:[\\/]*) \
2148 topdir=$(srcdir) ;; \
2150 case "$(BUILD_SUBDIR)" in \
2151 .) topdir="../$(srcdir)" ;; \
2152 *) topdir="../../$(srcdir)" ;; \
2155 if [ "$(srcdir)" = "." ] ; then \
2156 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2157 if $(SHELL) $$s/symlink-tree $${topdir}/bison "no-such-file" ; then \
2158 if [ -f Makefile ]; then \
2159 if $(MAKE) distclean; then \
2173 srcdiroption="--srcdir=."; \
2176 srcdiroption="--srcdir=$${topdir}/bison"; \
2177 libsrcdir="$$s/bison"; \
2179 rm -f no-such-file || : ; \
2180 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2181 $(BUILD_CONFIGARGS) $${srcdiroption} \
2182 --with-build-subdir="$(BUILD_SUBDIR)" \
2186 .PHONY: all-build-bison maybe-all-build-bison
2187 maybe-all-build-bison:
2189 TARGET-build-bison=all
2190 maybe-all-build-bison: all-build-bison
2191 all-build-bison: configure-build-bison
2192 @r=`${PWD_COMMAND}`; export r; \
2193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2195 (cd $(BUILD_SUBDIR)/bison && \
2196 $(MAKE) $(TARGET-build-bison))
2199 .PHONY: configure-build-byacc maybe-configure-build-byacc
2200 maybe-configure-build-byacc:
2202 maybe-configure-build-byacc: configure-build-byacc
2203 configure-build-byacc:
2204 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2205 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2206 r=`${PWD_COMMAND}`; export r; \
2207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2209 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2210 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2212 /* | [A-Za-z]:[\\/]*) \
2213 topdir=$(srcdir) ;; \
2215 case "$(BUILD_SUBDIR)" in \
2216 .) topdir="../$(srcdir)" ;; \
2217 *) topdir="../../$(srcdir)" ;; \
2220 if [ "$(srcdir)" = "." ] ; then \
2221 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2222 if $(SHELL) $$s/symlink-tree $${topdir}/byacc "no-such-file" ; then \
2223 if [ -f Makefile ]; then \
2224 if $(MAKE) distclean; then \
2238 srcdiroption="--srcdir=."; \
2241 srcdiroption="--srcdir=$${topdir}/byacc"; \
2242 libsrcdir="$$s/byacc"; \
2244 rm -f no-such-file || : ; \
2245 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2246 $(BUILD_CONFIGARGS) $${srcdiroption} \
2247 --with-build-subdir="$(BUILD_SUBDIR)" \
2251 .PHONY: all-build-byacc maybe-all-build-byacc
2252 maybe-all-build-byacc:
2254 TARGET-build-byacc=all
2255 maybe-all-build-byacc: all-build-byacc
2256 all-build-byacc: configure-build-byacc
2257 @r=`${PWD_COMMAND}`; export r; \
2258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2260 (cd $(BUILD_SUBDIR)/byacc && \
2261 $(MAKE) $(TARGET-build-byacc))
2264 .PHONY: configure-build-flex maybe-configure-build-flex
2265 maybe-configure-build-flex:
2267 maybe-configure-build-flex: configure-build-flex
2268 configure-build-flex:
2269 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2270 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2271 r=`${PWD_COMMAND}`; export r; \
2272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2274 echo Configuring in $(BUILD_SUBDIR)/flex; \
2275 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2277 /* | [A-Za-z]:[\\/]*) \
2278 topdir=$(srcdir) ;; \
2280 case "$(BUILD_SUBDIR)" in \
2281 .) topdir="../$(srcdir)" ;; \
2282 *) topdir="../../$(srcdir)" ;; \
2285 if [ "$(srcdir)" = "." ] ; then \
2286 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2287 if $(SHELL) $$s/symlink-tree $${topdir}/flex "no-such-file" ; then \
2288 if [ -f Makefile ]; then \
2289 if $(MAKE) distclean; then \
2303 srcdiroption="--srcdir=."; \
2306 srcdiroption="--srcdir=$${topdir}/flex"; \
2307 libsrcdir="$$s/flex"; \
2309 rm -f no-such-file || : ; \
2310 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2311 $(BUILD_CONFIGARGS) $${srcdiroption} \
2312 --with-build-subdir="$(BUILD_SUBDIR)" \
2316 .PHONY: all-build-flex maybe-all-build-flex
2317 maybe-all-build-flex:
2319 TARGET-build-flex=all
2320 maybe-all-build-flex: all-build-flex
2321 all-build-flex: configure-build-flex
2322 @r=`${PWD_COMMAND}`; export r; \
2323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2325 (cd $(BUILD_SUBDIR)/flex && \
2326 $(MAKE) $(TARGET-build-flex))
2329 .PHONY: configure-build-m4 maybe-configure-build-m4
2330 maybe-configure-build-m4:
2332 maybe-configure-build-m4: configure-build-m4
2334 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2335 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2336 r=`${PWD_COMMAND}`; export r; \
2337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2339 echo Configuring in $(BUILD_SUBDIR)/m4; \
2340 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2342 /* | [A-Za-z]:[\\/]*) \
2343 topdir=$(srcdir) ;; \
2345 case "$(BUILD_SUBDIR)" in \
2346 .) topdir="../$(srcdir)" ;; \
2347 *) topdir="../../$(srcdir)" ;; \
2350 if [ "$(srcdir)" = "." ] ; then \
2351 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2352 if $(SHELL) $$s/symlink-tree $${topdir}/m4 "no-such-file" ; then \
2353 if [ -f Makefile ]; then \
2354 if $(MAKE) distclean; then \
2368 srcdiroption="--srcdir=."; \
2371 srcdiroption="--srcdir=$${topdir}/m4"; \
2372 libsrcdir="$$s/m4"; \
2374 rm -f no-such-file || : ; \
2375 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2376 $(BUILD_CONFIGARGS) $${srcdiroption} \
2377 --with-build-subdir="$(BUILD_SUBDIR)" \
2381 .PHONY: all-build-m4 maybe-all-build-m4
2385 maybe-all-build-m4: all-build-m4
2386 all-build-m4: configure-build-m4
2387 @r=`${PWD_COMMAND}`; export r; \
2388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2390 (cd $(BUILD_SUBDIR)/m4 && \
2391 $(MAKE) $(TARGET-build-m4))
2394 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2395 maybe-configure-build-texinfo:
2397 maybe-configure-build-texinfo: configure-build-texinfo
2398 configure-build-texinfo:
2399 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2400 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2401 r=`${PWD_COMMAND}`; export r; \
2402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2404 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2405 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2407 /* | [A-Za-z]:[\\/]*) \
2408 topdir=$(srcdir) ;; \
2410 case "$(BUILD_SUBDIR)" in \
2411 .) topdir="../$(srcdir)" ;; \
2412 *) topdir="../../$(srcdir)" ;; \
2415 if [ "$(srcdir)" = "." ] ; then \
2416 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2417 if $(SHELL) $$s/symlink-tree $${topdir}/texinfo "no-such-file" ; then \
2418 if [ -f Makefile ]; then \
2419 if $(MAKE) distclean; then \
2433 srcdiroption="--srcdir=."; \
2436 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2437 libsrcdir="$$s/texinfo"; \
2439 rm -f no-such-file || : ; \
2440 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2441 $(BUILD_CONFIGARGS) $${srcdiroption} \
2442 --with-build-subdir="$(BUILD_SUBDIR)" \
2444 @endif build-texinfo
2446 .PHONY: all-build-texinfo maybe-all-build-texinfo
2447 maybe-all-build-texinfo:
2449 TARGET-build-texinfo=all
2450 maybe-all-build-texinfo: all-build-texinfo
2451 all-build-texinfo: configure-build-texinfo
2452 @r=`${PWD_COMMAND}`; export r; \
2453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2455 (cd $(BUILD_SUBDIR)/texinfo && \
2456 $(MAKE) $(TARGET-build-texinfo))
2457 @endif build-texinfo
2459 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2460 maybe-configure-build-fixincludes:
2461 @if build-fixincludes
2462 maybe-configure-build-fixincludes: configure-build-fixincludes
2463 configure-build-fixincludes:
2464 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2465 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2466 r=`${PWD_COMMAND}`; export r; \
2467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2469 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2470 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2472 /* | [A-Za-z]:[\\/]*) \
2473 topdir=$(srcdir) ;; \
2475 case "$(BUILD_SUBDIR)" in \
2476 .) topdir="../$(srcdir)" ;; \
2477 *) topdir="../../$(srcdir)" ;; \
2480 if [ "$(srcdir)" = "." ] ; then \
2481 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2482 if $(SHELL) $$s/symlink-tree $${topdir}/fixincludes "no-such-file" ; then \
2483 if [ -f Makefile ]; then \
2484 if $(MAKE) distclean; then \
2498 srcdiroption="--srcdir=."; \
2501 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2502 libsrcdir="$$s/fixincludes"; \
2504 rm -f no-such-file || : ; \
2505 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2506 $(BUILD_CONFIGARGS) $${srcdiroption} \
2507 --with-build-subdir="$(BUILD_SUBDIR)" \
2509 @endif build-fixincludes
2511 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2512 maybe-all-build-fixincludes:
2513 @if build-fixincludes
2514 TARGET-build-fixincludes=all
2515 maybe-all-build-fixincludes: all-build-fixincludes
2516 all-build-fixincludes: configure-build-fixincludes
2517 @r=`${PWD_COMMAND}`; export r; \
2518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2520 (cd $(BUILD_SUBDIR)/fixincludes && \
2521 $(MAKE) $(TARGET-build-fixincludes))
2522 @endif build-fixincludes
2525 # --------------------------------------
2526 # Modules which run on the host machine
2527 # --------------------------------------
2529 .PHONY: configure-ash maybe-configure-ash
2530 maybe-configure-ash:
2532 maybe-configure-ash: configure-ash
2534 @test ! -f ash/Makefile || exit 0; \
2535 [ -d ash ] || mkdir ash; \
2536 r=`${PWD_COMMAND}`; export r; \
2537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2539 echo Configuring in ash; \
2543 srcdiroption="--srcdir=."; \
2545 /* | [A-Za-z]:[\\/]*) \
2546 srcdiroption="--srcdir=$(srcdir)/ash"; \
2547 libsrcdir="$$s/ash";; \
2549 srcdiroption="--srcdir=../$(srcdir)/ash"; \
2550 libsrcdir="$$s/ash";; \
2552 $(SHELL) $${libsrcdir}/configure \
2553 $(HOST_CONFIGARGS) $${srcdiroption} \
2557 .PHONY: all-ash maybe-all-ash
2561 maybe-all-ash: all-ash
2562 all-ash: configure-ash
2563 @r=`${PWD_COMMAND}`; export r; \
2564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2567 (cd ash && $(MAKE) $(FLAGS_TO_PASS) \
2571 .PHONY: check-ash maybe-check-ash
2574 maybe-check-ash: check-ash
2577 @r=`${PWD_COMMAND}`; export r; \
2578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2581 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2585 .PHONY: install-ash maybe-install-ash
2588 maybe-install-ash: install-ash
2590 install-ash: installdirs
2591 @r=`${PWD_COMMAND}`; export r; \
2592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2595 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2599 # Other targets (info, dvi, etc.)
2601 .PHONY: maybe-info-ash info-ash
2604 maybe-info-ash: info-ash
2608 @[ -f ./ash/Makefile ] || exit 0; \
2609 r=`${PWD_COMMAND}`; export r; \
2610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2613 for flag in $(EXTRA_HOST_FLAGS) ; do \
2614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2616 echo "Doing info in ash" ; \
2618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2620 "RANLIB=$${RANLIB}" \
2621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2627 .PHONY: maybe-dvi-ash dvi-ash
2630 maybe-dvi-ash: dvi-ash
2634 @[ -f ./ash/Makefile ] || exit 0; \
2635 r=`${PWD_COMMAND}`; export r; \
2636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2639 for flag in $(EXTRA_HOST_FLAGS) ; do \
2640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2642 echo "Doing dvi in ash" ; \
2644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2646 "RANLIB=$${RANLIB}" \
2647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2653 .PHONY: maybe-TAGS-ash TAGS-ash
2656 maybe-TAGS-ash: TAGS-ash
2660 @[ -f ./ash/Makefile ] || exit 0; \
2661 r=`${PWD_COMMAND}`; export r; \
2662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2665 for flag in $(EXTRA_HOST_FLAGS) ; do \
2666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2668 echo "Doing TAGS in ash" ; \
2670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2672 "RANLIB=$${RANLIB}" \
2673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2679 .PHONY: maybe-install-info-ash install-info-ash
2680 maybe-install-info-ash:
2682 maybe-install-info-ash: install-info-ash
2687 @[ -f ./ash/Makefile ] || exit 0; \
2688 r=`${PWD_COMMAND}`; export r; \
2689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2692 for flag in $(EXTRA_HOST_FLAGS) ; do \
2693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2695 echo "Doing install-info in ash" ; \
2697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2699 "RANLIB=$${RANLIB}" \
2700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2706 .PHONY: maybe-installcheck-ash installcheck-ash
2707 maybe-installcheck-ash:
2709 maybe-installcheck-ash: installcheck-ash
2713 @[ -f ./ash/Makefile ] || exit 0; \
2714 r=`${PWD_COMMAND}`; export r; \
2715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2718 for flag in $(EXTRA_HOST_FLAGS) ; do \
2719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2721 echo "Doing installcheck in ash" ; \
2723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2725 "RANLIB=$${RANLIB}" \
2726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2732 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2733 maybe-mostlyclean-ash:
2735 maybe-mostlyclean-ash: mostlyclean-ash
2738 @[ -f ./ash/Makefile ] || exit 0; \
2739 r=`${PWD_COMMAND}`; export r; \
2740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2743 for flag in $(EXTRA_HOST_FLAGS) ; do \
2744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2746 echo "Doing mostlyclean in ash" ; \
2748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2750 "RANLIB=$${RANLIB}" \
2751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2757 .PHONY: maybe-clean-ash clean-ash
2760 maybe-clean-ash: clean-ash
2763 @[ -f ./ash/Makefile ] || exit 0; \
2764 r=`${PWD_COMMAND}`; export r; \
2765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2768 for flag in $(EXTRA_HOST_FLAGS) ; do \
2769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2771 echo "Doing clean in ash" ; \
2773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2775 "RANLIB=$${RANLIB}" \
2776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2782 .PHONY: maybe-distclean-ash distclean-ash
2783 maybe-distclean-ash:
2785 maybe-distclean-ash: distclean-ash
2788 @[ -f ./ash/Makefile ] || exit 0; \
2789 r=`${PWD_COMMAND}`; export r; \
2790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2793 for flag in $(EXTRA_HOST_FLAGS) ; do \
2794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2796 echo "Doing distclean in ash" ; \
2798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2800 "RANLIB=$${RANLIB}" \
2801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2807 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2808 maybe-maintainer-clean-ash:
2810 maybe-maintainer-clean-ash: maintainer-clean-ash
2812 maintainer-clean-ash:
2813 @[ -f ./ash/Makefile ] || exit 0; \
2814 r=`${PWD_COMMAND}`; export r; \
2815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2818 for flag in $(EXTRA_HOST_FLAGS) ; do \
2819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2821 echo "Doing maintainer-clean in ash" ; \
2823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2825 "RANLIB=$${RANLIB}" \
2826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2833 .PHONY: configure-autoconf maybe-configure-autoconf
2834 maybe-configure-autoconf:
2836 maybe-configure-autoconf: configure-autoconf
2838 @test ! -f autoconf/Makefile || exit 0; \
2839 [ -d autoconf ] || mkdir autoconf; \
2840 r=`${PWD_COMMAND}`; export r; \
2841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2843 echo Configuring in autoconf; \
2844 cd autoconf || exit 1; \
2847 srcdiroption="--srcdir=."; \
2849 /* | [A-Za-z]:[\\/]*) \
2850 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2851 libsrcdir="$$s/autoconf";; \
2853 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2854 libsrcdir="$$s/autoconf";; \
2856 $(SHELL) $${libsrcdir}/configure \
2857 $(HOST_CONFIGARGS) $${srcdiroption} \
2861 .PHONY: all-autoconf maybe-all-autoconf
2865 maybe-all-autoconf: all-autoconf
2866 all-autoconf: configure-autoconf
2867 @r=`${PWD_COMMAND}`; export r; \
2868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2871 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) \
2875 .PHONY: check-autoconf maybe-check-autoconf
2876 maybe-check-autoconf:
2878 maybe-check-autoconf: check-autoconf
2881 @r=`${PWD_COMMAND}`; export r; \
2882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2885 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
2889 .PHONY: install-autoconf maybe-install-autoconf
2890 maybe-install-autoconf:
2892 maybe-install-autoconf: install-autoconf
2894 install-autoconf: installdirs
2895 @r=`${PWD_COMMAND}`; export r; \
2896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2899 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
2903 # Other targets (info, dvi, etc.)
2905 .PHONY: maybe-info-autoconf info-autoconf
2906 maybe-info-autoconf:
2908 maybe-info-autoconf: info-autoconf
2912 @[ -f ./autoconf/Makefile ] || exit 0; \
2913 r=`${PWD_COMMAND}`; export r; \
2914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2917 for flag in $(EXTRA_HOST_FLAGS) ; do \
2918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2920 echo "Doing info in autoconf" ; \
2922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2924 "RANLIB=$${RANLIB}" \
2925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2931 .PHONY: maybe-dvi-autoconf dvi-autoconf
2934 maybe-dvi-autoconf: dvi-autoconf
2938 @[ -f ./autoconf/Makefile ] || exit 0; \
2939 r=`${PWD_COMMAND}`; export r; \
2940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2943 for flag in $(EXTRA_HOST_FLAGS) ; do \
2944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2946 echo "Doing dvi in autoconf" ; \
2948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2950 "RANLIB=$${RANLIB}" \
2951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2957 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2958 maybe-TAGS-autoconf:
2960 maybe-TAGS-autoconf: TAGS-autoconf
2964 @[ -f ./autoconf/Makefile ] || exit 0; \
2965 r=`${PWD_COMMAND}`; export r; \
2966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2969 for flag in $(EXTRA_HOST_FLAGS) ; do \
2970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2972 echo "Doing TAGS in autoconf" ; \
2974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2976 "RANLIB=$${RANLIB}" \
2977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2983 .PHONY: maybe-install-info-autoconf install-info-autoconf
2984 maybe-install-info-autoconf:
2986 maybe-install-info-autoconf: install-info-autoconf
2988 install-info-autoconf: \
2989 configure-autoconf \
2991 @[ -f ./autoconf/Makefile ] || exit 0; \
2992 r=`${PWD_COMMAND}`; export r; \
2993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2996 for flag in $(EXTRA_HOST_FLAGS) ; do \
2997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2999 echo "Doing install-info in autoconf" ; \
3001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3003 "RANLIB=$${RANLIB}" \
3004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3010 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3011 maybe-installcheck-autoconf:
3013 maybe-installcheck-autoconf: installcheck-autoconf
3015 installcheck-autoconf: \
3017 @[ -f ./autoconf/Makefile ] || exit 0; \
3018 r=`${PWD_COMMAND}`; export r; \
3019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3022 for flag in $(EXTRA_HOST_FLAGS) ; do \
3023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3025 echo "Doing installcheck in autoconf" ; \
3027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3029 "RANLIB=$${RANLIB}" \
3030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3036 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3037 maybe-mostlyclean-autoconf:
3039 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3041 mostlyclean-autoconf:
3042 @[ -f ./autoconf/Makefile ] || exit 0; \
3043 r=`${PWD_COMMAND}`; export r; \
3044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3047 for flag in $(EXTRA_HOST_FLAGS) ; do \
3048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3050 echo "Doing mostlyclean in autoconf" ; \
3052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3054 "RANLIB=$${RANLIB}" \
3055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3061 .PHONY: maybe-clean-autoconf clean-autoconf
3062 maybe-clean-autoconf:
3064 maybe-clean-autoconf: clean-autoconf
3067 @[ -f ./autoconf/Makefile ] || exit 0; \
3068 r=`${PWD_COMMAND}`; export r; \
3069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3072 for flag in $(EXTRA_HOST_FLAGS) ; do \
3073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3075 echo "Doing clean in autoconf" ; \
3077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3079 "RANLIB=$${RANLIB}" \
3080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3086 .PHONY: maybe-distclean-autoconf distclean-autoconf
3087 maybe-distclean-autoconf:
3089 maybe-distclean-autoconf: distclean-autoconf
3092 @[ -f ./autoconf/Makefile ] || exit 0; \
3093 r=`${PWD_COMMAND}`; export r; \
3094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3097 for flag in $(EXTRA_HOST_FLAGS) ; do \
3098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3100 echo "Doing distclean in autoconf" ; \
3102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3104 "RANLIB=$${RANLIB}" \
3105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3111 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3112 maybe-maintainer-clean-autoconf:
3114 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3116 maintainer-clean-autoconf:
3117 @[ -f ./autoconf/Makefile ] || exit 0; \
3118 r=`${PWD_COMMAND}`; export r; \
3119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3122 for flag in $(EXTRA_HOST_FLAGS) ; do \
3123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3125 echo "Doing maintainer-clean in autoconf" ; \
3127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3129 "RANLIB=$${RANLIB}" \
3130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3137 .PHONY: configure-automake maybe-configure-automake
3138 maybe-configure-automake:
3140 maybe-configure-automake: configure-automake
3142 @test ! -f automake/Makefile || exit 0; \
3143 [ -d automake ] || mkdir automake; \
3144 r=`${PWD_COMMAND}`; export r; \
3145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3147 echo Configuring in automake; \
3148 cd automake || exit 1; \
3151 srcdiroption="--srcdir=."; \
3153 /* | [A-Za-z]:[\\/]*) \
3154 srcdiroption="--srcdir=$(srcdir)/automake"; \
3155 libsrcdir="$$s/automake";; \
3157 srcdiroption="--srcdir=../$(srcdir)/automake"; \
3158 libsrcdir="$$s/automake";; \
3160 $(SHELL) $${libsrcdir}/configure \
3161 $(HOST_CONFIGARGS) $${srcdiroption} \
3165 .PHONY: all-automake maybe-all-automake
3169 maybe-all-automake: all-automake
3170 all-automake: configure-automake
3171 @r=`${PWD_COMMAND}`; export r; \
3172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3175 (cd automake && $(MAKE) $(FLAGS_TO_PASS) \
3179 .PHONY: check-automake maybe-check-automake
3180 maybe-check-automake:
3182 maybe-check-automake: check-automake
3185 @r=`${PWD_COMMAND}`; export r; \
3186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3189 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
3193 .PHONY: install-automake maybe-install-automake
3194 maybe-install-automake:
3196 maybe-install-automake: install-automake
3198 install-automake: installdirs
3199 @r=`${PWD_COMMAND}`; export r; \
3200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3203 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
3207 # Other targets (info, dvi, etc.)
3209 .PHONY: maybe-info-automake info-automake
3210 maybe-info-automake:
3212 maybe-info-automake: info-automake
3216 @[ -f ./automake/Makefile ] || exit 0; \
3217 r=`${PWD_COMMAND}`; export r; \
3218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3221 for flag in $(EXTRA_HOST_FLAGS) ; do \
3222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3224 echo "Doing info in automake" ; \
3226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3228 "RANLIB=$${RANLIB}" \
3229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3235 .PHONY: maybe-dvi-automake dvi-automake
3238 maybe-dvi-automake: dvi-automake
3242 @[ -f ./automake/Makefile ] || exit 0; \
3243 r=`${PWD_COMMAND}`; export r; \
3244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3247 for flag in $(EXTRA_HOST_FLAGS) ; do \
3248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3250 echo "Doing dvi in automake" ; \
3252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3254 "RANLIB=$${RANLIB}" \
3255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3261 .PHONY: maybe-TAGS-automake TAGS-automake
3262 maybe-TAGS-automake:
3264 maybe-TAGS-automake: TAGS-automake
3268 @[ -f ./automake/Makefile ] || exit 0; \
3269 r=`${PWD_COMMAND}`; export r; \
3270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3273 for flag in $(EXTRA_HOST_FLAGS) ; do \
3274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3276 echo "Doing TAGS in automake" ; \
3278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3280 "RANLIB=$${RANLIB}" \
3281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3287 .PHONY: maybe-install-info-automake install-info-automake
3288 maybe-install-info-automake:
3290 maybe-install-info-automake: install-info-automake
3292 install-info-automake: \
3293 configure-automake \
3295 @[ -f ./automake/Makefile ] || exit 0; \
3296 r=`${PWD_COMMAND}`; export r; \
3297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3300 for flag in $(EXTRA_HOST_FLAGS) ; do \
3301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3303 echo "Doing install-info in automake" ; \
3305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3307 "RANLIB=$${RANLIB}" \
3308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3314 .PHONY: maybe-installcheck-automake installcheck-automake
3315 maybe-installcheck-automake:
3317 maybe-installcheck-automake: installcheck-automake
3319 installcheck-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 installcheck 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-mostlyclean-automake mostlyclean-automake
3341 maybe-mostlyclean-automake:
3343 maybe-mostlyclean-automake: mostlyclean-automake
3345 mostlyclean-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 mostlyclean 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-clean-automake clean-automake
3366 maybe-clean-automake:
3368 maybe-clean-automake: clean-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 clean 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-distclean-automake distclean-automake
3391 maybe-distclean-automake:
3393 maybe-distclean-automake: distclean-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 distclean 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}" \
3415 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3416 maybe-maintainer-clean-automake:
3418 maybe-maintainer-clean-automake: maintainer-clean-automake
3420 maintainer-clean-automake:
3421 @[ -f ./automake/Makefile ] || exit 0; \
3422 r=`${PWD_COMMAND}`; export r; \
3423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3426 for flag in $(EXTRA_HOST_FLAGS) ; do \
3427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3429 echo "Doing maintainer-clean in automake" ; \
3431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3433 "RANLIB=$${RANLIB}" \
3434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3441 .PHONY: configure-bash maybe-configure-bash
3442 maybe-configure-bash:
3444 maybe-configure-bash: configure-bash
3446 @test ! -f bash/Makefile || exit 0; \
3447 [ -d bash ] || mkdir bash; \
3448 r=`${PWD_COMMAND}`; export r; \
3449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3451 echo Configuring in bash; \
3452 cd bash || exit 1; \
3455 srcdiroption="--srcdir=."; \
3457 /* | [A-Za-z]:[\\/]*) \
3458 srcdiroption="--srcdir=$(srcdir)/bash"; \
3459 libsrcdir="$$s/bash";; \
3461 srcdiroption="--srcdir=../$(srcdir)/bash"; \
3462 libsrcdir="$$s/bash";; \
3464 $(SHELL) $${libsrcdir}/configure \
3465 $(HOST_CONFIGARGS) $${srcdiroption} \
3469 .PHONY: all-bash maybe-all-bash
3473 maybe-all-bash: all-bash
3474 all-bash: configure-bash
3475 @r=`${PWD_COMMAND}`; export r; \
3476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3479 (cd bash && $(MAKE) $(FLAGS_TO_PASS) \
3483 .PHONY: check-bash maybe-check-bash
3486 maybe-check-bash: check-bash
3489 @r=`${PWD_COMMAND}`; export r; \
3490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3493 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
3497 .PHONY: install-bash maybe-install-bash
3500 maybe-install-bash: install-bash
3502 install-bash: installdirs
3503 @r=`${PWD_COMMAND}`; export r; \
3504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3507 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
3511 # Other targets (info, dvi, etc.)
3513 .PHONY: maybe-info-bash info-bash
3516 maybe-info-bash: info-bash
3520 @[ -f ./bash/Makefile ] || exit 0; \
3521 r=`${PWD_COMMAND}`; export r; \
3522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3525 for flag in $(EXTRA_HOST_FLAGS) ; do \
3526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3528 echo "Doing info in bash" ; \
3530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3532 "RANLIB=$${RANLIB}" \
3533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3539 .PHONY: maybe-dvi-bash dvi-bash
3542 maybe-dvi-bash: dvi-bash
3546 @[ -f ./bash/Makefile ] || exit 0; \
3547 r=`${PWD_COMMAND}`; export r; \
3548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3551 for flag in $(EXTRA_HOST_FLAGS) ; do \
3552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3554 echo "Doing dvi in bash" ; \
3556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3558 "RANLIB=$${RANLIB}" \
3559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3565 .PHONY: maybe-TAGS-bash TAGS-bash
3568 maybe-TAGS-bash: TAGS-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 TAGS 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-install-info-bash install-info-bash
3592 maybe-install-info-bash:
3594 maybe-install-info-bash: install-info-bash
3596 install-info-bash: \
3599 @[ -f ./bash/Makefile ] || exit 0; \
3600 r=`${PWD_COMMAND}`; export r; \
3601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3604 for flag in $(EXTRA_HOST_FLAGS) ; do \
3605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3607 echo "Doing install-info in bash" ; \
3609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3611 "RANLIB=$${RANLIB}" \
3612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3618 .PHONY: maybe-installcheck-bash installcheck-bash
3619 maybe-installcheck-bash:
3621 maybe-installcheck-bash: installcheck-bash
3623 installcheck-bash: \
3625 @[ -f ./bash/Makefile ] || exit 0; \
3626 r=`${PWD_COMMAND}`; export r; \
3627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3630 for flag in $(EXTRA_HOST_FLAGS) ; do \
3631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3633 echo "Doing installcheck in bash" ; \
3635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3637 "RANLIB=$${RANLIB}" \
3638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3644 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3645 maybe-mostlyclean-bash:
3647 maybe-mostlyclean-bash: mostlyclean-bash
3650 @[ -f ./bash/Makefile ] || exit 0; \
3651 r=`${PWD_COMMAND}`; export r; \
3652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3655 for flag in $(EXTRA_HOST_FLAGS) ; do \
3656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3658 echo "Doing mostlyclean in bash" ; \
3660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3662 "RANLIB=$${RANLIB}" \
3663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3669 .PHONY: maybe-clean-bash clean-bash
3672 maybe-clean-bash: clean-bash
3675 @[ -f ./bash/Makefile ] || exit 0; \
3676 r=`${PWD_COMMAND}`; export r; \
3677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3680 for flag in $(EXTRA_HOST_FLAGS) ; do \
3681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3683 echo "Doing clean in bash" ; \
3685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3687 "RANLIB=$${RANLIB}" \
3688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3694 .PHONY: maybe-distclean-bash distclean-bash
3695 maybe-distclean-bash:
3697 maybe-distclean-bash: distclean-bash
3700 @[ -f ./bash/Makefile ] || exit 0; \
3701 r=`${PWD_COMMAND}`; export r; \
3702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3705 for flag in $(EXTRA_HOST_FLAGS) ; do \
3706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3708 echo "Doing distclean in bash" ; \
3710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3712 "RANLIB=$${RANLIB}" \
3713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3719 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3720 maybe-maintainer-clean-bash:
3722 maybe-maintainer-clean-bash: maintainer-clean-bash
3724 maintainer-clean-bash:
3725 @[ -f ./bash/Makefile ] || exit 0; \
3726 r=`${PWD_COMMAND}`; export r; \
3727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3730 for flag in $(EXTRA_HOST_FLAGS) ; do \
3731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3733 echo "Doing maintainer-clean in bash" ; \
3735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3737 "RANLIB=$${RANLIB}" \
3738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3745 .PHONY: configure-bfd maybe-configure-bfd
3746 maybe-configure-bfd:
3748 maybe-configure-bfd: configure-bfd
3750 @test -f stage_last && exit 0; \
3751 test ! -f bfd/Makefile || exit 0; \
3752 [ -d bfd ] || mkdir bfd; \
3753 r=`${PWD_COMMAND}`; export r; \
3754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3756 echo Configuring in bfd; \
3760 srcdiroption="--srcdir=."; \
3762 /* | [A-Za-z]:[\\/]*) \
3763 srcdiroption="--srcdir=$(srcdir)/bfd"; \
3764 libsrcdir="$$s/bfd";; \
3766 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3767 libsrcdir="$$s/bfd";; \
3769 $(SHELL) $${libsrcdir}/configure \
3770 $(HOST_CONFIGARGS) $${srcdiroption} \
3774 .PHONY: all-bfd maybe-all-bfd
3778 maybe-all-bfd: all-bfd
3779 all-bfd: configure-bfd
3780 @test -f stage_last && exit 0; \
3781 r=`${PWD_COMMAND}`; export r; \
3782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3785 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) \
3789 .PHONY: check-bfd maybe-check-bfd
3792 maybe-check-bfd: check-bfd
3795 @r=`${PWD_COMMAND}`; export r; \
3796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3799 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
3803 .PHONY: install-bfd maybe-install-bfd
3806 maybe-install-bfd: install-bfd
3808 install-bfd: installdirs
3809 @r=`${PWD_COMMAND}`; export r; \
3810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3813 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
3817 # Other targets (info, dvi, etc.)
3819 .PHONY: maybe-info-bfd info-bfd
3822 maybe-info-bfd: info-bfd
3826 @[ -f ./bfd/Makefile ] || exit 0; \
3827 r=`${PWD_COMMAND}`; export r; \
3828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3831 for flag in $(EXTRA_HOST_FLAGS) ; do \
3832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3834 echo "Doing info in bfd" ; \
3836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3838 "RANLIB=$${RANLIB}" \
3839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3845 .PHONY: maybe-dvi-bfd dvi-bfd
3848 maybe-dvi-bfd: dvi-bfd
3852 @[ -f ./bfd/Makefile ] || exit 0; \
3853 r=`${PWD_COMMAND}`; export r; \
3854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3857 for flag in $(EXTRA_HOST_FLAGS) ; do \
3858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3860 echo "Doing dvi in bfd" ; \
3862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3864 "RANLIB=$${RANLIB}" \
3865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3871 .PHONY: maybe-TAGS-bfd TAGS-bfd
3874 maybe-TAGS-bfd: TAGS-bfd
3878 @[ -f ./bfd/Makefile ] || exit 0; \
3879 r=`${PWD_COMMAND}`; export r; \
3880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3883 for flag in $(EXTRA_HOST_FLAGS) ; do \
3884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3886 echo "Doing TAGS in bfd" ; \
3888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3890 "RANLIB=$${RANLIB}" \
3891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3897 .PHONY: maybe-install-info-bfd install-info-bfd
3898 maybe-install-info-bfd:
3900 maybe-install-info-bfd: install-info-bfd
3905 @[ -f ./bfd/Makefile ] || exit 0; \
3906 r=`${PWD_COMMAND}`; export r; \
3907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3910 for flag in $(EXTRA_HOST_FLAGS) ; do \
3911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3913 echo "Doing install-info in bfd" ; \
3915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3917 "RANLIB=$${RANLIB}" \
3918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3924 .PHONY: maybe-installcheck-bfd installcheck-bfd
3925 maybe-installcheck-bfd:
3927 maybe-installcheck-bfd: installcheck-bfd
3931 @[ -f ./bfd/Makefile ] || exit 0; \
3932 r=`${PWD_COMMAND}`; export r; \
3933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3936 for flag in $(EXTRA_HOST_FLAGS) ; do \
3937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3939 echo "Doing installcheck in bfd" ; \
3941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3943 "RANLIB=$${RANLIB}" \
3944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3950 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3951 maybe-mostlyclean-bfd:
3953 maybe-mostlyclean-bfd: mostlyclean-bfd
3956 @[ -f ./bfd/Makefile ] || exit 0; \
3957 r=`${PWD_COMMAND}`; export r; \
3958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3961 for flag in $(EXTRA_HOST_FLAGS) ; do \
3962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3964 echo "Doing mostlyclean in bfd" ; \
3966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3968 "RANLIB=$${RANLIB}" \
3969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3975 .PHONY: maybe-clean-bfd clean-bfd
3978 maybe-clean-bfd: clean-bfd
3981 @[ -f ./bfd/Makefile ] || exit 0; \
3982 r=`${PWD_COMMAND}`; export r; \
3983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3986 for flag in $(EXTRA_HOST_FLAGS) ; do \
3987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3989 echo "Doing clean in bfd" ; \
3991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3993 "RANLIB=$${RANLIB}" \
3994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4000 .PHONY: maybe-distclean-bfd distclean-bfd
4001 maybe-distclean-bfd:
4003 maybe-distclean-bfd: distclean-bfd
4006 @[ -f ./bfd/Makefile ] || exit 0; \
4007 r=`${PWD_COMMAND}`; export r; \
4008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4011 for flag in $(EXTRA_HOST_FLAGS) ; do \
4012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4014 echo "Doing distclean in bfd" ; \
4016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4018 "RANLIB=$${RANLIB}" \
4019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4025 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4026 maybe-maintainer-clean-bfd:
4028 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4030 maintainer-clean-bfd:
4031 @[ -f ./bfd/Makefile ] || exit 0; \
4032 r=`${PWD_COMMAND}`; export r; \
4033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4036 for flag in $(EXTRA_HOST_FLAGS) ; do \
4037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4039 echo "Doing maintainer-clean in bfd" ; \
4041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4043 "RANLIB=$${RANLIB}" \
4044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4051 .PHONY: configure-opcodes maybe-configure-opcodes
4052 maybe-configure-opcodes:
4054 maybe-configure-opcodes: configure-opcodes
4056 @test -f stage_last && exit 0; \
4057 test ! -f opcodes/Makefile || exit 0; \
4058 [ -d opcodes ] || mkdir opcodes; \
4059 r=`${PWD_COMMAND}`; export r; \
4060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4062 echo Configuring in opcodes; \
4063 cd opcodes || exit 1; \
4066 srcdiroption="--srcdir=."; \
4068 /* | [A-Za-z]:[\\/]*) \
4069 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
4070 libsrcdir="$$s/opcodes";; \
4072 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
4073 libsrcdir="$$s/opcodes";; \
4075 $(SHELL) $${libsrcdir}/configure \
4076 $(HOST_CONFIGARGS) $${srcdiroption} \
4080 .PHONY: all-opcodes maybe-all-opcodes
4084 maybe-all-opcodes: all-opcodes
4085 all-opcodes: configure-opcodes
4086 @test -f stage_last && exit 0; \
4087 r=`${PWD_COMMAND}`; export r; \
4088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4091 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) \
4095 .PHONY: check-opcodes maybe-check-opcodes
4096 maybe-check-opcodes:
4098 maybe-check-opcodes: check-opcodes
4101 @r=`${PWD_COMMAND}`; export r; \
4102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4105 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
4109 .PHONY: install-opcodes maybe-install-opcodes
4110 maybe-install-opcodes:
4112 maybe-install-opcodes: install-opcodes
4114 install-opcodes: installdirs
4115 @r=`${PWD_COMMAND}`; export r; \
4116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4119 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
4123 # Other targets (info, dvi, etc.)
4125 .PHONY: maybe-info-opcodes info-opcodes
4128 maybe-info-opcodes: info-opcodes
4132 @[ -f ./opcodes/Makefile ] || exit 0; \
4133 r=`${PWD_COMMAND}`; export r; \
4134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4137 for flag in $(EXTRA_HOST_FLAGS) ; do \
4138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4140 echo "Doing info in opcodes" ; \
4142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4144 "RANLIB=$${RANLIB}" \
4145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4151 .PHONY: maybe-dvi-opcodes dvi-opcodes
4154 maybe-dvi-opcodes: dvi-opcodes
4158 @[ -f ./opcodes/Makefile ] || exit 0; \
4159 r=`${PWD_COMMAND}`; export r; \
4160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4163 for flag in $(EXTRA_HOST_FLAGS) ; do \
4164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4166 echo "Doing dvi in opcodes" ; \
4168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4170 "RANLIB=$${RANLIB}" \
4171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4177 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4180 maybe-TAGS-opcodes: TAGS-opcodes
4184 @[ -f ./opcodes/Makefile ] || exit 0; \
4185 r=`${PWD_COMMAND}`; export r; \
4186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4189 for flag in $(EXTRA_HOST_FLAGS) ; do \
4190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4192 echo "Doing TAGS in opcodes" ; \
4194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4196 "RANLIB=$${RANLIB}" \
4197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4203 .PHONY: maybe-install-info-opcodes install-info-opcodes
4204 maybe-install-info-opcodes:
4206 maybe-install-info-opcodes: install-info-opcodes
4208 install-info-opcodes: \
4211 @[ -f ./opcodes/Makefile ] || exit 0; \
4212 r=`${PWD_COMMAND}`; export r; \
4213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4216 for flag in $(EXTRA_HOST_FLAGS) ; do \
4217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4219 echo "Doing install-info in opcodes" ; \
4221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4223 "RANLIB=$${RANLIB}" \
4224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4230 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4231 maybe-installcheck-opcodes:
4233 maybe-installcheck-opcodes: installcheck-opcodes
4235 installcheck-opcodes: \
4237 @[ -f ./opcodes/Makefile ] || exit 0; \
4238 r=`${PWD_COMMAND}`; export r; \
4239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4242 for flag in $(EXTRA_HOST_FLAGS) ; do \
4243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4245 echo "Doing installcheck in opcodes" ; \
4247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4249 "RANLIB=$${RANLIB}" \
4250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4256 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4257 maybe-mostlyclean-opcodes:
4259 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4261 mostlyclean-opcodes:
4262 @[ -f ./opcodes/Makefile ] || exit 0; \
4263 r=`${PWD_COMMAND}`; export r; \
4264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4267 for flag in $(EXTRA_HOST_FLAGS) ; do \
4268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4270 echo "Doing mostlyclean in opcodes" ; \
4272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4274 "RANLIB=$${RANLIB}" \
4275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4281 .PHONY: maybe-clean-opcodes clean-opcodes
4282 maybe-clean-opcodes:
4284 maybe-clean-opcodes: clean-opcodes
4287 @[ -f ./opcodes/Makefile ] || exit 0; \
4288 r=`${PWD_COMMAND}`; export r; \
4289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4292 for flag in $(EXTRA_HOST_FLAGS) ; do \
4293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4295 echo "Doing clean in opcodes" ; \
4297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4299 "RANLIB=$${RANLIB}" \
4300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4306 .PHONY: maybe-distclean-opcodes distclean-opcodes
4307 maybe-distclean-opcodes:
4309 maybe-distclean-opcodes: distclean-opcodes
4312 @[ -f ./opcodes/Makefile ] || exit 0; \
4313 r=`${PWD_COMMAND}`; export r; \
4314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4317 for flag in $(EXTRA_HOST_FLAGS) ; do \
4318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4320 echo "Doing distclean in opcodes" ; \
4322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4324 "RANLIB=$${RANLIB}" \
4325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4331 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4332 maybe-maintainer-clean-opcodes:
4334 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4336 maintainer-clean-opcodes:
4337 @[ -f ./opcodes/Makefile ] || exit 0; \
4338 r=`${PWD_COMMAND}`; export r; \
4339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4342 for flag in $(EXTRA_HOST_FLAGS) ; do \
4343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4345 echo "Doing maintainer-clean in opcodes" ; \
4347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4349 "RANLIB=$${RANLIB}" \
4350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4357 .PHONY: configure-binutils maybe-configure-binutils
4358 maybe-configure-binutils:
4360 maybe-configure-binutils: configure-binutils
4362 @test -f stage_last && exit 0; \
4363 test ! -f binutils/Makefile || exit 0; \
4364 [ -d binutils ] || mkdir binutils; \
4365 r=`${PWD_COMMAND}`; export r; \
4366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4368 echo Configuring in binutils; \
4369 cd binutils || exit 1; \
4372 srcdiroption="--srcdir=."; \
4374 /* | [A-Za-z]:[\\/]*) \
4375 srcdiroption="--srcdir=$(srcdir)/binutils"; \
4376 libsrcdir="$$s/binutils";; \
4378 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
4379 libsrcdir="$$s/binutils";; \
4381 $(SHELL) $${libsrcdir}/configure \
4382 $(HOST_CONFIGARGS) $${srcdiroption} \
4386 .PHONY: all-binutils maybe-all-binutils
4390 maybe-all-binutils: all-binutils
4391 all-binutils: configure-binutils
4392 @test -f stage_last && exit 0; \
4393 r=`${PWD_COMMAND}`; export r; \
4394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4397 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) \
4401 .PHONY: check-binutils maybe-check-binutils
4402 maybe-check-binutils:
4404 maybe-check-binutils: check-binutils
4407 @r=`${PWD_COMMAND}`; export r; \
4408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4411 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
4415 .PHONY: install-binutils maybe-install-binutils
4416 maybe-install-binutils:
4418 maybe-install-binutils: install-binutils
4420 install-binutils: installdirs
4421 @r=`${PWD_COMMAND}`; export r; \
4422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4425 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
4429 # Other targets (info, dvi, etc.)
4431 .PHONY: maybe-info-binutils info-binutils
4432 maybe-info-binutils:
4434 maybe-info-binutils: info-binutils
4438 @[ -f ./binutils/Makefile ] || exit 0; \
4439 r=`${PWD_COMMAND}`; export r; \
4440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4443 for flag in $(EXTRA_HOST_FLAGS) ; do \
4444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4446 echo "Doing info in binutils" ; \
4448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4450 "RANLIB=$${RANLIB}" \
4451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4457 .PHONY: maybe-dvi-binutils dvi-binutils
4460 maybe-dvi-binutils: dvi-binutils
4464 @[ -f ./binutils/Makefile ] || exit 0; \
4465 r=`${PWD_COMMAND}`; export r; \
4466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4469 for flag in $(EXTRA_HOST_FLAGS) ; do \
4470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4472 echo "Doing dvi in binutils" ; \
4474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4476 "RANLIB=$${RANLIB}" \
4477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4483 .PHONY: maybe-TAGS-binutils TAGS-binutils
4484 maybe-TAGS-binutils:
4486 maybe-TAGS-binutils: TAGS-binutils
4490 @[ -f ./binutils/Makefile ] || exit 0; \
4491 r=`${PWD_COMMAND}`; export r; \
4492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4495 for flag in $(EXTRA_HOST_FLAGS) ; do \
4496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4498 echo "Doing TAGS in binutils" ; \
4500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4502 "RANLIB=$${RANLIB}" \
4503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4509 .PHONY: maybe-install-info-binutils install-info-binutils
4510 maybe-install-info-binutils:
4512 maybe-install-info-binutils: install-info-binutils
4514 install-info-binutils: \
4515 configure-binutils \
4517 @[ -f ./binutils/Makefile ] || exit 0; \
4518 r=`${PWD_COMMAND}`; export r; \
4519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4522 for flag in $(EXTRA_HOST_FLAGS) ; do \
4523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4525 echo "Doing install-info in binutils" ; \
4527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4529 "RANLIB=$${RANLIB}" \
4530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4536 .PHONY: maybe-installcheck-binutils installcheck-binutils
4537 maybe-installcheck-binutils:
4539 maybe-installcheck-binutils: installcheck-binutils
4541 installcheck-binutils: \
4543 @[ -f ./binutils/Makefile ] || exit 0; \
4544 r=`${PWD_COMMAND}`; export r; \
4545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4548 for flag in $(EXTRA_HOST_FLAGS) ; do \
4549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4551 echo "Doing installcheck in binutils" ; \
4553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4555 "RANLIB=$${RANLIB}" \
4556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4562 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4563 maybe-mostlyclean-binutils:
4565 maybe-mostlyclean-binutils: mostlyclean-binutils
4567 mostlyclean-binutils:
4568 @[ -f ./binutils/Makefile ] || exit 0; \
4569 r=`${PWD_COMMAND}`; export r; \
4570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4573 for flag in $(EXTRA_HOST_FLAGS) ; do \
4574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4576 echo "Doing mostlyclean in binutils" ; \
4578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4580 "RANLIB=$${RANLIB}" \
4581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4587 .PHONY: maybe-clean-binutils clean-binutils
4588 maybe-clean-binutils:
4590 maybe-clean-binutils: clean-binutils
4593 @[ -f ./binutils/Makefile ] || exit 0; \
4594 r=`${PWD_COMMAND}`; export r; \
4595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4598 for flag in $(EXTRA_HOST_FLAGS) ; do \
4599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4601 echo "Doing clean in binutils" ; \
4603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4605 "RANLIB=$${RANLIB}" \
4606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4612 .PHONY: maybe-distclean-binutils distclean-binutils
4613 maybe-distclean-binutils:
4615 maybe-distclean-binutils: distclean-binutils
4618 @[ -f ./binutils/Makefile ] || exit 0; \
4619 r=`${PWD_COMMAND}`; export r; \
4620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4623 for flag in $(EXTRA_HOST_FLAGS) ; do \
4624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4626 echo "Doing distclean in binutils" ; \
4628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4630 "RANLIB=$${RANLIB}" \
4631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4637 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4638 maybe-maintainer-clean-binutils:
4640 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4642 maintainer-clean-binutils:
4643 @[ -f ./binutils/Makefile ] || exit 0; \
4644 r=`${PWD_COMMAND}`; export r; \
4645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4648 for flag in $(EXTRA_HOST_FLAGS) ; do \
4649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4651 echo "Doing maintainer-clean in binutils" ; \
4653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4655 "RANLIB=$${RANLIB}" \
4656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4663 .PHONY: configure-bison maybe-configure-bison
4664 maybe-configure-bison:
4666 maybe-configure-bison: configure-bison
4668 @test ! -f bison/Makefile || exit 0; \
4669 [ -d bison ] || mkdir bison; \
4670 r=`${PWD_COMMAND}`; export r; \
4671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4673 echo Configuring in bison; \
4674 cd bison || exit 1; \
4677 srcdiroption="--srcdir=."; \
4679 /* | [A-Za-z]:[\\/]*) \
4680 srcdiroption="--srcdir=$(srcdir)/bison"; \
4681 libsrcdir="$$s/bison";; \
4683 srcdiroption="--srcdir=../$(srcdir)/bison"; \
4684 libsrcdir="$$s/bison";; \
4686 $(SHELL) $${libsrcdir}/configure \
4687 $(HOST_CONFIGARGS) $${srcdiroption} \
4691 .PHONY: all-bison maybe-all-bison
4695 maybe-all-bison: all-bison
4696 all-bison: configure-bison
4697 @r=`${PWD_COMMAND}`; export r; \
4698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4701 (cd bison && $(MAKE) $(FLAGS_TO_PASS) \
4705 .PHONY: check-bison maybe-check-bison
4708 maybe-check-bison: check-bison
4710 # This module is only tested in a native toolchain.
4712 @if [ '$(host)' = '$(target)' ] ; then \
4713 r=`${PWD_COMMAND}`; export r; \
4714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4717 (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
4722 .PHONY: install-bison maybe-install-bison
4723 maybe-install-bison:
4725 maybe-install-bison: install-bison
4727 install-bison: installdirs
4728 @r=`${PWD_COMMAND}`; export r; \
4729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4732 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
4736 # Other targets (info, dvi, etc.)
4738 .PHONY: maybe-info-bison info-bison
4741 maybe-info-bison: info-bison
4745 @[ -f ./bison/Makefile ] || exit 0; \
4746 r=`${PWD_COMMAND}`; export r; \
4747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4750 for flag in $(EXTRA_HOST_FLAGS) ; do \
4751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4753 echo "Doing info in bison" ; \
4755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4757 "RANLIB=$${RANLIB}" \
4758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4764 .PHONY: maybe-dvi-bison dvi-bison
4767 maybe-dvi-bison: dvi-bison
4771 @[ -f ./bison/Makefile ] || exit 0; \
4772 r=`${PWD_COMMAND}`; export r; \
4773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4776 for flag in $(EXTRA_HOST_FLAGS) ; do \
4777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4779 echo "Doing dvi in bison" ; \
4781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4783 "RANLIB=$${RANLIB}" \
4784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4790 .PHONY: maybe-TAGS-bison TAGS-bison
4793 maybe-TAGS-bison: TAGS-bison
4797 @[ -f ./bison/Makefile ] || exit 0; \
4798 r=`${PWD_COMMAND}`; export r; \
4799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4802 for flag in $(EXTRA_HOST_FLAGS) ; do \
4803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4805 echo "Doing TAGS in bison" ; \
4807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4809 "RANLIB=$${RANLIB}" \
4810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4816 .PHONY: maybe-install-info-bison install-info-bison
4817 maybe-install-info-bison:
4819 maybe-install-info-bison: install-info-bison
4821 install-info-bison: \
4824 @[ -f ./bison/Makefile ] || exit 0; \
4825 r=`${PWD_COMMAND}`; export r; \
4826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4829 for flag in $(EXTRA_HOST_FLAGS) ; do \
4830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4832 echo "Doing install-info in bison" ; \
4834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4836 "RANLIB=$${RANLIB}" \
4837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4843 .PHONY: maybe-installcheck-bison installcheck-bison
4844 maybe-installcheck-bison:
4846 maybe-installcheck-bison: installcheck-bison
4848 installcheck-bison: \
4850 @[ -f ./bison/Makefile ] || exit 0; \
4851 r=`${PWD_COMMAND}`; export r; \
4852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4855 for flag in $(EXTRA_HOST_FLAGS) ; do \
4856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4858 echo "Doing installcheck in bison" ; \
4860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4862 "RANLIB=$${RANLIB}" \
4863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4869 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
4870 maybe-mostlyclean-bison:
4872 maybe-mostlyclean-bison: mostlyclean-bison
4875 @[ -f ./bison/Makefile ] || exit 0; \
4876 r=`${PWD_COMMAND}`; export r; \
4877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4880 for flag in $(EXTRA_HOST_FLAGS) ; do \
4881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4883 echo "Doing mostlyclean in bison" ; \
4885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4887 "RANLIB=$${RANLIB}" \
4888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4894 .PHONY: maybe-clean-bison clean-bison
4897 maybe-clean-bison: clean-bison
4900 @[ -f ./bison/Makefile ] || exit 0; \
4901 r=`${PWD_COMMAND}`; export r; \
4902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4905 for flag in $(EXTRA_HOST_FLAGS) ; do \
4906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4908 echo "Doing clean in bison" ; \
4910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4912 "RANLIB=$${RANLIB}" \
4913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4919 .PHONY: maybe-distclean-bison distclean-bison
4920 maybe-distclean-bison:
4922 maybe-distclean-bison: distclean-bison
4925 @[ -f ./bison/Makefile ] || exit 0; \
4926 r=`${PWD_COMMAND}`; export r; \
4927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4930 for flag in $(EXTRA_HOST_FLAGS) ; do \
4931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4933 echo "Doing distclean in bison" ; \
4935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4937 "RANLIB=$${RANLIB}" \
4938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4944 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
4945 maybe-maintainer-clean-bison:
4947 maybe-maintainer-clean-bison: maintainer-clean-bison
4949 maintainer-clean-bison:
4950 @[ -f ./bison/Makefile ] || exit 0; \
4951 r=`${PWD_COMMAND}`; export r; \
4952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4955 for flag in $(EXTRA_HOST_FLAGS) ; do \
4956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4958 echo "Doing maintainer-clean in bison" ; \
4960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4962 "RANLIB=$${RANLIB}" \
4963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4970 .PHONY: configure-byacc maybe-configure-byacc
4971 maybe-configure-byacc:
4973 maybe-configure-byacc: configure-byacc
4975 @test ! -f byacc/Makefile || exit 0; \
4976 [ -d byacc ] || mkdir byacc; \
4977 r=`${PWD_COMMAND}`; export r; \
4978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4980 echo Configuring in byacc; \
4981 cd byacc || exit 1; \
4984 srcdiroption="--srcdir=."; \
4986 /* | [A-Za-z]:[\\/]*) \
4987 srcdiroption="--srcdir=$(srcdir)/byacc"; \
4988 libsrcdir="$$s/byacc";; \
4990 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
4991 libsrcdir="$$s/byacc";; \
4993 $(SHELL) $${libsrcdir}/configure \
4994 $(HOST_CONFIGARGS) $${srcdiroption} \
4998 .PHONY: all-byacc maybe-all-byacc
5002 maybe-all-byacc: all-byacc
5003 all-byacc: configure-byacc
5004 @r=`${PWD_COMMAND}`; export r; \
5005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5008 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) \
5012 .PHONY: check-byacc maybe-check-byacc
5015 maybe-check-byacc: check-byacc
5017 # This module is only tested in a native toolchain.
5019 @if [ '$(host)' = '$(target)' ] ; then \
5020 r=`${PWD_COMMAND}`; export r; \
5021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5024 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \
5029 .PHONY: install-byacc maybe-install-byacc
5030 maybe-install-byacc:
5032 maybe-install-byacc: install-byacc
5034 install-byacc: installdirs
5035 @r=`${PWD_COMMAND}`; export r; \
5036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5039 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
5043 # Other targets (info, dvi, etc.)
5045 .PHONY: maybe-info-byacc info-byacc
5048 maybe-info-byacc: info-byacc
5052 @[ -f ./byacc/Makefile ] || exit 0; \
5053 r=`${PWD_COMMAND}`; export r; \
5054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5057 for flag in $(EXTRA_HOST_FLAGS) ; do \
5058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5060 echo "Doing info in byacc" ; \
5062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5064 "RANLIB=$${RANLIB}" \
5065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5071 .PHONY: maybe-dvi-byacc dvi-byacc
5074 maybe-dvi-byacc: dvi-byacc
5078 @[ -f ./byacc/Makefile ] || exit 0; \
5079 r=`${PWD_COMMAND}`; export r; \
5080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5083 for flag in $(EXTRA_HOST_FLAGS) ; do \
5084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5086 echo "Doing dvi in byacc" ; \
5088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5090 "RANLIB=$${RANLIB}" \
5091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5097 .PHONY: maybe-TAGS-byacc TAGS-byacc
5100 maybe-TAGS-byacc: TAGS-byacc
5104 @[ -f ./byacc/Makefile ] || exit 0; \
5105 r=`${PWD_COMMAND}`; export r; \
5106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5109 for flag in $(EXTRA_HOST_FLAGS) ; do \
5110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5112 echo "Doing TAGS in byacc" ; \
5114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5116 "RANLIB=$${RANLIB}" \
5117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5123 .PHONY: maybe-install-info-byacc install-info-byacc
5124 maybe-install-info-byacc:
5126 maybe-install-info-byacc: install-info-byacc
5128 install-info-byacc: \
5131 @[ -f ./byacc/Makefile ] || exit 0; \
5132 r=`${PWD_COMMAND}`; export r; \
5133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5136 for flag in $(EXTRA_HOST_FLAGS) ; do \
5137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5139 echo "Doing install-info in byacc" ; \
5141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5143 "RANLIB=$${RANLIB}" \
5144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5150 .PHONY: maybe-installcheck-byacc installcheck-byacc
5151 maybe-installcheck-byacc:
5153 maybe-installcheck-byacc: installcheck-byacc
5155 installcheck-byacc: \
5157 @[ -f ./byacc/Makefile ] || exit 0; \
5158 r=`${PWD_COMMAND}`; export r; \
5159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5162 for flag in $(EXTRA_HOST_FLAGS) ; do \
5163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5165 echo "Doing installcheck in byacc" ; \
5167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5169 "RANLIB=$${RANLIB}" \
5170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5176 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
5177 maybe-mostlyclean-byacc:
5179 maybe-mostlyclean-byacc: mostlyclean-byacc
5182 @[ -f ./byacc/Makefile ] || exit 0; \
5183 r=`${PWD_COMMAND}`; export r; \
5184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5187 for flag in $(EXTRA_HOST_FLAGS) ; do \
5188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5190 echo "Doing mostlyclean in byacc" ; \
5192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5194 "RANLIB=$${RANLIB}" \
5195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5201 .PHONY: maybe-clean-byacc clean-byacc
5204 maybe-clean-byacc: clean-byacc
5207 @[ -f ./byacc/Makefile ] || exit 0; \
5208 r=`${PWD_COMMAND}`; export r; \
5209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5212 for flag in $(EXTRA_HOST_FLAGS) ; do \
5213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5215 echo "Doing clean in byacc" ; \
5217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5219 "RANLIB=$${RANLIB}" \
5220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5226 .PHONY: maybe-distclean-byacc distclean-byacc
5227 maybe-distclean-byacc:
5229 maybe-distclean-byacc: distclean-byacc
5232 @[ -f ./byacc/Makefile ] || exit 0; \
5233 r=`${PWD_COMMAND}`; export r; \
5234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5237 for flag in $(EXTRA_HOST_FLAGS) ; do \
5238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5240 echo "Doing distclean in byacc" ; \
5242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5244 "RANLIB=$${RANLIB}" \
5245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5251 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
5252 maybe-maintainer-clean-byacc:
5254 maybe-maintainer-clean-byacc: maintainer-clean-byacc
5256 maintainer-clean-byacc:
5257 @[ -f ./byacc/Makefile ] || exit 0; \
5258 r=`${PWD_COMMAND}`; export r; \
5259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5262 for flag in $(EXTRA_HOST_FLAGS) ; do \
5263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5265 echo "Doing maintainer-clean in byacc" ; \
5267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5269 "RANLIB=$${RANLIB}" \
5270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5277 .PHONY: configure-bzip2 maybe-configure-bzip2
5278 maybe-configure-bzip2:
5280 maybe-configure-bzip2: configure-bzip2
5282 @test ! -f bzip2/Makefile || exit 0; \
5283 [ -d bzip2 ] || mkdir bzip2; \
5284 r=`${PWD_COMMAND}`; export r; \
5285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5287 echo Configuring in bzip2; \
5288 cd bzip2 || exit 1; \
5291 srcdiroption="--srcdir=."; \
5293 /* | [A-Za-z]:[\\/]*) \
5294 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
5295 libsrcdir="$$s/bzip2";; \
5297 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
5298 libsrcdir="$$s/bzip2";; \
5300 $(SHELL) $${libsrcdir}/configure \
5301 $(HOST_CONFIGARGS) $${srcdiroption} \
5305 .PHONY: all-bzip2 maybe-all-bzip2
5309 maybe-all-bzip2: all-bzip2
5310 all-bzip2: configure-bzip2
5311 @r=`${PWD_COMMAND}`; export r; \
5312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5315 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) \
5319 .PHONY: check-bzip2 maybe-check-bzip2
5322 maybe-check-bzip2: check-bzip2
5325 @r=`${PWD_COMMAND}`; export r; \
5326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5329 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
5333 .PHONY: install-bzip2 maybe-install-bzip2
5334 maybe-install-bzip2:
5336 maybe-install-bzip2: install-bzip2
5338 install-bzip2: installdirs
5339 @r=`${PWD_COMMAND}`; export r; \
5340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5343 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
5347 # Other targets (info, dvi, etc.)
5349 .PHONY: maybe-info-bzip2 info-bzip2
5352 maybe-info-bzip2: info-bzip2
5356 @[ -f ./bzip2/Makefile ] || exit 0; \
5357 r=`${PWD_COMMAND}`; export r; \
5358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5361 for flag in $(EXTRA_HOST_FLAGS) ; do \
5362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5364 echo "Doing info in bzip2" ; \
5366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5368 "RANLIB=$${RANLIB}" \
5369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5375 .PHONY: maybe-dvi-bzip2 dvi-bzip2
5378 maybe-dvi-bzip2: dvi-bzip2
5382 @[ -f ./bzip2/Makefile ] || exit 0; \
5383 r=`${PWD_COMMAND}`; export r; \
5384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5387 for flag in $(EXTRA_HOST_FLAGS) ; do \
5388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5390 echo "Doing dvi in bzip2" ; \
5392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5394 "RANLIB=$${RANLIB}" \
5395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5401 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
5404 maybe-TAGS-bzip2: TAGS-bzip2
5408 @[ -f ./bzip2/Makefile ] || exit 0; \
5409 r=`${PWD_COMMAND}`; export r; \
5410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5413 for flag in $(EXTRA_HOST_FLAGS) ; do \
5414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5416 echo "Doing TAGS in bzip2" ; \
5418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5420 "RANLIB=$${RANLIB}" \
5421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5427 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5428 maybe-install-info-bzip2:
5430 maybe-install-info-bzip2: install-info-bzip2
5432 install-info-bzip2: \
5435 @[ -f ./bzip2/Makefile ] || exit 0; \
5436 r=`${PWD_COMMAND}`; export r; \
5437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5440 for flag in $(EXTRA_HOST_FLAGS) ; do \
5441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5443 echo "Doing install-info in bzip2" ; \
5445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5447 "RANLIB=$${RANLIB}" \
5448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5454 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5455 maybe-installcheck-bzip2:
5457 maybe-installcheck-bzip2: installcheck-bzip2
5459 installcheck-bzip2: \
5461 @[ -f ./bzip2/Makefile ] || exit 0; \
5462 r=`${PWD_COMMAND}`; export r; \
5463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5466 for flag in $(EXTRA_HOST_FLAGS) ; do \
5467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5469 echo "Doing installcheck in bzip2" ; \
5471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5473 "RANLIB=$${RANLIB}" \
5474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5480 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5481 maybe-mostlyclean-bzip2:
5483 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5486 @[ -f ./bzip2/Makefile ] || exit 0; \
5487 r=`${PWD_COMMAND}`; export r; \
5488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5491 for flag in $(EXTRA_HOST_FLAGS) ; do \
5492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5494 echo "Doing mostlyclean in bzip2" ; \
5496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5498 "RANLIB=$${RANLIB}" \
5499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5505 .PHONY: maybe-clean-bzip2 clean-bzip2
5508 maybe-clean-bzip2: clean-bzip2
5511 @[ -f ./bzip2/Makefile ] || exit 0; \
5512 r=`${PWD_COMMAND}`; export r; \
5513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5516 for flag in $(EXTRA_HOST_FLAGS) ; do \
5517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5519 echo "Doing clean in bzip2" ; \
5521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5523 "RANLIB=$${RANLIB}" \
5524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5530 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5531 maybe-distclean-bzip2:
5533 maybe-distclean-bzip2: distclean-bzip2
5536 @[ -f ./bzip2/Makefile ] || exit 0; \
5537 r=`${PWD_COMMAND}`; export r; \
5538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5541 for flag in $(EXTRA_HOST_FLAGS) ; do \
5542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5544 echo "Doing distclean in bzip2" ; \
5546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5548 "RANLIB=$${RANLIB}" \
5549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5555 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5556 maybe-maintainer-clean-bzip2:
5558 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5560 maintainer-clean-bzip2:
5561 @[ -f ./bzip2/Makefile ] || exit 0; \
5562 r=`${PWD_COMMAND}`; export r; \
5563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5566 for flag in $(EXTRA_HOST_FLAGS) ; do \
5567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5569 echo "Doing maintainer-clean in bzip2" ; \
5571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5573 "RANLIB=$${RANLIB}" \
5574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5581 .PHONY: configure-dejagnu maybe-configure-dejagnu
5582 maybe-configure-dejagnu:
5584 maybe-configure-dejagnu: configure-dejagnu
5586 @test ! -f dejagnu/Makefile || exit 0; \
5587 [ -d dejagnu ] || mkdir dejagnu; \
5588 r=`${PWD_COMMAND}`; export r; \
5589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5591 echo Configuring in dejagnu; \
5592 cd dejagnu || exit 1; \
5595 srcdiroption="--srcdir=."; \
5597 /* | [A-Za-z]:[\\/]*) \
5598 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
5599 libsrcdir="$$s/dejagnu";; \
5601 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
5602 libsrcdir="$$s/dejagnu";; \
5604 $(SHELL) $${libsrcdir}/configure \
5605 $(HOST_CONFIGARGS) $${srcdiroption} \
5609 .PHONY: all-dejagnu maybe-all-dejagnu
5613 maybe-all-dejagnu: all-dejagnu
5614 all-dejagnu: configure-dejagnu
5615 @r=`${PWD_COMMAND}`; export r; \
5616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5619 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) \
5623 .PHONY: check-dejagnu maybe-check-dejagnu
5624 maybe-check-dejagnu:
5626 maybe-check-dejagnu: check-dejagnu
5629 @r=`${PWD_COMMAND}`; export r; \
5630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5633 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
5637 .PHONY: install-dejagnu maybe-install-dejagnu
5638 maybe-install-dejagnu:
5640 maybe-install-dejagnu: install-dejagnu
5642 install-dejagnu: installdirs
5643 @r=`${PWD_COMMAND}`; export r; \
5644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5647 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
5651 # Other targets (info, dvi, etc.)
5653 .PHONY: maybe-info-dejagnu info-dejagnu
5656 maybe-info-dejagnu: info-dejagnu
5660 @[ -f ./dejagnu/Makefile ] || exit 0; \
5661 r=`${PWD_COMMAND}`; export r; \
5662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5665 for flag in $(EXTRA_HOST_FLAGS) ; do \
5666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5668 echo "Doing info in dejagnu" ; \
5670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5672 "RANLIB=$${RANLIB}" \
5673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5679 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
5682 maybe-dvi-dejagnu: dvi-dejagnu
5686 @[ -f ./dejagnu/Makefile ] || exit 0; \
5687 r=`${PWD_COMMAND}`; export r; \
5688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5691 for flag in $(EXTRA_HOST_FLAGS) ; do \
5692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5694 echo "Doing dvi in dejagnu" ; \
5696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5698 "RANLIB=$${RANLIB}" \
5699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5705 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
5708 maybe-TAGS-dejagnu: TAGS-dejagnu
5712 @[ -f ./dejagnu/Makefile ] || exit 0; \
5713 r=`${PWD_COMMAND}`; export r; \
5714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5717 for flag in $(EXTRA_HOST_FLAGS) ; do \
5718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5720 echo "Doing TAGS in dejagnu" ; \
5722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5724 "RANLIB=$${RANLIB}" \
5725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5731 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
5732 maybe-install-info-dejagnu:
5734 maybe-install-info-dejagnu: install-info-dejagnu
5736 install-info-dejagnu: \
5739 @[ -f ./dejagnu/Makefile ] || exit 0; \
5740 r=`${PWD_COMMAND}`; export r; \
5741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5744 for flag in $(EXTRA_HOST_FLAGS) ; do \
5745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5747 echo "Doing install-info in dejagnu" ; \
5749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5751 "RANLIB=$${RANLIB}" \
5752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5758 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
5759 maybe-installcheck-dejagnu:
5761 maybe-installcheck-dejagnu: installcheck-dejagnu
5763 installcheck-dejagnu: \
5765 @[ -f ./dejagnu/Makefile ] || exit 0; \
5766 r=`${PWD_COMMAND}`; export r; \
5767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5770 for flag in $(EXTRA_HOST_FLAGS) ; do \
5771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5773 echo "Doing installcheck in dejagnu" ; \
5775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5777 "RANLIB=$${RANLIB}" \
5778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5784 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
5785 maybe-mostlyclean-dejagnu:
5787 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
5789 mostlyclean-dejagnu:
5790 @[ -f ./dejagnu/Makefile ] || exit 0; \
5791 r=`${PWD_COMMAND}`; export r; \
5792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5795 for flag in $(EXTRA_HOST_FLAGS) ; do \
5796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5798 echo "Doing mostlyclean in dejagnu" ; \
5800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5802 "RANLIB=$${RANLIB}" \
5803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5809 .PHONY: maybe-clean-dejagnu clean-dejagnu
5810 maybe-clean-dejagnu:
5812 maybe-clean-dejagnu: clean-dejagnu
5815 @[ -f ./dejagnu/Makefile ] || exit 0; \
5816 r=`${PWD_COMMAND}`; export r; \
5817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5820 for flag in $(EXTRA_HOST_FLAGS) ; do \
5821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5823 echo "Doing clean in dejagnu" ; \
5825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5827 "RANLIB=$${RANLIB}" \
5828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5834 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
5835 maybe-distclean-dejagnu:
5837 maybe-distclean-dejagnu: distclean-dejagnu
5840 @[ -f ./dejagnu/Makefile ] || exit 0; \
5841 r=`${PWD_COMMAND}`; export r; \
5842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5845 for flag in $(EXTRA_HOST_FLAGS) ; do \
5846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5848 echo "Doing distclean in dejagnu" ; \
5850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5852 "RANLIB=$${RANLIB}" \
5853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5859 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
5860 maybe-maintainer-clean-dejagnu:
5862 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
5864 maintainer-clean-dejagnu:
5865 @[ -f ./dejagnu/Makefile ] || exit 0; \
5866 r=`${PWD_COMMAND}`; export r; \
5867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5870 for flag in $(EXTRA_HOST_FLAGS) ; do \
5871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5873 echo "Doing maintainer-clean in dejagnu" ; \
5875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5877 "RANLIB=$${RANLIB}" \
5878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5885 .PHONY: configure-diff maybe-configure-diff
5886 maybe-configure-diff:
5888 maybe-configure-diff: configure-diff
5890 @test ! -f diff/Makefile || exit 0; \
5891 [ -d diff ] || mkdir diff; \
5892 r=`${PWD_COMMAND}`; export r; \
5893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5895 echo Configuring in diff; \
5896 cd diff || exit 1; \
5899 srcdiroption="--srcdir=."; \
5901 /* | [A-Za-z]:[\\/]*) \
5902 srcdiroption="--srcdir=$(srcdir)/diff"; \
5903 libsrcdir="$$s/diff";; \
5905 srcdiroption="--srcdir=../$(srcdir)/diff"; \
5906 libsrcdir="$$s/diff";; \
5908 $(SHELL) $${libsrcdir}/configure \
5909 $(HOST_CONFIGARGS) $${srcdiroption} \
5913 .PHONY: all-diff maybe-all-diff
5917 maybe-all-diff: all-diff
5918 all-diff: configure-diff
5919 @r=`${PWD_COMMAND}`; export r; \
5920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5923 (cd diff && $(MAKE) $(FLAGS_TO_PASS) \
5927 .PHONY: check-diff maybe-check-diff
5930 maybe-check-diff: check-diff
5933 @r=`${PWD_COMMAND}`; export r; \
5934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5937 (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
5941 .PHONY: install-diff maybe-install-diff
5944 maybe-install-diff: install-diff
5946 install-diff: installdirs
5947 @r=`${PWD_COMMAND}`; export r; \
5948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5951 (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
5955 # Other targets (info, dvi, etc.)
5957 .PHONY: maybe-info-diff info-diff
5960 maybe-info-diff: info-diff
5964 @[ -f ./diff/Makefile ] || exit 0; \
5965 r=`${PWD_COMMAND}`; export r; \
5966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5969 for flag in $(EXTRA_HOST_FLAGS) ; do \
5970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5972 echo "Doing info in diff" ; \
5974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5976 "RANLIB=$${RANLIB}" \
5977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5983 .PHONY: maybe-dvi-diff dvi-diff
5986 maybe-dvi-diff: dvi-diff
5990 @[ -f ./diff/Makefile ] || exit 0; \
5991 r=`${PWD_COMMAND}`; export r; \
5992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5995 for flag in $(EXTRA_HOST_FLAGS) ; do \
5996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5998 echo "Doing dvi in diff" ; \
6000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6002 "RANLIB=$${RANLIB}" \
6003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6009 .PHONY: maybe-TAGS-diff TAGS-diff
6012 maybe-TAGS-diff: TAGS-diff
6016 @[ -f ./diff/Makefile ] || exit 0; \
6017 r=`${PWD_COMMAND}`; export r; \
6018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6021 for flag in $(EXTRA_HOST_FLAGS) ; do \
6022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6024 echo "Doing TAGS in diff" ; \
6026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6028 "RANLIB=$${RANLIB}" \
6029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6035 .PHONY: maybe-install-info-diff install-info-diff
6036 maybe-install-info-diff:
6038 maybe-install-info-diff: install-info-diff
6040 install-info-diff: \
6043 @[ -f ./diff/Makefile ] || exit 0; \
6044 r=`${PWD_COMMAND}`; export r; \
6045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6048 for flag in $(EXTRA_HOST_FLAGS) ; do \
6049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6051 echo "Doing install-info in diff" ; \
6053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6055 "RANLIB=$${RANLIB}" \
6056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6062 .PHONY: maybe-installcheck-diff installcheck-diff
6063 maybe-installcheck-diff:
6065 maybe-installcheck-diff: installcheck-diff
6067 installcheck-diff: \
6069 @[ -f ./diff/Makefile ] || exit 0; \
6070 r=`${PWD_COMMAND}`; export r; \
6071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6074 for flag in $(EXTRA_HOST_FLAGS) ; do \
6075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6077 echo "Doing installcheck in diff" ; \
6079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6081 "RANLIB=$${RANLIB}" \
6082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6088 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
6089 maybe-mostlyclean-diff:
6091 maybe-mostlyclean-diff: mostlyclean-diff
6094 @[ -f ./diff/Makefile ] || exit 0; \
6095 r=`${PWD_COMMAND}`; export r; \
6096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6099 for flag in $(EXTRA_HOST_FLAGS) ; do \
6100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6102 echo "Doing mostlyclean in diff" ; \
6104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6106 "RANLIB=$${RANLIB}" \
6107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6113 .PHONY: maybe-clean-diff clean-diff
6116 maybe-clean-diff: clean-diff
6119 @[ -f ./diff/Makefile ] || exit 0; \
6120 r=`${PWD_COMMAND}`; export r; \
6121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6124 for flag in $(EXTRA_HOST_FLAGS) ; do \
6125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6127 echo "Doing clean in diff" ; \
6129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6131 "RANLIB=$${RANLIB}" \
6132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6138 .PHONY: maybe-distclean-diff distclean-diff
6139 maybe-distclean-diff:
6141 maybe-distclean-diff: distclean-diff
6144 @[ -f ./diff/Makefile ] || exit 0; \
6145 r=`${PWD_COMMAND}`; export r; \
6146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6149 for flag in $(EXTRA_HOST_FLAGS) ; do \
6150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6152 echo "Doing distclean in diff" ; \
6154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6156 "RANLIB=$${RANLIB}" \
6157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6163 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
6164 maybe-maintainer-clean-diff:
6166 maybe-maintainer-clean-diff: maintainer-clean-diff
6168 maintainer-clean-diff:
6169 @[ -f ./diff/Makefile ] || exit 0; \
6170 r=`${PWD_COMMAND}`; export r; \
6171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6174 for flag in $(EXTRA_HOST_FLAGS) ; do \
6175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6177 echo "Doing maintainer-clean in diff" ; \
6179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6181 "RANLIB=$${RANLIB}" \
6182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6189 .PHONY: configure-dosutils maybe-configure-dosutils
6190 maybe-configure-dosutils:
6192 maybe-configure-dosutils: configure-dosutils
6194 @test ! -f dosutils/Makefile || exit 0; \
6195 [ -d dosutils ] || mkdir dosutils; \
6196 r=`${PWD_COMMAND}`; export r; \
6197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6199 echo Configuring in dosutils; \
6200 cd dosutils || exit 1; \
6203 srcdiroption="--srcdir=."; \
6205 /* | [A-Za-z]:[\\/]*) \
6206 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
6207 libsrcdir="$$s/dosutils";; \
6209 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
6210 libsrcdir="$$s/dosutils";; \
6212 $(SHELL) $${libsrcdir}/configure \
6213 $(HOST_CONFIGARGS) $${srcdiroption} \
6217 .PHONY: all-dosutils maybe-all-dosutils
6221 maybe-all-dosutils: all-dosutils
6222 all-dosutils: configure-dosutils
6223 @r=`${PWD_COMMAND}`; export r; \
6224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6227 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) \
6231 .PHONY: check-dosutils maybe-check-dosutils
6232 maybe-check-dosutils:
6234 maybe-check-dosutils: check-dosutils
6240 .PHONY: install-dosutils maybe-install-dosutils
6241 maybe-install-dosutils:
6243 maybe-install-dosutils: install-dosutils
6245 install-dosutils: installdirs
6246 @r=`${PWD_COMMAND}`; export r; \
6247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6250 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
6254 # Other targets (info, dvi, etc.)
6256 .PHONY: maybe-info-dosutils info-dosutils
6257 maybe-info-dosutils:
6259 maybe-info-dosutils: info-dosutils
6263 @[ -f ./dosutils/Makefile ] || exit 0; \
6264 r=`${PWD_COMMAND}`; export r; \
6265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6268 for flag in $(EXTRA_HOST_FLAGS) ; do \
6269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6271 echo "Doing info in dosutils" ; \
6273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6275 "RANLIB=$${RANLIB}" \
6276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6282 .PHONY: maybe-dvi-dosutils dvi-dosutils
6285 maybe-dvi-dosutils: dvi-dosutils
6289 @[ -f ./dosutils/Makefile ] || exit 0; \
6290 r=`${PWD_COMMAND}`; export r; \
6291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6294 for flag in $(EXTRA_HOST_FLAGS) ; do \
6295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6297 echo "Doing dvi in dosutils" ; \
6299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6301 "RANLIB=$${RANLIB}" \
6302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6308 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
6309 maybe-TAGS-dosutils:
6311 maybe-TAGS-dosutils: TAGS-dosutils
6315 @[ -f ./dosutils/Makefile ] || exit 0; \
6316 r=`${PWD_COMMAND}`; export r; \
6317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6320 for flag in $(EXTRA_HOST_FLAGS) ; do \
6321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6323 echo "Doing TAGS in dosutils" ; \
6325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6327 "RANLIB=$${RANLIB}" \
6328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6334 .PHONY: maybe-install-info-dosutils install-info-dosutils
6335 maybe-install-info-dosutils:
6337 maybe-install-info-dosutils: install-info-dosutils
6339 install-info-dosutils: \
6340 configure-dosutils \
6342 @[ -f ./dosutils/Makefile ] || exit 0; \
6343 r=`${PWD_COMMAND}`; export r; \
6344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6347 for flag in $(EXTRA_HOST_FLAGS) ; do \
6348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6350 echo "Doing install-info in dosutils" ; \
6352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6354 "RANLIB=$${RANLIB}" \
6355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6361 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
6362 maybe-installcheck-dosutils:
6364 maybe-installcheck-dosutils: installcheck-dosutils
6366 installcheck-dosutils: \
6368 @[ -f ./dosutils/Makefile ] || exit 0; \
6369 r=`${PWD_COMMAND}`; export r; \
6370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6373 for flag in $(EXTRA_HOST_FLAGS) ; do \
6374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6376 echo "Doing installcheck in dosutils" ; \
6378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6380 "RANLIB=$${RANLIB}" \
6381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6387 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
6388 maybe-mostlyclean-dosutils:
6390 maybe-mostlyclean-dosutils: mostlyclean-dosutils
6392 mostlyclean-dosutils:
6393 @[ -f ./dosutils/Makefile ] || exit 0; \
6394 r=`${PWD_COMMAND}`; export r; \
6395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6398 for flag in $(EXTRA_HOST_FLAGS) ; do \
6399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6401 echo "Doing mostlyclean in dosutils" ; \
6403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6405 "RANLIB=$${RANLIB}" \
6406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6412 .PHONY: maybe-clean-dosutils clean-dosutils
6413 maybe-clean-dosutils:
6415 maybe-clean-dosutils: clean-dosutils
6418 @[ -f ./dosutils/Makefile ] || exit 0; \
6419 r=`${PWD_COMMAND}`; export r; \
6420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6423 for flag in $(EXTRA_HOST_FLAGS) ; do \
6424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6426 echo "Doing clean in dosutils" ; \
6428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6430 "RANLIB=$${RANLIB}" \
6431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6437 .PHONY: maybe-distclean-dosutils distclean-dosutils
6438 maybe-distclean-dosutils:
6440 maybe-distclean-dosutils: distclean-dosutils
6443 @[ -f ./dosutils/Makefile ] || exit 0; \
6444 r=`${PWD_COMMAND}`; export r; \
6445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6448 for flag in $(EXTRA_HOST_FLAGS) ; do \
6449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6451 echo "Doing distclean in dosutils" ; \
6453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6455 "RANLIB=$${RANLIB}" \
6456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6462 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6463 maybe-maintainer-clean-dosutils:
6465 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6467 maintainer-clean-dosutils:
6468 @[ -f ./dosutils/Makefile ] || exit 0; \
6469 r=`${PWD_COMMAND}`; export r; \
6470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6473 for flag in $(EXTRA_HOST_FLAGS) ; do \
6474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6476 echo "Doing maintainer-clean in dosutils" ; \
6478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6480 "RANLIB=$${RANLIB}" \
6481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6488 .PHONY: configure-etc maybe-configure-etc
6489 maybe-configure-etc:
6491 maybe-configure-etc: configure-etc
6493 @test ! -f etc/Makefile || exit 0; \
6494 [ -d etc ] || mkdir etc; \
6495 r=`${PWD_COMMAND}`; export r; \
6496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6498 echo Configuring in etc; \
6502 srcdiroption="--srcdir=."; \
6504 /* | [A-Za-z]:[\\/]*) \
6505 srcdiroption="--srcdir=$(srcdir)/etc"; \
6506 libsrcdir="$$s/etc";; \
6508 srcdiroption="--srcdir=../$(srcdir)/etc"; \
6509 libsrcdir="$$s/etc";; \
6511 $(SHELL) $${libsrcdir}/configure \
6512 $(HOST_CONFIGARGS) $${srcdiroption} \
6516 .PHONY: all-etc maybe-all-etc
6520 maybe-all-etc: all-etc
6521 all-etc: configure-etc
6522 @r=`${PWD_COMMAND}`; export r; \
6523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6526 (cd etc && $(MAKE) $(FLAGS_TO_PASS) \
6530 .PHONY: check-etc maybe-check-etc
6533 maybe-check-etc: check-etc
6536 @r=`${PWD_COMMAND}`; export r; \
6537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6540 (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
6544 .PHONY: install-etc maybe-install-etc
6547 maybe-install-etc: install-etc
6549 install-etc: installdirs
6550 @r=`${PWD_COMMAND}`; export r; \
6551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6554 (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
6558 # Other targets (info, dvi, etc.)
6560 .PHONY: maybe-info-etc info-etc
6563 maybe-info-etc: info-etc
6567 @[ -f ./etc/Makefile ] || exit 0; \
6568 r=`${PWD_COMMAND}`; export r; \
6569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6572 for flag in $(EXTRA_HOST_FLAGS) ; do \
6573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6575 echo "Doing info in etc" ; \
6577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6579 "RANLIB=$${RANLIB}" \
6580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6586 .PHONY: maybe-dvi-etc dvi-etc
6589 maybe-dvi-etc: dvi-etc
6593 @[ -f ./etc/Makefile ] || exit 0; \
6594 r=`${PWD_COMMAND}`; export r; \
6595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6598 for flag in $(EXTRA_HOST_FLAGS) ; do \
6599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6601 echo "Doing dvi in etc" ; \
6603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6605 "RANLIB=$${RANLIB}" \
6606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6612 .PHONY: maybe-TAGS-etc TAGS-etc
6615 maybe-TAGS-etc: TAGS-etc
6619 @[ -f ./etc/Makefile ] || exit 0; \
6620 r=`${PWD_COMMAND}`; export r; \
6621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6624 for flag in $(EXTRA_HOST_FLAGS) ; do \
6625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6627 echo "Doing TAGS in etc" ; \
6629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6631 "RANLIB=$${RANLIB}" \
6632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6638 .PHONY: maybe-install-info-etc install-info-etc
6639 maybe-install-info-etc:
6641 maybe-install-info-etc: install-info-etc
6646 @[ -f ./etc/Makefile ] || exit 0; \
6647 r=`${PWD_COMMAND}`; export r; \
6648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6651 for flag in $(EXTRA_HOST_FLAGS) ; do \
6652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6654 echo "Doing install-info in etc" ; \
6656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6658 "RANLIB=$${RANLIB}" \
6659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6665 .PHONY: maybe-installcheck-etc installcheck-etc
6666 maybe-installcheck-etc:
6668 maybe-installcheck-etc: installcheck-etc
6672 @[ -f ./etc/Makefile ] || exit 0; \
6673 r=`${PWD_COMMAND}`; export r; \
6674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6677 for flag in $(EXTRA_HOST_FLAGS) ; do \
6678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6680 echo "Doing installcheck in etc" ; \
6682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6684 "RANLIB=$${RANLIB}" \
6685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6691 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
6692 maybe-mostlyclean-etc:
6694 maybe-mostlyclean-etc: mostlyclean-etc
6697 @[ -f ./etc/Makefile ] || exit 0; \
6698 r=`${PWD_COMMAND}`; export r; \
6699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6702 for flag in $(EXTRA_HOST_FLAGS) ; do \
6703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6705 echo "Doing mostlyclean in etc" ; \
6707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6709 "RANLIB=$${RANLIB}" \
6710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6716 .PHONY: maybe-clean-etc clean-etc
6719 maybe-clean-etc: clean-etc
6722 @[ -f ./etc/Makefile ] || exit 0; \
6723 r=`${PWD_COMMAND}`; export r; \
6724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6727 for flag in $(EXTRA_HOST_FLAGS) ; do \
6728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6730 echo "Doing clean in etc" ; \
6732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6734 "RANLIB=$${RANLIB}" \
6735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6741 .PHONY: maybe-distclean-etc distclean-etc
6742 maybe-distclean-etc:
6744 maybe-distclean-etc: distclean-etc
6747 @[ -f ./etc/Makefile ] || exit 0; \
6748 r=`${PWD_COMMAND}`; export r; \
6749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6752 for flag in $(EXTRA_HOST_FLAGS) ; do \
6753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6755 echo "Doing distclean in etc" ; \
6757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6759 "RANLIB=$${RANLIB}" \
6760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6766 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
6767 maybe-maintainer-clean-etc:
6769 maybe-maintainer-clean-etc: maintainer-clean-etc
6771 maintainer-clean-etc:
6772 @[ -f ./etc/Makefile ] || exit 0; \
6773 r=`${PWD_COMMAND}`; export r; \
6774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6777 for flag in $(EXTRA_HOST_FLAGS) ; do \
6778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6780 echo "Doing maintainer-clean in etc" ; \
6782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6784 "RANLIB=$${RANLIB}" \
6785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6792 .PHONY: configure-fastjar maybe-configure-fastjar
6793 maybe-configure-fastjar:
6795 maybe-configure-fastjar: configure-fastjar
6797 @test ! -f fastjar/Makefile || exit 0; \
6798 [ -d fastjar ] || mkdir fastjar; \
6799 r=`${PWD_COMMAND}`; export r; \
6800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6802 echo Configuring in fastjar; \
6803 cd fastjar || exit 1; \
6806 srcdiroption="--srcdir=."; \
6808 /* | [A-Za-z]:[\\/]*) \
6809 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
6810 libsrcdir="$$s/fastjar";; \
6812 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
6813 libsrcdir="$$s/fastjar";; \
6815 $(SHELL) $${libsrcdir}/configure \
6816 $(HOST_CONFIGARGS) $${srcdiroption} \
6820 .PHONY: all-fastjar maybe-all-fastjar
6824 maybe-all-fastjar: all-fastjar
6825 all-fastjar: configure-fastjar
6826 @r=`${PWD_COMMAND}`; export r; \
6827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6830 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) \
6834 .PHONY: check-fastjar maybe-check-fastjar
6835 maybe-check-fastjar:
6837 maybe-check-fastjar: check-fastjar
6839 # This module is only tested in a native toolchain.
6841 @if [ '$(host)' = '$(target)' ] ; then \
6842 r=`${PWD_COMMAND}`; export r; \
6843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6846 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \
6851 .PHONY: install-fastjar maybe-install-fastjar
6852 maybe-install-fastjar:
6854 maybe-install-fastjar: install-fastjar
6856 install-fastjar: installdirs
6857 @r=`${PWD_COMMAND}`; export r; \
6858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6861 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
6865 # Other targets (info, dvi, etc.)
6867 .PHONY: maybe-info-fastjar info-fastjar
6870 maybe-info-fastjar: info-fastjar
6874 @[ -f ./fastjar/Makefile ] || exit 0; \
6875 r=`${PWD_COMMAND}`; export r; \
6876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6879 for flag in $(EXTRA_HOST_FLAGS) ; do \
6880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6882 echo "Doing info in fastjar" ; \
6884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6886 "RANLIB=$${RANLIB}" \
6887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6893 .PHONY: maybe-dvi-fastjar dvi-fastjar
6896 maybe-dvi-fastjar: dvi-fastjar
6900 @[ -f ./fastjar/Makefile ] || exit 0; \
6901 r=`${PWD_COMMAND}`; export r; \
6902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6905 for flag in $(EXTRA_HOST_FLAGS) ; do \
6906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6908 echo "Doing dvi in fastjar" ; \
6910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6912 "RANLIB=$${RANLIB}" \
6913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6919 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
6922 maybe-TAGS-fastjar: TAGS-fastjar
6926 @[ -f ./fastjar/Makefile ] || exit 0; \
6927 r=`${PWD_COMMAND}`; export r; \
6928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6931 for flag in $(EXTRA_HOST_FLAGS) ; do \
6932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6934 echo "Doing TAGS in fastjar" ; \
6936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6938 "RANLIB=$${RANLIB}" \
6939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6945 .PHONY: maybe-install-info-fastjar install-info-fastjar
6946 maybe-install-info-fastjar:
6948 maybe-install-info-fastjar: install-info-fastjar
6950 install-info-fastjar: \
6953 @[ -f ./fastjar/Makefile ] || exit 0; \
6954 r=`${PWD_COMMAND}`; export r; \
6955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6958 for flag in $(EXTRA_HOST_FLAGS) ; do \
6959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6961 echo "Doing install-info in fastjar" ; \
6963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6965 "RANLIB=$${RANLIB}" \
6966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6972 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
6973 maybe-installcheck-fastjar:
6975 maybe-installcheck-fastjar: installcheck-fastjar
6977 installcheck-fastjar: \
6979 @[ -f ./fastjar/Makefile ] || exit 0; \
6980 r=`${PWD_COMMAND}`; export r; \
6981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6984 for flag in $(EXTRA_HOST_FLAGS) ; do \
6985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6987 echo "Doing installcheck in fastjar" ; \
6989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6991 "RANLIB=$${RANLIB}" \
6992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6998 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
6999 maybe-mostlyclean-fastjar:
7001 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7003 mostlyclean-fastjar:
7004 @[ -f ./fastjar/Makefile ] || exit 0; \
7005 r=`${PWD_COMMAND}`; export r; \
7006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7009 for flag in $(EXTRA_HOST_FLAGS) ; do \
7010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7012 echo "Doing mostlyclean in fastjar" ; \
7014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7016 "RANLIB=$${RANLIB}" \
7017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7023 .PHONY: maybe-clean-fastjar clean-fastjar
7024 maybe-clean-fastjar:
7026 maybe-clean-fastjar: clean-fastjar
7029 @[ -f ./fastjar/Makefile ] || exit 0; \
7030 r=`${PWD_COMMAND}`; export r; \
7031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7034 for flag in $(EXTRA_HOST_FLAGS) ; do \
7035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7037 echo "Doing clean in fastjar" ; \
7039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7041 "RANLIB=$${RANLIB}" \
7042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7048 .PHONY: maybe-distclean-fastjar distclean-fastjar
7049 maybe-distclean-fastjar:
7051 maybe-distclean-fastjar: distclean-fastjar
7054 @[ -f ./fastjar/Makefile ] || exit 0; \
7055 r=`${PWD_COMMAND}`; export r; \
7056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7059 for flag in $(EXTRA_HOST_FLAGS) ; do \
7060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7062 echo "Doing distclean in fastjar" ; \
7064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7066 "RANLIB=$${RANLIB}" \
7067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7073 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7074 maybe-maintainer-clean-fastjar:
7076 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7078 maintainer-clean-fastjar:
7079 @[ -f ./fastjar/Makefile ] || exit 0; \
7080 r=`${PWD_COMMAND}`; export r; \
7081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7084 for flag in $(EXTRA_HOST_FLAGS) ; do \
7085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7087 echo "Doing maintainer-clean in fastjar" ; \
7089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7091 "RANLIB=$${RANLIB}" \
7092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7099 .PHONY: configure-fileutils maybe-configure-fileutils
7100 maybe-configure-fileutils:
7102 maybe-configure-fileutils: configure-fileutils
7103 configure-fileutils:
7104 @test ! -f fileutils/Makefile || exit 0; \
7105 [ -d fileutils ] || mkdir fileutils; \
7106 r=`${PWD_COMMAND}`; export r; \
7107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7109 echo Configuring in fileutils; \
7110 cd fileutils || exit 1; \
7113 srcdiroption="--srcdir=."; \
7115 /* | [A-Za-z]:[\\/]*) \
7116 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
7117 libsrcdir="$$s/fileutils";; \
7119 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
7120 libsrcdir="$$s/fileutils";; \
7122 $(SHELL) $${libsrcdir}/configure \
7123 $(HOST_CONFIGARGS) $${srcdiroption} \
7127 .PHONY: all-fileutils maybe-all-fileutils
7128 maybe-all-fileutils:
7130 TARGET-fileutils=all
7131 maybe-all-fileutils: all-fileutils
7132 all-fileutils: configure-fileutils
7133 @r=`${PWD_COMMAND}`; export r; \
7134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7137 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) \
7138 $(TARGET-fileutils))
7141 .PHONY: check-fileutils maybe-check-fileutils
7142 maybe-check-fileutils:
7144 maybe-check-fileutils: check-fileutils
7147 @r=`${PWD_COMMAND}`; export r; \
7148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7151 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
7155 .PHONY: install-fileutils maybe-install-fileutils
7156 maybe-install-fileutils:
7158 maybe-install-fileutils: install-fileutils
7160 install-fileutils: installdirs
7161 @r=`${PWD_COMMAND}`; export r; \
7162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7165 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
7169 # Other targets (info, dvi, etc.)
7171 .PHONY: maybe-info-fileutils info-fileutils
7172 maybe-info-fileutils:
7174 maybe-info-fileutils: info-fileutils
7178 @[ -f ./fileutils/Makefile ] || exit 0; \
7179 r=`${PWD_COMMAND}`; export r; \
7180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7183 for flag in $(EXTRA_HOST_FLAGS) ; do \
7184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7186 echo "Doing info in fileutils" ; \
7188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7190 "RANLIB=$${RANLIB}" \
7191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7197 .PHONY: maybe-dvi-fileutils dvi-fileutils
7198 maybe-dvi-fileutils:
7200 maybe-dvi-fileutils: dvi-fileutils
7204 @[ -f ./fileutils/Makefile ] || exit 0; \
7205 r=`${PWD_COMMAND}`; export r; \
7206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7209 for flag in $(EXTRA_HOST_FLAGS) ; do \
7210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7212 echo "Doing dvi in fileutils" ; \
7214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7216 "RANLIB=$${RANLIB}" \
7217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7223 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
7224 maybe-TAGS-fileutils:
7226 maybe-TAGS-fileutils: TAGS-fileutils
7230 @[ -f ./fileutils/Makefile ] || exit 0; \
7231 r=`${PWD_COMMAND}`; export r; \
7232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7235 for flag in $(EXTRA_HOST_FLAGS) ; do \
7236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7238 echo "Doing TAGS in fileutils" ; \
7240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7242 "RANLIB=$${RANLIB}" \
7243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7249 .PHONY: maybe-install-info-fileutils install-info-fileutils
7250 maybe-install-info-fileutils:
7252 maybe-install-info-fileutils: install-info-fileutils
7254 install-info-fileutils: \
7255 configure-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 install-info 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-installcheck-fileutils installcheck-fileutils
7277 maybe-installcheck-fileutils:
7279 maybe-installcheck-fileutils: installcheck-fileutils
7281 installcheck-fileutils: \
7283 @[ -f ./fileutils/Makefile ] || exit 0; \
7284 r=`${PWD_COMMAND}`; export r; \
7285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7288 for flag in $(EXTRA_HOST_FLAGS) ; do \
7289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7291 echo "Doing installcheck in fileutils" ; \
7293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7295 "RANLIB=$${RANLIB}" \
7296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7302 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
7303 maybe-mostlyclean-fileutils:
7305 maybe-mostlyclean-fileutils: mostlyclean-fileutils
7307 mostlyclean-fileutils:
7308 @[ -f ./fileutils/Makefile ] || exit 0; \
7309 r=`${PWD_COMMAND}`; export r; \
7310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7313 for flag in $(EXTRA_HOST_FLAGS) ; do \
7314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7316 echo "Doing mostlyclean in fileutils" ; \
7318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7320 "RANLIB=$${RANLIB}" \
7321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7327 .PHONY: maybe-clean-fileutils clean-fileutils
7328 maybe-clean-fileutils:
7330 maybe-clean-fileutils: clean-fileutils
7333 @[ -f ./fileutils/Makefile ] || exit 0; \
7334 r=`${PWD_COMMAND}`; export r; \
7335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7338 for flag in $(EXTRA_HOST_FLAGS) ; do \
7339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7341 echo "Doing clean in fileutils" ; \
7343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7345 "RANLIB=$${RANLIB}" \
7346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7352 .PHONY: maybe-distclean-fileutils distclean-fileutils
7353 maybe-distclean-fileutils:
7355 maybe-distclean-fileutils: distclean-fileutils
7357 distclean-fileutils:
7358 @[ -f ./fileutils/Makefile ] || exit 0; \
7359 r=`${PWD_COMMAND}`; export r; \
7360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7363 for flag in $(EXTRA_HOST_FLAGS) ; do \
7364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7366 echo "Doing distclean in fileutils" ; \
7368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7370 "RANLIB=$${RANLIB}" \
7371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7377 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
7378 maybe-maintainer-clean-fileutils:
7380 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
7382 maintainer-clean-fileutils:
7383 @[ -f ./fileutils/Makefile ] || exit 0; \
7384 r=`${PWD_COMMAND}`; export r; \
7385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7388 for flag in $(EXTRA_HOST_FLAGS) ; do \
7389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7391 echo "Doing maintainer-clean in fileutils" ; \
7393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7395 "RANLIB=$${RANLIB}" \
7396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7403 .PHONY: configure-findutils maybe-configure-findutils
7404 maybe-configure-findutils:
7406 maybe-configure-findutils: configure-findutils
7407 configure-findutils:
7408 @test ! -f findutils/Makefile || exit 0; \
7409 [ -d findutils ] || mkdir findutils; \
7410 r=`${PWD_COMMAND}`; export r; \
7411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7413 echo Configuring in findutils; \
7414 cd findutils || exit 1; \
7417 srcdiroption="--srcdir=."; \
7419 /* | [A-Za-z]:[\\/]*) \
7420 srcdiroption="--srcdir=$(srcdir)/findutils"; \
7421 libsrcdir="$$s/findutils";; \
7423 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
7424 libsrcdir="$$s/findutils";; \
7426 $(SHELL) $${libsrcdir}/configure \
7427 $(HOST_CONFIGARGS) $${srcdiroption} \
7431 .PHONY: all-findutils maybe-all-findutils
7432 maybe-all-findutils:
7434 TARGET-findutils=all
7435 maybe-all-findutils: all-findutils
7436 all-findutils: configure-findutils
7437 @r=`${PWD_COMMAND}`; export r; \
7438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7441 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) \
7442 $(TARGET-findutils))
7445 .PHONY: check-findutils maybe-check-findutils
7446 maybe-check-findutils:
7448 maybe-check-findutils: check-findutils
7451 @r=`${PWD_COMMAND}`; export r; \
7452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7455 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
7459 .PHONY: install-findutils maybe-install-findutils
7460 maybe-install-findutils:
7462 maybe-install-findutils: install-findutils
7464 install-findutils: installdirs
7465 @r=`${PWD_COMMAND}`; export r; \
7466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7469 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
7473 # Other targets (info, dvi, etc.)
7475 .PHONY: maybe-info-findutils info-findutils
7476 maybe-info-findutils:
7478 maybe-info-findutils: info-findutils
7482 @[ -f ./findutils/Makefile ] || exit 0; \
7483 r=`${PWD_COMMAND}`; export r; \
7484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7487 for flag in $(EXTRA_HOST_FLAGS) ; do \
7488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7490 echo "Doing info in findutils" ; \
7492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7494 "RANLIB=$${RANLIB}" \
7495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7501 .PHONY: maybe-dvi-findutils dvi-findutils
7502 maybe-dvi-findutils:
7504 maybe-dvi-findutils: dvi-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 dvi 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-TAGS-findutils TAGS-findutils
7528 maybe-TAGS-findutils:
7530 maybe-TAGS-findutils: TAGS-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 TAGS 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-install-info-findutils install-info-findutils
7554 maybe-install-info-findutils:
7556 maybe-install-info-findutils: install-info-findutils
7558 install-info-findutils: \
7559 configure-findutils \
7561 @[ -f ./findutils/Makefile ] || exit 0; \
7562 r=`${PWD_COMMAND}`; export r; \
7563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7566 for flag in $(EXTRA_HOST_FLAGS) ; do \
7567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7569 echo "Doing install-info in findutils" ; \
7571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7573 "RANLIB=$${RANLIB}" \
7574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7580 .PHONY: maybe-installcheck-findutils installcheck-findutils
7581 maybe-installcheck-findutils:
7583 maybe-installcheck-findutils: installcheck-findutils
7585 installcheck-findutils: \
7587 @[ -f ./findutils/Makefile ] || exit 0; \
7588 r=`${PWD_COMMAND}`; export r; \
7589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7592 for flag in $(EXTRA_HOST_FLAGS) ; do \
7593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7595 echo "Doing installcheck in findutils" ; \
7597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7599 "RANLIB=$${RANLIB}" \
7600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7606 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
7607 maybe-mostlyclean-findutils:
7609 maybe-mostlyclean-findutils: mostlyclean-findutils
7611 mostlyclean-findutils:
7612 @[ -f ./findutils/Makefile ] || exit 0; \
7613 r=`${PWD_COMMAND}`; export r; \
7614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7617 for flag in $(EXTRA_HOST_FLAGS) ; do \
7618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7620 echo "Doing mostlyclean in findutils" ; \
7622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7624 "RANLIB=$${RANLIB}" \
7625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7631 .PHONY: maybe-clean-findutils clean-findutils
7632 maybe-clean-findutils:
7634 maybe-clean-findutils: clean-findutils
7637 @[ -f ./findutils/Makefile ] || exit 0; \
7638 r=`${PWD_COMMAND}`; export r; \
7639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7642 for flag in $(EXTRA_HOST_FLAGS) ; do \
7643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7645 echo "Doing clean in findutils" ; \
7647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7649 "RANLIB=$${RANLIB}" \
7650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7656 .PHONY: maybe-distclean-findutils distclean-findutils
7657 maybe-distclean-findutils:
7659 maybe-distclean-findutils: distclean-findutils
7661 distclean-findutils:
7662 @[ -f ./findutils/Makefile ] || exit 0; \
7663 r=`${PWD_COMMAND}`; export r; \
7664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7667 for flag in $(EXTRA_HOST_FLAGS) ; do \
7668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7670 echo "Doing distclean in findutils" ; \
7672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7674 "RANLIB=$${RANLIB}" \
7675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7681 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
7682 maybe-maintainer-clean-findutils:
7684 maybe-maintainer-clean-findutils: maintainer-clean-findutils
7686 maintainer-clean-findutils:
7687 @[ -f ./findutils/Makefile ] || exit 0; \
7688 r=`${PWD_COMMAND}`; export r; \
7689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7692 for flag in $(EXTRA_HOST_FLAGS) ; do \
7693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7695 echo "Doing maintainer-clean in findutils" ; \
7697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7699 "RANLIB=$${RANLIB}" \
7700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7707 .PHONY: configure-find maybe-configure-find
7708 maybe-configure-find:
7710 maybe-configure-find: configure-find
7712 @test ! -f find/Makefile || exit 0; \
7713 [ -d find ] || mkdir find; \
7714 r=`${PWD_COMMAND}`; export r; \
7715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7717 echo Configuring in find; \
7718 cd find || exit 1; \
7721 srcdiroption="--srcdir=."; \
7723 /* | [A-Za-z]:[\\/]*) \
7724 srcdiroption="--srcdir=$(srcdir)/find"; \
7725 libsrcdir="$$s/find";; \
7727 srcdiroption="--srcdir=../$(srcdir)/find"; \
7728 libsrcdir="$$s/find";; \
7730 $(SHELL) $${libsrcdir}/configure \
7731 $(HOST_CONFIGARGS) $${srcdiroption} \
7735 .PHONY: all-find maybe-all-find
7739 maybe-all-find: all-find
7740 all-find: configure-find
7741 @r=`${PWD_COMMAND}`; export r; \
7742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7745 (cd find && $(MAKE) $(FLAGS_TO_PASS) \
7749 .PHONY: check-find maybe-check-find
7752 maybe-check-find: check-find
7755 @r=`${PWD_COMMAND}`; export r; \
7756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7759 (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
7763 .PHONY: install-find maybe-install-find
7766 maybe-install-find: install-find
7768 install-find: installdirs
7769 @r=`${PWD_COMMAND}`; export r; \
7770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7773 (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
7777 # Other targets (info, dvi, etc.)
7779 .PHONY: maybe-info-find info-find
7782 maybe-info-find: info-find
7786 @[ -f ./find/Makefile ] || exit 0; \
7787 r=`${PWD_COMMAND}`; export r; \
7788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7791 for flag in $(EXTRA_HOST_FLAGS) ; do \
7792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7794 echo "Doing info in find" ; \
7796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7798 "RANLIB=$${RANLIB}" \
7799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7805 .PHONY: maybe-dvi-find dvi-find
7808 maybe-dvi-find: dvi-find
7812 @[ -f ./find/Makefile ] || exit 0; \
7813 r=`${PWD_COMMAND}`; export r; \
7814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7817 for flag in $(EXTRA_HOST_FLAGS) ; do \
7818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7820 echo "Doing dvi in find" ; \
7822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7824 "RANLIB=$${RANLIB}" \
7825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7831 .PHONY: maybe-TAGS-find TAGS-find
7834 maybe-TAGS-find: TAGS-find
7838 @[ -f ./find/Makefile ] || exit 0; \
7839 r=`${PWD_COMMAND}`; export r; \
7840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7843 for flag in $(EXTRA_HOST_FLAGS) ; do \
7844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7846 echo "Doing TAGS in find" ; \
7848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7850 "RANLIB=$${RANLIB}" \
7851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7857 .PHONY: maybe-install-info-find install-info-find
7858 maybe-install-info-find:
7860 maybe-install-info-find: install-info-find
7862 install-info-find: \
7865 @[ -f ./find/Makefile ] || exit 0; \
7866 r=`${PWD_COMMAND}`; export r; \
7867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7870 for flag in $(EXTRA_HOST_FLAGS) ; do \
7871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7873 echo "Doing install-info in find" ; \
7875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7877 "RANLIB=$${RANLIB}" \
7878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7884 .PHONY: maybe-installcheck-find installcheck-find
7885 maybe-installcheck-find:
7887 maybe-installcheck-find: installcheck-find
7889 installcheck-find: \
7891 @[ -f ./find/Makefile ] || exit 0; \
7892 r=`${PWD_COMMAND}`; export r; \
7893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7896 for flag in $(EXTRA_HOST_FLAGS) ; do \
7897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7899 echo "Doing installcheck in find" ; \
7901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7903 "RANLIB=$${RANLIB}" \
7904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7910 .PHONY: maybe-mostlyclean-find mostlyclean-find
7911 maybe-mostlyclean-find:
7913 maybe-mostlyclean-find: mostlyclean-find
7916 @[ -f ./find/Makefile ] || exit 0; \
7917 r=`${PWD_COMMAND}`; export r; \
7918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7921 for flag in $(EXTRA_HOST_FLAGS) ; do \
7922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7924 echo "Doing mostlyclean in find" ; \
7926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7928 "RANLIB=$${RANLIB}" \
7929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7935 .PHONY: maybe-clean-find clean-find
7938 maybe-clean-find: clean-find
7941 @[ -f ./find/Makefile ] || exit 0; \
7942 r=`${PWD_COMMAND}`; export r; \
7943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7946 for flag in $(EXTRA_HOST_FLAGS) ; do \
7947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7949 echo "Doing clean in find" ; \
7951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7953 "RANLIB=$${RANLIB}" \
7954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7960 .PHONY: maybe-distclean-find distclean-find
7961 maybe-distclean-find:
7963 maybe-distclean-find: distclean-find
7966 @[ -f ./find/Makefile ] || exit 0; \
7967 r=`${PWD_COMMAND}`; export r; \
7968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7971 for flag in $(EXTRA_HOST_FLAGS) ; do \
7972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7974 echo "Doing distclean in find" ; \
7976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7978 "RANLIB=$${RANLIB}" \
7979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7985 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
7986 maybe-maintainer-clean-find:
7988 maybe-maintainer-clean-find: maintainer-clean-find
7990 maintainer-clean-find:
7991 @[ -f ./find/Makefile ] || exit 0; \
7992 r=`${PWD_COMMAND}`; export r; \
7993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7996 for flag in $(EXTRA_HOST_FLAGS) ; do \
7997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7999 echo "Doing maintainer-clean in find" ; \
8001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8003 "RANLIB=$${RANLIB}" \
8004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8011 .PHONY: configure-fixincludes maybe-configure-fixincludes
8012 maybe-configure-fixincludes:
8014 maybe-configure-fixincludes: configure-fixincludes
8015 configure-fixincludes:
8016 @test ! -f fixincludes/Makefile || exit 0; \
8017 [ -d fixincludes ] || mkdir fixincludes; \
8018 r=`${PWD_COMMAND}`; export r; \
8019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8021 echo Configuring in fixincludes; \
8022 cd fixincludes || exit 1; \
8025 srcdiroption="--srcdir=."; \
8027 /* | [A-Za-z]:[\\/]*) \
8028 srcdiroption="--srcdir=$(srcdir)/fixincludes"; \
8029 libsrcdir="$$s/fixincludes";; \
8031 srcdiroption="--srcdir=../$(srcdir)/fixincludes"; \
8032 libsrcdir="$$s/fixincludes";; \
8034 $(SHELL) $${libsrcdir}/configure \
8035 $(HOST_CONFIGARGS) $${srcdiroption} \
8039 .PHONY: all-fixincludes maybe-all-fixincludes
8040 maybe-all-fixincludes:
8042 TARGET-fixincludes=all
8043 maybe-all-fixincludes: all-fixincludes
8044 all-fixincludes: configure-fixincludes
8045 @r=`${PWD_COMMAND}`; export r; \
8046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8049 (cd fixincludes && $(MAKE) $(FLAGS_TO_PASS) \
8050 $(TARGET-fixincludes))
8053 .PHONY: check-fixincludes maybe-check-fixincludes
8054 maybe-check-fixincludes:
8056 maybe-check-fixincludes: check-fixincludes
8059 @r=`${PWD_COMMAND}`; export r; \
8060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8063 (cd fixincludes && $(MAKE) $(FLAGS_TO_PASS) check)
8067 .PHONY: install-fixincludes maybe-install-fixincludes
8068 maybe-install-fixincludes:
8070 maybe-install-fixincludes: install-fixincludes
8072 install-fixincludes: installdirs
8073 @r=`${PWD_COMMAND}`; export r; \
8074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8077 (cd fixincludes && $(MAKE) $(FLAGS_TO_PASS) install)
8081 # Other targets (info, dvi, etc.)
8083 .PHONY: maybe-info-fixincludes info-fixincludes
8084 maybe-info-fixincludes:
8086 maybe-info-fixincludes: info-fixincludes
8089 configure-fixincludes
8090 @[ -f ./fixincludes/Makefile ] || exit 0; \
8091 r=`${PWD_COMMAND}`; export r; \
8092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8095 for flag in $(EXTRA_HOST_FLAGS) ; do \
8096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8098 echo "Doing info in fixincludes" ; \
8099 (cd fixincludes && \
8100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8102 "RANLIB=$${RANLIB}" \
8103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8109 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
8110 maybe-dvi-fixincludes:
8112 maybe-dvi-fixincludes: dvi-fixincludes
8115 configure-fixincludes
8116 @[ -f ./fixincludes/Makefile ] || exit 0; \
8117 r=`${PWD_COMMAND}`; export r; \
8118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8121 for flag in $(EXTRA_HOST_FLAGS) ; do \
8122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8124 echo "Doing dvi in fixincludes" ; \
8125 (cd fixincludes && \
8126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8128 "RANLIB=$${RANLIB}" \
8129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8135 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
8136 maybe-TAGS-fixincludes:
8138 maybe-TAGS-fixincludes: TAGS-fixincludes
8141 configure-fixincludes
8142 @[ -f ./fixincludes/Makefile ] || exit 0; \
8143 r=`${PWD_COMMAND}`; export r; \
8144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8147 for flag in $(EXTRA_HOST_FLAGS) ; do \
8148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8150 echo "Doing TAGS in fixincludes" ; \
8151 (cd fixincludes && \
8152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8154 "RANLIB=$${RANLIB}" \
8155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8161 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
8162 maybe-install-info-fixincludes:
8164 maybe-install-info-fixincludes: install-info-fixincludes
8166 install-info-fixincludes: \
8167 configure-fixincludes \
8169 @[ -f ./fixincludes/Makefile ] || exit 0; \
8170 r=`${PWD_COMMAND}`; export r; \
8171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8174 for flag in $(EXTRA_HOST_FLAGS) ; do \
8175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8177 echo "Doing install-info in fixincludes" ; \
8178 (cd fixincludes && \
8179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8181 "RANLIB=$${RANLIB}" \
8182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8188 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8189 maybe-installcheck-fixincludes:
8191 maybe-installcheck-fixincludes: installcheck-fixincludes
8193 installcheck-fixincludes: \
8194 configure-fixincludes
8195 @[ -f ./fixincludes/Makefile ] || exit 0; \
8196 r=`${PWD_COMMAND}`; export r; \
8197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8200 for flag in $(EXTRA_HOST_FLAGS) ; do \
8201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8203 echo "Doing installcheck in fixincludes" ; \
8204 (cd fixincludes && \
8205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8207 "RANLIB=$${RANLIB}" \
8208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8214 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8215 maybe-mostlyclean-fixincludes:
8217 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8219 mostlyclean-fixincludes:
8220 @[ -f ./fixincludes/Makefile ] || exit 0; \
8221 r=`${PWD_COMMAND}`; export r; \
8222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8225 for flag in $(EXTRA_HOST_FLAGS) ; do \
8226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8228 echo "Doing mostlyclean in fixincludes" ; \
8229 (cd fixincludes && \
8230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8232 "RANLIB=$${RANLIB}" \
8233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8239 .PHONY: maybe-clean-fixincludes clean-fixincludes
8240 maybe-clean-fixincludes:
8242 maybe-clean-fixincludes: clean-fixincludes
8245 @[ -f ./fixincludes/Makefile ] || exit 0; \
8246 r=`${PWD_COMMAND}`; export r; \
8247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8250 for flag in $(EXTRA_HOST_FLAGS) ; do \
8251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8253 echo "Doing clean in fixincludes" ; \
8254 (cd fixincludes && \
8255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8257 "RANLIB=$${RANLIB}" \
8258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8264 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8265 maybe-distclean-fixincludes:
8267 maybe-distclean-fixincludes: distclean-fixincludes
8269 distclean-fixincludes:
8270 @[ -f ./fixincludes/Makefile ] || exit 0; \
8271 r=`${PWD_COMMAND}`; export r; \
8272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8275 for flag in $(EXTRA_HOST_FLAGS) ; do \
8276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8278 echo "Doing distclean in fixincludes" ; \
8279 (cd fixincludes && \
8280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8282 "RANLIB=$${RANLIB}" \
8283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8289 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8290 maybe-maintainer-clean-fixincludes:
8292 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8294 maintainer-clean-fixincludes:
8295 @[ -f ./fixincludes/Makefile ] || exit 0; \
8296 r=`${PWD_COMMAND}`; export r; \
8297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8300 for flag in $(EXTRA_HOST_FLAGS) ; do \
8301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8303 echo "Doing maintainer-clean in fixincludes" ; \
8304 (cd fixincludes && \
8305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8307 "RANLIB=$${RANLIB}" \
8308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8315 .PHONY: configure-flex maybe-configure-flex
8316 maybe-configure-flex:
8318 maybe-configure-flex: configure-flex
8320 @test ! -f flex/Makefile || exit 0; \
8321 [ -d flex ] || mkdir flex; \
8322 r=`${PWD_COMMAND}`; export r; \
8323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8325 echo Configuring in flex; \
8326 cd flex || exit 1; \
8329 srcdiroption="--srcdir=."; \
8331 /* | [A-Za-z]:[\\/]*) \
8332 srcdiroption="--srcdir=$(srcdir)/flex"; \
8333 libsrcdir="$$s/flex";; \
8335 srcdiroption="--srcdir=../$(srcdir)/flex"; \
8336 libsrcdir="$$s/flex";; \
8338 $(SHELL) $${libsrcdir}/configure \
8339 $(HOST_CONFIGARGS) $${srcdiroption} \
8343 .PHONY: all-flex maybe-all-flex
8347 maybe-all-flex: all-flex
8348 all-flex: configure-flex
8349 @r=`${PWD_COMMAND}`; export r; \
8350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8353 (cd flex && $(MAKE) $(FLAGS_TO_PASS) \
8357 .PHONY: check-flex maybe-check-flex
8360 maybe-check-flex: check-flex
8362 # This module is only tested in a native toolchain.
8364 @if [ '$(host)' = '$(target)' ] ; then \
8365 r=`${PWD_COMMAND}`; export r; \
8366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8369 (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \
8374 .PHONY: install-flex maybe-install-flex
8377 maybe-install-flex: install-flex
8379 install-flex: installdirs
8380 @r=`${PWD_COMMAND}`; export r; \
8381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8384 (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
8388 # Other targets (info, dvi, etc.)
8390 .PHONY: maybe-info-flex info-flex
8393 maybe-info-flex: info-flex
8397 @[ -f ./flex/Makefile ] || exit 0; \
8398 r=`${PWD_COMMAND}`; export r; \
8399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8402 for flag in $(EXTRA_HOST_FLAGS) ; do \
8403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8405 echo "Doing info in flex" ; \
8407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8409 "RANLIB=$${RANLIB}" \
8410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8416 .PHONY: maybe-dvi-flex dvi-flex
8419 maybe-dvi-flex: dvi-flex
8423 @[ -f ./flex/Makefile ] || exit 0; \
8424 r=`${PWD_COMMAND}`; export r; \
8425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8428 for flag in $(EXTRA_HOST_FLAGS) ; do \
8429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8431 echo "Doing dvi in flex" ; \
8433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8435 "RANLIB=$${RANLIB}" \
8436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8442 .PHONY: maybe-TAGS-flex TAGS-flex
8445 maybe-TAGS-flex: TAGS-flex
8449 @[ -f ./flex/Makefile ] || exit 0; \
8450 r=`${PWD_COMMAND}`; export r; \
8451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8454 for flag in $(EXTRA_HOST_FLAGS) ; do \
8455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8457 echo "Doing TAGS in flex" ; \
8459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8461 "RANLIB=$${RANLIB}" \
8462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8468 .PHONY: maybe-install-info-flex install-info-flex
8469 maybe-install-info-flex:
8471 maybe-install-info-flex: install-info-flex
8473 install-info-flex: \
8476 @[ -f ./flex/Makefile ] || exit 0; \
8477 r=`${PWD_COMMAND}`; export r; \
8478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8481 for flag in $(EXTRA_HOST_FLAGS) ; do \
8482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8484 echo "Doing install-info in flex" ; \
8486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8488 "RANLIB=$${RANLIB}" \
8489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8495 .PHONY: maybe-installcheck-flex installcheck-flex
8496 maybe-installcheck-flex:
8498 maybe-installcheck-flex: installcheck-flex
8500 installcheck-flex: \
8502 @[ -f ./flex/Makefile ] || exit 0; \
8503 r=`${PWD_COMMAND}`; export r; \
8504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8507 for flag in $(EXTRA_HOST_FLAGS) ; do \
8508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8510 echo "Doing installcheck in flex" ; \
8512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8514 "RANLIB=$${RANLIB}" \
8515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8521 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8522 maybe-mostlyclean-flex:
8524 maybe-mostlyclean-flex: mostlyclean-flex
8527 @[ -f ./flex/Makefile ] || exit 0; \
8528 r=`${PWD_COMMAND}`; export r; \
8529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8532 for flag in $(EXTRA_HOST_FLAGS) ; do \
8533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8535 echo "Doing mostlyclean in flex" ; \
8537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8539 "RANLIB=$${RANLIB}" \
8540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8546 .PHONY: maybe-clean-flex clean-flex
8549 maybe-clean-flex: clean-flex
8552 @[ -f ./flex/Makefile ] || exit 0; \
8553 r=`${PWD_COMMAND}`; export r; \
8554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8557 for flag in $(EXTRA_HOST_FLAGS) ; do \
8558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8560 echo "Doing clean in flex" ; \
8562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8564 "RANLIB=$${RANLIB}" \
8565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8571 .PHONY: maybe-distclean-flex distclean-flex
8572 maybe-distclean-flex:
8574 maybe-distclean-flex: distclean-flex
8577 @[ -f ./flex/Makefile ] || exit 0; \
8578 r=`${PWD_COMMAND}`; export r; \
8579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8582 for flag in $(EXTRA_HOST_FLAGS) ; do \
8583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8585 echo "Doing distclean in flex" ; \
8587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8589 "RANLIB=$${RANLIB}" \
8590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8596 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8597 maybe-maintainer-clean-flex:
8599 maybe-maintainer-clean-flex: maintainer-clean-flex
8601 maintainer-clean-flex:
8602 @[ -f ./flex/Makefile ] || exit 0; \
8603 r=`${PWD_COMMAND}`; export r; \
8604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8607 for flag in $(EXTRA_HOST_FLAGS) ; do \
8608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8610 echo "Doing maintainer-clean in flex" ; \
8612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8614 "RANLIB=$${RANLIB}" \
8615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8622 .PHONY: configure-gas maybe-configure-gas
8623 maybe-configure-gas:
8625 maybe-configure-gas: configure-gas
8627 @test -f stage_last && exit 0; \
8628 test ! -f gas/Makefile || exit 0; \
8629 [ -d gas ] || mkdir gas; \
8630 r=`${PWD_COMMAND}`; export r; \
8631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8633 echo Configuring in gas; \
8637 srcdiroption="--srcdir=."; \
8639 /* | [A-Za-z]:[\\/]*) \
8640 srcdiroption="--srcdir=$(srcdir)/gas"; \
8641 libsrcdir="$$s/gas";; \
8643 srcdiroption="--srcdir=../$(srcdir)/gas"; \
8644 libsrcdir="$$s/gas";; \
8646 $(SHELL) $${libsrcdir}/configure \
8647 $(HOST_CONFIGARGS) $${srcdiroption} \
8651 .PHONY: all-gas maybe-all-gas
8655 maybe-all-gas: all-gas
8656 all-gas: configure-gas
8657 @test -f stage_last && exit 0; \
8658 r=`${PWD_COMMAND}`; export r; \
8659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8662 (cd gas && $(MAKE) $(FLAGS_TO_PASS) \
8666 .PHONY: check-gas maybe-check-gas
8669 maybe-check-gas: check-gas
8672 @r=`${PWD_COMMAND}`; export r; \
8673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8676 (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
8680 .PHONY: install-gas maybe-install-gas
8683 maybe-install-gas: install-gas
8685 install-gas: installdirs
8686 @r=`${PWD_COMMAND}`; export r; \
8687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8690 (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
8694 # Other targets (info, dvi, etc.)
8696 .PHONY: maybe-info-gas info-gas
8699 maybe-info-gas: info-gas
8703 @[ -f ./gas/Makefile ] || exit 0; \
8704 r=`${PWD_COMMAND}`; export r; \
8705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8708 for flag in $(EXTRA_HOST_FLAGS) ; do \
8709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8711 echo "Doing info in gas" ; \
8713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8715 "RANLIB=$${RANLIB}" \
8716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8722 .PHONY: maybe-dvi-gas dvi-gas
8725 maybe-dvi-gas: dvi-gas
8729 @[ -f ./gas/Makefile ] || exit 0; \
8730 r=`${PWD_COMMAND}`; export r; \
8731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8734 for flag in $(EXTRA_HOST_FLAGS) ; do \
8735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8737 echo "Doing dvi in gas" ; \
8739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8741 "RANLIB=$${RANLIB}" \
8742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8748 .PHONY: maybe-TAGS-gas TAGS-gas
8751 maybe-TAGS-gas: TAGS-gas
8755 @[ -f ./gas/Makefile ] || exit 0; \
8756 r=`${PWD_COMMAND}`; export r; \
8757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8760 for flag in $(EXTRA_HOST_FLAGS) ; do \
8761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8763 echo "Doing TAGS in gas" ; \
8765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8767 "RANLIB=$${RANLIB}" \
8768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8774 .PHONY: maybe-install-info-gas install-info-gas
8775 maybe-install-info-gas:
8777 maybe-install-info-gas: install-info-gas
8782 @[ -f ./gas/Makefile ] || exit 0; \
8783 r=`${PWD_COMMAND}`; export r; \
8784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8787 for flag in $(EXTRA_HOST_FLAGS) ; do \
8788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8790 echo "Doing install-info in gas" ; \
8792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8794 "RANLIB=$${RANLIB}" \
8795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8801 .PHONY: maybe-installcheck-gas installcheck-gas
8802 maybe-installcheck-gas:
8804 maybe-installcheck-gas: installcheck-gas
8808 @[ -f ./gas/Makefile ] || exit 0; \
8809 r=`${PWD_COMMAND}`; export r; \
8810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8813 for flag in $(EXTRA_HOST_FLAGS) ; do \
8814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8816 echo "Doing installcheck in gas" ; \
8818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8820 "RANLIB=$${RANLIB}" \
8821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8827 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
8828 maybe-mostlyclean-gas:
8830 maybe-mostlyclean-gas: mostlyclean-gas
8833 @[ -f ./gas/Makefile ] || exit 0; \
8834 r=`${PWD_COMMAND}`; export r; \
8835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8838 for flag in $(EXTRA_HOST_FLAGS) ; do \
8839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8841 echo "Doing mostlyclean in gas" ; \
8843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8845 "RANLIB=$${RANLIB}" \
8846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8852 .PHONY: maybe-clean-gas clean-gas
8855 maybe-clean-gas: clean-gas
8858 @[ -f ./gas/Makefile ] || exit 0; \
8859 r=`${PWD_COMMAND}`; export r; \
8860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8863 for flag in $(EXTRA_HOST_FLAGS) ; do \
8864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8866 echo "Doing clean in gas" ; \
8868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8870 "RANLIB=$${RANLIB}" \
8871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8877 .PHONY: maybe-distclean-gas distclean-gas
8878 maybe-distclean-gas:
8880 maybe-distclean-gas: distclean-gas
8883 @[ -f ./gas/Makefile ] || exit 0; \
8884 r=`${PWD_COMMAND}`; export r; \
8885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8888 for flag in $(EXTRA_HOST_FLAGS) ; do \
8889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8891 echo "Doing distclean in gas" ; \
8893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8895 "RANLIB=$${RANLIB}" \
8896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8902 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
8903 maybe-maintainer-clean-gas:
8905 maybe-maintainer-clean-gas: maintainer-clean-gas
8907 maintainer-clean-gas:
8908 @[ -f ./gas/Makefile ] || exit 0; \
8909 r=`${PWD_COMMAND}`; export r; \
8910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8913 for flag in $(EXTRA_HOST_FLAGS) ; do \
8914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8916 echo "Doing maintainer-clean in gas" ; \
8918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8920 "RANLIB=$${RANLIB}" \
8921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8928 .PHONY: configure-gcc maybe-configure-gcc
8929 maybe-configure-gcc:
8931 maybe-configure-gcc: configure-gcc
8933 @test -f stage_last && exit 0; \
8934 test ! -f gcc/Makefile || exit 0; \
8935 [ -d gcc ] || mkdir gcc; \
8936 r=`${PWD_COMMAND}`; export r; \
8937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8939 echo Configuring in gcc; \
8943 srcdiroption="--srcdir=."; \
8945 /* | [A-Za-z]:[\\/]*) \
8946 srcdiroption="--srcdir=$(srcdir)/gcc"; \
8947 libsrcdir="$$s/gcc";; \
8949 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
8950 libsrcdir="$$s/gcc";; \
8952 $(SHELL) $${libsrcdir}/configure \
8953 $(HOST_CONFIGARGS) $${srcdiroption} \
8957 .PHONY: all-gcc maybe-all-gcc
8960 TARGET-gcc=`if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi`
8961 maybe-all-gcc: all-gcc
8962 all-gcc: configure-gcc
8963 @test -f stage_last && exit 0; \
8964 r=`${PWD_COMMAND}`; export r; \
8965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8968 (cd gcc && $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
8972 .PHONY: check-gcc maybe-check-gcc
8975 maybe-check-gcc: check-gcc
8978 @r=`${PWD_COMMAND}`; export r; \
8979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8982 (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) check)
8986 .PHONY: install-gcc maybe-install-gcc
8989 maybe-install-gcc: install-gcc
8991 install-gcc: installdirs
8992 @r=`${PWD_COMMAND}`; export r; \
8993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8996 (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) install)
9000 # Other targets (info, dvi, etc.)
9002 .PHONY: maybe-info-gcc info-gcc
9005 maybe-info-gcc: info-gcc
9009 @[ -f ./gcc/Makefile ] || exit 0; \
9010 r=`${PWD_COMMAND}`; export r; \
9011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9014 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9017 echo "Doing info in gcc" ; \
9019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9021 "RANLIB=$${RANLIB}" \
9022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9028 .PHONY: maybe-dvi-gcc dvi-gcc
9031 maybe-dvi-gcc: dvi-gcc
9035 @[ -f ./gcc/Makefile ] || exit 0; \
9036 r=`${PWD_COMMAND}`; export r; \
9037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9040 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9043 echo "Doing dvi in gcc" ; \
9045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9047 "RANLIB=$${RANLIB}" \
9048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9054 .PHONY: maybe-TAGS-gcc TAGS-gcc
9057 maybe-TAGS-gcc: TAGS-gcc
9061 @[ -f ./gcc/Makefile ] || exit 0; \
9062 r=`${PWD_COMMAND}`; export r; \
9063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9066 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9069 echo "Doing TAGS in gcc" ; \
9071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9073 "RANLIB=$${RANLIB}" \
9074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9080 .PHONY: maybe-install-info-gcc install-info-gcc
9081 maybe-install-info-gcc:
9083 maybe-install-info-gcc: install-info-gcc
9088 @[ -f ./gcc/Makefile ] || exit 0; \
9089 r=`${PWD_COMMAND}`; export r; \
9090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9093 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9096 echo "Doing install-info in gcc" ; \
9098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9100 "RANLIB=$${RANLIB}" \
9101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9107 .PHONY: maybe-installcheck-gcc installcheck-gcc
9108 maybe-installcheck-gcc:
9110 maybe-installcheck-gcc: installcheck-gcc
9114 @[ -f ./gcc/Makefile ] || exit 0; \
9115 r=`${PWD_COMMAND}`; export r; \
9116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9119 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9122 echo "Doing installcheck in gcc" ; \
9124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9126 "RANLIB=$${RANLIB}" \
9127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9133 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
9134 maybe-mostlyclean-gcc:
9136 maybe-mostlyclean-gcc: mostlyclean-gcc
9139 @[ -f ./gcc/Makefile ] || exit 0; \
9140 r=`${PWD_COMMAND}`; export r; \
9141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9144 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9147 echo "Doing mostlyclean in gcc" ; \
9149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9151 "RANLIB=$${RANLIB}" \
9152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9158 .PHONY: maybe-clean-gcc clean-gcc
9161 maybe-clean-gcc: clean-gcc
9164 @[ -f ./gcc/Makefile ] || exit 0; \
9165 r=`${PWD_COMMAND}`; export r; \
9166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9169 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9172 echo "Doing clean in gcc" ; \
9174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9176 "RANLIB=$${RANLIB}" \
9177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9183 .PHONY: maybe-distclean-gcc distclean-gcc
9184 maybe-distclean-gcc:
9186 maybe-distclean-gcc: distclean-gcc
9189 @[ -f ./gcc/Makefile ] || exit 0; \
9190 r=`${PWD_COMMAND}`; export r; \
9191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9194 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9197 echo "Doing distclean in gcc" ; \
9199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9201 "RANLIB=$${RANLIB}" \
9202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9208 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
9209 maybe-maintainer-clean-gcc:
9211 maybe-maintainer-clean-gcc: maintainer-clean-gcc
9213 maintainer-clean-gcc:
9214 @[ -f ./gcc/Makefile ] || exit 0; \
9215 r=`${PWD_COMMAND}`; export r; \
9216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9219 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9222 echo "Doing maintainer-clean in gcc" ; \
9224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9226 "RANLIB=$${RANLIB}" \
9227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9234 .PHONY: configure-gawk maybe-configure-gawk
9235 maybe-configure-gawk:
9237 maybe-configure-gawk: configure-gawk
9239 @test ! -f gawk/Makefile || exit 0; \
9240 [ -d gawk ] || mkdir gawk; \
9241 r=`${PWD_COMMAND}`; export r; \
9242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9244 echo Configuring in gawk; \
9245 cd gawk || exit 1; \
9248 srcdiroption="--srcdir=."; \
9250 /* | [A-Za-z]:[\\/]*) \
9251 srcdiroption="--srcdir=$(srcdir)/gawk"; \
9252 libsrcdir="$$s/gawk";; \
9254 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
9255 libsrcdir="$$s/gawk";; \
9257 $(SHELL) $${libsrcdir}/configure \
9258 $(HOST_CONFIGARGS) $${srcdiroption} \
9262 .PHONY: all-gawk maybe-all-gawk
9266 maybe-all-gawk: all-gawk
9267 all-gawk: configure-gawk
9268 @r=`${PWD_COMMAND}`; export r; \
9269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9272 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) \
9276 .PHONY: check-gawk maybe-check-gawk
9279 maybe-check-gawk: check-gawk
9282 @r=`${PWD_COMMAND}`; export r; \
9283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9286 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
9290 .PHONY: install-gawk maybe-install-gawk
9293 maybe-install-gawk: install-gawk
9295 install-gawk: installdirs
9296 @r=`${PWD_COMMAND}`; export r; \
9297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9300 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
9304 # Other targets (info, dvi, etc.)
9306 .PHONY: maybe-info-gawk info-gawk
9309 maybe-info-gawk: info-gawk
9313 @[ -f ./gawk/Makefile ] || exit 0; \
9314 r=`${PWD_COMMAND}`; export r; \
9315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9318 for flag in $(EXTRA_HOST_FLAGS) ; do \
9319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9321 echo "Doing info in gawk" ; \
9323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9325 "RANLIB=$${RANLIB}" \
9326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9332 .PHONY: maybe-dvi-gawk dvi-gawk
9335 maybe-dvi-gawk: dvi-gawk
9339 @[ -f ./gawk/Makefile ] || exit 0; \
9340 r=`${PWD_COMMAND}`; export r; \
9341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9344 for flag in $(EXTRA_HOST_FLAGS) ; do \
9345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9347 echo "Doing dvi in gawk" ; \
9349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9351 "RANLIB=$${RANLIB}" \
9352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9358 .PHONY: maybe-TAGS-gawk TAGS-gawk
9361 maybe-TAGS-gawk: TAGS-gawk
9365 @[ -f ./gawk/Makefile ] || exit 0; \
9366 r=`${PWD_COMMAND}`; export r; \
9367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9370 for flag in $(EXTRA_HOST_FLAGS) ; do \
9371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9373 echo "Doing TAGS in gawk" ; \
9375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9377 "RANLIB=$${RANLIB}" \
9378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9384 .PHONY: maybe-install-info-gawk install-info-gawk
9385 maybe-install-info-gawk:
9387 maybe-install-info-gawk: install-info-gawk
9389 install-info-gawk: \
9392 @[ -f ./gawk/Makefile ] || exit 0; \
9393 r=`${PWD_COMMAND}`; export r; \
9394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9397 for flag in $(EXTRA_HOST_FLAGS) ; do \
9398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9400 echo "Doing install-info in gawk" ; \
9402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9404 "RANLIB=$${RANLIB}" \
9405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9411 .PHONY: maybe-installcheck-gawk installcheck-gawk
9412 maybe-installcheck-gawk:
9414 maybe-installcheck-gawk: installcheck-gawk
9416 installcheck-gawk: \
9418 @[ -f ./gawk/Makefile ] || exit 0; \
9419 r=`${PWD_COMMAND}`; export r; \
9420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9423 for flag in $(EXTRA_HOST_FLAGS) ; do \
9424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9426 echo "Doing installcheck in gawk" ; \
9428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9430 "RANLIB=$${RANLIB}" \
9431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9437 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
9438 maybe-mostlyclean-gawk:
9440 maybe-mostlyclean-gawk: mostlyclean-gawk
9443 @[ -f ./gawk/Makefile ] || exit 0; \
9444 r=`${PWD_COMMAND}`; export r; \
9445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9448 for flag in $(EXTRA_HOST_FLAGS) ; do \
9449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9451 echo "Doing mostlyclean in gawk" ; \
9453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9455 "RANLIB=$${RANLIB}" \
9456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9462 .PHONY: maybe-clean-gawk clean-gawk
9465 maybe-clean-gawk: clean-gawk
9468 @[ -f ./gawk/Makefile ] || exit 0; \
9469 r=`${PWD_COMMAND}`; export r; \
9470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9473 for flag in $(EXTRA_HOST_FLAGS) ; do \
9474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9476 echo "Doing clean in gawk" ; \
9478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9480 "RANLIB=$${RANLIB}" \
9481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9487 .PHONY: maybe-distclean-gawk distclean-gawk
9488 maybe-distclean-gawk:
9490 maybe-distclean-gawk: distclean-gawk
9493 @[ -f ./gawk/Makefile ] || exit 0; \
9494 r=`${PWD_COMMAND}`; export r; \
9495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9498 for flag in $(EXTRA_HOST_FLAGS) ; do \
9499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9501 echo "Doing distclean in gawk" ; \
9503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9505 "RANLIB=$${RANLIB}" \
9506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9512 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
9513 maybe-maintainer-clean-gawk:
9515 maybe-maintainer-clean-gawk: maintainer-clean-gawk
9517 maintainer-clean-gawk:
9518 @[ -f ./gawk/Makefile ] || exit 0; \
9519 r=`${PWD_COMMAND}`; export r; \
9520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9523 for flag in $(EXTRA_HOST_FLAGS) ; do \
9524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9526 echo "Doing maintainer-clean in gawk" ; \
9528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9530 "RANLIB=$${RANLIB}" \
9531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9538 .PHONY: configure-gettext maybe-configure-gettext
9539 maybe-configure-gettext:
9541 maybe-configure-gettext: configure-gettext
9543 @test ! -f gettext/Makefile || exit 0; \
9544 [ -d gettext ] || mkdir gettext; \
9545 r=`${PWD_COMMAND}`; export r; \
9546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9548 echo Configuring in gettext; \
9549 cd gettext || exit 1; \
9552 srcdiroption="--srcdir=."; \
9554 /* | [A-Za-z]:[\\/]*) \
9555 srcdiroption="--srcdir=$(srcdir)/gettext"; \
9556 libsrcdir="$$s/gettext";; \
9558 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
9559 libsrcdir="$$s/gettext";; \
9561 $(SHELL) $${libsrcdir}/configure \
9562 $(HOST_CONFIGARGS) $${srcdiroption} \
9566 .PHONY: all-gettext maybe-all-gettext
9570 maybe-all-gettext: all-gettext
9571 all-gettext: configure-gettext
9572 @r=`${PWD_COMMAND}`; export r; \
9573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9576 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) \
9580 .PHONY: check-gettext maybe-check-gettext
9581 maybe-check-gettext:
9583 maybe-check-gettext: check-gettext
9586 @r=`${PWD_COMMAND}`; export r; \
9587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9590 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
9594 .PHONY: install-gettext maybe-install-gettext
9595 maybe-install-gettext:
9597 maybe-install-gettext: install-gettext
9599 install-gettext: installdirs
9600 @r=`${PWD_COMMAND}`; export r; \
9601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9604 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
9608 # Other targets (info, dvi, etc.)
9610 .PHONY: maybe-info-gettext info-gettext
9613 maybe-info-gettext: info-gettext
9617 @[ -f ./gettext/Makefile ] || exit 0; \
9618 r=`${PWD_COMMAND}`; export r; \
9619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9622 for flag in $(EXTRA_HOST_FLAGS) ; do \
9623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9625 echo "Doing info in gettext" ; \
9627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9629 "RANLIB=$${RANLIB}" \
9630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9636 .PHONY: maybe-dvi-gettext dvi-gettext
9639 maybe-dvi-gettext: dvi-gettext
9643 @[ -f ./gettext/Makefile ] || exit 0; \
9644 r=`${PWD_COMMAND}`; export r; \
9645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9648 for flag in $(EXTRA_HOST_FLAGS) ; do \
9649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9651 echo "Doing dvi in gettext" ; \
9653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9655 "RANLIB=$${RANLIB}" \
9656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9662 .PHONY: maybe-TAGS-gettext TAGS-gettext
9665 maybe-TAGS-gettext: TAGS-gettext
9669 @[ -f ./gettext/Makefile ] || exit 0; \
9670 r=`${PWD_COMMAND}`; export r; \
9671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9674 for flag in $(EXTRA_HOST_FLAGS) ; do \
9675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9677 echo "Doing TAGS in gettext" ; \
9679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9681 "RANLIB=$${RANLIB}" \
9682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9688 .PHONY: maybe-install-info-gettext install-info-gettext
9689 maybe-install-info-gettext:
9691 maybe-install-info-gettext: install-info-gettext
9693 install-info-gettext: \
9696 @[ -f ./gettext/Makefile ] || exit 0; \
9697 r=`${PWD_COMMAND}`; export r; \
9698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9701 for flag in $(EXTRA_HOST_FLAGS) ; do \
9702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9704 echo "Doing install-info in gettext" ; \
9706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9708 "RANLIB=$${RANLIB}" \
9709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9715 .PHONY: maybe-installcheck-gettext installcheck-gettext
9716 maybe-installcheck-gettext:
9718 maybe-installcheck-gettext: installcheck-gettext
9720 installcheck-gettext: \
9722 @[ -f ./gettext/Makefile ] || exit 0; \
9723 r=`${PWD_COMMAND}`; export r; \
9724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9727 for flag in $(EXTRA_HOST_FLAGS) ; do \
9728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9730 echo "Doing installcheck in gettext" ; \
9732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9734 "RANLIB=$${RANLIB}" \
9735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9741 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
9742 maybe-mostlyclean-gettext:
9744 maybe-mostlyclean-gettext: mostlyclean-gettext
9746 mostlyclean-gettext:
9747 @[ -f ./gettext/Makefile ] || exit 0; \
9748 r=`${PWD_COMMAND}`; export r; \
9749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9752 for flag in $(EXTRA_HOST_FLAGS) ; do \
9753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9755 echo "Doing mostlyclean in gettext" ; \
9757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9759 "RANLIB=$${RANLIB}" \
9760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9766 .PHONY: maybe-clean-gettext clean-gettext
9767 maybe-clean-gettext:
9769 maybe-clean-gettext: clean-gettext
9772 @[ -f ./gettext/Makefile ] || exit 0; \
9773 r=`${PWD_COMMAND}`; export r; \
9774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9777 for flag in $(EXTRA_HOST_FLAGS) ; do \
9778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9780 echo "Doing clean in gettext" ; \
9782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9784 "RANLIB=$${RANLIB}" \
9785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9791 .PHONY: maybe-distclean-gettext distclean-gettext
9792 maybe-distclean-gettext:
9794 maybe-distclean-gettext: distclean-gettext
9797 @[ -f ./gettext/Makefile ] || exit 0; \
9798 r=`${PWD_COMMAND}`; export r; \
9799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9802 for flag in $(EXTRA_HOST_FLAGS) ; do \
9803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9805 echo "Doing distclean in gettext" ; \
9807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9809 "RANLIB=$${RANLIB}" \
9810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9816 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
9817 maybe-maintainer-clean-gettext:
9819 maybe-maintainer-clean-gettext: maintainer-clean-gettext
9821 maintainer-clean-gettext:
9822 @[ -f ./gettext/Makefile ] || exit 0; \
9823 r=`${PWD_COMMAND}`; export r; \
9824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9827 for flag in $(EXTRA_HOST_FLAGS) ; do \
9828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9830 echo "Doing maintainer-clean in gettext" ; \
9832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9834 "RANLIB=$${RANLIB}" \
9835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9842 .PHONY: configure-gnuserv maybe-configure-gnuserv
9843 maybe-configure-gnuserv:
9845 maybe-configure-gnuserv: configure-gnuserv
9847 @test ! -f gnuserv/Makefile || exit 0; \
9848 [ -d gnuserv ] || mkdir gnuserv; \
9849 r=`${PWD_COMMAND}`; export r; \
9850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9852 echo Configuring in gnuserv; \
9853 cd gnuserv || exit 1; \
9856 srcdiroption="--srcdir=."; \
9858 /* | [A-Za-z]:[\\/]*) \
9859 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
9860 libsrcdir="$$s/gnuserv";; \
9862 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
9863 libsrcdir="$$s/gnuserv";; \
9865 $(SHELL) $${libsrcdir}/configure \
9866 $(HOST_CONFIGARGS) $${srcdiroption} \
9870 .PHONY: all-gnuserv maybe-all-gnuserv
9874 maybe-all-gnuserv: all-gnuserv
9875 all-gnuserv: configure-gnuserv
9876 @r=`${PWD_COMMAND}`; export r; \
9877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9880 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) \
9884 .PHONY: check-gnuserv maybe-check-gnuserv
9885 maybe-check-gnuserv:
9887 maybe-check-gnuserv: check-gnuserv
9890 @r=`${PWD_COMMAND}`; export r; \
9891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9894 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
9898 .PHONY: install-gnuserv maybe-install-gnuserv
9899 maybe-install-gnuserv:
9901 maybe-install-gnuserv: install-gnuserv
9903 install-gnuserv: installdirs
9904 @r=`${PWD_COMMAND}`; export r; \
9905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9908 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
9912 # Other targets (info, dvi, etc.)
9914 .PHONY: maybe-info-gnuserv info-gnuserv
9917 maybe-info-gnuserv: info-gnuserv
9921 @[ -f ./gnuserv/Makefile ] || exit 0; \
9922 r=`${PWD_COMMAND}`; export r; \
9923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9926 for flag in $(EXTRA_HOST_FLAGS) ; do \
9927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9929 echo "Doing info in gnuserv" ; \
9931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9933 "RANLIB=$${RANLIB}" \
9934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9940 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
9943 maybe-dvi-gnuserv: dvi-gnuserv
9947 @[ -f ./gnuserv/Makefile ] || exit 0; \
9948 r=`${PWD_COMMAND}`; export r; \
9949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9952 for flag in $(EXTRA_HOST_FLAGS) ; do \
9953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9955 echo "Doing dvi in gnuserv" ; \
9957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9959 "RANLIB=$${RANLIB}" \
9960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9966 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
9969 maybe-TAGS-gnuserv: TAGS-gnuserv
9973 @[ -f ./gnuserv/Makefile ] || exit 0; \
9974 r=`${PWD_COMMAND}`; export r; \
9975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9978 for flag in $(EXTRA_HOST_FLAGS) ; do \
9979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9981 echo "Doing TAGS in gnuserv" ; \
9983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9985 "RANLIB=$${RANLIB}" \
9986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9992 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
9993 maybe-install-info-gnuserv:
9995 maybe-install-info-gnuserv: install-info-gnuserv
9997 install-info-gnuserv: \
10000 @[ -f ./gnuserv/Makefile ] || exit 0; \
10001 r=`${PWD_COMMAND}`; export r; \
10002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10005 for flag in $(EXTRA_HOST_FLAGS) ; do \
10006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10008 echo "Doing install-info in gnuserv" ; \
10010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10012 "RANLIB=$${RANLIB}" \
10013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10019 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
10020 maybe-installcheck-gnuserv:
10022 maybe-installcheck-gnuserv: installcheck-gnuserv
10024 installcheck-gnuserv: \
10026 @[ -f ./gnuserv/Makefile ] || exit 0; \
10027 r=`${PWD_COMMAND}`; export r; \
10028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10031 for flag in $(EXTRA_HOST_FLAGS) ; do \
10032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10034 echo "Doing installcheck in gnuserv" ; \
10036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10038 "RANLIB=$${RANLIB}" \
10039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10045 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
10046 maybe-mostlyclean-gnuserv:
10048 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
10050 mostlyclean-gnuserv:
10051 @[ -f ./gnuserv/Makefile ] || exit 0; \
10052 r=`${PWD_COMMAND}`; export r; \
10053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10056 for flag in $(EXTRA_HOST_FLAGS) ; do \
10057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10059 echo "Doing mostlyclean in gnuserv" ; \
10061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10063 "RANLIB=$${RANLIB}" \
10064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10070 .PHONY: maybe-clean-gnuserv clean-gnuserv
10071 maybe-clean-gnuserv:
10073 maybe-clean-gnuserv: clean-gnuserv
10076 @[ -f ./gnuserv/Makefile ] || exit 0; \
10077 r=`${PWD_COMMAND}`; export r; \
10078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10081 for flag in $(EXTRA_HOST_FLAGS) ; do \
10082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10084 echo "Doing clean in gnuserv" ; \
10086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10088 "RANLIB=$${RANLIB}" \
10089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10095 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
10096 maybe-distclean-gnuserv:
10098 maybe-distclean-gnuserv: distclean-gnuserv
10101 @[ -f ./gnuserv/Makefile ] || exit 0; \
10102 r=`${PWD_COMMAND}`; export r; \
10103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10106 for flag in $(EXTRA_HOST_FLAGS) ; do \
10107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10109 echo "Doing distclean in gnuserv" ; \
10111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10113 "RANLIB=$${RANLIB}" \
10114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10120 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
10121 maybe-maintainer-clean-gnuserv:
10123 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
10125 maintainer-clean-gnuserv:
10126 @[ -f ./gnuserv/Makefile ] || exit 0; \
10127 r=`${PWD_COMMAND}`; export r; \
10128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10131 for flag in $(EXTRA_HOST_FLAGS) ; do \
10132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10134 echo "Doing maintainer-clean in gnuserv" ; \
10136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10138 "RANLIB=$${RANLIB}" \
10139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10140 maintainer-clean) \
10146 .PHONY: configure-gprof maybe-configure-gprof
10147 maybe-configure-gprof:
10149 maybe-configure-gprof: configure-gprof
10151 @test ! -f gprof/Makefile || exit 0; \
10152 [ -d gprof ] || mkdir gprof; \
10153 r=`${PWD_COMMAND}`; export r; \
10154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10156 echo Configuring in gprof; \
10157 cd gprof || exit 1; \
10158 case $(srcdir) in \
10160 srcdiroption="--srcdir=."; \
10162 /* | [A-Za-z]:[\\/]*) \
10163 srcdiroption="--srcdir=$(srcdir)/gprof"; \
10164 libsrcdir="$$s/gprof";; \
10166 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
10167 libsrcdir="$$s/gprof";; \
10169 $(SHELL) $${libsrcdir}/configure \
10170 $(HOST_CONFIGARGS) $${srcdiroption} \
10174 .PHONY: all-gprof maybe-all-gprof
10178 maybe-all-gprof: all-gprof
10179 all-gprof: configure-gprof
10180 @r=`${PWD_COMMAND}`; export r; \
10181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10184 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) \
10188 .PHONY: check-gprof maybe-check-gprof
10191 maybe-check-gprof: check-gprof
10194 @r=`${PWD_COMMAND}`; export r; \
10195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10198 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
10202 .PHONY: install-gprof maybe-install-gprof
10203 maybe-install-gprof:
10205 maybe-install-gprof: install-gprof
10207 install-gprof: installdirs
10208 @r=`${PWD_COMMAND}`; export r; \
10209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10212 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
10216 # Other targets (info, dvi, etc.)
10218 .PHONY: maybe-info-gprof info-gprof
10221 maybe-info-gprof: info-gprof
10225 @[ -f ./gprof/Makefile ] || exit 0; \
10226 r=`${PWD_COMMAND}`; export r; \
10227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10230 for flag in $(EXTRA_HOST_FLAGS) ; do \
10231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10233 echo "Doing info in gprof" ; \
10235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10237 "RANLIB=$${RANLIB}" \
10238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10244 .PHONY: maybe-dvi-gprof dvi-gprof
10247 maybe-dvi-gprof: dvi-gprof
10251 @[ -f ./gprof/Makefile ] || exit 0; \
10252 r=`${PWD_COMMAND}`; export r; \
10253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10256 for flag in $(EXTRA_HOST_FLAGS) ; do \
10257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10259 echo "Doing dvi in gprof" ; \
10261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10263 "RANLIB=$${RANLIB}" \
10264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10270 .PHONY: maybe-TAGS-gprof TAGS-gprof
10273 maybe-TAGS-gprof: TAGS-gprof
10277 @[ -f ./gprof/Makefile ] || exit 0; \
10278 r=`${PWD_COMMAND}`; export r; \
10279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10282 for flag in $(EXTRA_HOST_FLAGS) ; do \
10283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10285 echo "Doing TAGS in gprof" ; \
10287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10289 "RANLIB=$${RANLIB}" \
10290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10296 .PHONY: maybe-install-info-gprof install-info-gprof
10297 maybe-install-info-gprof:
10299 maybe-install-info-gprof: install-info-gprof
10301 install-info-gprof: \
10304 @[ -f ./gprof/Makefile ] || exit 0; \
10305 r=`${PWD_COMMAND}`; export r; \
10306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10309 for flag in $(EXTRA_HOST_FLAGS) ; do \
10310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10312 echo "Doing install-info in gprof" ; \
10314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10316 "RANLIB=$${RANLIB}" \
10317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10323 .PHONY: maybe-installcheck-gprof installcheck-gprof
10324 maybe-installcheck-gprof:
10326 maybe-installcheck-gprof: installcheck-gprof
10328 installcheck-gprof: \
10330 @[ -f ./gprof/Makefile ] || exit 0; \
10331 r=`${PWD_COMMAND}`; export r; \
10332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10335 for flag in $(EXTRA_HOST_FLAGS) ; do \
10336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10338 echo "Doing installcheck in gprof" ; \
10340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10342 "RANLIB=$${RANLIB}" \
10343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10349 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
10350 maybe-mostlyclean-gprof:
10352 maybe-mostlyclean-gprof: mostlyclean-gprof
10355 @[ -f ./gprof/Makefile ] || exit 0; \
10356 r=`${PWD_COMMAND}`; export r; \
10357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10360 for flag in $(EXTRA_HOST_FLAGS) ; do \
10361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10363 echo "Doing mostlyclean in gprof" ; \
10365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10367 "RANLIB=$${RANLIB}" \
10368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10374 .PHONY: maybe-clean-gprof clean-gprof
10377 maybe-clean-gprof: clean-gprof
10380 @[ -f ./gprof/Makefile ] || exit 0; \
10381 r=`${PWD_COMMAND}`; export r; \
10382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10385 for flag in $(EXTRA_HOST_FLAGS) ; do \
10386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10388 echo "Doing clean in gprof" ; \
10390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10392 "RANLIB=$${RANLIB}" \
10393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10399 .PHONY: maybe-distclean-gprof distclean-gprof
10400 maybe-distclean-gprof:
10402 maybe-distclean-gprof: distclean-gprof
10405 @[ -f ./gprof/Makefile ] || exit 0; \
10406 r=`${PWD_COMMAND}`; export r; \
10407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10410 for flag in $(EXTRA_HOST_FLAGS) ; do \
10411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10413 echo "Doing distclean in gprof" ; \
10415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10417 "RANLIB=$${RANLIB}" \
10418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10424 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
10425 maybe-maintainer-clean-gprof:
10427 maybe-maintainer-clean-gprof: maintainer-clean-gprof
10429 maintainer-clean-gprof:
10430 @[ -f ./gprof/Makefile ] || exit 0; \
10431 r=`${PWD_COMMAND}`; export r; \
10432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10435 for flag in $(EXTRA_HOST_FLAGS) ; do \
10436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10438 echo "Doing maintainer-clean in gprof" ; \
10440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10442 "RANLIB=$${RANLIB}" \
10443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10444 maintainer-clean) \
10450 .PHONY: configure-gzip maybe-configure-gzip
10451 maybe-configure-gzip:
10453 maybe-configure-gzip: configure-gzip
10455 @test ! -f gzip/Makefile || exit 0; \
10456 [ -d gzip ] || mkdir gzip; \
10457 r=`${PWD_COMMAND}`; export r; \
10458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10460 echo Configuring in gzip; \
10461 cd gzip || exit 1; \
10462 case $(srcdir) in \
10464 srcdiroption="--srcdir=."; \
10466 /* | [A-Za-z]:[\\/]*) \
10467 srcdiroption="--srcdir=$(srcdir)/gzip"; \
10468 libsrcdir="$$s/gzip";; \
10470 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
10471 libsrcdir="$$s/gzip";; \
10473 $(SHELL) $${libsrcdir}/configure \
10474 $(HOST_CONFIGARGS) $${srcdiroption} \
10478 .PHONY: all-gzip maybe-all-gzip
10482 maybe-all-gzip: all-gzip
10483 all-gzip: configure-gzip
10484 @r=`${PWD_COMMAND}`; export r; \
10485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10488 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) \
10492 .PHONY: check-gzip maybe-check-gzip
10495 maybe-check-gzip: check-gzip
10498 @r=`${PWD_COMMAND}`; export r; \
10499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10502 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
10506 .PHONY: install-gzip maybe-install-gzip
10507 maybe-install-gzip:
10509 maybe-install-gzip: install-gzip
10511 install-gzip: installdirs
10512 @r=`${PWD_COMMAND}`; export r; \
10513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10516 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
10520 # Other targets (info, dvi, etc.)
10522 .PHONY: maybe-info-gzip info-gzip
10525 maybe-info-gzip: info-gzip
10529 @[ -f ./gzip/Makefile ] || exit 0; \
10530 r=`${PWD_COMMAND}`; export r; \
10531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10534 for flag in $(EXTRA_HOST_FLAGS) ; do \
10535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10537 echo "Doing info in gzip" ; \
10539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10541 "RANLIB=$${RANLIB}" \
10542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10548 .PHONY: maybe-dvi-gzip dvi-gzip
10551 maybe-dvi-gzip: dvi-gzip
10555 @[ -f ./gzip/Makefile ] || exit 0; \
10556 r=`${PWD_COMMAND}`; export r; \
10557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10560 for flag in $(EXTRA_HOST_FLAGS) ; do \
10561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10563 echo "Doing dvi in gzip" ; \
10565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10567 "RANLIB=$${RANLIB}" \
10568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10574 .PHONY: maybe-TAGS-gzip TAGS-gzip
10577 maybe-TAGS-gzip: TAGS-gzip
10581 @[ -f ./gzip/Makefile ] || exit 0; \
10582 r=`${PWD_COMMAND}`; export r; \
10583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10586 for flag in $(EXTRA_HOST_FLAGS) ; do \
10587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10589 echo "Doing TAGS in gzip" ; \
10591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10593 "RANLIB=$${RANLIB}" \
10594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10600 .PHONY: maybe-install-info-gzip install-info-gzip
10601 maybe-install-info-gzip:
10603 maybe-install-info-gzip: install-info-gzip
10605 install-info-gzip: \
10608 @[ -f ./gzip/Makefile ] || exit 0; \
10609 r=`${PWD_COMMAND}`; export r; \
10610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10613 for flag in $(EXTRA_HOST_FLAGS) ; do \
10614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10616 echo "Doing install-info in gzip" ; \
10618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10620 "RANLIB=$${RANLIB}" \
10621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10627 .PHONY: maybe-installcheck-gzip installcheck-gzip
10628 maybe-installcheck-gzip:
10630 maybe-installcheck-gzip: installcheck-gzip
10632 installcheck-gzip: \
10634 @[ -f ./gzip/Makefile ] || exit 0; \
10635 r=`${PWD_COMMAND}`; export r; \
10636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10639 for flag in $(EXTRA_HOST_FLAGS) ; do \
10640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10642 echo "Doing installcheck in gzip" ; \
10644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10646 "RANLIB=$${RANLIB}" \
10647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10653 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
10654 maybe-mostlyclean-gzip:
10656 maybe-mostlyclean-gzip: mostlyclean-gzip
10659 @[ -f ./gzip/Makefile ] || exit 0; \
10660 r=`${PWD_COMMAND}`; export r; \
10661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10664 for flag in $(EXTRA_HOST_FLAGS) ; do \
10665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10667 echo "Doing mostlyclean in gzip" ; \
10669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10671 "RANLIB=$${RANLIB}" \
10672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10678 .PHONY: maybe-clean-gzip clean-gzip
10681 maybe-clean-gzip: clean-gzip
10684 @[ -f ./gzip/Makefile ] || exit 0; \
10685 r=`${PWD_COMMAND}`; export r; \
10686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10689 for flag in $(EXTRA_HOST_FLAGS) ; do \
10690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10692 echo "Doing clean in gzip" ; \
10694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10696 "RANLIB=$${RANLIB}" \
10697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10703 .PHONY: maybe-distclean-gzip distclean-gzip
10704 maybe-distclean-gzip:
10706 maybe-distclean-gzip: distclean-gzip
10709 @[ -f ./gzip/Makefile ] || exit 0; \
10710 r=`${PWD_COMMAND}`; export r; \
10711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10714 for flag in $(EXTRA_HOST_FLAGS) ; do \
10715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10717 echo "Doing distclean in gzip" ; \
10719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10721 "RANLIB=$${RANLIB}" \
10722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10728 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
10729 maybe-maintainer-clean-gzip:
10731 maybe-maintainer-clean-gzip: maintainer-clean-gzip
10733 maintainer-clean-gzip:
10734 @[ -f ./gzip/Makefile ] || exit 0; \
10735 r=`${PWD_COMMAND}`; export r; \
10736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10739 for flag in $(EXTRA_HOST_FLAGS) ; do \
10740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10742 echo "Doing maintainer-clean in gzip" ; \
10744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10746 "RANLIB=$${RANLIB}" \
10747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10748 maintainer-clean) \
10754 .PHONY: configure-hello maybe-configure-hello
10755 maybe-configure-hello:
10757 maybe-configure-hello: configure-hello
10759 @test ! -f hello/Makefile || exit 0; \
10760 [ -d hello ] || mkdir hello; \
10761 r=`${PWD_COMMAND}`; export r; \
10762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10764 echo Configuring in hello; \
10765 cd hello || exit 1; \
10766 case $(srcdir) in \
10768 srcdiroption="--srcdir=."; \
10770 /* | [A-Za-z]:[\\/]*) \
10771 srcdiroption="--srcdir=$(srcdir)/hello"; \
10772 libsrcdir="$$s/hello";; \
10774 srcdiroption="--srcdir=../$(srcdir)/hello"; \
10775 libsrcdir="$$s/hello";; \
10777 $(SHELL) $${libsrcdir}/configure \
10778 $(HOST_CONFIGARGS) $${srcdiroption} \
10782 .PHONY: all-hello maybe-all-hello
10786 maybe-all-hello: all-hello
10787 all-hello: configure-hello
10788 @r=`${PWD_COMMAND}`; export r; \
10789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10792 (cd hello && $(MAKE) $(FLAGS_TO_PASS) \
10796 .PHONY: check-hello maybe-check-hello
10799 maybe-check-hello: check-hello
10802 @r=`${PWD_COMMAND}`; export r; \
10803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10806 (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
10810 .PHONY: install-hello maybe-install-hello
10811 maybe-install-hello:
10813 maybe-install-hello: install-hello
10815 install-hello: installdirs
10816 @r=`${PWD_COMMAND}`; export r; \
10817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10820 (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
10824 # Other targets (info, dvi, etc.)
10826 .PHONY: maybe-info-hello info-hello
10829 maybe-info-hello: info-hello
10833 @[ -f ./hello/Makefile ] || exit 0; \
10834 r=`${PWD_COMMAND}`; export r; \
10835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10838 for flag in $(EXTRA_HOST_FLAGS) ; do \
10839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10841 echo "Doing info in hello" ; \
10843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10845 "RANLIB=$${RANLIB}" \
10846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10852 .PHONY: maybe-dvi-hello dvi-hello
10855 maybe-dvi-hello: dvi-hello
10859 @[ -f ./hello/Makefile ] || exit 0; \
10860 r=`${PWD_COMMAND}`; export r; \
10861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10864 for flag in $(EXTRA_HOST_FLAGS) ; do \
10865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10867 echo "Doing dvi in hello" ; \
10869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10871 "RANLIB=$${RANLIB}" \
10872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10878 .PHONY: maybe-TAGS-hello TAGS-hello
10881 maybe-TAGS-hello: TAGS-hello
10885 @[ -f ./hello/Makefile ] || exit 0; \
10886 r=`${PWD_COMMAND}`; export r; \
10887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10890 for flag in $(EXTRA_HOST_FLAGS) ; do \
10891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10893 echo "Doing TAGS in hello" ; \
10895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10897 "RANLIB=$${RANLIB}" \
10898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10904 .PHONY: maybe-install-info-hello install-info-hello
10905 maybe-install-info-hello:
10907 maybe-install-info-hello: install-info-hello
10909 install-info-hello: \
10912 @[ -f ./hello/Makefile ] || exit 0; \
10913 r=`${PWD_COMMAND}`; export r; \
10914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10917 for flag in $(EXTRA_HOST_FLAGS) ; do \
10918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10920 echo "Doing install-info in hello" ; \
10922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10924 "RANLIB=$${RANLIB}" \
10925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10931 .PHONY: maybe-installcheck-hello installcheck-hello
10932 maybe-installcheck-hello:
10934 maybe-installcheck-hello: installcheck-hello
10936 installcheck-hello: \
10938 @[ -f ./hello/Makefile ] || exit 0; \
10939 r=`${PWD_COMMAND}`; export r; \
10940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10943 for flag in $(EXTRA_HOST_FLAGS) ; do \
10944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10946 echo "Doing installcheck in hello" ; \
10948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10950 "RANLIB=$${RANLIB}" \
10951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10957 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
10958 maybe-mostlyclean-hello:
10960 maybe-mostlyclean-hello: mostlyclean-hello
10963 @[ -f ./hello/Makefile ] || exit 0; \
10964 r=`${PWD_COMMAND}`; export r; \
10965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10968 for flag in $(EXTRA_HOST_FLAGS) ; do \
10969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10971 echo "Doing mostlyclean in hello" ; \
10973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10975 "RANLIB=$${RANLIB}" \
10976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10982 .PHONY: maybe-clean-hello clean-hello
10985 maybe-clean-hello: clean-hello
10988 @[ -f ./hello/Makefile ] || exit 0; \
10989 r=`${PWD_COMMAND}`; export r; \
10990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10993 for flag in $(EXTRA_HOST_FLAGS) ; do \
10994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10996 echo "Doing clean in hello" ; \
10998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11000 "RANLIB=$${RANLIB}" \
11001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11007 .PHONY: maybe-distclean-hello distclean-hello
11008 maybe-distclean-hello:
11010 maybe-distclean-hello: distclean-hello
11013 @[ -f ./hello/Makefile ] || exit 0; \
11014 r=`${PWD_COMMAND}`; export r; \
11015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11018 for flag in $(EXTRA_HOST_FLAGS) ; do \
11019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11021 echo "Doing distclean in hello" ; \
11023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11025 "RANLIB=$${RANLIB}" \
11026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11032 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
11033 maybe-maintainer-clean-hello:
11035 maybe-maintainer-clean-hello: maintainer-clean-hello
11037 maintainer-clean-hello:
11038 @[ -f ./hello/Makefile ] || exit 0; \
11039 r=`${PWD_COMMAND}`; export r; \
11040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11043 for flag in $(EXTRA_HOST_FLAGS) ; do \
11044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11046 echo "Doing maintainer-clean in hello" ; \
11048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11050 "RANLIB=$${RANLIB}" \
11051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11052 maintainer-clean) \
11058 .PHONY: configure-indent maybe-configure-indent
11059 maybe-configure-indent:
11061 maybe-configure-indent: configure-indent
11063 @test ! -f indent/Makefile || exit 0; \
11064 [ -d indent ] || mkdir indent; \
11065 r=`${PWD_COMMAND}`; export r; \
11066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11068 echo Configuring in indent; \
11069 cd indent || exit 1; \
11070 case $(srcdir) in \
11072 srcdiroption="--srcdir=."; \
11074 /* | [A-Za-z]:[\\/]*) \
11075 srcdiroption="--srcdir=$(srcdir)/indent"; \
11076 libsrcdir="$$s/indent";; \
11078 srcdiroption="--srcdir=../$(srcdir)/indent"; \
11079 libsrcdir="$$s/indent";; \
11081 $(SHELL) $${libsrcdir}/configure \
11082 $(HOST_CONFIGARGS) $${srcdiroption} \
11086 .PHONY: all-indent maybe-all-indent
11090 maybe-all-indent: all-indent
11091 all-indent: configure-indent
11092 @r=`${PWD_COMMAND}`; export r; \
11093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11096 (cd indent && $(MAKE) $(FLAGS_TO_PASS) \
11100 .PHONY: check-indent maybe-check-indent
11101 maybe-check-indent:
11103 maybe-check-indent: check-indent
11106 @r=`${PWD_COMMAND}`; export r; \
11107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11110 (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
11114 .PHONY: install-indent maybe-install-indent
11115 maybe-install-indent:
11117 maybe-install-indent: install-indent
11119 install-indent: installdirs
11120 @r=`${PWD_COMMAND}`; export r; \
11121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11124 (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
11128 # Other targets (info, dvi, etc.)
11130 .PHONY: maybe-info-indent info-indent
11133 maybe-info-indent: info-indent
11137 @[ -f ./indent/Makefile ] || exit 0; \
11138 r=`${PWD_COMMAND}`; export r; \
11139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11142 for flag in $(EXTRA_HOST_FLAGS) ; do \
11143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11145 echo "Doing info in indent" ; \
11147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11149 "RANLIB=$${RANLIB}" \
11150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11156 .PHONY: maybe-dvi-indent dvi-indent
11159 maybe-dvi-indent: dvi-indent
11163 @[ -f ./indent/Makefile ] || exit 0; \
11164 r=`${PWD_COMMAND}`; export r; \
11165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11168 for flag in $(EXTRA_HOST_FLAGS) ; do \
11169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11171 echo "Doing dvi in indent" ; \
11173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11175 "RANLIB=$${RANLIB}" \
11176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11182 .PHONY: maybe-TAGS-indent TAGS-indent
11185 maybe-TAGS-indent: TAGS-indent
11189 @[ -f ./indent/Makefile ] || exit 0; \
11190 r=`${PWD_COMMAND}`; export r; \
11191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11194 for flag in $(EXTRA_HOST_FLAGS) ; do \
11195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11197 echo "Doing TAGS in indent" ; \
11199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11201 "RANLIB=$${RANLIB}" \
11202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11208 .PHONY: maybe-install-info-indent install-info-indent
11209 maybe-install-info-indent:
11211 maybe-install-info-indent: install-info-indent
11213 install-info-indent: \
11216 @[ -f ./indent/Makefile ] || exit 0; \
11217 r=`${PWD_COMMAND}`; export r; \
11218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11221 for flag in $(EXTRA_HOST_FLAGS) ; do \
11222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11224 echo "Doing install-info in indent" ; \
11226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11228 "RANLIB=$${RANLIB}" \
11229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11235 .PHONY: maybe-installcheck-indent installcheck-indent
11236 maybe-installcheck-indent:
11238 maybe-installcheck-indent: installcheck-indent
11240 installcheck-indent: \
11242 @[ -f ./indent/Makefile ] || exit 0; \
11243 r=`${PWD_COMMAND}`; export r; \
11244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11247 for flag in $(EXTRA_HOST_FLAGS) ; do \
11248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11250 echo "Doing installcheck in indent" ; \
11252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11254 "RANLIB=$${RANLIB}" \
11255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11261 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
11262 maybe-mostlyclean-indent:
11264 maybe-mostlyclean-indent: mostlyclean-indent
11266 mostlyclean-indent:
11267 @[ -f ./indent/Makefile ] || exit 0; \
11268 r=`${PWD_COMMAND}`; export r; \
11269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11272 for flag in $(EXTRA_HOST_FLAGS) ; do \
11273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11275 echo "Doing mostlyclean in indent" ; \
11277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11279 "RANLIB=$${RANLIB}" \
11280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11286 .PHONY: maybe-clean-indent clean-indent
11287 maybe-clean-indent:
11289 maybe-clean-indent: clean-indent
11292 @[ -f ./indent/Makefile ] || exit 0; \
11293 r=`${PWD_COMMAND}`; export r; \
11294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11297 for flag in $(EXTRA_HOST_FLAGS) ; do \
11298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11300 echo "Doing clean in indent" ; \
11302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11304 "RANLIB=$${RANLIB}" \
11305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11311 .PHONY: maybe-distclean-indent distclean-indent
11312 maybe-distclean-indent:
11314 maybe-distclean-indent: distclean-indent
11317 @[ -f ./indent/Makefile ] || exit 0; \
11318 r=`${PWD_COMMAND}`; export r; \
11319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11322 for flag in $(EXTRA_HOST_FLAGS) ; do \
11323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11325 echo "Doing distclean in indent" ; \
11327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11329 "RANLIB=$${RANLIB}" \
11330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11336 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
11337 maybe-maintainer-clean-indent:
11339 maybe-maintainer-clean-indent: maintainer-clean-indent
11341 maintainer-clean-indent:
11342 @[ -f ./indent/Makefile ] || exit 0; \
11343 r=`${PWD_COMMAND}`; export r; \
11344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11347 for flag in $(EXTRA_HOST_FLAGS) ; do \
11348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11350 echo "Doing maintainer-clean in indent" ; \
11352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11354 "RANLIB=$${RANLIB}" \
11355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11356 maintainer-clean) \
11362 .PHONY: configure-intl maybe-configure-intl
11363 maybe-configure-intl:
11365 maybe-configure-intl: configure-intl
11367 @test -f stage_last && exit 0; \
11368 test ! -f intl/Makefile || exit 0; \
11369 [ -d intl ] || mkdir intl; \
11370 r=`${PWD_COMMAND}`; export r; \
11371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11373 echo Configuring in intl; \
11374 cd intl || exit 1; \
11375 case $(srcdir) in \
11377 srcdiroption="--srcdir=."; \
11379 /* | [A-Za-z]:[\\/]*) \
11380 srcdiroption="--srcdir=$(srcdir)/intl"; \
11381 libsrcdir="$$s/intl";; \
11383 srcdiroption="--srcdir=../$(srcdir)/intl"; \
11384 libsrcdir="$$s/intl";; \
11386 $(SHELL) $${libsrcdir}/configure \
11387 $(HOST_CONFIGARGS) $${srcdiroption} \
11391 .PHONY: all-intl maybe-all-intl
11395 maybe-all-intl: all-intl
11396 all-intl: configure-intl
11397 @test -f stage_last && exit 0; \
11398 r=`${PWD_COMMAND}`; export r; \
11399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11402 (cd intl && $(MAKE) $(FLAGS_TO_PASS) \
11406 .PHONY: check-intl maybe-check-intl
11409 maybe-check-intl: check-intl
11412 @r=`${PWD_COMMAND}`; export r; \
11413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11416 (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
11420 .PHONY: install-intl maybe-install-intl
11421 maybe-install-intl:
11423 maybe-install-intl: install-intl
11425 install-intl: installdirs
11426 @r=`${PWD_COMMAND}`; export r; \
11427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11430 (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
11434 # Other targets (info, dvi, etc.)
11436 .PHONY: maybe-info-intl info-intl
11439 maybe-info-intl: info-intl
11443 @[ -f ./intl/Makefile ] || exit 0; \
11444 r=`${PWD_COMMAND}`; export r; \
11445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11448 for flag in $(EXTRA_HOST_FLAGS) ; do \
11449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11451 echo "Doing info in intl" ; \
11453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11455 "RANLIB=$${RANLIB}" \
11456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11462 .PHONY: maybe-dvi-intl dvi-intl
11465 maybe-dvi-intl: dvi-intl
11469 @[ -f ./intl/Makefile ] || exit 0; \
11470 r=`${PWD_COMMAND}`; export r; \
11471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11474 for flag in $(EXTRA_HOST_FLAGS) ; do \
11475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11477 echo "Doing dvi in intl" ; \
11479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11481 "RANLIB=$${RANLIB}" \
11482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11488 .PHONY: maybe-TAGS-intl TAGS-intl
11491 maybe-TAGS-intl: TAGS-intl
11495 @[ -f ./intl/Makefile ] || exit 0; \
11496 r=`${PWD_COMMAND}`; export r; \
11497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11500 for flag in $(EXTRA_HOST_FLAGS) ; do \
11501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11503 echo "Doing TAGS in intl" ; \
11505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11507 "RANLIB=$${RANLIB}" \
11508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11514 .PHONY: maybe-install-info-intl install-info-intl
11515 maybe-install-info-intl:
11517 maybe-install-info-intl: install-info-intl
11519 install-info-intl: \
11522 @[ -f ./intl/Makefile ] || exit 0; \
11523 r=`${PWD_COMMAND}`; export r; \
11524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11527 for flag in $(EXTRA_HOST_FLAGS) ; do \
11528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11530 echo "Doing install-info in intl" ; \
11532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11534 "RANLIB=$${RANLIB}" \
11535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11541 .PHONY: maybe-installcheck-intl installcheck-intl
11542 maybe-installcheck-intl:
11544 maybe-installcheck-intl: installcheck-intl
11546 installcheck-intl: \
11548 @[ -f ./intl/Makefile ] || exit 0; \
11549 r=`${PWD_COMMAND}`; export r; \
11550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11553 for flag in $(EXTRA_HOST_FLAGS) ; do \
11554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11556 echo "Doing installcheck in intl" ; \
11558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11560 "RANLIB=$${RANLIB}" \
11561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11567 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
11568 maybe-mostlyclean-intl:
11570 maybe-mostlyclean-intl: mostlyclean-intl
11573 @[ -f ./intl/Makefile ] || exit 0; \
11574 r=`${PWD_COMMAND}`; export r; \
11575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11578 for flag in $(EXTRA_HOST_FLAGS) ; do \
11579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11581 echo "Doing mostlyclean in intl" ; \
11583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11585 "RANLIB=$${RANLIB}" \
11586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11592 .PHONY: maybe-clean-intl clean-intl
11595 maybe-clean-intl: clean-intl
11598 @[ -f ./intl/Makefile ] || exit 0; \
11599 r=`${PWD_COMMAND}`; export r; \
11600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11603 for flag in $(EXTRA_HOST_FLAGS) ; do \
11604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11606 echo "Doing clean in intl" ; \
11608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11610 "RANLIB=$${RANLIB}" \
11611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11617 .PHONY: maybe-distclean-intl distclean-intl
11618 maybe-distclean-intl:
11620 maybe-distclean-intl: distclean-intl
11623 @[ -f ./intl/Makefile ] || exit 0; \
11624 r=`${PWD_COMMAND}`; export r; \
11625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11628 for flag in $(EXTRA_HOST_FLAGS) ; do \
11629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11631 echo "Doing distclean in intl" ; \
11633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11635 "RANLIB=$${RANLIB}" \
11636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11642 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
11643 maybe-maintainer-clean-intl:
11645 maybe-maintainer-clean-intl: maintainer-clean-intl
11647 maintainer-clean-intl:
11648 @[ -f ./intl/Makefile ] || exit 0; \
11649 r=`${PWD_COMMAND}`; export r; \
11650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11653 for flag in $(EXTRA_HOST_FLAGS) ; do \
11654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11656 echo "Doing maintainer-clean in intl" ; \
11658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11660 "RANLIB=$${RANLIB}" \
11661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11662 maintainer-clean) \
11668 .PHONY: configure-tcl maybe-configure-tcl
11669 maybe-configure-tcl:
11671 maybe-configure-tcl: configure-tcl
11673 @test ! -f tcl/Makefile || exit 0; \
11674 [ -d tcl ] || mkdir tcl; \
11675 r=`${PWD_COMMAND}`; export r; \
11676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11678 echo Configuring in tcl; \
11679 cd tcl || exit 1; \
11680 case $(srcdir) in \
11682 srcdiroption="--srcdir=."; \
11684 /* | [A-Za-z]:[\\/]*) \
11685 srcdiroption="--srcdir=$(srcdir)/tcl"; \
11686 libsrcdir="$$s/tcl";; \
11688 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
11689 libsrcdir="$$s/tcl";; \
11691 $(SHELL) $${libsrcdir}/configure \
11692 $(HOST_CONFIGARGS) $${srcdiroption} \
11696 .PHONY: all-tcl maybe-all-tcl
11700 maybe-all-tcl: all-tcl
11701 all-tcl: configure-tcl
11702 @r=`${PWD_COMMAND}`; export r; \
11703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11706 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) \
11710 .PHONY: check-tcl maybe-check-tcl
11713 maybe-check-tcl: check-tcl
11716 @r=`${PWD_COMMAND}`; export r; \
11717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11720 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
11724 .PHONY: install-tcl maybe-install-tcl
11727 maybe-install-tcl: install-tcl
11729 install-tcl: installdirs
11730 @r=`${PWD_COMMAND}`; export r; \
11731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11734 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
11738 # Other targets (info, dvi, etc.)
11740 .PHONY: maybe-info-tcl info-tcl
11743 maybe-info-tcl: info-tcl
11747 @[ -f ./tcl/Makefile ] || exit 0; \
11748 r=`${PWD_COMMAND}`; export r; \
11749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11752 for flag in $(EXTRA_HOST_FLAGS) ; do \
11753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11755 echo "Doing info in tcl" ; \
11757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11759 "RANLIB=$${RANLIB}" \
11760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11766 .PHONY: maybe-dvi-tcl dvi-tcl
11769 maybe-dvi-tcl: dvi-tcl
11773 @[ -f ./tcl/Makefile ] || exit 0; \
11774 r=`${PWD_COMMAND}`; export r; \
11775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11778 for flag in $(EXTRA_HOST_FLAGS) ; do \
11779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11781 echo "Doing dvi in tcl" ; \
11783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11785 "RANLIB=$${RANLIB}" \
11786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11792 .PHONY: maybe-TAGS-tcl TAGS-tcl
11795 maybe-TAGS-tcl: TAGS-tcl
11799 @[ -f ./tcl/Makefile ] || exit 0; \
11800 r=`${PWD_COMMAND}`; export r; \
11801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11804 for flag in $(EXTRA_HOST_FLAGS) ; do \
11805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11807 echo "Doing TAGS in tcl" ; \
11809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11811 "RANLIB=$${RANLIB}" \
11812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11818 .PHONY: maybe-install-info-tcl install-info-tcl
11819 maybe-install-info-tcl:
11821 maybe-install-info-tcl: install-info-tcl
11823 install-info-tcl: \
11826 @[ -f ./tcl/Makefile ] || exit 0; \
11827 r=`${PWD_COMMAND}`; export r; \
11828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11831 for flag in $(EXTRA_HOST_FLAGS) ; do \
11832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11834 echo "Doing install-info in tcl" ; \
11836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11838 "RANLIB=$${RANLIB}" \
11839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11845 .PHONY: maybe-installcheck-tcl installcheck-tcl
11846 maybe-installcheck-tcl:
11848 maybe-installcheck-tcl: installcheck-tcl
11850 installcheck-tcl: \
11852 @[ -f ./tcl/Makefile ] || exit 0; \
11853 r=`${PWD_COMMAND}`; export r; \
11854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11857 for flag in $(EXTRA_HOST_FLAGS) ; do \
11858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11860 echo "Doing installcheck in tcl" ; \
11862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11864 "RANLIB=$${RANLIB}" \
11865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11871 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
11872 maybe-mostlyclean-tcl:
11874 maybe-mostlyclean-tcl: mostlyclean-tcl
11876 # tcl doesn't support mostlyclean.
11881 .PHONY: maybe-clean-tcl clean-tcl
11884 maybe-clean-tcl: clean-tcl
11887 @[ -f ./tcl/Makefile ] || exit 0; \
11888 r=`${PWD_COMMAND}`; export r; \
11889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11892 for flag in $(EXTRA_HOST_FLAGS) ; do \
11893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11895 echo "Doing clean in tcl" ; \
11897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11899 "RANLIB=$${RANLIB}" \
11900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11906 .PHONY: maybe-distclean-tcl distclean-tcl
11907 maybe-distclean-tcl:
11909 maybe-distclean-tcl: distclean-tcl
11912 @[ -f ./tcl/Makefile ] || exit 0; \
11913 r=`${PWD_COMMAND}`; export r; \
11914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11917 for flag in $(EXTRA_HOST_FLAGS) ; do \
11918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11920 echo "Doing distclean in tcl" ; \
11922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11924 "RANLIB=$${RANLIB}" \
11925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11931 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
11932 maybe-maintainer-clean-tcl:
11934 maybe-maintainer-clean-tcl: maintainer-clean-tcl
11936 maintainer-clean-tcl:
11937 @[ -f ./tcl/Makefile ] || exit 0; \
11938 r=`${PWD_COMMAND}`; export r; \
11939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11942 for flag in $(EXTRA_HOST_FLAGS) ; do \
11943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11945 echo "Doing maintainer-clean in tcl" ; \
11947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11949 "RANLIB=$${RANLIB}" \
11950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11951 maintainer-clean) \
11957 .PHONY: configure-itcl maybe-configure-itcl
11958 maybe-configure-itcl:
11960 maybe-configure-itcl: configure-itcl
11962 @test ! -f itcl/Makefile || exit 0; \
11963 [ -d itcl ] || mkdir itcl; \
11964 r=`${PWD_COMMAND}`; export r; \
11965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11967 echo Configuring in itcl; \
11968 cd itcl || exit 1; \
11969 case $(srcdir) in \
11971 srcdiroption="--srcdir=."; \
11973 /* | [A-Za-z]:[\\/]*) \
11974 srcdiroption="--srcdir=$(srcdir)/itcl"; \
11975 libsrcdir="$$s/itcl";; \
11977 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
11978 libsrcdir="$$s/itcl";; \
11980 $(SHELL) $${libsrcdir}/configure \
11981 $(HOST_CONFIGARGS) $${srcdiroption} \
11985 .PHONY: all-itcl maybe-all-itcl
11989 maybe-all-itcl: all-itcl
11990 all-itcl: configure-itcl
11991 @r=`${PWD_COMMAND}`; export r; \
11992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11995 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) \
11999 .PHONY: check-itcl maybe-check-itcl
12002 maybe-check-itcl: check-itcl
12005 @r=`${PWD_COMMAND}`; export r; \
12006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12009 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
12013 .PHONY: install-itcl maybe-install-itcl
12014 maybe-install-itcl:
12016 maybe-install-itcl: install-itcl
12018 install-itcl: installdirs
12019 @r=`${PWD_COMMAND}`; export r; \
12020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12023 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
12027 # Other targets (info, dvi, etc.)
12029 .PHONY: maybe-info-itcl info-itcl
12032 maybe-info-itcl: info-itcl
12036 @[ -f ./itcl/Makefile ] || exit 0; \
12037 r=`${PWD_COMMAND}`; export r; \
12038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12041 for flag in $(EXTRA_HOST_FLAGS) ; do \
12042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12044 echo "Doing info in itcl" ; \
12046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12048 "RANLIB=$${RANLIB}" \
12049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12055 .PHONY: maybe-dvi-itcl dvi-itcl
12058 maybe-dvi-itcl: dvi-itcl
12062 @[ -f ./itcl/Makefile ] || exit 0; \
12063 r=`${PWD_COMMAND}`; export r; \
12064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12067 for flag in $(EXTRA_HOST_FLAGS) ; do \
12068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12070 echo "Doing dvi in itcl" ; \
12072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12074 "RANLIB=$${RANLIB}" \
12075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12081 .PHONY: maybe-TAGS-itcl TAGS-itcl
12084 maybe-TAGS-itcl: TAGS-itcl
12088 @[ -f ./itcl/Makefile ] || exit 0; \
12089 r=`${PWD_COMMAND}`; export r; \
12090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12093 for flag in $(EXTRA_HOST_FLAGS) ; do \
12094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12096 echo "Doing TAGS in itcl" ; \
12098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12100 "RANLIB=$${RANLIB}" \
12101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12107 .PHONY: maybe-install-info-itcl install-info-itcl
12108 maybe-install-info-itcl:
12110 maybe-install-info-itcl: install-info-itcl
12112 install-info-itcl: \
12115 @[ -f ./itcl/Makefile ] || exit 0; \
12116 r=`${PWD_COMMAND}`; export r; \
12117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12120 for flag in $(EXTRA_HOST_FLAGS) ; do \
12121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12123 echo "Doing install-info in itcl" ; \
12125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12127 "RANLIB=$${RANLIB}" \
12128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12134 .PHONY: maybe-installcheck-itcl installcheck-itcl
12135 maybe-installcheck-itcl:
12137 maybe-installcheck-itcl: installcheck-itcl
12139 installcheck-itcl: \
12141 @[ -f ./itcl/Makefile ] || exit 0; \
12142 r=`${PWD_COMMAND}`; export r; \
12143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12146 for flag in $(EXTRA_HOST_FLAGS) ; do \
12147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12149 echo "Doing installcheck in itcl" ; \
12151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12153 "RANLIB=$${RANLIB}" \
12154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12160 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
12161 maybe-mostlyclean-itcl:
12163 maybe-mostlyclean-itcl: mostlyclean-itcl
12166 @[ -f ./itcl/Makefile ] || exit 0; \
12167 r=`${PWD_COMMAND}`; export r; \
12168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12171 for flag in $(EXTRA_HOST_FLAGS) ; do \
12172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12174 echo "Doing mostlyclean in itcl" ; \
12176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12178 "RANLIB=$${RANLIB}" \
12179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12185 .PHONY: maybe-clean-itcl clean-itcl
12188 maybe-clean-itcl: clean-itcl
12191 @[ -f ./itcl/Makefile ] || exit 0; \
12192 r=`${PWD_COMMAND}`; export r; \
12193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12196 for flag in $(EXTRA_HOST_FLAGS) ; do \
12197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12199 echo "Doing clean in itcl" ; \
12201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12203 "RANLIB=$${RANLIB}" \
12204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12210 .PHONY: maybe-distclean-itcl distclean-itcl
12211 maybe-distclean-itcl:
12213 maybe-distclean-itcl: distclean-itcl
12216 @[ -f ./itcl/Makefile ] || exit 0; \
12217 r=`${PWD_COMMAND}`; export r; \
12218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12221 for flag in $(EXTRA_HOST_FLAGS) ; do \
12222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12224 echo "Doing distclean in itcl" ; \
12226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12228 "RANLIB=$${RANLIB}" \
12229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12235 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
12236 maybe-maintainer-clean-itcl:
12238 maybe-maintainer-clean-itcl: maintainer-clean-itcl
12240 maintainer-clean-itcl:
12241 @[ -f ./itcl/Makefile ] || exit 0; \
12242 r=`${PWD_COMMAND}`; export r; \
12243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12246 for flag in $(EXTRA_HOST_FLAGS) ; do \
12247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12249 echo "Doing maintainer-clean in itcl" ; \
12251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12253 "RANLIB=$${RANLIB}" \
12254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12255 maintainer-clean) \
12261 .PHONY: configure-ld maybe-configure-ld
12262 maybe-configure-ld:
12264 maybe-configure-ld: configure-ld
12266 @test -f stage_last && exit 0; \
12267 test ! -f ld/Makefile || exit 0; \
12268 [ -d ld ] || mkdir ld; \
12269 r=`${PWD_COMMAND}`; export r; \
12270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12272 echo Configuring in ld; \
12274 case $(srcdir) in \
12276 srcdiroption="--srcdir=."; \
12278 /* | [A-Za-z]:[\\/]*) \
12279 srcdiroption="--srcdir=$(srcdir)/ld"; \
12280 libsrcdir="$$s/ld";; \
12282 srcdiroption="--srcdir=../$(srcdir)/ld"; \
12283 libsrcdir="$$s/ld";; \
12285 $(SHELL) $${libsrcdir}/configure \
12286 $(HOST_CONFIGARGS) $${srcdiroption} \
12290 .PHONY: all-ld maybe-all-ld
12294 maybe-all-ld: all-ld
12295 all-ld: configure-ld
12296 @test -f stage_last && exit 0; \
12297 r=`${PWD_COMMAND}`; export r; \
12298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12301 (cd ld && $(MAKE) $(FLAGS_TO_PASS) \
12305 .PHONY: check-ld maybe-check-ld
12308 maybe-check-ld: check-ld
12311 @r=`${PWD_COMMAND}`; export r; \
12312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12315 (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
12319 .PHONY: install-ld maybe-install-ld
12322 maybe-install-ld: install-ld
12324 install-ld: installdirs
12325 @r=`${PWD_COMMAND}`; export r; \
12326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12329 (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
12333 # Other targets (info, dvi, etc.)
12335 .PHONY: maybe-info-ld info-ld
12338 maybe-info-ld: info-ld
12342 @[ -f ./ld/Makefile ] || exit 0; \
12343 r=`${PWD_COMMAND}`; export r; \
12344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12347 for flag in $(EXTRA_HOST_FLAGS) ; do \
12348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12350 echo "Doing info in ld" ; \
12352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12354 "RANLIB=$${RANLIB}" \
12355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12361 .PHONY: maybe-dvi-ld dvi-ld
12364 maybe-dvi-ld: dvi-ld
12368 @[ -f ./ld/Makefile ] || exit 0; \
12369 r=`${PWD_COMMAND}`; export r; \
12370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12373 for flag in $(EXTRA_HOST_FLAGS) ; do \
12374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12376 echo "Doing dvi in ld" ; \
12378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12380 "RANLIB=$${RANLIB}" \
12381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12387 .PHONY: maybe-TAGS-ld TAGS-ld
12390 maybe-TAGS-ld: TAGS-ld
12394 @[ -f ./ld/Makefile ] || exit 0; \
12395 r=`${PWD_COMMAND}`; export r; \
12396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12399 for flag in $(EXTRA_HOST_FLAGS) ; do \
12400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12402 echo "Doing TAGS in ld" ; \
12404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12406 "RANLIB=$${RANLIB}" \
12407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12413 .PHONY: maybe-install-info-ld install-info-ld
12414 maybe-install-info-ld:
12416 maybe-install-info-ld: install-info-ld
12421 @[ -f ./ld/Makefile ] || exit 0; \
12422 r=`${PWD_COMMAND}`; export r; \
12423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12426 for flag in $(EXTRA_HOST_FLAGS) ; do \
12427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12429 echo "Doing install-info in ld" ; \
12431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12433 "RANLIB=$${RANLIB}" \
12434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12440 .PHONY: maybe-installcheck-ld installcheck-ld
12441 maybe-installcheck-ld:
12443 maybe-installcheck-ld: installcheck-ld
12447 @[ -f ./ld/Makefile ] || exit 0; \
12448 r=`${PWD_COMMAND}`; export r; \
12449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12452 for flag in $(EXTRA_HOST_FLAGS) ; do \
12453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12455 echo "Doing installcheck in ld" ; \
12457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12459 "RANLIB=$${RANLIB}" \
12460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12466 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
12467 maybe-mostlyclean-ld:
12469 maybe-mostlyclean-ld: mostlyclean-ld
12472 @[ -f ./ld/Makefile ] || exit 0; \
12473 r=`${PWD_COMMAND}`; export r; \
12474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12477 for flag in $(EXTRA_HOST_FLAGS) ; do \
12478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12480 echo "Doing mostlyclean in ld" ; \
12482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12484 "RANLIB=$${RANLIB}" \
12485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12491 .PHONY: maybe-clean-ld clean-ld
12494 maybe-clean-ld: clean-ld
12497 @[ -f ./ld/Makefile ] || exit 0; \
12498 r=`${PWD_COMMAND}`; export r; \
12499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12502 for flag in $(EXTRA_HOST_FLAGS) ; do \
12503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12505 echo "Doing clean in ld" ; \
12507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12509 "RANLIB=$${RANLIB}" \
12510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12516 .PHONY: maybe-distclean-ld distclean-ld
12517 maybe-distclean-ld:
12519 maybe-distclean-ld: distclean-ld
12522 @[ -f ./ld/Makefile ] || exit 0; \
12523 r=`${PWD_COMMAND}`; export r; \
12524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12527 for flag in $(EXTRA_HOST_FLAGS) ; do \
12528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12530 echo "Doing distclean in ld" ; \
12532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12534 "RANLIB=$${RANLIB}" \
12535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12541 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
12542 maybe-maintainer-clean-ld:
12544 maybe-maintainer-clean-ld: maintainer-clean-ld
12546 maintainer-clean-ld:
12547 @[ -f ./ld/Makefile ] || exit 0; \
12548 r=`${PWD_COMMAND}`; export r; \
12549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12552 for flag in $(EXTRA_HOST_FLAGS) ; do \
12553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12555 echo "Doing maintainer-clean in ld" ; \
12557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12559 "RANLIB=$${RANLIB}" \
12560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12561 maintainer-clean) \
12567 .PHONY: configure-libcpp maybe-configure-libcpp
12568 maybe-configure-libcpp:
12570 maybe-configure-libcpp: configure-libcpp
12572 @test -f stage_last && exit 0; \
12573 test ! -f libcpp/Makefile || exit 0; \
12574 [ -d libcpp ] || mkdir libcpp; \
12575 r=`${PWD_COMMAND}`; export r; \
12576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12578 echo Configuring in libcpp; \
12579 cd libcpp || exit 1; \
12580 case $(srcdir) in \
12582 srcdiroption="--srcdir=."; \
12584 /* | [A-Za-z]:[\\/]*) \
12585 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
12586 libsrcdir="$$s/libcpp";; \
12588 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
12589 libsrcdir="$$s/libcpp";; \
12591 $(SHELL) $${libsrcdir}/configure \
12592 $(HOST_CONFIGARGS) $${srcdiroption} \
12596 .PHONY: all-libcpp maybe-all-libcpp
12600 maybe-all-libcpp: all-libcpp
12601 all-libcpp: configure-libcpp
12602 @test -f stage_last && exit 0; \
12603 r=`${PWD_COMMAND}`; export r; \
12604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12607 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) \
12611 .PHONY: check-libcpp maybe-check-libcpp
12612 maybe-check-libcpp:
12614 maybe-check-libcpp: check-libcpp
12617 @r=`${PWD_COMMAND}`; export r; \
12618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12621 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) check)
12625 .PHONY: install-libcpp maybe-install-libcpp
12626 maybe-install-libcpp:
12628 maybe-install-libcpp: install-libcpp
12630 install-libcpp: installdirs
12631 @r=`${PWD_COMMAND}`; export r; \
12632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12635 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) install)
12639 # Other targets (info, dvi, etc.)
12641 .PHONY: maybe-info-libcpp info-libcpp
12644 maybe-info-libcpp: info-libcpp
12648 @[ -f ./libcpp/Makefile ] || exit 0; \
12649 r=`${PWD_COMMAND}`; export r; \
12650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12653 for flag in $(EXTRA_HOST_FLAGS) ; do \
12654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12656 echo "Doing info in libcpp" ; \
12658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12660 "RANLIB=$${RANLIB}" \
12661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12667 .PHONY: maybe-dvi-libcpp dvi-libcpp
12670 maybe-dvi-libcpp: dvi-libcpp
12674 @[ -f ./libcpp/Makefile ] || exit 0; \
12675 r=`${PWD_COMMAND}`; export r; \
12676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12679 for flag in $(EXTRA_HOST_FLAGS) ; do \
12680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12682 echo "Doing dvi in libcpp" ; \
12684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12686 "RANLIB=$${RANLIB}" \
12687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12693 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
12696 maybe-TAGS-libcpp: TAGS-libcpp
12700 @[ -f ./libcpp/Makefile ] || exit 0; \
12701 r=`${PWD_COMMAND}`; export r; \
12702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12705 for flag in $(EXTRA_HOST_FLAGS) ; do \
12706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12708 echo "Doing TAGS in libcpp" ; \
12710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12712 "RANLIB=$${RANLIB}" \
12713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12719 .PHONY: maybe-install-info-libcpp install-info-libcpp
12720 maybe-install-info-libcpp:
12722 maybe-install-info-libcpp: install-info-libcpp
12724 install-info-libcpp: \
12727 @[ -f ./libcpp/Makefile ] || exit 0; \
12728 r=`${PWD_COMMAND}`; export r; \
12729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12732 for flag in $(EXTRA_HOST_FLAGS) ; do \
12733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12735 echo "Doing install-info in libcpp" ; \
12737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12739 "RANLIB=$${RANLIB}" \
12740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12746 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
12747 maybe-installcheck-libcpp:
12749 maybe-installcheck-libcpp: installcheck-libcpp
12751 installcheck-libcpp: \
12753 @[ -f ./libcpp/Makefile ] || exit 0; \
12754 r=`${PWD_COMMAND}`; export r; \
12755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12758 for flag in $(EXTRA_HOST_FLAGS) ; do \
12759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12761 echo "Doing installcheck in libcpp" ; \
12763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12765 "RANLIB=$${RANLIB}" \
12766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12772 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
12773 maybe-mostlyclean-libcpp:
12775 maybe-mostlyclean-libcpp: mostlyclean-libcpp
12777 mostlyclean-libcpp:
12778 @[ -f ./libcpp/Makefile ] || exit 0; \
12779 r=`${PWD_COMMAND}`; export r; \
12780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12783 for flag in $(EXTRA_HOST_FLAGS) ; do \
12784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12786 echo "Doing mostlyclean in libcpp" ; \
12788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12790 "RANLIB=$${RANLIB}" \
12791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12797 .PHONY: maybe-clean-libcpp clean-libcpp
12798 maybe-clean-libcpp:
12800 maybe-clean-libcpp: clean-libcpp
12803 @[ -f ./libcpp/Makefile ] || exit 0; \
12804 r=`${PWD_COMMAND}`; export r; \
12805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12808 for flag in $(EXTRA_HOST_FLAGS) ; do \
12809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12811 echo "Doing clean in libcpp" ; \
12813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12815 "RANLIB=$${RANLIB}" \
12816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12822 .PHONY: maybe-distclean-libcpp distclean-libcpp
12823 maybe-distclean-libcpp:
12825 maybe-distclean-libcpp: distclean-libcpp
12828 @[ -f ./libcpp/Makefile ] || exit 0; \
12829 r=`${PWD_COMMAND}`; export r; \
12830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12833 for flag in $(EXTRA_HOST_FLAGS) ; do \
12834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12836 echo "Doing distclean in libcpp" ; \
12838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12840 "RANLIB=$${RANLIB}" \
12841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12847 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
12848 maybe-maintainer-clean-libcpp:
12850 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
12852 maintainer-clean-libcpp:
12853 @[ -f ./libcpp/Makefile ] || exit 0; \
12854 r=`${PWD_COMMAND}`; export r; \
12855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12858 for flag in $(EXTRA_HOST_FLAGS) ; do \
12859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12861 echo "Doing maintainer-clean in libcpp" ; \
12863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12865 "RANLIB=$${RANLIB}" \
12866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12867 maintainer-clean) \
12873 .PHONY: configure-libgui maybe-configure-libgui
12874 maybe-configure-libgui:
12876 maybe-configure-libgui: configure-libgui
12878 @test ! -f libgui/Makefile || exit 0; \
12879 [ -d libgui ] || mkdir libgui; \
12880 r=`${PWD_COMMAND}`; export r; \
12881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12883 echo Configuring in libgui; \
12884 cd libgui || exit 1; \
12885 case $(srcdir) in \
12887 srcdiroption="--srcdir=."; \
12889 /* | [A-Za-z]:[\\/]*) \
12890 srcdiroption="--srcdir=$(srcdir)/libgui"; \
12891 libsrcdir="$$s/libgui";; \
12893 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
12894 libsrcdir="$$s/libgui";; \
12896 $(SHELL) $${libsrcdir}/configure \
12897 $(HOST_CONFIGARGS) $${srcdiroption} \
12901 .PHONY: all-libgui maybe-all-libgui
12905 maybe-all-libgui: all-libgui
12906 all-libgui: configure-libgui
12907 @r=`${PWD_COMMAND}`; export r; \
12908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12911 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) \
12915 .PHONY: check-libgui maybe-check-libgui
12916 maybe-check-libgui:
12918 maybe-check-libgui: check-libgui
12921 @r=`${PWD_COMMAND}`; export r; \
12922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12925 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
12929 .PHONY: install-libgui maybe-install-libgui
12930 maybe-install-libgui:
12932 maybe-install-libgui: install-libgui
12934 install-libgui: installdirs
12935 @r=`${PWD_COMMAND}`; export r; \
12936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12939 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
12943 # Other targets (info, dvi, etc.)
12945 .PHONY: maybe-info-libgui info-libgui
12948 maybe-info-libgui: info-libgui
12952 @[ -f ./libgui/Makefile ] || exit 0; \
12953 r=`${PWD_COMMAND}`; export r; \
12954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12957 for flag in $(EXTRA_HOST_FLAGS) ; do \
12958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12960 echo "Doing info in libgui" ; \
12962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12964 "RANLIB=$${RANLIB}" \
12965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12971 .PHONY: maybe-dvi-libgui dvi-libgui
12974 maybe-dvi-libgui: dvi-libgui
12978 @[ -f ./libgui/Makefile ] || exit 0; \
12979 r=`${PWD_COMMAND}`; export r; \
12980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12983 for flag in $(EXTRA_HOST_FLAGS) ; do \
12984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12986 echo "Doing dvi in libgui" ; \
12988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12990 "RANLIB=$${RANLIB}" \
12991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12997 .PHONY: maybe-TAGS-libgui TAGS-libgui
13000 maybe-TAGS-libgui: TAGS-libgui
13004 @[ -f ./libgui/Makefile ] || exit 0; \
13005 r=`${PWD_COMMAND}`; export r; \
13006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13009 for flag in $(EXTRA_HOST_FLAGS) ; do \
13010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13012 echo "Doing TAGS in libgui" ; \
13014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13016 "RANLIB=$${RANLIB}" \
13017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13023 .PHONY: maybe-install-info-libgui install-info-libgui
13024 maybe-install-info-libgui:
13026 maybe-install-info-libgui: install-info-libgui
13028 install-info-libgui: \
13031 @[ -f ./libgui/Makefile ] || exit 0; \
13032 r=`${PWD_COMMAND}`; export r; \
13033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13036 for flag in $(EXTRA_HOST_FLAGS) ; do \
13037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13039 echo "Doing install-info in libgui" ; \
13041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13043 "RANLIB=$${RANLIB}" \
13044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13050 .PHONY: maybe-installcheck-libgui installcheck-libgui
13051 maybe-installcheck-libgui:
13053 maybe-installcheck-libgui: installcheck-libgui
13055 installcheck-libgui: \
13057 @[ -f ./libgui/Makefile ] || exit 0; \
13058 r=`${PWD_COMMAND}`; export r; \
13059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13062 for flag in $(EXTRA_HOST_FLAGS) ; do \
13063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13065 echo "Doing installcheck in libgui" ; \
13067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13069 "RANLIB=$${RANLIB}" \
13070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13076 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
13077 maybe-mostlyclean-libgui:
13079 maybe-mostlyclean-libgui: mostlyclean-libgui
13081 mostlyclean-libgui:
13082 @[ -f ./libgui/Makefile ] || exit 0; \
13083 r=`${PWD_COMMAND}`; export r; \
13084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13087 for flag in $(EXTRA_HOST_FLAGS) ; do \
13088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13090 echo "Doing mostlyclean in libgui" ; \
13092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13094 "RANLIB=$${RANLIB}" \
13095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13101 .PHONY: maybe-clean-libgui clean-libgui
13102 maybe-clean-libgui:
13104 maybe-clean-libgui: clean-libgui
13107 @[ -f ./libgui/Makefile ] || exit 0; \
13108 r=`${PWD_COMMAND}`; export r; \
13109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13112 for flag in $(EXTRA_HOST_FLAGS) ; do \
13113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13115 echo "Doing clean in libgui" ; \
13117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13119 "RANLIB=$${RANLIB}" \
13120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13126 .PHONY: maybe-distclean-libgui distclean-libgui
13127 maybe-distclean-libgui:
13129 maybe-distclean-libgui: distclean-libgui
13132 @[ -f ./libgui/Makefile ] || exit 0; \
13133 r=`${PWD_COMMAND}`; export r; \
13134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13137 for flag in $(EXTRA_HOST_FLAGS) ; do \
13138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13140 echo "Doing distclean in libgui" ; \
13142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13144 "RANLIB=$${RANLIB}" \
13145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13151 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
13152 maybe-maintainer-clean-libgui:
13154 maybe-maintainer-clean-libgui: maintainer-clean-libgui
13156 maintainer-clean-libgui:
13157 @[ -f ./libgui/Makefile ] || exit 0; \
13158 r=`${PWD_COMMAND}`; export r; \
13159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13162 for flag in $(EXTRA_HOST_FLAGS) ; do \
13163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13165 echo "Doing maintainer-clean in libgui" ; \
13167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13169 "RANLIB=$${RANLIB}" \
13170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13171 maintainer-clean) \
13177 .PHONY: configure-libiberty maybe-configure-libiberty
13178 maybe-configure-libiberty:
13180 maybe-configure-libiberty: configure-libiberty
13181 configure-libiberty:
13182 @test -f stage_last && exit 0; \
13183 test ! -f libiberty/Makefile || exit 0; \
13184 [ -d libiberty ] || mkdir libiberty; \
13185 r=`${PWD_COMMAND}`; export r; \
13186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13188 echo Configuring in libiberty; \
13189 cd libiberty || exit 1; \
13190 case $(srcdir) in \
13192 srcdiroption="--srcdir=."; \
13194 /* | [A-Za-z]:[\\/]*) \
13195 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
13196 libsrcdir="$$s/libiberty";; \
13198 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
13199 libsrcdir="$$s/libiberty";; \
13201 $(SHELL) $${libsrcdir}/configure \
13202 $(HOST_CONFIGARGS) $${srcdiroption} \
13206 .PHONY: all-libiberty maybe-all-libiberty
13207 maybe-all-libiberty:
13209 TARGET-libiberty=all
13210 maybe-all-libiberty: all-libiberty
13211 all-libiberty: configure-libiberty
13212 @test -f stage_last && exit 0; \
13213 r=`${PWD_COMMAND}`; export r; \
13214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13217 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) \
13218 $(TARGET-libiberty))
13221 .PHONY: check-libiberty maybe-check-libiberty
13222 maybe-check-libiberty:
13224 maybe-check-libiberty: check-libiberty
13227 @r=`${PWD_COMMAND}`; export r; \
13228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13231 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
13235 .PHONY: install-libiberty maybe-install-libiberty
13236 maybe-install-libiberty:
13238 maybe-install-libiberty: install-libiberty
13240 install-libiberty: installdirs
13241 @r=`${PWD_COMMAND}`; export r; \
13242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13245 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
13249 # Other targets (info, dvi, etc.)
13251 .PHONY: maybe-info-libiberty info-libiberty
13252 maybe-info-libiberty:
13254 maybe-info-libiberty: info-libiberty
13257 configure-libiberty
13258 @[ -f ./libiberty/Makefile ] || exit 0; \
13259 r=`${PWD_COMMAND}`; export r; \
13260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13263 for flag in $(EXTRA_HOST_FLAGS) ; do \
13264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13266 echo "Doing info in libiberty" ; \
13268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13270 "RANLIB=$${RANLIB}" \
13271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13277 .PHONY: maybe-dvi-libiberty dvi-libiberty
13278 maybe-dvi-libiberty:
13280 maybe-dvi-libiberty: dvi-libiberty
13283 configure-libiberty
13284 @[ -f ./libiberty/Makefile ] || exit 0; \
13285 r=`${PWD_COMMAND}`; export r; \
13286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13289 for flag in $(EXTRA_HOST_FLAGS) ; do \
13290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13292 echo "Doing dvi in libiberty" ; \
13294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13296 "RANLIB=$${RANLIB}" \
13297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13303 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
13304 maybe-TAGS-libiberty:
13306 maybe-TAGS-libiberty: TAGS-libiberty
13309 configure-libiberty
13310 @[ -f ./libiberty/Makefile ] || exit 0; \
13311 r=`${PWD_COMMAND}`; export r; \
13312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13315 for flag in $(EXTRA_HOST_FLAGS) ; do \
13316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13318 echo "Doing TAGS in libiberty" ; \
13320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13322 "RANLIB=$${RANLIB}" \
13323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13329 .PHONY: maybe-install-info-libiberty install-info-libiberty
13330 maybe-install-info-libiberty:
13332 maybe-install-info-libiberty: install-info-libiberty
13334 install-info-libiberty: \
13335 configure-libiberty \
13337 @[ -f ./libiberty/Makefile ] || exit 0; \
13338 r=`${PWD_COMMAND}`; export r; \
13339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13342 for flag in $(EXTRA_HOST_FLAGS) ; do \
13343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13345 echo "Doing install-info in libiberty" ; \
13347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13349 "RANLIB=$${RANLIB}" \
13350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13356 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
13357 maybe-installcheck-libiberty:
13359 maybe-installcheck-libiberty: installcheck-libiberty
13361 installcheck-libiberty: \
13362 configure-libiberty
13363 @[ -f ./libiberty/Makefile ] || exit 0; \
13364 r=`${PWD_COMMAND}`; export r; \
13365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13368 for flag in $(EXTRA_HOST_FLAGS) ; do \
13369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13371 echo "Doing installcheck in libiberty" ; \
13373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13375 "RANLIB=$${RANLIB}" \
13376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13382 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
13383 maybe-mostlyclean-libiberty:
13385 maybe-mostlyclean-libiberty: mostlyclean-libiberty
13387 mostlyclean-libiberty:
13388 @[ -f ./libiberty/Makefile ] || exit 0; \
13389 r=`${PWD_COMMAND}`; export r; \
13390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13393 for flag in $(EXTRA_HOST_FLAGS) ; do \
13394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13396 echo "Doing mostlyclean in libiberty" ; \
13398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13400 "RANLIB=$${RANLIB}" \
13401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13407 .PHONY: maybe-clean-libiberty clean-libiberty
13408 maybe-clean-libiberty:
13410 maybe-clean-libiberty: clean-libiberty
13413 @[ -f ./libiberty/Makefile ] || exit 0; \
13414 r=`${PWD_COMMAND}`; export r; \
13415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13418 for flag in $(EXTRA_HOST_FLAGS) ; do \
13419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13421 echo "Doing clean in libiberty" ; \
13423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13425 "RANLIB=$${RANLIB}" \
13426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13432 .PHONY: maybe-distclean-libiberty distclean-libiberty
13433 maybe-distclean-libiberty:
13435 maybe-distclean-libiberty: distclean-libiberty
13437 distclean-libiberty:
13438 @[ -f ./libiberty/Makefile ] || exit 0; \
13439 r=`${PWD_COMMAND}`; export r; \
13440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13443 for flag in $(EXTRA_HOST_FLAGS) ; do \
13444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13446 echo "Doing distclean in libiberty" ; \
13448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13450 "RANLIB=$${RANLIB}" \
13451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13457 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
13458 maybe-maintainer-clean-libiberty:
13460 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
13462 maintainer-clean-libiberty:
13463 @[ -f ./libiberty/Makefile ] || exit 0; \
13464 r=`${PWD_COMMAND}`; export r; \
13465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13468 for flag in $(EXTRA_HOST_FLAGS) ; do \
13469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13471 echo "Doing maintainer-clean in libiberty" ; \
13473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13475 "RANLIB=$${RANLIB}" \
13476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13477 maintainer-clean) \
13483 .PHONY: configure-libtool maybe-configure-libtool
13484 maybe-configure-libtool:
13486 maybe-configure-libtool: configure-libtool
13488 @test ! -f libtool/Makefile || exit 0; \
13489 [ -d libtool ] || mkdir libtool; \
13490 r=`${PWD_COMMAND}`; export r; \
13491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13493 echo Configuring in libtool; \
13494 cd libtool || exit 1; \
13495 case $(srcdir) in \
13497 srcdiroption="--srcdir=."; \
13499 /* | [A-Za-z]:[\\/]*) \
13500 srcdiroption="--srcdir=$(srcdir)/libtool"; \
13501 libsrcdir="$$s/libtool";; \
13503 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
13504 libsrcdir="$$s/libtool";; \
13506 $(SHELL) $${libsrcdir}/configure \
13507 $(HOST_CONFIGARGS) $${srcdiroption} \
13511 .PHONY: all-libtool maybe-all-libtool
13515 maybe-all-libtool: all-libtool
13516 all-libtool: configure-libtool
13517 @r=`${PWD_COMMAND}`; export r; \
13518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13521 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) \
13525 .PHONY: check-libtool maybe-check-libtool
13526 maybe-check-libtool:
13528 maybe-check-libtool: check-libtool
13531 @r=`${PWD_COMMAND}`; export r; \
13532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13535 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
13539 .PHONY: install-libtool maybe-install-libtool
13540 maybe-install-libtool:
13542 maybe-install-libtool: install-libtool
13544 install-libtool: installdirs
13545 @r=`${PWD_COMMAND}`; export r; \
13546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13549 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
13553 # Other targets (info, dvi, etc.)
13555 .PHONY: maybe-info-libtool info-libtool
13556 maybe-info-libtool:
13558 maybe-info-libtool: info-libtool
13562 @[ -f ./libtool/Makefile ] || exit 0; \
13563 r=`${PWD_COMMAND}`; export r; \
13564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13567 for flag in $(EXTRA_HOST_FLAGS) ; do \
13568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13570 echo "Doing info in libtool" ; \
13572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13574 "RANLIB=$${RANLIB}" \
13575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13581 .PHONY: maybe-dvi-libtool dvi-libtool
13584 maybe-dvi-libtool: dvi-libtool
13588 @[ -f ./libtool/Makefile ] || exit 0; \
13589 r=`${PWD_COMMAND}`; export r; \
13590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13593 for flag in $(EXTRA_HOST_FLAGS) ; do \
13594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13596 echo "Doing dvi in libtool" ; \
13598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13600 "RANLIB=$${RANLIB}" \
13601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13607 .PHONY: maybe-TAGS-libtool TAGS-libtool
13608 maybe-TAGS-libtool:
13610 maybe-TAGS-libtool: TAGS-libtool
13614 @[ -f ./libtool/Makefile ] || exit 0; \
13615 r=`${PWD_COMMAND}`; export r; \
13616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13619 for flag in $(EXTRA_HOST_FLAGS) ; do \
13620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13622 echo "Doing TAGS in libtool" ; \
13624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13626 "RANLIB=$${RANLIB}" \
13627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13633 .PHONY: maybe-install-info-libtool install-info-libtool
13634 maybe-install-info-libtool:
13636 maybe-install-info-libtool: install-info-libtool
13638 install-info-libtool: \
13639 configure-libtool \
13641 @[ -f ./libtool/Makefile ] || exit 0; \
13642 r=`${PWD_COMMAND}`; export r; \
13643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13646 for flag in $(EXTRA_HOST_FLAGS) ; do \
13647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13649 echo "Doing install-info in libtool" ; \
13651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13653 "RANLIB=$${RANLIB}" \
13654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13660 .PHONY: maybe-installcheck-libtool installcheck-libtool
13661 maybe-installcheck-libtool:
13663 maybe-installcheck-libtool: installcheck-libtool
13665 installcheck-libtool: \
13667 @[ -f ./libtool/Makefile ] || exit 0; \
13668 r=`${PWD_COMMAND}`; export r; \
13669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13672 for flag in $(EXTRA_HOST_FLAGS) ; do \
13673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13675 echo "Doing installcheck in libtool" ; \
13677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13679 "RANLIB=$${RANLIB}" \
13680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13686 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
13687 maybe-mostlyclean-libtool:
13689 maybe-mostlyclean-libtool: mostlyclean-libtool
13691 mostlyclean-libtool:
13692 @[ -f ./libtool/Makefile ] || exit 0; \
13693 r=`${PWD_COMMAND}`; export r; \
13694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13697 for flag in $(EXTRA_HOST_FLAGS) ; do \
13698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13700 echo "Doing mostlyclean in libtool" ; \
13702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13704 "RANLIB=$${RANLIB}" \
13705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13711 .PHONY: maybe-clean-libtool clean-libtool
13712 maybe-clean-libtool:
13714 maybe-clean-libtool: clean-libtool
13717 @[ -f ./libtool/Makefile ] || exit 0; \
13718 r=`${PWD_COMMAND}`; export r; \
13719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13722 for flag in $(EXTRA_HOST_FLAGS) ; do \
13723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13725 echo "Doing clean in libtool" ; \
13727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13729 "RANLIB=$${RANLIB}" \
13730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13736 .PHONY: maybe-distclean-libtool distclean-libtool
13737 maybe-distclean-libtool:
13739 maybe-distclean-libtool: distclean-libtool
13742 @[ -f ./libtool/Makefile ] || exit 0; \
13743 r=`${PWD_COMMAND}`; export r; \
13744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13747 for flag in $(EXTRA_HOST_FLAGS) ; do \
13748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13750 echo "Doing distclean in libtool" ; \
13752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13754 "RANLIB=$${RANLIB}" \
13755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13761 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
13762 maybe-maintainer-clean-libtool:
13764 maybe-maintainer-clean-libtool: maintainer-clean-libtool
13766 maintainer-clean-libtool:
13767 @[ -f ./libtool/Makefile ] || exit 0; \
13768 r=`${PWD_COMMAND}`; export r; \
13769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13772 for flag in $(EXTRA_HOST_FLAGS) ; do \
13773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13775 echo "Doing maintainer-clean in libtool" ; \
13777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13779 "RANLIB=$${RANLIB}" \
13780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13781 maintainer-clean) \
13787 .PHONY: configure-m4 maybe-configure-m4
13788 maybe-configure-m4:
13790 maybe-configure-m4: configure-m4
13792 @test ! -f m4/Makefile || exit 0; \
13793 [ -d m4 ] || mkdir m4; \
13794 r=`${PWD_COMMAND}`; export r; \
13795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13797 echo Configuring in m4; \
13799 case $(srcdir) in \
13801 srcdiroption="--srcdir=."; \
13803 /* | [A-Za-z]:[\\/]*) \
13804 srcdiroption="--srcdir=$(srcdir)/m4"; \
13805 libsrcdir="$$s/m4";; \
13807 srcdiroption="--srcdir=../$(srcdir)/m4"; \
13808 libsrcdir="$$s/m4";; \
13810 $(SHELL) $${libsrcdir}/configure \
13811 $(HOST_CONFIGARGS) $${srcdiroption} \
13815 .PHONY: all-m4 maybe-all-m4
13819 maybe-all-m4: all-m4
13820 all-m4: configure-m4
13821 @r=`${PWD_COMMAND}`; export r; \
13822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13825 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) \
13829 .PHONY: check-m4 maybe-check-m4
13832 maybe-check-m4: check-m4
13835 @r=`${PWD_COMMAND}`; export r; \
13836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13839 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
13843 .PHONY: install-m4 maybe-install-m4
13846 maybe-install-m4: install-m4
13848 install-m4: installdirs
13849 @r=`${PWD_COMMAND}`; export r; \
13850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13853 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
13857 # Other targets (info, dvi, etc.)
13859 .PHONY: maybe-info-m4 info-m4
13862 maybe-info-m4: info-m4
13866 @[ -f ./m4/Makefile ] || exit 0; \
13867 r=`${PWD_COMMAND}`; export r; \
13868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13871 for flag in $(EXTRA_HOST_FLAGS) ; do \
13872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13874 echo "Doing info in m4" ; \
13876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13878 "RANLIB=$${RANLIB}" \
13879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13885 .PHONY: maybe-dvi-m4 dvi-m4
13888 maybe-dvi-m4: dvi-m4
13892 @[ -f ./m4/Makefile ] || exit 0; \
13893 r=`${PWD_COMMAND}`; export r; \
13894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13897 for flag in $(EXTRA_HOST_FLAGS) ; do \
13898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13900 echo "Doing dvi in m4" ; \
13902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13904 "RANLIB=$${RANLIB}" \
13905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13911 .PHONY: maybe-TAGS-m4 TAGS-m4
13914 maybe-TAGS-m4: TAGS-m4
13918 @[ -f ./m4/Makefile ] || exit 0; \
13919 r=`${PWD_COMMAND}`; export r; \
13920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13923 for flag in $(EXTRA_HOST_FLAGS) ; do \
13924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13926 echo "Doing TAGS in m4" ; \
13928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13930 "RANLIB=$${RANLIB}" \
13931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13937 .PHONY: maybe-install-info-m4 install-info-m4
13938 maybe-install-info-m4:
13940 maybe-install-info-m4: install-info-m4
13945 @[ -f ./m4/Makefile ] || exit 0; \
13946 r=`${PWD_COMMAND}`; export r; \
13947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13950 for flag in $(EXTRA_HOST_FLAGS) ; do \
13951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13953 echo "Doing install-info in m4" ; \
13955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13957 "RANLIB=$${RANLIB}" \
13958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13964 .PHONY: maybe-installcheck-m4 installcheck-m4
13965 maybe-installcheck-m4:
13967 maybe-installcheck-m4: installcheck-m4
13971 @[ -f ./m4/Makefile ] || exit 0; \
13972 r=`${PWD_COMMAND}`; export r; \
13973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13976 for flag in $(EXTRA_HOST_FLAGS) ; do \
13977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13979 echo "Doing installcheck in m4" ; \
13981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13983 "RANLIB=$${RANLIB}" \
13984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13990 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
13991 maybe-mostlyclean-m4:
13993 maybe-mostlyclean-m4: mostlyclean-m4
13996 @[ -f ./m4/Makefile ] || exit 0; \
13997 r=`${PWD_COMMAND}`; export r; \
13998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14001 for flag in $(EXTRA_HOST_FLAGS) ; do \
14002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14004 echo "Doing mostlyclean in m4" ; \
14006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14008 "RANLIB=$${RANLIB}" \
14009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14015 .PHONY: maybe-clean-m4 clean-m4
14018 maybe-clean-m4: clean-m4
14021 @[ -f ./m4/Makefile ] || exit 0; \
14022 r=`${PWD_COMMAND}`; export r; \
14023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14026 for flag in $(EXTRA_HOST_FLAGS) ; do \
14027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14029 echo "Doing clean in m4" ; \
14031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14033 "RANLIB=$${RANLIB}" \
14034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14040 .PHONY: maybe-distclean-m4 distclean-m4
14041 maybe-distclean-m4:
14043 maybe-distclean-m4: distclean-m4
14046 @[ -f ./m4/Makefile ] || exit 0; \
14047 r=`${PWD_COMMAND}`; export r; \
14048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14051 for flag in $(EXTRA_HOST_FLAGS) ; do \
14052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14054 echo "Doing distclean in m4" ; \
14056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14058 "RANLIB=$${RANLIB}" \
14059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14065 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
14066 maybe-maintainer-clean-m4:
14068 maybe-maintainer-clean-m4: maintainer-clean-m4
14070 maintainer-clean-m4:
14071 @[ -f ./m4/Makefile ] || exit 0; \
14072 r=`${PWD_COMMAND}`; export r; \
14073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14076 for flag in $(EXTRA_HOST_FLAGS) ; do \
14077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14079 echo "Doing maintainer-clean in m4" ; \
14081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14083 "RANLIB=$${RANLIB}" \
14084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14085 maintainer-clean) \
14091 .PHONY: configure-make maybe-configure-make
14092 maybe-configure-make:
14094 maybe-configure-make: configure-make
14096 @test ! -f make/Makefile || exit 0; \
14097 [ -d make ] || mkdir make; \
14098 r=`${PWD_COMMAND}`; export r; \
14099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14101 echo Configuring in make; \
14102 cd make || exit 1; \
14103 case $(srcdir) in \
14105 srcdiroption="--srcdir=."; \
14107 /* | [A-Za-z]:[\\/]*) \
14108 srcdiroption="--srcdir=$(srcdir)/make"; \
14109 libsrcdir="$$s/make";; \
14111 srcdiroption="--srcdir=../$(srcdir)/make"; \
14112 libsrcdir="$$s/make";; \
14114 $(SHELL) $${libsrcdir}/configure \
14115 $(HOST_CONFIGARGS) $${srcdiroption} \
14119 .PHONY: all-make maybe-all-make
14123 maybe-all-make: all-make
14124 all-make: configure-make
14125 @r=`${PWD_COMMAND}`; export r; \
14126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14129 (cd make && $(MAKE) $(FLAGS_TO_PASS) \
14133 .PHONY: check-make maybe-check-make
14136 maybe-check-make: check-make
14139 @r=`${PWD_COMMAND}`; export r; \
14140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14143 (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
14147 .PHONY: install-make maybe-install-make
14148 maybe-install-make:
14150 maybe-install-make: install-make
14152 install-make: installdirs
14153 @r=`${PWD_COMMAND}`; export r; \
14154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14157 (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
14161 # Other targets (info, dvi, etc.)
14163 .PHONY: maybe-info-make info-make
14166 maybe-info-make: info-make
14170 @[ -f ./make/Makefile ] || exit 0; \
14171 r=`${PWD_COMMAND}`; export r; \
14172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14175 for flag in $(EXTRA_HOST_FLAGS) ; do \
14176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14178 echo "Doing info in make" ; \
14180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14182 "RANLIB=$${RANLIB}" \
14183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14189 .PHONY: maybe-dvi-make dvi-make
14192 maybe-dvi-make: dvi-make
14196 @[ -f ./make/Makefile ] || exit 0; \
14197 r=`${PWD_COMMAND}`; export r; \
14198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14201 for flag in $(EXTRA_HOST_FLAGS) ; do \
14202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14204 echo "Doing dvi in make" ; \
14206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14208 "RANLIB=$${RANLIB}" \
14209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14215 .PHONY: maybe-TAGS-make TAGS-make
14218 maybe-TAGS-make: TAGS-make
14222 @[ -f ./make/Makefile ] || exit 0; \
14223 r=`${PWD_COMMAND}`; export r; \
14224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14227 for flag in $(EXTRA_HOST_FLAGS) ; do \
14228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14230 echo "Doing TAGS in make" ; \
14232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14234 "RANLIB=$${RANLIB}" \
14235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14241 .PHONY: maybe-install-info-make install-info-make
14242 maybe-install-info-make:
14244 maybe-install-info-make: install-info-make
14246 install-info-make: \
14249 @[ -f ./make/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 install-info in make" ; \
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-installcheck-make installcheck-make
14269 maybe-installcheck-make:
14271 maybe-installcheck-make: installcheck-make
14273 installcheck-make: \
14275 @[ -f ./make/Makefile ] || exit 0; \
14276 r=`${PWD_COMMAND}`; export r; \
14277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14280 for flag in $(EXTRA_HOST_FLAGS) ; do \
14281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14283 echo "Doing installcheck in make" ; \
14285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14287 "RANLIB=$${RANLIB}" \
14288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14294 .PHONY: maybe-mostlyclean-make mostlyclean-make
14295 maybe-mostlyclean-make:
14297 maybe-mostlyclean-make: mostlyclean-make
14300 @[ -f ./make/Makefile ] || exit 0; \
14301 r=`${PWD_COMMAND}`; export r; \
14302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14305 for flag in $(EXTRA_HOST_FLAGS) ; do \
14306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14308 echo "Doing mostlyclean in make" ; \
14310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14312 "RANLIB=$${RANLIB}" \
14313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14319 .PHONY: maybe-clean-make clean-make
14322 maybe-clean-make: clean-make
14325 @[ -f ./make/Makefile ] || exit 0; \
14326 r=`${PWD_COMMAND}`; export r; \
14327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14330 for flag in $(EXTRA_HOST_FLAGS) ; do \
14331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14333 echo "Doing clean in make" ; \
14335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14337 "RANLIB=$${RANLIB}" \
14338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14344 .PHONY: maybe-distclean-make distclean-make
14345 maybe-distclean-make:
14347 maybe-distclean-make: distclean-make
14350 @[ -f ./make/Makefile ] || exit 0; \
14351 r=`${PWD_COMMAND}`; export r; \
14352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14355 for flag in $(EXTRA_HOST_FLAGS) ; do \
14356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14358 echo "Doing distclean in make" ; \
14360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14362 "RANLIB=$${RANLIB}" \
14363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14369 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
14370 maybe-maintainer-clean-make:
14372 maybe-maintainer-clean-make: maintainer-clean-make
14374 maintainer-clean-make:
14375 @[ -f ./make/Makefile ] || exit 0; \
14376 r=`${PWD_COMMAND}`; export r; \
14377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14380 for flag in $(EXTRA_HOST_FLAGS) ; do \
14381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14383 echo "Doing maintainer-clean in make" ; \
14385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14387 "RANLIB=$${RANLIB}" \
14388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14389 maintainer-clean) \
14395 .PHONY: configure-mmalloc maybe-configure-mmalloc
14396 maybe-configure-mmalloc:
14398 maybe-configure-mmalloc: configure-mmalloc
14400 @test ! -f mmalloc/Makefile || exit 0; \
14401 [ -d mmalloc ] || mkdir mmalloc; \
14402 r=`${PWD_COMMAND}`; export r; \
14403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14405 echo Configuring in mmalloc; \
14406 cd mmalloc || exit 1; \
14407 case $(srcdir) in \
14409 srcdiroption="--srcdir=."; \
14411 /* | [A-Za-z]:[\\/]*) \
14412 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
14413 libsrcdir="$$s/mmalloc";; \
14415 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
14416 libsrcdir="$$s/mmalloc";; \
14418 $(SHELL) $${libsrcdir}/configure \
14419 $(HOST_CONFIGARGS) $${srcdiroption} \
14423 .PHONY: all-mmalloc maybe-all-mmalloc
14427 maybe-all-mmalloc: all-mmalloc
14428 all-mmalloc: configure-mmalloc
14429 @r=`${PWD_COMMAND}`; export r; \
14430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14433 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) \
14437 .PHONY: check-mmalloc maybe-check-mmalloc
14438 maybe-check-mmalloc:
14440 maybe-check-mmalloc: check-mmalloc
14446 .PHONY: install-mmalloc maybe-install-mmalloc
14447 maybe-install-mmalloc:
14449 maybe-install-mmalloc: install-mmalloc
14451 install-mmalloc: installdirs
14452 @r=`${PWD_COMMAND}`; export r; \
14453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14456 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
14460 # Other targets (info, dvi, etc.)
14462 .PHONY: maybe-info-mmalloc info-mmalloc
14463 maybe-info-mmalloc:
14465 maybe-info-mmalloc: info-mmalloc
14469 @[ -f ./mmalloc/Makefile ] || exit 0; \
14470 r=`${PWD_COMMAND}`; export r; \
14471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14474 for flag in $(EXTRA_HOST_FLAGS) ; do \
14475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14477 echo "Doing info in mmalloc" ; \
14479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14481 "RANLIB=$${RANLIB}" \
14482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14488 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
14491 maybe-dvi-mmalloc: dvi-mmalloc
14495 @[ -f ./mmalloc/Makefile ] || exit 0; \
14496 r=`${PWD_COMMAND}`; export r; \
14497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14500 for flag in $(EXTRA_HOST_FLAGS) ; do \
14501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14503 echo "Doing dvi in mmalloc" ; \
14505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14507 "RANLIB=$${RANLIB}" \
14508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14514 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
14515 maybe-TAGS-mmalloc:
14517 maybe-TAGS-mmalloc: TAGS-mmalloc
14521 @[ -f ./mmalloc/Makefile ] || exit 0; \
14522 r=`${PWD_COMMAND}`; export r; \
14523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14526 for flag in $(EXTRA_HOST_FLAGS) ; do \
14527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14529 echo "Doing TAGS in mmalloc" ; \
14531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14533 "RANLIB=$${RANLIB}" \
14534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14540 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
14541 maybe-install-info-mmalloc:
14543 maybe-install-info-mmalloc: install-info-mmalloc
14545 install-info-mmalloc: \
14546 configure-mmalloc \
14548 @[ -f ./mmalloc/Makefile ] || exit 0; \
14549 r=`${PWD_COMMAND}`; export r; \
14550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14553 for flag in $(EXTRA_HOST_FLAGS) ; do \
14554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14556 echo "Doing install-info in mmalloc" ; \
14558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14560 "RANLIB=$${RANLIB}" \
14561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14567 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
14568 maybe-installcheck-mmalloc:
14570 maybe-installcheck-mmalloc: installcheck-mmalloc
14572 installcheck-mmalloc: \
14574 @[ -f ./mmalloc/Makefile ] || exit 0; \
14575 r=`${PWD_COMMAND}`; export r; \
14576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14579 for flag in $(EXTRA_HOST_FLAGS) ; do \
14580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14582 echo "Doing installcheck in mmalloc" ; \
14584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14586 "RANLIB=$${RANLIB}" \
14587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14593 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
14594 maybe-mostlyclean-mmalloc:
14596 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
14598 mostlyclean-mmalloc:
14599 @[ -f ./mmalloc/Makefile ] || exit 0; \
14600 r=`${PWD_COMMAND}`; export r; \
14601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14604 for flag in $(EXTRA_HOST_FLAGS) ; do \
14605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14607 echo "Doing mostlyclean in mmalloc" ; \
14609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14611 "RANLIB=$${RANLIB}" \
14612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14618 .PHONY: maybe-clean-mmalloc clean-mmalloc
14619 maybe-clean-mmalloc:
14621 maybe-clean-mmalloc: clean-mmalloc
14624 @[ -f ./mmalloc/Makefile ] || exit 0; \
14625 r=`${PWD_COMMAND}`; export r; \
14626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14629 for flag in $(EXTRA_HOST_FLAGS) ; do \
14630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14632 echo "Doing clean in mmalloc" ; \
14634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14636 "RANLIB=$${RANLIB}" \
14637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14643 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
14644 maybe-distclean-mmalloc:
14646 maybe-distclean-mmalloc: distclean-mmalloc
14649 @[ -f ./mmalloc/Makefile ] || exit 0; \
14650 r=`${PWD_COMMAND}`; export r; \
14651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14654 for flag in $(EXTRA_HOST_FLAGS) ; do \
14655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14657 echo "Doing distclean in mmalloc" ; \
14659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14661 "RANLIB=$${RANLIB}" \
14662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14668 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
14669 maybe-maintainer-clean-mmalloc:
14671 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
14673 maintainer-clean-mmalloc:
14674 @[ -f ./mmalloc/Makefile ] || exit 0; \
14675 r=`${PWD_COMMAND}`; export r; \
14676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14679 for flag in $(EXTRA_HOST_FLAGS) ; do \
14680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14682 echo "Doing maintainer-clean in mmalloc" ; \
14684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14686 "RANLIB=$${RANLIB}" \
14687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14688 maintainer-clean) \
14694 .PHONY: configure-patch maybe-configure-patch
14695 maybe-configure-patch:
14697 maybe-configure-patch: configure-patch
14699 @test ! -f patch/Makefile || exit 0; \
14700 [ -d patch ] || mkdir patch; \
14701 r=`${PWD_COMMAND}`; export r; \
14702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14704 echo Configuring in patch; \
14705 cd patch || exit 1; \
14706 case $(srcdir) in \
14708 srcdiroption="--srcdir=."; \
14710 /* | [A-Za-z]:[\\/]*) \
14711 srcdiroption="--srcdir=$(srcdir)/patch"; \
14712 libsrcdir="$$s/patch";; \
14714 srcdiroption="--srcdir=../$(srcdir)/patch"; \
14715 libsrcdir="$$s/patch";; \
14717 $(SHELL) $${libsrcdir}/configure \
14718 $(HOST_CONFIGARGS) $${srcdiroption} \
14722 .PHONY: all-patch maybe-all-patch
14726 maybe-all-patch: all-patch
14727 all-patch: configure-patch
14728 @r=`${PWD_COMMAND}`; export r; \
14729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14732 (cd patch && $(MAKE) $(FLAGS_TO_PASS) \
14736 .PHONY: check-patch maybe-check-patch
14739 maybe-check-patch: check-patch
14742 @r=`${PWD_COMMAND}`; export r; \
14743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14746 (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
14750 .PHONY: install-patch maybe-install-patch
14751 maybe-install-patch:
14753 maybe-install-patch: install-patch
14755 install-patch: installdirs
14756 @r=`${PWD_COMMAND}`; export r; \
14757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14760 (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
14764 # Other targets (info, dvi, etc.)
14766 .PHONY: maybe-info-patch info-patch
14769 maybe-info-patch: info-patch
14773 @[ -f ./patch/Makefile ] || exit 0; \
14774 r=`${PWD_COMMAND}`; export r; \
14775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14778 for flag in $(EXTRA_HOST_FLAGS) ; do \
14779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14781 echo "Doing info in patch" ; \
14783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14785 "RANLIB=$${RANLIB}" \
14786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14792 .PHONY: maybe-dvi-patch dvi-patch
14795 maybe-dvi-patch: dvi-patch
14799 @[ -f ./patch/Makefile ] || exit 0; \
14800 r=`${PWD_COMMAND}`; export r; \
14801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14804 for flag in $(EXTRA_HOST_FLAGS) ; do \
14805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14807 echo "Doing dvi in patch" ; \
14809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14811 "RANLIB=$${RANLIB}" \
14812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14818 .PHONY: maybe-TAGS-patch TAGS-patch
14821 maybe-TAGS-patch: TAGS-patch
14825 @[ -f ./patch/Makefile ] || exit 0; \
14826 r=`${PWD_COMMAND}`; export r; \
14827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14830 for flag in $(EXTRA_HOST_FLAGS) ; do \
14831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14833 echo "Doing TAGS in patch" ; \
14835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14837 "RANLIB=$${RANLIB}" \
14838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14844 .PHONY: maybe-install-info-patch install-info-patch
14845 maybe-install-info-patch:
14847 maybe-install-info-patch: install-info-patch
14849 install-info-patch: \
14852 @[ -f ./patch/Makefile ] || exit 0; \
14853 r=`${PWD_COMMAND}`; export r; \
14854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14857 for flag in $(EXTRA_HOST_FLAGS) ; do \
14858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14860 echo "Doing install-info in patch" ; \
14862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14864 "RANLIB=$${RANLIB}" \
14865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14871 .PHONY: maybe-installcheck-patch installcheck-patch
14872 maybe-installcheck-patch:
14874 maybe-installcheck-patch: installcheck-patch
14876 installcheck-patch: \
14878 @[ -f ./patch/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 installcheck in patch" ; \
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}" \
14897 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
14898 maybe-mostlyclean-patch:
14900 maybe-mostlyclean-patch: mostlyclean-patch
14903 @[ -f ./patch/Makefile ] || exit 0; \
14904 r=`${PWD_COMMAND}`; export r; \
14905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14908 for flag in $(EXTRA_HOST_FLAGS) ; do \
14909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14911 echo "Doing mostlyclean in patch" ; \
14913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14915 "RANLIB=$${RANLIB}" \
14916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14922 .PHONY: maybe-clean-patch clean-patch
14925 maybe-clean-patch: clean-patch
14928 @[ -f ./patch/Makefile ] || exit 0; \
14929 r=`${PWD_COMMAND}`; export r; \
14930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14933 for flag in $(EXTRA_HOST_FLAGS) ; do \
14934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14936 echo "Doing clean in patch" ; \
14938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14940 "RANLIB=$${RANLIB}" \
14941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14947 .PHONY: maybe-distclean-patch distclean-patch
14948 maybe-distclean-patch:
14950 maybe-distclean-patch: distclean-patch
14953 @[ -f ./patch/Makefile ] || exit 0; \
14954 r=`${PWD_COMMAND}`; export r; \
14955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14958 for flag in $(EXTRA_HOST_FLAGS) ; do \
14959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14961 echo "Doing distclean in patch" ; \
14963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14965 "RANLIB=$${RANLIB}" \
14966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14972 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
14973 maybe-maintainer-clean-patch:
14975 maybe-maintainer-clean-patch: maintainer-clean-patch
14977 maintainer-clean-patch:
14978 @[ -f ./patch/Makefile ] || exit 0; \
14979 r=`${PWD_COMMAND}`; export r; \
14980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14983 for flag in $(EXTRA_HOST_FLAGS) ; do \
14984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14986 echo "Doing maintainer-clean in patch" ; \
14988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14990 "RANLIB=$${RANLIB}" \
14991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14992 maintainer-clean) \
14998 .PHONY: configure-perl maybe-configure-perl
14999 maybe-configure-perl:
15001 maybe-configure-perl: configure-perl
15003 @test ! -f perl/Makefile || exit 0; \
15004 [ -d perl ] || mkdir perl; \
15005 r=`${PWD_COMMAND}`; export r; \
15006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15008 echo Configuring in perl; \
15009 cd perl || exit 1; \
15010 case $(srcdir) in \
15012 srcdiroption="--srcdir=."; \
15014 /* | [A-Za-z]:[\\/]*) \
15015 srcdiroption="--srcdir=$(srcdir)/perl"; \
15016 libsrcdir="$$s/perl";; \
15018 srcdiroption="--srcdir=../$(srcdir)/perl"; \
15019 libsrcdir="$$s/perl";; \
15021 $(SHELL) $${libsrcdir}/configure \
15022 $(HOST_CONFIGARGS) $${srcdiroption} \
15026 .PHONY: all-perl maybe-all-perl
15030 maybe-all-perl: all-perl
15031 all-perl: configure-perl
15032 @r=`${PWD_COMMAND}`; export r; \
15033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15036 (cd perl && $(MAKE) $(FLAGS_TO_PASS) \
15040 .PHONY: check-perl maybe-check-perl
15043 maybe-check-perl: check-perl
15046 @r=`${PWD_COMMAND}`; export r; \
15047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15050 (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
15054 .PHONY: install-perl maybe-install-perl
15055 maybe-install-perl:
15057 maybe-install-perl: install-perl
15059 install-perl: installdirs
15060 @r=`${PWD_COMMAND}`; export r; \
15061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15064 (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
15068 # Other targets (info, dvi, etc.)
15070 .PHONY: maybe-info-perl info-perl
15073 maybe-info-perl: info-perl
15077 @[ -f ./perl/Makefile ] || exit 0; \
15078 r=`${PWD_COMMAND}`; export r; \
15079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15082 for flag in $(EXTRA_HOST_FLAGS) ; do \
15083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15085 echo "Doing info in perl" ; \
15087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15089 "RANLIB=$${RANLIB}" \
15090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15096 .PHONY: maybe-dvi-perl dvi-perl
15099 maybe-dvi-perl: dvi-perl
15103 @[ -f ./perl/Makefile ] || exit 0; \
15104 r=`${PWD_COMMAND}`; export r; \
15105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15108 for flag in $(EXTRA_HOST_FLAGS) ; do \
15109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15111 echo "Doing dvi in perl" ; \
15113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15115 "RANLIB=$${RANLIB}" \
15116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15122 .PHONY: maybe-TAGS-perl TAGS-perl
15125 maybe-TAGS-perl: TAGS-perl
15129 @[ -f ./perl/Makefile ] || exit 0; \
15130 r=`${PWD_COMMAND}`; export r; \
15131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15134 for flag in $(EXTRA_HOST_FLAGS) ; do \
15135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15137 echo "Doing TAGS in perl" ; \
15139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15141 "RANLIB=$${RANLIB}" \
15142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15148 .PHONY: maybe-install-info-perl install-info-perl
15149 maybe-install-info-perl:
15151 maybe-install-info-perl: install-info-perl
15153 install-info-perl: \
15156 @[ -f ./perl/Makefile ] || exit 0; \
15157 r=`${PWD_COMMAND}`; export r; \
15158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15161 for flag in $(EXTRA_HOST_FLAGS) ; do \
15162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15164 echo "Doing install-info in perl" ; \
15166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15168 "RANLIB=$${RANLIB}" \
15169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15175 .PHONY: maybe-installcheck-perl installcheck-perl
15176 maybe-installcheck-perl:
15178 maybe-installcheck-perl: installcheck-perl
15180 installcheck-perl: \
15182 @[ -f ./perl/Makefile ] || exit 0; \
15183 r=`${PWD_COMMAND}`; export r; \
15184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15187 for flag in $(EXTRA_HOST_FLAGS) ; do \
15188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15190 echo "Doing installcheck in perl" ; \
15192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15194 "RANLIB=$${RANLIB}" \
15195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15201 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
15202 maybe-mostlyclean-perl:
15204 maybe-mostlyclean-perl: mostlyclean-perl
15207 @[ -f ./perl/Makefile ] || exit 0; \
15208 r=`${PWD_COMMAND}`; export r; \
15209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15212 for flag in $(EXTRA_HOST_FLAGS) ; do \
15213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15215 echo "Doing mostlyclean in perl" ; \
15217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15219 "RANLIB=$${RANLIB}" \
15220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15226 .PHONY: maybe-clean-perl clean-perl
15229 maybe-clean-perl: clean-perl
15232 @[ -f ./perl/Makefile ] || exit 0; \
15233 r=`${PWD_COMMAND}`; export r; \
15234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15237 for flag in $(EXTRA_HOST_FLAGS) ; do \
15238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15240 echo "Doing clean in perl" ; \
15242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15244 "RANLIB=$${RANLIB}" \
15245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15251 .PHONY: maybe-distclean-perl distclean-perl
15252 maybe-distclean-perl:
15254 maybe-distclean-perl: distclean-perl
15257 @[ -f ./perl/Makefile ] || exit 0; \
15258 r=`${PWD_COMMAND}`; export r; \
15259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15262 for flag in $(EXTRA_HOST_FLAGS) ; do \
15263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15265 echo "Doing distclean in perl" ; \
15267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15269 "RANLIB=$${RANLIB}" \
15270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15276 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
15277 maybe-maintainer-clean-perl:
15279 maybe-maintainer-clean-perl: maintainer-clean-perl
15281 maintainer-clean-perl:
15282 @[ -f ./perl/Makefile ] || exit 0; \
15283 r=`${PWD_COMMAND}`; export r; \
15284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15287 for flag in $(EXTRA_HOST_FLAGS) ; do \
15288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15290 echo "Doing maintainer-clean in perl" ; \
15292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15294 "RANLIB=$${RANLIB}" \
15295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15296 maintainer-clean) \
15302 .PHONY: configure-prms maybe-configure-prms
15303 maybe-configure-prms:
15305 maybe-configure-prms: configure-prms
15307 @test ! -f prms/Makefile || exit 0; \
15308 [ -d prms ] || mkdir prms; \
15309 r=`${PWD_COMMAND}`; export r; \
15310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15312 echo Configuring in prms; \
15313 cd prms || exit 1; \
15314 case $(srcdir) in \
15316 srcdiroption="--srcdir=."; \
15318 /* | [A-Za-z]:[\\/]*) \
15319 srcdiroption="--srcdir=$(srcdir)/prms"; \
15320 libsrcdir="$$s/prms";; \
15322 srcdiroption="--srcdir=../$(srcdir)/prms"; \
15323 libsrcdir="$$s/prms";; \
15325 $(SHELL) $${libsrcdir}/configure \
15326 $(HOST_CONFIGARGS) $${srcdiroption} \
15330 .PHONY: all-prms maybe-all-prms
15334 maybe-all-prms: all-prms
15335 all-prms: configure-prms
15336 @r=`${PWD_COMMAND}`; export r; \
15337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15340 (cd prms && $(MAKE) $(FLAGS_TO_PASS) \
15344 .PHONY: check-prms maybe-check-prms
15347 maybe-check-prms: check-prms
15350 @r=`${PWD_COMMAND}`; export r; \
15351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15354 (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
15358 .PHONY: install-prms maybe-install-prms
15359 maybe-install-prms:
15361 maybe-install-prms: install-prms
15363 install-prms: installdirs
15364 @r=`${PWD_COMMAND}`; export r; \
15365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15368 (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
15372 # Other targets (info, dvi, etc.)
15374 .PHONY: maybe-info-prms info-prms
15377 maybe-info-prms: info-prms
15381 @[ -f ./prms/Makefile ] || exit 0; \
15382 r=`${PWD_COMMAND}`; export r; \
15383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15386 for flag in $(EXTRA_HOST_FLAGS) ; do \
15387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15389 echo "Doing info in prms" ; \
15391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15393 "RANLIB=$${RANLIB}" \
15394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15400 .PHONY: maybe-dvi-prms dvi-prms
15403 maybe-dvi-prms: dvi-prms
15407 @[ -f ./prms/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 dvi in prms" ; \
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-TAGS-prms TAGS-prms
15429 maybe-TAGS-prms: TAGS-prms
15433 @[ -f ./prms/Makefile ] || exit 0; \
15434 r=`${PWD_COMMAND}`; export r; \
15435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15438 for flag in $(EXTRA_HOST_FLAGS) ; do \
15439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15441 echo "Doing TAGS in prms" ; \
15443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15445 "RANLIB=$${RANLIB}" \
15446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15452 .PHONY: maybe-install-info-prms install-info-prms
15453 maybe-install-info-prms:
15455 maybe-install-info-prms: install-info-prms
15457 install-info-prms: \
15460 @[ -f ./prms/Makefile ] || exit 0; \
15461 r=`${PWD_COMMAND}`; export r; \
15462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15465 for flag in $(EXTRA_HOST_FLAGS) ; do \
15466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15468 echo "Doing install-info in prms" ; \
15470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15472 "RANLIB=$${RANLIB}" \
15473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15479 .PHONY: maybe-installcheck-prms installcheck-prms
15480 maybe-installcheck-prms:
15482 maybe-installcheck-prms: installcheck-prms
15484 installcheck-prms: \
15486 @[ -f ./prms/Makefile ] || exit 0; \
15487 r=`${PWD_COMMAND}`; export r; \
15488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15491 for flag in $(EXTRA_HOST_FLAGS) ; do \
15492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15494 echo "Doing installcheck in prms" ; \
15496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15498 "RANLIB=$${RANLIB}" \
15499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15505 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
15506 maybe-mostlyclean-prms:
15508 maybe-mostlyclean-prms: mostlyclean-prms
15511 @[ -f ./prms/Makefile ] || exit 0; \
15512 r=`${PWD_COMMAND}`; export r; \
15513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15516 for flag in $(EXTRA_HOST_FLAGS) ; do \
15517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15519 echo "Doing mostlyclean in prms" ; \
15521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15523 "RANLIB=$${RANLIB}" \
15524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15530 .PHONY: maybe-clean-prms clean-prms
15533 maybe-clean-prms: clean-prms
15536 @[ -f ./prms/Makefile ] || exit 0; \
15537 r=`${PWD_COMMAND}`; export r; \
15538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15541 for flag in $(EXTRA_HOST_FLAGS) ; do \
15542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15544 echo "Doing clean in prms" ; \
15546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15548 "RANLIB=$${RANLIB}" \
15549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15555 .PHONY: maybe-distclean-prms distclean-prms
15556 maybe-distclean-prms:
15558 maybe-distclean-prms: distclean-prms
15561 @[ -f ./prms/Makefile ] || exit 0; \
15562 r=`${PWD_COMMAND}`; export r; \
15563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15566 for flag in $(EXTRA_HOST_FLAGS) ; do \
15567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15569 echo "Doing distclean in prms" ; \
15571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15573 "RANLIB=$${RANLIB}" \
15574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15580 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
15581 maybe-maintainer-clean-prms:
15583 maybe-maintainer-clean-prms: maintainer-clean-prms
15585 maintainer-clean-prms:
15586 @[ -f ./prms/Makefile ] || exit 0; \
15587 r=`${PWD_COMMAND}`; export r; \
15588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15591 for flag in $(EXTRA_HOST_FLAGS) ; do \
15592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15594 echo "Doing maintainer-clean in prms" ; \
15596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15598 "RANLIB=$${RANLIB}" \
15599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15600 maintainer-clean) \
15606 .PHONY: configure-rcs maybe-configure-rcs
15607 maybe-configure-rcs:
15609 maybe-configure-rcs: configure-rcs
15611 @test ! -f rcs/Makefile || exit 0; \
15612 [ -d rcs ] || mkdir rcs; \
15613 r=`${PWD_COMMAND}`; export r; \
15614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15616 echo Configuring in rcs; \
15617 cd rcs || exit 1; \
15618 case $(srcdir) in \
15620 srcdiroption="--srcdir=."; \
15622 /* | [A-Za-z]:[\\/]*) \
15623 srcdiroption="--srcdir=$(srcdir)/rcs"; \
15624 libsrcdir="$$s/rcs";; \
15626 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
15627 libsrcdir="$$s/rcs";; \
15629 $(SHELL) $${libsrcdir}/configure \
15630 $(HOST_CONFIGARGS) $${srcdiroption} \
15634 .PHONY: all-rcs maybe-all-rcs
15638 maybe-all-rcs: all-rcs
15639 all-rcs: configure-rcs
15640 @r=`${PWD_COMMAND}`; export r; \
15641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15644 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) \
15648 .PHONY: check-rcs maybe-check-rcs
15651 maybe-check-rcs: check-rcs
15654 @r=`${PWD_COMMAND}`; export r; \
15655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15658 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
15662 .PHONY: install-rcs maybe-install-rcs
15665 maybe-install-rcs: install-rcs
15667 install-rcs: installdirs
15668 @r=`${PWD_COMMAND}`; export r; \
15669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15672 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
15676 # Other targets (info, dvi, etc.)
15678 .PHONY: maybe-info-rcs info-rcs
15681 maybe-info-rcs: info-rcs
15685 @[ -f ./rcs/Makefile ] || exit 0; \
15686 r=`${PWD_COMMAND}`; export r; \
15687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15690 for flag in $(EXTRA_HOST_FLAGS) ; do \
15691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15693 echo "Doing info in rcs" ; \
15695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15697 "RANLIB=$${RANLIB}" \
15698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15704 .PHONY: maybe-dvi-rcs dvi-rcs
15707 maybe-dvi-rcs: dvi-rcs
15711 @[ -f ./rcs/Makefile ] || exit 0; \
15712 r=`${PWD_COMMAND}`; export r; \
15713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15716 for flag in $(EXTRA_HOST_FLAGS) ; do \
15717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15719 echo "Doing dvi in rcs" ; \
15721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15723 "RANLIB=$${RANLIB}" \
15724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15730 .PHONY: maybe-TAGS-rcs TAGS-rcs
15733 maybe-TAGS-rcs: TAGS-rcs
15737 @[ -f ./rcs/Makefile ] || exit 0; \
15738 r=`${PWD_COMMAND}`; export r; \
15739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15742 for flag in $(EXTRA_HOST_FLAGS) ; do \
15743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15745 echo "Doing TAGS in rcs" ; \
15747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15749 "RANLIB=$${RANLIB}" \
15750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15756 .PHONY: maybe-install-info-rcs install-info-rcs
15757 maybe-install-info-rcs:
15759 maybe-install-info-rcs: install-info-rcs
15761 install-info-rcs: \
15764 @[ -f ./rcs/Makefile ] || exit 0; \
15765 r=`${PWD_COMMAND}`; export r; \
15766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15769 for flag in $(EXTRA_HOST_FLAGS) ; do \
15770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15772 echo "Doing install-info in rcs" ; \
15774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15776 "RANLIB=$${RANLIB}" \
15777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15783 .PHONY: maybe-installcheck-rcs installcheck-rcs
15784 maybe-installcheck-rcs:
15786 maybe-installcheck-rcs: installcheck-rcs
15788 installcheck-rcs: \
15790 @[ -f ./rcs/Makefile ] || exit 0; \
15791 r=`${PWD_COMMAND}`; export r; \
15792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15795 for flag in $(EXTRA_HOST_FLAGS) ; do \
15796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15798 echo "Doing installcheck in rcs" ; \
15800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15802 "RANLIB=$${RANLIB}" \
15803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15809 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
15810 maybe-mostlyclean-rcs:
15812 maybe-mostlyclean-rcs: mostlyclean-rcs
15815 @[ -f ./rcs/Makefile ] || exit 0; \
15816 r=`${PWD_COMMAND}`; export r; \
15817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15820 for flag in $(EXTRA_HOST_FLAGS) ; do \
15821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15823 echo "Doing mostlyclean in rcs" ; \
15825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15827 "RANLIB=$${RANLIB}" \
15828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15834 .PHONY: maybe-clean-rcs clean-rcs
15837 maybe-clean-rcs: clean-rcs
15840 @[ -f ./rcs/Makefile ] || exit 0; \
15841 r=`${PWD_COMMAND}`; export r; \
15842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15845 for flag in $(EXTRA_HOST_FLAGS) ; do \
15846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15848 echo "Doing clean in rcs" ; \
15850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15852 "RANLIB=$${RANLIB}" \
15853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15859 .PHONY: maybe-distclean-rcs distclean-rcs
15860 maybe-distclean-rcs:
15862 maybe-distclean-rcs: distclean-rcs
15865 @[ -f ./rcs/Makefile ] || exit 0; \
15866 r=`${PWD_COMMAND}`; export r; \
15867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15870 for flag in $(EXTRA_HOST_FLAGS) ; do \
15871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15873 echo "Doing distclean in rcs" ; \
15875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15877 "RANLIB=$${RANLIB}" \
15878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15884 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
15885 maybe-maintainer-clean-rcs:
15887 maybe-maintainer-clean-rcs: maintainer-clean-rcs
15889 maintainer-clean-rcs:
15890 @[ -f ./rcs/Makefile ] || exit 0; \
15891 r=`${PWD_COMMAND}`; export r; \
15892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15895 for flag in $(EXTRA_HOST_FLAGS) ; do \
15896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15898 echo "Doing maintainer-clean in rcs" ; \
15900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15902 "RANLIB=$${RANLIB}" \
15903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15904 maintainer-clean) \
15910 .PHONY: configure-readline maybe-configure-readline
15911 maybe-configure-readline:
15913 maybe-configure-readline: configure-readline
15914 configure-readline:
15915 @test ! -f readline/Makefile || exit 0; \
15916 [ -d readline ] || mkdir readline; \
15917 r=`${PWD_COMMAND}`; export r; \
15918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15920 echo Configuring in readline; \
15921 cd readline || exit 1; \
15922 case $(srcdir) in \
15924 srcdiroption="--srcdir=."; \
15926 /* | [A-Za-z]:[\\/]*) \
15927 srcdiroption="--srcdir=$(srcdir)/readline"; \
15928 libsrcdir="$$s/readline";; \
15930 srcdiroption="--srcdir=../$(srcdir)/readline"; \
15931 libsrcdir="$$s/readline";; \
15933 $(SHELL) $${libsrcdir}/configure \
15934 $(HOST_CONFIGARGS) $${srcdiroption} \
15938 .PHONY: all-readline maybe-all-readline
15939 maybe-all-readline:
15941 TARGET-readline=all
15942 maybe-all-readline: all-readline
15943 all-readline: configure-readline
15944 @r=`${PWD_COMMAND}`; export r; \
15945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15948 (cd readline && $(MAKE) $(FLAGS_TO_PASS) \
15949 $(TARGET-readline))
15952 .PHONY: check-readline maybe-check-readline
15953 maybe-check-readline:
15955 maybe-check-readline: check-readline
15958 @r=`${PWD_COMMAND}`; export r; \
15959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15962 (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
15966 .PHONY: install-readline maybe-install-readline
15967 maybe-install-readline:
15969 maybe-install-readline: install-readline
15971 install-readline: installdirs
15972 @r=`${PWD_COMMAND}`; export r; \
15973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15976 (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
15980 # Other targets (info, dvi, etc.)
15982 .PHONY: maybe-info-readline info-readline
15983 maybe-info-readline:
15985 maybe-info-readline: info-readline
15989 @[ -f ./readline/Makefile ] || exit 0; \
15990 r=`${PWD_COMMAND}`; export r; \
15991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15994 for flag in $(EXTRA_HOST_FLAGS) ; do \
15995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15997 echo "Doing info in readline" ; \
15999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16001 "RANLIB=$${RANLIB}" \
16002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16008 .PHONY: maybe-dvi-readline dvi-readline
16009 maybe-dvi-readline:
16011 maybe-dvi-readline: dvi-readline
16015 @[ -f ./readline/Makefile ] || exit 0; \
16016 r=`${PWD_COMMAND}`; export r; \
16017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16020 for flag in $(EXTRA_HOST_FLAGS) ; do \
16021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16023 echo "Doing dvi in readline" ; \
16025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16027 "RANLIB=$${RANLIB}" \
16028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16034 .PHONY: maybe-TAGS-readline TAGS-readline
16035 maybe-TAGS-readline:
16037 maybe-TAGS-readline: TAGS-readline
16041 @[ -f ./readline/Makefile ] || exit 0; \
16042 r=`${PWD_COMMAND}`; export r; \
16043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16046 for flag in $(EXTRA_HOST_FLAGS) ; do \
16047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16049 echo "Doing TAGS in readline" ; \
16051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16053 "RANLIB=$${RANLIB}" \
16054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16060 .PHONY: maybe-install-info-readline install-info-readline
16061 maybe-install-info-readline:
16063 maybe-install-info-readline: install-info-readline
16065 install-info-readline: \
16066 configure-readline \
16068 @[ -f ./readline/Makefile ] || exit 0; \
16069 r=`${PWD_COMMAND}`; export r; \
16070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16073 for flag in $(EXTRA_HOST_FLAGS) ; do \
16074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16076 echo "Doing install-info in readline" ; \
16078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16080 "RANLIB=$${RANLIB}" \
16081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16087 .PHONY: maybe-installcheck-readline installcheck-readline
16088 maybe-installcheck-readline:
16090 maybe-installcheck-readline: installcheck-readline
16092 installcheck-readline: \
16094 @[ -f ./readline/Makefile ] || exit 0; \
16095 r=`${PWD_COMMAND}`; export r; \
16096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16099 for flag in $(EXTRA_HOST_FLAGS) ; do \
16100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16102 echo "Doing installcheck in readline" ; \
16104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16106 "RANLIB=$${RANLIB}" \
16107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16113 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
16114 maybe-mostlyclean-readline:
16116 maybe-mostlyclean-readline: mostlyclean-readline
16118 mostlyclean-readline:
16119 @[ -f ./readline/Makefile ] || exit 0; \
16120 r=`${PWD_COMMAND}`; export r; \
16121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16124 for flag in $(EXTRA_HOST_FLAGS) ; do \
16125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16127 echo "Doing mostlyclean in readline" ; \
16129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16131 "RANLIB=$${RANLIB}" \
16132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16138 .PHONY: maybe-clean-readline clean-readline
16139 maybe-clean-readline:
16141 maybe-clean-readline: clean-readline
16144 @[ -f ./readline/Makefile ] || exit 0; \
16145 r=`${PWD_COMMAND}`; export r; \
16146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16149 for flag in $(EXTRA_HOST_FLAGS) ; do \
16150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16152 echo "Doing clean in readline" ; \
16154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16156 "RANLIB=$${RANLIB}" \
16157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16163 .PHONY: maybe-distclean-readline distclean-readline
16164 maybe-distclean-readline:
16166 maybe-distclean-readline: distclean-readline
16168 distclean-readline:
16169 @[ -f ./readline/Makefile ] || exit 0; \
16170 r=`${PWD_COMMAND}`; export r; \
16171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16174 for flag in $(EXTRA_HOST_FLAGS) ; do \
16175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16177 echo "Doing distclean in readline" ; \
16179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16181 "RANLIB=$${RANLIB}" \
16182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16188 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
16189 maybe-maintainer-clean-readline:
16191 maybe-maintainer-clean-readline: maintainer-clean-readline
16193 maintainer-clean-readline:
16194 @[ -f ./readline/Makefile ] || exit 0; \
16195 r=`${PWD_COMMAND}`; export r; \
16196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16199 for flag in $(EXTRA_HOST_FLAGS) ; do \
16200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16202 echo "Doing maintainer-clean in readline" ; \
16204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16206 "RANLIB=$${RANLIB}" \
16207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16208 maintainer-clean) \
16214 .PHONY: configure-release maybe-configure-release
16215 maybe-configure-release:
16217 maybe-configure-release: configure-release
16219 @test ! -f release/Makefile || exit 0; \
16220 [ -d release ] || mkdir release; \
16221 r=`${PWD_COMMAND}`; export r; \
16222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16224 echo Configuring in release; \
16225 cd release || exit 1; \
16226 case $(srcdir) in \
16228 srcdiroption="--srcdir=."; \
16230 /* | [A-Za-z]:[\\/]*) \
16231 srcdiroption="--srcdir=$(srcdir)/release"; \
16232 libsrcdir="$$s/release";; \
16234 srcdiroption="--srcdir=../$(srcdir)/release"; \
16235 libsrcdir="$$s/release";; \
16237 $(SHELL) $${libsrcdir}/configure \
16238 $(HOST_CONFIGARGS) $${srcdiroption} \
16242 .PHONY: all-release maybe-all-release
16246 maybe-all-release: all-release
16247 all-release: configure-release
16248 @r=`${PWD_COMMAND}`; export r; \
16249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16252 (cd release && $(MAKE) $(FLAGS_TO_PASS) \
16256 .PHONY: check-release maybe-check-release
16257 maybe-check-release:
16259 maybe-check-release: check-release
16265 .PHONY: install-release maybe-install-release
16266 maybe-install-release:
16268 maybe-install-release: install-release
16274 # Other targets (info, dvi, etc.)
16276 .PHONY: maybe-info-release info-release
16277 maybe-info-release:
16279 maybe-info-release: info-release
16283 @[ -f ./release/Makefile ] || exit 0; \
16284 r=`${PWD_COMMAND}`; export r; \
16285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16288 for flag in $(EXTRA_HOST_FLAGS) ; do \
16289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16291 echo "Doing info in release" ; \
16293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16295 "RANLIB=$${RANLIB}" \
16296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16302 .PHONY: maybe-dvi-release dvi-release
16305 maybe-dvi-release: dvi-release
16309 @[ -f ./release/Makefile ] || exit 0; \
16310 r=`${PWD_COMMAND}`; export r; \
16311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16314 for flag in $(EXTRA_HOST_FLAGS) ; do \
16315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16317 echo "Doing dvi in release" ; \
16319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16321 "RANLIB=$${RANLIB}" \
16322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16328 .PHONY: maybe-TAGS-release TAGS-release
16329 maybe-TAGS-release:
16331 maybe-TAGS-release: TAGS-release
16335 @[ -f ./release/Makefile ] || exit 0; \
16336 r=`${PWD_COMMAND}`; export r; \
16337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16340 for flag in $(EXTRA_HOST_FLAGS) ; do \
16341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16343 echo "Doing TAGS in release" ; \
16345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16347 "RANLIB=$${RANLIB}" \
16348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16354 .PHONY: maybe-install-info-release install-info-release
16355 maybe-install-info-release:
16357 maybe-install-info-release: install-info-release
16359 install-info-release: \
16360 configure-release \
16362 @[ -f ./release/Makefile ] || exit 0; \
16363 r=`${PWD_COMMAND}`; export r; \
16364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16367 for flag in $(EXTRA_HOST_FLAGS) ; do \
16368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16370 echo "Doing install-info in release" ; \
16372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16374 "RANLIB=$${RANLIB}" \
16375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16381 .PHONY: maybe-installcheck-release installcheck-release
16382 maybe-installcheck-release:
16384 maybe-installcheck-release: installcheck-release
16386 installcheck-release: \
16388 @[ -f ./release/Makefile ] || exit 0; \
16389 r=`${PWD_COMMAND}`; export r; \
16390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16393 for flag in $(EXTRA_HOST_FLAGS) ; do \
16394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16396 echo "Doing installcheck in release" ; \
16398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16400 "RANLIB=$${RANLIB}" \
16401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16407 .PHONY: maybe-mostlyclean-release mostlyclean-release
16408 maybe-mostlyclean-release:
16410 maybe-mostlyclean-release: mostlyclean-release
16412 mostlyclean-release:
16413 @[ -f ./release/Makefile ] || exit 0; \
16414 r=`${PWD_COMMAND}`; export r; \
16415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16418 for flag in $(EXTRA_HOST_FLAGS) ; do \
16419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16421 echo "Doing mostlyclean in release" ; \
16423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16425 "RANLIB=$${RANLIB}" \
16426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16432 .PHONY: maybe-clean-release clean-release
16433 maybe-clean-release:
16435 maybe-clean-release: clean-release
16438 @[ -f ./release/Makefile ] || exit 0; \
16439 r=`${PWD_COMMAND}`; export r; \
16440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16443 for flag in $(EXTRA_HOST_FLAGS) ; do \
16444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16446 echo "Doing clean in release" ; \
16448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16450 "RANLIB=$${RANLIB}" \
16451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16457 .PHONY: maybe-distclean-release distclean-release
16458 maybe-distclean-release:
16460 maybe-distclean-release: distclean-release
16463 @[ -f ./release/Makefile ] || exit 0; \
16464 r=`${PWD_COMMAND}`; export r; \
16465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16468 for flag in $(EXTRA_HOST_FLAGS) ; do \
16469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16471 echo "Doing distclean in release" ; \
16473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16475 "RANLIB=$${RANLIB}" \
16476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16482 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
16483 maybe-maintainer-clean-release:
16485 maybe-maintainer-clean-release: maintainer-clean-release
16487 maintainer-clean-release:
16488 @[ -f ./release/Makefile ] || exit 0; \
16489 r=`${PWD_COMMAND}`; export r; \
16490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16493 for flag in $(EXTRA_HOST_FLAGS) ; do \
16494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16496 echo "Doing maintainer-clean in release" ; \
16498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16500 "RANLIB=$${RANLIB}" \
16501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16502 maintainer-clean) \
16508 .PHONY: configure-recode maybe-configure-recode
16509 maybe-configure-recode:
16511 maybe-configure-recode: configure-recode
16513 @test ! -f recode/Makefile || exit 0; \
16514 [ -d recode ] || mkdir recode; \
16515 r=`${PWD_COMMAND}`; export r; \
16516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16518 echo Configuring in recode; \
16519 cd recode || exit 1; \
16520 case $(srcdir) in \
16522 srcdiroption="--srcdir=."; \
16524 /* | [A-Za-z]:[\\/]*) \
16525 srcdiroption="--srcdir=$(srcdir)/recode"; \
16526 libsrcdir="$$s/recode";; \
16528 srcdiroption="--srcdir=../$(srcdir)/recode"; \
16529 libsrcdir="$$s/recode";; \
16531 $(SHELL) $${libsrcdir}/configure \
16532 $(HOST_CONFIGARGS) $${srcdiroption} \
16536 .PHONY: all-recode maybe-all-recode
16540 maybe-all-recode: all-recode
16541 all-recode: configure-recode
16542 @r=`${PWD_COMMAND}`; export r; \
16543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16546 (cd recode && $(MAKE) $(FLAGS_TO_PASS) \
16550 .PHONY: check-recode maybe-check-recode
16551 maybe-check-recode:
16553 maybe-check-recode: check-recode
16556 @r=`${PWD_COMMAND}`; export r; \
16557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16560 (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
16564 .PHONY: install-recode maybe-install-recode
16565 maybe-install-recode:
16567 maybe-install-recode: install-recode
16569 install-recode: installdirs
16570 @r=`${PWD_COMMAND}`; export r; \
16571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16574 (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
16578 # Other targets (info, dvi, etc.)
16580 .PHONY: maybe-info-recode info-recode
16583 maybe-info-recode: info-recode
16587 @[ -f ./recode/Makefile ] || exit 0; \
16588 r=`${PWD_COMMAND}`; export r; \
16589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16592 for flag in $(EXTRA_HOST_FLAGS) ; do \
16593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16595 echo "Doing info in recode" ; \
16597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16599 "RANLIB=$${RANLIB}" \
16600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16606 .PHONY: maybe-dvi-recode dvi-recode
16609 maybe-dvi-recode: dvi-recode
16613 @[ -f ./recode/Makefile ] || exit 0; \
16614 r=`${PWD_COMMAND}`; export r; \
16615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16618 for flag in $(EXTRA_HOST_FLAGS) ; do \
16619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16621 echo "Doing dvi in recode" ; \
16623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16625 "RANLIB=$${RANLIB}" \
16626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16632 .PHONY: maybe-TAGS-recode TAGS-recode
16635 maybe-TAGS-recode: TAGS-recode
16639 @[ -f ./recode/Makefile ] || exit 0; \
16640 r=`${PWD_COMMAND}`; export r; \
16641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16644 for flag in $(EXTRA_HOST_FLAGS) ; do \
16645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16647 echo "Doing TAGS in recode" ; \
16649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16651 "RANLIB=$${RANLIB}" \
16652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16658 .PHONY: maybe-install-info-recode install-info-recode
16659 maybe-install-info-recode:
16661 maybe-install-info-recode: install-info-recode
16663 install-info-recode: \
16666 @[ -f ./recode/Makefile ] || exit 0; \
16667 r=`${PWD_COMMAND}`; export r; \
16668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16671 for flag in $(EXTRA_HOST_FLAGS) ; do \
16672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16674 echo "Doing install-info in recode" ; \
16676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16678 "RANLIB=$${RANLIB}" \
16679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16685 .PHONY: maybe-installcheck-recode installcheck-recode
16686 maybe-installcheck-recode:
16688 maybe-installcheck-recode: installcheck-recode
16690 installcheck-recode: \
16692 @[ -f ./recode/Makefile ] || exit 0; \
16693 r=`${PWD_COMMAND}`; export r; \
16694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16697 for flag in $(EXTRA_HOST_FLAGS) ; do \
16698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16700 echo "Doing installcheck in recode" ; \
16702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16704 "RANLIB=$${RANLIB}" \
16705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16711 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
16712 maybe-mostlyclean-recode:
16714 maybe-mostlyclean-recode: mostlyclean-recode
16716 mostlyclean-recode:
16717 @[ -f ./recode/Makefile ] || exit 0; \
16718 r=`${PWD_COMMAND}`; export r; \
16719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16722 for flag in $(EXTRA_HOST_FLAGS) ; do \
16723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16725 echo "Doing mostlyclean in recode" ; \
16727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16729 "RANLIB=$${RANLIB}" \
16730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16736 .PHONY: maybe-clean-recode clean-recode
16737 maybe-clean-recode:
16739 maybe-clean-recode: clean-recode
16742 @[ -f ./recode/Makefile ] || exit 0; \
16743 r=`${PWD_COMMAND}`; export r; \
16744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16747 for flag in $(EXTRA_HOST_FLAGS) ; do \
16748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16750 echo "Doing clean in recode" ; \
16752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16754 "RANLIB=$${RANLIB}" \
16755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16761 .PHONY: maybe-distclean-recode distclean-recode
16762 maybe-distclean-recode:
16764 maybe-distclean-recode: distclean-recode
16767 @[ -f ./recode/Makefile ] || exit 0; \
16768 r=`${PWD_COMMAND}`; export r; \
16769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16772 for flag in $(EXTRA_HOST_FLAGS) ; do \
16773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16775 echo "Doing distclean in recode" ; \
16777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16779 "RANLIB=$${RANLIB}" \
16780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16786 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
16787 maybe-maintainer-clean-recode:
16789 maybe-maintainer-clean-recode: maintainer-clean-recode
16791 maintainer-clean-recode:
16792 @[ -f ./recode/Makefile ] || exit 0; \
16793 r=`${PWD_COMMAND}`; export r; \
16794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16797 for flag in $(EXTRA_HOST_FLAGS) ; do \
16798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16800 echo "Doing maintainer-clean in recode" ; \
16802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16804 "RANLIB=$${RANLIB}" \
16805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16806 maintainer-clean) \
16812 .PHONY: configure-sed maybe-configure-sed
16813 maybe-configure-sed:
16815 maybe-configure-sed: configure-sed
16817 @test ! -f sed/Makefile || exit 0; \
16818 [ -d sed ] || mkdir sed; \
16819 r=`${PWD_COMMAND}`; export r; \
16820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16822 echo Configuring in sed; \
16823 cd sed || exit 1; \
16824 case $(srcdir) in \
16826 srcdiroption="--srcdir=."; \
16828 /* | [A-Za-z]:[\\/]*) \
16829 srcdiroption="--srcdir=$(srcdir)/sed"; \
16830 libsrcdir="$$s/sed";; \
16832 srcdiroption="--srcdir=../$(srcdir)/sed"; \
16833 libsrcdir="$$s/sed";; \
16835 $(SHELL) $${libsrcdir}/configure \
16836 $(HOST_CONFIGARGS) $${srcdiroption} \
16840 .PHONY: all-sed maybe-all-sed
16844 maybe-all-sed: all-sed
16845 all-sed: configure-sed
16846 @r=`${PWD_COMMAND}`; export r; \
16847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16850 (cd sed && $(MAKE) $(FLAGS_TO_PASS) \
16854 .PHONY: check-sed maybe-check-sed
16857 maybe-check-sed: check-sed
16860 @r=`${PWD_COMMAND}`; export r; \
16861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16864 (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
16868 .PHONY: install-sed maybe-install-sed
16871 maybe-install-sed: install-sed
16873 install-sed: installdirs
16874 @r=`${PWD_COMMAND}`; export r; \
16875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16878 (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
16882 # Other targets (info, dvi, etc.)
16884 .PHONY: maybe-info-sed info-sed
16887 maybe-info-sed: info-sed
16891 @[ -f ./sed/Makefile ] || exit 0; \
16892 r=`${PWD_COMMAND}`; export r; \
16893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16896 for flag in $(EXTRA_HOST_FLAGS) ; do \
16897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16899 echo "Doing info in sed" ; \
16901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16903 "RANLIB=$${RANLIB}" \
16904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16910 .PHONY: maybe-dvi-sed dvi-sed
16913 maybe-dvi-sed: dvi-sed
16917 @[ -f ./sed/Makefile ] || exit 0; \
16918 r=`${PWD_COMMAND}`; export r; \
16919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16922 for flag in $(EXTRA_HOST_FLAGS) ; do \
16923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16925 echo "Doing dvi in sed" ; \
16927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16929 "RANLIB=$${RANLIB}" \
16930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16936 .PHONY: maybe-TAGS-sed TAGS-sed
16939 maybe-TAGS-sed: TAGS-sed
16943 @[ -f ./sed/Makefile ] || exit 0; \
16944 r=`${PWD_COMMAND}`; export r; \
16945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16948 for flag in $(EXTRA_HOST_FLAGS) ; do \
16949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16951 echo "Doing TAGS in sed" ; \
16953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16955 "RANLIB=$${RANLIB}" \
16956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16962 .PHONY: maybe-install-info-sed install-info-sed
16963 maybe-install-info-sed:
16965 maybe-install-info-sed: install-info-sed
16967 install-info-sed: \
16970 @[ -f ./sed/Makefile ] || exit 0; \
16971 r=`${PWD_COMMAND}`; export r; \
16972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16975 for flag in $(EXTRA_HOST_FLAGS) ; do \
16976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16978 echo "Doing install-info in sed" ; \
16980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16982 "RANLIB=$${RANLIB}" \
16983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16989 .PHONY: maybe-installcheck-sed installcheck-sed
16990 maybe-installcheck-sed:
16992 maybe-installcheck-sed: installcheck-sed
16994 installcheck-sed: \
16996 @[ -f ./sed/Makefile ] || exit 0; \
16997 r=`${PWD_COMMAND}`; export r; \
16998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17001 for flag in $(EXTRA_HOST_FLAGS) ; do \
17002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17004 echo "Doing installcheck in sed" ; \
17006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17008 "RANLIB=$${RANLIB}" \
17009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17015 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
17016 maybe-mostlyclean-sed:
17018 maybe-mostlyclean-sed: mostlyclean-sed
17021 @[ -f ./sed/Makefile ] || exit 0; \
17022 r=`${PWD_COMMAND}`; export r; \
17023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17026 for flag in $(EXTRA_HOST_FLAGS) ; do \
17027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17029 echo "Doing mostlyclean in sed" ; \
17031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17033 "RANLIB=$${RANLIB}" \
17034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17040 .PHONY: maybe-clean-sed clean-sed
17043 maybe-clean-sed: clean-sed
17046 @[ -f ./sed/Makefile ] || exit 0; \
17047 r=`${PWD_COMMAND}`; export r; \
17048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17051 for flag in $(EXTRA_HOST_FLAGS) ; do \
17052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17054 echo "Doing clean in sed" ; \
17056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17058 "RANLIB=$${RANLIB}" \
17059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17065 .PHONY: maybe-distclean-sed distclean-sed
17066 maybe-distclean-sed:
17068 maybe-distclean-sed: distclean-sed
17071 @[ -f ./sed/Makefile ] || exit 0; \
17072 r=`${PWD_COMMAND}`; export r; \
17073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17076 for flag in $(EXTRA_HOST_FLAGS) ; do \
17077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17079 echo "Doing distclean in sed" ; \
17081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17083 "RANLIB=$${RANLIB}" \
17084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17090 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
17091 maybe-maintainer-clean-sed:
17093 maybe-maintainer-clean-sed: maintainer-clean-sed
17095 maintainer-clean-sed:
17096 @[ -f ./sed/Makefile ] || exit 0; \
17097 r=`${PWD_COMMAND}`; export r; \
17098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17101 for flag in $(EXTRA_HOST_FLAGS) ; do \
17102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17104 echo "Doing maintainer-clean in sed" ; \
17106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17108 "RANLIB=$${RANLIB}" \
17109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17110 maintainer-clean) \
17116 .PHONY: configure-send-pr maybe-configure-send-pr
17117 maybe-configure-send-pr:
17119 maybe-configure-send-pr: configure-send-pr
17121 @test ! -f send-pr/Makefile || exit 0; \
17122 [ -d send-pr ] || mkdir send-pr; \
17123 r=`${PWD_COMMAND}`; export r; \
17124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17126 echo Configuring in send-pr; \
17127 cd send-pr || exit 1; \
17128 case $(srcdir) in \
17130 srcdiroption="--srcdir=."; \
17132 /* | [A-Za-z]:[\\/]*) \
17133 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
17134 libsrcdir="$$s/send-pr";; \
17136 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
17137 libsrcdir="$$s/send-pr";; \
17139 $(SHELL) $${libsrcdir}/configure \
17140 $(HOST_CONFIGARGS) $${srcdiroption} \
17144 .PHONY: all-send-pr maybe-all-send-pr
17148 maybe-all-send-pr: all-send-pr
17149 all-send-pr: configure-send-pr
17150 @r=`${PWD_COMMAND}`; export r; \
17151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17154 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) \
17158 .PHONY: check-send-pr maybe-check-send-pr
17159 maybe-check-send-pr:
17161 maybe-check-send-pr: check-send-pr
17164 @r=`${PWD_COMMAND}`; export r; \
17165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17168 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
17172 .PHONY: install-send-pr maybe-install-send-pr
17173 maybe-install-send-pr:
17175 maybe-install-send-pr: install-send-pr
17177 install-send-pr: installdirs
17178 @r=`${PWD_COMMAND}`; export r; \
17179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17182 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
17186 # Other targets (info, dvi, etc.)
17188 .PHONY: maybe-info-send-pr info-send-pr
17189 maybe-info-send-pr:
17191 maybe-info-send-pr: info-send-pr
17195 @[ -f ./send-pr/Makefile ] || exit 0; \
17196 r=`${PWD_COMMAND}`; export r; \
17197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17200 for flag in $(EXTRA_HOST_FLAGS) ; do \
17201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17203 echo "Doing info in send-pr" ; \
17205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17207 "RANLIB=$${RANLIB}" \
17208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17214 .PHONY: maybe-dvi-send-pr dvi-send-pr
17217 maybe-dvi-send-pr: dvi-send-pr
17221 @[ -f ./send-pr/Makefile ] || exit 0; \
17222 r=`${PWD_COMMAND}`; export r; \
17223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17226 for flag in $(EXTRA_HOST_FLAGS) ; do \
17227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17229 echo "Doing dvi in send-pr" ; \
17231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17233 "RANLIB=$${RANLIB}" \
17234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17240 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
17241 maybe-TAGS-send-pr:
17243 maybe-TAGS-send-pr: TAGS-send-pr
17247 @[ -f ./send-pr/Makefile ] || exit 0; \
17248 r=`${PWD_COMMAND}`; export r; \
17249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17252 for flag in $(EXTRA_HOST_FLAGS) ; do \
17253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17255 echo "Doing TAGS in send-pr" ; \
17257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17259 "RANLIB=$${RANLIB}" \
17260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17266 .PHONY: maybe-install-info-send-pr install-info-send-pr
17267 maybe-install-info-send-pr:
17269 maybe-install-info-send-pr: install-info-send-pr
17271 install-info-send-pr: \
17272 configure-send-pr \
17274 @[ -f ./send-pr/Makefile ] || exit 0; \
17275 r=`${PWD_COMMAND}`; export r; \
17276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17279 for flag in $(EXTRA_HOST_FLAGS) ; do \
17280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17282 echo "Doing install-info in send-pr" ; \
17284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17286 "RANLIB=$${RANLIB}" \
17287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17293 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
17294 maybe-installcheck-send-pr:
17296 maybe-installcheck-send-pr: installcheck-send-pr
17298 installcheck-send-pr: \
17300 @[ -f ./send-pr/Makefile ] || exit 0; \
17301 r=`${PWD_COMMAND}`; export r; \
17302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17305 for flag in $(EXTRA_HOST_FLAGS) ; do \
17306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17308 echo "Doing installcheck in send-pr" ; \
17310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17312 "RANLIB=$${RANLIB}" \
17313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17319 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
17320 maybe-mostlyclean-send-pr:
17322 maybe-mostlyclean-send-pr: mostlyclean-send-pr
17324 mostlyclean-send-pr:
17325 @[ -f ./send-pr/Makefile ] || exit 0; \
17326 r=`${PWD_COMMAND}`; export r; \
17327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17330 for flag in $(EXTRA_HOST_FLAGS) ; do \
17331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17333 echo "Doing mostlyclean in send-pr" ; \
17335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17337 "RANLIB=$${RANLIB}" \
17338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17344 .PHONY: maybe-clean-send-pr clean-send-pr
17345 maybe-clean-send-pr:
17347 maybe-clean-send-pr: clean-send-pr
17350 @[ -f ./send-pr/Makefile ] || exit 0; \
17351 r=`${PWD_COMMAND}`; export r; \
17352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17355 for flag in $(EXTRA_HOST_FLAGS) ; do \
17356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17358 echo "Doing clean in send-pr" ; \
17360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17362 "RANLIB=$${RANLIB}" \
17363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17369 .PHONY: maybe-distclean-send-pr distclean-send-pr
17370 maybe-distclean-send-pr:
17372 maybe-distclean-send-pr: distclean-send-pr
17375 @[ -f ./send-pr/Makefile ] || exit 0; \
17376 r=`${PWD_COMMAND}`; export r; \
17377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17380 for flag in $(EXTRA_HOST_FLAGS) ; do \
17381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17383 echo "Doing distclean in send-pr" ; \
17385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17387 "RANLIB=$${RANLIB}" \
17388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17394 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
17395 maybe-maintainer-clean-send-pr:
17397 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
17399 maintainer-clean-send-pr:
17400 @[ -f ./send-pr/Makefile ] || exit 0; \
17401 r=`${PWD_COMMAND}`; export r; \
17402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17405 for flag in $(EXTRA_HOST_FLAGS) ; do \
17406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17408 echo "Doing maintainer-clean in send-pr" ; \
17410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17412 "RANLIB=$${RANLIB}" \
17413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17414 maintainer-clean) \
17420 .PHONY: configure-shellutils maybe-configure-shellutils
17421 maybe-configure-shellutils:
17423 maybe-configure-shellutils: configure-shellutils
17424 configure-shellutils:
17425 @test ! -f shellutils/Makefile || exit 0; \
17426 [ -d shellutils ] || mkdir shellutils; \
17427 r=`${PWD_COMMAND}`; export r; \
17428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17430 echo Configuring in shellutils; \
17431 cd shellutils || exit 1; \
17432 case $(srcdir) in \
17434 srcdiroption="--srcdir=."; \
17436 /* | [A-Za-z]:[\\/]*) \
17437 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
17438 libsrcdir="$$s/shellutils";; \
17440 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
17441 libsrcdir="$$s/shellutils";; \
17443 $(SHELL) $${libsrcdir}/configure \
17444 $(HOST_CONFIGARGS) $${srcdiroption} \
17448 .PHONY: all-shellutils maybe-all-shellutils
17449 maybe-all-shellutils:
17451 TARGET-shellutils=all
17452 maybe-all-shellutils: all-shellutils
17453 all-shellutils: configure-shellutils
17454 @r=`${PWD_COMMAND}`; export r; \
17455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17458 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) \
17459 $(TARGET-shellutils))
17462 .PHONY: check-shellutils maybe-check-shellutils
17463 maybe-check-shellutils:
17465 maybe-check-shellutils: check-shellutils
17468 @r=`${PWD_COMMAND}`; export r; \
17469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17472 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
17476 .PHONY: install-shellutils maybe-install-shellutils
17477 maybe-install-shellutils:
17479 maybe-install-shellutils: install-shellutils
17481 install-shellutils: installdirs
17482 @r=`${PWD_COMMAND}`; export r; \
17483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17486 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
17490 # Other targets (info, dvi, etc.)
17492 .PHONY: maybe-info-shellutils info-shellutils
17493 maybe-info-shellutils:
17495 maybe-info-shellutils: info-shellutils
17498 configure-shellutils
17499 @[ -f ./shellutils/Makefile ] || exit 0; \
17500 r=`${PWD_COMMAND}`; export r; \
17501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17504 for flag in $(EXTRA_HOST_FLAGS) ; do \
17505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17507 echo "Doing info in shellutils" ; \
17508 (cd shellutils && \
17509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17511 "RANLIB=$${RANLIB}" \
17512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17518 .PHONY: maybe-dvi-shellutils dvi-shellutils
17519 maybe-dvi-shellutils:
17521 maybe-dvi-shellutils: dvi-shellutils
17524 configure-shellutils
17525 @[ -f ./shellutils/Makefile ] || exit 0; \
17526 r=`${PWD_COMMAND}`; export r; \
17527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17530 for flag in $(EXTRA_HOST_FLAGS) ; do \
17531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17533 echo "Doing dvi in shellutils" ; \
17534 (cd shellutils && \
17535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17537 "RANLIB=$${RANLIB}" \
17538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17544 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
17545 maybe-TAGS-shellutils:
17547 maybe-TAGS-shellutils: TAGS-shellutils
17550 configure-shellutils
17551 @[ -f ./shellutils/Makefile ] || exit 0; \
17552 r=`${PWD_COMMAND}`; export r; \
17553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17556 for flag in $(EXTRA_HOST_FLAGS) ; do \
17557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17559 echo "Doing TAGS in shellutils" ; \
17560 (cd shellutils && \
17561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17563 "RANLIB=$${RANLIB}" \
17564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17570 .PHONY: maybe-install-info-shellutils install-info-shellutils
17571 maybe-install-info-shellutils:
17573 maybe-install-info-shellutils: install-info-shellutils
17575 install-info-shellutils: \
17576 configure-shellutils \
17578 @[ -f ./shellutils/Makefile ] || exit 0; \
17579 r=`${PWD_COMMAND}`; export r; \
17580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17583 for flag in $(EXTRA_HOST_FLAGS) ; do \
17584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17586 echo "Doing install-info in shellutils" ; \
17587 (cd shellutils && \
17588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17590 "RANLIB=$${RANLIB}" \
17591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17597 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
17598 maybe-installcheck-shellutils:
17600 maybe-installcheck-shellutils: installcheck-shellutils
17602 installcheck-shellutils: \
17603 configure-shellutils
17604 @[ -f ./shellutils/Makefile ] || exit 0; \
17605 r=`${PWD_COMMAND}`; export r; \
17606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17609 for flag in $(EXTRA_HOST_FLAGS) ; do \
17610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17612 echo "Doing installcheck in shellutils" ; \
17613 (cd shellutils && \
17614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17616 "RANLIB=$${RANLIB}" \
17617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17623 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
17624 maybe-mostlyclean-shellutils:
17626 maybe-mostlyclean-shellutils: mostlyclean-shellutils
17628 mostlyclean-shellutils:
17629 @[ -f ./shellutils/Makefile ] || exit 0; \
17630 r=`${PWD_COMMAND}`; export r; \
17631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17634 for flag in $(EXTRA_HOST_FLAGS) ; do \
17635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17637 echo "Doing mostlyclean in shellutils" ; \
17638 (cd shellutils && \
17639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17641 "RANLIB=$${RANLIB}" \
17642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17648 .PHONY: maybe-clean-shellutils clean-shellutils
17649 maybe-clean-shellutils:
17651 maybe-clean-shellutils: clean-shellutils
17654 @[ -f ./shellutils/Makefile ] || exit 0; \
17655 r=`${PWD_COMMAND}`; export r; \
17656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17659 for flag in $(EXTRA_HOST_FLAGS) ; do \
17660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17662 echo "Doing clean in shellutils" ; \
17663 (cd shellutils && \
17664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17666 "RANLIB=$${RANLIB}" \
17667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17673 .PHONY: maybe-distclean-shellutils distclean-shellutils
17674 maybe-distclean-shellutils:
17676 maybe-distclean-shellutils: distclean-shellutils
17678 distclean-shellutils:
17679 @[ -f ./shellutils/Makefile ] || exit 0; \
17680 r=`${PWD_COMMAND}`; export r; \
17681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17684 for flag in $(EXTRA_HOST_FLAGS) ; do \
17685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17687 echo "Doing distclean in shellutils" ; \
17688 (cd shellutils && \
17689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17691 "RANLIB=$${RANLIB}" \
17692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17698 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
17699 maybe-maintainer-clean-shellutils:
17701 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
17703 maintainer-clean-shellutils:
17704 @[ -f ./shellutils/Makefile ] || exit 0; \
17705 r=`${PWD_COMMAND}`; export r; \
17706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17709 for flag in $(EXTRA_HOST_FLAGS) ; do \
17710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17712 echo "Doing maintainer-clean in shellutils" ; \
17713 (cd shellutils && \
17714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17716 "RANLIB=$${RANLIB}" \
17717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17718 maintainer-clean) \
17724 .PHONY: configure-sid maybe-configure-sid
17725 maybe-configure-sid:
17727 maybe-configure-sid: configure-sid
17729 @test ! -f sid/Makefile || exit 0; \
17730 [ -d sid ] || mkdir sid; \
17731 r=`${PWD_COMMAND}`; export r; \
17732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17734 echo Configuring in sid; \
17735 cd sid || exit 1; \
17736 case $(srcdir) in \
17738 srcdiroption="--srcdir=."; \
17740 /* | [A-Za-z]:[\\/]*) \
17741 srcdiroption="--srcdir=$(srcdir)/sid"; \
17742 libsrcdir="$$s/sid";; \
17744 srcdiroption="--srcdir=../$(srcdir)/sid"; \
17745 libsrcdir="$$s/sid";; \
17747 $(SHELL) $${libsrcdir}/configure \
17748 $(HOST_CONFIGARGS) $${srcdiroption} \
17752 .PHONY: all-sid maybe-all-sid
17756 maybe-all-sid: all-sid
17757 all-sid: configure-sid
17758 @r=`${PWD_COMMAND}`; export r; \
17759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17762 (cd sid && $(MAKE) $(FLAGS_TO_PASS) \
17766 .PHONY: check-sid maybe-check-sid
17769 maybe-check-sid: check-sid
17772 @r=`${PWD_COMMAND}`; export r; \
17773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17776 (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
17780 .PHONY: install-sid maybe-install-sid
17783 maybe-install-sid: install-sid
17785 install-sid: installdirs
17786 @r=`${PWD_COMMAND}`; export r; \
17787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17790 (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
17794 # Other targets (info, dvi, etc.)
17796 .PHONY: maybe-info-sid info-sid
17799 maybe-info-sid: info-sid
17803 @[ -f ./sid/Makefile ] || exit 0; \
17804 r=`${PWD_COMMAND}`; export r; \
17805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17808 for flag in $(EXTRA_HOST_FLAGS) ; do \
17809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17811 echo "Doing info in sid" ; \
17813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17815 "RANLIB=$${RANLIB}" \
17816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17822 .PHONY: maybe-dvi-sid dvi-sid
17825 maybe-dvi-sid: dvi-sid
17829 @[ -f ./sid/Makefile ] || exit 0; \
17830 r=`${PWD_COMMAND}`; export r; \
17831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17834 for flag in $(EXTRA_HOST_FLAGS) ; do \
17835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17837 echo "Doing dvi in sid" ; \
17839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17841 "RANLIB=$${RANLIB}" \
17842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17848 .PHONY: maybe-TAGS-sid TAGS-sid
17851 maybe-TAGS-sid: TAGS-sid
17855 @[ -f ./sid/Makefile ] || exit 0; \
17856 r=`${PWD_COMMAND}`; export r; \
17857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17860 for flag in $(EXTRA_HOST_FLAGS) ; do \
17861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17863 echo "Doing TAGS in sid" ; \
17865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17867 "RANLIB=$${RANLIB}" \
17868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17874 .PHONY: maybe-install-info-sid install-info-sid
17875 maybe-install-info-sid:
17877 maybe-install-info-sid: install-info-sid
17879 install-info-sid: \
17882 @[ -f ./sid/Makefile ] || exit 0; \
17883 r=`${PWD_COMMAND}`; export r; \
17884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17887 for flag in $(EXTRA_HOST_FLAGS) ; do \
17888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17890 echo "Doing install-info in sid" ; \
17892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17894 "RANLIB=$${RANLIB}" \
17895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17901 .PHONY: maybe-installcheck-sid installcheck-sid
17902 maybe-installcheck-sid:
17904 maybe-installcheck-sid: installcheck-sid
17906 installcheck-sid: \
17908 @[ -f ./sid/Makefile ] || exit 0; \
17909 r=`${PWD_COMMAND}`; export r; \
17910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17913 for flag in $(EXTRA_HOST_FLAGS) ; do \
17914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17916 echo "Doing installcheck in sid" ; \
17918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17920 "RANLIB=$${RANLIB}" \
17921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17927 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
17928 maybe-mostlyclean-sid:
17930 maybe-mostlyclean-sid: mostlyclean-sid
17933 @[ -f ./sid/Makefile ] || exit 0; \
17934 r=`${PWD_COMMAND}`; export r; \
17935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17938 for flag in $(EXTRA_HOST_FLAGS) ; do \
17939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17941 echo "Doing mostlyclean in sid" ; \
17943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17945 "RANLIB=$${RANLIB}" \
17946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17952 .PHONY: maybe-clean-sid clean-sid
17955 maybe-clean-sid: clean-sid
17958 @[ -f ./sid/Makefile ] || exit 0; \
17959 r=`${PWD_COMMAND}`; export r; \
17960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17963 for flag in $(EXTRA_HOST_FLAGS) ; do \
17964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17966 echo "Doing clean in sid" ; \
17968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17970 "RANLIB=$${RANLIB}" \
17971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17977 .PHONY: maybe-distclean-sid distclean-sid
17978 maybe-distclean-sid:
17980 maybe-distclean-sid: distclean-sid
17983 @[ -f ./sid/Makefile ] || exit 0; \
17984 r=`${PWD_COMMAND}`; export r; \
17985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17988 for flag in $(EXTRA_HOST_FLAGS) ; do \
17989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17991 echo "Doing distclean in sid" ; \
17993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17995 "RANLIB=$${RANLIB}" \
17996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18002 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
18003 maybe-maintainer-clean-sid:
18005 maybe-maintainer-clean-sid: maintainer-clean-sid
18007 maintainer-clean-sid:
18008 @[ -f ./sid/Makefile ] || exit 0; \
18009 r=`${PWD_COMMAND}`; export r; \
18010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18013 for flag in $(EXTRA_HOST_FLAGS) ; do \
18014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18016 echo "Doing maintainer-clean in sid" ; \
18018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18020 "RANLIB=$${RANLIB}" \
18021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18022 maintainer-clean) \
18028 .PHONY: configure-sim maybe-configure-sim
18029 maybe-configure-sim:
18031 maybe-configure-sim: configure-sim
18033 @test ! -f sim/Makefile || exit 0; \
18034 [ -d sim ] || mkdir sim; \
18035 r=`${PWD_COMMAND}`; export r; \
18036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18038 echo Configuring in sim; \
18039 cd sim || exit 1; \
18040 case $(srcdir) in \
18042 srcdiroption="--srcdir=."; \
18044 /* | [A-Za-z]:[\\/]*) \
18045 srcdiroption="--srcdir=$(srcdir)/sim"; \
18046 libsrcdir="$$s/sim";; \
18048 srcdiroption="--srcdir=../$(srcdir)/sim"; \
18049 libsrcdir="$$s/sim";; \
18051 $(SHELL) $${libsrcdir}/configure \
18052 $(HOST_CONFIGARGS) $${srcdiroption} \
18056 .PHONY: all-sim maybe-all-sim
18060 maybe-all-sim: all-sim
18061 all-sim: configure-sim
18062 @r=`${PWD_COMMAND}`; export r; \
18063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18066 (cd sim && $(MAKE) $(FLAGS_TO_PASS) \
18070 .PHONY: check-sim maybe-check-sim
18073 maybe-check-sim: check-sim
18076 @r=`${PWD_COMMAND}`; export r; \
18077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18080 (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
18084 .PHONY: install-sim maybe-install-sim
18087 maybe-install-sim: install-sim
18089 install-sim: installdirs
18090 @r=`${PWD_COMMAND}`; export r; \
18091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18094 (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
18098 # Other targets (info, dvi, etc.)
18100 .PHONY: maybe-info-sim info-sim
18103 maybe-info-sim: info-sim
18107 @[ -f ./sim/Makefile ] || exit 0; \
18108 r=`${PWD_COMMAND}`; export r; \
18109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18112 for flag in $(EXTRA_HOST_FLAGS) ; do \
18113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18115 echo "Doing info in sim" ; \
18117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18119 "RANLIB=$${RANLIB}" \
18120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18126 .PHONY: maybe-dvi-sim dvi-sim
18129 maybe-dvi-sim: dvi-sim
18133 @[ -f ./sim/Makefile ] || exit 0; \
18134 r=`${PWD_COMMAND}`; export r; \
18135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18138 for flag in $(EXTRA_HOST_FLAGS) ; do \
18139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18141 echo "Doing dvi in sim" ; \
18143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18145 "RANLIB=$${RANLIB}" \
18146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18152 .PHONY: maybe-TAGS-sim TAGS-sim
18155 maybe-TAGS-sim: TAGS-sim
18159 @[ -f ./sim/Makefile ] || exit 0; \
18160 r=`${PWD_COMMAND}`; export r; \
18161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18164 for flag in $(EXTRA_HOST_FLAGS) ; do \
18165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18167 echo "Doing TAGS in sim" ; \
18169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18171 "RANLIB=$${RANLIB}" \
18172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18178 .PHONY: maybe-install-info-sim install-info-sim
18179 maybe-install-info-sim:
18181 maybe-install-info-sim: install-info-sim
18183 install-info-sim: \
18186 @[ -f ./sim/Makefile ] || exit 0; \
18187 r=`${PWD_COMMAND}`; export r; \
18188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18191 for flag in $(EXTRA_HOST_FLAGS) ; do \
18192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18194 echo "Doing install-info in sim" ; \
18196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18198 "RANLIB=$${RANLIB}" \
18199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18205 .PHONY: maybe-installcheck-sim installcheck-sim
18206 maybe-installcheck-sim:
18208 maybe-installcheck-sim: installcheck-sim
18210 installcheck-sim: \
18212 @[ -f ./sim/Makefile ] || exit 0; \
18213 r=`${PWD_COMMAND}`; export r; \
18214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18217 for flag in $(EXTRA_HOST_FLAGS) ; do \
18218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18220 echo "Doing installcheck in sim" ; \
18222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18224 "RANLIB=$${RANLIB}" \
18225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18231 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
18232 maybe-mostlyclean-sim:
18234 maybe-mostlyclean-sim: mostlyclean-sim
18237 @[ -f ./sim/Makefile ] || exit 0; \
18238 r=`${PWD_COMMAND}`; export r; \
18239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18242 for flag in $(EXTRA_HOST_FLAGS) ; do \
18243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18245 echo "Doing mostlyclean in sim" ; \
18247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18249 "RANLIB=$${RANLIB}" \
18250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18256 .PHONY: maybe-clean-sim clean-sim
18259 maybe-clean-sim: clean-sim
18262 @[ -f ./sim/Makefile ] || exit 0; \
18263 r=`${PWD_COMMAND}`; export r; \
18264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18267 for flag in $(EXTRA_HOST_FLAGS) ; do \
18268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18270 echo "Doing clean in sim" ; \
18272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18274 "RANLIB=$${RANLIB}" \
18275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18281 .PHONY: maybe-distclean-sim distclean-sim
18282 maybe-distclean-sim:
18284 maybe-distclean-sim: distclean-sim
18287 @[ -f ./sim/Makefile ] || exit 0; \
18288 r=`${PWD_COMMAND}`; export r; \
18289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18292 for flag in $(EXTRA_HOST_FLAGS) ; do \
18293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18295 echo "Doing distclean in sim" ; \
18297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18299 "RANLIB=$${RANLIB}" \
18300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18306 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
18307 maybe-maintainer-clean-sim:
18309 maybe-maintainer-clean-sim: maintainer-clean-sim
18311 maintainer-clean-sim:
18312 @[ -f ./sim/Makefile ] || exit 0; \
18313 r=`${PWD_COMMAND}`; export r; \
18314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18317 for flag in $(EXTRA_HOST_FLAGS) ; do \
18318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18320 echo "Doing maintainer-clean in sim" ; \
18322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18324 "RANLIB=$${RANLIB}" \
18325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18326 maintainer-clean) \
18332 .PHONY: configure-tar maybe-configure-tar
18333 maybe-configure-tar:
18335 maybe-configure-tar: configure-tar
18337 @test ! -f tar/Makefile || exit 0; \
18338 [ -d tar ] || mkdir tar; \
18339 r=`${PWD_COMMAND}`; export r; \
18340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18342 echo Configuring in tar; \
18343 cd tar || exit 1; \
18344 case $(srcdir) in \
18346 srcdiroption="--srcdir=."; \
18348 /* | [A-Za-z]:[\\/]*) \
18349 srcdiroption="--srcdir=$(srcdir)/tar"; \
18350 libsrcdir="$$s/tar";; \
18352 srcdiroption="--srcdir=../$(srcdir)/tar"; \
18353 libsrcdir="$$s/tar";; \
18355 $(SHELL) $${libsrcdir}/configure \
18356 $(HOST_CONFIGARGS) $${srcdiroption} \
18360 .PHONY: all-tar maybe-all-tar
18364 maybe-all-tar: all-tar
18365 all-tar: configure-tar
18366 @r=`${PWD_COMMAND}`; export r; \
18367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18370 (cd tar && $(MAKE) $(FLAGS_TO_PASS) \
18374 .PHONY: check-tar maybe-check-tar
18377 maybe-check-tar: check-tar
18380 @r=`${PWD_COMMAND}`; export r; \
18381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18384 (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
18388 .PHONY: install-tar maybe-install-tar
18391 maybe-install-tar: install-tar
18393 install-tar: installdirs
18394 @r=`${PWD_COMMAND}`; export r; \
18395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18398 (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
18402 # Other targets (info, dvi, etc.)
18404 .PHONY: maybe-info-tar info-tar
18407 maybe-info-tar: info-tar
18411 @[ -f ./tar/Makefile ] || exit 0; \
18412 r=`${PWD_COMMAND}`; export r; \
18413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18416 for flag in $(EXTRA_HOST_FLAGS) ; do \
18417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18419 echo "Doing info in tar" ; \
18421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18423 "RANLIB=$${RANLIB}" \
18424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18430 .PHONY: maybe-dvi-tar dvi-tar
18433 maybe-dvi-tar: dvi-tar
18437 @[ -f ./tar/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 dvi in tar" ; \
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-TAGS-tar TAGS-tar
18459 maybe-TAGS-tar: TAGS-tar
18463 @[ -f ./tar/Makefile ] || exit 0; \
18464 r=`${PWD_COMMAND}`; export r; \
18465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18468 for flag in $(EXTRA_HOST_FLAGS) ; do \
18469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18471 echo "Doing TAGS in tar" ; \
18473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18475 "RANLIB=$${RANLIB}" \
18476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18482 .PHONY: maybe-install-info-tar install-info-tar
18483 maybe-install-info-tar:
18485 maybe-install-info-tar: install-info-tar
18487 install-info-tar: \
18490 @[ -f ./tar/Makefile ] || exit 0; \
18491 r=`${PWD_COMMAND}`; export r; \
18492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18495 for flag in $(EXTRA_HOST_FLAGS) ; do \
18496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18498 echo "Doing install-info in tar" ; \
18500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18502 "RANLIB=$${RANLIB}" \
18503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18509 .PHONY: maybe-installcheck-tar installcheck-tar
18510 maybe-installcheck-tar:
18512 maybe-installcheck-tar: installcheck-tar
18514 installcheck-tar: \
18516 @[ -f ./tar/Makefile ] || exit 0; \
18517 r=`${PWD_COMMAND}`; export r; \
18518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18521 for flag in $(EXTRA_HOST_FLAGS) ; do \
18522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18524 echo "Doing installcheck in tar" ; \
18526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18528 "RANLIB=$${RANLIB}" \
18529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18535 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
18536 maybe-mostlyclean-tar:
18538 maybe-mostlyclean-tar: mostlyclean-tar
18541 @[ -f ./tar/Makefile ] || exit 0; \
18542 r=`${PWD_COMMAND}`; export r; \
18543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18546 for flag in $(EXTRA_HOST_FLAGS) ; do \
18547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18549 echo "Doing mostlyclean in tar" ; \
18551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18553 "RANLIB=$${RANLIB}" \
18554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18560 .PHONY: maybe-clean-tar clean-tar
18563 maybe-clean-tar: clean-tar
18566 @[ -f ./tar/Makefile ] || exit 0; \
18567 r=`${PWD_COMMAND}`; export r; \
18568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18571 for flag in $(EXTRA_HOST_FLAGS) ; do \
18572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18574 echo "Doing clean in tar" ; \
18576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18578 "RANLIB=$${RANLIB}" \
18579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18585 .PHONY: maybe-distclean-tar distclean-tar
18586 maybe-distclean-tar:
18588 maybe-distclean-tar: distclean-tar
18591 @[ -f ./tar/Makefile ] || exit 0; \
18592 r=`${PWD_COMMAND}`; export r; \
18593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18596 for flag in $(EXTRA_HOST_FLAGS) ; do \
18597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18599 echo "Doing distclean in tar" ; \
18601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18603 "RANLIB=$${RANLIB}" \
18604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18610 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
18611 maybe-maintainer-clean-tar:
18613 maybe-maintainer-clean-tar: maintainer-clean-tar
18615 maintainer-clean-tar:
18616 @[ -f ./tar/Makefile ] || exit 0; \
18617 r=`${PWD_COMMAND}`; export r; \
18618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18621 for flag in $(EXTRA_HOST_FLAGS) ; do \
18622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18624 echo "Doing maintainer-clean in tar" ; \
18626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18628 "RANLIB=$${RANLIB}" \
18629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18630 maintainer-clean) \
18636 .PHONY: configure-texinfo maybe-configure-texinfo
18637 maybe-configure-texinfo:
18639 maybe-configure-texinfo: configure-texinfo
18641 @test ! -f texinfo/Makefile || exit 0; \
18642 [ -d texinfo ] || mkdir texinfo; \
18643 r=`${PWD_COMMAND}`; export r; \
18644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18646 echo Configuring in texinfo; \
18647 cd texinfo || exit 1; \
18648 case $(srcdir) in \
18650 srcdiroption="--srcdir=."; \
18652 /* | [A-Za-z]:[\\/]*) \
18653 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
18654 libsrcdir="$$s/texinfo";; \
18656 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
18657 libsrcdir="$$s/texinfo";; \
18659 $(SHELL) $${libsrcdir}/configure \
18660 $(HOST_CONFIGARGS) $${srcdiroption} \
18664 .PHONY: all-texinfo maybe-all-texinfo
18668 maybe-all-texinfo: all-texinfo
18669 all-texinfo: configure-texinfo
18670 @r=`${PWD_COMMAND}`; export r; \
18671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18674 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) \
18678 .PHONY: check-texinfo maybe-check-texinfo
18679 maybe-check-texinfo:
18681 maybe-check-texinfo: check-texinfo
18684 @r=`${PWD_COMMAND}`; export r; \
18685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18688 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
18692 .PHONY: install-texinfo maybe-install-texinfo
18693 maybe-install-texinfo:
18695 maybe-install-texinfo: install-texinfo
18701 # Other targets (info, dvi, etc.)
18703 .PHONY: maybe-info-texinfo info-texinfo
18704 maybe-info-texinfo:
18706 maybe-info-texinfo: info-texinfo
18710 @[ -f ./texinfo/Makefile ] || exit 0; \
18711 r=`${PWD_COMMAND}`; export r; \
18712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18715 for flag in $(EXTRA_HOST_FLAGS) ; do \
18716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18718 echo "Doing info in texinfo" ; \
18720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18722 "RANLIB=$${RANLIB}" \
18723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18729 .PHONY: maybe-dvi-texinfo dvi-texinfo
18732 maybe-dvi-texinfo: dvi-texinfo
18736 @[ -f ./texinfo/Makefile ] || exit 0; \
18737 r=`${PWD_COMMAND}`; export r; \
18738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18741 for flag in $(EXTRA_HOST_FLAGS) ; do \
18742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18744 echo "Doing dvi in texinfo" ; \
18746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18748 "RANLIB=$${RANLIB}" \
18749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18755 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
18756 maybe-TAGS-texinfo:
18758 maybe-TAGS-texinfo: TAGS-texinfo
18762 @[ -f ./texinfo/Makefile ] || exit 0; \
18763 r=`${PWD_COMMAND}`; export r; \
18764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18767 for flag in $(EXTRA_HOST_FLAGS) ; do \
18768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18770 echo "Doing TAGS in texinfo" ; \
18772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18774 "RANLIB=$${RANLIB}" \
18775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18781 .PHONY: maybe-install-info-texinfo install-info-texinfo
18782 maybe-install-info-texinfo:
18784 maybe-install-info-texinfo: install-info-texinfo
18786 install-info-texinfo: \
18787 configure-texinfo \
18789 @[ -f ./texinfo/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 install-info in texinfo" ; \
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}" \
18808 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
18809 maybe-installcheck-texinfo:
18811 maybe-installcheck-texinfo: installcheck-texinfo
18813 installcheck-texinfo: \
18815 @[ -f ./texinfo/Makefile ] || exit 0; \
18816 r=`${PWD_COMMAND}`; export r; \
18817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18820 for flag in $(EXTRA_HOST_FLAGS) ; do \
18821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18823 echo "Doing installcheck in texinfo" ; \
18825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18827 "RANLIB=$${RANLIB}" \
18828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18834 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
18835 maybe-mostlyclean-texinfo:
18837 maybe-mostlyclean-texinfo: mostlyclean-texinfo
18839 mostlyclean-texinfo:
18840 @[ -f ./texinfo/Makefile ] || exit 0; \
18841 r=`${PWD_COMMAND}`; export r; \
18842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18845 for flag in $(EXTRA_HOST_FLAGS) ; do \
18846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18848 echo "Doing mostlyclean in texinfo" ; \
18850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18852 "RANLIB=$${RANLIB}" \
18853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18859 .PHONY: maybe-clean-texinfo clean-texinfo
18860 maybe-clean-texinfo:
18862 maybe-clean-texinfo: clean-texinfo
18865 @[ -f ./texinfo/Makefile ] || exit 0; \
18866 r=`${PWD_COMMAND}`; export r; \
18867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18870 for flag in $(EXTRA_HOST_FLAGS) ; do \
18871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18873 echo "Doing clean in texinfo" ; \
18875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18877 "RANLIB=$${RANLIB}" \
18878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18884 .PHONY: maybe-distclean-texinfo distclean-texinfo
18885 maybe-distclean-texinfo:
18887 maybe-distclean-texinfo: distclean-texinfo
18890 @[ -f ./texinfo/Makefile ] || exit 0; \
18891 r=`${PWD_COMMAND}`; export r; \
18892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18895 for flag in $(EXTRA_HOST_FLAGS) ; do \
18896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18898 echo "Doing distclean in texinfo" ; \
18900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18902 "RANLIB=$${RANLIB}" \
18903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18909 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
18910 maybe-maintainer-clean-texinfo:
18912 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
18914 maintainer-clean-texinfo:
18915 @[ -f ./texinfo/Makefile ] || exit 0; \
18916 r=`${PWD_COMMAND}`; export r; \
18917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18920 for flag in $(EXTRA_HOST_FLAGS) ; do \
18921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18923 echo "Doing maintainer-clean in texinfo" ; \
18925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18927 "RANLIB=$${RANLIB}" \
18928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18929 maintainer-clean) \
18935 .PHONY: configure-textutils maybe-configure-textutils
18936 maybe-configure-textutils:
18938 maybe-configure-textutils: configure-textutils
18939 configure-textutils:
18940 @test ! -f textutils/Makefile || exit 0; \
18941 [ -d textutils ] || mkdir textutils; \
18942 r=`${PWD_COMMAND}`; export r; \
18943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18945 echo Configuring in textutils; \
18946 cd textutils || exit 1; \
18947 case $(srcdir) in \
18949 srcdiroption="--srcdir=."; \
18951 /* | [A-Za-z]:[\\/]*) \
18952 srcdiroption="--srcdir=$(srcdir)/textutils"; \
18953 libsrcdir="$$s/textutils";; \
18955 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
18956 libsrcdir="$$s/textutils";; \
18958 $(SHELL) $${libsrcdir}/configure \
18959 $(HOST_CONFIGARGS) $${srcdiroption} \
18963 .PHONY: all-textutils maybe-all-textutils
18964 maybe-all-textutils:
18966 TARGET-textutils=all
18967 maybe-all-textutils: all-textutils
18968 all-textutils: configure-textutils
18969 @r=`${PWD_COMMAND}`; export r; \
18970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18973 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) \
18974 $(TARGET-textutils))
18977 .PHONY: check-textutils maybe-check-textutils
18978 maybe-check-textutils:
18980 maybe-check-textutils: check-textutils
18983 @r=`${PWD_COMMAND}`; export r; \
18984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18987 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
18991 .PHONY: install-textutils maybe-install-textutils
18992 maybe-install-textutils:
18994 maybe-install-textutils: install-textutils
18996 install-textutils: installdirs
18997 @r=`${PWD_COMMAND}`; export r; \
18998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19001 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
19005 # Other targets (info, dvi, etc.)
19007 .PHONY: maybe-info-textutils info-textutils
19008 maybe-info-textutils:
19010 maybe-info-textutils: info-textutils
19013 configure-textutils
19014 @[ -f ./textutils/Makefile ] || exit 0; \
19015 r=`${PWD_COMMAND}`; export r; \
19016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19019 for flag in $(EXTRA_HOST_FLAGS) ; do \
19020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19022 echo "Doing info in textutils" ; \
19024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19026 "RANLIB=$${RANLIB}" \
19027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19033 .PHONY: maybe-dvi-textutils dvi-textutils
19034 maybe-dvi-textutils:
19036 maybe-dvi-textutils: dvi-textutils
19039 configure-textutils
19040 @[ -f ./textutils/Makefile ] || exit 0; \
19041 r=`${PWD_COMMAND}`; export r; \
19042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19045 for flag in $(EXTRA_HOST_FLAGS) ; do \
19046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19048 echo "Doing dvi in textutils" ; \
19050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19052 "RANLIB=$${RANLIB}" \
19053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19059 .PHONY: maybe-TAGS-textutils TAGS-textutils
19060 maybe-TAGS-textutils:
19062 maybe-TAGS-textutils: TAGS-textutils
19065 configure-textutils
19066 @[ -f ./textutils/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 TAGS in textutils" ; \
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-install-info-textutils install-info-textutils
19086 maybe-install-info-textutils:
19088 maybe-install-info-textutils: install-info-textutils
19090 install-info-textutils: \
19091 configure-textutils \
19093 @[ -f ./textutils/Makefile ] || exit 0; \
19094 r=`${PWD_COMMAND}`; export r; \
19095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19098 for flag in $(EXTRA_HOST_FLAGS) ; do \
19099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19101 echo "Doing install-info in textutils" ; \
19103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19105 "RANLIB=$${RANLIB}" \
19106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19112 .PHONY: maybe-installcheck-textutils installcheck-textutils
19113 maybe-installcheck-textutils:
19115 maybe-installcheck-textutils: installcheck-textutils
19117 installcheck-textutils: \
19118 configure-textutils
19119 @[ -f ./textutils/Makefile ] || exit 0; \
19120 r=`${PWD_COMMAND}`; export r; \
19121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19124 for flag in $(EXTRA_HOST_FLAGS) ; do \
19125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19127 echo "Doing installcheck in textutils" ; \
19129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19131 "RANLIB=$${RANLIB}" \
19132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19138 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
19139 maybe-mostlyclean-textutils:
19141 maybe-mostlyclean-textutils: mostlyclean-textutils
19143 mostlyclean-textutils:
19144 @[ -f ./textutils/Makefile ] || exit 0; \
19145 r=`${PWD_COMMAND}`; export r; \
19146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19149 for flag in $(EXTRA_HOST_FLAGS) ; do \
19150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19152 echo "Doing mostlyclean in textutils" ; \
19154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19156 "RANLIB=$${RANLIB}" \
19157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19163 .PHONY: maybe-clean-textutils clean-textutils
19164 maybe-clean-textutils:
19166 maybe-clean-textutils: clean-textutils
19169 @[ -f ./textutils/Makefile ] || exit 0; \
19170 r=`${PWD_COMMAND}`; export r; \
19171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19174 for flag in $(EXTRA_HOST_FLAGS) ; do \
19175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19177 echo "Doing clean in textutils" ; \
19179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19181 "RANLIB=$${RANLIB}" \
19182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19188 .PHONY: maybe-distclean-textutils distclean-textutils
19189 maybe-distclean-textutils:
19191 maybe-distclean-textutils: distclean-textutils
19193 distclean-textutils:
19194 @[ -f ./textutils/Makefile ] || exit 0; \
19195 r=`${PWD_COMMAND}`; export r; \
19196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19199 for flag in $(EXTRA_HOST_FLAGS) ; do \
19200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19202 echo "Doing distclean in textutils" ; \
19204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19206 "RANLIB=$${RANLIB}" \
19207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19213 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
19214 maybe-maintainer-clean-textutils:
19216 maybe-maintainer-clean-textutils: maintainer-clean-textutils
19218 maintainer-clean-textutils:
19219 @[ -f ./textutils/Makefile ] || exit 0; \
19220 r=`${PWD_COMMAND}`; export r; \
19221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19224 for flag in $(EXTRA_HOST_FLAGS) ; do \
19225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19227 echo "Doing maintainer-clean in textutils" ; \
19229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19231 "RANLIB=$${RANLIB}" \
19232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19233 maintainer-clean) \
19239 .PHONY: configure-time maybe-configure-time
19240 maybe-configure-time:
19242 maybe-configure-time: configure-time
19244 @test ! -f time/Makefile || exit 0; \
19245 [ -d time ] || mkdir time; \
19246 r=`${PWD_COMMAND}`; export r; \
19247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19249 echo Configuring in time; \
19250 cd time || exit 1; \
19251 case $(srcdir) in \
19253 srcdiroption="--srcdir=."; \
19255 /* | [A-Za-z]:[\\/]*) \
19256 srcdiroption="--srcdir=$(srcdir)/time"; \
19257 libsrcdir="$$s/time";; \
19259 srcdiroption="--srcdir=../$(srcdir)/time"; \
19260 libsrcdir="$$s/time";; \
19262 $(SHELL) $${libsrcdir}/configure \
19263 $(HOST_CONFIGARGS) $${srcdiroption} \
19267 .PHONY: all-time maybe-all-time
19271 maybe-all-time: all-time
19272 all-time: configure-time
19273 @r=`${PWD_COMMAND}`; export r; \
19274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19277 (cd time && $(MAKE) $(FLAGS_TO_PASS) \
19281 .PHONY: check-time maybe-check-time
19284 maybe-check-time: check-time
19287 @r=`${PWD_COMMAND}`; export r; \
19288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19291 (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
19295 .PHONY: install-time maybe-install-time
19296 maybe-install-time:
19298 maybe-install-time: install-time
19300 install-time: installdirs
19301 @r=`${PWD_COMMAND}`; export r; \
19302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19305 (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
19309 # Other targets (info, dvi, etc.)
19311 .PHONY: maybe-info-time info-time
19314 maybe-info-time: info-time
19318 @[ -f ./time/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 info in time" ; \
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-dvi-time dvi-time
19340 maybe-dvi-time: dvi-time
19344 @[ -f ./time/Makefile ] || exit 0; \
19345 r=`${PWD_COMMAND}`; export r; \
19346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19349 for flag in $(EXTRA_HOST_FLAGS) ; do \
19350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19352 echo "Doing dvi in time" ; \
19354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19356 "RANLIB=$${RANLIB}" \
19357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19363 .PHONY: maybe-TAGS-time TAGS-time
19366 maybe-TAGS-time: TAGS-time
19370 @[ -f ./time/Makefile ] || exit 0; \
19371 r=`${PWD_COMMAND}`; export r; \
19372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19375 for flag in $(EXTRA_HOST_FLAGS) ; do \
19376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19378 echo "Doing TAGS in time" ; \
19380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19382 "RANLIB=$${RANLIB}" \
19383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19389 .PHONY: maybe-install-info-time install-info-time
19390 maybe-install-info-time:
19392 maybe-install-info-time: install-info-time
19394 install-info-time: \
19397 @[ -f ./time/Makefile ] || exit 0; \
19398 r=`${PWD_COMMAND}`; export r; \
19399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19402 for flag in $(EXTRA_HOST_FLAGS) ; do \
19403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19405 echo "Doing install-info in time" ; \
19407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19409 "RANLIB=$${RANLIB}" \
19410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19416 .PHONY: maybe-installcheck-time installcheck-time
19417 maybe-installcheck-time:
19419 maybe-installcheck-time: installcheck-time
19421 installcheck-time: \
19423 @[ -f ./time/Makefile ] || exit 0; \
19424 r=`${PWD_COMMAND}`; export r; \
19425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19428 for flag in $(EXTRA_HOST_FLAGS) ; do \
19429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19431 echo "Doing installcheck in time" ; \
19433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19435 "RANLIB=$${RANLIB}" \
19436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19442 .PHONY: maybe-mostlyclean-time mostlyclean-time
19443 maybe-mostlyclean-time:
19445 maybe-mostlyclean-time: mostlyclean-time
19448 @[ -f ./time/Makefile ] || exit 0; \
19449 r=`${PWD_COMMAND}`; export r; \
19450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19453 for flag in $(EXTRA_HOST_FLAGS) ; do \
19454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19456 echo "Doing mostlyclean in time" ; \
19458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19460 "RANLIB=$${RANLIB}" \
19461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19467 .PHONY: maybe-clean-time clean-time
19470 maybe-clean-time: clean-time
19473 @[ -f ./time/Makefile ] || exit 0; \
19474 r=`${PWD_COMMAND}`; export r; \
19475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19478 for flag in $(EXTRA_HOST_FLAGS) ; do \
19479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19481 echo "Doing clean in time" ; \
19483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19485 "RANLIB=$${RANLIB}" \
19486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19492 .PHONY: maybe-distclean-time distclean-time
19493 maybe-distclean-time:
19495 maybe-distclean-time: distclean-time
19498 @[ -f ./time/Makefile ] || exit 0; \
19499 r=`${PWD_COMMAND}`; export r; \
19500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19503 for flag in $(EXTRA_HOST_FLAGS) ; do \
19504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19506 echo "Doing distclean in time" ; \
19508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19510 "RANLIB=$${RANLIB}" \
19511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19517 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
19518 maybe-maintainer-clean-time:
19520 maybe-maintainer-clean-time: maintainer-clean-time
19522 maintainer-clean-time:
19523 @[ -f ./time/Makefile ] || exit 0; \
19524 r=`${PWD_COMMAND}`; export r; \
19525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19528 for flag in $(EXTRA_HOST_FLAGS) ; do \
19529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19531 echo "Doing maintainer-clean in time" ; \
19533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19535 "RANLIB=$${RANLIB}" \
19536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19537 maintainer-clean) \
19543 .PHONY: configure-uudecode maybe-configure-uudecode
19544 maybe-configure-uudecode:
19546 maybe-configure-uudecode: configure-uudecode
19547 configure-uudecode:
19548 @test ! -f uudecode/Makefile || exit 0; \
19549 [ -d uudecode ] || mkdir uudecode; \
19550 r=`${PWD_COMMAND}`; export r; \
19551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19553 echo Configuring in uudecode; \
19554 cd uudecode || exit 1; \
19555 case $(srcdir) in \
19557 srcdiroption="--srcdir=."; \
19559 /* | [A-Za-z]:[\\/]*) \
19560 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
19561 libsrcdir="$$s/uudecode";; \
19563 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
19564 libsrcdir="$$s/uudecode";; \
19566 $(SHELL) $${libsrcdir}/configure \
19567 $(HOST_CONFIGARGS) $${srcdiroption} \
19571 .PHONY: all-uudecode maybe-all-uudecode
19572 maybe-all-uudecode:
19574 TARGET-uudecode=all
19575 maybe-all-uudecode: all-uudecode
19576 all-uudecode: configure-uudecode
19577 @r=`${PWD_COMMAND}`; export r; \
19578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19581 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) \
19582 $(TARGET-uudecode))
19585 .PHONY: check-uudecode maybe-check-uudecode
19586 maybe-check-uudecode:
19588 maybe-check-uudecode: check-uudecode
19591 @r=`${PWD_COMMAND}`; export r; \
19592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19595 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
19599 .PHONY: install-uudecode maybe-install-uudecode
19600 maybe-install-uudecode:
19602 maybe-install-uudecode: install-uudecode
19604 install-uudecode: installdirs
19605 @r=`${PWD_COMMAND}`; export r; \
19606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19609 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
19613 # Other targets (info, dvi, etc.)
19615 .PHONY: maybe-info-uudecode info-uudecode
19616 maybe-info-uudecode:
19618 maybe-info-uudecode: info-uudecode
19622 @[ -f ./uudecode/Makefile ] || exit 0; \
19623 r=`${PWD_COMMAND}`; export r; \
19624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19627 for flag in $(EXTRA_HOST_FLAGS) ; do \
19628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19630 echo "Doing info in uudecode" ; \
19632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19634 "RANLIB=$${RANLIB}" \
19635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19641 .PHONY: maybe-dvi-uudecode dvi-uudecode
19642 maybe-dvi-uudecode:
19644 maybe-dvi-uudecode: dvi-uudecode
19648 @[ -f ./uudecode/Makefile ] || exit 0; \
19649 r=`${PWD_COMMAND}`; export r; \
19650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19653 for flag in $(EXTRA_HOST_FLAGS) ; do \
19654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19656 echo "Doing dvi in uudecode" ; \
19658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19660 "RANLIB=$${RANLIB}" \
19661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19667 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
19668 maybe-TAGS-uudecode:
19670 maybe-TAGS-uudecode: TAGS-uudecode
19674 @[ -f ./uudecode/Makefile ] || exit 0; \
19675 r=`${PWD_COMMAND}`; export r; \
19676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19679 for flag in $(EXTRA_HOST_FLAGS) ; do \
19680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19682 echo "Doing TAGS in uudecode" ; \
19684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19686 "RANLIB=$${RANLIB}" \
19687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19693 .PHONY: maybe-install-info-uudecode install-info-uudecode
19694 maybe-install-info-uudecode:
19696 maybe-install-info-uudecode: install-info-uudecode
19698 install-info-uudecode: \
19699 configure-uudecode \
19701 @[ -f ./uudecode/Makefile ] || exit 0; \
19702 r=`${PWD_COMMAND}`; export r; \
19703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19706 for flag in $(EXTRA_HOST_FLAGS) ; do \
19707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19709 echo "Doing install-info in uudecode" ; \
19711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19713 "RANLIB=$${RANLIB}" \
19714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19720 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
19721 maybe-installcheck-uudecode:
19723 maybe-installcheck-uudecode: installcheck-uudecode
19725 installcheck-uudecode: \
19727 @[ -f ./uudecode/Makefile ] || exit 0; \
19728 r=`${PWD_COMMAND}`; export r; \
19729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19732 for flag in $(EXTRA_HOST_FLAGS) ; do \
19733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19735 echo "Doing installcheck in uudecode" ; \
19737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19739 "RANLIB=$${RANLIB}" \
19740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19746 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
19747 maybe-mostlyclean-uudecode:
19749 maybe-mostlyclean-uudecode: mostlyclean-uudecode
19751 mostlyclean-uudecode:
19752 @[ -f ./uudecode/Makefile ] || exit 0; \
19753 r=`${PWD_COMMAND}`; export r; \
19754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19757 for flag in $(EXTRA_HOST_FLAGS) ; do \
19758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19760 echo "Doing mostlyclean in uudecode" ; \
19762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19764 "RANLIB=$${RANLIB}" \
19765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19771 .PHONY: maybe-clean-uudecode clean-uudecode
19772 maybe-clean-uudecode:
19774 maybe-clean-uudecode: clean-uudecode
19777 @[ -f ./uudecode/Makefile ] || exit 0; \
19778 r=`${PWD_COMMAND}`; export r; \
19779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19782 for flag in $(EXTRA_HOST_FLAGS) ; do \
19783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19785 echo "Doing clean in uudecode" ; \
19787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19789 "RANLIB=$${RANLIB}" \
19790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19796 .PHONY: maybe-distclean-uudecode distclean-uudecode
19797 maybe-distclean-uudecode:
19799 maybe-distclean-uudecode: distclean-uudecode
19801 distclean-uudecode:
19802 @[ -f ./uudecode/Makefile ] || exit 0; \
19803 r=`${PWD_COMMAND}`; export r; \
19804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19807 for flag in $(EXTRA_HOST_FLAGS) ; do \
19808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19810 echo "Doing distclean in uudecode" ; \
19812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19814 "RANLIB=$${RANLIB}" \
19815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19821 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
19822 maybe-maintainer-clean-uudecode:
19824 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
19826 maintainer-clean-uudecode:
19827 @[ -f ./uudecode/Makefile ] || exit 0; \
19828 r=`${PWD_COMMAND}`; export r; \
19829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19832 for flag in $(EXTRA_HOST_FLAGS) ; do \
19833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19835 echo "Doing maintainer-clean in uudecode" ; \
19837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19839 "RANLIB=$${RANLIB}" \
19840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19841 maintainer-clean) \
19847 .PHONY: configure-wdiff maybe-configure-wdiff
19848 maybe-configure-wdiff:
19850 maybe-configure-wdiff: configure-wdiff
19852 @test ! -f wdiff/Makefile || exit 0; \
19853 [ -d wdiff ] || mkdir wdiff; \
19854 r=`${PWD_COMMAND}`; export r; \
19855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19857 echo Configuring in wdiff; \
19858 cd wdiff || exit 1; \
19859 case $(srcdir) in \
19861 srcdiroption="--srcdir=."; \
19863 /* | [A-Za-z]:[\\/]*) \
19864 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
19865 libsrcdir="$$s/wdiff";; \
19867 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
19868 libsrcdir="$$s/wdiff";; \
19870 $(SHELL) $${libsrcdir}/configure \
19871 $(HOST_CONFIGARGS) $${srcdiroption} \
19875 .PHONY: all-wdiff maybe-all-wdiff
19879 maybe-all-wdiff: all-wdiff
19880 all-wdiff: configure-wdiff
19881 @r=`${PWD_COMMAND}`; export r; \
19882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19885 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) \
19889 .PHONY: check-wdiff maybe-check-wdiff
19892 maybe-check-wdiff: check-wdiff
19895 @r=`${PWD_COMMAND}`; export r; \
19896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19899 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
19903 .PHONY: install-wdiff maybe-install-wdiff
19904 maybe-install-wdiff:
19906 maybe-install-wdiff: install-wdiff
19908 install-wdiff: installdirs
19909 @r=`${PWD_COMMAND}`; export r; \
19910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19913 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
19917 # Other targets (info, dvi, etc.)
19919 .PHONY: maybe-info-wdiff info-wdiff
19922 maybe-info-wdiff: info-wdiff
19926 @[ -f ./wdiff/Makefile ] || exit 0; \
19927 r=`${PWD_COMMAND}`; export r; \
19928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19931 for flag in $(EXTRA_HOST_FLAGS) ; do \
19932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19934 echo "Doing info in wdiff" ; \
19936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19938 "RANLIB=$${RANLIB}" \
19939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19945 .PHONY: maybe-dvi-wdiff dvi-wdiff
19948 maybe-dvi-wdiff: dvi-wdiff
19952 @[ -f ./wdiff/Makefile ] || exit 0; \
19953 r=`${PWD_COMMAND}`; export r; \
19954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19957 for flag in $(EXTRA_HOST_FLAGS) ; do \
19958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19960 echo "Doing dvi in wdiff" ; \
19962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19964 "RANLIB=$${RANLIB}" \
19965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19971 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
19974 maybe-TAGS-wdiff: TAGS-wdiff
19978 @[ -f ./wdiff/Makefile ] || exit 0; \
19979 r=`${PWD_COMMAND}`; export r; \
19980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19983 for flag in $(EXTRA_HOST_FLAGS) ; do \
19984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19986 echo "Doing TAGS in wdiff" ; \
19988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19990 "RANLIB=$${RANLIB}" \
19991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19997 .PHONY: maybe-install-info-wdiff install-info-wdiff
19998 maybe-install-info-wdiff:
20000 maybe-install-info-wdiff: install-info-wdiff
20002 install-info-wdiff: \
20005 @[ -f ./wdiff/Makefile ] || exit 0; \
20006 r=`${PWD_COMMAND}`; export r; \
20007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20010 for flag in $(EXTRA_HOST_FLAGS) ; do \
20011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20013 echo "Doing install-info in wdiff" ; \
20015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20017 "RANLIB=$${RANLIB}" \
20018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20024 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
20025 maybe-installcheck-wdiff:
20027 maybe-installcheck-wdiff: installcheck-wdiff
20029 installcheck-wdiff: \
20031 @[ -f ./wdiff/Makefile ] || exit 0; \
20032 r=`${PWD_COMMAND}`; export r; \
20033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20036 for flag in $(EXTRA_HOST_FLAGS) ; do \
20037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20039 echo "Doing installcheck in wdiff" ; \
20041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20043 "RANLIB=$${RANLIB}" \
20044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20050 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
20051 maybe-mostlyclean-wdiff:
20053 maybe-mostlyclean-wdiff: mostlyclean-wdiff
20056 @[ -f ./wdiff/Makefile ] || exit 0; \
20057 r=`${PWD_COMMAND}`; export r; \
20058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20061 for flag in $(EXTRA_HOST_FLAGS) ; do \
20062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20064 echo "Doing mostlyclean in wdiff" ; \
20066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20068 "RANLIB=$${RANLIB}" \
20069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20075 .PHONY: maybe-clean-wdiff clean-wdiff
20078 maybe-clean-wdiff: clean-wdiff
20081 @[ -f ./wdiff/Makefile ] || exit 0; \
20082 r=`${PWD_COMMAND}`; export r; \
20083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20086 for flag in $(EXTRA_HOST_FLAGS) ; do \
20087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20089 echo "Doing clean in wdiff" ; \
20091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20093 "RANLIB=$${RANLIB}" \
20094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20100 .PHONY: maybe-distclean-wdiff distclean-wdiff
20101 maybe-distclean-wdiff:
20103 maybe-distclean-wdiff: distclean-wdiff
20106 @[ -f ./wdiff/Makefile ] || exit 0; \
20107 r=`${PWD_COMMAND}`; export r; \
20108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20111 for flag in $(EXTRA_HOST_FLAGS) ; do \
20112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20114 echo "Doing distclean in wdiff" ; \
20116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20118 "RANLIB=$${RANLIB}" \
20119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20125 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
20126 maybe-maintainer-clean-wdiff:
20128 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
20130 maintainer-clean-wdiff:
20131 @[ -f ./wdiff/Makefile ] || exit 0; \
20132 r=`${PWD_COMMAND}`; export r; \
20133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20136 for flag in $(EXTRA_HOST_FLAGS) ; do \
20137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20139 echo "Doing maintainer-clean in wdiff" ; \
20141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20143 "RANLIB=$${RANLIB}" \
20144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20145 maintainer-clean) \
20151 .PHONY: configure-zip maybe-configure-zip
20152 maybe-configure-zip:
20154 maybe-configure-zip: configure-zip
20156 @test ! -f zip/Makefile || exit 0; \
20157 [ -d zip ] || mkdir zip; \
20158 r=`${PWD_COMMAND}`; export r; \
20159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20161 echo Configuring in zip; \
20162 cd zip || exit 1; \
20163 case $(srcdir) in \
20165 srcdiroption="--srcdir=."; \
20167 /* | [A-Za-z]:[\\/]*) \
20168 srcdiroption="--srcdir=$(srcdir)/zip"; \
20169 libsrcdir="$$s/zip";; \
20171 srcdiroption="--srcdir=../$(srcdir)/zip"; \
20172 libsrcdir="$$s/zip";; \
20174 $(SHELL) $${libsrcdir}/configure \
20175 $(HOST_CONFIGARGS) $${srcdiroption} \
20179 .PHONY: all-zip maybe-all-zip
20183 maybe-all-zip: all-zip
20184 all-zip: configure-zip
20185 @r=`${PWD_COMMAND}`; export r; \
20186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20189 (cd zip && $(MAKE) $(FLAGS_TO_PASS) \
20193 .PHONY: check-zip maybe-check-zip
20196 maybe-check-zip: check-zip
20198 # This module is only tested in a native toolchain.
20200 @if [ '$(host)' = '$(target)' ] ; then \
20201 r=`${PWD_COMMAND}`; export r; \
20202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20205 (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \
20210 .PHONY: install-zip maybe-install-zip
20213 maybe-install-zip: install-zip
20215 install-zip: installdirs
20216 @r=`${PWD_COMMAND}`; export r; \
20217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20220 (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
20224 # Other targets (info, dvi, etc.)
20226 .PHONY: maybe-info-zip info-zip
20229 maybe-info-zip: info-zip
20233 @[ -f ./zip/Makefile ] || exit 0; \
20234 r=`${PWD_COMMAND}`; export r; \
20235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20238 for flag in $(EXTRA_HOST_FLAGS) ; do \
20239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20241 echo "Doing info in zip" ; \
20243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20245 "RANLIB=$${RANLIB}" \
20246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20252 .PHONY: maybe-dvi-zip dvi-zip
20255 maybe-dvi-zip: dvi-zip
20259 @[ -f ./zip/Makefile ] || exit 0; \
20260 r=`${PWD_COMMAND}`; export r; \
20261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20264 for flag in $(EXTRA_HOST_FLAGS) ; do \
20265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20267 echo "Doing dvi in zip" ; \
20269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20271 "RANLIB=$${RANLIB}" \
20272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20278 .PHONY: maybe-TAGS-zip TAGS-zip
20281 maybe-TAGS-zip: TAGS-zip
20285 @[ -f ./zip/Makefile ] || exit 0; \
20286 r=`${PWD_COMMAND}`; export r; \
20287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20290 for flag in $(EXTRA_HOST_FLAGS) ; do \
20291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20293 echo "Doing TAGS in zip" ; \
20295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20297 "RANLIB=$${RANLIB}" \
20298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20304 .PHONY: maybe-install-info-zip install-info-zip
20305 maybe-install-info-zip:
20307 maybe-install-info-zip: install-info-zip
20309 install-info-zip: \
20312 @[ -f ./zip/Makefile ] || exit 0; \
20313 r=`${PWD_COMMAND}`; export r; \
20314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20317 for flag in $(EXTRA_HOST_FLAGS) ; do \
20318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20320 echo "Doing install-info in zip" ; \
20322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20324 "RANLIB=$${RANLIB}" \
20325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20331 .PHONY: maybe-installcheck-zip installcheck-zip
20332 maybe-installcheck-zip:
20334 maybe-installcheck-zip: installcheck-zip
20336 installcheck-zip: \
20338 @[ -f ./zip/Makefile ] || exit 0; \
20339 r=`${PWD_COMMAND}`; export r; \
20340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20343 for flag in $(EXTRA_HOST_FLAGS) ; do \
20344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20346 echo "Doing installcheck in zip" ; \
20348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20350 "RANLIB=$${RANLIB}" \
20351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20357 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
20358 maybe-mostlyclean-zip:
20360 maybe-mostlyclean-zip: mostlyclean-zip
20363 @[ -f ./zip/Makefile ] || exit 0; \
20364 r=`${PWD_COMMAND}`; export r; \
20365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20368 for flag in $(EXTRA_HOST_FLAGS) ; do \
20369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20371 echo "Doing mostlyclean in zip" ; \
20373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20375 "RANLIB=$${RANLIB}" \
20376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20382 .PHONY: maybe-clean-zip clean-zip
20385 maybe-clean-zip: clean-zip
20388 @[ -f ./zip/Makefile ] || exit 0; \
20389 r=`${PWD_COMMAND}`; export r; \
20390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20393 for flag in $(EXTRA_HOST_FLAGS) ; do \
20394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20396 echo "Doing clean in zip" ; \
20398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20400 "RANLIB=$${RANLIB}" \
20401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20407 .PHONY: maybe-distclean-zip distclean-zip
20408 maybe-distclean-zip:
20410 maybe-distclean-zip: distclean-zip
20413 @[ -f ./zip/Makefile ] || exit 0; \
20414 r=`${PWD_COMMAND}`; export r; \
20415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20418 for flag in $(EXTRA_HOST_FLAGS) ; do \
20419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20421 echo "Doing distclean in zip" ; \
20423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20425 "RANLIB=$${RANLIB}" \
20426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20432 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
20433 maybe-maintainer-clean-zip:
20435 maybe-maintainer-clean-zip: maintainer-clean-zip
20437 maintainer-clean-zip:
20438 @[ -f ./zip/Makefile ] || exit 0; \
20439 r=`${PWD_COMMAND}`; export r; \
20440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20443 for flag in $(EXTRA_HOST_FLAGS) ; do \
20444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20446 echo "Doing maintainer-clean in zip" ; \
20448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20450 "RANLIB=$${RANLIB}" \
20451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20452 maintainer-clean) \
20458 .PHONY: configure-zlib maybe-configure-zlib
20459 maybe-configure-zlib:
20461 maybe-configure-zlib: configure-zlib
20463 @test -f stage_last && exit 0; \
20464 test ! -f zlib/Makefile || exit 0; \
20465 [ -d zlib ] || mkdir zlib; \
20466 r=`${PWD_COMMAND}`; export r; \
20467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20469 echo Configuring in zlib; \
20470 cd zlib || exit 1; \
20471 case $(srcdir) in \
20473 srcdiroption="--srcdir=."; \
20475 /* | [A-Za-z]:[\\/]*) \
20476 srcdiroption="--srcdir=$(srcdir)/zlib"; \
20477 libsrcdir="$$s/zlib";; \
20479 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
20480 libsrcdir="$$s/zlib";; \
20482 $(SHELL) $${libsrcdir}/configure \
20483 $(HOST_CONFIGARGS) $${srcdiroption} \
20487 .PHONY: all-zlib maybe-all-zlib
20491 maybe-all-zlib: all-zlib
20492 all-zlib: configure-zlib
20493 @test -f stage_last && exit 0; \
20494 r=`${PWD_COMMAND}`; export r; \
20495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20498 (cd zlib && $(MAKE) $(FLAGS_TO_PASS) \
20502 .PHONY: check-zlib maybe-check-zlib
20505 maybe-check-zlib: check-zlib
20511 .PHONY: install-zlib maybe-install-zlib
20512 maybe-install-zlib:
20514 maybe-install-zlib: install-zlib
20520 # Other targets (info, dvi, etc.)
20522 .PHONY: maybe-info-zlib info-zlib
20525 maybe-info-zlib: info-zlib
20529 @[ -f ./zlib/Makefile ] || exit 0; \
20530 r=`${PWD_COMMAND}`; export r; \
20531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20534 for flag in $(EXTRA_HOST_FLAGS) ; do \
20535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20537 echo "Doing info in zlib" ; \
20539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20541 "RANLIB=$${RANLIB}" \
20542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20548 .PHONY: maybe-dvi-zlib dvi-zlib
20551 maybe-dvi-zlib: dvi-zlib
20555 @[ -f ./zlib/Makefile ] || exit 0; \
20556 r=`${PWD_COMMAND}`; export r; \
20557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20560 for flag in $(EXTRA_HOST_FLAGS) ; do \
20561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20563 echo "Doing dvi in zlib" ; \
20565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20567 "RANLIB=$${RANLIB}" \
20568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20574 .PHONY: maybe-TAGS-zlib TAGS-zlib
20577 maybe-TAGS-zlib: TAGS-zlib
20581 @[ -f ./zlib/Makefile ] || exit 0; \
20582 r=`${PWD_COMMAND}`; export r; \
20583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20586 for flag in $(EXTRA_HOST_FLAGS) ; do \
20587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20589 echo "Doing TAGS in zlib" ; \
20591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20593 "RANLIB=$${RANLIB}" \
20594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20600 .PHONY: maybe-install-info-zlib install-info-zlib
20601 maybe-install-info-zlib:
20603 maybe-install-info-zlib: install-info-zlib
20605 install-info-zlib: \
20608 @[ -f ./zlib/Makefile ] || exit 0; \
20609 r=`${PWD_COMMAND}`; export r; \
20610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20613 for flag in $(EXTRA_HOST_FLAGS) ; do \
20614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20616 echo "Doing install-info in zlib" ; \
20618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20620 "RANLIB=$${RANLIB}" \
20621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20627 .PHONY: maybe-installcheck-zlib installcheck-zlib
20628 maybe-installcheck-zlib:
20630 maybe-installcheck-zlib: installcheck-zlib
20632 installcheck-zlib: \
20634 @[ -f ./zlib/Makefile ] || exit 0; \
20635 r=`${PWD_COMMAND}`; export r; \
20636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20639 for flag in $(EXTRA_HOST_FLAGS) ; do \
20640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20642 echo "Doing installcheck in zlib" ; \
20644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20646 "RANLIB=$${RANLIB}" \
20647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20653 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
20654 maybe-mostlyclean-zlib:
20656 maybe-mostlyclean-zlib: mostlyclean-zlib
20659 @[ -f ./zlib/Makefile ] || exit 0; \
20660 r=`${PWD_COMMAND}`; export r; \
20661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20664 for flag in $(EXTRA_HOST_FLAGS) ; do \
20665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20667 echo "Doing mostlyclean in zlib" ; \
20669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20671 "RANLIB=$${RANLIB}" \
20672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20678 .PHONY: maybe-clean-zlib clean-zlib
20681 maybe-clean-zlib: clean-zlib
20684 @[ -f ./zlib/Makefile ] || exit 0; \
20685 r=`${PWD_COMMAND}`; export r; \
20686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20689 for flag in $(EXTRA_HOST_FLAGS) ; do \
20690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20692 echo "Doing clean in zlib" ; \
20694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20696 "RANLIB=$${RANLIB}" \
20697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20703 .PHONY: maybe-distclean-zlib distclean-zlib
20704 maybe-distclean-zlib:
20706 maybe-distclean-zlib: distclean-zlib
20709 @[ -f ./zlib/Makefile ] || exit 0; \
20710 r=`${PWD_COMMAND}`; export r; \
20711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20714 for flag in $(EXTRA_HOST_FLAGS) ; do \
20715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20717 echo "Doing distclean in zlib" ; \
20719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20721 "RANLIB=$${RANLIB}" \
20722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20728 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
20729 maybe-maintainer-clean-zlib:
20731 maybe-maintainer-clean-zlib: maintainer-clean-zlib
20733 maintainer-clean-zlib:
20734 @[ -f ./zlib/Makefile ] || exit 0; \
20735 r=`${PWD_COMMAND}`; export r; \
20736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20739 for flag in $(EXTRA_HOST_FLAGS) ; do \
20740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20742 echo "Doing maintainer-clean in zlib" ; \
20744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20746 "RANLIB=$${RANLIB}" \
20747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20748 maintainer-clean) \
20754 .PHONY: configure-gdb maybe-configure-gdb
20755 maybe-configure-gdb:
20757 maybe-configure-gdb: configure-gdb
20759 @test ! -f gdb/Makefile || exit 0; \
20760 [ -d gdb ] || mkdir gdb; \
20761 r=`${PWD_COMMAND}`; export r; \
20762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20764 echo Configuring in gdb; \
20765 cd gdb || exit 1; \
20766 case $(srcdir) in \
20768 srcdiroption="--srcdir=."; \
20770 /* | [A-Za-z]:[\\/]*) \
20771 srcdiroption="--srcdir=$(srcdir)/gdb"; \
20772 libsrcdir="$$s/gdb";; \
20774 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
20775 libsrcdir="$$s/gdb";; \
20777 $(SHELL) $${libsrcdir}/configure \
20778 $(HOST_CONFIGARGS) $${srcdiroption} \
20782 .PHONY: all-gdb maybe-all-gdb
20786 maybe-all-gdb: all-gdb
20787 all-gdb: configure-gdb
20788 @r=`${PWD_COMMAND}`; export r; \
20789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20792 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
20796 .PHONY: check-gdb maybe-check-gdb
20799 maybe-check-gdb: check-gdb
20802 @r=`${PWD_COMMAND}`; export r; \
20803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20806 (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
20810 .PHONY: install-gdb maybe-install-gdb
20813 maybe-install-gdb: install-gdb
20815 install-gdb: installdirs
20816 @r=`${PWD_COMMAND}`; export r; \
20817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20820 (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
20824 # Other targets (info, dvi, etc.)
20826 .PHONY: maybe-info-gdb info-gdb
20829 maybe-info-gdb: info-gdb
20833 @[ -f ./gdb/Makefile ] || exit 0; \
20834 r=`${PWD_COMMAND}`; export r; \
20835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20838 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20841 echo "Doing info in gdb" ; \
20843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20845 "RANLIB=$${RANLIB}" \
20846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20852 .PHONY: maybe-dvi-gdb dvi-gdb
20855 maybe-dvi-gdb: dvi-gdb
20859 @[ -f ./gdb/Makefile ] || exit 0; \
20860 r=`${PWD_COMMAND}`; export r; \
20861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20864 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20867 echo "Doing dvi in gdb" ; \
20869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20871 "RANLIB=$${RANLIB}" \
20872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20878 .PHONY: maybe-TAGS-gdb TAGS-gdb
20881 maybe-TAGS-gdb: TAGS-gdb
20885 @[ -f ./gdb/Makefile ] || exit 0; \
20886 r=`${PWD_COMMAND}`; export r; \
20887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20890 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20893 echo "Doing TAGS in gdb" ; \
20895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20897 "RANLIB=$${RANLIB}" \
20898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20904 .PHONY: maybe-install-info-gdb install-info-gdb
20905 maybe-install-info-gdb:
20907 maybe-install-info-gdb: install-info-gdb
20909 install-info-gdb: \
20912 @[ -f ./gdb/Makefile ] || exit 0; \
20913 r=`${PWD_COMMAND}`; export r; \
20914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20917 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20920 echo "Doing install-info in gdb" ; \
20922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20924 "RANLIB=$${RANLIB}" \
20925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20931 .PHONY: maybe-installcheck-gdb installcheck-gdb
20932 maybe-installcheck-gdb:
20934 maybe-installcheck-gdb: installcheck-gdb
20936 installcheck-gdb: \
20938 @[ -f ./gdb/Makefile ] || exit 0; \
20939 r=`${PWD_COMMAND}`; export r; \
20940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20943 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20946 echo "Doing installcheck in gdb" ; \
20948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20950 "RANLIB=$${RANLIB}" \
20951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20957 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
20958 maybe-mostlyclean-gdb:
20960 maybe-mostlyclean-gdb: mostlyclean-gdb
20963 @[ -f ./gdb/Makefile ] || exit 0; \
20964 r=`${PWD_COMMAND}`; export r; \
20965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20968 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20971 echo "Doing mostlyclean in gdb" ; \
20973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20975 "RANLIB=$${RANLIB}" \
20976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20982 .PHONY: maybe-clean-gdb clean-gdb
20985 maybe-clean-gdb: clean-gdb
20988 @[ -f ./gdb/Makefile ] || exit 0; \
20989 r=`${PWD_COMMAND}`; export r; \
20990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20993 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20996 echo "Doing clean in gdb" ; \
20998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21000 "RANLIB=$${RANLIB}" \
21001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21007 .PHONY: maybe-distclean-gdb distclean-gdb
21008 maybe-distclean-gdb:
21010 maybe-distclean-gdb: distclean-gdb
21013 @[ -f ./gdb/Makefile ] || exit 0; \
21014 r=`${PWD_COMMAND}`; export r; \
21015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21018 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21021 echo "Doing distclean in gdb" ; \
21023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21025 "RANLIB=$${RANLIB}" \
21026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21032 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
21033 maybe-maintainer-clean-gdb:
21035 maybe-maintainer-clean-gdb: maintainer-clean-gdb
21037 maintainer-clean-gdb:
21038 @[ -f ./gdb/Makefile ] || exit 0; \
21039 r=`${PWD_COMMAND}`; export r; \
21040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21043 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21046 echo "Doing maintainer-clean in gdb" ; \
21048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21050 "RANLIB=$${RANLIB}" \
21051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21052 maintainer-clean) \
21058 .PHONY: configure-expect maybe-configure-expect
21059 maybe-configure-expect:
21061 maybe-configure-expect: configure-expect
21063 @test ! -f expect/Makefile || exit 0; \
21064 [ -d expect ] || mkdir expect; \
21065 r=`${PWD_COMMAND}`; export r; \
21066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21068 echo Configuring in expect; \
21069 cd expect || exit 1; \
21070 case $(srcdir) in \
21072 srcdiroption="--srcdir=."; \
21074 /* | [A-Za-z]:[\\/]*) \
21075 srcdiroption="--srcdir=$(srcdir)/expect"; \
21076 libsrcdir="$$s/expect";; \
21078 srcdiroption="--srcdir=../$(srcdir)/expect"; \
21079 libsrcdir="$$s/expect";; \
21081 $(SHELL) $${libsrcdir}/configure \
21082 $(HOST_CONFIGARGS) $${srcdiroption} \
21086 .PHONY: all-expect maybe-all-expect
21090 maybe-all-expect: all-expect
21091 all-expect: configure-expect
21092 @r=`${PWD_COMMAND}`; export r; \
21093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21096 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
21100 .PHONY: check-expect maybe-check-expect
21101 maybe-check-expect:
21103 maybe-check-expect: check-expect
21106 @r=`${PWD_COMMAND}`; export r; \
21107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21110 (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
21114 .PHONY: install-expect maybe-install-expect
21115 maybe-install-expect:
21117 maybe-install-expect: install-expect
21119 install-expect: installdirs
21120 @r=`${PWD_COMMAND}`; export r; \
21121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21124 (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
21128 # Other targets (info, dvi, etc.)
21130 .PHONY: maybe-info-expect info-expect
21133 maybe-info-expect: info-expect
21137 @[ -f ./expect/Makefile ] || exit 0; \
21138 r=`${PWD_COMMAND}`; export r; \
21139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21142 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21145 echo "Doing info in expect" ; \
21147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21149 "RANLIB=$${RANLIB}" \
21150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21156 .PHONY: maybe-dvi-expect dvi-expect
21159 maybe-dvi-expect: dvi-expect
21163 @[ -f ./expect/Makefile ] || exit 0; \
21164 r=`${PWD_COMMAND}`; export r; \
21165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21168 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21171 echo "Doing dvi in expect" ; \
21173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21175 "RANLIB=$${RANLIB}" \
21176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21182 .PHONY: maybe-TAGS-expect TAGS-expect
21185 maybe-TAGS-expect: TAGS-expect
21189 @[ -f ./expect/Makefile ] || exit 0; \
21190 r=`${PWD_COMMAND}`; export r; \
21191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21194 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21197 echo "Doing TAGS in expect" ; \
21199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21201 "RANLIB=$${RANLIB}" \
21202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21208 .PHONY: maybe-install-info-expect install-info-expect
21209 maybe-install-info-expect:
21211 maybe-install-info-expect: install-info-expect
21213 install-info-expect: \
21216 @[ -f ./expect/Makefile ] || exit 0; \
21217 r=`${PWD_COMMAND}`; export r; \
21218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21221 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21224 echo "Doing install-info in expect" ; \
21226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21228 "RANLIB=$${RANLIB}" \
21229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21235 .PHONY: maybe-installcheck-expect installcheck-expect
21236 maybe-installcheck-expect:
21238 maybe-installcheck-expect: installcheck-expect
21240 installcheck-expect: \
21242 @[ -f ./expect/Makefile ] || exit 0; \
21243 r=`${PWD_COMMAND}`; export r; \
21244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21247 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21250 echo "Doing installcheck in expect" ; \
21252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21254 "RANLIB=$${RANLIB}" \
21255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21261 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
21262 maybe-mostlyclean-expect:
21264 maybe-mostlyclean-expect: mostlyclean-expect
21266 mostlyclean-expect:
21267 @[ -f ./expect/Makefile ] || exit 0; \
21268 r=`${PWD_COMMAND}`; export r; \
21269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21272 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21275 echo "Doing mostlyclean in expect" ; \
21277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21279 "RANLIB=$${RANLIB}" \
21280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21286 .PHONY: maybe-clean-expect clean-expect
21287 maybe-clean-expect:
21289 maybe-clean-expect: clean-expect
21292 @[ -f ./expect/Makefile ] || exit 0; \
21293 r=`${PWD_COMMAND}`; export r; \
21294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21297 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21300 echo "Doing clean in expect" ; \
21302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21304 "RANLIB=$${RANLIB}" \
21305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21311 .PHONY: maybe-distclean-expect distclean-expect
21312 maybe-distclean-expect:
21314 maybe-distclean-expect: distclean-expect
21317 @[ -f ./expect/Makefile ] || exit 0; \
21318 r=`${PWD_COMMAND}`; export r; \
21319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21322 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21325 echo "Doing distclean in expect" ; \
21327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21329 "RANLIB=$${RANLIB}" \
21330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21336 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
21337 maybe-maintainer-clean-expect:
21339 maybe-maintainer-clean-expect: maintainer-clean-expect
21341 maintainer-clean-expect:
21342 @[ -f ./expect/Makefile ] || exit 0; \
21343 r=`${PWD_COMMAND}`; export r; \
21344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21347 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21350 echo "Doing maintainer-clean in expect" ; \
21352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21354 "RANLIB=$${RANLIB}" \
21355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21356 maintainer-clean) \
21362 .PHONY: configure-guile maybe-configure-guile
21363 maybe-configure-guile:
21365 maybe-configure-guile: configure-guile
21367 @test ! -f guile/Makefile || exit 0; \
21368 [ -d guile ] || mkdir guile; \
21369 r=`${PWD_COMMAND}`; export r; \
21370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21372 echo Configuring in guile; \
21373 cd guile || exit 1; \
21374 case $(srcdir) in \
21376 srcdiroption="--srcdir=."; \
21378 /* | [A-Za-z]:[\\/]*) \
21379 srcdiroption="--srcdir=$(srcdir)/guile"; \
21380 libsrcdir="$$s/guile";; \
21382 srcdiroption="--srcdir=../$(srcdir)/guile"; \
21383 libsrcdir="$$s/guile";; \
21385 $(SHELL) $${libsrcdir}/configure \
21386 $(HOST_CONFIGARGS) $${srcdiroption} \
21390 .PHONY: all-guile maybe-all-guile
21394 maybe-all-guile: all-guile
21395 all-guile: configure-guile
21396 @r=`${PWD_COMMAND}`; export r; \
21397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21400 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
21404 .PHONY: check-guile maybe-check-guile
21407 maybe-check-guile: check-guile
21410 @r=`${PWD_COMMAND}`; export r; \
21411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21414 (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
21418 .PHONY: install-guile maybe-install-guile
21419 maybe-install-guile:
21421 maybe-install-guile: install-guile
21423 install-guile: installdirs
21424 @r=`${PWD_COMMAND}`; export r; \
21425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21428 (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
21432 # Other targets (info, dvi, etc.)
21434 .PHONY: maybe-info-guile info-guile
21437 maybe-info-guile: info-guile
21441 @[ -f ./guile/Makefile ] || exit 0; \
21442 r=`${PWD_COMMAND}`; export r; \
21443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21446 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21449 echo "Doing info in guile" ; \
21451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21453 "RANLIB=$${RANLIB}" \
21454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21460 .PHONY: maybe-dvi-guile dvi-guile
21463 maybe-dvi-guile: dvi-guile
21467 @[ -f ./guile/Makefile ] || exit 0; \
21468 r=`${PWD_COMMAND}`; export r; \
21469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21472 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21475 echo "Doing dvi in guile" ; \
21477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21479 "RANLIB=$${RANLIB}" \
21480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21486 .PHONY: maybe-TAGS-guile TAGS-guile
21489 maybe-TAGS-guile: TAGS-guile
21493 @[ -f ./guile/Makefile ] || exit 0; \
21494 r=`${PWD_COMMAND}`; export r; \
21495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21498 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21501 echo "Doing TAGS in guile" ; \
21503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21505 "RANLIB=$${RANLIB}" \
21506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21512 .PHONY: maybe-install-info-guile install-info-guile
21513 maybe-install-info-guile:
21515 maybe-install-info-guile: install-info-guile
21517 install-info-guile: \
21520 @[ -f ./guile/Makefile ] || exit 0; \
21521 r=`${PWD_COMMAND}`; export r; \
21522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21525 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21528 echo "Doing install-info in guile" ; \
21530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21532 "RANLIB=$${RANLIB}" \
21533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21539 .PHONY: maybe-installcheck-guile installcheck-guile
21540 maybe-installcheck-guile:
21542 maybe-installcheck-guile: installcheck-guile
21544 installcheck-guile: \
21546 @[ -f ./guile/Makefile ] || exit 0; \
21547 r=`${PWD_COMMAND}`; export r; \
21548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21551 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21554 echo "Doing installcheck in guile" ; \
21556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21558 "RANLIB=$${RANLIB}" \
21559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21565 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
21566 maybe-mostlyclean-guile:
21568 maybe-mostlyclean-guile: mostlyclean-guile
21571 @[ -f ./guile/Makefile ] || exit 0; \
21572 r=`${PWD_COMMAND}`; export r; \
21573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21576 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21579 echo "Doing mostlyclean in guile" ; \
21581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21583 "RANLIB=$${RANLIB}" \
21584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21590 .PHONY: maybe-clean-guile clean-guile
21593 maybe-clean-guile: clean-guile
21596 @[ -f ./guile/Makefile ] || exit 0; \
21597 r=`${PWD_COMMAND}`; export r; \
21598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21601 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21604 echo "Doing clean in guile" ; \
21606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21608 "RANLIB=$${RANLIB}" \
21609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21615 .PHONY: maybe-distclean-guile distclean-guile
21616 maybe-distclean-guile:
21618 maybe-distclean-guile: distclean-guile
21621 @[ -f ./guile/Makefile ] || exit 0; \
21622 r=`${PWD_COMMAND}`; export r; \
21623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21626 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21629 echo "Doing distclean in guile" ; \
21631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21633 "RANLIB=$${RANLIB}" \
21634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21640 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
21641 maybe-maintainer-clean-guile:
21643 maybe-maintainer-clean-guile: maintainer-clean-guile
21645 maintainer-clean-guile:
21646 @[ -f ./guile/Makefile ] || exit 0; \
21647 r=`${PWD_COMMAND}`; export r; \
21648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21651 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21654 echo "Doing maintainer-clean in guile" ; \
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}" \
21660 maintainer-clean) \
21666 .PHONY: configure-tk maybe-configure-tk
21667 maybe-configure-tk:
21669 maybe-configure-tk: configure-tk
21671 @test ! -f tk/Makefile || exit 0; \
21672 [ -d tk ] || mkdir tk; \
21673 r=`${PWD_COMMAND}`; export r; \
21674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21676 echo Configuring in tk; \
21678 case $(srcdir) in \
21680 srcdiroption="--srcdir=."; \
21682 /* | [A-Za-z]:[\\/]*) \
21683 srcdiroption="--srcdir=$(srcdir)/tk"; \
21684 libsrcdir="$$s/tk";; \
21686 srcdiroption="--srcdir=../$(srcdir)/tk"; \
21687 libsrcdir="$$s/tk";; \
21689 $(SHELL) $${libsrcdir}/configure \
21690 $(HOST_CONFIGARGS) $${srcdiroption} \
21694 .PHONY: all-tk maybe-all-tk
21698 maybe-all-tk: all-tk
21699 all-tk: configure-tk
21700 @r=`${PWD_COMMAND}`; export r; \
21701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21704 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
21708 .PHONY: check-tk maybe-check-tk
21711 maybe-check-tk: check-tk
21714 @r=`${PWD_COMMAND}`; export r; \
21715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21718 (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
21722 .PHONY: install-tk maybe-install-tk
21725 maybe-install-tk: install-tk
21727 install-tk: installdirs
21728 @r=`${PWD_COMMAND}`; export r; \
21729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21732 (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
21736 # Other targets (info, dvi, etc.)
21738 .PHONY: maybe-info-tk info-tk
21741 maybe-info-tk: info-tk
21745 @[ -f ./tk/Makefile ] || exit 0; \
21746 r=`${PWD_COMMAND}`; export r; \
21747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21750 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21753 echo "Doing info in tk" ; \
21755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21757 "RANLIB=$${RANLIB}" \
21758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21764 .PHONY: maybe-dvi-tk dvi-tk
21767 maybe-dvi-tk: dvi-tk
21771 @[ -f ./tk/Makefile ] || exit 0; \
21772 r=`${PWD_COMMAND}`; export r; \
21773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21776 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21779 echo "Doing dvi in tk" ; \
21781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21783 "RANLIB=$${RANLIB}" \
21784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21790 .PHONY: maybe-TAGS-tk TAGS-tk
21793 maybe-TAGS-tk: TAGS-tk
21797 @[ -f ./tk/Makefile ] || exit 0; \
21798 r=`${PWD_COMMAND}`; export r; \
21799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21802 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21805 echo "Doing TAGS in tk" ; \
21807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21809 "RANLIB=$${RANLIB}" \
21810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21816 .PHONY: maybe-install-info-tk install-info-tk
21817 maybe-install-info-tk:
21819 maybe-install-info-tk: install-info-tk
21824 @[ -f ./tk/Makefile ] || exit 0; \
21825 r=`${PWD_COMMAND}`; export r; \
21826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21829 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21832 echo "Doing install-info in tk" ; \
21834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21836 "RANLIB=$${RANLIB}" \
21837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21843 .PHONY: maybe-installcheck-tk installcheck-tk
21844 maybe-installcheck-tk:
21846 maybe-installcheck-tk: installcheck-tk
21850 @[ -f ./tk/Makefile ] || exit 0; \
21851 r=`${PWD_COMMAND}`; export r; \
21852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21855 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21858 echo "Doing installcheck in tk" ; \
21860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21862 "RANLIB=$${RANLIB}" \
21863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21869 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
21870 maybe-mostlyclean-tk:
21872 maybe-mostlyclean-tk: mostlyclean-tk
21875 @[ -f ./tk/Makefile ] || exit 0; \
21876 r=`${PWD_COMMAND}`; export r; \
21877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21880 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21883 echo "Doing mostlyclean in tk" ; \
21885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21887 "RANLIB=$${RANLIB}" \
21888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21894 .PHONY: maybe-clean-tk clean-tk
21897 maybe-clean-tk: clean-tk
21900 @[ -f ./tk/Makefile ] || exit 0; \
21901 r=`${PWD_COMMAND}`; export r; \
21902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21905 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21908 echo "Doing clean in tk" ; \
21910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21912 "RANLIB=$${RANLIB}" \
21913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21919 .PHONY: maybe-distclean-tk distclean-tk
21920 maybe-distclean-tk:
21922 maybe-distclean-tk: distclean-tk
21925 @[ -f ./tk/Makefile ] || exit 0; \
21926 r=`${PWD_COMMAND}`; export r; \
21927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21930 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21933 echo "Doing distclean in tk" ; \
21935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21937 "RANLIB=$${RANLIB}" \
21938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21944 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
21945 maybe-maintainer-clean-tk:
21947 maybe-maintainer-clean-tk: maintainer-clean-tk
21949 maintainer-clean-tk:
21950 @[ -f ./tk/Makefile ] || exit 0; \
21951 r=`${PWD_COMMAND}`; export r; \
21952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21955 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21958 echo "Doing maintainer-clean in tk" ; \
21960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21962 "RANLIB=$${RANLIB}" \
21963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21964 maintainer-clean) \
21970 .PHONY: configure-libtermcap maybe-configure-libtermcap
21971 maybe-configure-libtermcap:
21973 maybe-configure-libtermcap: configure-libtermcap
21974 configure-libtermcap:
21975 @test ! -f libtermcap/Makefile || exit 0; \
21976 [ -d libtermcap ] || mkdir libtermcap; \
21977 r=`${PWD_COMMAND}`; export r; \
21978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21980 echo Configuring in libtermcap; \
21981 cd libtermcap || exit 1; \
21982 case $(srcdir) in \
21984 srcdiroption="--srcdir=."; \
21986 /* | [A-Za-z]:[\\/]*) \
21987 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
21988 libsrcdir="$$s/libtermcap";; \
21990 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
21991 libsrcdir="$$s/libtermcap";; \
21993 $(SHELL) $${libsrcdir}/configure \
21994 $(HOST_CONFIGARGS) $${srcdiroption} \
21998 .PHONY: all-libtermcap maybe-all-libtermcap
21999 maybe-all-libtermcap:
22001 TARGET-libtermcap=all
22002 maybe-all-libtermcap: all-libtermcap
22003 all-libtermcap: configure-libtermcap
22004 @r=`${PWD_COMMAND}`; export r; \
22005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22008 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) \
22009 $(TARGET-libtermcap))
22012 .PHONY: check-libtermcap maybe-check-libtermcap
22013 maybe-check-libtermcap:
22015 maybe-check-libtermcap: check-libtermcap
22021 .PHONY: install-libtermcap maybe-install-libtermcap
22022 maybe-install-libtermcap:
22024 maybe-install-libtermcap: install-libtermcap
22026 install-libtermcap: installdirs
22027 @r=`${PWD_COMMAND}`; export r; \
22028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22031 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
22035 # Other targets (info, dvi, etc.)
22037 .PHONY: maybe-info-libtermcap info-libtermcap
22038 maybe-info-libtermcap:
22040 maybe-info-libtermcap: info-libtermcap
22043 configure-libtermcap
22044 @[ -f ./libtermcap/Makefile ] || exit 0; \
22045 r=`${PWD_COMMAND}`; export r; \
22046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22049 for flag in $(EXTRA_HOST_FLAGS) ; do \
22050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22052 echo "Doing info in libtermcap" ; \
22053 (cd libtermcap && \
22054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22056 "RANLIB=$${RANLIB}" \
22057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22063 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
22064 maybe-dvi-libtermcap:
22066 maybe-dvi-libtermcap: dvi-libtermcap
22069 configure-libtermcap
22070 @[ -f ./libtermcap/Makefile ] || exit 0; \
22071 r=`${PWD_COMMAND}`; export r; \
22072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22075 for flag in $(EXTRA_HOST_FLAGS) ; do \
22076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22078 echo "Doing dvi in libtermcap" ; \
22079 (cd libtermcap && \
22080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22082 "RANLIB=$${RANLIB}" \
22083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22089 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
22090 maybe-TAGS-libtermcap:
22092 maybe-TAGS-libtermcap: TAGS-libtermcap
22095 configure-libtermcap
22096 @[ -f ./libtermcap/Makefile ] || exit 0; \
22097 r=`${PWD_COMMAND}`; export r; \
22098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22101 for flag in $(EXTRA_HOST_FLAGS) ; do \
22102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22104 echo "Doing TAGS in libtermcap" ; \
22105 (cd libtermcap && \
22106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22108 "RANLIB=$${RANLIB}" \
22109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22115 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
22116 maybe-install-info-libtermcap:
22118 maybe-install-info-libtermcap: install-info-libtermcap
22120 install-info-libtermcap: \
22121 configure-libtermcap \
22123 @[ -f ./libtermcap/Makefile ] || exit 0; \
22124 r=`${PWD_COMMAND}`; export r; \
22125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22128 for flag in $(EXTRA_HOST_FLAGS) ; do \
22129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22131 echo "Doing install-info in libtermcap" ; \
22132 (cd libtermcap && \
22133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22135 "RANLIB=$${RANLIB}" \
22136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22142 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
22143 maybe-installcheck-libtermcap:
22145 maybe-installcheck-libtermcap: installcheck-libtermcap
22147 installcheck-libtermcap: \
22148 configure-libtermcap
22149 @[ -f ./libtermcap/Makefile ] || exit 0; \
22150 r=`${PWD_COMMAND}`; export r; \
22151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22154 for flag in $(EXTRA_HOST_FLAGS) ; do \
22155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22157 echo "Doing installcheck in libtermcap" ; \
22158 (cd libtermcap && \
22159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22161 "RANLIB=$${RANLIB}" \
22162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22168 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
22169 maybe-mostlyclean-libtermcap:
22171 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
22173 # libtermcap doesn't support mostlyclean.
22174 mostlyclean-libtermcap:
22178 .PHONY: maybe-clean-libtermcap clean-libtermcap
22179 maybe-clean-libtermcap:
22181 maybe-clean-libtermcap: clean-libtermcap
22183 # libtermcap doesn't support clean.
22188 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
22189 maybe-distclean-libtermcap:
22191 maybe-distclean-libtermcap: distclean-libtermcap
22193 # libtermcap doesn't support distclean.
22194 distclean-libtermcap:
22198 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
22199 maybe-maintainer-clean-libtermcap:
22201 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
22203 # libtermcap doesn't support maintainer-clean.
22204 maintainer-clean-libtermcap:
22209 .PHONY: configure-utils maybe-configure-utils
22210 maybe-configure-utils:
22212 maybe-configure-utils: configure-utils
22214 @test ! -f utils/Makefile || exit 0; \
22215 [ -d utils ] || mkdir utils; \
22216 r=`${PWD_COMMAND}`; export r; \
22217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22219 echo Configuring in utils; \
22220 cd utils || exit 1; \
22221 case $(srcdir) in \
22223 srcdiroption="--srcdir=."; \
22225 /* | [A-Za-z]:[\\/]*) \
22226 srcdiroption="--srcdir=$(srcdir)/utils"; \
22227 libsrcdir="$$s/utils";; \
22229 srcdiroption="--srcdir=../$(srcdir)/utils"; \
22230 libsrcdir="$$s/utils";; \
22232 $(SHELL) $${libsrcdir}/configure \
22233 $(HOST_CONFIGARGS) $${srcdiroption} \
22237 .PHONY: all-utils maybe-all-utils
22241 maybe-all-utils: all-utils
22242 all-utils: configure-utils
22243 @r=`${PWD_COMMAND}`; export r; \
22244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22247 (cd utils && $(MAKE) $(FLAGS_TO_PASS) \
22251 .PHONY: check-utils maybe-check-utils
22254 maybe-check-utils: check-utils
22260 .PHONY: install-utils maybe-install-utils
22261 maybe-install-utils:
22263 maybe-install-utils: install-utils
22265 install-utils: installdirs
22266 @r=`${PWD_COMMAND}`; export r; \
22267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22270 (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
22274 # Other targets (info, dvi, etc.)
22276 .PHONY: maybe-info-utils info-utils
22279 maybe-info-utils: info-utils
22283 @[ -f ./utils/Makefile ] || exit 0; \
22284 r=`${PWD_COMMAND}`; export r; \
22285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22288 for flag in $(EXTRA_HOST_FLAGS) ; do \
22289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22291 echo "Doing info in utils" ; \
22293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22295 "RANLIB=$${RANLIB}" \
22296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22302 .PHONY: maybe-dvi-utils dvi-utils
22305 maybe-dvi-utils: dvi-utils
22309 @[ -f ./utils/Makefile ] || exit 0; \
22310 r=`${PWD_COMMAND}`; export r; \
22311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22314 for flag in $(EXTRA_HOST_FLAGS) ; do \
22315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22317 echo "Doing dvi in utils" ; \
22319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22321 "RANLIB=$${RANLIB}" \
22322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22328 .PHONY: maybe-TAGS-utils TAGS-utils
22331 maybe-TAGS-utils: TAGS-utils
22335 @[ -f ./utils/Makefile ] || exit 0; \
22336 r=`${PWD_COMMAND}`; export r; \
22337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22340 for flag in $(EXTRA_HOST_FLAGS) ; do \
22341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22343 echo "Doing TAGS in utils" ; \
22345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22347 "RANLIB=$${RANLIB}" \
22348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22354 .PHONY: maybe-install-info-utils install-info-utils
22355 maybe-install-info-utils:
22357 maybe-install-info-utils: install-info-utils
22359 install-info-utils: \
22362 @[ -f ./utils/Makefile ] || exit 0; \
22363 r=`${PWD_COMMAND}`; export r; \
22364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22367 for flag in $(EXTRA_HOST_FLAGS) ; do \
22368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22370 echo "Doing install-info in utils" ; \
22372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22374 "RANLIB=$${RANLIB}" \
22375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22381 .PHONY: maybe-installcheck-utils installcheck-utils
22382 maybe-installcheck-utils:
22384 maybe-installcheck-utils: installcheck-utils
22386 installcheck-utils: \
22388 @[ -f ./utils/Makefile ] || exit 0; \
22389 r=`${PWD_COMMAND}`; export r; \
22390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22393 for flag in $(EXTRA_HOST_FLAGS) ; do \
22394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22396 echo "Doing installcheck in utils" ; \
22398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22400 "RANLIB=$${RANLIB}" \
22401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22407 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
22408 maybe-mostlyclean-utils:
22410 maybe-mostlyclean-utils: mostlyclean-utils
22413 @[ -f ./utils/Makefile ] || exit 0; \
22414 r=`${PWD_COMMAND}`; export r; \
22415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22418 for flag in $(EXTRA_HOST_FLAGS) ; do \
22419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22421 echo "Doing mostlyclean in utils" ; \
22423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22425 "RANLIB=$${RANLIB}" \
22426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22432 .PHONY: maybe-clean-utils clean-utils
22435 maybe-clean-utils: clean-utils
22438 @[ -f ./utils/Makefile ] || exit 0; \
22439 r=`${PWD_COMMAND}`; export r; \
22440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22443 for flag in $(EXTRA_HOST_FLAGS) ; do \
22444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22446 echo "Doing clean in utils" ; \
22448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22450 "RANLIB=$${RANLIB}" \
22451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22457 .PHONY: maybe-distclean-utils distclean-utils
22458 maybe-distclean-utils:
22460 maybe-distclean-utils: distclean-utils
22463 @[ -f ./utils/Makefile ] || exit 0; \
22464 r=`${PWD_COMMAND}`; export r; \
22465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22468 for flag in $(EXTRA_HOST_FLAGS) ; do \
22469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22471 echo "Doing distclean in utils" ; \
22473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22475 "RANLIB=$${RANLIB}" \
22476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22482 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
22483 maybe-maintainer-clean-utils:
22485 maybe-maintainer-clean-utils: maintainer-clean-utils
22487 maintainer-clean-utils:
22488 @[ -f ./utils/Makefile ] || exit 0; \
22489 r=`${PWD_COMMAND}`; export r; \
22490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22493 for flag in $(EXTRA_HOST_FLAGS) ; do \
22494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22496 echo "Doing maintainer-clean in utils" ; \
22498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22500 "RANLIB=$${RANLIB}" \
22501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22502 maintainer-clean) \
22509 # ---------------------------------------
22510 # Modules which run on the target machine
22511 # ---------------------------------------
22513 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
22514 maybe-configure-target-libstdc++-v3:
22515 @if target-libstdc++-v3
22516 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
22518 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22519 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
22520 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22521 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
22522 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22524 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22525 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
22526 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22527 r=`${PWD_COMMAND}`; export r; \
22528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22530 $(RAW_CXX_TARGET_EXPORTS) \
22531 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
22532 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
22533 case $(srcdir) in \
22534 /* | [A-Za-z]:[\\/]*) \
22535 topdir=$(srcdir) ;; \
22537 case "$(TARGET_SUBDIR)" in \
22538 .) topdir="../$(srcdir)" ;; \
22539 *) topdir="../../$(srcdir)" ;; \
22542 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
22543 libsrcdir="$$s/libstdc++-v3"; \
22544 rm -f no-such-file || : ; \
22545 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22546 $(TARGET_CONFIGARGS) $${srcdiroption} \
22547 --with-target-subdir="$(TARGET_SUBDIR)" \
22549 @endif target-libstdc++-v3
22551 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
22552 maybe-all-target-libstdc++-v3:
22553 @if target-libstdc++-v3
22554 TARGET-target-libstdc++-v3=all
22555 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
22556 all-target-libstdc++-v3: configure-target-libstdc++-v3
22557 @r=`${PWD_COMMAND}`; export r; \
22558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22560 $(RAW_CXX_TARGET_EXPORTS) \
22561 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22562 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
22563 @endif target-libstdc++-v3
22565 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
22566 maybe-check-target-libstdc++-v3:
22567 @if target-libstdc++-v3
22568 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
22570 check-target-libstdc++-v3:
22571 @r=`${PWD_COMMAND}`; export r; \
22572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22574 $(RAW_CXX_TARGET_EXPORTS) \
22575 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22576 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
22578 @endif target-libstdc++-v3
22580 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
22581 maybe-install-target-libstdc++-v3:
22582 @if target-libstdc++-v3
22583 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
22585 install-target-libstdc++-v3: installdirs
22586 @r=`${PWD_COMMAND}`; export r; \
22587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22589 $(RAW_CXX_TARGET_EXPORTS) \
22590 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22591 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22593 @endif target-libstdc++-v3
22595 # Other targets (info, dvi, etc.)
22597 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
22598 maybe-info-target-libstdc++-v3:
22599 @if target-libstdc++-v3
22600 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
22602 info-target-libstdc++-v3: \
22603 configure-target-libstdc++-v3
22604 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22605 r=`${PWD_COMMAND}`; export r; \
22606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22608 $(RAW_CXX_TARGET_EXPORTS) \
22609 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22610 for flag in $(EXTRA_TARGET_FLAGS); do \
22611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22613 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22616 "RANLIB=$${RANLIB}" \
22617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22621 @endif target-libstdc++-v3
22623 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
22624 maybe-dvi-target-libstdc++-v3:
22625 @if target-libstdc++-v3
22626 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
22628 dvi-target-libstdc++-v3: \
22629 configure-target-libstdc++-v3
22630 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22631 r=`${PWD_COMMAND}`; export r; \
22632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22634 $(RAW_CXX_TARGET_EXPORTS) \
22635 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22636 for flag in $(EXTRA_TARGET_FLAGS); do \
22637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22639 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22642 "RANLIB=$${RANLIB}" \
22643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22647 @endif target-libstdc++-v3
22649 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
22650 maybe-TAGS-target-libstdc++-v3:
22651 @if target-libstdc++-v3
22652 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
22654 TAGS-target-libstdc++-v3: \
22655 configure-target-libstdc++-v3
22656 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22657 r=`${PWD_COMMAND}`; export r; \
22658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22660 $(RAW_CXX_TARGET_EXPORTS) \
22661 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22662 for flag in $(EXTRA_TARGET_FLAGS); do \
22663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22665 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22668 "RANLIB=$${RANLIB}" \
22669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22673 @endif target-libstdc++-v3
22675 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
22676 maybe-install-info-target-libstdc++-v3:
22677 @if target-libstdc++-v3
22678 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
22680 install-info-target-libstdc++-v3: \
22681 configure-target-libstdc++-v3 \
22682 info-target-libstdc++-v3
22683 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22684 r=`${PWD_COMMAND}`; export r; \
22685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22687 $(RAW_CXX_TARGET_EXPORTS) \
22688 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22689 for flag in $(EXTRA_TARGET_FLAGS); do \
22690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22692 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22695 "RANLIB=$${RANLIB}" \
22696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22700 @endif target-libstdc++-v3
22702 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
22703 maybe-installcheck-target-libstdc++-v3:
22704 @if target-libstdc++-v3
22705 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
22707 installcheck-target-libstdc++-v3: \
22708 configure-target-libstdc++-v3
22709 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22710 r=`${PWD_COMMAND}`; export r; \
22711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22713 $(RAW_CXX_TARGET_EXPORTS) \
22714 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22715 for flag in $(EXTRA_TARGET_FLAGS); do \
22716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22718 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22721 "RANLIB=$${RANLIB}" \
22722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22726 @endif target-libstdc++-v3
22728 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
22729 maybe-mostlyclean-target-libstdc++-v3:
22730 @if target-libstdc++-v3
22731 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
22733 mostlyclean-target-libstdc++-v3:
22734 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22735 r=`${PWD_COMMAND}`; export r; \
22736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22738 $(RAW_CXX_TARGET_EXPORTS) \
22739 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22740 for flag in $(EXTRA_TARGET_FLAGS); do \
22741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22743 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22746 "RANLIB=$${RANLIB}" \
22747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22751 @endif target-libstdc++-v3
22753 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
22754 maybe-clean-target-libstdc++-v3:
22755 @if target-libstdc++-v3
22756 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
22758 clean-target-libstdc++-v3:
22759 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22760 r=`${PWD_COMMAND}`; export r; \
22761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22763 $(RAW_CXX_TARGET_EXPORTS) \
22764 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22765 for flag in $(EXTRA_TARGET_FLAGS); do \
22766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22768 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22771 "RANLIB=$${RANLIB}" \
22772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22776 @endif target-libstdc++-v3
22778 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
22779 maybe-distclean-target-libstdc++-v3:
22780 @if target-libstdc++-v3
22781 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
22783 distclean-target-libstdc++-v3:
22784 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22785 r=`${PWD_COMMAND}`; export r; \
22786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22788 $(RAW_CXX_TARGET_EXPORTS) \
22789 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22790 for flag in $(EXTRA_TARGET_FLAGS); do \
22791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22793 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
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-libstdc++-v3
22803 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
22804 maybe-maintainer-clean-target-libstdc++-v3:
22805 @if target-libstdc++-v3
22806 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
22808 maintainer-clean-target-libstdc++-v3:
22809 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22810 r=`${PWD_COMMAND}`; export r; \
22811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22813 $(RAW_CXX_TARGET_EXPORTS) \
22814 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22815 for flag in $(EXTRA_TARGET_FLAGS); do \
22816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22818 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22821 "RANLIB=$${RANLIB}" \
22822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22823 maintainer-clean) \
22826 @endif target-libstdc++-v3
22829 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
22830 maybe-configure-target-libmudflap:
22831 @if target-libmudflap
22832 maybe-configure-target-libmudflap: configure-target-libmudflap
22834 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22835 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
22836 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22837 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
22838 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
22840 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
22841 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
22842 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22843 r=`${PWD_COMMAND}`; export r; \
22844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22846 $(NORMAL_TARGET_EXPORTS) \
22847 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
22848 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
22849 case $(srcdir) in \
22850 /* | [A-Za-z]:[\\/]*) \
22851 topdir=$(srcdir) ;; \
22853 case "$(TARGET_SUBDIR)" in \
22854 .) topdir="../$(srcdir)" ;; \
22855 *) topdir="../../$(srcdir)" ;; \
22858 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
22859 libsrcdir="$$s/libmudflap"; \
22860 rm -f no-such-file || : ; \
22861 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22862 $(TARGET_CONFIGARGS) $${srcdiroption} \
22863 --with-target-subdir="$(TARGET_SUBDIR)" \
22865 @endif target-libmudflap
22867 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
22868 maybe-all-target-libmudflap:
22869 @if target-libmudflap
22870 TARGET-target-libmudflap=all
22871 maybe-all-target-libmudflap: all-target-libmudflap
22872 all-target-libmudflap: configure-target-libmudflap
22873 @r=`${PWD_COMMAND}`; export r; \
22874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22876 $(NORMAL_TARGET_EXPORTS) \
22877 (cd $(TARGET_SUBDIR)/libmudflap && \
22878 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
22879 @endif target-libmudflap
22881 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
22882 maybe-check-target-libmudflap:
22883 @if target-libmudflap
22884 maybe-check-target-libmudflap: check-target-libmudflap
22886 check-target-libmudflap:
22887 @r=`${PWD_COMMAND}`; export r; \
22888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22890 $(NORMAL_TARGET_EXPORTS) \
22891 (cd $(TARGET_SUBDIR)/libmudflap && \
22892 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22894 @endif target-libmudflap
22896 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
22897 maybe-install-target-libmudflap:
22898 @if target-libmudflap
22899 maybe-install-target-libmudflap: install-target-libmudflap
22901 install-target-libmudflap: installdirs
22902 @r=`${PWD_COMMAND}`; export r; \
22903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22905 $(NORMAL_TARGET_EXPORTS) \
22906 (cd $(TARGET_SUBDIR)/libmudflap && \
22907 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22909 @endif target-libmudflap
22911 # Other targets (info, dvi, etc.)
22913 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
22914 maybe-info-target-libmudflap:
22915 @if target-libmudflap
22916 maybe-info-target-libmudflap: info-target-libmudflap
22918 info-target-libmudflap: \
22919 configure-target-libmudflap
22920 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22921 r=`${PWD_COMMAND}`; export r; \
22922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22924 $(NORMAL_TARGET_EXPORTS) \
22925 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
22926 for flag in $(EXTRA_TARGET_FLAGS); do \
22927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22929 (cd $(TARGET_SUBDIR)/libmudflap && \
22930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22932 "RANLIB=$${RANLIB}" \
22933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22937 @endif target-libmudflap
22939 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
22940 maybe-dvi-target-libmudflap:
22941 @if target-libmudflap
22942 maybe-dvi-target-libmudflap: dvi-target-libmudflap
22944 dvi-target-libmudflap: \
22945 configure-target-libmudflap
22946 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22947 r=`${PWD_COMMAND}`; export r; \
22948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22950 $(NORMAL_TARGET_EXPORTS) \
22951 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
22952 for flag in $(EXTRA_TARGET_FLAGS); do \
22953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22955 (cd $(TARGET_SUBDIR)/libmudflap && \
22956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22958 "RANLIB=$${RANLIB}" \
22959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22963 @endif target-libmudflap
22965 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
22966 maybe-TAGS-target-libmudflap:
22967 @if target-libmudflap
22968 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
22970 TAGS-target-libmudflap: \
22971 configure-target-libmudflap
22972 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22973 r=`${PWD_COMMAND}`; export r; \
22974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22976 $(NORMAL_TARGET_EXPORTS) \
22977 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
22978 for flag in $(EXTRA_TARGET_FLAGS); do \
22979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22981 (cd $(TARGET_SUBDIR)/libmudflap && \
22982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22984 "RANLIB=$${RANLIB}" \
22985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22989 @endif target-libmudflap
22991 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
22992 maybe-install-info-target-libmudflap:
22993 @if target-libmudflap
22994 maybe-install-info-target-libmudflap: install-info-target-libmudflap
22996 install-info-target-libmudflap: \
22997 configure-target-libmudflap \
22998 info-target-libmudflap
22999 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23000 r=`${PWD_COMMAND}`; export r; \
23001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23003 $(NORMAL_TARGET_EXPORTS) \
23004 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
23005 for flag in $(EXTRA_TARGET_FLAGS); do \
23006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23008 (cd $(TARGET_SUBDIR)/libmudflap && \
23009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23011 "RANLIB=$${RANLIB}" \
23012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23016 @endif target-libmudflap
23018 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
23019 maybe-installcheck-target-libmudflap:
23020 @if target-libmudflap
23021 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
23023 installcheck-target-libmudflap: \
23024 configure-target-libmudflap
23025 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23026 r=`${PWD_COMMAND}`; export r; \
23027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23029 $(NORMAL_TARGET_EXPORTS) \
23030 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
23031 for flag in $(EXTRA_TARGET_FLAGS); do \
23032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23034 (cd $(TARGET_SUBDIR)/libmudflap && \
23035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23037 "RANLIB=$${RANLIB}" \
23038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23042 @endif target-libmudflap
23044 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
23045 maybe-mostlyclean-target-libmudflap:
23046 @if target-libmudflap
23047 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
23049 mostlyclean-target-libmudflap:
23050 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23051 r=`${PWD_COMMAND}`; export r; \
23052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23054 $(NORMAL_TARGET_EXPORTS) \
23055 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
23056 for flag in $(EXTRA_TARGET_FLAGS); do \
23057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23059 (cd $(TARGET_SUBDIR)/libmudflap && \
23060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23062 "RANLIB=$${RANLIB}" \
23063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23067 @endif target-libmudflap
23069 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
23070 maybe-clean-target-libmudflap:
23071 @if target-libmudflap
23072 maybe-clean-target-libmudflap: clean-target-libmudflap
23074 clean-target-libmudflap:
23075 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23076 r=`${PWD_COMMAND}`; export r; \
23077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23079 $(NORMAL_TARGET_EXPORTS) \
23080 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
23081 for flag in $(EXTRA_TARGET_FLAGS); do \
23082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23084 (cd $(TARGET_SUBDIR)/libmudflap && \
23085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23087 "RANLIB=$${RANLIB}" \
23088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23092 @endif target-libmudflap
23094 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
23095 maybe-distclean-target-libmudflap:
23096 @if target-libmudflap
23097 maybe-distclean-target-libmudflap: distclean-target-libmudflap
23099 distclean-target-libmudflap:
23100 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23101 r=`${PWD_COMMAND}`; export r; \
23102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23104 $(NORMAL_TARGET_EXPORTS) \
23105 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
23106 for flag in $(EXTRA_TARGET_FLAGS); do \
23107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23109 (cd $(TARGET_SUBDIR)/libmudflap && \
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-libmudflap
23119 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
23120 maybe-maintainer-clean-target-libmudflap:
23121 @if target-libmudflap
23122 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
23124 maintainer-clean-target-libmudflap:
23125 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
23126 r=`${PWD_COMMAND}`; export r; \
23127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23129 $(NORMAL_TARGET_EXPORTS) \
23130 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
23131 for flag in $(EXTRA_TARGET_FLAGS); do \
23132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23134 (cd $(TARGET_SUBDIR)/libmudflap && \
23135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23137 "RANLIB=$${RANLIB}" \
23138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23139 maintainer-clean) \
23142 @endif target-libmudflap
23145 .PHONY: configure-target-newlib maybe-configure-target-newlib
23146 maybe-configure-target-newlib:
23148 maybe-configure-target-newlib: configure-target-newlib
23150 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23151 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
23152 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
23153 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
23154 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
23156 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
23157 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
23158 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
23159 r=`${PWD_COMMAND}`; export r; \
23160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23162 $(NORMAL_TARGET_EXPORTS) \
23163 echo Configuring in $(TARGET_SUBDIR)/newlib; \
23164 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
23165 case $(srcdir) in \
23166 /* | [A-Za-z]:[\\/]*) \
23167 topdir=$(srcdir) ;; \
23169 case "$(TARGET_SUBDIR)" in \
23170 .) topdir="../$(srcdir)" ;; \
23171 *) topdir="../../$(srcdir)" ;; \
23174 srcdiroption="--srcdir=$${topdir}/newlib"; \
23175 libsrcdir="$$s/newlib"; \
23176 rm -f no-such-file || : ; \
23177 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23178 $(TARGET_CONFIGARGS) $${srcdiroption} \
23179 --with-target-subdir="$(TARGET_SUBDIR)" \
23181 @endif target-newlib
23183 .PHONY: all-target-newlib maybe-all-target-newlib
23184 maybe-all-target-newlib:
23186 TARGET-target-newlib=all
23187 maybe-all-target-newlib: all-target-newlib
23188 all-target-newlib: configure-target-newlib
23189 @r=`${PWD_COMMAND}`; export r; \
23190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23192 $(NORMAL_TARGET_EXPORTS) \
23193 (cd $(TARGET_SUBDIR)/newlib && \
23194 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
23195 @endif target-newlib
23197 .PHONY: check-target-newlib maybe-check-target-newlib
23198 maybe-check-target-newlib:
23200 maybe-check-target-newlib: check-target-newlib
23202 check-target-newlib:
23203 @r=`${PWD_COMMAND}`; export r; \
23204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23206 $(NORMAL_TARGET_EXPORTS) \
23207 (cd $(TARGET_SUBDIR)/newlib && \
23208 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23210 @endif target-newlib
23212 .PHONY: install-target-newlib maybe-install-target-newlib
23213 maybe-install-target-newlib:
23215 maybe-install-target-newlib: install-target-newlib
23217 install-target-newlib: installdirs
23218 @r=`${PWD_COMMAND}`; export r; \
23219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23221 $(NORMAL_TARGET_EXPORTS) \
23222 (cd $(TARGET_SUBDIR)/newlib && \
23223 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23225 @endif target-newlib
23227 # Other targets (info, dvi, etc.)
23229 .PHONY: maybe-info-target-newlib info-target-newlib
23230 maybe-info-target-newlib:
23232 maybe-info-target-newlib: info-target-newlib
23234 info-target-newlib: \
23235 configure-target-newlib
23236 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23237 r=`${PWD_COMMAND}`; export r; \
23238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23240 $(NORMAL_TARGET_EXPORTS) \
23241 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
23242 for flag in $(EXTRA_TARGET_FLAGS); do \
23243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23245 (cd $(TARGET_SUBDIR)/newlib && \
23246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23248 "RANLIB=$${RANLIB}" \
23249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23253 @endif target-newlib
23255 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
23256 maybe-dvi-target-newlib:
23258 maybe-dvi-target-newlib: dvi-target-newlib
23260 dvi-target-newlib: \
23261 configure-target-newlib
23262 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23263 r=`${PWD_COMMAND}`; export r; \
23264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23266 $(NORMAL_TARGET_EXPORTS) \
23267 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
23268 for flag in $(EXTRA_TARGET_FLAGS); do \
23269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23271 (cd $(TARGET_SUBDIR)/newlib && \
23272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23274 "RANLIB=$${RANLIB}" \
23275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23279 @endif target-newlib
23281 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
23282 maybe-TAGS-target-newlib:
23284 maybe-TAGS-target-newlib: TAGS-target-newlib
23286 TAGS-target-newlib: \
23287 configure-target-newlib
23288 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23289 r=`${PWD_COMMAND}`; export r; \
23290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23292 $(NORMAL_TARGET_EXPORTS) \
23293 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
23294 for flag in $(EXTRA_TARGET_FLAGS); do \
23295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23297 (cd $(TARGET_SUBDIR)/newlib && \
23298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23300 "RANLIB=$${RANLIB}" \
23301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23305 @endif target-newlib
23307 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
23308 maybe-install-info-target-newlib:
23310 maybe-install-info-target-newlib: install-info-target-newlib
23312 install-info-target-newlib: \
23313 configure-target-newlib \
23315 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23316 r=`${PWD_COMMAND}`; export r; \
23317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23319 $(NORMAL_TARGET_EXPORTS) \
23320 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
23321 for flag in $(EXTRA_TARGET_FLAGS); do \
23322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23324 (cd $(TARGET_SUBDIR)/newlib && \
23325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23327 "RANLIB=$${RANLIB}" \
23328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23332 @endif target-newlib
23334 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
23335 maybe-installcheck-target-newlib:
23337 maybe-installcheck-target-newlib: installcheck-target-newlib
23339 installcheck-target-newlib: \
23340 configure-target-newlib
23341 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23342 r=`${PWD_COMMAND}`; export r; \
23343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23345 $(NORMAL_TARGET_EXPORTS) \
23346 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
23347 for flag in $(EXTRA_TARGET_FLAGS); do \
23348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23350 (cd $(TARGET_SUBDIR)/newlib && \
23351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23353 "RANLIB=$${RANLIB}" \
23354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23358 @endif target-newlib
23360 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
23361 maybe-mostlyclean-target-newlib:
23363 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
23365 mostlyclean-target-newlib:
23366 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23367 r=`${PWD_COMMAND}`; export r; \
23368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23370 $(NORMAL_TARGET_EXPORTS) \
23371 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
23372 for flag in $(EXTRA_TARGET_FLAGS); do \
23373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23375 (cd $(TARGET_SUBDIR)/newlib && \
23376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23378 "RANLIB=$${RANLIB}" \
23379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23383 @endif target-newlib
23385 .PHONY: maybe-clean-target-newlib clean-target-newlib
23386 maybe-clean-target-newlib:
23388 maybe-clean-target-newlib: clean-target-newlib
23390 clean-target-newlib:
23391 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23392 r=`${PWD_COMMAND}`; export r; \
23393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23395 $(NORMAL_TARGET_EXPORTS) \
23396 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
23397 for flag in $(EXTRA_TARGET_FLAGS); do \
23398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23400 (cd $(TARGET_SUBDIR)/newlib && \
23401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23403 "RANLIB=$${RANLIB}" \
23404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23408 @endif target-newlib
23410 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
23411 maybe-distclean-target-newlib:
23413 maybe-distclean-target-newlib: distclean-target-newlib
23415 distclean-target-newlib:
23416 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23417 r=`${PWD_COMMAND}`; export r; \
23418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23420 $(NORMAL_TARGET_EXPORTS) \
23421 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
23422 for flag in $(EXTRA_TARGET_FLAGS); do \
23423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23425 (cd $(TARGET_SUBDIR)/newlib && \
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-newlib
23435 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
23436 maybe-maintainer-clean-target-newlib:
23438 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
23440 maintainer-clean-target-newlib:
23441 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23442 r=`${PWD_COMMAND}`; export r; \
23443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23445 $(NORMAL_TARGET_EXPORTS) \
23446 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
23447 for flag in $(EXTRA_TARGET_FLAGS); do \
23448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23450 (cd $(TARGET_SUBDIR)/newlib && \
23451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23453 "RANLIB=$${RANLIB}" \
23454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23455 maintainer-clean) \
23458 @endif target-newlib
23461 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
23462 maybe-configure-target-libgfortran:
23463 @if target-libgfortran
23464 maybe-configure-target-libgfortran: configure-target-libgfortran
23466 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23467 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
23468 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
23469 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
23470 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
23472 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
23473 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
23474 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
23475 r=`${PWD_COMMAND}`; export r; \
23476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23478 $(NORMAL_TARGET_EXPORTS) \
23479 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
23480 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
23481 case $(srcdir) in \
23482 /* | [A-Za-z]:[\\/]*) \
23483 topdir=$(srcdir) ;; \
23485 case "$(TARGET_SUBDIR)" in \
23486 .) topdir="../$(srcdir)" ;; \
23487 *) topdir="../../$(srcdir)" ;; \
23490 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
23491 libsrcdir="$$s/libgfortran"; \
23492 rm -f no-such-file || : ; \
23493 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23494 $(TARGET_CONFIGARGS) $${srcdiroption} \
23495 --with-target-subdir="$(TARGET_SUBDIR)" \
23497 @endif target-libgfortran
23499 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
23500 maybe-all-target-libgfortran:
23501 @if target-libgfortran
23502 TARGET-target-libgfortran=all
23503 maybe-all-target-libgfortran: all-target-libgfortran
23504 all-target-libgfortran: configure-target-libgfortran
23505 @r=`${PWD_COMMAND}`; export r; \
23506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23508 $(NORMAL_TARGET_EXPORTS) \
23509 (cd $(TARGET_SUBDIR)/libgfortran && \
23510 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
23511 @endif target-libgfortran
23513 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
23514 maybe-check-target-libgfortran:
23515 @if target-libgfortran
23516 maybe-check-target-libgfortran: check-target-libgfortran
23518 check-target-libgfortran:
23519 @r=`${PWD_COMMAND}`; export r; \
23520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23522 $(NORMAL_TARGET_EXPORTS) \
23523 (cd $(TARGET_SUBDIR)/libgfortran && \
23524 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23526 @endif target-libgfortran
23528 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
23529 maybe-install-target-libgfortran:
23530 @if target-libgfortran
23531 maybe-install-target-libgfortran: install-target-libgfortran
23533 install-target-libgfortran: installdirs
23534 @r=`${PWD_COMMAND}`; export r; \
23535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23537 $(NORMAL_TARGET_EXPORTS) \
23538 (cd $(TARGET_SUBDIR)/libgfortran && \
23539 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23541 @endif target-libgfortran
23543 # Other targets (info, dvi, etc.)
23545 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
23546 maybe-info-target-libgfortran:
23547 @if target-libgfortran
23548 maybe-info-target-libgfortran: info-target-libgfortran
23550 info-target-libgfortran: \
23551 configure-target-libgfortran
23552 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23553 r=`${PWD_COMMAND}`; export r; \
23554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23556 $(NORMAL_TARGET_EXPORTS) \
23557 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
23558 for flag in $(EXTRA_TARGET_FLAGS); do \
23559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23561 (cd $(TARGET_SUBDIR)/libgfortran && \
23562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23564 "RANLIB=$${RANLIB}" \
23565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23569 @endif target-libgfortran
23571 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
23572 maybe-dvi-target-libgfortran:
23573 @if target-libgfortran
23574 maybe-dvi-target-libgfortran: dvi-target-libgfortran
23576 dvi-target-libgfortran: \
23577 configure-target-libgfortran
23578 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23579 r=`${PWD_COMMAND}`; export r; \
23580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23582 $(NORMAL_TARGET_EXPORTS) \
23583 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
23584 for flag in $(EXTRA_TARGET_FLAGS); do \
23585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23587 (cd $(TARGET_SUBDIR)/libgfortran && \
23588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23590 "RANLIB=$${RANLIB}" \
23591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23595 @endif target-libgfortran
23597 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
23598 maybe-TAGS-target-libgfortran:
23599 @if target-libgfortran
23600 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
23602 TAGS-target-libgfortran: \
23603 configure-target-libgfortran
23604 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23605 r=`${PWD_COMMAND}`; export r; \
23606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23608 $(NORMAL_TARGET_EXPORTS) \
23609 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
23610 for flag in $(EXTRA_TARGET_FLAGS); do \
23611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23613 (cd $(TARGET_SUBDIR)/libgfortran && \
23614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23616 "RANLIB=$${RANLIB}" \
23617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23621 @endif target-libgfortran
23623 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
23624 maybe-install-info-target-libgfortran:
23625 @if target-libgfortran
23626 maybe-install-info-target-libgfortran: install-info-target-libgfortran
23628 install-info-target-libgfortran: \
23629 configure-target-libgfortran \
23630 info-target-libgfortran
23631 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23632 r=`${PWD_COMMAND}`; export r; \
23633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23635 $(NORMAL_TARGET_EXPORTS) \
23636 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
23637 for flag in $(EXTRA_TARGET_FLAGS); do \
23638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23640 (cd $(TARGET_SUBDIR)/libgfortran && \
23641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23643 "RANLIB=$${RANLIB}" \
23644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23648 @endif target-libgfortran
23650 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
23651 maybe-installcheck-target-libgfortran:
23652 @if target-libgfortran
23653 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
23655 installcheck-target-libgfortran: \
23656 configure-target-libgfortran
23657 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23658 r=`${PWD_COMMAND}`; export r; \
23659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23661 $(NORMAL_TARGET_EXPORTS) \
23662 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
23663 for flag in $(EXTRA_TARGET_FLAGS); do \
23664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23666 (cd $(TARGET_SUBDIR)/libgfortran && \
23667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23669 "RANLIB=$${RANLIB}" \
23670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23674 @endif target-libgfortran
23676 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
23677 maybe-mostlyclean-target-libgfortran:
23678 @if target-libgfortran
23679 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
23681 mostlyclean-target-libgfortran:
23682 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23683 r=`${PWD_COMMAND}`; export r; \
23684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23686 $(NORMAL_TARGET_EXPORTS) \
23687 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
23688 for flag in $(EXTRA_TARGET_FLAGS); do \
23689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23691 (cd $(TARGET_SUBDIR)/libgfortran && \
23692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23694 "RANLIB=$${RANLIB}" \
23695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23699 @endif target-libgfortran
23701 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
23702 maybe-clean-target-libgfortran:
23703 @if target-libgfortran
23704 maybe-clean-target-libgfortran: clean-target-libgfortran
23706 clean-target-libgfortran:
23707 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23708 r=`${PWD_COMMAND}`; export r; \
23709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23711 $(NORMAL_TARGET_EXPORTS) \
23712 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
23713 for flag in $(EXTRA_TARGET_FLAGS); do \
23714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23716 (cd $(TARGET_SUBDIR)/libgfortran && \
23717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23719 "RANLIB=$${RANLIB}" \
23720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23724 @endif target-libgfortran
23726 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
23727 maybe-distclean-target-libgfortran:
23728 @if target-libgfortran
23729 maybe-distclean-target-libgfortran: distclean-target-libgfortran
23731 distclean-target-libgfortran:
23732 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23733 r=`${PWD_COMMAND}`; export r; \
23734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23736 $(NORMAL_TARGET_EXPORTS) \
23737 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
23738 for flag in $(EXTRA_TARGET_FLAGS); do \
23739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23741 (cd $(TARGET_SUBDIR)/libgfortran && \
23742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23744 "RANLIB=$${RANLIB}" \
23745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23749 @endif target-libgfortran
23751 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
23752 maybe-maintainer-clean-target-libgfortran:
23753 @if target-libgfortran
23754 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
23756 maintainer-clean-target-libgfortran:
23757 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23758 r=`${PWD_COMMAND}`; export r; \
23759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23761 $(NORMAL_TARGET_EXPORTS) \
23762 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
23763 for flag in $(EXTRA_TARGET_FLAGS); do \
23764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23766 (cd $(TARGET_SUBDIR)/libgfortran && \
23767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23769 "RANLIB=$${RANLIB}" \
23770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23771 maintainer-clean) \
23774 @endif target-libgfortran
23777 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
23778 maybe-configure-target-libobjc:
23780 maybe-configure-target-libobjc: configure-target-libobjc
23782 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23783 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
23784 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23785 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
23786 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
23788 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
23789 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
23790 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23791 r=`${PWD_COMMAND}`; export r; \
23792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23794 $(NORMAL_TARGET_EXPORTS) \
23795 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
23796 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
23797 case $(srcdir) in \
23798 /* | [A-Za-z]:[\\/]*) \
23799 topdir=$(srcdir) ;; \
23801 case "$(TARGET_SUBDIR)" in \
23802 .) topdir="../$(srcdir)" ;; \
23803 *) topdir="../../$(srcdir)" ;; \
23806 srcdiroption="--srcdir=$${topdir}/libobjc"; \
23807 libsrcdir="$$s/libobjc"; \
23808 rm -f no-such-file || : ; \
23809 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23810 $(TARGET_CONFIGARGS) $${srcdiroption} \
23811 --with-target-subdir="$(TARGET_SUBDIR)" \
23813 @endif target-libobjc
23815 .PHONY: all-target-libobjc maybe-all-target-libobjc
23816 maybe-all-target-libobjc:
23818 TARGET-target-libobjc=all
23819 maybe-all-target-libobjc: all-target-libobjc
23820 all-target-libobjc: configure-target-libobjc
23821 @r=`${PWD_COMMAND}`; export r; \
23822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23824 $(NORMAL_TARGET_EXPORTS) \
23825 (cd $(TARGET_SUBDIR)/libobjc && \
23826 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
23827 @endif target-libobjc
23829 .PHONY: check-target-libobjc maybe-check-target-libobjc
23830 maybe-check-target-libobjc:
23832 maybe-check-target-libobjc: check-target-libobjc
23834 check-target-libobjc:
23835 @r=`${PWD_COMMAND}`; export r; \
23836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23838 $(NORMAL_TARGET_EXPORTS) \
23839 (cd $(TARGET_SUBDIR)/libobjc && \
23840 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23842 @endif target-libobjc
23844 .PHONY: install-target-libobjc maybe-install-target-libobjc
23845 maybe-install-target-libobjc:
23847 maybe-install-target-libobjc: install-target-libobjc
23849 install-target-libobjc: installdirs
23850 @r=`${PWD_COMMAND}`; export r; \
23851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23853 $(NORMAL_TARGET_EXPORTS) \
23854 (cd $(TARGET_SUBDIR)/libobjc && \
23855 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23857 @endif target-libobjc
23859 # Other targets (info, dvi, etc.)
23861 .PHONY: maybe-info-target-libobjc info-target-libobjc
23862 maybe-info-target-libobjc:
23864 maybe-info-target-libobjc: info-target-libobjc
23866 info-target-libobjc: \
23867 configure-target-libobjc
23868 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23869 r=`${PWD_COMMAND}`; export r; \
23870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23872 $(NORMAL_TARGET_EXPORTS) \
23873 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
23874 for flag in $(EXTRA_TARGET_FLAGS); do \
23875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23877 (cd $(TARGET_SUBDIR)/libobjc && \
23878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23880 "RANLIB=$${RANLIB}" \
23881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23885 @endif target-libobjc
23887 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
23888 maybe-dvi-target-libobjc:
23890 maybe-dvi-target-libobjc: dvi-target-libobjc
23892 dvi-target-libobjc: \
23893 configure-target-libobjc
23894 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23895 r=`${PWD_COMMAND}`; export r; \
23896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23898 $(NORMAL_TARGET_EXPORTS) \
23899 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
23900 for flag in $(EXTRA_TARGET_FLAGS); do \
23901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23903 (cd $(TARGET_SUBDIR)/libobjc && \
23904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23906 "RANLIB=$${RANLIB}" \
23907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23911 @endif target-libobjc
23913 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
23914 maybe-TAGS-target-libobjc:
23916 maybe-TAGS-target-libobjc: TAGS-target-libobjc
23918 TAGS-target-libobjc: \
23919 configure-target-libobjc
23920 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23921 r=`${PWD_COMMAND}`; export r; \
23922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23924 $(NORMAL_TARGET_EXPORTS) \
23925 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
23926 for flag in $(EXTRA_TARGET_FLAGS); do \
23927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23929 (cd $(TARGET_SUBDIR)/libobjc && \
23930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23932 "RANLIB=$${RANLIB}" \
23933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23937 @endif target-libobjc
23939 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
23940 maybe-install-info-target-libobjc:
23942 maybe-install-info-target-libobjc: install-info-target-libobjc
23944 install-info-target-libobjc: \
23945 configure-target-libobjc \
23946 info-target-libobjc
23947 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23948 r=`${PWD_COMMAND}`; export r; \
23949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23951 $(NORMAL_TARGET_EXPORTS) \
23952 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
23953 for flag in $(EXTRA_TARGET_FLAGS); do \
23954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23956 (cd $(TARGET_SUBDIR)/libobjc && \
23957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23959 "RANLIB=$${RANLIB}" \
23960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23964 @endif target-libobjc
23966 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
23967 maybe-installcheck-target-libobjc:
23969 maybe-installcheck-target-libobjc: installcheck-target-libobjc
23971 installcheck-target-libobjc: \
23972 configure-target-libobjc
23973 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23974 r=`${PWD_COMMAND}`; export r; \
23975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23977 $(NORMAL_TARGET_EXPORTS) \
23978 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
23979 for flag in $(EXTRA_TARGET_FLAGS); do \
23980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23982 (cd $(TARGET_SUBDIR)/libobjc && \
23983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23985 "RANLIB=$${RANLIB}" \
23986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23990 @endif target-libobjc
23992 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
23993 maybe-mostlyclean-target-libobjc:
23995 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
23997 mostlyclean-target-libobjc:
23998 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23999 r=`${PWD_COMMAND}`; export r; \
24000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24002 $(NORMAL_TARGET_EXPORTS) \
24003 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
24004 for flag in $(EXTRA_TARGET_FLAGS); do \
24005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24007 (cd $(TARGET_SUBDIR)/libobjc && \
24008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24010 "RANLIB=$${RANLIB}" \
24011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24015 @endif target-libobjc
24017 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
24018 maybe-clean-target-libobjc:
24020 maybe-clean-target-libobjc: clean-target-libobjc
24022 clean-target-libobjc:
24023 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24024 r=`${PWD_COMMAND}`; export r; \
24025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24027 $(NORMAL_TARGET_EXPORTS) \
24028 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
24029 for flag in $(EXTRA_TARGET_FLAGS); do \
24030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24032 (cd $(TARGET_SUBDIR)/libobjc && \
24033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24035 "RANLIB=$${RANLIB}" \
24036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24040 @endif target-libobjc
24042 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
24043 maybe-distclean-target-libobjc:
24045 maybe-distclean-target-libobjc: distclean-target-libobjc
24047 distclean-target-libobjc:
24048 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24049 r=`${PWD_COMMAND}`; export r; \
24050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24052 $(NORMAL_TARGET_EXPORTS) \
24053 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
24054 for flag in $(EXTRA_TARGET_FLAGS); do \
24055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24057 (cd $(TARGET_SUBDIR)/libobjc && \
24058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24060 "RANLIB=$${RANLIB}" \
24061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24065 @endif target-libobjc
24067 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
24068 maybe-maintainer-clean-target-libobjc:
24070 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
24072 maintainer-clean-target-libobjc:
24073 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
24074 r=`${PWD_COMMAND}`; export r; \
24075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24077 $(NORMAL_TARGET_EXPORTS) \
24078 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
24079 for flag in $(EXTRA_TARGET_FLAGS); do \
24080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24082 (cd $(TARGET_SUBDIR)/libobjc && \
24083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24085 "RANLIB=$${RANLIB}" \
24086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24087 maintainer-clean) \
24090 @endif target-libobjc
24093 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
24094 maybe-configure-target-libtermcap:
24095 @if target-libtermcap
24096 maybe-configure-target-libtermcap: configure-target-libtermcap
24098 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24099 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
24100 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
24101 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
24102 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
24104 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
24105 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
24106 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
24107 r=`${PWD_COMMAND}`; export r; \
24108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24110 $(NORMAL_TARGET_EXPORTS) \
24111 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
24112 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
24113 case $(srcdir) in \
24114 /* | [A-Za-z]:[\\/]*) \
24115 topdir=$(srcdir) ;; \
24117 case "$(TARGET_SUBDIR)" in \
24118 .) topdir="../$(srcdir)" ;; \
24119 *) topdir="../../$(srcdir)" ;; \
24122 if [ "$(srcdir)" = "." ] ; then \
24123 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
24124 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
24125 if [ -f Makefile ]; then \
24126 if $(MAKE) distclean; then \
24140 srcdiroption="--srcdir=."; \
24143 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
24144 libsrcdir="$$s/libtermcap"; \
24146 rm -f no-such-file || : ; \
24147 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24148 $(TARGET_CONFIGARGS) $${srcdiroption} \
24149 --with-target-subdir="$(TARGET_SUBDIR)" \
24151 @endif target-libtermcap
24153 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
24154 maybe-all-target-libtermcap:
24155 @if target-libtermcap
24156 TARGET-target-libtermcap=all
24157 maybe-all-target-libtermcap: all-target-libtermcap
24158 all-target-libtermcap: configure-target-libtermcap
24159 @r=`${PWD_COMMAND}`; export r; \
24160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24162 $(NORMAL_TARGET_EXPORTS) \
24163 (cd $(TARGET_SUBDIR)/libtermcap && \
24164 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
24165 @endif target-libtermcap
24167 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
24168 maybe-check-target-libtermcap:
24169 @if target-libtermcap
24170 maybe-check-target-libtermcap: check-target-libtermcap
24172 # Dummy target for uncheckable module.
24173 check-target-libtermcap:
24175 @endif target-libtermcap
24177 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
24178 maybe-install-target-libtermcap:
24179 @if target-libtermcap
24180 maybe-install-target-libtermcap: install-target-libtermcap
24182 install-target-libtermcap: installdirs
24183 @r=`${PWD_COMMAND}`; export r; \
24184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24186 $(NORMAL_TARGET_EXPORTS) \
24187 (cd $(TARGET_SUBDIR)/libtermcap && \
24188 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24190 @endif target-libtermcap
24192 # Other targets (info, dvi, etc.)
24194 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
24195 maybe-info-target-libtermcap:
24196 @if target-libtermcap
24197 maybe-info-target-libtermcap: info-target-libtermcap
24199 info-target-libtermcap: \
24200 configure-target-libtermcap
24201 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24202 r=`${PWD_COMMAND}`; export r; \
24203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24205 $(NORMAL_TARGET_EXPORTS) \
24206 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
24207 for flag in $(EXTRA_TARGET_FLAGS); do \
24208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24210 (cd $(TARGET_SUBDIR)/libtermcap && \
24211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24213 "RANLIB=$${RANLIB}" \
24214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24218 @endif target-libtermcap
24220 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
24221 maybe-dvi-target-libtermcap:
24222 @if target-libtermcap
24223 maybe-dvi-target-libtermcap: dvi-target-libtermcap
24225 dvi-target-libtermcap: \
24226 configure-target-libtermcap
24227 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24228 r=`${PWD_COMMAND}`; export r; \
24229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24231 $(NORMAL_TARGET_EXPORTS) \
24232 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
24233 for flag in $(EXTRA_TARGET_FLAGS); do \
24234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24236 (cd $(TARGET_SUBDIR)/libtermcap && \
24237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24239 "RANLIB=$${RANLIB}" \
24240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24244 @endif target-libtermcap
24246 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
24247 maybe-TAGS-target-libtermcap:
24248 @if target-libtermcap
24249 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
24251 TAGS-target-libtermcap: \
24252 configure-target-libtermcap
24253 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24254 r=`${PWD_COMMAND}`; export r; \
24255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24257 $(NORMAL_TARGET_EXPORTS) \
24258 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
24259 for flag in $(EXTRA_TARGET_FLAGS); do \
24260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24262 (cd $(TARGET_SUBDIR)/libtermcap && \
24263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24265 "RANLIB=$${RANLIB}" \
24266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24270 @endif target-libtermcap
24272 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
24273 maybe-install-info-target-libtermcap:
24274 @if target-libtermcap
24275 maybe-install-info-target-libtermcap: install-info-target-libtermcap
24277 install-info-target-libtermcap: \
24278 configure-target-libtermcap \
24279 info-target-libtermcap
24280 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24281 r=`${PWD_COMMAND}`; export r; \
24282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24284 $(NORMAL_TARGET_EXPORTS) \
24285 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
24286 for flag in $(EXTRA_TARGET_FLAGS); do \
24287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24289 (cd $(TARGET_SUBDIR)/libtermcap && \
24290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24292 "RANLIB=$${RANLIB}" \
24293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24297 @endif target-libtermcap
24299 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
24300 maybe-installcheck-target-libtermcap:
24301 @if target-libtermcap
24302 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
24304 installcheck-target-libtermcap: \
24305 configure-target-libtermcap
24306 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24307 r=`${PWD_COMMAND}`; export r; \
24308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24310 $(NORMAL_TARGET_EXPORTS) \
24311 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
24312 for flag in $(EXTRA_TARGET_FLAGS); do \
24313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24315 (cd $(TARGET_SUBDIR)/libtermcap && \
24316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24318 "RANLIB=$${RANLIB}" \
24319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24323 @endif target-libtermcap
24325 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
24326 maybe-mostlyclean-target-libtermcap:
24327 @if target-libtermcap
24328 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
24330 # libtermcap doesn't support mostlyclean.
24331 mostlyclean-target-libtermcap:
24333 @endif target-libtermcap
24335 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
24336 maybe-clean-target-libtermcap:
24337 @if target-libtermcap
24338 maybe-clean-target-libtermcap: clean-target-libtermcap
24340 # libtermcap doesn't support clean.
24341 clean-target-libtermcap:
24343 @endif target-libtermcap
24345 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
24346 maybe-distclean-target-libtermcap:
24347 @if target-libtermcap
24348 maybe-distclean-target-libtermcap: distclean-target-libtermcap
24350 # libtermcap doesn't support distclean.
24351 distclean-target-libtermcap:
24353 @endif target-libtermcap
24355 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
24356 maybe-maintainer-clean-target-libtermcap:
24357 @if target-libtermcap
24358 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
24360 # libtermcap doesn't support maintainer-clean.
24361 maintainer-clean-target-libtermcap:
24363 @endif target-libtermcap
24366 .PHONY: configure-target-winsup maybe-configure-target-winsup
24367 maybe-configure-target-winsup:
24369 maybe-configure-target-winsup: configure-target-winsup
24371 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24372 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
24373 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
24374 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
24375 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
24377 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
24378 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
24379 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
24380 r=`${PWD_COMMAND}`; export r; \
24381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24383 $(NORMAL_TARGET_EXPORTS) \
24384 echo Configuring in $(TARGET_SUBDIR)/winsup; \
24385 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
24386 case $(srcdir) in \
24387 /* | [A-Za-z]:[\\/]*) \
24388 topdir=$(srcdir) ;; \
24390 case "$(TARGET_SUBDIR)" in \
24391 .) topdir="../$(srcdir)" ;; \
24392 *) topdir="../../$(srcdir)" ;; \
24395 srcdiroption="--srcdir=$${topdir}/winsup"; \
24396 libsrcdir="$$s/winsup"; \
24397 rm -f no-such-file || : ; \
24398 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24399 $(TARGET_CONFIGARGS) $${srcdiroption} \
24400 --with-target-subdir="$(TARGET_SUBDIR)" \
24402 @endif target-winsup
24404 .PHONY: all-target-winsup maybe-all-target-winsup
24405 maybe-all-target-winsup:
24407 TARGET-target-winsup=all
24408 maybe-all-target-winsup: all-target-winsup
24409 all-target-winsup: configure-target-winsup
24410 @r=`${PWD_COMMAND}`; export r; \
24411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24413 $(NORMAL_TARGET_EXPORTS) \
24414 (cd $(TARGET_SUBDIR)/winsup && \
24415 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
24416 @endif target-winsup
24418 .PHONY: check-target-winsup maybe-check-target-winsup
24419 maybe-check-target-winsup:
24421 maybe-check-target-winsup: check-target-winsup
24423 check-target-winsup:
24424 @r=`${PWD_COMMAND}`; export r; \
24425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24427 $(NORMAL_TARGET_EXPORTS) \
24428 (cd $(TARGET_SUBDIR)/winsup && \
24429 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24431 @endif target-winsup
24433 .PHONY: install-target-winsup maybe-install-target-winsup
24434 maybe-install-target-winsup:
24436 maybe-install-target-winsup: install-target-winsup
24438 install-target-winsup: installdirs
24439 @r=`${PWD_COMMAND}`; export r; \
24440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24442 $(NORMAL_TARGET_EXPORTS) \
24443 (cd $(TARGET_SUBDIR)/winsup && \
24444 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24446 @endif target-winsup
24448 # Other targets (info, dvi, etc.)
24450 .PHONY: maybe-info-target-winsup info-target-winsup
24451 maybe-info-target-winsup:
24453 maybe-info-target-winsup: info-target-winsup
24455 info-target-winsup: \
24456 configure-target-winsup
24457 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24458 r=`${PWD_COMMAND}`; export r; \
24459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24461 $(NORMAL_TARGET_EXPORTS) \
24462 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
24463 for flag in $(EXTRA_TARGET_FLAGS); do \
24464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24466 (cd $(TARGET_SUBDIR)/winsup && \
24467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24469 "RANLIB=$${RANLIB}" \
24470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24474 @endif target-winsup
24476 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
24477 maybe-dvi-target-winsup:
24479 maybe-dvi-target-winsup: dvi-target-winsup
24481 dvi-target-winsup: \
24482 configure-target-winsup
24483 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24484 r=`${PWD_COMMAND}`; export r; \
24485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24487 $(NORMAL_TARGET_EXPORTS) \
24488 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
24489 for flag in $(EXTRA_TARGET_FLAGS); do \
24490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24492 (cd $(TARGET_SUBDIR)/winsup && \
24493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24495 "RANLIB=$${RANLIB}" \
24496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24500 @endif target-winsup
24502 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
24503 maybe-TAGS-target-winsup:
24505 maybe-TAGS-target-winsup: TAGS-target-winsup
24507 TAGS-target-winsup: \
24508 configure-target-winsup
24509 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24510 r=`${PWD_COMMAND}`; export r; \
24511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24513 $(NORMAL_TARGET_EXPORTS) \
24514 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
24515 for flag in $(EXTRA_TARGET_FLAGS); do \
24516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24518 (cd $(TARGET_SUBDIR)/winsup && \
24519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24521 "RANLIB=$${RANLIB}" \
24522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24526 @endif target-winsup
24528 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
24529 maybe-install-info-target-winsup:
24531 maybe-install-info-target-winsup: install-info-target-winsup
24533 install-info-target-winsup: \
24534 configure-target-winsup \
24536 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24537 r=`${PWD_COMMAND}`; export r; \
24538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24540 $(NORMAL_TARGET_EXPORTS) \
24541 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
24542 for flag in $(EXTRA_TARGET_FLAGS); do \
24543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24545 (cd $(TARGET_SUBDIR)/winsup && \
24546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24548 "RANLIB=$${RANLIB}" \
24549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24553 @endif target-winsup
24555 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
24556 maybe-installcheck-target-winsup:
24558 maybe-installcheck-target-winsup: installcheck-target-winsup
24560 installcheck-target-winsup: \
24561 configure-target-winsup
24562 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24563 r=`${PWD_COMMAND}`; export r; \
24564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24566 $(NORMAL_TARGET_EXPORTS) \
24567 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
24568 for flag in $(EXTRA_TARGET_FLAGS); do \
24569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24571 (cd $(TARGET_SUBDIR)/winsup && \
24572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24574 "RANLIB=$${RANLIB}" \
24575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24579 @endif target-winsup
24581 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
24582 maybe-mostlyclean-target-winsup:
24584 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
24586 mostlyclean-target-winsup:
24587 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24588 r=`${PWD_COMMAND}`; export r; \
24589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24591 $(NORMAL_TARGET_EXPORTS) \
24592 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
24593 for flag in $(EXTRA_TARGET_FLAGS); do \
24594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24596 (cd $(TARGET_SUBDIR)/winsup && \
24597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24599 "RANLIB=$${RANLIB}" \
24600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24604 @endif target-winsup
24606 .PHONY: maybe-clean-target-winsup clean-target-winsup
24607 maybe-clean-target-winsup:
24609 maybe-clean-target-winsup: clean-target-winsup
24611 clean-target-winsup:
24612 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24613 r=`${PWD_COMMAND}`; export r; \
24614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24616 $(NORMAL_TARGET_EXPORTS) \
24617 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
24618 for flag in $(EXTRA_TARGET_FLAGS); do \
24619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24621 (cd $(TARGET_SUBDIR)/winsup && \
24622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24624 "RANLIB=$${RANLIB}" \
24625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24629 @endif target-winsup
24631 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
24632 maybe-distclean-target-winsup:
24634 maybe-distclean-target-winsup: distclean-target-winsup
24636 distclean-target-winsup:
24637 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24638 r=`${PWD_COMMAND}`; export r; \
24639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24641 $(NORMAL_TARGET_EXPORTS) \
24642 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
24643 for flag in $(EXTRA_TARGET_FLAGS); do \
24644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24646 (cd $(TARGET_SUBDIR)/winsup && \
24647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24649 "RANLIB=$${RANLIB}" \
24650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24654 @endif target-winsup
24656 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
24657 maybe-maintainer-clean-target-winsup:
24659 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
24661 maintainer-clean-target-winsup:
24662 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24663 r=`${PWD_COMMAND}`; export r; \
24664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24666 $(NORMAL_TARGET_EXPORTS) \
24667 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
24668 for flag in $(EXTRA_TARGET_FLAGS); do \
24669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24671 (cd $(TARGET_SUBDIR)/winsup && \
24672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24674 "RANLIB=$${RANLIB}" \
24675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24676 maintainer-clean) \
24679 @endif target-winsup
24682 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
24683 maybe-configure-target-libgloss:
24684 @if target-libgloss
24685 maybe-configure-target-libgloss: configure-target-libgloss
24687 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24688 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
24689 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24690 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
24691 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
24693 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
24694 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
24695 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24696 r=`${PWD_COMMAND}`; export r; \
24697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24699 $(NORMAL_TARGET_EXPORTS) \
24700 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
24701 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
24702 case $(srcdir) in \
24703 /* | [A-Za-z]:[\\/]*) \
24704 topdir=$(srcdir) ;; \
24706 case "$(TARGET_SUBDIR)" in \
24707 .) topdir="../$(srcdir)" ;; \
24708 *) topdir="../../$(srcdir)" ;; \
24711 srcdiroption="--srcdir=$${topdir}/libgloss"; \
24712 libsrcdir="$$s/libgloss"; \
24713 rm -f no-such-file || : ; \
24714 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24715 $(TARGET_CONFIGARGS) $${srcdiroption} \
24716 --with-target-subdir="$(TARGET_SUBDIR)" \
24718 @endif target-libgloss
24720 .PHONY: all-target-libgloss maybe-all-target-libgloss
24721 maybe-all-target-libgloss:
24722 @if target-libgloss
24723 TARGET-target-libgloss=all
24724 maybe-all-target-libgloss: all-target-libgloss
24725 all-target-libgloss: configure-target-libgloss
24726 @r=`${PWD_COMMAND}`; export r; \
24727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24729 $(NORMAL_TARGET_EXPORTS) \
24730 (cd $(TARGET_SUBDIR)/libgloss && \
24731 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
24732 @endif target-libgloss
24734 .PHONY: check-target-libgloss maybe-check-target-libgloss
24735 maybe-check-target-libgloss:
24736 @if target-libgloss
24737 maybe-check-target-libgloss: check-target-libgloss
24739 # Dummy target for uncheckable module.
24740 check-target-libgloss:
24742 @endif target-libgloss
24744 .PHONY: install-target-libgloss maybe-install-target-libgloss
24745 maybe-install-target-libgloss:
24746 @if target-libgloss
24747 maybe-install-target-libgloss: install-target-libgloss
24749 install-target-libgloss: installdirs
24750 @r=`${PWD_COMMAND}`; export r; \
24751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24753 $(NORMAL_TARGET_EXPORTS) \
24754 (cd $(TARGET_SUBDIR)/libgloss && \
24755 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24757 @endif target-libgloss
24759 # Other targets (info, dvi, etc.)
24761 .PHONY: maybe-info-target-libgloss info-target-libgloss
24762 maybe-info-target-libgloss:
24763 @if target-libgloss
24764 maybe-info-target-libgloss: info-target-libgloss
24766 info-target-libgloss: \
24767 configure-target-libgloss
24768 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24769 r=`${PWD_COMMAND}`; export r; \
24770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24772 $(NORMAL_TARGET_EXPORTS) \
24773 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
24774 for flag in $(EXTRA_TARGET_FLAGS); do \
24775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24777 (cd $(TARGET_SUBDIR)/libgloss && \
24778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24780 "RANLIB=$${RANLIB}" \
24781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24785 @endif target-libgloss
24787 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
24788 maybe-dvi-target-libgloss:
24789 @if target-libgloss
24790 maybe-dvi-target-libgloss: dvi-target-libgloss
24792 dvi-target-libgloss: \
24793 configure-target-libgloss
24794 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24795 r=`${PWD_COMMAND}`; export r; \
24796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24798 $(NORMAL_TARGET_EXPORTS) \
24799 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
24800 for flag in $(EXTRA_TARGET_FLAGS); do \
24801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24803 (cd $(TARGET_SUBDIR)/libgloss && \
24804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24806 "RANLIB=$${RANLIB}" \
24807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24811 @endif target-libgloss
24813 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
24814 maybe-TAGS-target-libgloss:
24815 @if target-libgloss
24816 maybe-TAGS-target-libgloss: TAGS-target-libgloss
24818 TAGS-target-libgloss: \
24819 configure-target-libgloss
24820 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24821 r=`${PWD_COMMAND}`; export r; \
24822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24824 $(NORMAL_TARGET_EXPORTS) \
24825 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
24826 for flag in $(EXTRA_TARGET_FLAGS); do \
24827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24829 (cd $(TARGET_SUBDIR)/libgloss && \
24830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24832 "RANLIB=$${RANLIB}" \
24833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24837 @endif target-libgloss
24839 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
24840 maybe-install-info-target-libgloss:
24841 @if target-libgloss
24842 maybe-install-info-target-libgloss: install-info-target-libgloss
24844 install-info-target-libgloss: \
24845 configure-target-libgloss \
24846 info-target-libgloss
24847 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24848 r=`${PWD_COMMAND}`; export r; \
24849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24851 $(NORMAL_TARGET_EXPORTS) \
24852 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
24853 for flag in $(EXTRA_TARGET_FLAGS); do \
24854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24856 (cd $(TARGET_SUBDIR)/libgloss && \
24857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24859 "RANLIB=$${RANLIB}" \
24860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24864 @endif target-libgloss
24866 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
24867 maybe-installcheck-target-libgloss:
24868 @if target-libgloss
24869 maybe-installcheck-target-libgloss: installcheck-target-libgloss
24871 installcheck-target-libgloss: \
24872 configure-target-libgloss
24873 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24874 r=`${PWD_COMMAND}`; export r; \
24875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24877 $(NORMAL_TARGET_EXPORTS) \
24878 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
24879 for flag in $(EXTRA_TARGET_FLAGS); do \
24880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24882 (cd $(TARGET_SUBDIR)/libgloss && \
24883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24885 "RANLIB=$${RANLIB}" \
24886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24890 @endif target-libgloss
24892 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
24893 maybe-mostlyclean-target-libgloss:
24894 @if target-libgloss
24895 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
24897 mostlyclean-target-libgloss:
24898 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24899 r=`${PWD_COMMAND}`; export r; \
24900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24902 $(NORMAL_TARGET_EXPORTS) \
24903 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
24904 for flag in $(EXTRA_TARGET_FLAGS); do \
24905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24907 (cd $(TARGET_SUBDIR)/libgloss && \
24908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24910 "RANLIB=$${RANLIB}" \
24911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24915 @endif target-libgloss
24917 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
24918 maybe-clean-target-libgloss:
24919 @if target-libgloss
24920 maybe-clean-target-libgloss: clean-target-libgloss
24922 clean-target-libgloss:
24923 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24924 r=`${PWD_COMMAND}`; export r; \
24925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24927 $(NORMAL_TARGET_EXPORTS) \
24928 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
24929 for flag in $(EXTRA_TARGET_FLAGS); do \
24930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24932 (cd $(TARGET_SUBDIR)/libgloss && \
24933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24935 "RANLIB=$${RANLIB}" \
24936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24940 @endif target-libgloss
24942 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
24943 maybe-distclean-target-libgloss:
24944 @if target-libgloss
24945 maybe-distclean-target-libgloss: distclean-target-libgloss
24947 distclean-target-libgloss:
24948 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24949 r=`${PWD_COMMAND}`; export r; \
24950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24952 $(NORMAL_TARGET_EXPORTS) \
24953 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
24954 for flag in $(EXTRA_TARGET_FLAGS); do \
24955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24957 (cd $(TARGET_SUBDIR)/libgloss && \
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-libgloss
24967 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
24968 maybe-maintainer-clean-target-libgloss:
24969 @if target-libgloss
24970 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
24972 maintainer-clean-target-libgloss:
24973 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24974 r=`${PWD_COMMAND}`; export r; \
24975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24977 $(NORMAL_TARGET_EXPORTS) \
24978 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
24979 for flag in $(EXTRA_TARGET_FLAGS); do \
24980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24982 (cd $(TARGET_SUBDIR)/libgloss && \
24983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24985 "RANLIB=$${RANLIB}" \
24986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24987 maintainer-clean) \
24990 @endif target-libgloss
24993 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
24994 maybe-configure-target-libiberty:
24995 @if target-libiberty
24996 maybe-configure-target-libiberty: configure-target-libiberty
24998 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24999 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
25000 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
25001 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
25002 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
25004 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
25005 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
25006 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
25007 r=`${PWD_COMMAND}`; export r; \
25008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25010 $(NORMAL_TARGET_EXPORTS) \
25011 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
25012 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
25013 case $(srcdir) in \
25014 /* | [A-Za-z]:[\\/]*) \
25015 topdir=$(srcdir) ;; \
25017 case "$(TARGET_SUBDIR)" in \
25018 .) topdir="../$(srcdir)" ;; \
25019 *) topdir="../../$(srcdir)" ;; \
25022 srcdiroption="--srcdir=$${topdir}/libiberty"; \
25023 libsrcdir="$$s/libiberty"; \
25024 rm -f no-such-file || : ; \
25025 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25026 $(TARGET_CONFIGARGS) $${srcdiroption} \
25027 --with-target-subdir="$(TARGET_SUBDIR)" \
25029 @endif target-libiberty
25031 .PHONY: all-target-libiberty maybe-all-target-libiberty
25032 maybe-all-target-libiberty:
25033 @if target-libiberty
25034 TARGET-target-libiberty=all
25035 maybe-all-target-libiberty: all-target-libiberty
25036 all-target-libiberty: configure-target-libiberty
25037 @r=`${PWD_COMMAND}`; export r; \
25038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25040 $(NORMAL_TARGET_EXPORTS) \
25041 (cd $(TARGET_SUBDIR)/libiberty && \
25042 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
25043 @endif target-libiberty
25045 .PHONY: check-target-libiberty maybe-check-target-libiberty
25046 maybe-check-target-libiberty:
25047 @if target-libiberty
25048 maybe-check-target-libiberty: check-target-libiberty
25050 check-target-libiberty:
25051 @r=`${PWD_COMMAND}`; export r; \
25052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25054 $(NORMAL_TARGET_EXPORTS) \
25055 (cd $(TARGET_SUBDIR)/libiberty && \
25056 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25058 @endif target-libiberty
25060 .PHONY: install-target-libiberty maybe-install-target-libiberty
25061 maybe-install-target-libiberty:
25062 @if target-libiberty
25063 maybe-install-target-libiberty: install-target-libiberty
25065 install-target-libiberty: installdirs
25066 @r=`${PWD_COMMAND}`; export r; \
25067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25069 $(NORMAL_TARGET_EXPORTS) \
25070 (cd $(TARGET_SUBDIR)/libiberty && \
25071 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25073 @endif target-libiberty
25075 # Other targets (info, dvi, etc.)
25077 .PHONY: maybe-info-target-libiberty info-target-libiberty
25078 maybe-info-target-libiberty:
25079 @if target-libiberty
25080 maybe-info-target-libiberty: info-target-libiberty
25082 info-target-libiberty: \
25083 configure-target-libiberty
25084 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25085 r=`${PWD_COMMAND}`; export r; \
25086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25088 $(NORMAL_TARGET_EXPORTS) \
25089 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
25090 for flag in $(EXTRA_TARGET_FLAGS); do \
25091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25093 (cd $(TARGET_SUBDIR)/libiberty && \
25094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25096 "RANLIB=$${RANLIB}" \
25097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25101 @endif target-libiberty
25103 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
25104 maybe-dvi-target-libiberty:
25105 @if target-libiberty
25106 maybe-dvi-target-libiberty: dvi-target-libiberty
25108 dvi-target-libiberty: \
25109 configure-target-libiberty
25110 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25111 r=`${PWD_COMMAND}`; export r; \
25112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25114 $(NORMAL_TARGET_EXPORTS) \
25115 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
25116 for flag in $(EXTRA_TARGET_FLAGS); do \
25117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25119 (cd $(TARGET_SUBDIR)/libiberty && \
25120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25122 "RANLIB=$${RANLIB}" \
25123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25127 @endif target-libiberty
25129 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
25130 maybe-TAGS-target-libiberty:
25131 @if target-libiberty
25132 maybe-TAGS-target-libiberty: TAGS-target-libiberty
25134 TAGS-target-libiberty: \
25135 configure-target-libiberty
25136 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25137 r=`${PWD_COMMAND}`; export r; \
25138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25140 $(NORMAL_TARGET_EXPORTS) \
25141 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
25142 for flag in $(EXTRA_TARGET_FLAGS); do \
25143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25145 (cd $(TARGET_SUBDIR)/libiberty && \
25146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25148 "RANLIB=$${RANLIB}" \
25149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25153 @endif target-libiberty
25155 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
25156 maybe-install-info-target-libiberty:
25157 @if target-libiberty
25158 maybe-install-info-target-libiberty: install-info-target-libiberty
25160 install-info-target-libiberty: \
25161 configure-target-libiberty \
25162 info-target-libiberty
25163 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25164 r=`${PWD_COMMAND}`; export r; \
25165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25167 $(NORMAL_TARGET_EXPORTS) \
25168 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
25169 for flag in $(EXTRA_TARGET_FLAGS); do \
25170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25172 (cd $(TARGET_SUBDIR)/libiberty && \
25173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25175 "RANLIB=$${RANLIB}" \
25176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25180 @endif target-libiberty
25182 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
25183 maybe-installcheck-target-libiberty:
25184 @if target-libiberty
25185 maybe-installcheck-target-libiberty: installcheck-target-libiberty
25187 installcheck-target-libiberty: \
25188 configure-target-libiberty
25189 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25190 r=`${PWD_COMMAND}`; export r; \
25191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25193 $(NORMAL_TARGET_EXPORTS) \
25194 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
25195 for flag in $(EXTRA_TARGET_FLAGS); do \
25196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25198 (cd $(TARGET_SUBDIR)/libiberty && \
25199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25201 "RANLIB=$${RANLIB}" \
25202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25206 @endif target-libiberty
25208 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
25209 maybe-mostlyclean-target-libiberty:
25210 @if target-libiberty
25211 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
25213 mostlyclean-target-libiberty:
25214 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25215 r=`${PWD_COMMAND}`; export r; \
25216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25218 $(NORMAL_TARGET_EXPORTS) \
25219 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
25220 for flag in $(EXTRA_TARGET_FLAGS); do \
25221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25223 (cd $(TARGET_SUBDIR)/libiberty && \
25224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25226 "RANLIB=$${RANLIB}" \
25227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25231 @endif target-libiberty
25233 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
25234 maybe-clean-target-libiberty:
25235 @if target-libiberty
25236 maybe-clean-target-libiberty: clean-target-libiberty
25238 clean-target-libiberty:
25239 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25240 r=`${PWD_COMMAND}`; export r; \
25241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25243 $(NORMAL_TARGET_EXPORTS) \
25244 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
25245 for flag in $(EXTRA_TARGET_FLAGS); do \
25246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25248 (cd $(TARGET_SUBDIR)/libiberty && \
25249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25251 "RANLIB=$${RANLIB}" \
25252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25256 @endif target-libiberty
25258 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
25259 maybe-distclean-target-libiberty:
25260 @if target-libiberty
25261 maybe-distclean-target-libiberty: distclean-target-libiberty
25263 distclean-target-libiberty:
25264 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25265 r=`${PWD_COMMAND}`; export r; \
25266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25268 $(NORMAL_TARGET_EXPORTS) \
25269 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
25270 for flag in $(EXTRA_TARGET_FLAGS); do \
25271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25273 (cd $(TARGET_SUBDIR)/libiberty && \
25274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25276 "RANLIB=$${RANLIB}" \
25277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25281 @endif target-libiberty
25283 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
25284 maybe-maintainer-clean-target-libiberty:
25285 @if target-libiberty
25286 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
25288 maintainer-clean-target-libiberty:
25289 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25290 r=`${PWD_COMMAND}`; export r; \
25291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25293 $(NORMAL_TARGET_EXPORTS) \
25294 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
25295 for flag in $(EXTRA_TARGET_FLAGS); do \
25296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25298 (cd $(TARGET_SUBDIR)/libiberty && \
25299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25301 "RANLIB=$${RANLIB}" \
25302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25303 maintainer-clean) \
25306 @endif target-libiberty
25309 .PHONY: configure-target-gperf maybe-configure-target-gperf
25310 maybe-configure-target-gperf:
25312 maybe-configure-target-gperf: configure-target-gperf
25314 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25315 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
25316 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
25317 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
25318 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
25320 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
25321 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
25322 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
25323 r=`${PWD_COMMAND}`; export r; \
25324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25326 $(NORMAL_TARGET_EXPORTS) \
25327 echo Configuring in $(TARGET_SUBDIR)/gperf; \
25328 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
25329 case $(srcdir) in \
25330 /* | [A-Za-z]:[\\/]*) \
25331 topdir=$(srcdir) ;; \
25333 case "$(TARGET_SUBDIR)" in \
25334 .) topdir="../$(srcdir)" ;; \
25335 *) topdir="../../$(srcdir)" ;; \
25338 srcdiroption="--srcdir=$${topdir}/gperf"; \
25339 libsrcdir="$$s/gperf"; \
25340 rm -f no-such-file || : ; \
25341 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25342 $(TARGET_CONFIGARGS) $${srcdiroption} \
25343 --with-target-subdir="$(TARGET_SUBDIR)" \
25345 @endif target-gperf
25347 .PHONY: all-target-gperf maybe-all-target-gperf
25348 maybe-all-target-gperf:
25350 TARGET-target-gperf=all
25351 maybe-all-target-gperf: all-target-gperf
25352 all-target-gperf: configure-target-gperf
25353 @r=`${PWD_COMMAND}`; export r; \
25354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25356 $(NORMAL_TARGET_EXPORTS) \
25357 (cd $(TARGET_SUBDIR)/gperf && \
25358 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
25359 @endif target-gperf
25361 .PHONY: check-target-gperf maybe-check-target-gperf
25362 maybe-check-target-gperf:
25364 maybe-check-target-gperf: check-target-gperf
25366 check-target-gperf:
25367 @r=`${PWD_COMMAND}`; export r; \
25368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25370 $(NORMAL_TARGET_EXPORTS) \
25371 (cd $(TARGET_SUBDIR)/gperf && \
25372 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25374 @endif target-gperf
25376 .PHONY: install-target-gperf maybe-install-target-gperf
25377 maybe-install-target-gperf:
25379 maybe-install-target-gperf: install-target-gperf
25381 install-target-gperf: installdirs
25382 @r=`${PWD_COMMAND}`; export r; \
25383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25385 $(NORMAL_TARGET_EXPORTS) \
25386 (cd $(TARGET_SUBDIR)/gperf && \
25387 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25389 @endif target-gperf
25391 # Other targets (info, dvi, etc.)
25393 .PHONY: maybe-info-target-gperf info-target-gperf
25394 maybe-info-target-gperf:
25396 maybe-info-target-gperf: info-target-gperf
25398 info-target-gperf: \
25399 configure-target-gperf
25400 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25401 r=`${PWD_COMMAND}`; export r; \
25402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25404 $(NORMAL_TARGET_EXPORTS) \
25405 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
25406 for flag in $(EXTRA_TARGET_FLAGS); do \
25407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25409 (cd $(TARGET_SUBDIR)/gperf && \
25410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25412 "RANLIB=$${RANLIB}" \
25413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25417 @endif target-gperf
25419 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
25420 maybe-dvi-target-gperf:
25422 maybe-dvi-target-gperf: dvi-target-gperf
25424 dvi-target-gperf: \
25425 configure-target-gperf
25426 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25427 r=`${PWD_COMMAND}`; export r; \
25428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25430 $(NORMAL_TARGET_EXPORTS) \
25431 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
25432 for flag in $(EXTRA_TARGET_FLAGS); do \
25433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25435 (cd $(TARGET_SUBDIR)/gperf && \
25436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25438 "RANLIB=$${RANLIB}" \
25439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25443 @endif target-gperf
25445 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
25446 maybe-TAGS-target-gperf:
25448 maybe-TAGS-target-gperf: TAGS-target-gperf
25450 TAGS-target-gperf: \
25451 configure-target-gperf
25452 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25453 r=`${PWD_COMMAND}`; export r; \
25454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25456 $(NORMAL_TARGET_EXPORTS) \
25457 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
25458 for flag in $(EXTRA_TARGET_FLAGS); do \
25459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25461 (cd $(TARGET_SUBDIR)/gperf && \
25462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25464 "RANLIB=$${RANLIB}" \
25465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25469 @endif target-gperf
25471 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
25472 maybe-install-info-target-gperf:
25474 maybe-install-info-target-gperf: install-info-target-gperf
25476 install-info-target-gperf: \
25477 configure-target-gperf \
25479 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25480 r=`${PWD_COMMAND}`; export r; \
25481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25483 $(NORMAL_TARGET_EXPORTS) \
25484 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
25485 for flag in $(EXTRA_TARGET_FLAGS); do \
25486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25488 (cd $(TARGET_SUBDIR)/gperf && \
25489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25491 "RANLIB=$${RANLIB}" \
25492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25496 @endif target-gperf
25498 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
25499 maybe-installcheck-target-gperf:
25501 maybe-installcheck-target-gperf: installcheck-target-gperf
25503 installcheck-target-gperf: \
25504 configure-target-gperf
25505 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25506 r=`${PWD_COMMAND}`; export r; \
25507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25509 $(NORMAL_TARGET_EXPORTS) \
25510 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
25511 for flag in $(EXTRA_TARGET_FLAGS); do \
25512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25514 (cd $(TARGET_SUBDIR)/gperf && \
25515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25517 "RANLIB=$${RANLIB}" \
25518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25522 @endif target-gperf
25524 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
25525 maybe-mostlyclean-target-gperf:
25527 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
25529 mostlyclean-target-gperf:
25530 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25531 r=`${PWD_COMMAND}`; export r; \
25532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25534 $(NORMAL_TARGET_EXPORTS) \
25535 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
25536 for flag in $(EXTRA_TARGET_FLAGS); do \
25537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25539 (cd $(TARGET_SUBDIR)/gperf && \
25540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25542 "RANLIB=$${RANLIB}" \
25543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25547 @endif target-gperf
25549 .PHONY: maybe-clean-target-gperf clean-target-gperf
25550 maybe-clean-target-gperf:
25552 maybe-clean-target-gperf: clean-target-gperf
25554 clean-target-gperf:
25555 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25556 r=`${PWD_COMMAND}`; export r; \
25557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25559 $(NORMAL_TARGET_EXPORTS) \
25560 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
25561 for flag in $(EXTRA_TARGET_FLAGS); do \
25562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25564 (cd $(TARGET_SUBDIR)/gperf && \
25565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25567 "RANLIB=$${RANLIB}" \
25568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25572 @endif target-gperf
25574 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
25575 maybe-distclean-target-gperf:
25577 maybe-distclean-target-gperf: distclean-target-gperf
25579 distclean-target-gperf:
25580 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25581 r=`${PWD_COMMAND}`; export r; \
25582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25584 $(NORMAL_TARGET_EXPORTS) \
25585 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
25586 for flag in $(EXTRA_TARGET_FLAGS); do \
25587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25589 (cd $(TARGET_SUBDIR)/gperf && \
25590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25592 "RANLIB=$${RANLIB}" \
25593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25597 @endif target-gperf
25599 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
25600 maybe-maintainer-clean-target-gperf:
25602 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
25604 maintainer-clean-target-gperf:
25605 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25606 r=`${PWD_COMMAND}`; export r; \
25607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25609 $(NORMAL_TARGET_EXPORTS) \
25610 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
25611 for flag in $(EXTRA_TARGET_FLAGS); do \
25612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25614 (cd $(TARGET_SUBDIR)/gperf && \
25615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25617 "RANLIB=$${RANLIB}" \
25618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25619 maintainer-clean) \
25622 @endif target-gperf
25625 .PHONY: configure-target-examples maybe-configure-target-examples
25626 maybe-configure-target-examples:
25627 @if target-examples
25628 maybe-configure-target-examples: configure-target-examples
25630 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25631 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
25632 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25633 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
25634 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
25636 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
25637 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
25638 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25639 r=`${PWD_COMMAND}`; export r; \
25640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25642 $(NORMAL_TARGET_EXPORTS) \
25643 echo Configuring in $(TARGET_SUBDIR)/examples; \
25644 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
25645 case $(srcdir) in \
25646 /* | [A-Za-z]:[\\/]*) \
25647 topdir=$(srcdir) ;; \
25649 case "$(TARGET_SUBDIR)" in \
25650 .) topdir="../$(srcdir)" ;; \
25651 *) topdir="../../$(srcdir)" ;; \
25654 srcdiroption="--srcdir=$${topdir}/examples"; \
25655 libsrcdir="$$s/examples"; \
25656 rm -f no-such-file || : ; \
25657 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25658 $(TARGET_CONFIGARGS) $${srcdiroption} \
25659 --with-target-subdir="$(TARGET_SUBDIR)" \
25661 @endif target-examples
25663 .PHONY: all-target-examples maybe-all-target-examples
25664 maybe-all-target-examples:
25665 @if target-examples
25666 TARGET-target-examples=all
25667 maybe-all-target-examples: all-target-examples
25668 all-target-examples: configure-target-examples
25669 @r=`${PWD_COMMAND}`; export r; \
25670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25672 $(NORMAL_TARGET_EXPORTS) \
25673 (cd $(TARGET_SUBDIR)/examples && \
25674 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
25675 @endif target-examples
25677 .PHONY: check-target-examples maybe-check-target-examples
25678 maybe-check-target-examples:
25679 @if target-examples
25680 maybe-check-target-examples: check-target-examples
25682 # Dummy target for uncheckable module.
25683 check-target-examples:
25685 @endif target-examples
25687 .PHONY: install-target-examples maybe-install-target-examples
25688 maybe-install-target-examples:
25689 @if target-examples
25690 maybe-install-target-examples: install-target-examples
25692 # Dummy target for uninstallable.
25693 install-target-examples:
25695 @endif target-examples
25697 # Other targets (info, dvi, etc.)
25699 .PHONY: maybe-info-target-examples info-target-examples
25700 maybe-info-target-examples:
25701 @if target-examples
25702 maybe-info-target-examples: info-target-examples
25704 info-target-examples: \
25705 configure-target-examples
25706 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25707 r=`${PWD_COMMAND}`; export r; \
25708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25710 $(NORMAL_TARGET_EXPORTS) \
25711 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
25712 for flag in $(EXTRA_TARGET_FLAGS); do \
25713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25715 (cd $(TARGET_SUBDIR)/examples && \
25716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25718 "RANLIB=$${RANLIB}" \
25719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25723 @endif target-examples
25725 .PHONY: maybe-dvi-target-examples dvi-target-examples
25726 maybe-dvi-target-examples:
25727 @if target-examples
25728 maybe-dvi-target-examples: dvi-target-examples
25730 dvi-target-examples: \
25731 configure-target-examples
25732 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25733 r=`${PWD_COMMAND}`; export r; \
25734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25736 $(NORMAL_TARGET_EXPORTS) \
25737 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
25738 for flag in $(EXTRA_TARGET_FLAGS); do \
25739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25741 (cd $(TARGET_SUBDIR)/examples && \
25742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25744 "RANLIB=$${RANLIB}" \
25745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25749 @endif target-examples
25751 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
25752 maybe-TAGS-target-examples:
25753 @if target-examples
25754 maybe-TAGS-target-examples: TAGS-target-examples
25756 TAGS-target-examples: \
25757 configure-target-examples
25758 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25759 r=`${PWD_COMMAND}`; export r; \
25760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25762 $(NORMAL_TARGET_EXPORTS) \
25763 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
25764 for flag in $(EXTRA_TARGET_FLAGS); do \
25765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25767 (cd $(TARGET_SUBDIR)/examples && \
25768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25770 "RANLIB=$${RANLIB}" \
25771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25775 @endif target-examples
25777 .PHONY: maybe-install-info-target-examples install-info-target-examples
25778 maybe-install-info-target-examples:
25779 @if target-examples
25780 maybe-install-info-target-examples: install-info-target-examples
25782 install-info-target-examples: \
25783 configure-target-examples \
25784 info-target-examples
25785 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25786 r=`${PWD_COMMAND}`; export r; \
25787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25789 $(NORMAL_TARGET_EXPORTS) \
25790 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
25791 for flag in $(EXTRA_TARGET_FLAGS); do \
25792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25794 (cd $(TARGET_SUBDIR)/examples && \
25795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25797 "RANLIB=$${RANLIB}" \
25798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25802 @endif target-examples
25804 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
25805 maybe-installcheck-target-examples:
25806 @if target-examples
25807 maybe-installcheck-target-examples: installcheck-target-examples
25809 installcheck-target-examples: \
25810 configure-target-examples
25811 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25812 r=`${PWD_COMMAND}`; export r; \
25813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25815 $(NORMAL_TARGET_EXPORTS) \
25816 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
25817 for flag in $(EXTRA_TARGET_FLAGS); do \
25818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25820 (cd $(TARGET_SUBDIR)/examples && \
25821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25823 "RANLIB=$${RANLIB}" \
25824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25828 @endif target-examples
25830 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
25831 maybe-mostlyclean-target-examples:
25832 @if target-examples
25833 maybe-mostlyclean-target-examples: mostlyclean-target-examples
25835 mostlyclean-target-examples:
25836 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25837 r=`${PWD_COMMAND}`; export r; \
25838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25840 $(NORMAL_TARGET_EXPORTS) \
25841 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
25842 for flag in $(EXTRA_TARGET_FLAGS); do \
25843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25845 (cd $(TARGET_SUBDIR)/examples && \
25846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25848 "RANLIB=$${RANLIB}" \
25849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25853 @endif target-examples
25855 .PHONY: maybe-clean-target-examples clean-target-examples
25856 maybe-clean-target-examples:
25857 @if target-examples
25858 maybe-clean-target-examples: clean-target-examples
25860 clean-target-examples:
25861 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25862 r=`${PWD_COMMAND}`; export r; \
25863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25865 $(NORMAL_TARGET_EXPORTS) \
25866 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
25867 for flag in $(EXTRA_TARGET_FLAGS); do \
25868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25870 (cd $(TARGET_SUBDIR)/examples && \
25871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25873 "RANLIB=$${RANLIB}" \
25874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25878 @endif target-examples
25880 .PHONY: maybe-distclean-target-examples distclean-target-examples
25881 maybe-distclean-target-examples:
25882 @if target-examples
25883 maybe-distclean-target-examples: distclean-target-examples
25885 distclean-target-examples:
25886 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25887 r=`${PWD_COMMAND}`; export r; \
25888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25890 $(NORMAL_TARGET_EXPORTS) \
25891 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
25892 for flag in $(EXTRA_TARGET_FLAGS); do \
25893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25895 (cd $(TARGET_SUBDIR)/examples && \
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-examples
25905 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
25906 maybe-maintainer-clean-target-examples:
25907 @if target-examples
25908 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
25910 maintainer-clean-target-examples:
25911 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25912 r=`${PWD_COMMAND}`; export r; \
25913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25915 $(NORMAL_TARGET_EXPORTS) \
25916 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
25917 for flag in $(EXTRA_TARGET_FLAGS); do \
25918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25920 (cd $(TARGET_SUBDIR)/examples && \
25921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25923 "RANLIB=$${RANLIB}" \
25924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25925 maintainer-clean) \
25928 @endif target-examples
25931 .PHONY: configure-target-libffi maybe-configure-target-libffi
25932 maybe-configure-target-libffi:
25934 maybe-configure-target-libffi: configure-target-libffi
25936 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25937 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
25938 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25939 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
25940 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
25942 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
25943 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
25944 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25945 r=`${PWD_COMMAND}`; export r; \
25946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25948 $(NORMAL_TARGET_EXPORTS) \
25949 echo Configuring in $(TARGET_SUBDIR)/libffi; \
25950 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
25951 case $(srcdir) in \
25952 /* | [A-Za-z]:[\\/]*) \
25953 topdir=$(srcdir) ;; \
25955 case "$(TARGET_SUBDIR)" in \
25956 .) topdir="../$(srcdir)" ;; \
25957 *) topdir="../../$(srcdir)" ;; \
25960 srcdiroption="--srcdir=$${topdir}/libffi"; \
25961 libsrcdir="$$s/libffi"; \
25962 rm -f no-such-file || : ; \
25963 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25964 $(TARGET_CONFIGARGS) $${srcdiroption} \
25965 --with-target-subdir="$(TARGET_SUBDIR)" \
25967 @endif target-libffi
25969 .PHONY: all-target-libffi maybe-all-target-libffi
25970 maybe-all-target-libffi:
25972 TARGET-target-libffi=all
25973 maybe-all-target-libffi: all-target-libffi
25974 all-target-libffi: configure-target-libffi
25975 @r=`${PWD_COMMAND}`; export r; \
25976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25978 $(NORMAL_TARGET_EXPORTS) \
25979 (cd $(TARGET_SUBDIR)/libffi && \
25980 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
25981 @endif target-libffi
25983 .PHONY: check-target-libffi maybe-check-target-libffi
25984 maybe-check-target-libffi:
25986 maybe-check-target-libffi: check-target-libffi
25988 check-target-libffi:
25989 @r=`${PWD_COMMAND}`; export r; \
25990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25992 $(NORMAL_TARGET_EXPORTS) \
25993 (cd $(TARGET_SUBDIR)/libffi && \
25994 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25996 @endif target-libffi
25998 .PHONY: install-target-libffi maybe-install-target-libffi
25999 maybe-install-target-libffi:
26001 maybe-install-target-libffi: install-target-libffi
26003 install-target-libffi: installdirs
26004 @r=`${PWD_COMMAND}`; export r; \
26005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26007 $(NORMAL_TARGET_EXPORTS) \
26008 (cd $(TARGET_SUBDIR)/libffi && \
26009 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26011 @endif target-libffi
26013 # Other targets (info, dvi, etc.)
26015 .PHONY: maybe-info-target-libffi info-target-libffi
26016 maybe-info-target-libffi:
26018 maybe-info-target-libffi: info-target-libffi
26020 info-target-libffi: \
26021 configure-target-libffi
26022 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26023 r=`${PWD_COMMAND}`; export r; \
26024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26026 $(NORMAL_TARGET_EXPORTS) \
26027 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
26028 for flag in $(EXTRA_TARGET_FLAGS); do \
26029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26031 (cd $(TARGET_SUBDIR)/libffi && \
26032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26034 "RANLIB=$${RANLIB}" \
26035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26039 @endif target-libffi
26041 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
26042 maybe-dvi-target-libffi:
26044 maybe-dvi-target-libffi: dvi-target-libffi
26046 dvi-target-libffi: \
26047 configure-target-libffi
26048 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26049 r=`${PWD_COMMAND}`; export r; \
26050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26052 $(NORMAL_TARGET_EXPORTS) \
26053 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
26054 for flag in $(EXTRA_TARGET_FLAGS); do \
26055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26057 (cd $(TARGET_SUBDIR)/libffi && \
26058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26060 "RANLIB=$${RANLIB}" \
26061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26065 @endif target-libffi
26067 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
26068 maybe-TAGS-target-libffi:
26070 maybe-TAGS-target-libffi: TAGS-target-libffi
26072 TAGS-target-libffi: \
26073 configure-target-libffi
26074 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26075 r=`${PWD_COMMAND}`; export r; \
26076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26078 $(NORMAL_TARGET_EXPORTS) \
26079 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
26080 for flag in $(EXTRA_TARGET_FLAGS); do \
26081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26083 (cd $(TARGET_SUBDIR)/libffi && \
26084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26086 "RANLIB=$${RANLIB}" \
26087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26091 @endif target-libffi
26093 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
26094 maybe-install-info-target-libffi:
26096 maybe-install-info-target-libffi: install-info-target-libffi
26098 install-info-target-libffi: \
26099 configure-target-libffi \
26101 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26102 r=`${PWD_COMMAND}`; export r; \
26103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26105 $(NORMAL_TARGET_EXPORTS) \
26106 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
26107 for flag in $(EXTRA_TARGET_FLAGS); do \
26108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26110 (cd $(TARGET_SUBDIR)/libffi && \
26111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26113 "RANLIB=$${RANLIB}" \
26114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26118 @endif target-libffi
26120 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
26121 maybe-installcheck-target-libffi:
26123 maybe-installcheck-target-libffi: installcheck-target-libffi
26125 installcheck-target-libffi: \
26126 configure-target-libffi
26127 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26128 r=`${PWD_COMMAND}`; export r; \
26129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26131 $(NORMAL_TARGET_EXPORTS) \
26132 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
26133 for flag in $(EXTRA_TARGET_FLAGS); do \
26134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26136 (cd $(TARGET_SUBDIR)/libffi && \
26137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26139 "RANLIB=$${RANLIB}" \
26140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26144 @endif target-libffi
26146 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
26147 maybe-mostlyclean-target-libffi:
26149 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
26151 mostlyclean-target-libffi:
26152 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26153 r=`${PWD_COMMAND}`; export r; \
26154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26156 $(NORMAL_TARGET_EXPORTS) \
26157 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
26158 for flag in $(EXTRA_TARGET_FLAGS); do \
26159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26161 (cd $(TARGET_SUBDIR)/libffi && \
26162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26164 "RANLIB=$${RANLIB}" \
26165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26169 @endif target-libffi
26171 .PHONY: maybe-clean-target-libffi clean-target-libffi
26172 maybe-clean-target-libffi:
26174 maybe-clean-target-libffi: clean-target-libffi
26176 clean-target-libffi:
26177 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26178 r=`${PWD_COMMAND}`; export r; \
26179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26181 $(NORMAL_TARGET_EXPORTS) \
26182 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
26183 for flag in $(EXTRA_TARGET_FLAGS); do \
26184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26186 (cd $(TARGET_SUBDIR)/libffi && \
26187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26189 "RANLIB=$${RANLIB}" \
26190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26194 @endif target-libffi
26196 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
26197 maybe-distclean-target-libffi:
26199 maybe-distclean-target-libffi: distclean-target-libffi
26201 distclean-target-libffi:
26202 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26203 r=`${PWD_COMMAND}`; export r; \
26204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26206 $(NORMAL_TARGET_EXPORTS) \
26207 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
26208 for flag in $(EXTRA_TARGET_FLAGS); do \
26209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26211 (cd $(TARGET_SUBDIR)/libffi && \
26212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26214 "RANLIB=$${RANLIB}" \
26215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26219 @endif target-libffi
26221 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
26222 maybe-maintainer-clean-target-libffi:
26224 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
26226 maintainer-clean-target-libffi:
26227 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26228 r=`${PWD_COMMAND}`; export r; \
26229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26231 $(NORMAL_TARGET_EXPORTS) \
26232 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
26233 for flag in $(EXTRA_TARGET_FLAGS); do \
26234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26236 (cd $(TARGET_SUBDIR)/libffi && \
26237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26239 "RANLIB=$${RANLIB}" \
26240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26241 maintainer-clean) \
26244 @endif target-libffi
26247 .PHONY: configure-target-libjava maybe-configure-target-libjava
26248 maybe-configure-target-libjava:
26250 maybe-configure-target-libjava: configure-target-libjava
26252 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26253 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
26254 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
26255 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
26256 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
26258 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
26259 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
26260 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
26261 r=`${PWD_COMMAND}`; export r; \
26262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26264 $(RAW_CXX_TARGET_EXPORTS) \
26265 echo Configuring in $(TARGET_SUBDIR)/libjava; \
26266 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
26267 case $(srcdir) in \
26268 /* | [A-Za-z]:[\\/]*) \
26269 topdir=$(srcdir) ;; \
26271 case "$(TARGET_SUBDIR)" in \
26272 .) topdir="../$(srcdir)" ;; \
26273 *) topdir="../../$(srcdir)" ;; \
26276 srcdiroption="--srcdir=$${topdir}/libjava"; \
26277 libsrcdir="$$s/libjava"; \
26278 rm -f no-such-file || : ; \
26279 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26280 $(TARGET_CONFIGARGS) $${srcdiroption} \
26281 --with-target-subdir="$(TARGET_SUBDIR)" \
26283 @endif target-libjava
26285 .PHONY: all-target-libjava maybe-all-target-libjava
26286 maybe-all-target-libjava:
26288 TARGET-target-libjava=all
26289 maybe-all-target-libjava: all-target-libjava
26290 all-target-libjava: configure-target-libjava
26291 @r=`${PWD_COMMAND}`; export r; \
26292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26294 $(RAW_CXX_TARGET_EXPORTS) \
26295 (cd $(TARGET_SUBDIR)/libjava && \
26296 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
26297 @endif target-libjava
26299 .PHONY: check-target-libjava maybe-check-target-libjava
26300 maybe-check-target-libjava:
26302 maybe-check-target-libjava: check-target-libjava
26304 check-target-libjava:
26305 @r=`${PWD_COMMAND}`; export r; \
26306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26308 $(RAW_CXX_TARGET_EXPORTS) \
26309 (cd $(TARGET_SUBDIR)/libjava && \
26310 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
26312 @endif target-libjava
26314 .PHONY: install-target-libjava maybe-install-target-libjava
26315 maybe-install-target-libjava:
26317 maybe-install-target-libjava: install-target-libjava
26319 install-target-libjava: installdirs
26320 @r=`${PWD_COMMAND}`; export r; \
26321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26323 $(RAW_CXX_TARGET_EXPORTS) \
26324 (cd $(TARGET_SUBDIR)/libjava && \
26325 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26327 @endif target-libjava
26329 # Other targets (info, dvi, etc.)
26331 .PHONY: maybe-info-target-libjava info-target-libjava
26332 maybe-info-target-libjava:
26334 maybe-info-target-libjava: info-target-libjava
26336 info-target-libjava: \
26337 configure-target-libjava
26338 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26339 r=`${PWD_COMMAND}`; export r; \
26340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26342 $(RAW_CXX_TARGET_EXPORTS) \
26343 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
26344 for flag in $(EXTRA_TARGET_FLAGS); do \
26345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26347 (cd $(TARGET_SUBDIR)/libjava && \
26348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26350 "RANLIB=$${RANLIB}" \
26351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26355 @endif target-libjava
26357 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
26358 maybe-dvi-target-libjava:
26360 maybe-dvi-target-libjava: dvi-target-libjava
26362 dvi-target-libjava: \
26363 configure-target-libjava
26364 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26365 r=`${PWD_COMMAND}`; export r; \
26366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26368 $(RAW_CXX_TARGET_EXPORTS) \
26369 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
26370 for flag in $(EXTRA_TARGET_FLAGS); do \
26371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26373 (cd $(TARGET_SUBDIR)/libjava && \
26374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26376 "RANLIB=$${RANLIB}" \
26377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26381 @endif target-libjava
26383 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
26384 maybe-TAGS-target-libjava:
26386 maybe-TAGS-target-libjava: TAGS-target-libjava
26388 TAGS-target-libjava: \
26389 configure-target-libjava
26390 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26391 r=`${PWD_COMMAND}`; export r; \
26392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26394 $(RAW_CXX_TARGET_EXPORTS) \
26395 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
26396 for flag in $(EXTRA_TARGET_FLAGS); do \
26397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26399 (cd $(TARGET_SUBDIR)/libjava && \
26400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26402 "RANLIB=$${RANLIB}" \
26403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26407 @endif target-libjava
26409 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
26410 maybe-install-info-target-libjava:
26412 maybe-install-info-target-libjava: install-info-target-libjava
26414 install-info-target-libjava: \
26415 configure-target-libjava \
26416 info-target-libjava
26417 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26418 r=`${PWD_COMMAND}`; export r; \
26419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26421 $(RAW_CXX_TARGET_EXPORTS) \
26422 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
26423 for flag in $(EXTRA_TARGET_FLAGS); do \
26424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26426 (cd $(TARGET_SUBDIR)/libjava && \
26427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26429 "RANLIB=$${RANLIB}" \
26430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26434 @endif target-libjava
26436 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
26437 maybe-installcheck-target-libjava:
26439 maybe-installcheck-target-libjava: installcheck-target-libjava
26441 installcheck-target-libjava: \
26442 configure-target-libjava
26443 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26444 r=`${PWD_COMMAND}`; export r; \
26445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26447 $(RAW_CXX_TARGET_EXPORTS) \
26448 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
26449 for flag in $(EXTRA_TARGET_FLAGS); do \
26450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26452 (cd $(TARGET_SUBDIR)/libjava && \
26453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26455 "RANLIB=$${RANLIB}" \
26456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26460 @endif target-libjava
26462 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
26463 maybe-mostlyclean-target-libjava:
26465 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
26467 mostlyclean-target-libjava:
26468 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26469 r=`${PWD_COMMAND}`; export r; \
26470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26472 $(RAW_CXX_TARGET_EXPORTS) \
26473 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
26474 for flag in $(EXTRA_TARGET_FLAGS); do \
26475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26477 (cd $(TARGET_SUBDIR)/libjava && \
26478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26480 "RANLIB=$${RANLIB}" \
26481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26485 @endif target-libjava
26487 .PHONY: maybe-clean-target-libjava clean-target-libjava
26488 maybe-clean-target-libjava:
26490 maybe-clean-target-libjava: clean-target-libjava
26492 clean-target-libjava:
26493 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26494 r=`${PWD_COMMAND}`; export r; \
26495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26497 $(RAW_CXX_TARGET_EXPORTS) \
26498 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
26499 for flag in $(EXTRA_TARGET_FLAGS); do \
26500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26502 (cd $(TARGET_SUBDIR)/libjava && \
26503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26505 "RANLIB=$${RANLIB}" \
26506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26510 @endif target-libjava
26512 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
26513 maybe-distclean-target-libjava:
26515 maybe-distclean-target-libjava: distclean-target-libjava
26517 distclean-target-libjava:
26518 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26519 r=`${PWD_COMMAND}`; export r; \
26520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26522 $(RAW_CXX_TARGET_EXPORTS) \
26523 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
26524 for flag in $(EXTRA_TARGET_FLAGS); do \
26525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26527 (cd $(TARGET_SUBDIR)/libjava && \
26528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26530 "RANLIB=$${RANLIB}" \
26531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26535 @endif target-libjava
26537 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
26538 maybe-maintainer-clean-target-libjava:
26540 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
26542 maintainer-clean-target-libjava:
26543 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26544 r=`${PWD_COMMAND}`; export r; \
26545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26547 $(RAW_CXX_TARGET_EXPORTS) \
26548 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
26549 for flag in $(EXTRA_TARGET_FLAGS); do \
26550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26552 (cd $(TARGET_SUBDIR)/libjava && \
26553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26555 "RANLIB=$${RANLIB}" \
26556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26557 maintainer-clean) \
26560 @endif target-libjava
26563 .PHONY: configure-target-zlib maybe-configure-target-zlib
26564 maybe-configure-target-zlib:
26566 maybe-configure-target-zlib: configure-target-zlib
26568 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26569 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
26570 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26571 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
26572 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
26574 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
26575 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
26576 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26577 r=`${PWD_COMMAND}`; export r; \
26578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26580 $(NORMAL_TARGET_EXPORTS) \
26581 echo Configuring in $(TARGET_SUBDIR)/zlib; \
26582 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
26583 case $(srcdir) in \
26584 /* | [A-Za-z]:[\\/]*) \
26585 topdir=$(srcdir) ;; \
26587 case "$(TARGET_SUBDIR)" in \
26588 .) topdir="../$(srcdir)" ;; \
26589 *) topdir="../../$(srcdir)" ;; \
26592 if [ "$(srcdir)" = "." ] ; then \
26593 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
26594 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
26595 if [ -f Makefile ]; then \
26596 if $(MAKE) distclean; then \
26610 srcdiroption="--srcdir=."; \
26613 srcdiroption="--srcdir=$${topdir}/zlib"; \
26614 libsrcdir="$$s/zlib"; \
26616 rm -f no-such-file || : ; \
26617 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26618 $(TARGET_CONFIGARGS) $${srcdiroption} \
26619 --with-target-subdir="$(TARGET_SUBDIR)" \
26623 .PHONY: all-target-zlib maybe-all-target-zlib
26624 maybe-all-target-zlib:
26626 TARGET-target-zlib=all
26627 maybe-all-target-zlib: all-target-zlib
26628 all-target-zlib: configure-target-zlib
26629 @r=`${PWD_COMMAND}`; export r; \
26630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26632 $(NORMAL_TARGET_EXPORTS) \
26633 (cd $(TARGET_SUBDIR)/zlib && \
26634 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
26637 .PHONY: check-target-zlib maybe-check-target-zlib
26638 maybe-check-target-zlib:
26640 maybe-check-target-zlib: check-target-zlib
26643 @r=`${PWD_COMMAND}`; export r; \
26644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26646 $(NORMAL_TARGET_EXPORTS) \
26647 (cd $(TARGET_SUBDIR)/zlib && \
26648 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26652 .PHONY: install-target-zlib maybe-install-target-zlib
26653 maybe-install-target-zlib:
26655 maybe-install-target-zlib: install-target-zlib
26657 install-target-zlib: installdirs
26658 @r=`${PWD_COMMAND}`; export r; \
26659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26661 $(NORMAL_TARGET_EXPORTS) \
26662 (cd $(TARGET_SUBDIR)/zlib && \
26663 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26667 # Other targets (info, dvi, etc.)
26669 .PHONY: maybe-info-target-zlib info-target-zlib
26670 maybe-info-target-zlib:
26672 maybe-info-target-zlib: info-target-zlib
26674 info-target-zlib: \
26675 configure-target-zlib
26676 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26677 r=`${PWD_COMMAND}`; export r; \
26678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26680 $(NORMAL_TARGET_EXPORTS) \
26681 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
26682 for flag in $(EXTRA_TARGET_FLAGS); do \
26683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26685 (cd $(TARGET_SUBDIR)/zlib && \
26686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26688 "RANLIB=$${RANLIB}" \
26689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26695 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
26696 maybe-dvi-target-zlib:
26698 maybe-dvi-target-zlib: dvi-target-zlib
26701 configure-target-zlib
26702 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26703 r=`${PWD_COMMAND}`; export r; \
26704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26706 $(NORMAL_TARGET_EXPORTS) \
26707 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
26708 for flag in $(EXTRA_TARGET_FLAGS); do \
26709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26711 (cd $(TARGET_SUBDIR)/zlib && \
26712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26714 "RANLIB=$${RANLIB}" \
26715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26721 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
26722 maybe-TAGS-target-zlib:
26724 maybe-TAGS-target-zlib: TAGS-target-zlib
26726 TAGS-target-zlib: \
26727 configure-target-zlib
26728 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26729 r=`${PWD_COMMAND}`; export r; \
26730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26732 $(NORMAL_TARGET_EXPORTS) \
26733 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
26734 for flag in $(EXTRA_TARGET_FLAGS); do \
26735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26737 (cd $(TARGET_SUBDIR)/zlib && \
26738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26740 "RANLIB=$${RANLIB}" \
26741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26747 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
26748 maybe-install-info-target-zlib:
26750 maybe-install-info-target-zlib: install-info-target-zlib
26752 install-info-target-zlib: \
26753 configure-target-zlib \
26755 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26756 r=`${PWD_COMMAND}`; export r; \
26757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26759 $(NORMAL_TARGET_EXPORTS) \
26760 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
26761 for flag in $(EXTRA_TARGET_FLAGS); do \
26762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26764 (cd $(TARGET_SUBDIR)/zlib && \
26765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26767 "RANLIB=$${RANLIB}" \
26768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26774 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
26775 maybe-installcheck-target-zlib:
26777 maybe-installcheck-target-zlib: installcheck-target-zlib
26779 installcheck-target-zlib: \
26780 configure-target-zlib
26781 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26782 r=`${PWD_COMMAND}`; export r; \
26783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26785 $(NORMAL_TARGET_EXPORTS) \
26786 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
26787 for flag in $(EXTRA_TARGET_FLAGS); do \
26788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26790 (cd $(TARGET_SUBDIR)/zlib && \
26791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26793 "RANLIB=$${RANLIB}" \
26794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26800 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
26801 maybe-mostlyclean-target-zlib:
26803 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
26805 mostlyclean-target-zlib:
26806 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26807 r=`${PWD_COMMAND}`; export r; \
26808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26810 $(NORMAL_TARGET_EXPORTS) \
26811 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
26812 for flag in $(EXTRA_TARGET_FLAGS); do \
26813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26815 (cd $(TARGET_SUBDIR)/zlib && \
26816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26818 "RANLIB=$${RANLIB}" \
26819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26825 .PHONY: maybe-clean-target-zlib clean-target-zlib
26826 maybe-clean-target-zlib:
26828 maybe-clean-target-zlib: clean-target-zlib
26831 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26832 r=`${PWD_COMMAND}`; export r; \
26833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26835 $(NORMAL_TARGET_EXPORTS) \
26836 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
26837 for flag in $(EXTRA_TARGET_FLAGS); do \
26838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26840 (cd $(TARGET_SUBDIR)/zlib && \
26841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26843 "RANLIB=$${RANLIB}" \
26844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26850 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
26851 maybe-distclean-target-zlib:
26853 maybe-distclean-target-zlib: distclean-target-zlib
26855 distclean-target-zlib:
26856 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26857 r=`${PWD_COMMAND}`; export r; \
26858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26860 $(NORMAL_TARGET_EXPORTS) \
26861 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
26862 for flag in $(EXTRA_TARGET_FLAGS); do \
26863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26865 (cd $(TARGET_SUBDIR)/zlib && \
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}" \
26875 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
26876 maybe-maintainer-clean-target-zlib:
26878 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
26880 maintainer-clean-target-zlib:
26881 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26882 r=`${PWD_COMMAND}`; export r; \
26883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26885 $(NORMAL_TARGET_EXPORTS) \
26886 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
26887 for flag in $(EXTRA_TARGET_FLAGS); do \
26888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26890 (cd $(TARGET_SUBDIR)/zlib && \
26891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26893 "RANLIB=$${RANLIB}" \
26894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26895 maintainer-clean) \
26901 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
26902 maybe-configure-target-boehm-gc:
26903 @if target-boehm-gc
26904 maybe-configure-target-boehm-gc: configure-target-boehm-gc
26906 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26907 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
26908 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26909 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
26910 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
26912 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
26913 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
26914 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26915 r=`${PWD_COMMAND}`; export r; \
26916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26918 $(NORMAL_TARGET_EXPORTS) \
26919 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
26920 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
26921 case $(srcdir) in \
26922 /* | [A-Za-z]:[\\/]*) \
26923 topdir=$(srcdir) ;; \
26925 case "$(TARGET_SUBDIR)" in \
26926 .) topdir="../$(srcdir)" ;; \
26927 *) topdir="../../$(srcdir)" ;; \
26930 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
26931 libsrcdir="$$s/boehm-gc"; \
26932 rm -f no-such-file || : ; \
26933 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26934 $(TARGET_CONFIGARGS) $${srcdiroption} \
26935 --with-target-subdir="$(TARGET_SUBDIR)" \
26937 @endif target-boehm-gc
26939 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
26940 maybe-all-target-boehm-gc:
26941 @if target-boehm-gc
26942 TARGET-target-boehm-gc=all
26943 maybe-all-target-boehm-gc: all-target-boehm-gc
26944 all-target-boehm-gc: configure-target-boehm-gc
26945 @r=`${PWD_COMMAND}`; export r; \
26946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26948 $(NORMAL_TARGET_EXPORTS) \
26949 (cd $(TARGET_SUBDIR)/boehm-gc && \
26950 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
26951 @endif target-boehm-gc
26953 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
26954 maybe-check-target-boehm-gc:
26955 @if target-boehm-gc
26956 maybe-check-target-boehm-gc: check-target-boehm-gc
26958 check-target-boehm-gc:
26959 @r=`${PWD_COMMAND}`; export r; \
26960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26962 $(NORMAL_TARGET_EXPORTS) \
26963 (cd $(TARGET_SUBDIR)/boehm-gc && \
26964 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26966 @endif target-boehm-gc
26968 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
26969 maybe-install-target-boehm-gc:
26970 @if target-boehm-gc
26971 maybe-install-target-boehm-gc: install-target-boehm-gc
26973 install-target-boehm-gc: installdirs
26974 @r=`${PWD_COMMAND}`; export r; \
26975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26977 $(NORMAL_TARGET_EXPORTS) \
26978 (cd $(TARGET_SUBDIR)/boehm-gc && \
26979 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26981 @endif target-boehm-gc
26983 # Other targets (info, dvi, etc.)
26985 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
26986 maybe-info-target-boehm-gc:
26987 @if target-boehm-gc
26988 maybe-info-target-boehm-gc: info-target-boehm-gc
26990 info-target-boehm-gc: \
26991 configure-target-boehm-gc
26992 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26993 r=`${PWD_COMMAND}`; export r; \
26994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26996 $(NORMAL_TARGET_EXPORTS) \
26997 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
26998 for flag in $(EXTRA_TARGET_FLAGS); do \
26999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27001 (cd $(TARGET_SUBDIR)/boehm-gc && \
27002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27004 "RANLIB=$${RANLIB}" \
27005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27009 @endif target-boehm-gc
27011 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
27012 maybe-dvi-target-boehm-gc:
27013 @if target-boehm-gc
27014 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
27016 dvi-target-boehm-gc: \
27017 configure-target-boehm-gc
27018 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27019 r=`${PWD_COMMAND}`; export r; \
27020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27022 $(NORMAL_TARGET_EXPORTS) \
27023 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
27024 for flag in $(EXTRA_TARGET_FLAGS); do \
27025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27027 (cd $(TARGET_SUBDIR)/boehm-gc && \
27028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27030 "RANLIB=$${RANLIB}" \
27031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27035 @endif target-boehm-gc
27037 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
27038 maybe-TAGS-target-boehm-gc:
27039 @if target-boehm-gc
27040 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
27042 TAGS-target-boehm-gc: \
27043 configure-target-boehm-gc
27044 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27045 r=`${PWD_COMMAND}`; export r; \
27046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27048 $(NORMAL_TARGET_EXPORTS) \
27049 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
27050 for flag in $(EXTRA_TARGET_FLAGS); do \
27051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27053 (cd $(TARGET_SUBDIR)/boehm-gc && \
27054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27056 "RANLIB=$${RANLIB}" \
27057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27061 @endif target-boehm-gc
27063 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
27064 maybe-install-info-target-boehm-gc:
27065 @if target-boehm-gc
27066 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
27068 install-info-target-boehm-gc: \
27069 configure-target-boehm-gc \
27070 info-target-boehm-gc
27071 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27072 r=`${PWD_COMMAND}`; export r; \
27073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27075 $(NORMAL_TARGET_EXPORTS) \
27076 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
27077 for flag in $(EXTRA_TARGET_FLAGS); do \
27078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27080 (cd $(TARGET_SUBDIR)/boehm-gc && \
27081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27083 "RANLIB=$${RANLIB}" \
27084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27088 @endif target-boehm-gc
27090 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
27091 maybe-installcheck-target-boehm-gc:
27092 @if target-boehm-gc
27093 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
27095 installcheck-target-boehm-gc: \
27096 configure-target-boehm-gc
27097 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27098 r=`${PWD_COMMAND}`; export r; \
27099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27101 $(NORMAL_TARGET_EXPORTS) \
27102 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
27103 for flag in $(EXTRA_TARGET_FLAGS); do \
27104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27106 (cd $(TARGET_SUBDIR)/boehm-gc && \
27107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27109 "RANLIB=$${RANLIB}" \
27110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27114 @endif target-boehm-gc
27116 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
27117 maybe-mostlyclean-target-boehm-gc:
27118 @if target-boehm-gc
27119 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
27121 mostlyclean-target-boehm-gc:
27122 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27123 r=`${PWD_COMMAND}`; export r; \
27124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27126 $(NORMAL_TARGET_EXPORTS) \
27127 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
27128 for flag in $(EXTRA_TARGET_FLAGS); do \
27129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27131 (cd $(TARGET_SUBDIR)/boehm-gc && \
27132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27134 "RANLIB=$${RANLIB}" \
27135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27139 @endif target-boehm-gc
27141 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
27142 maybe-clean-target-boehm-gc:
27143 @if target-boehm-gc
27144 maybe-clean-target-boehm-gc: clean-target-boehm-gc
27146 clean-target-boehm-gc:
27147 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27148 r=`${PWD_COMMAND}`; export r; \
27149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27151 $(NORMAL_TARGET_EXPORTS) \
27152 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
27153 for flag in $(EXTRA_TARGET_FLAGS); do \
27154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27156 (cd $(TARGET_SUBDIR)/boehm-gc && \
27157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27159 "RANLIB=$${RANLIB}" \
27160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27164 @endif target-boehm-gc
27166 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
27167 maybe-distclean-target-boehm-gc:
27168 @if target-boehm-gc
27169 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
27171 distclean-target-boehm-gc:
27172 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27173 r=`${PWD_COMMAND}`; export r; \
27174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27176 $(NORMAL_TARGET_EXPORTS) \
27177 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
27178 for flag in $(EXTRA_TARGET_FLAGS); do \
27179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27181 (cd $(TARGET_SUBDIR)/boehm-gc && \
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}" \
27189 @endif target-boehm-gc
27191 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
27192 maybe-maintainer-clean-target-boehm-gc:
27193 @if target-boehm-gc
27194 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
27196 maintainer-clean-target-boehm-gc:
27197 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27198 r=`${PWD_COMMAND}`; export r; \
27199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27201 $(NORMAL_TARGET_EXPORTS) \
27202 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
27203 for flag in $(EXTRA_TARGET_FLAGS); do \
27204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27206 (cd $(TARGET_SUBDIR)/boehm-gc && \
27207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27209 "RANLIB=$${RANLIB}" \
27210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27211 maintainer-clean) \
27214 @endif target-boehm-gc
27217 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
27218 maybe-configure-target-qthreads:
27219 @if target-qthreads
27220 maybe-configure-target-qthreads: configure-target-qthreads
27222 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27223 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
27224 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
27225 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
27226 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
27228 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
27229 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
27230 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
27231 r=`${PWD_COMMAND}`; export r; \
27232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27234 $(NORMAL_TARGET_EXPORTS) \
27235 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
27236 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
27237 case $(srcdir) in \
27238 /* | [A-Za-z]:[\\/]*) \
27239 topdir=$(srcdir) ;; \
27241 case "$(TARGET_SUBDIR)" in \
27242 .) topdir="../$(srcdir)" ;; \
27243 *) topdir="../../$(srcdir)" ;; \
27246 srcdiroption="--srcdir=$${topdir}/qthreads"; \
27247 libsrcdir="$$s/qthreads"; \
27248 rm -f no-such-file || : ; \
27249 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27250 $(TARGET_CONFIGARGS) $${srcdiroption} \
27251 --with-target-subdir="$(TARGET_SUBDIR)" \
27253 @endif target-qthreads
27255 .PHONY: all-target-qthreads maybe-all-target-qthreads
27256 maybe-all-target-qthreads:
27257 @if target-qthreads
27258 TARGET-target-qthreads=all
27259 maybe-all-target-qthreads: all-target-qthreads
27260 all-target-qthreads: configure-target-qthreads
27261 @r=`${PWD_COMMAND}`; export r; \
27262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27264 $(NORMAL_TARGET_EXPORTS) \
27265 (cd $(TARGET_SUBDIR)/qthreads && \
27266 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
27267 @endif target-qthreads
27269 .PHONY: check-target-qthreads maybe-check-target-qthreads
27270 maybe-check-target-qthreads:
27271 @if target-qthreads
27272 maybe-check-target-qthreads: check-target-qthreads
27274 check-target-qthreads:
27275 @r=`${PWD_COMMAND}`; export r; \
27276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27278 $(NORMAL_TARGET_EXPORTS) \
27279 (cd $(TARGET_SUBDIR)/qthreads && \
27280 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27282 @endif target-qthreads
27284 .PHONY: install-target-qthreads maybe-install-target-qthreads
27285 maybe-install-target-qthreads:
27286 @if target-qthreads
27287 maybe-install-target-qthreads: install-target-qthreads
27289 install-target-qthreads: installdirs
27290 @r=`${PWD_COMMAND}`; export r; \
27291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27293 $(NORMAL_TARGET_EXPORTS) \
27294 (cd $(TARGET_SUBDIR)/qthreads && \
27295 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27297 @endif target-qthreads
27299 # Other targets (info, dvi, etc.)
27301 .PHONY: maybe-info-target-qthreads info-target-qthreads
27302 maybe-info-target-qthreads:
27303 @if target-qthreads
27304 maybe-info-target-qthreads: info-target-qthreads
27306 info-target-qthreads: \
27307 configure-target-qthreads
27308 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27309 r=`${PWD_COMMAND}`; export r; \
27310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27312 $(NORMAL_TARGET_EXPORTS) \
27313 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
27314 for flag in $(EXTRA_TARGET_FLAGS); do \
27315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27317 (cd $(TARGET_SUBDIR)/qthreads && \
27318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27320 "RANLIB=$${RANLIB}" \
27321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27325 @endif target-qthreads
27327 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
27328 maybe-dvi-target-qthreads:
27329 @if target-qthreads
27330 maybe-dvi-target-qthreads: dvi-target-qthreads
27332 dvi-target-qthreads: \
27333 configure-target-qthreads
27334 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27335 r=`${PWD_COMMAND}`; export r; \
27336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27338 $(NORMAL_TARGET_EXPORTS) \
27339 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
27340 for flag in $(EXTRA_TARGET_FLAGS); do \
27341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27343 (cd $(TARGET_SUBDIR)/qthreads && \
27344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27346 "RANLIB=$${RANLIB}" \
27347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27351 @endif target-qthreads
27353 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
27354 maybe-TAGS-target-qthreads:
27355 @if target-qthreads
27356 maybe-TAGS-target-qthreads: TAGS-target-qthreads
27358 TAGS-target-qthreads: \
27359 configure-target-qthreads
27360 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27361 r=`${PWD_COMMAND}`; export r; \
27362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27364 $(NORMAL_TARGET_EXPORTS) \
27365 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
27366 for flag in $(EXTRA_TARGET_FLAGS); do \
27367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27369 (cd $(TARGET_SUBDIR)/qthreads && \
27370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27372 "RANLIB=$${RANLIB}" \
27373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27377 @endif target-qthreads
27379 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
27380 maybe-install-info-target-qthreads:
27381 @if target-qthreads
27382 maybe-install-info-target-qthreads: install-info-target-qthreads
27384 install-info-target-qthreads: \
27385 configure-target-qthreads \
27386 info-target-qthreads
27387 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27388 r=`${PWD_COMMAND}`; export r; \
27389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27391 $(NORMAL_TARGET_EXPORTS) \
27392 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
27393 for flag in $(EXTRA_TARGET_FLAGS); do \
27394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27396 (cd $(TARGET_SUBDIR)/qthreads && \
27397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27399 "RANLIB=$${RANLIB}" \
27400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27404 @endif target-qthreads
27406 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
27407 maybe-installcheck-target-qthreads:
27408 @if target-qthreads
27409 maybe-installcheck-target-qthreads: installcheck-target-qthreads
27411 installcheck-target-qthreads: \
27412 configure-target-qthreads
27413 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27414 r=`${PWD_COMMAND}`; export r; \
27415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27417 $(NORMAL_TARGET_EXPORTS) \
27418 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
27419 for flag in $(EXTRA_TARGET_FLAGS); do \
27420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27422 (cd $(TARGET_SUBDIR)/qthreads && \
27423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27425 "RANLIB=$${RANLIB}" \
27426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27430 @endif target-qthreads
27432 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
27433 maybe-mostlyclean-target-qthreads:
27434 @if target-qthreads
27435 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
27437 mostlyclean-target-qthreads:
27438 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27439 r=`${PWD_COMMAND}`; export r; \
27440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27442 $(NORMAL_TARGET_EXPORTS) \
27443 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
27444 for flag in $(EXTRA_TARGET_FLAGS); do \
27445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27447 (cd $(TARGET_SUBDIR)/qthreads && \
27448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27450 "RANLIB=$${RANLIB}" \
27451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27455 @endif target-qthreads
27457 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
27458 maybe-clean-target-qthreads:
27459 @if target-qthreads
27460 maybe-clean-target-qthreads: clean-target-qthreads
27462 clean-target-qthreads:
27463 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27464 r=`${PWD_COMMAND}`; export r; \
27465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27467 $(NORMAL_TARGET_EXPORTS) \
27468 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
27469 for flag in $(EXTRA_TARGET_FLAGS); do \
27470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27472 (cd $(TARGET_SUBDIR)/qthreads && \
27473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27475 "RANLIB=$${RANLIB}" \
27476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27480 @endif target-qthreads
27482 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
27483 maybe-distclean-target-qthreads:
27484 @if target-qthreads
27485 maybe-distclean-target-qthreads: distclean-target-qthreads
27487 distclean-target-qthreads:
27488 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27489 r=`${PWD_COMMAND}`; export r; \
27490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27492 $(NORMAL_TARGET_EXPORTS) \
27493 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
27494 for flag in $(EXTRA_TARGET_FLAGS); do \
27495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27497 (cd $(TARGET_SUBDIR)/qthreads && \
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-qthreads
27507 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
27508 maybe-maintainer-clean-target-qthreads:
27509 @if target-qthreads
27510 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
27512 maintainer-clean-target-qthreads:
27513 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27514 r=`${PWD_COMMAND}`; export r; \
27515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27517 $(NORMAL_TARGET_EXPORTS) \
27518 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
27519 for flag in $(EXTRA_TARGET_FLAGS); do \
27520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27522 (cd $(TARGET_SUBDIR)/qthreads && \
27523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27525 "RANLIB=$${RANLIB}" \
27526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27527 maintainer-clean) \
27530 @endif target-qthreads
27533 .PHONY: configure-target-rda maybe-configure-target-rda
27534 maybe-configure-target-rda:
27536 maybe-configure-target-rda: configure-target-rda
27538 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27539 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
27540 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27541 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
27542 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
27544 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
27545 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
27546 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27547 r=`${PWD_COMMAND}`; export r; \
27548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27550 $(NORMAL_TARGET_EXPORTS) \
27551 echo Configuring in $(TARGET_SUBDIR)/rda; \
27552 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
27553 case $(srcdir) in \
27554 /* | [A-Za-z]:[\\/]*) \
27555 topdir=$(srcdir) ;; \
27557 case "$(TARGET_SUBDIR)" in \
27558 .) topdir="../$(srcdir)" ;; \
27559 *) topdir="../../$(srcdir)" ;; \
27562 srcdiroption="--srcdir=$${topdir}/rda"; \
27563 libsrcdir="$$s/rda"; \
27564 rm -f no-such-file || : ; \
27565 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27566 $(TARGET_CONFIGARGS) $${srcdiroption} \
27567 --with-target-subdir="$(TARGET_SUBDIR)" \
27571 .PHONY: all-target-rda maybe-all-target-rda
27572 maybe-all-target-rda:
27574 TARGET-target-rda=all
27575 maybe-all-target-rda: all-target-rda
27576 all-target-rda: configure-target-rda
27577 @r=`${PWD_COMMAND}`; export r; \
27578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27580 $(NORMAL_TARGET_EXPORTS) \
27581 (cd $(TARGET_SUBDIR)/rda && \
27582 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
27585 .PHONY: check-target-rda maybe-check-target-rda
27586 maybe-check-target-rda:
27588 maybe-check-target-rda: check-target-rda
27591 @r=`${PWD_COMMAND}`; export r; \
27592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27594 $(NORMAL_TARGET_EXPORTS) \
27595 (cd $(TARGET_SUBDIR)/rda && \
27596 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27600 .PHONY: install-target-rda maybe-install-target-rda
27601 maybe-install-target-rda:
27603 maybe-install-target-rda: install-target-rda
27605 install-target-rda: installdirs
27606 @r=`${PWD_COMMAND}`; export r; \
27607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27609 $(NORMAL_TARGET_EXPORTS) \
27610 (cd $(TARGET_SUBDIR)/rda && \
27611 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27615 # Other targets (info, dvi, etc.)
27617 .PHONY: maybe-info-target-rda info-target-rda
27618 maybe-info-target-rda:
27620 maybe-info-target-rda: info-target-rda
27623 configure-target-rda
27624 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27625 r=`${PWD_COMMAND}`; export r; \
27626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27628 $(NORMAL_TARGET_EXPORTS) \
27629 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
27630 for flag in $(EXTRA_TARGET_FLAGS); do \
27631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27633 (cd $(TARGET_SUBDIR)/rda && \
27634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27636 "RANLIB=$${RANLIB}" \
27637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27643 .PHONY: maybe-dvi-target-rda dvi-target-rda
27644 maybe-dvi-target-rda:
27646 maybe-dvi-target-rda: dvi-target-rda
27649 configure-target-rda
27650 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27651 r=`${PWD_COMMAND}`; export r; \
27652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27654 $(NORMAL_TARGET_EXPORTS) \
27655 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
27656 for flag in $(EXTRA_TARGET_FLAGS); do \
27657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27659 (cd $(TARGET_SUBDIR)/rda && \
27660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27662 "RANLIB=$${RANLIB}" \
27663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27669 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
27670 maybe-TAGS-target-rda:
27672 maybe-TAGS-target-rda: TAGS-target-rda
27675 configure-target-rda
27676 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27677 r=`${PWD_COMMAND}`; export r; \
27678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27680 $(NORMAL_TARGET_EXPORTS) \
27681 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
27682 for flag in $(EXTRA_TARGET_FLAGS); do \
27683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27685 (cd $(TARGET_SUBDIR)/rda && \
27686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27688 "RANLIB=$${RANLIB}" \
27689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27695 .PHONY: maybe-install-info-target-rda install-info-target-rda
27696 maybe-install-info-target-rda:
27698 maybe-install-info-target-rda: install-info-target-rda
27700 install-info-target-rda: \
27701 configure-target-rda \
27703 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27704 r=`${PWD_COMMAND}`; export r; \
27705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27707 $(NORMAL_TARGET_EXPORTS) \
27708 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
27709 for flag in $(EXTRA_TARGET_FLAGS); do \
27710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27712 (cd $(TARGET_SUBDIR)/rda && \
27713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27715 "RANLIB=$${RANLIB}" \
27716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27722 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
27723 maybe-installcheck-target-rda:
27725 maybe-installcheck-target-rda: installcheck-target-rda
27727 installcheck-target-rda: \
27728 configure-target-rda
27729 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27730 r=`${PWD_COMMAND}`; export r; \
27731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27733 $(NORMAL_TARGET_EXPORTS) \
27734 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
27735 for flag in $(EXTRA_TARGET_FLAGS); do \
27736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27738 (cd $(TARGET_SUBDIR)/rda && \
27739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27741 "RANLIB=$${RANLIB}" \
27742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27748 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
27749 maybe-mostlyclean-target-rda:
27751 maybe-mostlyclean-target-rda: mostlyclean-target-rda
27753 mostlyclean-target-rda:
27754 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27755 r=`${PWD_COMMAND}`; export r; \
27756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27758 $(NORMAL_TARGET_EXPORTS) \
27759 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
27760 for flag in $(EXTRA_TARGET_FLAGS); do \
27761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27763 (cd $(TARGET_SUBDIR)/rda && \
27764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27766 "RANLIB=$${RANLIB}" \
27767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27773 .PHONY: maybe-clean-target-rda clean-target-rda
27774 maybe-clean-target-rda:
27776 maybe-clean-target-rda: clean-target-rda
27779 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27780 r=`${PWD_COMMAND}`; export r; \
27781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27783 $(NORMAL_TARGET_EXPORTS) \
27784 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
27785 for flag in $(EXTRA_TARGET_FLAGS); do \
27786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27788 (cd $(TARGET_SUBDIR)/rda && \
27789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27791 "RANLIB=$${RANLIB}" \
27792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27798 .PHONY: maybe-distclean-target-rda distclean-target-rda
27799 maybe-distclean-target-rda:
27801 maybe-distclean-target-rda: distclean-target-rda
27803 distclean-target-rda:
27804 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27805 r=`${PWD_COMMAND}`; export r; \
27806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27808 $(NORMAL_TARGET_EXPORTS) \
27809 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
27810 for flag in $(EXTRA_TARGET_FLAGS); do \
27811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27813 (cd $(TARGET_SUBDIR)/rda && \
27814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27816 "RANLIB=$${RANLIB}" \
27817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27823 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
27824 maybe-maintainer-clean-target-rda:
27826 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
27828 maintainer-clean-target-rda:
27829 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27830 r=`${PWD_COMMAND}`; export r; \
27831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27833 $(NORMAL_TARGET_EXPORTS) \
27834 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
27835 for flag in $(EXTRA_TARGET_FLAGS); do \
27836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27838 (cd $(TARGET_SUBDIR)/rda && \
27839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27841 "RANLIB=$${RANLIB}" \
27842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27843 maintainer-clean) \
27849 .PHONY: configure-target-libada maybe-configure-target-libada
27850 maybe-configure-target-libada:
27852 maybe-configure-target-libada: configure-target-libada
27854 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27855 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
27856 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27857 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
27858 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
27860 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
27861 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
27862 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27863 r=`${PWD_COMMAND}`; export r; \
27864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27866 $(NORMAL_TARGET_EXPORTS) \
27867 echo Configuring in $(TARGET_SUBDIR)/libada; \
27868 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
27869 case $(srcdir) in \
27870 /* | [A-Za-z]:[\\/]*) \
27871 topdir=$(srcdir) ;; \
27873 case "$(TARGET_SUBDIR)" in \
27874 .) topdir="../$(srcdir)" ;; \
27875 *) topdir="../../$(srcdir)" ;; \
27878 srcdiroption="--srcdir=$${topdir}/libada"; \
27879 libsrcdir="$$s/libada"; \
27880 rm -f no-such-file || : ; \
27881 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27882 $(TARGET_CONFIGARGS) $${srcdiroption} \
27883 --with-target-subdir="$(TARGET_SUBDIR)" \
27885 @endif target-libada
27887 .PHONY: all-target-libada maybe-all-target-libada
27888 maybe-all-target-libada:
27890 TARGET-target-libada=all
27891 maybe-all-target-libada: all-target-libada
27892 all-target-libada: configure-target-libada
27893 @r=`${PWD_COMMAND}`; export r; \
27894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27896 $(NORMAL_TARGET_EXPORTS) \
27897 (cd $(TARGET_SUBDIR)/libada && \
27898 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
27899 @endif target-libada
27901 .PHONY: check-target-libada maybe-check-target-libada
27902 maybe-check-target-libada:
27904 maybe-check-target-libada: check-target-libada
27906 check-target-libada:
27907 @r=`${PWD_COMMAND}`; export r; \
27908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27910 $(NORMAL_TARGET_EXPORTS) \
27911 (cd $(TARGET_SUBDIR)/libada && \
27912 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27914 @endif target-libada
27916 .PHONY: install-target-libada maybe-install-target-libada
27917 maybe-install-target-libada:
27919 maybe-install-target-libada: install-target-libada
27921 install-target-libada: installdirs
27922 @r=`${PWD_COMMAND}`; export r; \
27923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27925 $(NORMAL_TARGET_EXPORTS) \
27926 (cd $(TARGET_SUBDIR)/libada && \
27927 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27929 @endif target-libada
27931 # Other targets (info, dvi, etc.)
27933 .PHONY: maybe-info-target-libada info-target-libada
27934 maybe-info-target-libada:
27936 maybe-info-target-libada: info-target-libada
27938 info-target-libada: \
27939 configure-target-libada
27940 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27941 r=`${PWD_COMMAND}`; export r; \
27942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27944 $(NORMAL_TARGET_EXPORTS) \
27945 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
27946 for flag in $(EXTRA_TARGET_FLAGS); do \
27947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27949 (cd $(TARGET_SUBDIR)/libada && \
27950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27952 "RANLIB=$${RANLIB}" \
27953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27957 @endif target-libada
27959 .PHONY: maybe-dvi-target-libada dvi-target-libada
27960 maybe-dvi-target-libada:
27962 maybe-dvi-target-libada: dvi-target-libada
27964 dvi-target-libada: \
27965 configure-target-libada
27966 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27967 r=`${PWD_COMMAND}`; export r; \
27968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27970 $(NORMAL_TARGET_EXPORTS) \
27971 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
27972 for flag in $(EXTRA_TARGET_FLAGS); do \
27973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27975 (cd $(TARGET_SUBDIR)/libada && \
27976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27978 "RANLIB=$${RANLIB}" \
27979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27983 @endif target-libada
27985 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
27986 maybe-TAGS-target-libada:
27988 maybe-TAGS-target-libada: TAGS-target-libada
27990 TAGS-target-libada: \
27991 configure-target-libada
27992 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27993 r=`${PWD_COMMAND}`; export r; \
27994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27996 $(NORMAL_TARGET_EXPORTS) \
27997 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
27998 for flag in $(EXTRA_TARGET_FLAGS); do \
27999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28001 (cd $(TARGET_SUBDIR)/libada && \
28002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28004 "RANLIB=$${RANLIB}" \
28005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28009 @endif target-libada
28011 .PHONY: maybe-install-info-target-libada install-info-target-libada
28012 maybe-install-info-target-libada:
28014 maybe-install-info-target-libada: install-info-target-libada
28016 install-info-target-libada: \
28017 configure-target-libada \
28019 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28020 r=`${PWD_COMMAND}`; export r; \
28021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28023 $(NORMAL_TARGET_EXPORTS) \
28024 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
28025 for flag in $(EXTRA_TARGET_FLAGS); do \
28026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28028 (cd $(TARGET_SUBDIR)/libada && \
28029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28031 "RANLIB=$${RANLIB}" \
28032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28036 @endif target-libada
28038 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
28039 maybe-installcheck-target-libada:
28041 maybe-installcheck-target-libada: installcheck-target-libada
28043 installcheck-target-libada: \
28044 configure-target-libada
28045 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28046 r=`${PWD_COMMAND}`; export r; \
28047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28049 $(NORMAL_TARGET_EXPORTS) \
28050 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
28051 for flag in $(EXTRA_TARGET_FLAGS); do \
28052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28054 (cd $(TARGET_SUBDIR)/libada && \
28055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28057 "RANLIB=$${RANLIB}" \
28058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28062 @endif target-libada
28064 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
28065 maybe-mostlyclean-target-libada:
28067 maybe-mostlyclean-target-libada: mostlyclean-target-libada
28069 mostlyclean-target-libada:
28070 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28071 r=`${PWD_COMMAND}`; export r; \
28072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28074 $(NORMAL_TARGET_EXPORTS) \
28075 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
28076 for flag in $(EXTRA_TARGET_FLAGS); do \
28077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28079 (cd $(TARGET_SUBDIR)/libada && \
28080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28082 "RANLIB=$${RANLIB}" \
28083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28087 @endif target-libada
28089 .PHONY: maybe-clean-target-libada clean-target-libada
28090 maybe-clean-target-libada:
28092 maybe-clean-target-libada: clean-target-libada
28094 clean-target-libada:
28095 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28096 r=`${PWD_COMMAND}`; export r; \
28097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28099 $(NORMAL_TARGET_EXPORTS) \
28100 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
28101 for flag in $(EXTRA_TARGET_FLAGS); do \
28102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28104 (cd $(TARGET_SUBDIR)/libada && \
28105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28107 "RANLIB=$${RANLIB}" \
28108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28112 @endif target-libada
28114 .PHONY: maybe-distclean-target-libada distclean-target-libada
28115 maybe-distclean-target-libada:
28117 maybe-distclean-target-libada: distclean-target-libada
28119 distclean-target-libada:
28120 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28121 r=`${PWD_COMMAND}`; export r; \
28122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28124 $(NORMAL_TARGET_EXPORTS) \
28125 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
28126 for flag in $(EXTRA_TARGET_FLAGS); do \
28127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28129 (cd $(TARGET_SUBDIR)/libada && \
28130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28132 "RANLIB=$${RANLIB}" \
28133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28137 @endif target-libada
28139 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
28140 maybe-maintainer-clean-target-libada:
28142 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
28144 maintainer-clean-target-libada:
28145 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
28146 r=`${PWD_COMMAND}`; export r; \
28147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28149 $(NORMAL_TARGET_EXPORTS) \
28150 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
28151 for flag in $(EXTRA_TARGET_FLAGS); do \
28152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28154 (cd $(TARGET_SUBDIR)/libada && \
28155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28157 "RANLIB=$${RANLIB}" \
28158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28159 maintainer-clean) \
28162 @endif target-libada
28170 @if gcc-no-bootstrap
28171 # GCC has some more recursive targets, which trigger the old
28172 # (but still current, until the toplevel bootstrap project
28173 # is finished) compiler bootstrapping rules.
28175 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
28176 .PHONY: $(GCC_STRAP_TARGETS)
28177 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
28178 @r=`${PWD_COMMAND}`; export r; \
28179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28182 echo "Bootstrapping the compiler"; \
28183 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
28184 @r=`${PWD_COMMAND}`; export r; \
28185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28187 *bootstrap4-lean ) \
28188 msg="Comparing stage3 and stage4 of the compiler"; \
28189 compare=compare3-lean ;; \
28191 msg="Comparing stage3 and stage4 of the compiler"; \
28192 compare=compare3 ;; \
28194 msg="Comparing stage2 and stage3 of the compiler"; \
28195 compare=compare-lean ;; \
28197 msg="Comparing stage2 and stage3 of the compiler"; \
28198 compare=compare ;; \
28203 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
28204 @r=`${PWD_COMMAND}`; export r; \
28205 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28207 echo "Building runtime libraries"; \
28208 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
28210 profiledbootstrap: all-prebootstrap configure-gcc
28211 @r=`${PWD_COMMAND}`; export r; \
28212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28215 echo "Bootstrapping training compiler"; \
28216 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
28217 @r=`${PWD_COMMAND}`; export r; \
28218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28221 echo "Building feedback based compiler"; \
28222 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
28223 @r=`${PWD_COMMAND}`; export r; \
28224 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28226 echo "Building runtime libraries"; \
28227 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
28230 cross: all-build all-gas all-ld
28231 @r=`${PWD_COMMAND}`; export r; \
28232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28235 echo "Building the C and C++ compiler"; \
28236 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
28237 @r=`${PWD_COMMAND}`; export r; \
28238 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28240 echo "Building runtime libraries"; \
28241 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
28242 @endif gcc-no-bootstrap
28245 .PHONY: check-gcc-c++
28247 @if [ -f ./gcc/Makefile ] ; then \
28248 r=`${PWD_COMMAND}`; export r; \
28249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28252 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
28258 check-c++: check-target-libstdc++-v3 check-gcc-c++
28260 # Install the gcc headers files, but not the fixed include files,
28261 # which Cygnus is not allowed to distribute. This rule is very
28262 # dependent on the workings of the gcc Makefile.in.
28263 .PHONY: gcc-no-fixedincludes
28264 gcc-no-fixedincludes:
28265 @if [ -f ./gcc/Makefile ]; then \
28266 rm -rf gcc/tmp-include; \
28267 mv gcc/include gcc/tmp-include 2>/dev/null; \
28268 mkdir gcc/include; \
28269 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
28270 touch gcc/stmp-fixinc gcc/include/fixed; \
28271 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
28272 r=`${PWD_COMMAND}`; export r; \
28273 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28277 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
28278 rm -rf gcc/include; \
28279 mv gcc/tmp-include gcc/include 2>/dev/null; \
28283 # ---------------------
28284 # GCC bootstrap support
28285 # ---------------------
28287 # We track the current stage (the one in 'gcc') in the stage_current file.
28288 # stage_last instead tracks the stage that was built last. These targets
28289 # are dummy when toplevel bootstrap is not active.
28294 @[ -f stage_current ] || $(MAKE) `cat stage_last`-start
28295 @endif gcc-bootstrap
28300 @$(MAKE) `cat stage_current`-end
28301 @endif gcc-bootstrap
28303 # We name the build directories for the various stages "stage1-gcc",
28304 # "stage2-gcc","stage3-gcc", etc.
28306 # Since the 'compare' process will fail (on debugging information) if any
28307 # directory names are different, we need to link the gcc directory for
28308 # the previous stage to a constant name ('gcc-prev'), and to make the name of
28309 # the build directories constant as well. For the latter, we use naked names
28310 # like 'gcc', because the scripts in that directory assume it. We use
28311 # mv on platforms where symlinks to directories do not work or are not
28314 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
28315 # be kept, so that libraries can find it. Ick!
28317 # It would be best to preinstall gcc into a staging area (and in the
28318 # future, gather there all prebootstrap packages). This would allow
28319 # assemblers and linkers can be bootstrapped as well as the compiler
28320 # (both in a combined tree, or separately). This however requires some
28321 # change to the gcc driver, again in order to avoid comparison failures.
28323 # Bugs: This is crippled when doing parallel make, the `make all-host'
28324 # and `make all-target' phases can be parallelized.
28327 # 'touch' doesn't work right on some platforms.
28328 STAMP = echo timestamp >
28330 # Only build the C compiler for stage1, because that is the only one that
28331 # we can guarantee will build with the native compiler, and also it is the
28332 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
28333 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
28334 # overrideable (for a bootstrap build stage1 also builds gcc.info).
28336 STAGE1_CFLAGS=@stage1_cflags@
28337 STAGE1_LANGUAGES=@stage1_languages@
28339 # We only want to compare .o files, so set this!
28342 # Flags to pass to stage2 and later makes.
28343 POSTSTAGE1_FLAGS_TO_PASS = \
28344 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
28345 STAGE_PREFIX=$$r/stage-gcc/ \
28346 CFLAGS="$(BOOT_CFLAGS)" \
28350 # * We force-disable intermodule optimizations, even if
28351 # --enable-intermodule was passed, since the installed compiler probably
28352 # can't handle them. Luckily, autoconf always respects
28353 # the last argument when conflicting --enable arguments are passed.
28354 # * Likewise, we force-disable coverage flags, since the installed compiler
28355 # probably has never heard of them.
28356 # * We build only C (and possibly Ada).
28359 .PHONY: stage1-start stage1-end
28362 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
28363 echo stage1 > stage_current ; \
28364 echo stage1 > stage_last
28366 @[ -d stage1-bfd ] || mkdir stage1-bfd; \
28367 set stage1-bfd bfd ; @CREATE_LINK_TO_DIR@
28370 @[ -d stage1-opcodes ] || mkdir stage1-opcodes; \
28371 set stage1-opcodes opcodes ; @CREATE_LINK_TO_DIR@
28374 @[ -d stage1-binutils ] || mkdir stage1-binutils; \
28375 set stage1-binutils binutils ; @CREATE_LINK_TO_DIR@
28378 @[ -d stage1-gas ] || mkdir stage1-gas; \
28379 set stage1-gas gas ; @CREATE_LINK_TO_DIR@
28382 @[ -d stage1-gcc ] || mkdir stage1-gcc; \
28383 set stage1-gcc gcc ; @CREATE_LINK_TO_DIR@
28386 @[ -d stage1-intl ] || mkdir stage1-intl; \
28387 set stage1-intl intl ; @CREATE_LINK_TO_DIR@
28390 @[ -d stage1-ld ] || mkdir stage1-ld; \
28391 set stage1-ld ld ; @CREATE_LINK_TO_DIR@
28394 @[ -d stage1-libcpp ] || mkdir stage1-libcpp; \
28395 set stage1-libcpp libcpp ; @CREATE_LINK_TO_DIR@
28398 @[ -d stage1-libiberty ] || mkdir stage1-libiberty; \
28399 set stage1-libiberty libiberty ; @CREATE_LINK_TO_DIR@
28402 @[ -d stage1-zlib ] || mkdir stage1-zlib; \
28403 set stage1-zlib zlib ; @CREATE_LINK_TO_DIR@
28407 @rm -f stage_current
28409 @set bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
28412 @set opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
28415 @set binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
28418 @set gas stage1-gas ; @UNDO_LINK_TO_DIR@
28421 @set gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28424 @set intl stage1-intl ; @UNDO_LINK_TO_DIR@
28427 @set ld stage1-ld ; @UNDO_LINK_TO_DIR@
28430 @set libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
28433 @set libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
28436 @set zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
28439 # Bubble a bugfix through all the stages up to stage 1. They
28440 # are remade, but not reconfigured. The next stage (if any) will not
28441 # be reconfigured as well.
28442 .PHONY: stage1-bubble
28444 @if test -f stage1-lean ; then \
28445 echo Skipping rebuild of stage1 ; \
28447 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage1; \
28450 .PHONY: all-stage1 clean-stage1
28452 maybe-all-stage1-bfd \
28453 maybe-all-stage1-opcodes \
28454 maybe-all-stage1-binutils \
28455 maybe-all-stage1-gas \
28456 maybe-all-stage1-gcc \
28457 maybe-all-stage1-intl \
28458 maybe-all-stage1-ld \
28459 maybe-all-stage1-libcpp \
28460 maybe-all-stage1-libiberty \
28461 maybe-all-stage1-zlib
28463 do-clean: clean-stage1
28465 maybe-clean-stage1-bfd \
28466 maybe-clean-stage1-opcodes \
28467 maybe-clean-stage1-binutils \
28468 maybe-clean-stage1-gas \
28469 maybe-clean-stage1-gcc \
28470 maybe-clean-stage1-intl \
28471 maybe-clean-stage1-ld \
28472 maybe-clean-stage1-libcpp \
28473 maybe-clean-stage1-libiberty \
28474 maybe-clean-stage1-zlib
28477 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
28478 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
28479 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
28481 maybe-configure-stage1-bfd:
28482 maybe-all-stage1-bfd:
28483 maybe-clean-stage1-bfd:
28486 maybe-configure-stage1-bfd: configure-stage1-bfd
28487 configure-stage1-bfd:
28488 @$(MAKE) stage1-start
28489 @[ -f bfd/Makefile ] && exit 0 || : ; \
28490 r=`${PWD_COMMAND}`; export r; \
28491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28493 echo Configuring stage 1 in bfd ; \
28494 cd bfd || exit 1; \
28495 case $(srcdir) in \
28497 srcdiroption="--srcdir=."; \
28499 /* | [A-Za-z]:[\\/]*) \
28500 srcdiroption="--srcdir=$(srcdir)/bfd"; \
28501 libsrcdir="$$s/bfd";; \
28503 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
28504 libsrcdir="$$s/bfd";; \
28506 $(SHELL) $${libsrcdir}/configure \
28507 $(HOST_CONFIGARGS) $${srcdiroption} \
28508 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28510 maybe-all-stage1-bfd: all-stage1-bfd
28511 all-stage1-bfd: configure-stage1-bfd
28512 @$(MAKE) stage1-start
28513 @r=`${PWD_COMMAND}`; export r; \
28514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28517 $(MAKE) $(FLAGS_TO_PASS) \
28518 CFLAGS="$(STAGE1_CFLAGS)"
28520 maybe-clean-stage1-bfd: clean-stage1-bfd
28522 @[ -f bfd/Makefile ] || [ -f stage1-bfd/Makefile ] \
28524 [ -f bfd/Makefile ] || $(MAKE) stage1-start ; \
28526 $(MAKE) $(FLAGS_TO_PASS) \
28527 CFLAGS="$(STAGE1_CFLAGS)" clean
28528 @endif bfd-bootstrap
28531 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
28532 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
28533 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
28535 maybe-configure-stage1-opcodes:
28536 maybe-all-stage1-opcodes:
28537 maybe-clean-stage1-opcodes:
28539 @if opcodes-bootstrap
28540 maybe-configure-stage1-opcodes: configure-stage1-opcodes
28541 configure-stage1-opcodes:
28542 @$(MAKE) stage1-start
28543 @[ -f opcodes/Makefile ] && exit 0 || : ; \
28544 r=`${PWD_COMMAND}`; export r; \
28545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28547 echo Configuring stage 1 in opcodes ; \
28548 cd opcodes || exit 1; \
28549 case $(srcdir) in \
28551 srcdiroption="--srcdir=."; \
28553 /* | [A-Za-z]:[\\/]*) \
28554 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
28555 libsrcdir="$$s/opcodes";; \
28557 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
28558 libsrcdir="$$s/opcodes";; \
28560 $(SHELL) $${libsrcdir}/configure \
28561 $(HOST_CONFIGARGS) $${srcdiroption} \
28562 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28564 maybe-all-stage1-opcodes: all-stage1-opcodes
28565 all-stage1-opcodes: configure-stage1-opcodes
28566 @$(MAKE) stage1-start
28567 @r=`${PWD_COMMAND}`; export r; \
28568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28571 $(MAKE) $(FLAGS_TO_PASS) \
28572 CFLAGS="$(STAGE1_CFLAGS)"
28574 maybe-clean-stage1-opcodes: clean-stage1-opcodes
28575 clean-stage1-opcodes:
28576 @[ -f opcodes/Makefile ] || [ -f stage1-opcodes/Makefile ] \
28578 [ -f opcodes/Makefile ] || $(MAKE) stage1-start ; \
28580 $(MAKE) $(FLAGS_TO_PASS) \
28581 CFLAGS="$(STAGE1_CFLAGS)" clean
28582 @endif opcodes-bootstrap
28585 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
28586 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
28587 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
28589 maybe-configure-stage1-binutils:
28590 maybe-all-stage1-binutils:
28591 maybe-clean-stage1-binutils:
28593 @if binutils-bootstrap
28594 maybe-configure-stage1-binutils: configure-stage1-binutils
28595 configure-stage1-binutils:
28596 @$(MAKE) stage1-start
28597 @[ -f binutils/Makefile ] && exit 0 || : ; \
28598 r=`${PWD_COMMAND}`; export r; \
28599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28601 echo Configuring stage 1 in binutils ; \
28602 cd binutils || exit 1; \
28603 case $(srcdir) in \
28605 srcdiroption="--srcdir=."; \
28607 /* | [A-Za-z]:[\\/]*) \
28608 srcdiroption="--srcdir=$(srcdir)/binutils"; \
28609 libsrcdir="$$s/binutils";; \
28611 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
28612 libsrcdir="$$s/binutils";; \
28614 $(SHELL) $${libsrcdir}/configure \
28615 $(HOST_CONFIGARGS) $${srcdiroption} \
28616 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28618 maybe-all-stage1-binutils: all-stage1-binutils
28619 all-stage1-binutils: configure-stage1-binutils
28620 @$(MAKE) stage1-start
28621 @r=`${PWD_COMMAND}`; export r; \
28622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28625 $(MAKE) $(FLAGS_TO_PASS) \
28626 CFLAGS="$(STAGE1_CFLAGS)"
28628 maybe-clean-stage1-binutils: clean-stage1-binutils
28629 clean-stage1-binutils:
28630 @[ -f binutils/Makefile ] || [ -f stage1-binutils/Makefile ] \
28632 [ -f binutils/Makefile ] || $(MAKE) stage1-start ; \
28634 $(MAKE) $(FLAGS_TO_PASS) \
28635 CFLAGS="$(STAGE1_CFLAGS)" clean
28636 @endif binutils-bootstrap
28639 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
28640 .PHONY: all-stage1-gas maybe-all-stage1-gas
28641 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
28643 maybe-configure-stage1-gas:
28644 maybe-all-stage1-gas:
28645 maybe-clean-stage1-gas:
28648 maybe-configure-stage1-gas: configure-stage1-gas
28649 configure-stage1-gas:
28650 @$(MAKE) stage1-start
28651 @[ -f gas/Makefile ] && exit 0 || : ; \
28652 r=`${PWD_COMMAND}`; export r; \
28653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28655 echo Configuring stage 1 in gas ; \
28656 cd gas || exit 1; \
28657 case $(srcdir) in \
28659 srcdiroption="--srcdir=."; \
28661 /* | [A-Za-z]:[\\/]*) \
28662 srcdiroption="--srcdir=$(srcdir)/gas"; \
28663 libsrcdir="$$s/gas";; \
28665 srcdiroption="--srcdir=../$(srcdir)/gas"; \
28666 libsrcdir="$$s/gas";; \
28668 $(SHELL) $${libsrcdir}/configure \
28669 $(HOST_CONFIGARGS) $${srcdiroption} \
28670 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28672 maybe-all-stage1-gas: all-stage1-gas
28673 all-stage1-gas: configure-stage1-gas
28674 @$(MAKE) stage1-start
28675 @r=`${PWD_COMMAND}`; export r; \
28676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28679 $(MAKE) $(FLAGS_TO_PASS) \
28680 CFLAGS="$(STAGE1_CFLAGS)"
28682 maybe-clean-stage1-gas: clean-stage1-gas
28684 @[ -f gas/Makefile ] || [ -f stage1-gas/Makefile ] \
28686 [ -f gas/Makefile ] || $(MAKE) stage1-start ; \
28688 $(MAKE) $(FLAGS_TO_PASS) \
28689 CFLAGS="$(STAGE1_CFLAGS)" clean
28690 @endif gas-bootstrap
28693 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
28694 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
28695 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
28697 maybe-configure-stage1-gcc:
28698 maybe-all-stage1-gcc:
28699 maybe-clean-stage1-gcc:
28702 maybe-configure-stage1-gcc: configure-stage1-gcc
28703 configure-stage1-gcc:
28704 @$(MAKE) stage1-start
28705 @[ -f gcc/Makefile ] && exit 0 || : ; \
28706 r=`${PWD_COMMAND}`; export r; \
28707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28709 echo Configuring stage 1 in gcc ; \
28710 cd gcc || exit 1; \
28711 case $(srcdir) in \
28713 srcdiroption="--srcdir=."; \
28715 /* | [A-Za-z]:[\\/]*) \
28716 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28717 libsrcdir="$$s/gcc";; \
28719 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28720 libsrcdir="$$s/gcc";; \
28722 $(SHELL) $${libsrcdir}/configure \
28723 $(HOST_CONFIGARGS) $${srcdiroption} \
28724 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28726 maybe-all-stage1-gcc: all-stage1-gcc
28727 all-stage1-gcc: configure-stage1-gcc
28728 @$(MAKE) stage1-start
28729 @r=`${PWD_COMMAND}`; export r; \
28730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28733 $(MAKE) $(FLAGS_TO_PASS) \
28734 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS)
28736 maybe-clean-stage1-gcc: clean-stage1-gcc
28738 @[ -f gcc/Makefile ] || [ -f stage1-gcc/Makefile ] \
28740 [ -f gcc/Makefile ] || $(MAKE) stage1-start ; \
28742 $(MAKE) $(FLAGS_TO_PASS) \
28743 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
28744 @endif gcc-bootstrap
28747 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
28748 .PHONY: all-stage1-intl maybe-all-stage1-intl
28749 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
28751 maybe-configure-stage1-intl:
28752 maybe-all-stage1-intl:
28753 maybe-clean-stage1-intl:
28756 maybe-configure-stage1-intl: configure-stage1-intl
28757 configure-stage1-intl:
28758 @$(MAKE) stage1-start
28759 @[ -f intl/Makefile ] && exit 0 || : ; \
28760 r=`${PWD_COMMAND}`; export r; \
28761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28763 echo Configuring stage 1 in intl ; \
28764 cd intl || exit 1; \
28765 case $(srcdir) in \
28767 srcdiroption="--srcdir=."; \
28769 /* | [A-Za-z]:[\\/]*) \
28770 srcdiroption="--srcdir=$(srcdir)/intl"; \
28771 libsrcdir="$$s/intl";; \
28773 srcdiroption="--srcdir=../$(srcdir)/intl"; \
28774 libsrcdir="$$s/intl";; \
28776 $(SHELL) $${libsrcdir}/configure \
28777 $(HOST_CONFIGARGS) $${srcdiroption} \
28778 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28780 maybe-all-stage1-intl: all-stage1-intl
28781 all-stage1-intl: configure-stage1-intl
28782 @$(MAKE) stage1-start
28783 @r=`${PWD_COMMAND}`; export r; \
28784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28787 $(MAKE) $(FLAGS_TO_PASS) \
28788 CFLAGS="$(STAGE1_CFLAGS)"
28790 maybe-clean-stage1-intl: clean-stage1-intl
28792 @[ -f intl/Makefile ] || [ -f stage1-intl/Makefile ] \
28794 [ -f intl/Makefile ] || $(MAKE) stage1-start ; \
28796 $(MAKE) $(FLAGS_TO_PASS) \
28797 CFLAGS="$(STAGE1_CFLAGS)" clean
28798 @endif intl-bootstrap
28801 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
28802 .PHONY: all-stage1-ld maybe-all-stage1-ld
28803 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
28805 maybe-configure-stage1-ld:
28806 maybe-all-stage1-ld:
28807 maybe-clean-stage1-ld:
28810 maybe-configure-stage1-ld: configure-stage1-ld
28811 configure-stage1-ld:
28812 @$(MAKE) stage1-start
28813 @[ -f ld/Makefile ] && exit 0 || : ; \
28814 r=`${PWD_COMMAND}`; export r; \
28815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28817 echo Configuring stage 1 in ld ; \
28819 case $(srcdir) in \
28821 srcdiroption="--srcdir=."; \
28823 /* | [A-Za-z]:[\\/]*) \
28824 srcdiroption="--srcdir=$(srcdir)/ld"; \
28825 libsrcdir="$$s/ld";; \
28827 srcdiroption="--srcdir=../$(srcdir)/ld"; \
28828 libsrcdir="$$s/ld";; \
28830 $(SHELL) $${libsrcdir}/configure \
28831 $(HOST_CONFIGARGS) $${srcdiroption} \
28832 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28834 maybe-all-stage1-ld: all-stage1-ld
28835 all-stage1-ld: configure-stage1-ld
28836 @$(MAKE) stage1-start
28837 @r=`${PWD_COMMAND}`; export r; \
28838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28841 $(MAKE) $(FLAGS_TO_PASS) \
28842 CFLAGS="$(STAGE1_CFLAGS)"
28844 maybe-clean-stage1-ld: clean-stage1-ld
28846 @[ -f ld/Makefile ] || [ -f stage1-ld/Makefile ] \
28848 [ -f ld/Makefile ] || $(MAKE) stage1-start ; \
28850 $(MAKE) $(FLAGS_TO_PASS) \
28851 CFLAGS="$(STAGE1_CFLAGS)" clean
28852 @endif ld-bootstrap
28855 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
28856 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
28857 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
28859 maybe-configure-stage1-libcpp:
28860 maybe-all-stage1-libcpp:
28861 maybe-clean-stage1-libcpp:
28863 @if libcpp-bootstrap
28864 maybe-configure-stage1-libcpp: configure-stage1-libcpp
28865 configure-stage1-libcpp:
28866 @$(MAKE) stage1-start
28867 @[ -f libcpp/Makefile ] && exit 0 || : ; \
28868 r=`${PWD_COMMAND}`; export r; \
28869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28871 echo Configuring stage 1 in libcpp ; \
28872 cd libcpp || exit 1; \
28873 case $(srcdir) in \
28875 srcdiroption="--srcdir=."; \
28877 /* | [A-Za-z]:[\\/]*) \
28878 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
28879 libsrcdir="$$s/libcpp";; \
28881 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
28882 libsrcdir="$$s/libcpp";; \
28884 $(SHELL) $${libsrcdir}/configure \
28885 $(HOST_CONFIGARGS) $${srcdiroption} \
28886 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28888 maybe-all-stage1-libcpp: all-stage1-libcpp
28889 all-stage1-libcpp: configure-stage1-libcpp
28890 @$(MAKE) stage1-start
28891 @r=`${PWD_COMMAND}`; export r; \
28892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28895 $(MAKE) $(FLAGS_TO_PASS) \
28896 CFLAGS="$(STAGE1_CFLAGS)"
28898 maybe-clean-stage1-libcpp: clean-stage1-libcpp
28899 clean-stage1-libcpp:
28900 @[ -f libcpp/Makefile ] || [ -f stage1-libcpp/Makefile ] \
28902 [ -f libcpp/Makefile ] || $(MAKE) stage1-start ; \
28904 $(MAKE) $(FLAGS_TO_PASS) \
28905 CFLAGS="$(STAGE1_CFLAGS)" clean
28906 @endif libcpp-bootstrap
28909 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
28910 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
28911 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
28913 maybe-configure-stage1-libiberty:
28914 maybe-all-stage1-libiberty:
28915 maybe-clean-stage1-libiberty:
28917 @if libiberty-bootstrap
28918 maybe-configure-stage1-libiberty: configure-stage1-libiberty
28919 configure-stage1-libiberty:
28920 @$(MAKE) stage1-start
28921 @[ -f libiberty/Makefile ] && exit 0 || : ; \
28922 r=`${PWD_COMMAND}`; export r; \
28923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28925 echo Configuring stage 1 in libiberty ; \
28926 cd libiberty || exit 1; \
28927 case $(srcdir) in \
28929 srcdiroption="--srcdir=."; \
28931 /* | [A-Za-z]:[\\/]*) \
28932 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
28933 libsrcdir="$$s/libiberty";; \
28935 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
28936 libsrcdir="$$s/libiberty";; \
28938 $(SHELL) $${libsrcdir}/configure \
28939 $(HOST_CONFIGARGS) $${srcdiroption} \
28940 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28942 maybe-all-stage1-libiberty: all-stage1-libiberty
28943 all-stage1-libiberty: configure-stage1-libiberty
28944 @$(MAKE) stage1-start
28945 @r=`${PWD_COMMAND}`; export r; \
28946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28949 $(MAKE) $(FLAGS_TO_PASS) \
28950 CFLAGS="$(STAGE1_CFLAGS)"
28952 maybe-clean-stage1-libiberty: clean-stage1-libiberty
28953 clean-stage1-libiberty:
28954 @[ -f libiberty/Makefile ] || [ -f stage1-libiberty/Makefile ] \
28956 [ -f libiberty/Makefile ] || $(MAKE) stage1-start ; \
28958 $(MAKE) $(FLAGS_TO_PASS) \
28959 CFLAGS="$(STAGE1_CFLAGS)" clean
28960 @endif libiberty-bootstrap
28963 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
28964 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
28965 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
28967 maybe-configure-stage1-zlib:
28968 maybe-all-stage1-zlib:
28969 maybe-clean-stage1-zlib:
28972 maybe-configure-stage1-zlib: configure-stage1-zlib
28973 configure-stage1-zlib:
28974 @$(MAKE) stage1-start
28975 @[ -f zlib/Makefile ] && exit 0 || : ; \
28976 r=`${PWD_COMMAND}`; export r; \
28977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28979 echo Configuring stage 1 in zlib ; \
28980 cd zlib || exit 1; \
28981 case $(srcdir) in \
28983 srcdiroption="--srcdir=."; \
28985 /* | [A-Za-z]:[\\/]*) \
28986 srcdiroption="--srcdir=$(srcdir)/zlib"; \
28987 libsrcdir="$$s/zlib";; \
28989 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
28990 libsrcdir="$$s/zlib";; \
28992 $(SHELL) $${libsrcdir}/configure \
28993 $(HOST_CONFIGARGS) $${srcdiroption} \
28994 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
28996 maybe-all-stage1-zlib: all-stage1-zlib
28997 all-stage1-zlib: configure-stage1-zlib
28998 @$(MAKE) stage1-start
28999 @r=`${PWD_COMMAND}`; export r; \
29000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29003 $(MAKE) $(FLAGS_TO_PASS) \
29004 CFLAGS="$(STAGE1_CFLAGS)"
29006 maybe-clean-stage1-zlib: clean-stage1-zlib
29008 @[ -f zlib/Makefile ] || [ -f stage1-zlib/Makefile ] \
29010 [ -f zlib/Makefile ] || $(MAKE) stage1-start ; \
29012 $(MAKE) $(FLAGS_TO_PASS) \
29013 CFLAGS="$(STAGE1_CFLAGS)" clean
29014 @endif zlib-bootstrap
29018 # FIXME: Will not need to be conditional when toplevel bootstrap is the
29019 # only possibility, but now it conflicts with no-bootstrap rules
29025 # Rules to wipe a stage and all the following ones, also used for cleanstrap
29027 .PHONY: distclean-stage1
29029 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
29033 @endif gcc-bootstrap
29036 .PHONY: stage2-start stage2-end
29039 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
29040 echo stage2 > stage_current ; \
29041 echo stage2 > stage_last
29043 @[ -d stage2-bfd ] || mkdir stage2-bfd; \
29044 set stage2-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
29045 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
29048 @[ -d stage2-opcodes ] || mkdir stage2-opcodes; \
29049 set stage2-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
29050 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
29053 @[ -d stage2-binutils ] || mkdir stage2-binutils; \
29054 set stage2-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
29055 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
29058 @[ -d stage2-gas ] || mkdir stage2-gas; \
29059 set stage2-gas gas ; @CREATE_LINK_TO_DIR@ ; \
29060 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
29063 @[ -d stage2-gcc ] || mkdir stage2-gcc; \
29064 set stage2-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
29065 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
29068 @[ -d stage2-intl ] || mkdir stage2-intl; \
29069 set stage2-intl intl ; @CREATE_LINK_TO_DIR@ ; \
29070 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
29073 @[ -d stage2-ld ] || mkdir stage2-ld; \
29074 set stage2-ld ld ; @CREATE_LINK_TO_DIR@ ; \
29075 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
29078 @[ -d stage2-libcpp ] || mkdir stage2-libcpp; \
29079 set stage2-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
29080 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
29083 @[ -d stage2-libiberty ] || mkdir stage2-libiberty; \
29084 set stage2-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
29085 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
29088 @[ -d stage2-zlib ] || mkdir stage2-zlib; \
29089 set stage2-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
29090 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
29094 @rm -f stage_current
29096 @set bfd stage2-bfd ; @UNDO_LINK_TO_DIR@ ; \
29097 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
29100 @set opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@ ; \
29101 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
29104 @set binutils stage2-binutils ; @UNDO_LINK_TO_DIR@ ; \
29105 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
29108 @set gas stage2-gas ; @UNDO_LINK_TO_DIR@ ; \
29109 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
29112 @set gcc stage2-gcc ; @UNDO_LINK_TO_DIR@ ; \
29113 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
29116 @set intl stage2-intl ; @UNDO_LINK_TO_DIR@ ; \
29117 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
29120 @set ld stage2-ld ; @UNDO_LINK_TO_DIR@ ; \
29121 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
29124 @set libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@ ; \
29125 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
29128 @set libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@ ; \
29129 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
29132 @set zlib stage2-zlib ; @UNDO_LINK_TO_DIR@ ; \
29133 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
29136 # Bubble a bugfix through all the stages up to stage 2. They
29137 # are remade, but not reconfigured. The next stage (if any) will not
29138 # be reconfigured as well.
29139 .PHONY: stage2-bubble
29140 stage2-bubble:: stage1-bubble
29141 @if test -f stage2-lean || test -f stage1-lean ; then \
29142 echo Skipping rebuild of stage2 ; \
29144 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage2; \
29147 .PHONY: all-stage2 clean-stage2
29149 maybe-all-stage2-bfd \
29150 maybe-all-stage2-opcodes \
29151 maybe-all-stage2-binutils \
29152 maybe-all-stage2-gas \
29153 maybe-all-stage2-gcc \
29154 maybe-all-stage2-intl \
29155 maybe-all-stage2-ld \
29156 maybe-all-stage2-libcpp \
29157 maybe-all-stage2-libiberty \
29158 maybe-all-stage2-zlib
29160 do-clean: clean-stage2
29162 maybe-clean-stage2-bfd \
29163 maybe-clean-stage2-opcodes \
29164 maybe-clean-stage2-binutils \
29165 maybe-clean-stage2-gas \
29166 maybe-clean-stage2-gcc \
29167 maybe-clean-stage2-intl \
29168 maybe-clean-stage2-ld \
29169 maybe-clean-stage2-libcpp \
29170 maybe-clean-stage2-libiberty \
29171 maybe-clean-stage2-zlib
29174 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
29175 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
29176 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
29178 maybe-configure-stage2-bfd:
29179 maybe-all-stage2-bfd:
29180 maybe-clean-stage2-bfd:
29183 maybe-configure-stage2-bfd: configure-stage2-bfd
29184 configure-stage2-bfd:
29185 @$(MAKE) stage2-start
29186 @[ -f bfd/Makefile ] && exit 0 || : ; \
29187 r=`${PWD_COMMAND}`; export r; \
29188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29189 $(STAGE_HOST_EXPORTS) \
29190 echo Configuring stage 2 in bfd ; \
29191 cd bfd || exit 1; \
29192 case $(srcdir) in \
29194 srcdiroption="--srcdir=."; \
29196 /* | [A-Za-z]:[\\/]*) \
29197 srcdiroption="--srcdir=$(srcdir)/bfd"; \
29198 libsrcdir="$$s/bfd";; \
29200 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
29201 libsrcdir="$$s/bfd";; \
29203 $(SHELL) $${libsrcdir}/configure \
29204 $(HOST_CONFIGARGS) $${srcdiroption} \
29205 @stage2_werror_flag@
29207 maybe-all-stage2-bfd: all-stage2-bfd
29208 all-stage2-bfd: configure-stage2-bfd
29209 @$(MAKE) stage2-start
29210 @r=`${PWD_COMMAND}`; export r; \
29211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29212 $(STAGE_HOST_EXPORTS) \
29214 $(MAKE) $(FLAGS_TO_PASS) \
29215 $(POSTSTAGE1_FLAGS_TO_PASS) \
29218 maybe-clean-stage2-bfd: clean-stage2-bfd
29220 @[ -f bfd/Makefile ] || [ -f stage2-bfd/Makefile ] \
29222 [ -f bfd/Makefile ] || $(MAKE) stage2-start ; \
29224 $(MAKE) $(FLAGS_TO_PASS) \
29225 $(POSTSTAGE1_FLAGS_TO_PASS) \
29227 @endif bfd-bootstrap
29230 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
29231 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
29232 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
29234 maybe-configure-stage2-opcodes:
29235 maybe-all-stage2-opcodes:
29236 maybe-clean-stage2-opcodes:
29238 @if opcodes-bootstrap
29239 maybe-configure-stage2-opcodes: configure-stage2-opcodes
29240 configure-stage2-opcodes:
29241 @$(MAKE) stage2-start
29242 @[ -f opcodes/Makefile ] && exit 0 || : ; \
29243 r=`${PWD_COMMAND}`; export r; \
29244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29245 $(STAGE_HOST_EXPORTS) \
29246 echo Configuring stage 2 in opcodes ; \
29247 cd opcodes || exit 1; \
29248 case $(srcdir) in \
29250 srcdiroption="--srcdir=."; \
29252 /* | [A-Za-z]:[\\/]*) \
29253 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
29254 libsrcdir="$$s/opcodes";; \
29256 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
29257 libsrcdir="$$s/opcodes";; \
29259 $(SHELL) $${libsrcdir}/configure \
29260 $(HOST_CONFIGARGS) $${srcdiroption} \
29261 @stage2_werror_flag@
29263 maybe-all-stage2-opcodes: all-stage2-opcodes
29264 all-stage2-opcodes: configure-stage2-opcodes
29265 @$(MAKE) stage2-start
29266 @r=`${PWD_COMMAND}`; export r; \
29267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29268 $(STAGE_HOST_EXPORTS) \
29270 $(MAKE) $(FLAGS_TO_PASS) \
29271 $(POSTSTAGE1_FLAGS_TO_PASS) \
29274 maybe-clean-stage2-opcodes: clean-stage2-opcodes
29275 clean-stage2-opcodes:
29276 @[ -f opcodes/Makefile ] || [ -f stage2-opcodes/Makefile ] \
29278 [ -f opcodes/Makefile ] || $(MAKE) stage2-start ; \
29280 $(MAKE) $(FLAGS_TO_PASS) \
29281 $(POSTSTAGE1_FLAGS_TO_PASS) \
29283 @endif opcodes-bootstrap
29286 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
29287 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
29288 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
29290 maybe-configure-stage2-binutils:
29291 maybe-all-stage2-binutils:
29292 maybe-clean-stage2-binutils:
29294 @if binutils-bootstrap
29295 maybe-configure-stage2-binutils: configure-stage2-binutils
29296 configure-stage2-binutils:
29297 @$(MAKE) stage2-start
29298 @[ -f binutils/Makefile ] && exit 0 || : ; \
29299 r=`${PWD_COMMAND}`; export r; \
29300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29301 $(STAGE_HOST_EXPORTS) \
29302 echo Configuring stage 2 in binutils ; \
29303 cd binutils || exit 1; \
29304 case $(srcdir) in \
29306 srcdiroption="--srcdir=."; \
29308 /* | [A-Za-z]:[\\/]*) \
29309 srcdiroption="--srcdir=$(srcdir)/binutils"; \
29310 libsrcdir="$$s/binutils";; \
29312 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
29313 libsrcdir="$$s/binutils";; \
29315 $(SHELL) $${libsrcdir}/configure \
29316 $(HOST_CONFIGARGS) $${srcdiroption} \
29317 @stage2_werror_flag@
29319 maybe-all-stage2-binutils: all-stage2-binutils
29320 all-stage2-binutils: configure-stage2-binutils
29321 @$(MAKE) stage2-start
29322 @r=`${PWD_COMMAND}`; export r; \
29323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29324 $(STAGE_HOST_EXPORTS) \
29326 $(MAKE) $(FLAGS_TO_PASS) \
29327 $(POSTSTAGE1_FLAGS_TO_PASS) \
29330 maybe-clean-stage2-binutils: clean-stage2-binutils
29331 clean-stage2-binutils:
29332 @[ -f binutils/Makefile ] || [ -f stage2-binutils/Makefile ] \
29334 [ -f binutils/Makefile ] || $(MAKE) stage2-start ; \
29336 $(MAKE) $(FLAGS_TO_PASS) \
29337 $(POSTSTAGE1_FLAGS_TO_PASS) \
29339 @endif binutils-bootstrap
29342 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
29343 .PHONY: all-stage2-gas maybe-all-stage2-gas
29344 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
29346 maybe-configure-stage2-gas:
29347 maybe-all-stage2-gas:
29348 maybe-clean-stage2-gas:
29351 maybe-configure-stage2-gas: configure-stage2-gas
29352 configure-stage2-gas:
29353 @$(MAKE) stage2-start
29354 @[ -f gas/Makefile ] && exit 0 || : ; \
29355 r=`${PWD_COMMAND}`; export r; \
29356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29357 $(STAGE_HOST_EXPORTS) \
29358 echo Configuring stage 2 in gas ; \
29359 cd gas || exit 1; \
29360 case $(srcdir) in \
29362 srcdiroption="--srcdir=."; \
29364 /* | [A-Za-z]:[\\/]*) \
29365 srcdiroption="--srcdir=$(srcdir)/gas"; \
29366 libsrcdir="$$s/gas";; \
29368 srcdiroption="--srcdir=../$(srcdir)/gas"; \
29369 libsrcdir="$$s/gas";; \
29371 $(SHELL) $${libsrcdir}/configure \
29372 $(HOST_CONFIGARGS) $${srcdiroption} \
29373 @stage2_werror_flag@
29375 maybe-all-stage2-gas: all-stage2-gas
29376 all-stage2-gas: configure-stage2-gas
29377 @$(MAKE) stage2-start
29378 @r=`${PWD_COMMAND}`; export r; \
29379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29380 $(STAGE_HOST_EXPORTS) \
29382 $(MAKE) $(FLAGS_TO_PASS) \
29383 $(POSTSTAGE1_FLAGS_TO_PASS) \
29386 maybe-clean-stage2-gas: clean-stage2-gas
29388 @[ -f gas/Makefile ] || [ -f stage2-gas/Makefile ] \
29390 [ -f gas/Makefile ] || $(MAKE) stage2-start ; \
29392 $(MAKE) $(FLAGS_TO_PASS) \
29393 $(POSTSTAGE1_FLAGS_TO_PASS) \
29395 @endif gas-bootstrap
29398 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
29399 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
29400 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
29402 maybe-configure-stage2-gcc:
29403 maybe-all-stage2-gcc:
29404 maybe-clean-stage2-gcc:
29407 maybe-configure-stage2-gcc: configure-stage2-gcc
29408 configure-stage2-gcc:
29409 @$(MAKE) stage2-start
29410 @[ -f gcc/Makefile ] && exit 0 || : ; \
29411 r=`${PWD_COMMAND}`; export r; \
29412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29413 $(STAGE_HOST_EXPORTS) \
29414 echo Configuring stage 2 in gcc ; \
29415 cd gcc || exit 1; \
29416 case $(srcdir) in \
29418 srcdiroption="--srcdir=."; \
29420 /* | [A-Za-z]:[\\/]*) \
29421 srcdiroption="--srcdir=$(srcdir)/gcc"; \
29422 libsrcdir="$$s/gcc";; \
29424 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
29425 libsrcdir="$$s/gcc";; \
29427 $(SHELL) $${libsrcdir}/configure \
29428 $(HOST_CONFIGARGS) $${srcdiroption} \
29429 @stage2_werror_flag@
29431 maybe-all-stage2-gcc: all-stage2-gcc
29432 all-stage2-gcc: configure-stage2-gcc
29433 @$(MAKE) stage2-start
29434 @r=`${PWD_COMMAND}`; export r; \
29435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29436 $(STAGE_HOST_EXPORTS) \
29438 $(MAKE) $(FLAGS_TO_PASS) \
29439 $(POSTSTAGE1_FLAGS_TO_PASS) \
29442 maybe-clean-stage2-gcc: clean-stage2-gcc
29444 @[ -f gcc/Makefile ] || [ -f stage2-gcc/Makefile ] \
29446 [ -f gcc/Makefile ] || $(MAKE) stage2-start ; \
29448 $(MAKE) $(FLAGS_TO_PASS) \
29449 $(POSTSTAGE1_FLAGS_TO_PASS) \
29450 $(EXTRA_GCC_FLAGS) clean
29451 @endif gcc-bootstrap
29454 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
29455 .PHONY: all-stage2-intl maybe-all-stage2-intl
29456 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
29458 maybe-configure-stage2-intl:
29459 maybe-all-stage2-intl:
29460 maybe-clean-stage2-intl:
29463 maybe-configure-stage2-intl: configure-stage2-intl
29464 configure-stage2-intl:
29465 @$(MAKE) stage2-start
29466 @[ -f intl/Makefile ] && exit 0 || : ; \
29467 r=`${PWD_COMMAND}`; export r; \
29468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29469 $(STAGE_HOST_EXPORTS) \
29470 echo Configuring stage 2 in intl ; \
29471 cd intl || exit 1; \
29472 case $(srcdir) in \
29474 srcdiroption="--srcdir=."; \
29476 /* | [A-Za-z]:[\\/]*) \
29477 srcdiroption="--srcdir=$(srcdir)/intl"; \
29478 libsrcdir="$$s/intl";; \
29480 srcdiroption="--srcdir=../$(srcdir)/intl"; \
29481 libsrcdir="$$s/intl";; \
29483 $(SHELL) $${libsrcdir}/configure \
29484 $(HOST_CONFIGARGS) $${srcdiroption} \
29485 @stage2_werror_flag@
29487 maybe-all-stage2-intl: all-stage2-intl
29488 all-stage2-intl: configure-stage2-intl
29489 @$(MAKE) stage2-start
29490 @r=`${PWD_COMMAND}`; export r; \
29491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29492 $(STAGE_HOST_EXPORTS) \
29494 $(MAKE) $(FLAGS_TO_PASS) \
29495 $(POSTSTAGE1_FLAGS_TO_PASS) \
29498 maybe-clean-stage2-intl: clean-stage2-intl
29500 @[ -f intl/Makefile ] || [ -f stage2-intl/Makefile ] \
29502 [ -f intl/Makefile ] || $(MAKE) stage2-start ; \
29504 $(MAKE) $(FLAGS_TO_PASS) \
29505 $(POSTSTAGE1_FLAGS_TO_PASS) \
29507 @endif intl-bootstrap
29510 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
29511 .PHONY: all-stage2-ld maybe-all-stage2-ld
29512 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
29514 maybe-configure-stage2-ld:
29515 maybe-all-stage2-ld:
29516 maybe-clean-stage2-ld:
29519 maybe-configure-stage2-ld: configure-stage2-ld
29520 configure-stage2-ld:
29521 @$(MAKE) stage2-start
29522 @[ -f ld/Makefile ] && exit 0 || : ; \
29523 r=`${PWD_COMMAND}`; export r; \
29524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29525 $(STAGE_HOST_EXPORTS) \
29526 echo Configuring stage 2 in ld ; \
29528 case $(srcdir) in \
29530 srcdiroption="--srcdir=."; \
29532 /* | [A-Za-z]:[\\/]*) \
29533 srcdiroption="--srcdir=$(srcdir)/ld"; \
29534 libsrcdir="$$s/ld";; \
29536 srcdiroption="--srcdir=../$(srcdir)/ld"; \
29537 libsrcdir="$$s/ld";; \
29539 $(SHELL) $${libsrcdir}/configure \
29540 $(HOST_CONFIGARGS) $${srcdiroption} \
29541 @stage2_werror_flag@
29543 maybe-all-stage2-ld: all-stage2-ld
29544 all-stage2-ld: configure-stage2-ld
29545 @$(MAKE) stage2-start
29546 @r=`${PWD_COMMAND}`; export r; \
29547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29548 $(STAGE_HOST_EXPORTS) \
29550 $(MAKE) $(FLAGS_TO_PASS) \
29551 $(POSTSTAGE1_FLAGS_TO_PASS) \
29554 maybe-clean-stage2-ld: clean-stage2-ld
29556 @[ -f ld/Makefile ] || [ -f stage2-ld/Makefile ] \
29558 [ -f ld/Makefile ] || $(MAKE) stage2-start ; \
29560 $(MAKE) $(FLAGS_TO_PASS) \
29561 $(POSTSTAGE1_FLAGS_TO_PASS) \
29563 @endif ld-bootstrap
29566 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
29567 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
29568 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
29570 maybe-configure-stage2-libcpp:
29571 maybe-all-stage2-libcpp:
29572 maybe-clean-stage2-libcpp:
29574 @if libcpp-bootstrap
29575 maybe-configure-stage2-libcpp: configure-stage2-libcpp
29576 configure-stage2-libcpp:
29577 @$(MAKE) stage2-start
29578 @[ -f libcpp/Makefile ] && exit 0 || : ; \
29579 r=`${PWD_COMMAND}`; export r; \
29580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29581 $(STAGE_HOST_EXPORTS) \
29582 echo Configuring stage 2 in libcpp ; \
29583 cd libcpp || exit 1; \
29584 case $(srcdir) in \
29586 srcdiroption="--srcdir=."; \
29588 /* | [A-Za-z]:[\\/]*) \
29589 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
29590 libsrcdir="$$s/libcpp";; \
29592 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
29593 libsrcdir="$$s/libcpp";; \
29595 $(SHELL) $${libsrcdir}/configure \
29596 $(HOST_CONFIGARGS) $${srcdiroption} \
29597 @stage2_werror_flag@
29599 maybe-all-stage2-libcpp: all-stage2-libcpp
29600 all-stage2-libcpp: configure-stage2-libcpp
29601 @$(MAKE) stage2-start
29602 @r=`${PWD_COMMAND}`; export r; \
29603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29604 $(STAGE_HOST_EXPORTS) \
29606 $(MAKE) $(FLAGS_TO_PASS) \
29607 $(POSTSTAGE1_FLAGS_TO_PASS) \
29610 maybe-clean-stage2-libcpp: clean-stage2-libcpp
29611 clean-stage2-libcpp:
29612 @[ -f libcpp/Makefile ] || [ -f stage2-libcpp/Makefile ] \
29614 [ -f libcpp/Makefile ] || $(MAKE) stage2-start ; \
29616 $(MAKE) $(FLAGS_TO_PASS) \
29617 $(POSTSTAGE1_FLAGS_TO_PASS) \
29619 @endif libcpp-bootstrap
29622 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
29623 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
29624 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
29626 maybe-configure-stage2-libiberty:
29627 maybe-all-stage2-libiberty:
29628 maybe-clean-stage2-libiberty:
29630 @if libiberty-bootstrap
29631 maybe-configure-stage2-libiberty: configure-stage2-libiberty
29632 configure-stage2-libiberty:
29633 @$(MAKE) stage2-start
29634 @[ -f libiberty/Makefile ] && exit 0 || : ; \
29635 r=`${PWD_COMMAND}`; export r; \
29636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29637 $(STAGE_HOST_EXPORTS) \
29638 echo Configuring stage 2 in libiberty ; \
29639 cd libiberty || exit 1; \
29640 case $(srcdir) in \
29642 srcdiroption="--srcdir=."; \
29644 /* | [A-Za-z]:[\\/]*) \
29645 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
29646 libsrcdir="$$s/libiberty";; \
29648 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
29649 libsrcdir="$$s/libiberty";; \
29651 $(SHELL) $${libsrcdir}/configure \
29652 $(HOST_CONFIGARGS) $${srcdiroption} \
29653 @stage2_werror_flag@
29655 maybe-all-stage2-libiberty: all-stage2-libiberty
29656 all-stage2-libiberty: configure-stage2-libiberty
29657 @$(MAKE) stage2-start
29658 @r=`${PWD_COMMAND}`; export r; \
29659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29660 $(STAGE_HOST_EXPORTS) \
29662 $(MAKE) $(FLAGS_TO_PASS) \
29663 $(POSTSTAGE1_FLAGS_TO_PASS) \
29666 maybe-clean-stage2-libiberty: clean-stage2-libiberty
29667 clean-stage2-libiberty:
29668 @[ -f libiberty/Makefile ] || [ -f stage2-libiberty/Makefile ] \
29670 [ -f libiberty/Makefile ] || $(MAKE) stage2-start ; \
29672 $(MAKE) $(FLAGS_TO_PASS) \
29673 $(POSTSTAGE1_FLAGS_TO_PASS) \
29675 @endif libiberty-bootstrap
29678 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
29679 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
29680 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
29682 maybe-configure-stage2-zlib:
29683 maybe-all-stage2-zlib:
29684 maybe-clean-stage2-zlib:
29687 maybe-configure-stage2-zlib: configure-stage2-zlib
29688 configure-stage2-zlib:
29689 @$(MAKE) stage2-start
29690 @[ -f zlib/Makefile ] && exit 0 || : ; \
29691 r=`${PWD_COMMAND}`; export r; \
29692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29693 $(STAGE_HOST_EXPORTS) \
29694 echo Configuring stage 2 in zlib ; \
29695 cd zlib || exit 1; \
29696 case $(srcdir) in \
29698 srcdiroption="--srcdir=."; \
29700 /* | [A-Za-z]:[\\/]*) \
29701 srcdiroption="--srcdir=$(srcdir)/zlib"; \
29702 libsrcdir="$$s/zlib";; \
29704 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
29705 libsrcdir="$$s/zlib";; \
29707 $(SHELL) $${libsrcdir}/configure \
29708 $(HOST_CONFIGARGS) $${srcdiroption} \
29709 @stage2_werror_flag@
29711 maybe-all-stage2-zlib: all-stage2-zlib
29712 all-stage2-zlib: configure-stage2-zlib
29713 @$(MAKE) stage2-start
29714 @r=`${PWD_COMMAND}`; export r; \
29715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29716 $(STAGE_HOST_EXPORTS) \
29718 $(MAKE) $(FLAGS_TO_PASS) \
29719 $(POSTSTAGE1_FLAGS_TO_PASS) \
29722 maybe-clean-stage2-zlib: clean-stage2-zlib
29724 @[ -f zlib/Makefile ] || [ -f stage2-zlib/Makefile ] \
29726 [ -f zlib/Makefile ] || $(MAKE) stage2-start ; \
29728 $(MAKE) $(FLAGS_TO_PASS) \
29729 $(POSTSTAGE1_FLAGS_TO_PASS) \
29731 @endif zlib-bootstrap
29735 # FIXME: Will not need to be conditional when toplevel bootstrap is the
29736 # only possibility, but now it conflicts with no-bootstrap rules
29742 bootstrap2: stage2-bubble all
29745 # Rules to wipe a stage and all the following ones, also used for cleanstrap
29746 distclean-stage1:: distclean-stage2
29747 .PHONY: distclean-stage2
29749 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
29753 @endif gcc-bootstrap
29756 .PHONY: stage3-start stage3-end
29759 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
29760 echo stage3 > stage_current ; \
29761 echo stage3 > stage_last
29763 @[ -d stage3-bfd ] || mkdir stage3-bfd; \
29764 set stage3-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
29765 set stage2-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
29768 @[ -d stage3-opcodes ] || mkdir stage3-opcodes; \
29769 set stage3-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
29770 set stage2-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
29773 @[ -d stage3-binutils ] || mkdir stage3-binutils; \
29774 set stage3-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
29775 set stage2-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
29778 @[ -d stage3-gas ] || mkdir stage3-gas; \
29779 set stage3-gas gas ; @CREATE_LINK_TO_DIR@ ; \
29780 set stage2-gas prev-gas ; @CREATE_LINK_TO_DIR@
29783 @[ -d stage3-gcc ] || mkdir stage3-gcc; \
29784 set stage3-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
29785 set stage2-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
29788 @[ -d stage3-intl ] || mkdir stage3-intl; \
29789 set stage3-intl intl ; @CREATE_LINK_TO_DIR@ ; \
29790 set stage2-intl prev-intl ; @CREATE_LINK_TO_DIR@
29793 @[ -d stage3-ld ] || mkdir stage3-ld; \
29794 set stage3-ld ld ; @CREATE_LINK_TO_DIR@ ; \
29795 set stage2-ld prev-ld ; @CREATE_LINK_TO_DIR@
29798 @[ -d stage3-libcpp ] || mkdir stage3-libcpp; \
29799 set stage3-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
29800 set stage2-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
29803 @[ -d stage3-libiberty ] || mkdir stage3-libiberty; \
29804 set stage3-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
29805 set stage2-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
29808 @[ -d stage3-zlib ] || mkdir stage3-zlib; \
29809 set stage3-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
29810 set stage2-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
29814 @rm -f stage_current
29816 @set bfd stage3-bfd ; @UNDO_LINK_TO_DIR@ ; \
29817 set prev-bfd stage2-bfd ; @UNDO_LINK_TO_DIR@
29820 @set opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@ ; \
29821 set prev-opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@
29824 @set binutils stage3-binutils ; @UNDO_LINK_TO_DIR@ ; \
29825 set prev-binutils stage2-binutils ; @UNDO_LINK_TO_DIR@
29828 @set gas stage3-gas ; @UNDO_LINK_TO_DIR@ ; \
29829 set prev-gas stage2-gas ; @UNDO_LINK_TO_DIR@
29832 @set gcc stage3-gcc ; @UNDO_LINK_TO_DIR@ ; \
29833 set prev-gcc stage2-gcc ; @UNDO_LINK_TO_DIR@
29836 @set intl stage3-intl ; @UNDO_LINK_TO_DIR@ ; \
29837 set prev-intl stage2-intl ; @UNDO_LINK_TO_DIR@
29840 @set ld stage3-ld ; @UNDO_LINK_TO_DIR@ ; \
29841 set prev-ld stage2-ld ; @UNDO_LINK_TO_DIR@
29844 @set libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@ ; \
29845 set prev-libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@
29848 @set libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@ ; \
29849 set prev-libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@
29852 @set zlib stage3-zlib ; @UNDO_LINK_TO_DIR@ ; \
29853 set prev-zlib stage2-zlib ; @UNDO_LINK_TO_DIR@
29856 # Bubble a bugfix through all the stages up to stage 3. They
29857 # are remade, but not reconfigured. The next stage (if any) will not
29858 # be reconfigured as well.
29859 .PHONY: stage3-bubble
29860 stage3-bubble:: stage2-bubble
29861 @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
29862 @if test -f stage3-lean || test -f stage2-lean ; then \
29863 echo Skipping rebuild of stage3 ; \
29865 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage3; \
29868 .PHONY: all-stage3 clean-stage3
29870 maybe-all-stage3-bfd \
29871 maybe-all-stage3-opcodes \
29872 maybe-all-stage3-binutils \
29873 maybe-all-stage3-gas \
29874 maybe-all-stage3-gcc \
29875 maybe-all-stage3-intl \
29876 maybe-all-stage3-ld \
29877 maybe-all-stage3-libcpp \
29878 maybe-all-stage3-libiberty \
29879 maybe-all-stage3-zlib
29881 do-clean: clean-stage3
29883 maybe-clean-stage3-bfd \
29884 maybe-clean-stage3-opcodes \
29885 maybe-clean-stage3-binutils \
29886 maybe-clean-stage3-gas \
29887 maybe-clean-stage3-gcc \
29888 maybe-clean-stage3-intl \
29889 maybe-clean-stage3-ld \
29890 maybe-clean-stage3-libcpp \
29891 maybe-clean-stage3-libiberty \
29892 maybe-clean-stage3-zlib
29895 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
29896 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
29897 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
29899 maybe-configure-stage3-bfd:
29900 maybe-all-stage3-bfd:
29901 maybe-clean-stage3-bfd:
29904 maybe-configure-stage3-bfd: configure-stage3-bfd
29905 configure-stage3-bfd:
29906 @$(MAKE) stage3-start
29907 @[ -f bfd/Makefile ] && exit 0 || : ; \
29908 r=`${PWD_COMMAND}`; export r; \
29909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29910 $(STAGE_HOST_EXPORTS) \
29911 echo Configuring stage 3 in bfd ; \
29912 cd bfd || exit 1; \
29913 case $(srcdir) in \
29915 srcdiroption="--srcdir=."; \
29917 /* | [A-Za-z]:[\\/]*) \
29918 srcdiroption="--srcdir=$(srcdir)/bfd"; \
29919 libsrcdir="$$s/bfd";; \
29921 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
29922 libsrcdir="$$s/bfd";; \
29924 $(SHELL) $${libsrcdir}/configure \
29925 $(HOST_CONFIGARGS) $${srcdiroption} \
29926 @stage2_werror_flag@
29928 maybe-all-stage3-bfd: all-stage3-bfd
29929 all-stage3-bfd: configure-stage3-bfd
29930 @$(MAKE) stage3-start
29931 @r=`${PWD_COMMAND}`; export r; \
29932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29933 $(STAGE_HOST_EXPORTS) \
29935 $(MAKE) $(FLAGS_TO_PASS) \
29936 $(POSTSTAGE1_FLAGS_TO_PASS) \
29939 maybe-clean-stage3-bfd: clean-stage3-bfd
29941 @[ -f bfd/Makefile ] || [ -f stage3-bfd/Makefile ] \
29943 [ -f bfd/Makefile ] || $(MAKE) stage3-start ; \
29945 $(MAKE) $(FLAGS_TO_PASS) \
29946 $(POSTSTAGE1_FLAGS_TO_PASS) \
29948 @endif bfd-bootstrap
29951 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
29952 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
29953 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
29955 maybe-configure-stage3-opcodes:
29956 maybe-all-stage3-opcodes:
29957 maybe-clean-stage3-opcodes:
29959 @if opcodes-bootstrap
29960 maybe-configure-stage3-opcodes: configure-stage3-opcodes
29961 configure-stage3-opcodes:
29962 @$(MAKE) stage3-start
29963 @[ -f opcodes/Makefile ] && exit 0 || : ; \
29964 r=`${PWD_COMMAND}`; export r; \
29965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29966 $(STAGE_HOST_EXPORTS) \
29967 echo Configuring stage 3 in opcodes ; \
29968 cd opcodes || exit 1; \
29969 case $(srcdir) in \
29971 srcdiroption="--srcdir=."; \
29973 /* | [A-Za-z]:[\\/]*) \
29974 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
29975 libsrcdir="$$s/opcodes";; \
29977 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
29978 libsrcdir="$$s/opcodes";; \
29980 $(SHELL) $${libsrcdir}/configure \
29981 $(HOST_CONFIGARGS) $${srcdiroption} \
29982 @stage2_werror_flag@
29984 maybe-all-stage3-opcodes: all-stage3-opcodes
29985 all-stage3-opcodes: configure-stage3-opcodes
29986 @$(MAKE) stage3-start
29987 @r=`${PWD_COMMAND}`; export r; \
29988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29989 $(STAGE_HOST_EXPORTS) \
29991 $(MAKE) $(FLAGS_TO_PASS) \
29992 $(POSTSTAGE1_FLAGS_TO_PASS) \
29995 maybe-clean-stage3-opcodes: clean-stage3-opcodes
29996 clean-stage3-opcodes:
29997 @[ -f opcodes/Makefile ] || [ -f stage3-opcodes/Makefile ] \
29999 [ -f opcodes/Makefile ] || $(MAKE) stage3-start ; \
30001 $(MAKE) $(FLAGS_TO_PASS) \
30002 $(POSTSTAGE1_FLAGS_TO_PASS) \
30004 @endif opcodes-bootstrap
30007 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
30008 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
30009 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
30011 maybe-configure-stage3-binutils:
30012 maybe-all-stage3-binutils:
30013 maybe-clean-stage3-binutils:
30015 @if binutils-bootstrap
30016 maybe-configure-stage3-binutils: configure-stage3-binutils
30017 configure-stage3-binutils:
30018 @$(MAKE) stage3-start
30019 @[ -f binutils/Makefile ] && exit 0 || : ; \
30020 r=`${PWD_COMMAND}`; export r; \
30021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30022 $(STAGE_HOST_EXPORTS) \
30023 echo Configuring stage 3 in binutils ; \
30024 cd binutils || exit 1; \
30025 case $(srcdir) in \
30027 srcdiroption="--srcdir=."; \
30029 /* | [A-Za-z]:[\\/]*) \
30030 srcdiroption="--srcdir=$(srcdir)/binutils"; \
30031 libsrcdir="$$s/binutils";; \
30033 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
30034 libsrcdir="$$s/binutils";; \
30036 $(SHELL) $${libsrcdir}/configure \
30037 $(HOST_CONFIGARGS) $${srcdiroption} \
30038 @stage2_werror_flag@
30040 maybe-all-stage3-binutils: all-stage3-binutils
30041 all-stage3-binutils: configure-stage3-binutils
30042 @$(MAKE) stage3-start
30043 @r=`${PWD_COMMAND}`; export r; \
30044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30045 $(STAGE_HOST_EXPORTS) \
30047 $(MAKE) $(FLAGS_TO_PASS) \
30048 $(POSTSTAGE1_FLAGS_TO_PASS) \
30051 maybe-clean-stage3-binutils: clean-stage3-binutils
30052 clean-stage3-binutils:
30053 @[ -f binutils/Makefile ] || [ -f stage3-binutils/Makefile ] \
30055 [ -f binutils/Makefile ] || $(MAKE) stage3-start ; \
30057 $(MAKE) $(FLAGS_TO_PASS) \
30058 $(POSTSTAGE1_FLAGS_TO_PASS) \
30060 @endif binutils-bootstrap
30063 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
30064 .PHONY: all-stage3-gas maybe-all-stage3-gas
30065 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
30067 maybe-configure-stage3-gas:
30068 maybe-all-stage3-gas:
30069 maybe-clean-stage3-gas:
30072 maybe-configure-stage3-gas: configure-stage3-gas
30073 configure-stage3-gas:
30074 @$(MAKE) stage3-start
30075 @[ -f gas/Makefile ] && exit 0 || : ; \
30076 r=`${PWD_COMMAND}`; export r; \
30077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30078 $(STAGE_HOST_EXPORTS) \
30079 echo Configuring stage 3 in gas ; \
30080 cd gas || exit 1; \
30081 case $(srcdir) in \
30083 srcdiroption="--srcdir=."; \
30085 /* | [A-Za-z]:[\\/]*) \
30086 srcdiroption="--srcdir=$(srcdir)/gas"; \
30087 libsrcdir="$$s/gas";; \
30089 srcdiroption="--srcdir=../$(srcdir)/gas"; \
30090 libsrcdir="$$s/gas";; \
30092 $(SHELL) $${libsrcdir}/configure \
30093 $(HOST_CONFIGARGS) $${srcdiroption} \
30094 @stage2_werror_flag@
30096 maybe-all-stage3-gas: all-stage3-gas
30097 all-stage3-gas: configure-stage3-gas
30098 @$(MAKE) stage3-start
30099 @r=`${PWD_COMMAND}`; export r; \
30100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30101 $(STAGE_HOST_EXPORTS) \
30103 $(MAKE) $(FLAGS_TO_PASS) \
30104 $(POSTSTAGE1_FLAGS_TO_PASS) \
30107 maybe-clean-stage3-gas: clean-stage3-gas
30109 @[ -f gas/Makefile ] || [ -f stage3-gas/Makefile ] \
30111 [ -f gas/Makefile ] || $(MAKE) stage3-start ; \
30113 $(MAKE) $(FLAGS_TO_PASS) \
30114 $(POSTSTAGE1_FLAGS_TO_PASS) \
30116 @endif gas-bootstrap
30119 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
30120 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
30121 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
30123 maybe-configure-stage3-gcc:
30124 maybe-all-stage3-gcc:
30125 maybe-clean-stage3-gcc:
30128 maybe-configure-stage3-gcc: configure-stage3-gcc
30129 configure-stage3-gcc:
30130 @$(MAKE) stage3-start
30131 @[ -f gcc/Makefile ] && exit 0 || : ; \
30132 r=`${PWD_COMMAND}`; export r; \
30133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30134 $(STAGE_HOST_EXPORTS) \
30135 echo Configuring stage 3 in gcc ; \
30136 cd gcc || exit 1; \
30137 case $(srcdir) in \
30139 srcdiroption="--srcdir=."; \
30141 /* | [A-Za-z]:[\\/]*) \
30142 srcdiroption="--srcdir=$(srcdir)/gcc"; \
30143 libsrcdir="$$s/gcc";; \
30145 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
30146 libsrcdir="$$s/gcc";; \
30148 $(SHELL) $${libsrcdir}/configure \
30149 $(HOST_CONFIGARGS) $${srcdiroption} \
30150 @stage2_werror_flag@
30152 maybe-all-stage3-gcc: all-stage3-gcc
30153 all-stage3-gcc: configure-stage3-gcc
30154 @$(MAKE) stage3-start
30155 @r=`${PWD_COMMAND}`; export r; \
30156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30157 $(STAGE_HOST_EXPORTS) \
30159 $(MAKE) $(FLAGS_TO_PASS) \
30160 $(POSTSTAGE1_FLAGS_TO_PASS) \
30163 maybe-clean-stage3-gcc: clean-stage3-gcc
30165 @[ -f gcc/Makefile ] || [ -f stage3-gcc/Makefile ] \
30167 [ -f gcc/Makefile ] || $(MAKE) stage3-start ; \
30169 $(MAKE) $(FLAGS_TO_PASS) \
30170 $(POSTSTAGE1_FLAGS_TO_PASS) \
30171 $(EXTRA_GCC_FLAGS) clean
30172 @endif gcc-bootstrap
30175 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
30176 .PHONY: all-stage3-intl maybe-all-stage3-intl
30177 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
30179 maybe-configure-stage3-intl:
30180 maybe-all-stage3-intl:
30181 maybe-clean-stage3-intl:
30184 maybe-configure-stage3-intl: configure-stage3-intl
30185 configure-stage3-intl:
30186 @$(MAKE) stage3-start
30187 @[ -f intl/Makefile ] && exit 0 || : ; \
30188 r=`${PWD_COMMAND}`; export r; \
30189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30190 $(STAGE_HOST_EXPORTS) \
30191 echo Configuring stage 3 in intl ; \
30192 cd intl || exit 1; \
30193 case $(srcdir) in \
30195 srcdiroption="--srcdir=."; \
30197 /* | [A-Za-z]:[\\/]*) \
30198 srcdiroption="--srcdir=$(srcdir)/intl"; \
30199 libsrcdir="$$s/intl";; \
30201 srcdiroption="--srcdir=../$(srcdir)/intl"; \
30202 libsrcdir="$$s/intl";; \
30204 $(SHELL) $${libsrcdir}/configure \
30205 $(HOST_CONFIGARGS) $${srcdiroption} \
30206 @stage2_werror_flag@
30208 maybe-all-stage3-intl: all-stage3-intl
30209 all-stage3-intl: configure-stage3-intl
30210 @$(MAKE) stage3-start
30211 @r=`${PWD_COMMAND}`; export r; \
30212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30213 $(STAGE_HOST_EXPORTS) \
30215 $(MAKE) $(FLAGS_TO_PASS) \
30216 $(POSTSTAGE1_FLAGS_TO_PASS) \
30219 maybe-clean-stage3-intl: clean-stage3-intl
30221 @[ -f intl/Makefile ] || [ -f stage3-intl/Makefile ] \
30223 [ -f intl/Makefile ] || $(MAKE) stage3-start ; \
30225 $(MAKE) $(FLAGS_TO_PASS) \
30226 $(POSTSTAGE1_FLAGS_TO_PASS) \
30228 @endif intl-bootstrap
30231 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
30232 .PHONY: all-stage3-ld maybe-all-stage3-ld
30233 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
30235 maybe-configure-stage3-ld:
30236 maybe-all-stage3-ld:
30237 maybe-clean-stage3-ld:
30240 maybe-configure-stage3-ld: configure-stage3-ld
30241 configure-stage3-ld:
30242 @$(MAKE) stage3-start
30243 @[ -f ld/Makefile ] && exit 0 || : ; \
30244 r=`${PWD_COMMAND}`; export r; \
30245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30246 $(STAGE_HOST_EXPORTS) \
30247 echo Configuring stage 3 in ld ; \
30249 case $(srcdir) in \
30251 srcdiroption="--srcdir=."; \
30253 /* | [A-Za-z]:[\\/]*) \
30254 srcdiroption="--srcdir=$(srcdir)/ld"; \
30255 libsrcdir="$$s/ld";; \
30257 srcdiroption="--srcdir=../$(srcdir)/ld"; \
30258 libsrcdir="$$s/ld";; \
30260 $(SHELL) $${libsrcdir}/configure \
30261 $(HOST_CONFIGARGS) $${srcdiroption} \
30262 @stage2_werror_flag@
30264 maybe-all-stage3-ld: all-stage3-ld
30265 all-stage3-ld: configure-stage3-ld
30266 @$(MAKE) stage3-start
30267 @r=`${PWD_COMMAND}`; export r; \
30268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30269 $(STAGE_HOST_EXPORTS) \
30271 $(MAKE) $(FLAGS_TO_PASS) \
30272 $(POSTSTAGE1_FLAGS_TO_PASS) \
30275 maybe-clean-stage3-ld: clean-stage3-ld
30277 @[ -f ld/Makefile ] || [ -f stage3-ld/Makefile ] \
30279 [ -f ld/Makefile ] || $(MAKE) stage3-start ; \
30281 $(MAKE) $(FLAGS_TO_PASS) \
30282 $(POSTSTAGE1_FLAGS_TO_PASS) \
30284 @endif ld-bootstrap
30287 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
30288 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
30289 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
30291 maybe-configure-stage3-libcpp:
30292 maybe-all-stage3-libcpp:
30293 maybe-clean-stage3-libcpp:
30295 @if libcpp-bootstrap
30296 maybe-configure-stage3-libcpp: configure-stage3-libcpp
30297 configure-stage3-libcpp:
30298 @$(MAKE) stage3-start
30299 @[ -f libcpp/Makefile ] && exit 0 || : ; \
30300 r=`${PWD_COMMAND}`; export r; \
30301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30302 $(STAGE_HOST_EXPORTS) \
30303 echo Configuring stage 3 in libcpp ; \
30304 cd libcpp || exit 1; \
30305 case $(srcdir) in \
30307 srcdiroption="--srcdir=."; \
30309 /* | [A-Za-z]:[\\/]*) \
30310 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
30311 libsrcdir="$$s/libcpp";; \
30313 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
30314 libsrcdir="$$s/libcpp";; \
30316 $(SHELL) $${libsrcdir}/configure \
30317 $(HOST_CONFIGARGS) $${srcdiroption} \
30318 @stage2_werror_flag@
30320 maybe-all-stage3-libcpp: all-stage3-libcpp
30321 all-stage3-libcpp: configure-stage3-libcpp
30322 @$(MAKE) stage3-start
30323 @r=`${PWD_COMMAND}`; export r; \
30324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30325 $(STAGE_HOST_EXPORTS) \
30327 $(MAKE) $(FLAGS_TO_PASS) \
30328 $(POSTSTAGE1_FLAGS_TO_PASS) \
30331 maybe-clean-stage3-libcpp: clean-stage3-libcpp
30332 clean-stage3-libcpp:
30333 @[ -f libcpp/Makefile ] || [ -f stage3-libcpp/Makefile ] \
30335 [ -f libcpp/Makefile ] || $(MAKE) stage3-start ; \
30337 $(MAKE) $(FLAGS_TO_PASS) \
30338 $(POSTSTAGE1_FLAGS_TO_PASS) \
30340 @endif libcpp-bootstrap
30343 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
30344 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
30345 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
30347 maybe-configure-stage3-libiberty:
30348 maybe-all-stage3-libiberty:
30349 maybe-clean-stage3-libiberty:
30351 @if libiberty-bootstrap
30352 maybe-configure-stage3-libiberty: configure-stage3-libiberty
30353 configure-stage3-libiberty:
30354 @$(MAKE) stage3-start
30355 @[ -f libiberty/Makefile ] && exit 0 || : ; \
30356 r=`${PWD_COMMAND}`; export r; \
30357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30358 $(STAGE_HOST_EXPORTS) \
30359 echo Configuring stage 3 in libiberty ; \
30360 cd libiberty || exit 1; \
30361 case $(srcdir) in \
30363 srcdiroption="--srcdir=."; \
30365 /* | [A-Za-z]:[\\/]*) \
30366 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
30367 libsrcdir="$$s/libiberty";; \
30369 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
30370 libsrcdir="$$s/libiberty";; \
30372 $(SHELL) $${libsrcdir}/configure \
30373 $(HOST_CONFIGARGS) $${srcdiroption} \
30374 @stage2_werror_flag@
30376 maybe-all-stage3-libiberty: all-stage3-libiberty
30377 all-stage3-libiberty: configure-stage3-libiberty
30378 @$(MAKE) stage3-start
30379 @r=`${PWD_COMMAND}`; export r; \
30380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30381 $(STAGE_HOST_EXPORTS) \
30383 $(MAKE) $(FLAGS_TO_PASS) \
30384 $(POSTSTAGE1_FLAGS_TO_PASS) \
30387 maybe-clean-stage3-libiberty: clean-stage3-libiberty
30388 clean-stage3-libiberty:
30389 @[ -f libiberty/Makefile ] || [ -f stage3-libiberty/Makefile ] \
30391 [ -f libiberty/Makefile ] || $(MAKE) stage3-start ; \
30393 $(MAKE) $(FLAGS_TO_PASS) \
30394 $(POSTSTAGE1_FLAGS_TO_PASS) \
30396 @endif libiberty-bootstrap
30399 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
30400 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
30401 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
30403 maybe-configure-stage3-zlib:
30404 maybe-all-stage3-zlib:
30405 maybe-clean-stage3-zlib:
30408 maybe-configure-stage3-zlib: configure-stage3-zlib
30409 configure-stage3-zlib:
30410 @$(MAKE) stage3-start
30411 @[ -f zlib/Makefile ] && exit 0 || : ; \
30412 r=`${PWD_COMMAND}`; export r; \
30413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30414 $(STAGE_HOST_EXPORTS) \
30415 echo Configuring stage 3 in zlib ; \
30416 cd zlib || exit 1; \
30417 case $(srcdir) in \
30419 srcdiroption="--srcdir=."; \
30421 /* | [A-Za-z]:[\\/]*) \
30422 srcdiroption="--srcdir=$(srcdir)/zlib"; \
30423 libsrcdir="$$s/zlib";; \
30425 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
30426 libsrcdir="$$s/zlib";; \
30428 $(SHELL) $${libsrcdir}/configure \
30429 $(HOST_CONFIGARGS) $${srcdiroption} \
30430 @stage2_werror_flag@
30432 maybe-all-stage3-zlib: all-stage3-zlib
30433 all-stage3-zlib: configure-stage3-zlib
30434 @$(MAKE) stage3-start
30435 @r=`${PWD_COMMAND}`; export r; \
30436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30437 $(STAGE_HOST_EXPORTS) \
30439 $(MAKE) $(FLAGS_TO_PASS) \
30440 $(POSTSTAGE1_FLAGS_TO_PASS) \
30443 maybe-clean-stage3-zlib: clean-stage3-zlib
30445 @[ -f zlib/Makefile ] || [ -f stage3-zlib/Makefile ] \
30447 [ -f zlib/Makefile ] || $(MAKE) stage3-start ; \
30449 $(MAKE) $(FLAGS_TO_PASS) \
30450 $(POSTSTAGE1_FLAGS_TO_PASS) \
30452 @endif zlib-bootstrap
30456 # FIXME: Will not need to be conditional when toplevel bootstrap is the
30457 # only possibility, but now it conflicts with no-bootstrap rules
30461 @if test -f stage2-lean; then \
30462 echo Cannot compare object files as stage 2 was deleted. ; \
30465 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30466 @r=`${PWD_COMMAND}`; export r; \
30467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30468 rm -f .bad_compare ; \
30470 files=`find . -name "*$(objext)" -print` ; \
30472 for file in $${files} ; do \
30473 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
30474 @do_compare@ > /dev/null 2>&1; \
30475 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
30477 if [ -f .bad_compare ]; then \
30478 echo "Bootstrap comparison failure!"; \
30479 cat .bad_compare; \
30485 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
30490 bootstrap: stage3-bubble compare all
30493 # Rules to wipe a stage and all the following ones, also used for cleanstrap
30494 distclean-stage2:: distclean-stage3
30495 .PHONY: distclean-stage3
30497 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
30498 rm -rf stage3-* compare
30502 cleanstrap: distclean bootstrap
30504 @endif gcc-bootstrap
30507 .PHONY: stage4-start stage4-end
30510 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30511 echo stage4 > stage_current ; \
30512 echo stage4 > stage_last
30514 @[ -d stage4-bfd ] || mkdir stage4-bfd; \
30515 set stage4-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
30516 set stage3-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
30519 @[ -d stage4-opcodes ] || mkdir stage4-opcodes; \
30520 set stage4-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
30521 set stage3-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
30524 @[ -d stage4-binutils ] || mkdir stage4-binutils; \
30525 set stage4-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
30526 set stage3-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
30529 @[ -d stage4-gas ] || mkdir stage4-gas; \
30530 set stage4-gas gas ; @CREATE_LINK_TO_DIR@ ; \
30531 set stage3-gas prev-gas ; @CREATE_LINK_TO_DIR@
30534 @[ -d stage4-gcc ] || mkdir stage4-gcc; \
30535 set stage4-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
30536 set stage3-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
30539 @[ -d stage4-intl ] || mkdir stage4-intl; \
30540 set stage4-intl intl ; @CREATE_LINK_TO_DIR@ ; \
30541 set stage3-intl prev-intl ; @CREATE_LINK_TO_DIR@
30544 @[ -d stage4-ld ] || mkdir stage4-ld; \
30545 set stage4-ld ld ; @CREATE_LINK_TO_DIR@ ; \
30546 set stage3-ld prev-ld ; @CREATE_LINK_TO_DIR@
30549 @[ -d stage4-libcpp ] || mkdir stage4-libcpp; \
30550 set stage4-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
30551 set stage3-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
30554 @[ -d stage4-libiberty ] || mkdir stage4-libiberty; \
30555 set stage4-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
30556 set stage3-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
30559 @[ -d stage4-zlib ] || mkdir stage4-zlib; \
30560 set stage4-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
30561 set stage3-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
30565 @rm -f stage_current
30567 @set bfd stage4-bfd ; @UNDO_LINK_TO_DIR@ ; \
30568 set prev-bfd stage3-bfd ; @UNDO_LINK_TO_DIR@
30571 @set opcodes stage4-opcodes ; @UNDO_LINK_TO_DIR@ ; \
30572 set prev-opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@
30575 @set binutils stage4-binutils ; @UNDO_LINK_TO_DIR@ ; \
30576 set prev-binutils stage3-binutils ; @UNDO_LINK_TO_DIR@
30579 @set gas stage4-gas ; @UNDO_LINK_TO_DIR@ ; \
30580 set prev-gas stage3-gas ; @UNDO_LINK_TO_DIR@
30583 @set gcc stage4-gcc ; @UNDO_LINK_TO_DIR@ ; \
30584 set prev-gcc stage3-gcc ; @UNDO_LINK_TO_DIR@
30587 @set intl stage4-intl ; @UNDO_LINK_TO_DIR@ ; \
30588 set prev-intl stage3-intl ; @UNDO_LINK_TO_DIR@
30591 @set ld stage4-ld ; @UNDO_LINK_TO_DIR@ ; \
30592 set prev-ld stage3-ld ; @UNDO_LINK_TO_DIR@
30595 @set libcpp stage4-libcpp ; @UNDO_LINK_TO_DIR@ ; \
30596 set prev-libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@
30599 @set libiberty stage4-libiberty ; @UNDO_LINK_TO_DIR@ ; \
30600 set prev-libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@
30603 @set zlib stage4-zlib ; @UNDO_LINK_TO_DIR@ ; \
30604 set prev-zlib stage3-zlib ; @UNDO_LINK_TO_DIR@
30607 # Bubble a bugfix through all the stages up to stage 4. They
30608 # are remade, but not reconfigured. The next stage (if any) will not
30609 # be reconfigured as well.
30610 .PHONY: stage4-bubble
30611 stage4-bubble:: stage3-bubble
30612 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
30613 @if test -f stage4-lean || test -f stage3-lean ; then \
30614 echo Skipping rebuild of stage4 ; \
30616 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage4; \
30619 .PHONY: all-stage4 clean-stage4
30621 maybe-all-stage4-bfd \
30622 maybe-all-stage4-opcodes \
30623 maybe-all-stage4-binutils \
30624 maybe-all-stage4-gas \
30625 maybe-all-stage4-gcc \
30626 maybe-all-stage4-intl \
30627 maybe-all-stage4-ld \
30628 maybe-all-stage4-libcpp \
30629 maybe-all-stage4-libiberty \
30630 maybe-all-stage4-zlib
30632 do-clean: clean-stage4
30634 maybe-clean-stage4-bfd \
30635 maybe-clean-stage4-opcodes \
30636 maybe-clean-stage4-binutils \
30637 maybe-clean-stage4-gas \
30638 maybe-clean-stage4-gcc \
30639 maybe-clean-stage4-intl \
30640 maybe-clean-stage4-ld \
30641 maybe-clean-stage4-libcpp \
30642 maybe-clean-stage4-libiberty \
30643 maybe-clean-stage4-zlib
30646 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
30647 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
30648 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
30650 maybe-configure-stage4-bfd:
30651 maybe-all-stage4-bfd:
30652 maybe-clean-stage4-bfd:
30655 maybe-configure-stage4-bfd: configure-stage4-bfd
30656 configure-stage4-bfd:
30657 @$(MAKE) stage4-start
30658 @[ -f bfd/Makefile ] && exit 0 || : ; \
30659 r=`${PWD_COMMAND}`; export r; \
30660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30661 $(STAGE_HOST_EXPORTS) \
30662 echo Configuring stage 4 in bfd ; \
30663 cd bfd || exit 1; \
30664 case $(srcdir) in \
30666 srcdiroption="--srcdir=."; \
30668 /* | [A-Za-z]:[\\/]*) \
30669 srcdiroption="--srcdir=$(srcdir)/bfd"; \
30670 libsrcdir="$$s/bfd";; \
30672 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
30673 libsrcdir="$$s/bfd";; \
30675 $(SHELL) $${libsrcdir}/configure \
30676 $(HOST_CONFIGARGS) $${srcdiroption} \
30677 @stage2_werror_flag@
30679 maybe-all-stage4-bfd: all-stage4-bfd
30680 all-stage4-bfd: configure-stage4-bfd
30681 @$(MAKE) stage4-start
30682 @r=`${PWD_COMMAND}`; export r; \
30683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30684 $(STAGE_HOST_EXPORTS) \
30686 $(MAKE) $(FLAGS_TO_PASS) \
30687 $(POSTSTAGE1_FLAGS_TO_PASS) \
30690 maybe-clean-stage4-bfd: clean-stage4-bfd
30692 @[ -f bfd/Makefile ] || [ -f stage4-bfd/Makefile ] \
30694 [ -f bfd/Makefile ] || $(MAKE) stage4-start ; \
30696 $(MAKE) $(FLAGS_TO_PASS) \
30697 $(POSTSTAGE1_FLAGS_TO_PASS) \
30699 @endif bfd-bootstrap
30702 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
30703 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
30704 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
30706 maybe-configure-stage4-opcodes:
30707 maybe-all-stage4-opcodes:
30708 maybe-clean-stage4-opcodes:
30710 @if opcodes-bootstrap
30711 maybe-configure-stage4-opcodes: configure-stage4-opcodes
30712 configure-stage4-opcodes:
30713 @$(MAKE) stage4-start
30714 @[ -f opcodes/Makefile ] && exit 0 || : ; \
30715 r=`${PWD_COMMAND}`; export r; \
30716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30717 $(STAGE_HOST_EXPORTS) \
30718 echo Configuring stage 4 in opcodes ; \
30719 cd opcodes || exit 1; \
30720 case $(srcdir) in \
30722 srcdiroption="--srcdir=."; \
30724 /* | [A-Za-z]:[\\/]*) \
30725 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
30726 libsrcdir="$$s/opcodes";; \
30728 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
30729 libsrcdir="$$s/opcodes";; \
30731 $(SHELL) $${libsrcdir}/configure \
30732 $(HOST_CONFIGARGS) $${srcdiroption} \
30733 @stage2_werror_flag@
30735 maybe-all-stage4-opcodes: all-stage4-opcodes
30736 all-stage4-opcodes: configure-stage4-opcodes
30737 @$(MAKE) stage4-start
30738 @r=`${PWD_COMMAND}`; export r; \
30739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30740 $(STAGE_HOST_EXPORTS) \
30742 $(MAKE) $(FLAGS_TO_PASS) \
30743 $(POSTSTAGE1_FLAGS_TO_PASS) \
30746 maybe-clean-stage4-opcodes: clean-stage4-opcodes
30747 clean-stage4-opcodes:
30748 @[ -f opcodes/Makefile ] || [ -f stage4-opcodes/Makefile ] \
30750 [ -f opcodes/Makefile ] || $(MAKE) stage4-start ; \
30752 $(MAKE) $(FLAGS_TO_PASS) \
30753 $(POSTSTAGE1_FLAGS_TO_PASS) \
30755 @endif opcodes-bootstrap
30758 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
30759 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
30760 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
30762 maybe-configure-stage4-binutils:
30763 maybe-all-stage4-binutils:
30764 maybe-clean-stage4-binutils:
30766 @if binutils-bootstrap
30767 maybe-configure-stage4-binutils: configure-stage4-binutils
30768 configure-stage4-binutils:
30769 @$(MAKE) stage4-start
30770 @[ -f binutils/Makefile ] && exit 0 || : ; \
30771 r=`${PWD_COMMAND}`; export r; \
30772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30773 $(STAGE_HOST_EXPORTS) \
30774 echo Configuring stage 4 in binutils ; \
30775 cd binutils || exit 1; \
30776 case $(srcdir) in \
30778 srcdiroption="--srcdir=."; \
30780 /* | [A-Za-z]:[\\/]*) \
30781 srcdiroption="--srcdir=$(srcdir)/binutils"; \
30782 libsrcdir="$$s/binutils";; \
30784 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
30785 libsrcdir="$$s/binutils";; \
30787 $(SHELL) $${libsrcdir}/configure \
30788 $(HOST_CONFIGARGS) $${srcdiroption} \
30789 @stage2_werror_flag@
30791 maybe-all-stage4-binutils: all-stage4-binutils
30792 all-stage4-binutils: configure-stage4-binutils
30793 @$(MAKE) stage4-start
30794 @r=`${PWD_COMMAND}`; export r; \
30795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30796 $(STAGE_HOST_EXPORTS) \
30798 $(MAKE) $(FLAGS_TO_PASS) \
30799 $(POSTSTAGE1_FLAGS_TO_PASS) \
30802 maybe-clean-stage4-binutils: clean-stage4-binutils
30803 clean-stage4-binutils:
30804 @[ -f binutils/Makefile ] || [ -f stage4-binutils/Makefile ] \
30806 [ -f binutils/Makefile ] || $(MAKE) stage4-start ; \
30808 $(MAKE) $(FLAGS_TO_PASS) \
30809 $(POSTSTAGE1_FLAGS_TO_PASS) \
30811 @endif binutils-bootstrap
30814 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
30815 .PHONY: all-stage4-gas maybe-all-stage4-gas
30816 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
30818 maybe-configure-stage4-gas:
30819 maybe-all-stage4-gas:
30820 maybe-clean-stage4-gas:
30823 maybe-configure-stage4-gas: configure-stage4-gas
30824 configure-stage4-gas:
30825 @$(MAKE) stage4-start
30826 @[ -f gas/Makefile ] && exit 0 || : ; \
30827 r=`${PWD_COMMAND}`; export r; \
30828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30829 $(STAGE_HOST_EXPORTS) \
30830 echo Configuring stage 4 in gas ; \
30831 cd gas || exit 1; \
30832 case $(srcdir) in \
30834 srcdiroption="--srcdir=."; \
30836 /* | [A-Za-z]:[\\/]*) \
30837 srcdiroption="--srcdir=$(srcdir)/gas"; \
30838 libsrcdir="$$s/gas";; \
30840 srcdiroption="--srcdir=../$(srcdir)/gas"; \
30841 libsrcdir="$$s/gas";; \
30843 $(SHELL) $${libsrcdir}/configure \
30844 $(HOST_CONFIGARGS) $${srcdiroption} \
30845 @stage2_werror_flag@
30847 maybe-all-stage4-gas: all-stage4-gas
30848 all-stage4-gas: configure-stage4-gas
30849 @$(MAKE) stage4-start
30850 @r=`${PWD_COMMAND}`; export r; \
30851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30852 $(STAGE_HOST_EXPORTS) \
30854 $(MAKE) $(FLAGS_TO_PASS) \
30855 $(POSTSTAGE1_FLAGS_TO_PASS) \
30858 maybe-clean-stage4-gas: clean-stage4-gas
30860 @[ -f gas/Makefile ] || [ -f stage4-gas/Makefile ] \
30862 [ -f gas/Makefile ] || $(MAKE) stage4-start ; \
30864 $(MAKE) $(FLAGS_TO_PASS) \
30865 $(POSTSTAGE1_FLAGS_TO_PASS) \
30867 @endif gas-bootstrap
30870 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
30871 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
30872 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
30874 maybe-configure-stage4-gcc:
30875 maybe-all-stage4-gcc:
30876 maybe-clean-stage4-gcc:
30879 maybe-configure-stage4-gcc: configure-stage4-gcc
30880 configure-stage4-gcc:
30881 @$(MAKE) stage4-start
30882 @[ -f gcc/Makefile ] && exit 0 || : ; \
30883 r=`${PWD_COMMAND}`; export r; \
30884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30885 $(STAGE_HOST_EXPORTS) \
30886 echo Configuring stage 4 in gcc ; \
30887 cd gcc || exit 1; \
30888 case $(srcdir) in \
30890 srcdiroption="--srcdir=."; \
30892 /* | [A-Za-z]:[\\/]*) \
30893 srcdiroption="--srcdir=$(srcdir)/gcc"; \
30894 libsrcdir="$$s/gcc";; \
30896 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
30897 libsrcdir="$$s/gcc";; \
30899 $(SHELL) $${libsrcdir}/configure \
30900 $(HOST_CONFIGARGS) $${srcdiroption} \
30901 @stage2_werror_flag@
30903 maybe-all-stage4-gcc: all-stage4-gcc
30904 all-stage4-gcc: configure-stage4-gcc
30905 @$(MAKE) stage4-start
30906 @r=`${PWD_COMMAND}`; export r; \
30907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30908 $(STAGE_HOST_EXPORTS) \
30910 $(MAKE) $(FLAGS_TO_PASS) \
30911 $(POSTSTAGE1_FLAGS_TO_PASS) \
30914 maybe-clean-stage4-gcc: clean-stage4-gcc
30916 @[ -f gcc/Makefile ] || [ -f stage4-gcc/Makefile ] \
30918 [ -f gcc/Makefile ] || $(MAKE) stage4-start ; \
30920 $(MAKE) $(FLAGS_TO_PASS) \
30921 $(POSTSTAGE1_FLAGS_TO_PASS) \
30922 $(EXTRA_GCC_FLAGS) clean
30923 @endif gcc-bootstrap
30926 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
30927 .PHONY: all-stage4-intl maybe-all-stage4-intl
30928 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
30930 maybe-configure-stage4-intl:
30931 maybe-all-stage4-intl:
30932 maybe-clean-stage4-intl:
30935 maybe-configure-stage4-intl: configure-stage4-intl
30936 configure-stage4-intl:
30937 @$(MAKE) stage4-start
30938 @[ -f intl/Makefile ] && exit 0 || : ; \
30939 r=`${PWD_COMMAND}`; export r; \
30940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30941 $(STAGE_HOST_EXPORTS) \
30942 echo Configuring stage 4 in intl ; \
30943 cd intl || exit 1; \
30944 case $(srcdir) in \
30946 srcdiroption="--srcdir=."; \
30948 /* | [A-Za-z]:[\\/]*) \
30949 srcdiroption="--srcdir=$(srcdir)/intl"; \
30950 libsrcdir="$$s/intl";; \
30952 srcdiroption="--srcdir=../$(srcdir)/intl"; \
30953 libsrcdir="$$s/intl";; \
30955 $(SHELL) $${libsrcdir}/configure \
30956 $(HOST_CONFIGARGS) $${srcdiroption} \
30957 @stage2_werror_flag@
30959 maybe-all-stage4-intl: all-stage4-intl
30960 all-stage4-intl: configure-stage4-intl
30961 @$(MAKE) stage4-start
30962 @r=`${PWD_COMMAND}`; export r; \
30963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30964 $(STAGE_HOST_EXPORTS) \
30966 $(MAKE) $(FLAGS_TO_PASS) \
30967 $(POSTSTAGE1_FLAGS_TO_PASS) \
30970 maybe-clean-stage4-intl: clean-stage4-intl
30972 @[ -f intl/Makefile ] || [ -f stage4-intl/Makefile ] \
30974 [ -f intl/Makefile ] || $(MAKE) stage4-start ; \
30976 $(MAKE) $(FLAGS_TO_PASS) \
30977 $(POSTSTAGE1_FLAGS_TO_PASS) \
30979 @endif intl-bootstrap
30982 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
30983 .PHONY: all-stage4-ld maybe-all-stage4-ld
30984 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
30986 maybe-configure-stage4-ld:
30987 maybe-all-stage4-ld:
30988 maybe-clean-stage4-ld:
30991 maybe-configure-stage4-ld: configure-stage4-ld
30992 configure-stage4-ld:
30993 @$(MAKE) stage4-start
30994 @[ -f ld/Makefile ] && exit 0 || : ; \
30995 r=`${PWD_COMMAND}`; export r; \
30996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30997 $(STAGE_HOST_EXPORTS) \
30998 echo Configuring stage 4 in ld ; \
31000 case $(srcdir) in \
31002 srcdiroption="--srcdir=."; \
31004 /* | [A-Za-z]:[\\/]*) \
31005 srcdiroption="--srcdir=$(srcdir)/ld"; \
31006 libsrcdir="$$s/ld";; \
31008 srcdiroption="--srcdir=../$(srcdir)/ld"; \
31009 libsrcdir="$$s/ld";; \
31011 $(SHELL) $${libsrcdir}/configure \
31012 $(HOST_CONFIGARGS) $${srcdiroption} \
31013 @stage2_werror_flag@
31015 maybe-all-stage4-ld: all-stage4-ld
31016 all-stage4-ld: configure-stage4-ld
31017 @$(MAKE) stage4-start
31018 @r=`${PWD_COMMAND}`; export r; \
31019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31020 $(STAGE_HOST_EXPORTS) \
31022 $(MAKE) $(FLAGS_TO_PASS) \
31023 $(POSTSTAGE1_FLAGS_TO_PASS) \
31026 maybe-clean-stage4-ld: clean-stage4-ld
31028 @[ -f ld/Makefile ] || [ -f stage4-ld/Makefile ] \
31030 [ -f ld/Makefile ] || $(MAKE) stage4-start ; \
31032 $(MAKE) $(FLAGS_TO_PASS) \
31033 $(POSTSTAGE1_FLAGS_TO_PASS) \
31035 @endif ld-bootstrap
31038 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
31039 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
31040 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
31042 maybe-configure-stage4-libcpp:
31043 maybe-all-stage4-libcpp:
31044 maybe-clean-stage4-libcpp:
31046 @if libcpp-bootstrap
31047 maybe-configure-stage4-libcpp: configure-stage4-libcpp
31048 configure-stage4-libcpp:
31049 @$(MAKE) stage4-start
31050 @[ -f libcpp/Makefile ] && exit 0 || : ; \
31051 r=`${PWD_COMMAND}`; export r; \
31052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31053 $(STAGE_HOST_EXPORTS) \
31054 echo Configuring stage 4 in libcpp ; \
31055 cd libcpp || exit 1; \
31056 case $(srcdir) in \
31058 srcdiroption="--srcdir=."; \
31060 /* | [A-Za-z]:[\\/]*) \
31061 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
31062 libsrcdir="$$s/libcpp";; \
31064 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
31065 libsrcdir="$$s/libcpp";; \
31067 $(SHELL) $${libsrcdir}/configure \
31068 $(HOST_CONFIGARGS) $${srcdiroption} \
31069 @stage2_werror_flag@
31071 maybe-all-stage4-libcpp: all-stage4-libcpp
31072 all-stage4-libcpp: configure-stage4-libcpp
31073 @$(MAKE) stage4-start
31074 @r=`${PWD_COMMAND}`; export r; \
31075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31076 $(STAGE_HOST_EXPORTS) \
31078 $(MAKE) $(FLAGS_TO_PASS) \
31079 $(POSTSTAGE1_FLAGS_TO_PASS) \
31082 maybe-clean-stage4-libcpp: clean-stage4-libcpp
31083 clean-stage4-libcpp:
31084 @[ -f libcpp/Makefile ] || [ -f stage4-libcpp/Makefile ] \
31086 [ -f libcpp/Makefile ] || $(MAKE) stage4-start ; \
31088 $(MAKE) $(FLAGS_TO_PASS) \
31089 $(POSTSTAGE1_FLAGS_TO_PASS) \
31091 @endif libcpp-bootstrap
31094 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
31095 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
31096 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
31098 maybe-configure-stage4-libiberty:
31099 maybe-all-stage4-libiberty:
31100 maybe-clean-stage4-libiberty:
31102 @if libiberty-bootstrap
31103 maybe-configure-stage4-libiberty: configure-stage4-libiberty
31104 configure-stage4-libiberty:
31105 @$(MAKE) stage4-start
31106 @[ -f libiberty/Makefile ] && exit 0 || : ; \
31107 r=`${PWD_COMMAND}`; export r; \
31108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31109 $(STAGE_HOST_EXPORTS) \
31110 echo Configuring stage 4 in libiberty ; \
31111 cd libiberty || exit 1; \
31112 case $(srcdir) in \
31114 srcdiroption="--srcdir=."; \
31116 /* | [A-Za-z]:[\\/]*) \
31117 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
31118 libsrcdir="$$s/libiberty";; \
31120 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
31121 libsrcdir="$$s/libiberty";; \
31123 $(SHELL) $${libsrcdir}/configure \
31124 $(HOST_CONFIGARGS) $${srcdiroption} \
31125 @stage2_werror_flag@
31127 maybe-all-stage4-libiberty: all-stage4-libiberty
31128 all-stage4-libiberty: configure-stage4-libiberty
31129 @$(MAKE) stage4-start
31130 @r=`${PWD_COMMAND}`; export r; \
31131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31132 $(STAGE_HOST_EXPORTS) \
31134 $(MAKE) $(FLAGS_TO_PASS) \
31135 $(POSTSTAGE1_FLAGS_TO_PASS) \
31138 maybe-clean-stage4-libiberty: clean-stage4-libiberty
31139 clean-stage4-libiberty:
31140 @[ -f libiberty/Makefile ] || [ -f stage4-libiberty/Makefile ] \
31142 [ -f libiberty/Makefile ] || $(MAKE) stage4-start ; \
31144 $(MAKE) $(FLAGS_TO_PASS) \
31145 $(POSTSTAGE1_FLAGS_TO_PASS) \
31147 @endif libiberty-bootstrap
31150 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
31151 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
31152 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
31154 maybe-configure-stage4-zlib:
31155 maybe-all-stage4-zlib:
31156 maybe-clean-stage4-zlib:
31159 maybe-configure-stage4-zlib: configure-stage4-zlib
31160 configure-stage4-zlib:
31161 @$(MAKE) stage4-start
31162 @[ -f zlib/Makefile ] && exit 0 || : ; \
31163 r=`${PWD_COMMAND}`; export r; \
31164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31165 $(STAGE_HOST_EXPORTS) \
31166 echo Configuring stage 4 in zlib ; \
31167 cd zlib || exit 1; \
31168 case $(srcdir) in \
31170 srcdiroption="--srcdir=."; \
31172 /* | [A-Za-z]:[\\/]*) \
31173 srcdiroption="--srcdir=$(srcdir)/zlib"; \
31174 libsrcdir="$$s/zlib";; \
31176 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
31177 libsrcdir="$$s/zlib";; \
31179 $(SHELL) $${libsrcdir}/configure \
31180 $(HOST_CONFIGARGS) $${srcdiroption} \
31181 @stage2_werror_flag@
31183 maybe-all-stage4-zlib: all-stage4-zlib
31184 all-stage4-zlib: configure-stage4-zlib
31185 @$(MAKE) stage4-start
31186 @r=`${PWD_COMMAND}`; export r; \
31187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31188 $(STAGE_HOST_EXPORTS) \
31190 $(MAKE) $(FLAGS_TO_PASS) \
31191 $(POSTSTAGE1_FLAGS_TO_PASS) \
31194 maybe-clean-stage4-zlib: clean-stage4-zlib
31196 @[ -f zlib/Makefile ] || [ -f stage4-zlib/Makefile ] \
31198 [ -f zlib/Makefile ] || $(MAKE) stage4-start ; \
31200 $(MAKE) $(FLAGS_TO_PASS) \
31201 $(POSTSTAGE1_FLAGS_TO_PASS) \
31203 @endif zlib-bootstrap
31207 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31208 # only possibility, but now it conflicts with no-bootstrap rules
31212 @if test -f stage3-lean; then \
31213 echo Cannot compare object files as stage 3 was deleted. ; \
31216 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31217 @r=`${PWD_COMMAND}`; export r; \
31218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31219 rm -f .bad_compare ; \
31221 files=`find . -name "*$(objext)" -print` ; \
31223 for file in $${files} ; do \
31224 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
31225 @do_compare@ > /dev/null 2>&1; \
31226 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
31228 if [ -f .bad_compare ]; then \
31229 echo "Bootstrap comparison failure!"; \
31230 cat .bad_compare; \
31236 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
31241 bootstrap4: stage4-bubble compare3 all
31244 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31245 distclean-stage3:: distclean-stage4
31246 .PHONY: distclean-stage4
31248 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31249 rm -rf stage4-* compare3
31252 @endif gcc-bootstrap
31255 .PHONY: stageprofile-start stageprofile-end
31257 stageprofile-start::
31258 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31259 echo stageprofile > stage_current ; \
31260 echo stageprofile > stage_last
31262 @[ -d stageprofile-bfd ] || mkdir stageprofile-bfd; \
31263 set stageprofile-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
31264 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
31267 @[ -d stageprofile-opcodes ] || mkdir stageprofile-opcodes; \
31268 set stageprofile-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
31269 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
31272 @[ -d stageprofile-binutils ] || mkdir stageprofile-binutils; \
31273 set stageprofile-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
31274 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
31277 @[ -d stageprofile-gas ] || mkdir stageprofile-gas; \
31278 set stageprofile-gas gas ; @CREATE_LINK_TO_DIR@ ; \
31279 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
31282 @[ -d stageprofile-gcc ] || mkdir stageprofile-gcc; \
31283 set stageprofile-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
31284 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
31287 @[ -d stageprofile-intl ] || mkdir stageprofile-intl; \
31288 set stageprofile-intl intl ; @CREATE_LINK_TO_DIR@ ; \
31289 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
31292 @[ -d stageprofile-ld ] || mkdir stageprofile-ld; \
31293 set stageprofile-ld ld ; @CREATE_LINK_TO_DIR@ ; \
31294 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
31297 @[ -d stageprofile-libcpp ] || mkdir stageprofile-libcpp; \
31298 set stageprofile-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
31299 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
31302 @[ -d stageprofile-libiberty ] || mkdir stageprofile-libiberty; \
31303 set stageprofile-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
31304 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
31307 @[ -d stageprofile-zlib ] || mkdir stageprofile-zlib; \
31308 set stageprofile-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
31309 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
31313 @rm -f stage_current
31315 @set bfd stageprofile-bfd ; @UNDO_LINK_TO_DIR@ ; \
31316 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
31319 @set opcodes stageprofile-opcodes ; @UNDO_LINK_TO_DIR@ ; \
31320 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
31323 @set binutils stageprofile-binutils ; @UNDO_LINK_TO_DIR@ ; \
31324 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
31327 @set gas stageprofile-gas ; @UNDO_LINK_TO_DIR@ ; \
31328 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
31331 @set gcc stageprofile-gcc ; @UNDO_LINK_TO_DIR@ ; \
31332 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
31335 @set intl stageprofile-intl ; @UNDO_LINK_TO_DIR@ ; \
31336 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
31339 @set ld stageprofile-ld ; @UNDO_LINK_TO_DIR@ ; \
31340 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
31343 @set libcpp stageprofile-libcpp ; @UNDO_LINK_TO_DIR@ ; \
31344 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
31347 @set libiberty stageprofile-libiberty ; @UNDO_LINK_TO_DIR@ ; \
31348 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
31351 @set zlib stageprofile-zlib ; @UNDO_LINK_TO_DIR@ ; \
31352 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
31355 # Bubble a bugfix through all the stages up to stage profile. They
31356 # are remade, but not reconfigured. The next stage (if any) will not
31357 # be reconfigured as well.
31358 .PHONY: stageprofile-bubble
31359 stageprofile-bubble:: stage1-bubble
31360 @if test -f stageprofile-lean || test -f stage1-lean ; then \
31361 echo Skipping rebuild of stageprofile ; \
31363 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stageprofile; \
31366 .PHONY: all-stageprofile clean-stageprofile
31367 all-stageprofile: \
31368 maybe-all-stageprofile-bfd \
31369 maybe-all-stageprofile-opcodes \
31370 maybe-all-stageprofile-binutils \
31371 maybe-all-stageprofile-gas \
31372 maybe-all-stageprofile-gcc \
31373 maybe-all-stageprofile-intl \
31374 maybe-all-stageprofile-ld \
31375 maybe-all-stageprofile-libcpp \
31376 maybe-all-stageprofile-libiberty \
31377 maybe-all-stageprofile-zlib
31379 do-clean: clean-stageprofile
31380 clean-stageprofile: \
31381 maybe-clean-stageprofile-bfd \
31382 maybe-clean-stageprofile-opcodes \
31383 maybe-clean-stageprofile-binutils \
31384 maybe-clean-stageprofile-gas \
31385 maybe-clean-stageprofile-gcc \
31386 maybe-clean-stageprofile-intl \
31387 maybe-clean-stageprofile-ld \
31388 maybe-clean-stageprofile-libcpp \
31389 maybe-clean-stageprofile-libiberty \
31390 maybe-clean-stageprofile-zlib
31393 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
31394 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
31395 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
31397 maybe-configure-stageprofile-bfd:
31398 maybe-all-stageprofile-bfd:
31399 maybe-clean-stageprofile-bfd:
31402 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
31403 configure-stageprofile-bfd:
31404 @$(MAKE) stageprofile-start
31405 @[ -f bfd/Makefile ] && exit 0 || : ; \
31406 r=`${PWD_COMMAND}`; export r; \
31407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31408 $(STAGE_HOST_EXPORTS) \
31409 echo Configuring stage profile in bfd ; \
31410 cd bfd || exit 1; \
31411 case $(srcdir) in \
31413 srcdiroption="--srcdir=."; \
31415 /* | [A-Za-z]:[\\/]*) \
31416 srcdiroption="--srcdir=$(srcdir)/bfd"; \
31417 libsrcdir="$$s/bfd";; \
31419 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
31420 libsrcdir="$$s/bfd";; \
31422 $(SHELL) $${libsrcdir}/configure \
31423 $(HOST_CONFIGARGS) $${srcdiroption} \
31424 @stage2_werror_flag@
31426 maybe-all-stageprofile-bfd: all-stageprofile-bfd
31427 all-stageprofile-bfd: configure-stageprofile-bfd
31428 @$(MAKE) stageprofile-start
31429 @r=`${PWD_COMMAND}`; export r; \
31430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31431 $(STAGE_HOST_EXPORTS) \
31433 $(MAKE) $(FLAGS_TO_PASS) \
31434 $(POSTSTAGE1_FLAGS_TO_PASS) \
31435 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31437 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
31438 clean-stageprofile-bfd:
31439 @[ -f bfd/Makefile ] || [ -f stageprofile-bfd/Makefile ] \
31441 [ -f bfd/Makefile ] || $(MAKE) stageprofile-start ; \
31443 $(MAKE) $(FLAGS_TO_PASS) \
31444 $(POSTSTAGE1_FLAGS_TO_PASS) \
31445 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31446 @endif bfd-bootstrap
31449 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
31450 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
31451 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
31453 maybe-configure-stageprofile-opcodes:
31454 maybe-all-stageprofile-opcodes:
31455 maybe-clean-stageprofile-opcodes:
31457 @if opcodes-bootstrap
31458 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
31459 configure-stageprofile-opcodes:
31460 @$(MAKE) stageprofile-start
31461 @[ -f opcodes/Makefile ] && exit 0 || : ; \
31462 r=`${PWD_COMMAND}`; export r; \
31463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31464 $(STAGE_HOST_EXPORTS) \
31465 echo Configuring stage profile in opcodes ; \
31466 cd opcodes || exit 1; \
31467 case $(srcdir) in \
31469 srcdiroption="--srcdir=."; \
31471 /* | [A-Za-z]:[\\/]*) \
31472 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
31473 libsrcdir="$$s/opcodes";; \
31475 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
31476 libsrcdir="$$s/opcodes";; \
31478 $(SHELL) $${libsrcdir}/configure \
31479 $(HOST_CONFIGARGS) $${srcdiroption} \
31480 @stage2_werror_flag@
31482 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
31483 all-stageprofile-opcodes: configure-stageprofile-opcodes
31484 @$(MAKE) stageprofile-start
31485 @r=`${PWD_COMMAND}`; export r; \
31486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31487 $(STAGE_HOST_EXPORTS) \
31489 $(MAKE) $(FLAGS_TO_PASS) \
31490 $(POSTSTAGE1_FLAGS_TO_PASS) \
31491 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31493 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
31494 clean-stageprofile-opcodes:
31495 @[ -f opcodes/Makefile ] || [ -f stageprofile-opcodes/Makefile ] \
31497 [ -f opcodes/Makefile ] || $(MAKE) stageprofile-start ; \
31499 $(MAKE) $(FLAGS_TO_PASS) \
31500 $(POSTSTAGE1_FLAGS_TO_PASS) \
31501 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31502 @endif opcodes-bootstrap
31505 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
31506 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
31507 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
31509 maybe-configure-stageprofile-binutils:
31510 maybe-all-stageprofile-binutils:
31511 maybe-clean-stageprofile-binutils:
31513 @if binutils-bootstrap
31514 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
31515 configure-stageprofile-binutils:
31516 @$(MAKE) stageprofile-start
31517 @[ -f binutils/Makefile ] && exit 0 || : ; \
31518 r=`${PWD_COMMAND}`; export r; \
31519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31520 $(STAGE_HOST_EXPORTS) \
31521 echo Configuring stage profile in binutils ; \
31522 cd binutils || exit 1; \
31523 case $(srcdir) in \
31525 srcdiroption="--srcdir=."; \
31527 /* | [A-Za-z]:[\\/]*) \
31528 srcdiroption="--srcdir=$(srcdir)/binutils"; \
31529 libsrcdir="$$s/binutils";; \
31531 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
31532 libsrcdir="$$s/binutils";; \
31534 $(SHELL) $${libsrcdir}/configure \
31535 $(HOST_CONFIGARGS) $${srcdiroption} \
31536 @stage2_werror_flag@
31538 maybe-all-stageprofile-binutils: all-stageprofile-binutils
31539 all-stageprofile-binutils: configure-stageprofile-binutils
31540 @$(MAKE) stageprofile-start
31541 @r=`${PWD_COMMAND}`; export r; \
31542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31543 $(STAGE_HOST_EXPORTS) \
31545 $(MAKE) $(FLAGS_TO_PASS) \
31546 $(POSTSTAGE1_FLAGS_TO_PASS) \
31547 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31549 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
31550 clean-stageprofile-binutils:
31551 @[ -f binutils/Makefile ] || [ -f stageprofile-binutils/Makefile ] \
31553 [ -f binutils/Makefile ] || $(MAKE) stageprofile-start ; \
31555 $(MAKE) $(FLAGS_TO_PASS) \
31556 $(POSTSTAGE1_FLAGS_TO_PASS) \
31557 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31558 @endif binutils-bootstrap
31561 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
31562 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
31563 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
31565 maybe-configure-stageprofile-gas:
31566 maybe-all-stageprofile-gas:
31567 maybe-clean-stageprofile-gas:
31570 maybe-configure-stageprofile-gas: configure-stageprofile-gas
31571 configure-stageprofile-gas:
31572 @$(MAKE) stageprofile-start
31573 @[ -f gas/Makefile ] && exit 0 || : ; \
31574 r=`${PWD_COMMAND}`; export r; \
31575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31576 $(STAGE_HOST_EXPORTS) \
31577 echo Configuring stage profile in gas ; \
31578 cd gas || exit 1; \
31579 case $(srcdir) in \
31581 srcdiroption="--srcdir=."; \
31583 /* | [A-Za-z]:[\\/]*) \
31584 srcdiroption="--srcdir=$(srcdir)/gas"; \
31585 libsrcdir="$$s/gas";; \
31587 srcdiroption="--srcdir=../$(srcdir)/gas"; \
31588 libsrcdir="$$s/gas";; \
31590 $(SHELL) $${libsrcdir}/configure \
31591 $(HOST_CONFIGARGS) $${srcdiroption} \
31592 @stage2_werror_flag@
31594 maybe-all-stageprofile-gas: all-stageprofile-gas
31595 all-stageprofile-gas: configure-stageprofile-gas
31596 @$(MAKE) stageprofile-start
31597 @r=`${PWD_COMMAND}`; export r; \
31598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31599 $(STAGE_HOST_EXPORTS) \
31601 $(MAKE) $(FLAGS_TO_PASS) \
31602 $(POSTSTAGE1_FLAGS_TO_PASS) \
31603 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31605 maybe-clean-stageprofile-gas: clean-stageprofile-gas
31606 clean-stageprofile-gas:
31607 @[ -f gas/Makefile ] || [ -f stageprofile-gas/Makefile ] \
31609 [ -f gas/Makefile ] || $(MAKE) stageprofile-start ; \
31611 $(MAKE) $(FLAGS_TO_PASS) \
31612 $(POSTSTAGE1_FLAGS_TO_PASS) \
31613 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31614 @endif gas-bootstrap
31617 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
31618 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
31619 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
31621 maybe-configure-stageprofile-gcc:
31622 maybe-all-stageprofile-gcc:
31623 maybe-clean-stageprofile-gcc:
31626 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
31627 configure-stageprofile-gcc:
31628 @$(MAKE) stageprofile-start
31629 @[ -f gcc/Makefile ] && exit 0 || : ; \
31630 r=`${PWD_COMMAND}`; export r; \
31631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31632 $(STAGE_HOST_EXPORTS) \
31633 echo Configuring stage profile in gcc ; \
31634 cd gcc || exit 1; \
31635 case $(srcdir) in \
31637 srcdiroption="--srcdir=."; \
31639 /* | [A-Za-z]:[\\/]*) \
31640 srcdiroption="--srcdir=$(srcdir)/gcc"; \
31641 libsrcdir="$$s/gcc";; \
31643 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
31644 libsrcdir="$$s/gcc";; \
31646 $(SHELL) $${libsrcdir}/configure \
31647 $(HOST_CONFIGARGS) $${srcdiroption} \
31648 @stage2_werror_flag@
31650 maybe-all-stageprofile-gcc: all-stageprofile-gcc
31651 all-stageprofile-gcc: configure-stageprofile-gcc
31652 @$(MAKE) stageprofile-start
31653 @r=`${PWD_COMMAND}`; export r; \
31654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31655 $(STAGE_HOST_EXPORTS) \
31657 $(MAKE) $(FLAGS_TO_PASS) \
31658 $(POSTSTAGE1_FLAGS_TO_PASS) \
31659 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS)
31661 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
31662 clean-stageprofile-gcc:
31663 @[ -f gcc/Makefile ] || [ -f stageprofile-gcc/Makefile ] \
31665 [ -f gcc/Makefile ] || $(MAKE) stageprofile-start ; \
31667 $(MAKE) $(FLAGS_TO_PASS) \
31668 $(POSTSTAGE1_FLAGS_TO_PASS) \
31669 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
31670 @endif gcc-bootstrap
31673 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
31674 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
31675 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
31677 maybe-configure-stageprofile-intl:
31678 maybe-all-stageprofile-intl:
31679 maybe-clean-stageprofile-intl:
31682 maybe-configure-stageprofile-intl: configure-stageprofile-intl
31683 configure-stageprofile-intl:
31684 @$(MAKE) stageprofile-start
31685 @[ -f intl/Makefile ] && exit 0 || : ; \
31686 r=`${PWD_COMMAND}`; export r; \
31687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31688 $(STAGE_HOST_EXPORTS) \
31689 echo Configuring stage profile in intl ; \
31690 cd intl || exit 1; \
31691 case $(srcdir) in \
31693 srcdiroption="--srcdir=."; \
31695 /* | [A-Za-z]:[\\/]*) \
31696 srcdiroption="--srcdir=$(srcdir)/intl"; \
31697 libsrcdir="$$s/intl";; \
31699 srcdiroption="--srcdir=../$(srcdir)/intl"; \
31700 libsrcdir="$$s/intl";; \
31702 $(SHELL) $${libsrcdir}/configure \
31703 $(HOST_CONFIGARGS) $${srcdiroption} \
31704 @stage2_werror_flag@
31706 maybe-all-stageprofile-intl: all-stageprofile-intl
31707 all-stageprofile-intl: configure-stageprofile-intl
31708 @$(MAKE) stageprofile-start
31709 @r=`${PWD_COMMAND}`; export r; \
31710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31711 $(STAGE_HOST_EXPORTS) \
31713 $(MAKE) $(FLAGS_TO_PASS) \
31714 $(POSTSTAGE1_FLAGS_TO_PASS) \
31715 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31717 maybe-clean-stageprofile-intl: clean-stageprofile-intl
31718 clean-stageprofile-intl:
31719 @[ -f intl/Makefile ] || [ -f stageprofile-intl/Makefile ] \
31721 [ -f intl/Makefile ] || $(MAKE) stageprofile-start ; \
31723 $(MAKE) $(FLAGS_TO_PASS) \
31724 $(POSTSTAGE1_FLAGS_TO_PASS) \
31725 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31726 @endif intl-bootstrap
31729 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
31730 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
31731 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
31733 maybe-configure-stageprofile-ld:
31734 maybe-all-stageprofile-ld:
31735 maybe-clean-stageprofile-ld:
31738 maybe-configure-stageprofile-ld: configure-stageprofile-ld
31739 configure-stageprofile-ld:
31740 @$(MAKE) stageprofile-start
31741 @[ -f ld/Makefile ] && exit 0 || : ; \
31742 r=`${PWD_COMMAND}`; export r; \
31743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31744 $(STAGE_HOST_EXPORTS) \
31745 echo Configuring stage profile in ld ; \
31747 case $(srcdir) in \
31749 srcdiroption="--srcdir=."; \
31751 /* | [A-Za-z]:[\\/]*) \
31752 srcdiroption="--srcdir=$(srcdir)/ld"; \
31753 libsrcdir="$$s/ld";; \
31755 srcdiroption="--srcdir=../$(srcdir)/ld"; \
31756 libsrcdir="$$s/ld";; \
31758 $(SHELL) $${libsrcdir}/configure \
31759 $(HOST_CONFIGARGS) $${srcdiroption} \
31760 @stage2_werror_flag@
31762 maybe-all-stageprofile-ld: all-stageprofile-ld
31763 all-stageprofile-ld: configure-stageprofile-ld
31764 @$(MAKE) stageprofile-start
31765 @r=`${PWD_COMMAND}`; export r; \
31766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31767 $(STAGE_HOST_EXPORTS) \
31769 $(MAKE) $(FLAGS_TO_PASS) \
31770 $(POSTSTAGE1_FLAGS_TO_PASS) \
31771 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31773 maybe-clean-stageprofile-ld: clean-stageprofile-ld
31774 clean-stageprofile-ld:
31775 @[ -f ld/Makefile ] || [ -f stageprofile-ld/Makefile ] \
31777 [ -f ld/Makefile ] || $(MAKE) stageprofile-start ; \
31779 $(MAKE) $(FLAGS_TO_PASS) \
31780 $(POSTSTAGE1_FLAGS_TO_PASS) \
31781 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31782 @endif ld-bootstrap
31785 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
31786 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
31787 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
31789 maybe-configure-stageprofile-libcpp:
31790 maybe-all-stageprofile-libcpp:
31791 maybe-clean-stageprofile-libcpp:
31793 @if libcpp-bootstrap
31794 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
31795 configure-stageprofile-libcpp:
31796 @$(MAKE) stageprofile-start
31797 @[ -f libcpp/Makefile ] && exit 0 || : ; \
31798 r=`${PWD_COMMAND}`; export r; \
31799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31800 $(STAGE_HOST_EXPORTS) \
31801 echo Configuring stage profile in libcpp ; \
31802 cd libcpp || exit 1; \
31803 case $(srcdir) in \
31805 srcdiroption="--srcdir=."; \
31807 /* | [A-Za-z]:[\\/]*) \
31808 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
31809 libsrcdir="$$s/libcpp";; \
31811 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
31812 libsrcdir="$$s/libcpp";; \
31814 $(SHELL) $${libsrcdir}/configure \
31815 $(HOST_CONFIGARGS) $${srcdiroption} \
31816 @stage2_werror_flag@
31818 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
31819 all-stageprofile-libcpp: configure-stageprofile-libcpp
31820 @$(MAKE) stageprofile-start
31821 @r=`${PWD_COMMAND}`; export r; \
31822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31823 $(STAGE_HOST_EXPORTS) \
31825 $(MAKE) $(FLAGS_TO_PASS) \
31826 $(POSTSTAGE1_FLAGS_TO_PASS) \
31827 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31829 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
31830 clean-stageprofile-libcpp:
31831 @[ -f libcpp/Makefile ] || [ -f stageprofile-libcpp/Makefile ] \
31833 [ -f libcpp/Makefile ] || $(MAKE) stageprofile-start ; \
31835 $(MAKE) $(FLAGS_TO_PASS) \
31836 $(POSTSTAGE1_FLAGS_TO_PASS) \
31837 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31838 @endif libcpp-bootstrap
31841 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
31842 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
31843 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
31845 maybe-configure-stageprofile-libiberty:
31846 maybe-all-stageprofile-libiberty:
31847 maybe-clean-stageprofile-libiberty:
31849 @if libiberty-bootstrap
31850 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
31851 configure-stageprofile-libiberty:
31852 @$(MAKE) stageprofile-start
31853 @[ -f libiberty/Makefile ] && exit 0 || : ; \
31854 r=`${PWD_COMMAND}`; export r; \
31855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31856 $(STAGE_HOST_EXPORTS) \
31857 echo Configuring stage profile in libiberty ; \
31858 cd libiberty || exit 1; \
31859 case $(srcdir) in \
31861 srcdiroption="--srcdir=."; \
31863 /* | [A-Za-z]:[\\/]*) \
31864 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
31865 libsrcdir="$$s/libiberty";; \
31867 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
31868 libsrcdir="$$s/libiberty";; \
31870 $(SHELL) $${libsrcdir}/configure \
31871 $(HOST_CONFIGARGS) $${srcdiroption} \
31872 @stage2_werror_flag@
31874 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
31875 all-stageprofile-libiberty: configure-stageprofile-libiberty
31876 @$(MAKE) stageprofile-start
31877 @r=`${PWD_COMMAND}`; export r; \
31878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31879 $(STAGE_HOST_EXPORTS) \
31881 $(MAKE) $(FLAGS_TO_PASS) \
31882 $(POSTSTAGE1_FLAGS_TO_PASS) \
31883 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31885 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
31886 clean-stageprofile-libiberty:
31887 @[ -f libiberty/Makefile ] || [ -f stageprofile-libiberty/Makefile ] \
31889 [ -f libiberty/Makefile ] || $(MAKE) stageprofile-start ; \
31891 $(MAKE) $(FLAGS_TO_PASS) \
31892 $(POSTSTAGE1_FLAGS_TO_PASS) \
31893 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31894 @endif libiberty-bootstrap
31897 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
31898 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
31899 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
31901 maybe-configure-stageprofile-zlib:
31902 maybe-all-stageprofile-zlib:
31903 maybe-clean-stageprofile-zlib:
31906 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
31907 configure-stageprofile-zlib:
31908 @$(MAKE) stageprofile-start
31909 @[ -f zlib/Makefile ] && exit 0 || : ; \
31910 r=`${PWD_COMMAND}`; export r; \
31911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31912 $(STAGE_HOST_EXPORTS) \
31913 echo Configuring stage profile in zlib ; \
31914 cd zlib || exit 1; \
31915 case $(srcdir) in \
31917 srcdiroption="--srcdir=."; \
31919 /* | [A-Za-z]:[\\/]*) \
31920 srcdiroption="--srcdir=$(srcdir)/zlib"; \
31921 libsrcdir="$$s/zlib";; \
31923 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
31924 libsrcdir="$$s/zlib";; \
31926 $(SHELL) $${libsrcdir}/configure \
31927 $(HOST_CONFIGARGS) $${srcdiroption} \
31928 @stage2_werror_flag@
31930 maybe-all-stageprofile-zlib: all-stageprofile-zlib
31931 all-stageprofile-zlib: configure-stageprofile-zlib
31932 @$(MAKE) stageprofile-start
31933 @r=`${PWD_COMMAND}`; export r; \
31934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31935 $(STAGE_HOST_EXPORTS) \
31937 $(MAKE) $(FLAGS_TO_PASS) \
31938 $(POSTSTAGE1_FLAGS_TO_PASS) \
31939 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
31941 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
31942 clean-stageprofile-zlib:
31943 @[ -f zlib/Makefile ] || [ -f stageprofile-zlib/Makefile ] \
31945 [ -f zlib/Makefile ] || $(MAKE) stageprofile-start ; \
31947 $(MAKE) $(FLAGS_TO_PASS) \
31948 $(POSTSTAGE1_FLAGS_TO_PASS) \
31949 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
31950 @endif zlib-bootstrap
31954 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31955 # only possibility, but now it conflicts with no-bootstrap rules
31961 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31962 distclean-stage1:: distclean-stageprofile
31963 .PHONY: distclean-stageprofile
31964 distclean-stageprofile::
31965 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31966 rm -rf stageprofile-*
31969 @endif gcc-bootstrap
31972 .PHONY: stagefeedback-start stagefeedback-end
31974 stagefeedback-start::
31975 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31976 echo stagefeedback > stage_current ; \
31977 echo stagefeedback > stage_last
31979 @[ -d stagefeedback-bfd ] || mkdir stagefeedback-bfd; \
31980 set stagefeedback-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
31981 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
31984 @[ -d stagefeedback-opcodes ] || mkdir stagefeedback-opcodes; \
31985 set stagefeedback-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
31986 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
31989 @[ -d stagefeedback-binutils ] || mkdir stagefeedback-binutils; \
31990 set stagefeedback-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
31991 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
31994 @[ -d stagefeedback-gas ] || mkdir stagefeedback-gas; \
31995 set stagefeedback-gas gas ; @CREATE_LINK_TO_DIR@ ; \
31996 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
31999 @[ -d stagefeedback-gcc ] || mkdir stagefeedback-gcc; \
32000 set stagefeedback-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
32001 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
32004 @[ -d stagefeedback-intl ] || mkdir stagefeedback-intl; \
32005 set stagefeedback-intl intl ; @CREATE_LINK_TO_DIR@ ; \
32006 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
32009 @[ -d stagefeedback-ld ] || mkdir stagefeedback-ld; \
32010 set stagefeedback-ld ld ; @CREATE_LINK_TO_DIR@ ; \
32011 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
32014 @[ -d stagefeedback-libcpp ] || mkdir stagefeedback-libcpp; \
32015 set stagefeedback-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
32016 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
32019 @[ -d stagefeedback-libiberty ] || mkdir stagefeedback-libiberty; \
32020 set stagefeedback-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
32021 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
32024 @[ -d stagefeedback-zlib ] || mkdir stagefeedback-zlib; \
32025 set stagefeedback-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
32026 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
32029 stagefeedback-end::
32030 @rm -f stage_current
32032 @set bfd stagefeedback-bfd ; @UNDO_LINK_TO_DIR@ ; \
32033 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
32036 @set opcodes stagefeedback-opcodes ; @UNDO_LINK_TO_DIR@ ; \
32037 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
32040 @set binutils stagefeedback-binutils ; @UNDO_LINK_TO_DIR@ ; \
32041 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
32044 @set gas stagefeedback-gas ; @UNDO_LINK_TO_DIR@ ; \
32045 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
32048 @set gcc stagefeedback-gcc ; @UNDO_LINK_TO_DIR@ ; \
32049 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
32052 @set intl stagefeedback-intl ; @UNDO_LINK_TO_DIR@ ; \
32053 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
32056 @set ld stagefeedback-ld ; @UNDO_LINK_TO_DIR@ ; \
32057 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
32060 @set libcpp stagefeedback-libcpp ; @UNDO_LINK_TO_DIR@ ; \
32061 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
32064 @set libiberty stagefeedback-libiberty ; @UNDO_LINK_TO_DIR@ ; \
32065 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
32068 @set zlib stagefeedback-zlib ; @UNDO_LINK_TO_DIR@ ; \
32069 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
32072 # Bubble a bugfix through all the stages up to stage feedback. They
32073 # are remade, but not reconfigured. The next stage (if any) will not
32074 # be reconfigured as well.
32075 .PHONY: stagefeedback-bubble
32076 stagefeedback-bubble:: stage1-bubble
32077 @if test -f stagefeedback-lean || test -f stage1-lean ; then \
32078 echo Skipping rebuild of stagefeedback ; \
32080 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stagefeedback; \
32083 .PHONY: all-stagefeedback clean-stagefeedback
32084 all-stagefeedback: \
32085 maybe-all-stagefeedback-bfd \
32086 maybe-all-stagefeedback-opcodes \
32087 maybe-all-stagefeedback-binutils \
32088 maybe-all-stagefeedback-gas \
32089 maybe-all-stagefeedback-gcc \
32090 maybe-all-stagefeedback-intl \
32091 maybe-all-stagefeedback-ld \
32092 maybe-all-stagefeedback-libcpp \
32093 maybe-all-stagefeedback-libiberty \
32094 maybe-all-stagefeedback-zlib
32096 do-clean: clean-stagefeedback
32097 clean-stagefeedback: \
32098 maybe-clean-stagefeedback-bfd \
32099 maybe-clean-stagefeedback-opcodes \
32100 maybe-clean-stagefeedback-binutils \
32101 maybe-clean-stagefeedback-gas \
32102 maybe-clean-stagefeedback-gcc \
32103 maybe-clean-stagefeedback-intl \
32104 maybe-clean-stagefeedback-ld \
32105 maybe-clean-stagefeedback-libcpp \
32106 maybe-clean-stagefeedback-libiberty \
32107 maybe-clean-stagefeedback-zlib
32110 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
32111 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
32112 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
32114 maybe-configure-stagefeedback-bfd:
32115 maybe-all-stagefeedback-bfd:
32116 maybe-clean-stagefeedback-bfd:
32119 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
32120 configure-stagefeedback-bfd:
32121 @$(MAKE) stagefeedback-start
32122 @[ -f bfd/Makefile ] && exit 0 || : ; \
32123 r=`${PWD_COMMAND}`; export r; \
32124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32125 $(STAGE_HOST_EXPORTS) \
32126 echo Configuring stage feedback in bfd ; \
32127 cd bfd || exit 1; \
32128 case $(srcdir) in \
32130 srcdiroption="--srcdir=."; \
32132 /* | [A-Za-z]:[\\/]*) \
32133 srcdiroption="--srcdir=$(srcdir)/bfd"; \
32134 libsrcdir="$$s/bfd";; \
32136 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
32137 libsrcdir="$$s/bfd";; \
32139 $(SHELL) $${libsrcdir}/configure \
32140 $(HOST_CONFIGARGS) $${srcdiroption} \
32141 @stage2_werror_flag@
32143 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
32144 all-stagefeedback-bfd: configure-stagefeedback-bfd
32145 @$(MAKE) stagefeedback-start
32146 @r=`${PWD_COMMAND}`; export r; \
32147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32148 $(STAGE_HOST_EXPORTS) \
32150 $(MAKE) $(FLAGS_TO_PASS) \
32151 $(POSTSTAGE1_FLAGS_TO_PASS) \
32152 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32154 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
32155 clean-stagefeedback-bfd:
32156 @[ -f bfd/Makefile ] || [ -f stagefeedback-bfd/Makefile ] \
32158 [ -f bfd/Makefile ] || $(MAKE) stagefeedback-start ; \
32160 $(MAKE) $(FLAGS_TO_PASS) \
32161 $(POSTSTAGE1_FLAGS_TO_PASS) \
32162 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32163 @endif bfd-bootstrap
32166 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
32167 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
32168 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
32170 maybe-configure-stagefeedback-opcodes:
32171 maybe-all-stagefeedback-opcodes:
32172 maybe-clean-stagefeedback-opcodes:
32174 @if opcodes-bootstrap
32175 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
32176 configure-stagefeedback-opcodes:
32177 @$(MAKE) stagefeedback-start
32178 @[ -f opcodes/Makefile ] && exit 0 || : ; \
32179 r=`${PWD_COMMAND}`; export r; \
32180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32181 $(STAGE_HOST_EXPORTS) \
32182 echo Configuring stage feedback in opcodes ; \
32183 cd opcodes || exit 1; \
32184 case $(srcdir) in \
32186 srcdiroption="--srcdir=."; \
32188 /* | [A-Za-z]:[\\/]*) \
32189 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
32190 libsrcdir="$$s/opcodes";; \
32192 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
32193 libsrcdir="$$s/opcodes";; \
32195 $(SHELL) $${libsrcdir}/configure \
32196 $(HOST_CONFIGARGS) $${srcdiroption} \
32197 @stage2_werror_flag@
32199 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
32200 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
32201 @$(MAKE) stagefeedback-start
32202 @r=`${PWD_COMMAND}`; export r; \
32203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32204 $(STAGE_HOST_EXPORTS) \
32206 $(MAKE) $(FLAGS_TO_PASS) \
32207 $(POSTSTAGE1_FLAGS_TO_PASS) \
32208 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32210 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
32211 clean-stagefeedback-opcodes:
32212 @[ -f opcodes/Makefile ] || [ -f stagefeedback-opcodes/Makefile ] \
32214 [ -f opcodes/Makefile ] || $(MAKE) stagefeedback-start ; \
32216 $(MAKE) $(FLAGS_TO_PASS) \
32217 $(POSTSTAGE1_FLAGS_TO_PASS) \
32218 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32219 @endif opcodes-bootstrap
32222 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
32223 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
32224 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
32226 maybe-configure-stagefeedback-binutils:
32227 maybe-all-stagefeedback-binutils:
32228 maybe-clean-stagefeedback-binutils:
32230 @if binutils-bootstrap
32231 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
32232 configure-stagefeedback-binutils:
32233 @$(MAKE) stagefeedback-start
32234 @[ -f binutils/Makefile ] && exit 0 || : ; \
32235 r=`${PWD_COMMAND}`; export r; \
32236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32237 $(STAGE_HOST_EXPORTS) \
32238 echo Configuring stage feedback in binutils ; \
32239 cd binutils || exit 1; \
32240 case $(srcdir) in \
32242 srcdiroption="--srcdir=."; \
32244 /* | [A-Za-z]:[\\/]*) \
32245 srcdiroption="--srcdir=$(srcdir)/binutils"; \
32246 libsrcdir="$$s/binutils";; \
32248 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
32249 libsrcdir="$$s/binutils";; \
32251 $(SHELL) $${libsrcdir}/configure \
32252 $(HOST_CONFIGARGS) $${srcdiroption} \
32253 @stage2_werror_flag@
32255 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
32256 all-stagefeedback-binutils: configure-stagefeedback-binutils
32257 @$(MAKE) stagefeedback-start
32258 @r=`${PWD_COMMAND}`; export r; \
32259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32260 $(STAGE_HOST_EXPORTS) \
32262 $(MAKE) $(FLAGS_TO_PASS) \
32263 $(POSTSTAGE1_FLAGS_TO_PASS) \
32264 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32266 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
32267 clean-stagefeedback-binutils:
32268 @[ -f binutils/Makefile ] || [ -f stagefeedback-binutils/Makefile ] \
32270 [ -f binutils/Makefile ] || $(MAKE) stagefeedback-start ; \
32272 $(MAKE) $(FLAGS_TO_PASS) \
32273 $(POSTSTAGE1_FLAGS_TO_PASS) \
32274 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32275 @endif binutils-bootstrap
32278 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
32279 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
32280 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
32282 maybe-configure-stagefeedback-gas:
32283 maybe-all-stagefeedback-gas:
32284 maybe-clean-stagefeedback-gas:
32287 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
32288 configure-stagefeedback-gas:
32289 @$(MAKE) stagefeedback-start
32290 @[ -f gas/Makefile ] && exit 0 || : ; \
32291 r=`${PWD_COMMAND}`; export r; \
32292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32293 $(STAGE_HOST_EXPORTS) \
32294 echo Configuring stage feedback in gas ; \
32295 cd gas || exit 1; \
32296 case $(srcdir) in \
32298 srcdiroption="--srcdir=."; \
32300 /* | [A-Za-z]:[\\/]*) \
32301 srcdiroption="--srcdir=$(srcdir)/gas"; \
32302 libsrcdir="$$s/gas";; \
32304 srcdiroption="--srcdir=../$(srcdir)/gas"; \
32305 libsrcdir="$$s/gas";; \
32307 $(SHELL) $${libsrcdir}/configure \
32308 $(HOST_CONFIGARGS) $${srcdiroption} \
32309 @stage2_werror_flag@
32311 maybe-all-stagefeedback-gas: all-stagefeedback-gas
32312 all-stagefeedback-gas: configure-stagefeedback-gas
32313 @$(MAKE) stagefeedback-start
32314 @r=`${PWD_COMMAND}`; export r; \
32315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32316 $(STAGE_HOST_EXPORTS) \
32318 $(MAKE) $(FLAGS_TO_PASS) \
32319 $(POSTSTAGE1_FLAGS_TO_PASS) \
32320 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32322 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
32323 clean-stagefeedback-gas:
32324 @[ -f gas/Makefile ] || [ -f stagefeedback-gas/Makefile ] \
32326 [ -f gas/Makefile ] || $(MAKE) stagefeedback-start ; \
32328 $(MAKE) $(FLAGS_TO_PASS) \
32329 $(POSTSTAGE1_FLAGS_TO_PASS) \
32330 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32331 @endif gas-bootstrap
32334 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
32335 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
32336 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
32338 maybe-configure-stagefeedback-gcc:
32339 maybe-all-stagefeedback-gcc:
32340 maybe-clean-stagefeedback-gcc:
32343 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
32344 configure-stagefeedback-gcc:
32345 @$(MAKE) stagefeedback-start
32346 @[ -f gcc/Makefile ] && exit 0 || : ; \
32347 r=`${PWD_COMMAND}`; export r; \
32348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32349 $(STAGE_HOST_EXPORTS) \
32350 echo Configuring stage feedback in gcc ; \
32351 cd gcc || exit 1; \
32352 case $(srcdir) in \
32354 srcdiroption="--srcdir=."; \
32356 /* | [A-Za-z]:[\\/]*) \
32357 srcdiroption="--srcdir=$(srcdir)/gcc"; \
32358 libsrcdir="$$s/gcc";; \
32360 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
32361 libsrcdir="$$s/gcc";; \
32363 $(SHELL) $${libsrcdir}/configure \
32364 $(HOST_CONFIGARGS) $${srcdiroption} \
32365 @stage2_werror_flag@
32367 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
32368 all-stagefeedback-gcc: configure-stagefeedback-gcc
32369 @$(MAKE) stagefeedback-start
32370 @r=`${PWD_COMMAND}`; export r; \
32371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32372 $(STAGE_HOST_EXPORTS) \
32374 $(MAKE) $(FLAGS_TO_PASS) \
32375 $(POSTSTAGE1_FLAGS_TO_PASS) \
32376 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS)
32378 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
32379 clean-stagefeedback-gcc:
32380 @[ -f gcc/Makefile ] || [ -f stagefeedback-gcc/Makefile ] \
32382 [ -f gcc/Makefile ] || $(MAKE) stagefeedback-start ; \
32384 $(MAKE) $(FLAGS_TO_PASS) \
32385 $(POSTSTAGE1_FLAGS_TO_PASS) \
32386 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
32387 @endif gcc-bootstrap
32390 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
32391 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
32392 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
32394 maybe-configure-stagefeedback-intl:
32395 maybe-all-stagefeedback-intl:
32396 maybe-clean-stagefeedback-intl:
32399 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
32400 configure-stagefeedback-intl:
32401 @$(MAKE) stagefeedback-start
32402 @[ -f intl/Makefile ] && exit 0 || : ; \
32403 r=`${PWD_COMMAND}`; export r; \
32404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32405 $(STAGE_HOST_EXPORTS) \
32406 echo Configuring stage feedback in intl ; \
32407 cd intl || exit 1; \
32408 case $(srcdir) in \
32410 srcdiroption="--srcdir=."; \
32412 /* | [A-Za-z]:[\\/]*) \
32413 srcdiroption="--srcdir=$(srcdir)/intl"; \
32414 libsrcdir="$$s/intl";; \
32416 srcdiroption="--srcdir=../$(srcdir)/intl"; \
32417 libsrcdir="$$s/intl";; \
32419 $(SHELL) $${libsrcdir}/configure \
32420 $(HOST_CONFIGARGS) $${srcdiroption} \
32421 @stage2_werror_flag@
32423 maybe-all-stagefeedback-intl: all-stagefeedback-intl
32424 all-stagefeedback-intl: configure-stagefeedback-intl
32425 @$(MAKE) stagefeedback-start
32426 @r=`${PWD_COMMAND}`; export r; \
32427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32428 $(STAGE_HOST_EXPORTS) \
32430 $(MAKE) $(FLAGS_TO_PASS) \
32431 $(POSTSTAGE1_FLAGS_TO_PASS) \
32432 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32434 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
32435 clean-stagefeedback-intl:
32436 @[ -f intl/Makefile ] || [ -f stagefeedback-intl/Makefile ] \
32438 [ -f intl/Makefile ] || $(MAKE) stagefeedback-start ; \
32440 $(MAKE) $(FLAGS_TO_PASS) \
32441 $(POSTSTAGE1_FLAGS_TO_PASS) \
32442 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32443 @endif intl-bootstrap
32446 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
32447 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
32448 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
32450 maybe-configure-stagefeedback-ld:
32451 maybe-all-stagefeedback-ld:
32452 maybe-clean-stagefeedback-ld:
32455 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
32456 configure-stagefeedback-ld:
32457 @$(MAKE) stagefeedback-start
32458 @[ -f ld/Makefile ] && exit 0 || : ; \
32459 r=`${PWD_COMMAND}`; export r; \
32460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32461 $(STAGE_HOST_EXPORTS) \
32462 echo Configuring stage feedback in ld ; \
32464 case $(srcdir) in \
32466 srcdiroption="--srcdir=."; \
32468 /* | [A-Za-z]:[\\/]*) \
32469 srcdiroption="--srcdir=$(srcdir)/ld"; \
32470 libsrcdir="$$s/ld";; \
32472 srcdiroption="--srcdir=../$(srcdir)/ld"; \
32473 libsrcdir="$$s/ld";; \
32475 $(SHELL) $${libsrcdir}/configure \
32476 $(HOST_CONFIGARGS) $${srcdiroption} \
32477 @stage2_werror_flag@
32479 maybe-all-stagefeedback-ld: all-stagefeedback-ld
32480 all-stagefeedback-ld: configure-stagefeedback-ld
32481 @$(MAKE) stagefeedback-start
32482 @r=`${PWD_COMMAND}`; export r; \
32483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32484 $(STAGE_HOST_EXPORTS) \
32486 $(MAKE) $(FLAGS_TO_PASS) \
32487 $(POSTSTAGE1_FLAGS_TO_PASS) \
32488 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32490 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
32491 clean-stagefeedback-ld:
32492 @[ -f ld/Makefile ] || [ -f stagefeedback-ld/Makefile ] \
32494 [ -f ld/Makefile ] || $(MAKE) stagefeedback-start ; \
32496 $(MAKE) $(FLAGS_TO_PASS) \
32497 $(POSTSTAGE1_FLAGS_TO_PASS) \
32498 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32499 @endif ld-bootstrap
32502 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
32503 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
32504 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
32506 maybe-configure-stagefeedback-libcpp:
32507 maybe-all-stagefeedback-libcpp:
32508 maybe-clean-stagefeedback-libcpp:
32510 @if libcpp-bootstrap
32511 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
32512 configure-stagefeedback-libcpp:
32513 @$(MAKE) stagefeedback-start
32514 @[ -f libcpp/Makefile ] && exit 0 || : ; \
32515 r=`${PWD_COMMAND}`; export r; \
32516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32517 $(STAGE_HOST_EXPORTS) \
32518 echo Configuring stage feedback in libcpp ; \
32519 cd libcpp || exit 1; \
32520 case $(srcdir) in \
32522 srcdiroption="--srcdir=."; \
32524 /* | [A-Za-z]:[\\/]*) \
32525 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
32526 libsrcdir="$$s/libcpp";; \
32528 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
32529 libsrcdir="$$s/libcpp";; \
32531 $(SHELL) $${libsrcdir}/configure \
32532 $(HOST_CONFIGARGS) $${srcdiroption} \
32533 @stage2_werror_flag@
32535 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
32536 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
32537 @$(MAKE) stagefeedback-start
32538 @r=`${PWD_COMMAND}`; export r; \
32539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32540 $(STAGE_HOST_EXPORTS) \
32542 $(MAKE) $(FLAGS_TO_PASS) \
32543 $(POSTSTAGE1_FLAGS_TO_PASS) \
32544 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32546 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
32547 clean-stagefeedback-libcpp:
32548 @[ -f libcpp/Makefile ] || [ -f stagefeedback-libcpp/Makefile ] \
32550 [ -f libcpp/Makefile ] || $(MAKE) stagefeedback-start ; \
32552 $(MAKE) $(FLAGS_TO_PASS) \
32553 $(POSTSTAGE1_FLAGS_TO_PASS) \
32554 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32555 @endif libcpp-bootstrap
32558 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
32559 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
32560 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
32562 maybe-configure-stagefeedback-libiberty:
32563 maybe-all-stagefeedback-libiberty:
32564 maybe-clean-stagefeedback-libiberty:
32566 @if libiberty-bootstrap
32567 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
32568 configure-stagefeedback-libiberty:
32569 @$(MAKE) stagefeedback-start
32570 @[ -f libiberty/Makefile ] && exit 0 || : ; \
32571 r=`${PWD_COMMAND}`; export r; \
32572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32573 $(STAGE_HOST_EXPORTS) \
32574 echo Configuring stage feedback in libiberty ; \
32575 cd libiberty || exit 1; \
32576 case $(srcdir) in \
32578 srcdiroption="--srcdir=."; \
32580 /* | [A-Za-z]:[\\/]*) \
32581 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
32582 libsrcdir="$$s/libiberty";; \
32584 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
32585 libsrcdir="$$s/libiberty";; \
32587 $(SHELL) $${libsrcdir}/configure \
32588 $(HOST_CONFIGARGS) $${srcdiroption} \
32589 @stage2_werror_flag@
32591 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
32592 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
32593 @$(MAKE) stagefeedback-start
32594 @r=`${PWD_COMMAND}`; export r; \
32595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32596 $(STAGE_HOST_EXPORTS) \
32598 $(MAKE) $(FLAGS_TO_PASS) \
32599 $(POSTSTAGE1_FLAGS_TO_PASS) \
32600 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32602 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
32603 clean-stagefeedback-libiberty:
32604 @[ -f libiberty/Makefile ] || [ -f stagefeedback-libiberty/Makefile ] \
32606 [ -f libiberty/Makefile ] || $(MAKE) stagefeedback-start ; \
32608 $(MAKE) $(FLAGS_TO_PASS) \
32609 $(POSTSTAGE1_FLAGS_TO_PASS) \
32610 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32611 @endif libiberty-bootstrap
32614 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
32615 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
32616 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
32618 maybe-configure-stagefeedback-zlib:
32619 maybe-all-stagefeedback-zlib:
32620 maybe-clean-stagefeedback-zlib:
32623 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
32624 configure-stagefeedback-zlib:
32625 @$(MAKE) stagefeedback-start
32626 @[ -f zlib/Makefile ] && exit 0 || : ; \
32627 r=`${PWD_COMMAND}`; export r; \
32628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32629 $(STAGE_HOST_EXPORTS) \
32630 echo Configuring stage feedback in zlib ; \
32631 cd zlib || exit 1; \
32632 case $(srcdir) in \
32634 srcdiroption="--srcdir=."; \
32636 /* | [A-Za-z]:[\\/]*) \
32637 srcdiroption="--srcdir=$(srcdir)/zlib"; \
32638 libsrcdir="$$s/zlib";; \
32640 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
32641 libsrcdir="$$s/zlib";; \
32643 $(SHELL) $${libsrcdir}/configure \
32644 $(HOST_CONFIGARGS) $${srcdiroption} \
32645 @stage2_werror_flag@
32647 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
32648 all-stagefeedback-zlib: configure-stagefeedback-zlib
32649 @$(MAKE) stagefeedback-start
32650 @r=`${PWD_COMMAND}`; export r; \
32651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32652 $(STAGE_HOST_EXPORTS) \
32654 $(MAKE) $(FLAGS_TO_PASS) \
32655 $(POSTSTAGE1_FLAGS_TO_PASS) \
32656 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
32658 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
32659 clean-stagefeedback-zlib:
32660 @[ -f zlib/Makefile ] || [ -f stagefeedback-zlib/Makefile ] \
32662 [ -f zlib/Makefile ] || $(MAKE) stagefeedback-start ; \
32664 $(MAKE) $(FLAGS_TO_PASS) \
32665 $(POSTSTAGE1_FLAGS_TO_PASS) \
32666 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
32667 @endif zlib-bootstrap
32671 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32672 # only possibility, but now it conflicts with no-bootstrap rules
32678 # Rules to wipe a stage and all the following ones, also used for cleanstrap
32679 distclean-stage1:: distclean-stagefeedback
32680 .PHONY: distclean-stagefeedback
32681 distclean-stagefeedback::
32682 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
32683 rm -rf stagefeedback-*
32686 @endif gcc-bootstrap
32690 stagefeedback-start::
32691 @r=`${PWD_COMMAND}`; export r; \
32692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32693 cd stageprofile-gcc && \
32694 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \
32695 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); }
32697 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32698 # only possibility, but now it conflicts with no-bootstrap rules
32701 @r=`${PWD_COMMAND}`; export r; \
32702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32705 echo "Bootstrapping the compiler"; \
32706 $(MAKE) stageprofile-bubble distclean-stagefeedback
32707 @r=`${PWD_COMMAND}`; export r; \
32708 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
32710 echo "Building runtime libraries and training compiler"; \
32711 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
32712 @r=`${PWD_COMMAND}`; export r; \
32713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32716 echo "Building feedback based compiler"; \
32717 $(MAKE) stagefeedback-bubble stagefeedback-end
32718 @endif gcc-bootstrap
32721 NOTPARALLEL = .NOTPARALLEL
32723 do-distclean: distclean-stage1
32724 @endif gcc-bootstrap
32726 # --------------------------------------
32727 # Dependencies between different modules
32728 # --------------------------------------
32730 # Generic dependencies for target modules on host stuff, especially gcc
32732 configure-target-libstdc++-v3: maybe-all-gcc
32734 configure-target-libmudflap: maybe-all-gcc
32736 configure-target-newlib: maybe-all-gcc
32738 configure-target-libgfortran: maybe-all-gcc
32740 configure-target-libobjc: maybe-all-gcc
32742 configure-target-libtermcap: maybe-all-gcc
32744 configure-target-winsup: maybe-all-gcc
32746 configure-target-libgloss: maybe-all-gcc
32748 configure-target-libiberty: maybe-all-gcc
32750 configure-target-gperf: maybe-all-gcc
32752 configure-target-examples: maybe-all-gcc
32754 configure-target-libffi: maybe-all-gcc
32756 configure-target-libjava: maybe-all-gcc
32758 configure-target-zlib: maybe-all-gcc
32760 configure-target-boehm-gc: maybe-all-gcc
32762 configure-target-qthreads: maybe-all-gcc
32764 configure-target-rda: maybe-all-gcc
32766 configure-target-libada: maybe-all-gcc
32770 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
32772 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
32773 configure-target-gperf: maybe-all-target-libstdc++-v3
32775 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
32777 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
32779 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
32781 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
32782 configure-target-libjava: maybe-all-target-libstdc++-v3
32784 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
32786 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
32788 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
32790 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
32792 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
32794 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
32796 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
32798 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
32801 # There are two types of dependencies here: 'hard' dependencies, where one
32802 # module simply won't build without the other; and 'soft' dependencies, where
32803 # if the depended-on module is missing, the depending module will do without
32804 # or find a substitute somewhere (perhaps installed). Soft dependencies
32805 # are made here to depend on a 'maybe-' target. If you're not sure,
32806 # it's safer to use a soft dependency.
32812 # With all the machinery above in place, it is pretty easy to generate
32813 # dependencies. Host dependencies are a bit more complex because we have
32814 # to check for bootstrap/prebootstrap dependencies. To resolve
32815 # prebootstrap dependencies, prebootstrap modules are gathered in
32817 all-build-bison: maybe-all-build-texinfo
32818 all-build-byacc: maybe-all-build-texinfo
32819 all-build-flex: maybe-all-build-texinfo
32820 all-build-flex: maybe-all-build-bison
32821 all-build-flex: maybe-all-build-byacc
32822 all-build-flex: maybe-all-build-m4
32823 all-build-libiberty: maybe-all-build-texinfo
32824 all-build-m4: maybe-all-build-texinfo
32825 all-build-fixincludes: maybe-all-build-libiberty
32826 configure-gcc: maybe-configure-intl
32828 configure-stage1-gcc: maybe-configure-stage1-intl
32829 configure-stage2-gcc: maybe-configure-stage2-intl
32830 configure-stage3-gcc: maybe-configure-stage3-intl
32831 configure-stage4-gcc: maybe-configure-stage4-intl
32832 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
32833 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
32834 configure-gcc: maybe-configure-binutils
32836 configure-stage1-gcc: maybe-configure-stage1-binutils
32837 configure-stage2-gcc: maybe-configure-stage2-binutils
32838 configure-stage3-gcc: maybe-configure-stage3-binutils
32839 configure-stage4-gcc: maybe-configure-stage4-binutils
32840 configure-stageprofile-gcc: maybe-configure-stageprofile-binutils
32841 configure-stagefeedback-gcc: maybe-configure-stagefeedback-binutils
32842 configure-gcc: maybe-configure-gas
32844 configure-stage1-gcc: maybe-configure-stage1-gas
32845 configure-stage2-gcc: maybe-configure-stage2-gas
32846 configure-stage3-gcc: maybe-configure-stage3-gas
32847 configure-stage4-gcc: maybe-configure-stage4-gas
32848 configure-stageprofile-gcc: maybe-configure-stageprofile-gas
32849 configure-stagefeedback-gcc: maybe-configure-stagefeedback-gas
32850 configure-gcc: maybe-configure-ld
32852 configure-stage1-gcc: maybe-configure-stage1-ld
32853 configure-stage2-gcc: maybe-configure-stage2-ld
32854 configure-stage3-gcc: maybe-configure-stage3-ld
32855 configure-stage4-gcc: maybe-configure-stage4-ld
32856 configure-stageprofile-gcc: maybe-configure-stageprofile-ld
32857 configure-stagefeedback-gcc: maybe-configure-stagefeedback-ld
32858 all-gcc: all-libiberty
32860 all-stage1-gcc: all-stage1-libiberty
32861 all-stage2-gcc: all-stage2-libiberty
32862 all-stage3-gcc: all-stage3-libiberty
32863 all-stage4-gcc: all-stage4-libiberty
32864 all-stageprofile-gcc: all-stageprofile-libiberty
32865 all-stagefeedback-gcc: all-stagefeedback-libiberty
32866 all-gcc: maybe-all-intl
32868 all-stage1-gcc: maybe-all-stage1-intl
32869 all-stage2-gcc: maybe-all-stage2-intl
32870 all-stage3-gcc: maybe-all-stage3-intl
32871 all-stage4-gcc: maybe-all-stage4-intl
32872 all-stageprofile-gcc: maybe-all-stageprofile-intl
32873 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
32874 all-gcc: maybe-all-build-texinfo
32876 all-stage1-gcc: maybe-all-build-texinfo
32877 all-stage2-gcc: maybe-all-build-texinfo
32878 all-stage3-gcc: maybe-all-build-texinfo
32879 all-stage4-gcc: maybe-all-build-texinfo
32880 all-stageprofile-gcc: maybe-all-build-texinfo
32881 all-stagefeedback-gcc: maybe-all-build-texinfo
32882 all-prebootstrap: maybe-all-build-texinfo
32883 all-gcc: maybe-all-build-bison
32885 all-stage1-gcc: maybe-all-build-bison
32886 all-stage2-gcc: maybe-all-build-bison
32887 all-stage3-gcc: maybe-all-build-bison
32888 all-stage4-gcc: maybe-all-build-bison
32889 all-stageprofile-gcc: maybe-all-build-bison
32890 all-stagefeedback-gcc: maybe-all-build-bison
32891 all-prebootstrap: maybe-all-build-bison
32892 all-gcc: maybe-all-build-byacc
32894 all-stage1-gcc: maybe-all-build-byacc
32895 all-stage2-gcc: maybe-all-build-byacc
32896 all-stage3-gcc: maybe-all-build-byacc
32897 all-stage4-gcc: maybe-all-build-byacc
32898 all-stageprofile-gcc: maybe-all-build-byacc
32899 all-stagefeedback-gcc: maybe-all-build-byacc
32900 all-prebootstrap: maybe-all-build-byacc
32901 all-gcc: maybe-all-build-flex
32903 all-stage1-gcc: maybe-all-build-flex
32904 all-stage2-gcc: maybe-all-build-flex
32905 all-stage3-gcc: maybe-all-build-flex
32906 all-stage4-gcc: maybe-all-build-flex
32907 all-stageprofile-gcc: maybe-all-build-flex
32908 all-stagefeedback-gcc: maybe-all-build-flex
32909 all-prebootstrap: maybe-all-build-flex
32910 all-gcc: maybe-all-build-libiberty
32912 all-stage1-gcc: maybe-all-build-libiberty
32913 all-stage2-gcc: maybe-all-build-libiberty
32914 all-stage3-gcc: maybe-all-build-libiberty
32915 all-stage4-gcc: maybe-all-build-libiberty
32916 all-stageprofile-gcc: maybe-all-build-libiberty
32917 all-stagefeedback-gcc: maybe-all-build-libiberty
32918 all-prebootstrap: maybe-all-build-libiberty
32919 all-gcc: maybe-all-build-fixincludes
32921 all-stage1-gcc: maybe-all-build-fixincludes
32922 all-stage2-gcc: maybe-all-build-fixincludes
32923 all-stage3-gcc: maybe-all-build-fixincludes
32924 all-stage4-gcc: maybe-all-build-fixincludes
32925 all-stageprofile-gcc: maybe-all-build-fixincludes
32926 all-stagefeedback-gcc: maybe-all-build-fixincludes
32927 all-prebootstrap: maybe-all-build-fixincludes
32928 all-gcc: maybe-all-binutils
32930 all-stage1-gcc: maybe-all-stage1-binutils
32931 all-stage2-gcc: maybe-all-stage2-binutils
32932 all-stage3-gcc: maybe-all-stage3-binutils
32933 all-stage4-gcc: maybe-all-stage4-binutils
32934 all-stageprofile-gcc: maybe-all-stageprofile-binutils
32935 all-stagefeedback-gcc: maybe-all-stagefeedback-binutils
32936 all-gcc: maybe-all-gas
32938 all-stage1-gcc: maybe-all-stage1-gas
32939 all-stage2-gcc: maybe-all-stage2-gas
32940 all-stage3-gcc: maybe-all-stage3-gas
32941 all-stage4-gcc: maybe-all-stage4-gas
32942 all-stageprofile-gcc: maybe-all-stageprofile-gas
32943 all-stagefeedback-gcc: maybe-all-stagefeedback-gas
32944 all-gcc: maybe-all-ld
32946 all-stage1-gcc: maybe-all-stage1-ld
32947 all-stage2-gcc: maybe-all-stage2-ld
32948 all-stage3-gcc: maybe-all-stage3-ld
32949 all-stage4-gcc: maybe-all-stage4-ld
32950 all-stageprofile-gcc: maybe-all-stageprofile-ld
32951 all-stagefeedback-gcc: maybe-all-stagefeedback-ld
32952 all-gcc: maybe-all-zlib
32954 all-stage1-gcc: maybe-all-stage1-zlib
32955 all-stage2-gcc: maybe-all-stage2-zlib
32956 all-stage3-gcc: maybe-all-stage3-zlib
32957 all-stage4-gcc: maybe-all-stage4-zlib
32958 all-stageprofile-gcc: maybe-all-stageprofile-zlib
32959 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
32960 all-gcc: all-libcpp
32962 all-stage1-gcc: all-stage1-libcpp
32963 all-stage2-gcc: all-stage2-libcpp
32964 all-stage3-gcc: all-stage3-libcpp
32965 all-stage4-gcc: all-stage4-libcpp
32966 all-stageprofile-gcc: all-stageprofile-libcpp
32967 all-stagefeedback-gcc: all-stagefeedback-libcpp
32968 all-gcc: maybe-all-libiberty
32970 all-stage1-gcc: maybe-all-stage1-libiberty
32971 all-stage2-gcc: maybe-all-stage2-libiberty
32972 all-stage3-gcc: maybe-all-stage3-libiberty
32973 all-stage4-gcc: maybe-all-stage4-libiberty
32974 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
32975 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
32976 all-gcc: maybe-all-fixincludes
32978 all-stage1-gcc: maybe-all-stage1-fixincludes
32979 all-stage2-gcc: maybe-all-stage2-fixincludes
32980 all-stage3-gcc: maybe-all-stage3-fixincludes
32981 all-stage4-gcc: maybe-all-stage4-fixincludes
32982 all-stageprofile-gcc: maybe-all-stageprofile-fixincludes
32983 all-stagefeedback-gcc: maybe-all-stagefeedback-fixincludes
32984 configure-libcpp: configure-libiberty
32986 configure-stage1-libcpp: configure-stage1-libiberty
32987 configure-stage2-libcpp: configure-stage2-libiberty
32988 configure-stage3-libcpp: configure-stage3-libiberty
32989 configure-stage4-libcpp: configure-stage4-libiberty
32990 configure-stageprofile-libcpp: configure-stageprofile-libiberty
32991 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
32992 configure-libcpp: maybe-configure-intl
32994 configure-stage1-libcpp: maybe-configure-stage1-intl
32995 configure-stage2-libcpp: maybe-configure-stage2-intl
32996 configure-stage3-libcpp: maybe-configure-stage3-intl
32997 configure-stage4-libcpp: maybe-configure-stage4-intl
32998 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
32999 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
33000 all-libcpp: all-libiberty
33002 all-stage1-libcpp: all-stage1-libiberty
33003 all-stage2-libcpp: all-stage2-libiberty
33004 all-stage3-libcpp: all-stage3-libiberty
33005 all-stage4-libcpp: all-stage4-libiberty
33006 all-stageprofile-libcpp: all-stageprofile-libiberty
33007 all-stagefeedback-libcpp: all-stagefeedback-libiberty
33008 all-libcpp: maybe-all-intl
33010 all-stage1-libcpp: maybe-all-stage1-intl
33011 all-stage2-libcpp: maybe-all-stage2-intl
33012 all-stage3-libcpp: maybe-all-stage3-intl
33013 all-stage4-libcpp: maybe-all-stage4-intl
33014 all-stageprofile-libcpp: maybe-all-stageprofile-intl
33015 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
33016 all-fixincludes: maybe-all-libiberty
33017 configure-gdb: maybe-configure-itcl
33018 configure-gdb: maybe-configure-tcl
33019 configure-gdb: maybe-configure-tk
33020 configure-gdb: maybe-configure-sim
33021 all-gdb: maybe-all-libiberty
33022 all-gdb: maybe-all-opcodes
33023 all-gdb: maybe-all-bfd
33024 all-gdb: maybe-all-readline
33025 all-gdb: maybe-all-build-bison
33026 all-gdb: maybe-all-build-byacc
33027 all-gdb: maybe-all-sim
33028 install-gdb: maybe-install-tcl
33029 install-gdb: maybe-install-tk
33030 install-gdb: maybe-install-itcl
33031 install-gdb: maybe-install-libgui
33032 configure-libgui: maybe-configure-tcl
33033 configure-libgui: maybe-configure-tk
33034 all-libgui: maybe-all-tcl
33035 all-libgui: maybe-all-tk
33036 all-libgui: maybe-all-itcl
33037 configure-bfd: configure-libiberty
33039 configure-stage1-bfd: configure-stage1-libiberty
33040 configure-stage2-bfd: configure-stage2-libiberty
33041 configure-stage3-bfd: configure-stage3-libiberty
33042 configure-stage4-bfd: configure-stage4-libiberty
33043 configure-stageprofile-bfd: configure-stageprofile-libiberty
33044 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
33045 all-bfd: maybe-all-libiberty
33047 all-stage1-bfd: maybe-all-stage1-libiberty
33048 all-stage2-bfd: maybe-all-stage2-libiberty
33049 all-stage3-bfd: maybe-all-stage3-libiberty
33050 all-stage4-bfd: maybe-all-stage4-libiberty
33051 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
33052 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
33053 all-bfd: maybe-all-intl
33055 all-stage1-bfd: maybe-all-stage1-intl
33056 all-stage2-bfd: maybe-all-stage2-intl
33057 all-stage3-bfd: maybe-all-stage3-intl
33058 all-stage4-bfd: maybe-all-stage4-intl
33059 all-stageprofile-bfd: maybe-all-stageprofile-intl
33060 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
33061 all-binutils: maybe-all-libiberty
33063 all-stage1-binutils: maybe-all-stage1-libiberty
33064 all-stage2-binutils: maybe-all-stage2-libiberty
33065 all-stage3-binutils: maybe-all-stage3-libiberty
33066 all-stage4-binutils: maybe-all-stage4-libiberty
33067 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
33068 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
33069 all-binutils: maybe-all-opcodes
33071 all-stage1-binutils: maybe-all-stage1-opcodes
33072 all-stage2-binutils: maybe-all-stage2-opcodes
33073 all-stage3-binutils: maybe-all-stage3-opcodes
33074 all-stage4-binutils: maybe-all-stage4-opcodes
33075 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
33076 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
33077 all-binutils: maybe-all-bfd
33079 all-stage1-binutils: maybe-all-stage1-bfd
33080 all-stage2-binutils: maybe-all-stage2-bfd
33081 all-stage3-binutils: maybe-all-stage3-bfd
33082 all-stage4-binutils: maybe-all-stage4-bfd
33083 all-stageprofile-binutils: maybe-all-stageprofile-bfd
33084 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
33085 all-binutils: maybe-all-build-flex
33087 all-stage1-binutils: maybe-all-build-flex
33088 all-stage2-binutils: maybe-all-build-flex
33089 all-stage3-binutils: maybe-all-build-flex
33090 all-stage4-binutils: maybe-all-build-flex
33091 all-stageprofile-binutils: maybe-all-build-flex
33092 all-stagefeedback-binutils: maybe-all-build-flex
33093 all-prebootstrap: maybe-all-build-flex
33094 all-binutils: maybe-all-build-bison
33096 all-stage1-binutils: maybe-all-build-bison
33097 all-stage2-binutils: maybe-all-build-bison
33098 all-stage3-binutils: maybe-all-build-bison
33099 all-stage4-binutils: maybe-all-build-bison
33100 all-stageprofile-binutils: maybe-all-build-bison
33101 all-stagefeedback-binutils: maybe-all-build-bison
33102 all-prebootstrap: maybe-all-build-bison
33103 all-binutils: maybe-all-build-byacc
33105 all-stage1-binutils: maybe-all-build-byacc
33106 all-stage2-binutils: maybe-all-build-byacc
33107 all-stage3-binutils: maybe-all-build-byacc
33108 all-stage4-binutils: maybe-all-build-byacc
33109 all-stageprofile-binutils: maybe-all-build-byacc
33110 all-stagefeedback-binutils: maybe-all-build-byacc
33111 all-prebootstrap: maybe-all-build-byacc
33112 all-binutils: maybe-all-intl
33114 all-stage1-binutils: maybe-all-stage1-intl
33115 all-stage2-binutils: maybe-all-stage2-intl
33116 all-stage3-binutils: maybe-all-stage3-intl
33117 all-stage4-binutils: maybe-all-stage4-intl
33118 all-stageprofile-binutils: maybe-all-stageprofile-intl
33119 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
33120 install-binutils: maybe-install-opcodes
33121 install-opcodes: maybe-install-bfd
33122 all-gas: maybe-all-libiberty
33124 all-stage1-gas: maybe-all-stage1-libiberty
33125 all-stage2-gas: maybe-all-stage2-libiberty
33126 all-stage3-gas: maybe-all-stage3-libiberty
33127 all-stage4-gas: maybe-all-stage4-libiberty
33128 all-stageprofile-gas: maybe-all-stageprofile-libiberty
33129 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
33130 all-gas: maybe-all-opcodes
33132 all-stage1-gas: maybe-all-stage1-opcodes
33133 all-stage2-gas: maybe-all-stage2-opcodes
33134 all-stage3-gas: maybe-all-stage3-opcodes
33135 all-stage4-gas: maybe-all-stage4-opcodes
33136 all-stageprofile-gas: maybe-all-stageprofile-opcodes
33137 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
33138 all-gas: maybe-all-bfd
33140 all-stage1-gas: maybe-all-stage1-bfd
33141 all-stage2-gas: maybe-all-stage2-bfd
33142 all-stage3-gas: maybe-all-stage3-bfd
33143 all-stage4-gas: maybe-all-stage4-bfd
33144 all-stageprofile-gas: maybe-all-stageprofile-bfd
33145 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
33146 all-gas: maybe-all-intl
33148 all-stage1-gas: maybe-all-stage1-intl
33149 all-stage2-gas: maybe-all-stage2-intl
33150 all-stage3-gas: maybe-all-stage3-intl
33151 all-stage4-gas: maybe-all-stage4-intl
33152 all-stageprofile-gas: maybe-all-stageprofile-intl
33153 all-stagefeedback-gas: maybe-all-stagefeedback-intl
33154 all-gprof: maybe-all-libiberty
33155 all-gprof: maybe-all-bfd
33156 all-gprof: maybe-all-opcodes
33157 all-gprof: maybe-all-intl
33158 all-ld: maybe-all-libiberty
33160 all-stage1-ld: maybe-all-stage1-libiberty
33161 all-stage2-ld: maybe-all-stage2-libiberty
33162 all-stage3-ld: maybe-all-stage3-libiberty
33163 all-stage4-ld: maybe-all-stage4-libiberty
33164 all-stageprofile-ld: maybe-all-stageprofile-libiberty
33165 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
33166 all-ld: maybe-all-bfd
33168 all-stage1-ld: maybe-all-stage1-bfd
33169 all-stage2-ld: maybe-all-stage2-bfd
33170 all-stage3-ld: maybe-all-stage3-bfd
33171 all-stage4-ld: maybe-all-stage4-bfd
33172 all-stageprofile-ld: maybe-all-stageprofile-bfd
33173 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
33174 all-ld: maybe-all-opcodes
33176 all-stage1-ld: maybe-all-stage1-opcodes
33177 all-stage2-ld: maybe-all-stage2-opcodes
33178 all-stage3-ld: maybe-all-stage3-opcodes
33179 all-stage4-ld: maybe-all-stage4-opcodes
33180 all-stageprofile-ld: maybe-all-stageprofile-opcodes
33181 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
33182 all-ld: maybe-all-build-bison
33184 all-stage1-ld: maybe-all-build-bison
33185 all-stage2-ld: maybe-all-build-bison
33186 all-stage3-ld: maybe-all-build-bison
33187 all-stage4-ld: maybe-all-build-bison
33188 all-stageprofile-ld: maybe-all-build-bison
33189 all-stagefeedback-ld: maybe-all-build-bison
33190 all-prebootstrap: maybe-all-build-bison
33191 all-ld: maybe-all-build-byacc
33193 all-stage1-ld: maybe-all-build-byacc
33194 all-stage2-ld: maybe-all-build-byacc
33195 all-stage3-ld: maybe-all-build-byacc
33196 all-stage4-ld: maybe-all-build-byacc
33197 all-stageprofile-ld: maybe-all-build-byacc
33198 all-stagefeedback-ld: maybe-all-build-byacc
33199 all-prebootstrap: maybe-all-build-byacc
33200 all-ld: maybe-all-build-flex
33202 all-stage1-ld: maybe-all-build-flex
33203 all-stage2-ld: maybe-all-build-flex
33204 all-stage3-ld: maybe-all-build-flex
33205 all-stage4-ld: maybe-all-build-flex
33206 all-stageprofile-ld: maybe-all-build-flex
33207 all-stagefeedback-ld: maybe-all-build-flex
33208 all-prebootstrap: maybe-all-build-flex
33209 all-ld: maybe-all-intl
33211 all-stage1-ld: maybe-all-stage1-intl
33212 all-stage2-ld: maybe-all-stage2-intl
33213 all-stage3-ld: maybe-all-stage3-intl
33214 all-stage4-ld: maybe-all-stage4-intl
33215 all-stageprofile-ld: maybe-all-stageprofile-intl
33216 all-stagefeedback-ld: maybe-all-stagefeedback-intl
33217 all-opcodes: maybe-all-bfd
33219 all-stage1-opcodes: maybe-all-stage1-bfd
33220 all-stage2-opcodes: maybe-all-stage2-bfd
33221 all-stage3-opcodes: maybe-all-stage3-bfd
33222 all-stage4-opcodes: maybe-all-stage4-bfd
33223 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
33224 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
33225 all-opcodes: maybe-all-libiberty
33227 all-stage1-opcodes: maybe-all-stage1-libiberty
33228 all-stage2-opcodes: maybe-all-stage2-libiberty
33229 all-stage3-opcodes: maybe-all-stage3-libiberty
33230 all-stage4-opcodes: maybe-all-stage4-libiberty
33231 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
33232 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
33233 all-dejagnu: maybe-all-tcl
33234 all-dejagnu: maybe-all-expect
33235 all-dejagnu: maybe-all-tk
33236 configure-expect: maybe-configure-tcl
33237 configure-expect: maybe-configure-tk
33238 all-expect: maybe-all-tcl
33239 all-expect: maybe-all-tk
33240 configure-itcl: maybe-configure-tcl
33241 configure-itcl: maybe-configure-tk
33242 all-itcl: maybe-all-tcl
33243 all-itcl: maybe-all-tk
33244 install-itcl: maybe-install-tcl
33245 configure-tk: maybe-configure-tcl
33246 all-tk: maybe-all-tcl
33247 all-sid: maybe-all-libiberty
33248 all-sid: maybe-all-bfd
33249 all-sid: maybe-all-opcodes
33250 all-sid: maybe-all-tcl
33251 all-sid: maybe-all-tk
33252 install-sid: maybe-install-tcl
33253 install-sid: maybe-install-tk
33254 all-sim: maybe-all-libiberty
33255 all-sim: maybe-all-bfd
33256 all-sim: maybe-all-opcodes
33257 all-sim: maybe-all-readline
33258 all-sim: maybe-configure-gdb
33259 all-fastjar: maybe-all-zlib
33260 all-fastjar: maybe-all-build-texinfo
33261 all-fastjar: maybe-all-libiberty
33262 all-autoconf: maybe-all-m4
33263 all-autoconf: maybe-all-build-texinfo
33264 all-automake: maybe-all-m4
33265 all-automake: maybe-all-build-texinfo
33266 all-automake: maybe-all-autoconf
33267 all-bison: maybe-all-intl
33268 all-bison: maybe-all-build-texinfo
33269 all-diff: maybe-all-intl
33270 all-diff: maybe-all-build-texinfo
33271 all-fileutils: maybe-all-intl
33272 all-fileutils: maybe-all-build-texinfo
33273 all-flex: maybe-all-build-bison
33274 all-flex: maybe-all-build-byacc
33275 all-flex: maybe-all-intl
33276 all-flex: maybe-all-m4
33277 all-flex: maybe-all-build-texinfo
33278 all-gzip: maybe-all-intl
33279 all-gzip: maybe-all-zlib
33280 all-gzip: maybe-all-build-texinfo
33281 all-hello: maybe-all-intl
33282 all-hello: maybe-all-build-texinfo
33283 all-m4: maybe-all-intl
33284 all-m4: maybe-all-build-texinfo
33285 all-make: maybe-all-intl
33286 all-make: maybe-all-build-texinfo
33287 all-patch: maybe-all-build-texinfo
33288 all-make: maybe-all-build-texinfo
33289 all-prms: maybe-all-libiberty
33290 all-recode: maybe-all-build-texinfo
33291 all-sed: maybe-all-build-texinfo
33292 all-send-pr: maybe-all-prms
33293 all-tar: maybe-all-build-texinfo
33294 all-uudecode: maybe-all-build-texinfo
33295 configure-target-boehm-gc: maybe-configure-target-qthreads
33296 configure-target-fastjar: maybe-configure-target-zlib
33297 all-target-fastjar: maybe-all-target-zlib
33298 all-target-fastjar: maybe-all-target-libiberty
33299 configure-target-libjava: maybe-configure-target-zlib
33300 configure-target-libjava: maybe-configure-target-boehm-gc
33301 configure-target-libjava: maybe-configure-target-qthreads
33302 configure-target-libjava: maybe-configure-target-libffi
33303 all-target-libjava: maybe-all-fastjar
33304 all-target-libjava: maybe-all-target-zlib
33305 all-target-libjava: maybe-all-target-boehm-gc
33306 all-target-libjava: maybe-all-target-qthreads
33307 all-target-libjava: maybe-all-target-libffi
33308 all-target-libobjc: maybe-all-target-libiberty
33309 all-target-libstdc++-v3: maybe-all-target-libiberty
33310 all-target-libgloss: maybe-configure-target-newlib
33311 all-target-winsup: maybe-all-target-libiberty
33312 all-target-winsup: maybe-all-target-libtermcap
33315 # Non-toplevel bootstrap rules must depend on several packages, to be built
33316 # before gcc. Another wart that will go away, hopefully soon.
33317 @if gcc-no-bootstrap
33319 all-prebootstrap: maybe-all-bfd
33320 all-prebootstrap: maybe-all-opcodes
33321 all-prebootstrap: maybe-all-binutils
33322 all-prebootstrap: maybe-all-gas
33323 all-prebootstrap: maybe-all-intl
33324 all-prebootstrap: maybe-all-ld
33325 all-prebootstrap: maybe-all-libcpp
33326 all-prebootstrap: maybe-all-libiberty
33327 all-prebootstrap: maybe-all-zlib
33328 @endif gcc-no-bootstrap
33331 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
33333 # Serialization dependencies. Host configures don't work well in parallel to
33334 # each other, due to contention over config.cache. Target configures and
33335 # build configures are similar.
33336 @serialization_dependencies@
33338 # --------------------------------
33339 # Regenerating top level configury
33340 # --------------------------------
33342 # Multilib.out tells target dirs what multilibs they should build.
33343 # There is really only one copy. We use the 'timestamp' method to
33344 # work around various timestamp bugs on some systems.
33345 # We use move-if-change so that it's only considered updated when it
33346 # actually changes, because it has to depend on a phony target.
33347 multilib.out: maybe-all-gcc
33348 @r=`${PWD_COMMAND}`; export r; \
33349 echo "Checking multilib configuration..."; \
33350 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
33351 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
33353 # Rebuilding Makefile.in, using autogen.
33355 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
33356 cd $(srcdir) && $(AUTOGEN) Makefile.def
33358 # Rebuilding Makefile.
33359 Makefile: $(srcdir)/Makefile.in config.status
33360 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
33362 config.status: configure $(gcc_version_trigger)
33363 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
33365 # Rebuilding configure.
33366 AUTOCONF = autoconf
33367 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
33368 cd $(srcdir) && $(AUTOCONF)
33370 # ------------------------------
33371 # Special directives to GNU Make
33372 # ------------------------------
33374 # Don't pass command-line variables to submakes.
33378 # end of Makefile.in