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-html: unstage html-host html-target stage
1038 maybe-html-autoconf \
1039 maybe-html-automake \
1042 maybe-html-opcodes \
1043 maybe-html-binutils \
1047 maybe-html-dejagnu \
1049 maybe-html-dosutils \
1051 maybe-html-fastjar \
1052 maybe-html-fileutils \
1053 maybe-html-findutils \
1055 maybe-html-fixincludes \
1060 maybe-html-gettext \
1061 maybe-html-gnuserv \
1072 maybe-html-libiberty \
1073 maybe-html-libtool \
1076 maybe-html-mmalloc \
1081 maybe-html-readline \
1082 maybe-html-release \
1085 maybe-html-send-pr \
1086 maybe-html-shellutils \
1090 maybe-html-texinfo \
1091 maybe-html-textutils \
1093 maybe-html-uudecode \
1101 maybe-html-libtermcap \
1106 maybe-html-target-libstdc++-v3 \
1107 maybe-html-target-libmudflap \
1108 maybe-html-target-newlib \
1109 maybe-html-target-libgfortran \
1110 maybe-html-target-libobjc \
1111 maybe-html-target-libtermcap \
1112 maybe-html-target-winsup \
1113 maybe-html-target-libgloss \
1114 maybe-html-target-libiberty \
1115 maybe-html-target-gperf \
1116 maybe-html-target-examples \
1117 maybe-html-target-libffi \
1118 maybe-html-target-libjava \
1119 maybe-html-target-zlib \
1120 maybe-html-target-boehm-gc \
1121 maybe-html-target-qthreads \
1122 maybe-html-target-rda \
1123 maybe-html-target-libada
1126 do-TAGS: unstage TAGS-host TAGS-target stage
1131 maybe-TAGS-autoconf \
1132 maybe-TAGS-automake \
1135 maybe-TAGS-opcodes \
1136 maybe-TAGS-binutils \
1140 maybe-TAGS-dejagnu \
1142 maybe-TAGS-dosutils \
1144 maybe-TAGS-fastjar \
1145 maybe-TAGS-fileutils \
1146 maybe-TAGS-findutils \
1148 maybe-TAGS-fixincludes \
1153 maybe-TAGS-gettext \
1154 maybe-TAGS-gnuserv \
1165 maybe-TAGS-libiberty \
1166 maybe-TAGS-libtool \
1169 maybe-TAGS-mmalloc \
1174 maybe-TAGS-readline \
1175 maybe-TAGS-release \
1178 maybe-TAGS-send-pr \
1179 maybe-TAGS-shellutils \
1183 maybe-TAGS-texinfo \
1184 maybe-TAGS-textutils \
1186 maybe-TAGS-uudecode \
1194 maybe-TAGS-libtermcap \
1199 maybe-TAGS-target-libstdc++-v3 \
1200 maybe-TAGS-target-libmudflap \
1201 maybe-TAGS-target-newlib \
1202 maybe-TAGS-target-libgfortran \
1203 maybe-TAGS-target-libobjc \
1204 maybe-TAGS-target-libtermcap \
1205 maybe-TAGS-target-winsup \
1206 maybe-TAGS-target-libgloss \
1207 maybe-TAGS-target-libiberty \
1208 maybe-TAGS-target-gperf \
1209 maybe-TAGS-target-examples \
1210 maybe-TAGS-target-libffi \
1211 maybe-TAGS-target-libjava \
1212 maybe-TAGS-target-zlib \
1213 maybe-TAGS-target-boehm-gc \
1214 maybe-TAGS-target-qthreads \
1215 maybe-TAGS-target-rda \
1216 maybe-TAGS-target-libada
1218 .PHONY: do-install-info
1219 do-install-info: unstage install-info-host install-info-target stage
1221 .PHONY: install-info-host
1222 install-info-host: \
1223 maybe-install-info-ash \
1224 maybe-install-info-autoconf \
1225 maybe-install-info-automake \
1226 maybe-install-info-bash \
1227 maybe-install-info-bfd \
1228 maybe-install-info-opcodes \
1229 maybe-install-info-binutils \
1230 maybe-install-info-bison \
1231 maybe-install-info-byacc \
1232 maybe-install-info-bzip2 \
1233 maybe-install-info-dejagnu \
1234 maybe-install-info-diff \
1235 maybe-install-info-dosutils \
1236 maybe-install-info-etc \
1237 maybe-install-info-fastjar \
1238 maybe-install-info-fileutils \
1239 maybe-install-info-findutils \
1240 maybe-install-info-find \
1241 maybe-install-info-fixincludes \
1242 maybe-install-info-flex \
1243 maybe-install-info-gas \
1244 maybe-install-info-gcc \
1245 maybe-install-info-gawk \
1246 maybe-install-info-gettext \
1247 maybe-install-info-gnuserv \
1248 maybe-install-info-gprof \
1249 maybe-install-info-gzip \
1250 maybe-install-info-hello \
1251 maybe-install-info-indent \
1252 maybe-install-info-intl \
1253 maybe-install-info-tcl \
1254 maybe-install-info-itcl \
1255 maybe-install-info-ld \
1256 maybe-install-info-libcpp \
1257 maybe-install-info-libgui \
1258 maybe-install-info-libiberty \
1259 maybe-install-info-libtool \
1260 maybe-install-info-m4 \
1261 maybe-install-info-make \
1262 maybe-install-info-mmalloc \
1263 maybe-install-info-patch \
1264 maybe-install-info-perl \
1265 maybe-install-info-prms \
1266 maybe-install-info-rcs \
1267 maybe-install-info-readline \
1268 maybe-install-info-release \
1269 maybe-install-info-recode \
1270 maybe-install-info-sed \
1271 maybe-install-info-send-pr \
1272 maybe-install-info-shellutils \
1273 maybe-install-info-sid \
1274 maybe-install-info-sim \
1275 maybe-install-info-tar \
1276 maybe-install-info-texinfo \
1277 maybe-install-info-textutils \
1278 maybe-install-info-time \
1279 maybe-install-info-uudecode \
1280 maybe-install-info-wdiff \
1281 maybe-install-info-zip \
1282 maybe-install-info-zlib \
1283 maybe-install-info-gdb \
1284 maybe-install-info-expect \
1285 maybe-install-info-guile \
1286 maybe-install-info-tk \
1287 maybe-install-info-libtermcap \
1288 maybe-install-info-utils
1290 .PHONY: install-info-target
1291 install-info-target: \
1292 maybe-install-info-target-libstdc++-v3 \
1293 maybe-install-info-target-libmudflap \
1294 maybe-install-info-target-newlib \
1295 maybe-install-info-target-libgfortran \
1296 maybe-install-info-target-libobjc \
1297 maybe-install-info-target-libtermcap \
1298 maybe-install-info-target-winsup \
1299 maybe-install-info-target-libgloss \
1300 maybe-install-info-target-libiberty \
1301 maybe-install-info-target-gperf \
1302 maybe-install-info-target-examples \
1303 maybe-install-info-target-libffi \
1304 maybe-install-info-target-libjava \
1305 maybe-install-info-target-zlib \
1306 maybe-install-info-target-boehm-gc \
1307 maybe-install-info-target-qthreads \
1308 maybe-install-info-target-rda \
1309 maybe-install-info-target-libada
1311 .PHONY: do-installcheck
1312 do-installcheck: unstage installcheck-host installcheck-target stage
1314 .PHONY: installcheck-host
1315 installcheck-host: \
1316 maybe-installcheck-ash \
1317 maybe-installcheck-autoconf \
1318 maybe-installcheck-automake \
1319 maybe-installcheck-bash \
1320 maybe-installcheck-bfd \
1321 maybe-installcheck-opcodes \
1322 maybe-installcheck-binutils \
1323 maybe-installcheck-bison \
1324 maybe-installcheck-byacc \
1325 maybe-installcheck-bzip2 \
1326 maybe-installcheck-dejagnu \
1327 maybe-installcheck-diff \
1328 maybe-installcheck-dosutils \
1329 maybe-installcheck-etc \
1330 maybe-installcheck-fastjar \
1331 maybe-installcheck-fileutils \
1332 maybe-installcheck-findutils \
1333 maybe-installcheck-find \
1334 maybe-installcheck-fixincludes \
1335 maybe-installcheck-flex \
1336 maybe-installcheck-gas \
1337 maybe-installcheck-gcc \
1338 maybe-installcheck-gawk \
1339 maybe-installcheck-gettext \
1340 maybe-installcheck-gnuserv \
1341 maybe-installcheck-gprof \
1342 maybe-installcheck-gzip \
1343 maybe-installcheck-hello \
1344 maybe-installcheck-indent \
1345 maybe-installcheck-intl \
1346 maybe-installcheck-tcl \
1347 maybe-installcheck-itcl \
1348 maybe-installcheck-ld \
1349 maybe-installcheck-libcpp \
1350 maybe-installcheck-libgui \
1351 maybe-installcheck-libiberty \
1352 maybe-installcheck-libtool \
1353 maybe-installcheck-m4 \
1354 maybe-installcheck-make \
1355 maybe-installcheck-mmalloc \
1356 maybe-installcheck-patch \
1357 maybe-installcheck-perl \
1358 maybe-installcheck-prms \
1359 maybe-installcheck-rcs \
1360 maybe-installcheck-readline \
1361 maybe-installcheck-release \
1362 maybe-installcheck-recode \
1363 maybe-installcheck-sed \
1364 maybe-installcheck-send-pr \
1365 maybe-installcheck-shellutils \
1366 maybe-installcheck-sid \
1367 maybe-installcheck-sim \
1368 maybe-installcheck-tar \
1369 maybe-installcheck-texinfo \
1370 maybe-installcheck-textutils \
1371 maybe-installcheck-time \
1372 maybe-installcheck-uudecode \
1373 maybe-installcheck-wdiff \
1374 maybe-installcheck-zip \
1375 maybe-installcheck-zlib \
1376 maybe-installcheck-gdb \
1377 maybe-installcheck-expect \
1378 maybe-installcheck-guile \
1379 maybe-installcheck-tk \
1380 maybe-installcheck-libtermcap \
1381 maybe-installcheck-utils
1383 .PHONY: installcheck-target
1384 installcheck-target: \
1385 maybe-installcheck-target-libstdc++-v3 \
1386 maybe-installcheck-target-libmudflap \
1387 maybe-installcheck-target-newlib \
1388 maybe-installcheck-target-libgfortran \
1389 maybe-installcheck-target-libobjc \
1390 maybe-installcheck-target-libtermcap \
1391 maybe-installcheck-target-winsup \
1392 maybe-installcheck-target-libgloss \
1393 maybe-installcheck-target-libiberty \
1394 maybe-installcheck-target-gperf \
1395 maybe-installcheck-target-examples \
1396 maybe-installcheck-target-libffi \
1397 maybe-installcheck-target-libjava \
1398 maybe-installcheck-target-zlib \
1399 maybe-installcheck-target-boehm-gc \
1400 maybe-installcheck-target-qthreads \
1401 maybe-installcheck-target-rda \
1402 maybe-installcheck-target-libada
1404 .PHONY: do-mostlyclean
1405 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1407 .PHONY: mostlyclean-host
1409 maybe-mostlyclean-ash \
1410 maybe-mostlyclean-autoconf \
1411 maybe-mostlyclean-automake \
1412 maybe-mostlyclean-bash \
1413 maybe-mostlyclean-bfd \
1414 maybe-mostlyclean-opcodes \
1415 maybe-mostlyclean-binutils \
1416 maybe-mostlyclean-bison \
1417 maybe-mostlyclean-byacc \
1418 maybe-mostlyclean-bzip2 \
1419 maybe-mostlyclean-dejagnu \
1420 maybe-mostlyclean-diff \
1421 maybe-mostlyclean-dosutils \
1422 maybe-mostlyclean-etc \
1423 maybe-mostlyclean-fastjar \
1424 maybe-mostlyclean-fileutils \
1425 maybe-mostlyclean-findutils \
1426 maybe-mostlyclean-find \
1427 maybe-mostlyclean-fixincludes \
1428 maybe-mostlyclean-flex \
1429 maybe-mostlyclean-gas \
1430 maybe-mostlyclean-gcc \
1431 maybe-mostlyclean-gawk \
1432 maybe-mostlyclean-gettext \
1433 maybe-mostlyclean-gnuserv \
1434 maybe-mostlyclean-gprof \
1435 maybe-mostlyclean-gzip \
1436 maybe-mostlyclean-hello \
1437 maybe-mostlyclean-indent \
1438 maybe-mostlyclean-intl \
1439 maybe-mostlyclean-tcl \
1440 maybe-mostlyclean-itcl \
1441 maybe-mostlyclean-ld \
1442 maybe-mostlyclean-libcpp \
1443 maybe-mostlyclean-libgui \
1444 maybe-mostlyclean-libiberty \
1445 maybe-mostlyclean-libtool \
1446 maybe-mostlyclean-m4 \
1447 maybe-mostlyclean-make \
1448 maybe-mostlyclean-mmalloc \
1449 maybe-mostlyclean-patch \
1450 maybe-mostlyclean-perl \
1451 maybe-mostlyclean-prms \
1452 maybe-mostlyclean-rcs \
1453 maybe-mostlyclean-readline \
1454 maybe-mostlyclean-release \
1455 maybe-mostlyclean-recode \
1456 maybe-mostlyclean-sed \
1457 maybe-mostlyclean-send-pr \
1458 maybe-mostlyclean-shellutils \
1459 maybe-mostlyclean-sid \
1460 maybe-mostlyclean-sim \
1461 maybe-mostlyclean-tar \
1462 maybe-mostlyclean-texinfo \
1463 maybe-mostlyclean-textutils \
1464 maybe-mostlyclean-time \
1465 maybe-mostlyclean-uudecode \
1466 maybe-mostlyclean-wdiff \
1467 maybe-mostlyclean-zip \
1468 maybe-mostlyclean-zlib \
1469 maybe-mostlyclean-gdb \
1470 maybe-mostlyclean-expect \
1471 maybe-mostlyclean-guile \
1472 maybe-mostlyclean-tk \
1473 maybe-mostlyclean-libtermcap \
1474 maybe-mostlyclean-utils
1476 .PHONY: mostlyclean-target
1477 mostlyclean-target: \
1478 maybe-mostlyclean-target-libstdc++-v3 \
1479 maybe-mostlyclean-target-libmudflap \
1480 maybe-mostlyclean-target-newlib \
1481 maybe-mostlyclean-target-libgfortran \
1482 maybe-mostlyclean-target-libobjc \
1483 maybe-mostlyclean-target-libtermcap \
1484 maybe-mostlyclean-target-winsup \
1485 maybe-mostlyclean-target-libgloss \
1486 maybe-mostlyclean-target-libiberty \
1487 maybe-mostlyclean-target-gperf \
1488 maybe-mostlyclean-target-examples \
1489 maybe-mostlyclean-target-libffi \
1490 maybe-mostlyclean-target-libjava \
1491 maybe-mostlyclean-target-zlib \
1492 maybe-mostlyclean-target-boehm-gc \
1493 maybe-mostlyclean-target-qthreads \
1494 maybe-mostlyclean-target-rda \
1495 maybe-mostlyclean-target-libada
1498 do-clean: unstage clean-host clean-target stage
1503 maybe-clean-autoconf \
1504 maybe-clean-automake \
1507 maybe-clean-opcodes \
1508 maybe-clean-binutils \
1512 maybe-clean-dejagnu \
1514 maybe-clean-dosutils \
1516 maybe-clean-fastjar \
1517 maybe-clean-fileutils \
1518 maybe-clean-findutils \
1520 maybe-clean-fixincludes \
1525 maybe-clean-gettext \
1526 maybe-clean-gnuserv \
1530 maybe-clean-indent \
1535 maybe-clean-libcpp \
1536 maybe-clean-libgui \
1537 maybe-clean-libiberty \
1538 maybe-clean-libtool \
1541 maybe-clean-mmalloc \
1546 maybe-clean-readline \
1547 maybe-clean-release \
1548 maybe-clean-recode \
1550 maybe-clean-send-pr \
1551 maybe-clean-shellutils \
1555 maybe-clean-texinfo \
1556 maybe-clean-textutils \
1558 maybe-clean-uudecode \
1563 maybe-clean-expect \
1566 maybe-clean-libtermcap \
1569 .PHONY: clean-target
1571 maybe-clean-target-libstdc++-v3 \
1572 maybe-clean-target-libmudflap \
1573 maybe-clean-target-newlib \
1574 maybe-clean-target-libgfortran \
1575 maybe-clean-target-libobjc \
1576 maybe-clean-target-libtermcap \
1577 maybe-clean-target-winsup \
1578 maybe-clean-target-libgloss \
1579 maybe-clean-target-libiberty \
1580 maybe-clean-target-gperf \
1581 maybe-clean-target-examples \
1582 maybe-clean-target-libffi \
1583 maybe-clean-target-libjava \
1584 maybe-clean-target-zlib \
1585 maybe-clean-target-boehm-gc \
1586 maybe-clean-target-qthreads \
1587 maybe-clean-target-rda \
1588 maybe-clean-target-libada
1590 .PHONY: do-distclean
1591 do-distclean: unstage distclean-host distclean-target stage
1593 .PHONY: distclean-host
1595 maybe-distclean-ash \
1596 maybe-distclean-autoconf \
1597 maybe-distclean-automake \
1598 maybe-distclean-bash \
1599 maybe-distclean-bfd \
1600 maybe-distclean-opcodes \
1601 maybe-distclean-binutils \
1602 maybe-distclean-bison \
1603 maybe-distclean-byacc \
1604 maybe-distclean-bzip2 \
1605 maybe-distclean-dejagnu \
1606 maybe-distclean-diff \
1607 maybe-distclean-dosutils \
1608 maybe-distclean-etc \
1609 maybe-distclean-fastjar \
1610 maybe-distclean-fileutils \
1611 maybe-distclean-findutils \
1612 maybe-distclean-find \
1613 maybe-distclean-fixincludes \
1614 maybe-distclean-flex \
1615 maybe-distclean-gas \
1616 maybe-distclean-gcc \
1617 maybe-distclean-gawk \
1618 maybe-distclean-gettext \
1619 maybe-distclean-gnuserv \
1620 maybe-distclean-gprof \
1621 maybe-distclean-gzip \
1622 maybe-distclean-hello \
1623 maybe-distclean-indent \
1624 maybe-distclean-intl \
1625 maybe-distclean-tcl \
1626 maybe-distclean-itcl \
1627 maybe-distclean-ld \
1628 maybe-distclean-libcpp \
1629 maybe-distclean-libgui \
1630 maybe-distclean-libiberty \
1631 maybe-distclean-libtool \
1632 maybe-distclean-m4 \
1633 maybe-distclean-make \
1634 maybe-distclean-mmalloc \
1635 maybe-distclean-patch \
1636 maybe-distclean-perl \
1637 maybe-distclean-prms \
1638 maybe-distclean-rcs \
1639 maybe-distclean-readline \
1640 maybe-distclean-release \
1641 maybe-distclean-recode \
1642 maybe-distclean-sed \
1643 maybe-distclean-send-pr \
1644 maybe-distclean-shellutils \
1645 maybe-distclean-sid \
1646 maybe-distclean-sim \
1647 maybe-distclean-tar \
1648 maybe-distclean-texinfo \
1649 maybe-distclean-textutils \
1650 maybe-distclean-time \
1651 maybe-distclean-uudecode \
1652 maybe-distclean-wdiff \
1653 maybe-distclean-zip \
1654 maybe-distclean-zlib \
1655 maybe-distclean-gdb \
1656 maybe-distclean-expect \
1657 maybe-distclean-guile \
1658 maybe-distclean-tk \
1659 maybe-distclean-libtermcap \
1660 maybe-distclean-utils
1662 .PHONY: distclean-target
1664 maybe-distclean-target-libstdc++-v3 \
1665 maybe-distclean-target-libmudflap \
1666 maybe-distclean-target-newlib \
1667 maybe-distclean-target-libgfortran \
1668 maybe-distclean-target-libobjc \
1669 maybe-distclean-target-libtermcap \
1670 maybe-distclean-target-winsup \
1671 maybe-distclean-target-libgloss \
1672 maybe-distclean-target-libiberty \
1673 maybe-distclean-target-gperf \
1674 maybe-distclean-target-examples \
1675 maybe-distclean-target-libffi \
1676 maybe-distclean-target-libjava \
1677 maybe-distclean-target-zlib \
1678 maybe-distclean-target-boehm-gc \
1679 maybe-distclean-target-qthreads \
1680 maybe-distclean-target-rda \
1681 maybe-distclean-target-libada
1683 .PHONY: do-maintainer-clean
1684 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1686 .PHONY: maintainer-clean-host
1687 maintainer-clean-host: \
1688 maybe-maintainer-clean-ash \
1689 maybe-maintainer-clean-autoconf \
1690 maybe-maintainer-clean-automake \
1691 maybe-maintainer-clean-bash \
1692 maybe-maintainer-clean-bfd \
1693 maybe-maintainer-clean-opcodes \
1694 maybe-maintainer-clean-binutils \
1695 maybe-maintainer-clean-bison \
1696 maybe-maintainer-clean-byacc \
1697 maybe-maintainer-clean-bzip2 \
1698 maybe-maintainer-clean-dejagnu \
1699 maybe-maintainer-clean-diff \
1700 maybe-maintainer-clean-dosutils \
1701 maybe-maintainer-clean-etc \
1702 maybe-maintainer-clean-fastjar \
1703 maybe-maintainer-clean-fileutils \
1704 maybe-maintainer-clean-findutils \
1705 maybe-maintainer-clean-find \
1706 maybe-maintainer-clean-fixincludes \
1707 maybe-maintainer-clean-flex \
1708 maybe-maintainer-clean-gas \
1709 maybe-maintainer-clean-gcc \
1710 maybe-maintainer-clean-gawk \
1711 maybe-maintainer-clean-gettext \
1712 maybe-maintainer-clean-gnuserv \
1713 maybe-maintainer-clean-gprof \
1714 maybe-maintainer-clean-gzip \
1715 maybe-maintainer-clean-hello \
1716 maybe-maintainer-clean-indent \
1717 maybe-maintainer-clean-intl \
1718 maybe-maintainer-clean-tcl \
1719 maybe-maintainer-clean-itcl \
1720 maybe-maintainer-clean-ld \
1721 maybe-maintainer-clean-libcpp \
1722 maybe-maintainer-clean-libgui \
1723 maybe-maintainer-clean-libiberty \
1724 maybe-maintainer-clean-libtool \
1725 maybe-maintainer-clean-m4 \
1726 maybe-maintainer-clean-make \
1727 maybe-maintainer-clean-mmalloc \
1728 maybe-maintainer-clean-patch \
1729 maybe-maintainer-clean-perl \
1730 maybe-maintainer-clean-prms \
1731 maybe-maintainer-clean-rcs \
1732 maybe-maintainer-clean-readline \
1733 maybe-maintainer-clean-release \
1734 maybe-maintainer-clean-recode \
1735 maybe-maintainer-clean-sed \
1736 maybe-maintainer-clean-send-pr \
1737 maybe-maintainer-clean-shellutils \
1738 maybe-maintainer-clean-sid \
1739 maybe-maintainer-clean-sim \
1740 maybe-maintainer-clean-tar \
1741 maybe-maintainer-clean-texinfo \
1742 maybe-maintainer-clean-textutils \
1743 maybe-maintainer-clean-time \
1744 maybe-maintainer-clean-uudecode \
1745 maybe-maintainer-clean-wdiff \
1746 maybe-maintainer-clean-zip \
1747 maybe-maintainer-clean-zlib \
1748 maybe-maintainer-clean-gdb \
1749 maybe-maintainer-clean-expect \
1750 maybe-maintainer-clean-guile \
1751 maybe-maintainer-clean-tk \
1752 maybe-maintainer-clean-libtermcap \
1753 maybe-maintainer-clean-utils
1755 .PHONY: maintainer-clean-target
1756 maintainer-clean-target: \
1757 maybe-maintainer-clean-target-libstdc++-v3 \
1758 maybe-maintainer-clean-target-libmudflap \
1759 maybe-maintainer-clean-target-newlib \
1760 maybe-maintainer-clean-target-libgfortran \
1761 maybe-maintainer-clean-target-libobjc \
1762 maybe-maintainer-clean-target-libtermcap \
1763 maybe-maintainer-clean-target-winsup \
1764 maybe-maintainer-clean-target-libgloss \
1765 maybe-maintainer-clean-target-libiberty \
1766 maybe-maintainer-clean-target-gperf \
1767 maybe-maintainer-clean-target-examples \
1768 maybe-maintainer-clean-target-libffi \
1769 maybe-maintainer-clean-target-libjava \
1770 maybe-maintainer-clean-target-zlib \
1771 maybe-maintainer-clean-target-boehm-gc \
1772 maybe-maintainer-clean-target-qthreads \
1773 maybe-maintainer-clean-target-rda \
1774 maybe-maintainer-clean-target-libada
1777 # Here are the targets which correspond to the do-X targets.
1779 .PHONY: info installcheck dvi html install-info
1780 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1781 .PHONY: local-clean local-distclean local-maintainer-clean
1783 installcheck: do-installcheck
1787 # Make sure makeinfo is built before we do a `make info', if we're
1788 # in fact building texinfo.
1789 do-info: maybe-all-texinfo
1791 install-info: do-install-info dir.info
1792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1793 if [ -f dir.info ] ; then \
1794 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1798 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1801 -rm -f Makefile config.status config.cache mh-frag mt-frag
1802 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1803 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1804 rm -rf $(TARGET_SUBDIR); \
1806 -rm -rf $(BUILD_SUBDIR)
1807 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1808 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1809 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1810 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1811 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1813 local-maintainer-clean:
1814 @echo "This command is intended for maintainers to use;"
1815 @echo "it deletes files that may require special tools to rebuild."
1817 clean: do-clean local-clean
1818 mostlyclean: do-mostlyclean local-clean
1819 distclean: do-distclean local-clean local-distclean
1820 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1821 maintainer-clean: local-distclean
1822 realclean: maintainer-clean
1824 # Extra dependency for clean-target, owing to the mixed nature of gcc
1825 clean-target: clean-target-libgcc
1826 clean-target-libgcc:
1827 test ! -d gcc/libgcc || \
1828 (cd gcc/libgcc && find . -type d -print) | \
1829 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1831 -rm -f gcc/stmp-dirs
1835 .PHONY: check do-check
1838 # Only include modules actually being configured and built.
1841 maybe-check-autoconf \
1842 maybe-check-automake \
1845 maybe-check-opcodes \
1846 maybe-check-binutils \
1850 maybe-check-dejagnu \
1852 maybe-check-dosutils \
1854 maybe-check-fastjar \
1855 maybe-check-fileutils \
1856 maybe-check-findutils \
1858 maybe-check-fixincludes \
1863 maybe-check-gettext \
1864 maybe-check-gnuserv \
1868 maybe-check-indent \
1873 maybe-check-libcpp \
1874 maybe-check-libgui \
1875 maybe-check-libiberty \
1876 maybe-check-libtool \
1879 maybe-check-mmalloc \
1884 maybe-check-readline \
1885 maybe-check-release \
1886 maybe-check-recode \
1888 maybe-check-send-pr \
1889 maybe-check-shellutils \
1893 maybe-check-texinfo \
1894 maybe-check-textutils \
1896 maybe-check-uudecode \
1901 maybe-check-expect \
1904 maybe-check-libtermcap \
1906 maybe-check-target-libstdc++-v3 \
1907 maybe-check-target-libmudflap \
1908 maybe-check-target-newlib \
1909 maybe-check-target-libgfortran \
1910 maybe-check-target-libobjc \
1911 maybe-check-target-libtermcap \
1912 maybe-check-target-winsup \
1913 maybe-check-target-libgloss \
1914 maybe-check-target-libiberty \
1915 maybe-check-target-gperf \
1916 maybe-check-target-examples \
1917 maybe-check-target-libffi \
1918 maybe-check-target-libjava \
1919 maybe-check-target-zlib \
1920 maybe-check-target-boehm-gc \
1921 maybe-check-target-qthreads \
1922 maybe-check-target-rda \
1923 maybe-check-target-libada stage
1925 # Automated reporting of test results.
1927 warning.log: build.log
1928 $(srcdir)/contrib/warn_summary build.log > $@
1931 if test x'$(BOOT_CFLAGS)' != x''; then \
1932 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1934 $(srcdir)/contrib/test_summary -t >$@
1936 echo If you really want to send e-mail, run ./$@ now
1938 mail-report-with-warnings.log: warning.log
1939 if test x'$(BOOT_CFLAGS)' != x''; then \
1940 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1942 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1944 echo If you really want to send e-mail, run ./$@ now
1946 # Installation targets.
1948 .PHONY: install uninstall
1949 install: installdirs install-host install-target
1951 .PHONY: install-host-nogcc
1952 install-host-nogcc: \
1954 maybe-install-autoconf \
1955 maybe-install-automake \
1956 maybe-install-bash \
1958 maybe-install-opcodes \
1959 maybe-install-binutils \
1960 maybe-install-bison \
1961 maybe-install-byacc \
1962 maybe-install-bzip2 \
1963 maybe-install-dejagnu \
1964 maybe-install-diff \
1965 maybe-install-dosutils \
1967 maybe-install-fastjar \
1968 maybe-install-fileutils \
1969 maybe-install-findutils \
1970 maybe-install-find \
1971 maybe-install-fixincludes \
1972 maybe-install-flex \
1974 maybe-install-gawk \
1975 maybe-install-gettext \
1976 maybe-install-gnuserv \
1977 maybe-install-gprof \
1978 maybe-install-gzip \
1979 maybe-install-hello \
1980 maybe-install-indent \
1981 maybe-install-intl \
1983 maybe-install-itcl \
1985 maybe-install-libcpp \
1986 maybe-install-libgui \
1987 maybe-install-libiberty \
1988 maybe-install-libtool \
1990 maybe-install-make \
1991 maybe-install-mmalloc \
1992 maybe-install-patch \
1993 maybe-install-perl \
1994 maybe-install-prms \
1996 maybe-install-readline \
1997 maybe-install-release \
1998 maybe-install-recode \
2000 maybe-install-send-pr \
2001 maybe-install-shellutils \
2005 maybe-install-texinfo \
2006 maybe-install-textutils \
2007 maybe-install-time \
2008 maybe-install-uudecode \
2009 maybe-install-wdiff \
2011 maybe-install-zlib \
2013 maybe-install-expect \
2014 maybe-install-guile \
2016 maybe-install-libtermcap \
2019 .PHONY: install-host
2022 maybe-install-autoconf \
2023 maybe-install-automake \
2024 maybe-install-bash \
2026 maybe-install-opcodes \
2027 maybe-install-binutils \
2028 maybe-install-bison \
2029 maybe-install-byacc \
2030 maybe-install-bzip2 \
2031 maybe-install-dejagnu \
2032 maybe-install-diff \
2033 maybe-install-dosutils \
2035 maybe-install-fastjar \
2036 maybe-install-fileutils \
2037 maybe-install-findutils \
2038 maybe-install-find \
2039 maybe-install-fixincludes \
2040 maybe-install-flex \
2043 maybe-install-gawk \
2044 maybe-install-gettext \
2045 maybe-install-gnuserv \
2046 maybe-install-gprof \
2047 maybe-install-gzip \
2048 maybe-install-hello \
2049 maybe-install-indent \
2050 maybe-install-intl \
2052 maybe-install-itcl \
2054 maybe-install-libcpp \
2055 maybe-install-libgui \
2056 maybe-install-libiberty \
2057 maybe-install-libtool \
2059 maybe-install-make \
2060 maybe-install-mmalloc \
2061 maybe-install-patch \
2062 maybe-install-perl \
2063 maybe-install-prms \
2065 maybe-install-readline \
2066 maybe-install-release \
2067 maybe-install-recode \
2069 maybe-install-send-pr \
2070 maybe-install-shellutils \
2074 maybe-install-texinfo \
2075 maybe-install-textutils \
2076 maybe-install-time \
2077 maybe-install-uudecode \
2078 maybe-install-wdiff \
2080 maybe-install-zlib \
2082 maybe-install-expect \
2083 maybe-install-guile \
2085 maybe-install-libtermcap \
2088 .PHONY: install-target
2090 maybe-install-target-libstdc++-v3 \
2091 maybe-install-target-libmudflap \
2092 maybe-install-target-newlib \
2093 maybe-install-target-libgfortran \
2094 maybe-install-target-libobjc \
2095 maybe-install-target-libtermcap \
2096 maybe-install-target-winsup \
2097 maybe-install-target-libgloss \
2098 maybe-install-target-libiberty \
2099 maybe-install-target-gperf \
2100 maybe-install-target-examples \
2101 maybe-install-target-libffi \
2102 maybe-install-target-libjava \
2103 maybe-install-target-zlib \
2104 maybe-install-target-boehm-gc \
2105 maybe-install-target-qthreads \
2106 maybe-install-target-rda \
2107 maybe-install-target-libada
2110 @echo "the uninstall target is not supported in this tree"
2113 install.all: install-no-fixedincludes
2114 @if [ -f ./gcc/Makefile ] ; then \
2115 r=`${PWD_COMMAND}` ; export r ; \
2119 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2124 # install-no-fixedincludes is used because Cygnus can not distribute
2125 # the fixed header files.
2126 .PHONY: install-no-fixedincludes
2127 install-no-fixedincludes: installdirs install-host-nogcc \
2128 install-target gcc-no-fixedincludes
2130 ### other supporting targets
2133 $(DESTDIR)$(prefix) \
2134 $(DESTDIR)$(exec_prefix)
2136 installdirs: mkinstalldirs
2137 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2139 dir.info: do-install-info
2140 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2141 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2142 mv -f dir.info.new dir.info ; \
2147 @echo "Building a full distribution of this tree isn't done"
2148 @echo "via 'make dist'. Check out the etc/ subdirectory"
2152 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2153 # ability to use several tags files at once, so there is probably no need
2154 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2155 # (if we felt like it) have this Makefile write a piece of elisp which
2156 # the user could load to tell emacs19 where all the TAGS files we just
2160 # --------------------------------------
2161 # Modules which run on the build machine
2162 # --------------------------------------
2164 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2165 maybe-configure-build-libiberty:
2167 maybe-configure-build-libiberty: configure-build-libiberty
2168 configure-build-libiberty:
2169 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2170 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2171 r=`${PWD_COMMAND}`; export r; \
2172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2174 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2175 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2177 /* | [A-Za-z]:[\\/]*) \
2178 topdir=$(srcdir) ;; \
2180 case "$(BUILD_SUBDIR)" in \
2181 .) topdir="../$(srcdir)" ;; \
2182 *) topdir="../../$(srcdir)" ;; \
2185 if [ "$(srcdir)" = "." ] ; then \
2186 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2187 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
2188 if [ -f Makefile ]; then \
2189 if $(MAKE) distclean; then \
2203 srcdiroption="--srcdir=."; \
2206 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2207 libsrcdir="$$s/libiberty"; \
2209 rm -f no-such-file || : ; \
2210 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2211 $(BUILD_CONFIGARGS) $${srcdiroption} \
2212 --with-build-subdir="$(BUILD_SUBDIR)" \
2214 @endif build-libiberty
2216 .PHONY: all-build-libiberty maybe-all-build-libiberty
2217 maybe-all-build-libiberty:
2219 TARGET-build-libiberty=all
2220 maybe-all-build-libiberty: all-build-libiberty
2221 all-build-libiberty: configure-build-libiberty
2222 @r=`${PWD_COMMAND}`; export r; \
2223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2225 (cd $(BUILD_SUBDIR)/libiberty && \
2226 $(MAKE) $(TARGET-build-libiberty))
2227 @endif build-libiberty
2229 .PHONY: configure-build-bison maybe-configure-build-bison
2230 maybe-configure-build-bison:
2232 maybe-configure-build-bison: configure-build-bison
2233 configure-build-bison:
2234 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2235 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2236 r=`${PWD_COMMAND}`; export r; \
2237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2239 echo Configuring in $(BUILD_SUBDIR)/bison; \
2240 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2242 /* | [A-Za-z]:[\\/]*) \
2243 topdir=$(srcdir) ;; \
2245 case "$(BUILD_SUBDIR)" in \
2246 .) topdir="../$(srcdir)" ;; \
2247 *) topdir="../../$(srcdir)" ;; \
2250 if [ "$(srcdir)" = "." ] ; then \
2251 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2252 if $(SHELL) $$s/symlink-tree $${topdir}/bison "no-such-file" ; then \
2253 if [ -f Makefile ]; then \
2254 if $(MAKE) distclean; then \
2268 srcdiroption="--srcdir=."; \
2271 srcdiroption="--srcdir=$${topdir}/bison"; \
2272 libsrcdir="$$s/bison"; \
2274 rm -f no-such-file || : ; \
2275 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2276 $(BUILD_CONFIGARGS) $${srcdiroption} \
2277 --with-build-subdir="$(BUILD_SUBDIR)" \
2281 .PHONY: all-build-bison maybe-all-build-bison
2282 maybe-all-build-bison:
2284 TARGET-build-bison=all
2285 maybe-all-build-bison: all-build-bison
2286 all-build-bison: configure-build-bison
2287 @r=`${PWD_COMMAND}`; export r; \
2288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2290 (cd $(BUILD_SUBDIR)/bison && \
2291 $(MAKE) $(TARGET-build-bison))
2294 .PHONY: configure-build-byacc maybe-configure-build-byacc
2295 maybe-configure-build-byacc:
2297 maybe-configure-build-byacc: configure-build-byacc
2298 configure-build-byacc:
2299 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2300 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2301 r=`${PWD_COMMAND}`; export r; \
2302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2304 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2305 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2307 /* | [A-Za-z]:[\\/]*) \
2308 topdir=$(srcdir) ;; \
2310 case "$(BUILD_SUBDIR)" in \
2311 .) topdir="../$(srcdir)" ;; \
2312 *) topdir="../../$(srcdir)" ;; \
2315 if [ "$(srcdir)" = "." ] ; then \
2316 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2317 if $(SHELL) $$s/symlink-tree $${topdir}/byacc "no-such-file" ; then \
2318 if [ -f Makefile ]; then \
2319 if $(MAKE) distclean; then \
2333 srcdiroption="--srcdir=."; \
2336 srcdiroption="--srcdir=$${topdir}/byacc"; \
2337 libsrcdir="$$s/byacc"; \
2339 rm -f no-such-file || : ; \
2340 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2341 $(BUILD_CONFIGARGS) $${srcdiroption} \
2342 --with-build-subdir="$(BUILD_SUBDIR)" \
2346 .PHONY: all-build-byacc maybe-all-build-byacc
2347 maybe-all-build-byacc:
2349 TARGET-build-byacc=all
2350 maybe-all-build-byacc: all-build-byacc
2351 all-build-byacc: configure-build-byacc
2352 @r=`${PWD_COMMAND}`; export r; \
2353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2355 (cd $(BUILD_SUBDIR)/byacc && \
2356 $(MAKE) $(TARGET-build-byacc))
2359 .PHONY: configure-build-flex maybe-configure-build-flex
2360 maybe-configure-build-flex:
2362 maybe-configure-build-flex: configure-build-flex
2363 configure-build-flex:
2364 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2365 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2366 r=`${PWD_COMMAND}`; export r; \
2367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2369 echo Configuring in $(BUILD_SUBDIR)/flex; \
2370 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2372 /* | [A-Za-z]:[\\/]*) \
2373 topdir=$(srcdir) ;; \
2375 case "$(BUILD_SUBDIR)" in \
2376 .) topdir="../$(srcdir)" ;; \
2377 *) topdir="../../$(srcdir)" ;; \
2380 if [ "$(srcdir)" = "." ] ; then \
2381 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2382 if $(SHELL) $$s/symlink-tree $${topdir}/flex "no-such-file" ; then \
2383 if [ -f Makefile ]; then \
2384 if $(MAKE) distclean; then \
2398 srcdiroption="--srcdir=."; \
2401 srcdiroption="--srcdir=$${topdir}/flex"; \
2402 libsrcdir="$$s/flex"; \
2404 rm -f no-such-file || : ; \
2405 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2406 $(BUILD_CONFIGARGS) $${srcdiroption} \
2407 --with-build-subdir="$(BUILD_SUBDIR)" \
2411 .PHONY: all-build-flex maybe-all-build-flex
2412 maybe-all-build-flex:
2414 TARGET-build-flex=all
2415 maybe-all-build-flex: all-build-flex
2416 all-build-flex: configure-build-flex
2417 @r=`${PWD_COMMAND}`; export r; \
2418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2420 (cd $(BUILD_SUBDIR)/flex && \
2421 $(MAKE) $(TARGET-build-flex))
2424 .PHONY: configure-build-m4 maybe-configure-build-m4
2425 maybe-configure-build-m4:
2427 maybe-configure-build-m4: configure-build-m4
2429 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2430 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2431 r=`${PWD_COMMAND}`; export r; \
2432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2434 echo Configuring in $(BUILD_SUBDIR)/m4; \
2435 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2437 /* | [A-Za-z]:[\\/]*) \
2438 topdir=$(srcdir) ;; \
2440 case "$(BUILD_SUBDIR)" in \
2441 .) topdir="../$(srcdir)" ;; \
2442 *) topdir="../../$(srcdir)" ;; \
2445 if [ "$(srcdir)" = "." ] ; then \
2446 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2447 if $(SHELL) $$s/symlink-tree $${topdir}/m4 "no-such-file" ; then \
2448 if [ -f Makefile ]; then \
2449 if $(MAKE) distclean; then \
2463 srcdiroption="--srcdir=."; \
2466 srcdiroption="--srcdir=$${topdir}/m4"; \
2467 libsrcdir="$$s/m4"; \
2469 rm -f no-such-file || : ; \
2470 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2471 $(BUILD_CONFIGARGS) $${srcdiroption} \
2472 --with-build-subdir="$(BUILD_SUBDIR)" \
2476 .PHONY: all-build-m4 maybe-all-build-m4
2480 maybe-all-build-m4: all-build-m4
2481 all-build-m4: configure-build-m4
2482 @r=`${PWD_COMMAND}`; export r; \
2483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2485 (cd $(BUILD_SUBDIR)/m4 && \
2486 $(MAKE) $(TARGET-build-m4))
2489 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2490 maybe-configure-build-texinfo:
2492 maybe-configure-build-texinfo: configure-build-texinfo
2493 configure-build-texinfo:
2494 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2495 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2496 r=`${PWD_COMMAND}`; export r; \
2497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2499 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2500 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2502 /* | [A-Za-z]:[\\/]*) \
2503 topdir=$(srcdir) ;; \
2505 case "$(BUILD_SUBDIR)" in \
2506 .) topdir="../$(srcdir)" ;; \
2507 *) topdir="../../$(srcdir)" ;; \
2510 if [ "$(srcdir)" = "." ] ; then \
2511 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2512 if $(SHELL) $$s/symlink-tree $${topdir}/texinfo "no-such-file" ; then \
2513 if [ -f Makefile ]; then \
2514 if $(MAKE) distclean; then \
2528 srcdiroption="--srcdir=."; \
2531 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2532 libsrcdir="$$s/texinfo"; \
2534 rm -f no-such-file || : ; \
2535 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2536 $(BUILD_CONFIGARGS) $${srcdiroption} \
2537 --with-build-subdir="$(BUILD_SUBDIR)" \
2539 @endif build-texinfo
2541 .PHONY: all-build-texinfo maybe-all-build-texinfo
2542 maybe-all-build-texinfo:
2544 TARGET-build-texinfo=all
2545 maybe-all-build-texinfo: all-build-texinfo
2546 all-build-texinfo: configure-build-texinfo
2547 @r=`${PWD_COMMAND}`; export r; \
2548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2550 (cd $(BUILD_SUBDIR)/texinfo && \
2551 $(MAKE) $(TARGET-build-texinfo))
2552 @endif build-texinfo
2554 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2555 maybe-configure-build-fixincludes:
2556 @if build-fixincludes
2557 maybe-configure-build-fixincludes: configure-build-fixincludes
2558 configure-build-fixincludes:
2559 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2560 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2561 r=`${PWD_COMMAND}`; export r; \
2562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2564 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2565 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2567 /* | [A-Za-z]:[\\/]*) \
2568 topdir=$(srcdir) ;; \
2570 case "$(BUILD_SUBDIR)" in \
2571 .) topdir="../$(srcdir)" ;; \
2572 *) topdir="../../$(srcdir)" ;; \
2575 if [ "$(srcdir)" = "." ] ; then \
2576 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2577 if $(SHELL) $$s/symlink-tree $${topdir}/fixincludes "no-such-file" ; then \
2578 if [ -f Makefile ]; then \
2579 if $(MAKE) distclean; then \
2593 srcdiroption="--srcdir=."; \
2596 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2597 libsrcdir="$$s/fixincludes"; \
2599 rm -f no-such-file || : ; \
2600 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2601 $(BUILD_CONFIGARGS) $${srcdiroption} \
2602 --with-build-subdir="$(BUILD_SUBDIR)" \
2604 @endif build-fixincludes
2606 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2607 maybe-all-build-fixincludes:
2608 @if build-fixincludes
2609 TARGET-build-fixincludes=all
2610 maybe-all-build-fixincludes: all-build-fixincludes
2611 all-build-fixincludes: configure-build-fixincludes
2612 @r=`${PWD_COMMAND}`; export r; \
2613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2615 (cd $(BUILD_SUBDIR)/fixincludes && \
2616 $(MAKE) $(TARGET-build-fixincludes))
2617 @endif build-fixincludes
2620 # --------------------------------------
2621 # Modules which run on the host machine
2622 # --------------------------------------
2624 .PHONY: configure-ash maybe-configure-ash
2625 maybe-configure-ash:
2627 maybe-configure-ash: configure-ash
2629 @test ! -f ash/Makefile || exit 0; \
2630 [ -d ash ] || mkdir ash; \
2631 r=`${PWD_COMMAND}`; export r; \
2632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2634 echo Configuring in ash; \
2638 srcdiroption="--srcdir=."; \
2640 /* | [A-Za-z]:[\\/]*) \
2641 srcdiroption="--srcdir=$(srcdir)/ash"; \
2642 libsrcdir="$$s/ash";; \
2644 srcdiroption="--srcdir=../$(srcdir)/ash"; \
2645 libsrcdir="$$s/ash";; \
2647 $(SHELL) $${libsrcdir}/configure \
2648 $(HOST_CONFIGARGS) $${srcdiroption} \
2652 .PHONY: all-ash maybe-all-ash
2656 maybe-all-ash: all-ash
2657 all-ash: configure-ash
2658 @r=`${PWD_COMMAND}`; export r; \
2659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2662 (cd ash && $(MAKE) $(FLAGS_TO_PASS) \
2666 .PHONY: check-ash maybe-check-ash
2669 maybe-check-ash: check-ash
2672 @r=`${PWD_COMMAND}`; export r; \
2673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2676 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2680 .PHONY: install-ash maybe-install-ash
2683 maybe-install-ash: install-ash
2685 install-ash: installdirs
2686 @r=`${PWD_COMMAND}`; export r; \
2687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2690 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2694 # Other targets (info, dvi, etc.)
2696 .PHONY: maybe-info-ash info-ash
2699 maybe-info-ash: info-ash
2703 @[ -f ./ash/Makefile ] || exit 0; \
2704 r=`${PWD_COMMAND}`; export r; \
2705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2708 for flag in $(EXTRA_HOST_FLAGS) ; do \
2709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2711 echo "Doing info in ash" ; \
2713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2715 "RANLIB=$${RANLIB}" \
2716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2722 .PHONY: maybe-dvi-ash dvi-ash
2725 maybe-dvi-ash: dvi-ash
2729 @[ -f ./ash/Makefile ] || exit 0; \
2730 r=`${PWD_COMMAND}`; export r; \
2731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2734 for flag in $(EXTRA_HOST_FLAGS) ; do \
2735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2737 echo "Doing dvi in ash" ; \
2739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2741 "RANLIB=$${RANLIB}" \
2742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2748 .PHONY: maybe-html-ash html-ash
2751 maybe-html-ash: html-ash
2755 @[ -f ./ash/Makefile ] || exit 0; \
2756 r=`${PWD_COMMAND}`; export r; \
2757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2760 for flag in $(EXTRA_HOST_FLAGS) ; do \
2761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2763 echo "Doing html in ash" ; \
2765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2767 "RANLIB=$${RANLIB}" \
2768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2774 .PHONY: maybe-TAGS-ash TAGS-ash
2777 maybe-TAGS-ash: TAGS-ash
2781 @[ -f ./ash/Makefile ] || exit 0; \
2782 r=`${PWD_COMMAND}`; export r; \
2783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2786 for flag in $(EXTRA_HOST_FLAGS) ; do \
2787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2789 echo "Doing TAGS in ash" ; \
2791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2793 "RANLIB=$${RANLIB}" \
2794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2800 .PHONY: maybe-install-info-ash install-info-ash
2801 maybe-install-info-ash:
2803 maybe-install-info-ash: install-info-ash
2808 @[ -f ./ash/Makefile ] || exit 0; \
2809 r=`${PWD_COMMAND}`; export r; \
2810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2813 for flag in $(EXTRA_HOST_FLAGS) ; do \
2814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2816 echo "Doing install-info in ash" ; \
2818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2820 "RANLIB=$${RANLIB}" \
2821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2827 .PHONY: maybe-installcheck-ash installcheck-ash
2828 maybe-installcheck-ash:
2830 maybe-installcheck-ash: installcheck-ash
2834 @[ -f ./ash/Makefile ] || exit 0; \
2835 r=`${PWD_COMMAND}`; export r; \
2836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2839 for flag in $(EXTRA_HOST_FLAGS) ; do \
2840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2842 echo "Doing installcheck in ash" ; \
2844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2846 "RANLIB=$${RANLIB}" \
2847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2853 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2854 maybe-mostlyclean-ash:
2856 maybe-mostlyclean-ash: mostlyclean-ash
2859 @[ -f ./ash/Makefile ] || exit 0; \
2860 r=`${PWD_COMMAND}`; export r; \
2861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2864 for flag in $(EXTRA_HOST_FLAGS) ; do \
2865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2867 echo "Doing mostlyclean in ash" ; \
2869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2871 "RANLIB=$${RANLIB}" \
2872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2878 .PHONY: maybe-clean-ash clean-ash
2881 maybe-clean-ash: clean-ash
2884 @[ -f ./ash/Makefile ] || exit 0; \
2885 r=`${PWD_COMMAND}`; export r; \
2886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2889 for flag in $(EXTRA_HOST_FLAGS) ; do \
2890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2892 echo "Doing clean in ash" ; \
2894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2896 "RANLIB=$${RANLIB}" \
2897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2903 .PHONY: maybe-distclean-ash distclean-ash
2904 maybe-distclean-ash:
2906 maybe-distclean-ash: distclean-ash
2909 @[ -f ./ash/Makefile ] || exit 0; \
2910 r=`${PWD_COMMAND}`; export r; \
2911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2914 for flag in $(EXTRA_HOST_FLAGS) ; do \
2915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2917 echo "Doing distclean in ash" ; \
2919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2921 "RANLIB=$${RANLIB}" \
2922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2928 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2929 maybe-maintainer-clean-ash:
2931 maybe-maintainer-clean-ash: maintainer-clean-ash
2933 maintainer-clean-ash:
2934 @[ -f ./ash/Makefile ] || exit 0; \
2935 r=`${PWD_COMMAND}`; export r; \
2936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2939 for flag in $(EXTRA_HOST_FLAGS) ; do \
2940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2942 echo "Doing maintainer-clean in ash" ; \
2944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2946 "RANLIB=$${RANLIB}" \
2947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2954 .PHONY: configure-autoconf maybe-configure-autoconf
2955 maybe-configure-autoconf:
2957 maybe-configure-autoconf: configure-autoconf
2959 @test ! -f autoconf/Makefile || exit 0; \
2960 [ -d autoconf ] || mkdir autoconf; \
2961 r=`${PWD_COMMAND}`; export r; \
2962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2964 echo Configuring in autoconf; \
2965 cd autoconf || exit 1; \
2968 srcdiroption="--srcdir=."; \
2970 /* | [A-Za-z]:[\\/]*) \
2971 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2972 libsrcdir="$$s/autoconf";; \
2974 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2975 libsrcdir="$$s/autoconf";; \
2977 $(SHELL) $${libsrcdir}/configure \
2978 $(HOST_CONFIGARGS) $${srcdiroption} \
2982 .PHONY: all-autoconf maybe-all-autoconf
2986 maybe-all-autoconf: all-autoconf
2987 all-autoconf: configure-autoconf
2988 @r=`${PWD_COMMAND}`; export r; \
2989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2992 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) \
2996 .PHONY: check-autoconf maybe-check-autoconf
2997 maybe-check-autoconf:
2999 maybe-check-autoconf: check-autoconf
3002 @r=`${PWD_COMMAND}`; export r; \
3003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3006 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
3010 .PHONY: install-autoconf maybe-install-autoconf
3011 maybe-install-autoconf:
3013 maybe-install-autoconf: install-autoconf
3015 install-autoconf: installdirs
3016 @r=`${PWD_COMMAND}`; export r; \
3017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3020 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
3024 # Other targets (info, dvi, etc.)
3026 .PHONY: maybe-info-autoconf info-autoconf
3027 maybe-info-autoconf:
3029 maybe-info-autoconf: info-autoconf
3033 @[ -f ./autoconf/Makefile ] || exit 0; \
3034 r=`${PWD_COMMAND}`; export r; \
3035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3038 for flag in $(EXTRA_HOST_FLAGS) ; do \
3039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3041 echo "Doing info in autoconf" ; \
3043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3045 "RANLIB=$${RANLIB}" \
3046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3052 .PHONY: maybe-dvi-autoconf dvi-autoconf
3055 maybe-dvi-autoconf: dvi-autoconf
3059 @[ -f ./autoconf/Makefile ] || exit 0; \
3060 r=`${PWD_COMMAND}`; export r; \
3061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3064 for flag in $(EXTRA_HOST_FLAGS) ; do \
3065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3067 echo "Doing dvi in autoconf" ; \
3069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3071 "RANLIB=$${RANLIB}" \
3072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3078 .PHONY: maybe-html-autoconf html-autoconf
3079 maybe-html-autoconf:
3081 maybe-html-autoconf: html-autoconf
3085 @[ -f ./autoconf/Makefile ] || exit 0; \
3086 r=`${PWD_COMMAND}`; export r; \
3087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3090 for flag in $(EXTRA_HOST_FLAGS) ; do \
3091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3093 echo "Doing html in autoconf" ; \
3095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3097 "RANLIB=$${RANLIB}" \
3098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3104 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3105 maybe-TAGS-autoconf:
3107 maybe-TAGS-autoconf: TAGS-autoconf
3111 @[ -f ./autoconf/Makefile ] || exit 0; \
3112 r=`${PWD_COMMAND}`; export r; \
3113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3116 for flag in $(EXTRA_HOST_FLAGS) ; do \
3117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3119 echo "Doing TAGS in autoconf" ; \
3121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3123 "RANLIB=$${RANLIB}" \
3124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3130 .PHONY: maybe-install-info-autoconf install-info-autoconf
3131 maybe-install-info-autoconf:
3133 maybe-install-info-autoconf: install-info-autoconf
3135 install-info-autoconf: \
3136 configure-autoconf \
3138 @[ -f ./autoconf/Makefile ] || exit 0; \
3139 r=`${PWD_COMMAND}`; export r; \
3140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3143 for flag in $(EXTRA_HOST_FLAGS) ; do \
3144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3146 echo "Doing install-info in autoconf" ; \
3148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3150 "RANLIB=$${RANLIB}" \
3151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3157 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3158 maybe-installcheck-autoconf:
3160 maybe-installcheck-autoconf: installcheck-autoconf
3162 installcheck-autoconf: \
3164 @[ -f ./autoconf/Makefile ] || exit 0; \
3165 r=`${PWD_COMMAND}`; export r; \
3166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3169 for flag in $(EXTRA_HOST_FLAGS) ; do \
3170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3172 echo "Doing installcheck in autoconf" ; \
3174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3176 "RANLIB=$${RANLIB}" \
3177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3183 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3184 maybe-mostlyclean-autoconf:
3186 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3188 mostlyclean-autoconf:
3189 @[ -f ./autoconf/Makefile ] || exit 0; \
3190 r=`${PWD_COMMAND}`; export r; \
3191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3194 for flag in $(EXTRA_HOST_FLAGS) ; do \
3195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3197 echo "Doing mostlyclean in autoconf" ; \
3199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3201 "RANLIB=$${RANLIB}" \
3202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3208 .PHONY: maybe-clean-autoconf clean-autoconf
3209 maybe-clean-autoconf:
3211 maybe-clean-autoconf: clean-autoconf
3214 @[ -f ./autoconf/Makefile ] || exit 0; \
3215 r=`${PWD_COMMAND}`; export r; \
3216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3219 for flag in $(EXTRA_HOST_FLAGS) ; do \
3220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3222 echo "Doing clean in autoconf" ; \
3224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3226 "RANLIB=$${RANLIB}" \
3227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3233 .PHONY: maybe-distclean-autoconf distclean-autoconf
3234 maybe-distclean-autoconf:
3236 maybe-distclean-autoconf: distclean-autoconf
3239 @[ -f ./autoconf/Makefile ] || exit 0; \
3240 r=`${PWD_COMMAND}`; export r; \
3241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3244 for flag in $(EXTRA_HOST_FLAGS) ; do \
3245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3247 echo "Doing distclean in autoconf" ; \
3249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3251 "RANLIB=$${RANLIB}" \
3252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3258 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3259 maybe-maintainer-clean-autoconf:
3261 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3263 maintainer-clean-autoconf:
3264 @[ -f ./autoconf/Makefile ] || exit 0; \
3265 r=`${PWD_COMMAND}`; export r; \
3266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3269 for flag in $(EXTRA_HOST_FLAGS) ; do \
3270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3272 echo "Doing maintainer-clean in autoconf" ; \
3274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3276 "RANLIB=$${RANLIB}" \
3277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3284 .PHONY: configure-automake maybe-configure-automake
3285 maybe-configure-automake:
3287 maybe-configure-automake: configure-automake
3289 @test ! -f automake/Makefile || exit 0; \
3290 [ -d automake ] || mkdir automake; \
3291 r=`${PWD_COMMAND}`; export r; \
3292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3294 echo Configuring in automake; \
3295 cd automake || exit 1; \
3298 srcdiroption="--srcdir=."; \
3300 /* | [A-Za-z]:[\\/]*) \
3301 srcdiroption="--srcdir=$(srcdir)/automake"; \
3302 libsrcdir="$$s/automake";; \
3304 srcdiroption="--srcdir=../$(srcdir)/automake"; \
3305 libsrcdir="$$s/automake";; \
3307 $(SHELL) $${libsrcdir}/configure \
3308 $(HOST_CONFIGARGS) $${srcdiroption} \
3312 .PHONY: all-automake maybe-all-automake
3316 maybe-all-automake: all-automake
3317 all-automake: configure-automake
3318 @r=`${PWD_COMMAND}`; export r; \
3319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3322 (cd automake && $(MAKE) $(FLAGS_TO_PASS) \
3326 .PHONY: check-automake maybe-check-automake
3327 maybe-check-automake:
3329 maybe-check-automake: check-automake
3332 @r=`${PWD_COMMAND}`; export r; \
3333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3336 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
3340 .PHONY: install-automake maybe-install-automake
3341 maybe-install-automake:
3343 maybe-install-automake: install-automake
3345 install-automake: installdirs
3346 @r=`${PWD_COMMAND}`; export r; \
3347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3350 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
3354 # Other targets (info, dvi, etc.)
3356 .PHONY: maybe-info-automake info-automake
3357 maybe-info-automake:
3359 maybe-info-automake: info-automake
3363 @[ -f ./automake/Makefile ] || exit 0; \
3364 r=`${PWD_COMMAND}`; export r; \
3365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3368 for flag in $(EXTRA_HOST_FLAGS) ; do \
3369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3371 echo "Doing info in automake" ; \
3373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3375 "RANLIB=$${RANLIB}" \
3376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3382 .PHONY: maybe-dvi-automake dvi-automake
3385 maybe-dvi-automake: dvi-automake
3389 @[ -f ./automake/Makefile ] || exit 0; \
3390 r=`${PWD_COMMAND}`; export r; \
3391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3394 for flag in $(EXTRA_HOST_FLAGS) ; do \
3395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3397 echo "Doing dvi in automake" ; \
3399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3401 "RANLIB=$${RANLIB}" \
3402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3408 .PHONY: maybe-html-automake html-automake
3409 maybe-html-automake:
3411 maybe-html-automake: html-automake
3415 @[ -f ./automake/Makefile ] || exit 0; \
3416 r=`${PWD_COMMAND}`; export r; \
3417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3420 for flag in $(EXTRA_HOST_FLAGS) ; do \
3421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3423 echo "Doing html in automake" ; \
3425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3427 "RANLIB=$${RANLIB}" \
3428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3434 .PHONY: maybe-TAGS-automake TAGS-automake
3435 maybe-TAGS-automake:
3437 maybe-TAGS-automake: TAGS-automake
3441 @[ -f ./automake/Makefile ] || exit 0; \
3442 r=`${PWD_COMMAND}`; export r; \
3443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3446 for flag in $(EXTRA_HOST_FLAGS) ; do \
3447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3449 echo "Doing TAGS in automake" ; \
3451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3453 "RANLIB=$${RANLIB}" \
3454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3460 .PHONY: maybe-install-info-automake install-info-automake
3461 maybe-install-info-automake:
3463 maybe-install-info-automake: install-info-automake
3465 install-info-automake: \
3466 configure-automake \
3468 @[ -f ./automake/Makefile ] || exit 0; \
3469 r=`${PWD_COMMAND}`; export r; \
3470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3473 for flag in $(EXTRA_HOST_FLAGS) ; do \
3474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3476 echo "Doing install-info in automake" ; \
3478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3480 "RANLIB=$${RANLIB}" \
3481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3487 .PHONY: maybe-installcheck-automake installcheck-automake
3488 maybe-installcheck-automake:
3490 maybe-installcheck-automake: installcheck-automake
3492 installcheck-automake: \
3494 @[ -f ./automake/Makefile ] || exit 0; \
3495 r=`${PWD_COMMAND}`; export r; \
3496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3499 for flag in $(EXTRA_HOST_FLAGS) ; do \
3500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3502 echo "Doing installcheck in automake" ; \
3504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3506 "RANLIB=$${RANLIB}" \
3507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3513 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3514 maybe-mostlyclean-automake:
3516 maybe-mostlyclean-automake: mostlyclean-automake
3518 mostlyclean-automake:
3519 @[ -f ./automake/Makefile ] || exit 0; \
3520 r=`${PWD_COMMAND}`; export r; \
3521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3524 for flag in $(EXTRA_HOST_FLAGS) ; do \
3525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3527 echo "Doing mostlyclean in automake" ; \
3529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3531 "RANLIB=$${RANLIB}" \
3532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3538 .PHONY: maybe-clean-automake clean-automake
3539 maybe-clean-automake:
3541 maybe-clean-automake: clean-automake
3544 @[ -f ./automake/Makefile ] || exit 0; \
3545 r=`${PWD_COMMAND}`; export r; \
3546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3549 for flag in $(EXTRA_HOST_FLAGS) ; do \
3550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3552 echo "Doing clean in automake" ; \
3554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3556 "RANLIB=$${RANLIB}" \
3557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3563 .PHONY: maybe-distclean-automake distclean-automake
3564 maybe-distclean-automake:
3566 maybe-distclean-automake: distclean-automake
3569 @[ -f ./automake/Makefile ] || exit 0; \
3570 r=`${PWD_COMMAND}`; export r; \
3571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3574 for flag in $(EXTRA_HOST_FLAGS) ; do \
3575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3577 echo "Doing distclean in automake" ; \
3579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3581 "RANLIB=$${RANLIB}" \
3582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3588 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3589 maybe-maintainer-clean-automake:
3591 maybe-maintainer-clean-automake: maintainer-clean-automake
3593 maintainer-clean-automake:
3594 @[ -f ./automake/Makefile ] || exit 0; \
3595 r=`${PWD_COMMAND}`; export r; \
3596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3599 for flag in $(EXTRA_HOST_FLAGS) ; do \
3600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3602 echo "Doing maintainer-clean in automake" ; \
3604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3606 "RANLIB=$${RANLIB}" \
3607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3614 .PHONY: configure-bash maybe-configure-bash
3615 maybe-configure-bash:
3617 maybe-configure-bash: configure-bash
3619 @test ! -f bash/Makefile || exit 0; \
3620 [ -d bash ] || mkdir bash; \
3621 r=`${PWD_COMMAND}`; export r; \
3622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3624 echo Configuring in bash; \
3625 cd bash || exit 1; \
3628 srcdiroption="--srcdir=."; \
3630 /* | [A-Za-z]:[\\/]*) \
3631 srcdiroption="--srcdir=$(srcdir)/bash"; \
3632 libsrcdir="$$s/bash";; \
3634 srcdiroption="--srcdir=../$(srcdir)/bash"; \
3635 libsrcdir="$$s/bash";; \
3637 $(SHELL) $${libsrcdir}/configure \
3638 $(HOST_CONFIGARGS) $${srcdiroption} \
3642 .PHONY: all-bash maybe-all-bash
3646 maybe-all-bash: all-bash
3647 all-bash: configure-bash
3648 @r=`${PWD_COMMAND}`; export r; \
3649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3652 (cd bash && $(MAKE) $(FLAGS_TO_PASS) \
3656 .PHONY: check-bash maybe-check-bash
3659 maybe-check-bash: check-bash
3662 @r=`${PWD_COMMAND}`; export r; \
3663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3666 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
3670 .PHONY: install-bash maybe-install-bash
3673 maybe-install-bash: install-bash
3675 install-bash: installdirs
3676 @r=`${PWD_COMMAND}`; export r; \
3677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3680 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
3684 # Other targets (info, dvi, etc.)
3686 .PHONY: maybe-info-bash info-bash
3689 maybe-info-bash: info-bash
3693 @[ -f ./bash/Makefile ] || exit 0; \
3694 r=`${PWD_COMMAND}`; export r; \
3695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3698 for flag in $(EXTRA_HOST_FLAGS) ; do \
3699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3701 echo "Doing info in bash" ; \
3703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3705 "RANLIB=$${RANLIB}" \
3706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3712 .PHONY: maybe-dvi-bash dvi-bash
3715 maybe-dvi-bash: dvi-bash
3719 @[ -f ./bash/Makefile ] || exit 0; \
3720 r=`${PWD_COMMAND}`; export r; \
3721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3724 for flag in $(EXTRA_HOST_FLAGS) ; do \
3725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3727 echo "Doing dvi in bash" ; \
3729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3731 "RANLIB=$${RANLIB}" \
3732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3738 .PHONY: maybe-html-bash html-bash
3741 maybe-html-bash: html-bash
3745 @[ -f ./bash/Makefile ] || exit 0; \
3746 r=`${PWD_COMMAND}`; export r; \
3747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3750 for flag in $(EXTRA_HOST_FLAGS) ; do \
3751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3753 echo "Doing html in bash" ; \
3755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3757 "RANLIB=$${RANLIB}" \
3758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3764 .PHONY: maybe-TAGS-bash TAGS-bash
3767 maybe-TAGS-bash: TAGS-bash
3771 @[ -f ./bash/Makefile ] || exit 0; \
3772 r=`${PWD_COMMAND}`; export r; \
3773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3776 for flag in $(EXTRA_HOST_FLAGS) ; do \
3777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3779 echo "Doing TAGS in bash" ; \
3781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3783 "RANLIB=$${RANLIB}" \
3784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3790 .PHONY: maybe-install-info-bash install-info-bash
3791 maybe-install-info-bash:
3793 maybe-install-info-bash: install-info-bash
3795 install-info-bash: \
3798 @[ -f ./bash/Makefile ] || exit 0; \
3799 r=`${PWD_COMMAND}`; export r; \
3800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3803 for flag in $(EXTRA_HOST_FLAGS) ; do \
3804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3806 echo "Doing install-info in bash" ; \
3808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3810 "RANLIB=$${RANLIB}" \
3811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3817 .PHONY: maybe-installcheck-bash installcheck-bash
3818 maybe-installcheck-bash:
3820 maybe-installcheck-bash: installcheck-bash
3822 installcheck-bash: \
3824 @[ -f ./bash/Makefile ] || exit 0; \
3825 r=`${PWD_COMMAND}`; export r; \
3826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3829 for flag in $(EXTRA_HOST_FLAGS) ; do \
3830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3832 echo "Doing installcheck in bash" ; \
3834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3836 "RANLIB=$${RANLIB}" \
3837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3843 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3844 maybe-mostlyclean-bash:
3846 maybe-mostlyclean-bash: mostlyclean-bash
3849 @[ -f ./bash/Makefile ] || exit 0; \
3850 r=`${PWD_COMMAND}`; export r; \
3851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3854 for flag in $(EXTRA_HOST_FLAGS) ; do \
3855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3857 echo "Doing mostlyclean in bash" ; \
3859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3861 "RANLIB=$${RANLIB}" \
3862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3868 .PHONY: maybe-clean-bash clean-bash
3871 maybe-clean-bash: clean-bash
3874 @[ -f ./bash/Makefile ] || exit 0; \
3875 r=`${PWD_COMMAND}`; export r; \
3876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3879 for flag in $(EXTRA_HOST_FLAGS) ; do \
3880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3882 echo "Doing clean in bash" ; \
3884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3886 "RANLIB=$${RANLIB}" \
3887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3893 .PHONY: maybe-distclean-bash distclean-bash
3894 maybe-distclean-bash:
3896 maybe-distclean-bash: distclean-bash
3899 @[ -f ./bash/Makefile ] || exit 0; \
3900 r=`${PWD_COMMAND}`; export r; \
3901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3904 for flag in $(EXTRA_HOST_FLAGS) ; do \
3905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3907 echo "Doing distclean in bash" ; \
3909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3911 "RANLIB=$${RANLIB}" \
3912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3918 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3919 maybe-maintainer-clean-bash:
3921 maybe-maintainer-clean-bash: maintainer-clean-bash
3923 maintainer-clean-bash:
3924 @[ -f ./bash/Makefile ] || exit 0; \
3925 r=`${PWD_COMMAND}`; export r; \
3926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3929 for flag in $(EXTRA_HOST_FLAGS) ; do \
3930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3932 echo "Doing maintainer-clean in bash" ; \
3934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3936 "RANLIB=$${RANLIB}" \
3937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3944 .PHONY: configure-bfd maybe-configure-bfd
3945 maybe-configure-bfd:
3947 maybe-configure-bfd: configure-bfd
3949 @test -f stage_last && exit 0; \
3950 test ! -f bfd/Makefile || exit 0; \
3951 [ -d bfd ] || mkdir bfd; \
3952 r=`${PWD_COMMAND}`; export r; \
3953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3955 echo Configuring in bfd; \
3959 srcdiroption="--srcdir=."; \
3961 /* | [A-Za-z]:[\\/]*) \
3962 srcdiroption="--srcdir=$(srcdir)/bfd"; \
3963 libsrcdir="$$s/bfd";; \
3965 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3966 libsrcdir="$$s/bfd";; \
3968 $(SHELL) $${libsrcdir}/configure \
3969 $(HOST_CONFIGARGS) $${srcdiroption} \
3973 .PHONY: all-bfd maybe-all-bfd
3977 maybe-all-bfd: all-bfd
3978 all-bfd: configure-bfd
3979 @test -f stage_last && exit 0; \
3980 r=`${PWD_COMMAND}`; export r; \
3981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3984 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) \
3988 .PHONY: check-bfd maybe-check-bfd
3991 maybe-check-bfd: check-bfd
3994 @r=`${PWD_COMMAND}`; export r; \
3995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3998 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
4002 .PHONY: install-bfd maybe-install-bfd
4005 maybe-install-bfd: install-bfd
4007 install-bfd: installdirs
4008 @r=`${PWD_COMMAND}`; export r; \
4009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4012 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
4016 # Other targets (info, dvi, etc.)
4018 .PHONY: maybe-info-bfd info-bfd
4021 maybe-info-bfd: info-bfd
4025 @[ -f ./bfd/Makefile ] || exit 0; \
4026 r=`${PWD_COMMAND}`; export r; \
4027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4030 for flag in $(EXTRA_HOST_FLAGS) ; do \
4031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4033 echo "Doing info in bfd" ; \
4035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4037 "RANLIB=$${RANLIB}" \
4038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4044 .PHONY: maybe-dvi-bfd dvi-bfd
4047 maybe-dvi-bfd: dvi-bfd
4051 @[ -f ./bfd/Makefile ] || exit 0; \
4052 r=`${PWD_COMMAND}`; export r; \
4053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4056 for flag in $(EXTRA_HOST_FLAGS) ; do \
4057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4059 echo "Doing dvi in bfd" ; \
4061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4063 "RANLIB=$${RANLIB}" \
4064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4070 .PHONY: maybe-html-bfd html-bfd
4073 maybe-html-bfd: html-bfd
4077 @[ -f ./bfd/Makefile ] || exit 0; \
4078 r=`${PWD_COMMAND}`; export r; \
4079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4082 for flag in $(EXTRA_HOST_FLAGS) ; do \
4083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4085 echo "Doing html in bfd" ; \
4087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4089 "RANLIB=$${RANLIB}" \
4090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4096 .PHONY: maybe-TAGS-bfd TAGS-bfd
4099 maybe-TAGS-bfd: TAGS-bfd
4103 @[ -f ./bfd/Makefile ] || exit 0; \
4104 r=`${PWD_COMMAND}`; export r; \
4105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4108 for flag in $(EXTRA_HOST_FLAGS) ; do \
4109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4111 echo "Doing TAGS in bfd" ; \
4113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4115 "RANLIB=$${RANLIB}" \
4116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4122 .PHONY: maybe-install-info-bfd install-info-bfd
4123 maybe-install-info-bfd:
4125 maybe-install-info-bfd: install-info-bfd
4130 @[ -f ./bfd/Makefile ] || exit 0; \
4131 r=`${PWD_COMMAND}`; export r; \
4132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4135 for flag in $(EXTRA_HOST_FLAGS) ; do \
4136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4138 echo "Doing install-info in bfd" ; \
4140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4142 "RANLIB=$${RANLIB}" \
4143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4149 .PHONY: maybe-installcheck-bfd installcheck-bfd
4150 maybe-installcheck-bfd:
4152 maybe-installcheck-bfd: installcheck-bfd
4156 @[ -f ./bfd/Makefile ] || exit 0; \
4157 r=`${PWD_COMMAND}`; export r; \
4158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4161 for flag in $(EXTRA_HOST_FLAGS) ; do \
4162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4164 echo "Doing installcheck in bfd" ; \
4166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4168 "RANLIB=$${RANLIB}" \
4169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4175 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4176 maybe-mostlyclean-bfd:
4178 maybe-mostlyclean-bfd: mostlyclean-bfd
4181 @[ -f ./bfd/Makefile ] || exit 0; \
4182 r=`${PWD_COMMAND}`; export r; \
4183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4186 for flag in $(EXTRA_HOST_FLAGS) ; do \
4187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4189 echo "Doing mostlyclean in bfd" ; \
4191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4193 "RANLIB=$${RANLIB}" \
4194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4200 .PHONY: maybe-clean-bfd clean-bfd
4203 maybe-clean-bfd: clean-bfd
4206 @[ -f ./bfd/Makefile ] || exit 0; \
4207 r=`${PWD_COMMAND}`; export r; \
4208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4211 for flag in $(EXTRA_HOST_FLAGS) ; do \
4212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4214 echo "Doing clean in bfd" ; \
4216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4218 "RANLIB=$${RANLIB}" \
4219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4225 .PHONY: maybe-distclean-bfd distclean-bfd
4226 maybe-distclean-bfd:
4228 maybe-distclean-bfd: distclean-bfd
4231 @[ -f ./bfd/Makefile ] || exit 0; \
4232 r=`${PWD_COMMAND}`; export r; \
4233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4236 for flag in $(EXTRA_HOST_FLAGS) ; do \
4237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4239 echo "Doing distclean in bfd" ; \
4241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4243 "RANLIB=$${RANLIB}" \
4244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4250 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4251 maybe-maintainer-clean-bfd:
4253 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4255 maintainer-clean-bfd:
4256 @[ -f ./bfd/Makefile ] || exit 0; \
4257 r=`${PWD_COMMAND}`; export r; \
4258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4261 for flag in $(EXTRA_HOST_FLAGS) ; do \
4262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4264 echo "Doing maintainer-clean in bfd" ; \
4266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4268 "RANLIB=$${RANLIB}" \
4269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4276 .PHONY: configure-opcodes maybe-configure-opcodes
4277 maybe-configure-opcodes:
4279 maybe-configure-opcodes: configure-opcodes
4281 @test -f stage_last && exit 0; \
4282 test ! -f opcodes/Makefile || exit 0; \
4283 [ -d opcodes ] || mkdir opcodes; \
4284 r=`${PWD_COMMAND}`; export r; \
4285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4287 echo Configuring in opcodes; \
4288 cd opcodes || exit 1; \
4291 srcdiroption="--srcdir=."; \
4293 /* | [A-Za-z]:[\\/]*) \
4294 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
4295 libsrcdir="$$s/opcodes";; \
4297 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
4298 libsrcdir="$$s/opcodes";; \
4300 $(SHELL) $${libsrcdir}/configure \
4301 $(HOST_CONFIGARGS) $${srcdiroption} \
4305 .PHONY: all-opcodes maybe-all-opcodes
4309 maybe-all-opcodes: all-opcodes
4310 all-opcodes: configure-opcodes
4311 @test -f stage_last && exit 0; \
4312 r=`${PWD_COMMAND}`; export r; \
4313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4316 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) \
4320 .PHONY: check-opcodes maybe-check-opcodes
4321 maybe-check-opcodes:
4323 maybe-check-opcodes: check-opcodes
4326 @r=`${PWD_COMMAND}`; export r; \
4327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4330 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
4334 .PHONY: install-opcodes maybe-install-opcodes
4335 maybe-install-opcodes:
4337 maybe-install-opcodes: install-opcodes
4339 install-opcodes: installdirs
4340 @r=`${PWD_COMMAND}`; export r; \
4341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4344 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
4348 # Other targets (info, dvi, etc.)
4350 .PHONY: maybe-info-opcodes info-opcodes
4353 maybe-info-opcodes: info-opcodes
4357 @[ -f ./opcodes/Makefile ] || exit 0; \
4358 r=`${PWD_COMMAND}`; export r; \
4359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4362 for flag in $(EXTRA_HOST_FLAGS) ; do \
4363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4365 echo "Doing info in opcodes" ; \
4367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4369 "RANLIB=$${RANLIB}" \
4370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4376 .PHONY: maybe-dvi-opcodes dvi-opcodes
4379 maybe-dvi-opcodes: dvi-opcodes
4383 @[ -f ./opcodes/Makefile ] || exit 0; \
4384 r=`${PWD_COMMAND}`; export r; \
4385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4388 for flag in $(EXTRA_HOST_FLAGS) ; do \
4389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4391 echo "Doing dvi in opcodes" ; \
4393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4395 "RANLIB=$${RANLIB}" \
4396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4402 .PHONY: maybe-html-opcodes html-opcodes
4405 maybe-html-opcodes: html-opcodes
4409 @[ -f ./opcodes/Makefile ] || exit 0; \
4410 r=`${PWD_COMMAND}`; export r; \
4411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4414 for flag in $(EXTRA_HOST_FLAGS) ; do \
4415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4417 echo "Doing html in opcodes" ; \
4419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4421 "RANLIB=$${RANLIB}" \
4422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4428 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4431 maybe-TAGS-opcodes: TAGS-opcodes
4435 @[ -f ./opcodes/Makefile ] || exit 0; \
4436 r=`${PWD_COMMAND}`; export r; \
4437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4440 for flag in $(EXTRA_HOST_FLAGS) ; do \
4441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4443 echo "Doing TAGS in opcodes" ; \
4445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4447 "RANLIB=$${RANLIB}" \
4448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4454 .PHONY: maybe-install-info-opcodes install-info-opcodes
4455 maybe-install-info-opcodes:
4457 maybe-install-info-opcodes: install-info-opcodes
4459 install-info-opcodes: \
4462 @[ -f ./opcodes/Makefile ] || exit 0; \
4463 r=`${PWD_COMMAND}`; export r; \
4464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4467 for flag in $(EXTRA_HOST_FLAGS) ; do \
4468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4470 echo "Doing install-info in opcodes" ; \
4472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4474 "RANLIB=$${RANLIB}" \
4475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4481 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4482 maybe-installcheck-opcodes:
4484 maybe-installcheck-opcodes: installcheck-opcodes
4486 installcheck-opcodes: \
4488 @[ -f ./opcodes/Makefile ] || exit 0; \
4489 r=`${PWD_COMMAND}`; export r; \
4490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4493 for flag in $(EXTRA_HOST_FLAGS) ; do \
4494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4496 echo "Doing installcheck in opcodes" ; \
4498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4500 "RANLIB=$${RANLIB}" \
4501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4507 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4508 maybe-mostlyclean-opcodes:
4510 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4512 mostlyclean-opcodes:
4513 @[ -f ./opcodes/Makefile ] || exit 0; \
4514 r=`${PWD_COMMAND}`; export r; \
4515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4518 for flag in $(EXTRA_HOST_FLAGS) ; do \
4519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4521 echo "Doing mostlyclean in opcodes" ; \
4523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4525 "RANLIB=$${RANLIB}" \
4526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4532 .PHONY: maybe-clean-opcodes clean-opcodes
4533 maybe-clean-opcodes:
4535 maybe-clean-opcodes: clean-opcodes
4538 @[ -f ./opcodes/Makefile ] || exit 0; \
4539 r=`${PWD_COMMAND}`; export r; \
4540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4543 for flag in $(EXTRA_HOST_FLAGS) ; do \
4544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4546 echo "Doing clean in opcodes" ; \
4548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4550 "RANLIB=$${RANLIB}" \
4551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4557 .PHONY: maybe-distclean-opcodes distclean-opcodes
4558 maybe-distclean-opcodes:
4560 maybe-distclean-opcodes: distclean-opcodes
4563 @[ -f ./opcodes/Makefile ] || exit 0; \
4564 r=`${PWD_COMMAND}`; export r; \
4565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4568 for flag in $(EXTRA_HOST_FLAGS) ; do \
4569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4571 echo "Doing distclean in opcodes" ; \
4573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4575 "RANLIB=$${RANLIB}" \
4576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4582 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4583 maybe-maintainer-clean-opcodes:
4585 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4587 maintainer-clean-opcodes:
4588 @[ -f ./opcodes/Makefile ] || exit 0; \
4589 r=`${PWD_COMMAND}`; export r; \
4590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4593 for flag in $(EXTRA_HOST_FLAGS) ; do \
4594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4596 echo "Doing maintainer-clean in opcodes" ; \
4598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4600 "RANLIB=$${RANLIB}" \
4601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4608 .PHONY: configure-binutils maybe-configure-binutils
4609 maybe-configure-binutils:
4611 maybe-configure-binutils: configure-binutils
4613 @test -f stage_last && exit 0; \
4614 test ! -f binutils/Makefile || exit 0; \
4615 [ -d binutils ] || mkdir binutils; \
4616 r=`${PWD_COMMAND}`; export r; \
4617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4619 echo Configuring in binutils; \
4620 cd binutils || exit 1; \
4623 srcdiroption="--srcdir=."; \
4625 /* | [A-Za-z]:[\\/]*) \
4626 srcdiroption="--srcdir=$(srcdir)/binutils"; \
4627 libsrcdir="$$s/binutils";; \
4629 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
4630 libsrcdir="$$s/binutils";; \
4632 $(SHELL) $${libsrcdir}/configure \
4633 $(HOST_CONFIGARGS) $${srcdiroption} \
4637 .PHONY: all-binutils maybe-all-binutils
4641 maybe-all-binutils: all-binutils
4642 all-binutils: configure-binutils
4643 @test -f stage_last && exit 0; \
4644 r=`${PWD_COMMAND}`; export r; \
4645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4648 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) \
4652 .PHONY: check-binutils maybe-check-binutils
4653 maybe-check-binutils:
4655 maybe-check-binutils: check-binutils
4658 @r=`${PWD_COMMAND}`; export r; \
4659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4662 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
4666 .PHONY: install-binutils maybe-install-binutils
4667 maybe-install-binutils:
4669 maybe-install-binutils: install-binutils
4671 install-binutils: installdirs
4672 @r=`${PWD_COMMAND}`; export r; \
4673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4676 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
4680 # Other targets (info, dvi, etc.)
4682 .PHONY: maybe-info-binutils info-binutils
4683 maybe-info-binutils:
4685 maybe-info-binutils: info-binutils
4689 @[ -f ./binutils/Makefile ] || exit 0; \
4690 r=`${PWD_COMMAND}`; export r; \
4691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4694 for flag in $(EXTRA_HOST_FLAGS) ; do \
4695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4697 echo "Doing info in binutils" ; \
4699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4701 "RANLIB=$${RANLIB}" \
4702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4708 .PHONY: maybe-dvi-binutils dvi-binutils
4711 maybe-dvi-binutils: dvi-binutils
4715 @[ -f ./binutils/Makefile ] || exit 0; \
4716 r=`${PWD_COMMAND}`; export r; \
4717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4720 for flag in $(EXTRA_HOST_FLAGS) ; do \
4721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4723 echo "Doing dvi in binutils" ; \
4725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4727 "RANLIB=$${RANLIB}" \
4728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4734 .PHONY: maybe-html-binutils html-binutils
4735 maybe-html-binutils:
4737 maybe-html-binutils: html-binutils
4741 @[ -f ./binutils/Makefile ] || exit 0; \
4742 r=`${PWD_COMMAND}`; export r; \
4743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4746 for flag in $(EXTRA_HOST_FLAGS) ; do \
4747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4749 echo "Doing html in binutils" ; \
4751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4753 "RANLIB=$${RANLIB}" \
4754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4760 .PHONY: maybe-TAGS-binutils TAGS-binutils
4761 maybe-TAGS-binutils:
4763 maybe-TAGS-binutils: TAGS-binutils
4767 @[ -f ./binutils/Makefile ] || exit 0; \
4768 r=`${PWD_COMMAND}`; export r; \
4769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4772 for flag in $(EXTRA_HOST_FLAGS) ; do \
4773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4775 echo "Doing TAGS in binutils" ; \
4777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4779 "RANLIB=$${RANLIB}" \
4780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4786 .PHONY: maybe-install-info-binutils install-info-binutils
4787 maybe-install-info-binutils:
4789 maybe-install-info-binutils: install-info-binutils
4791 install-info-binutils: \
4792 configure-binutils \
4794 @[ -f ./binutils/Makefile ] || exit 0; \
4795 r=`${PWD_COMMAND}`; export r; \
4796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4799 for flag in $(EXTRA_HOST_FLAGS) ; do \
4800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4802 echo "Doing install-info in binutils" ; \
4804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4806 "RANLIB=$${RANLIB}" \
4807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4813 .PHONY: maybe-installcheck-binutils installcheck-binutils
4814 maybe-installcheck-binutils:
4816 maybe-installcheck-binutils: installcheck-binutils
4818 installcheck-binutils: \
4820 @[ -f ./binutils/Makefile ] || exit 0; \
4821 r=`${PWD_COMMAND}`; export r; \
4822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4825 for flag in $(EXTRA_HOST_FLAGS) ; do \
4826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4828 echo "Doing installcheck in binutils" ; \
4830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4832 "RANLIB=$${RANLIB}" \
4833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4839 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4840 maybe-mostlyclean-binutils:
4842 maybe-mostlyclean-binutils: mostlyclean-binutils
4844 mostlyclean-binutils:
4845 @[ -f ./binutils/Makefile ] || exit 0; \
4846 r=`${PWD_COMMAND}`; export r; \
4847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4850 for flag in $(EXTRA_HOST_FLAGS) ; do \
4851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4853 echo "Doing mostlyclean in binutils" ; \
4855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4857 "RANLIB=$${RANLIB}" \
4858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4864 .PHONY: maybe-clean-binutils clean-binutils
4865 maybe-clean-binutils:
4867 maybe-clean-binutils: clean-binutils
4870 @[ -f ./binutils/Makefile ] || exit 0; \
4871 r=`${PWD_COMMAND}`; export r; \
4872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4875 for flag in $(EXTRA_HOST_FLAGS) ; do \
4876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4878 echo "Doing clean in binutils" ; \
4880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4882 "RANLIB=$${RANLIB}" \
4883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4889 .PHONY: maybe-distclean-binutils distclean-binutils
4890 maybe-distclean-binutils:
4892 maybe-distclean-binutils: distclean-binutils
4895 @[ -f ./binutils/Makefile ] || exit 0; \
4896 r=`${PWD_COMMAND}`; export r; \
4897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4900 for flag in $(EXTRA_HOST_FLAGS) ; do \
4901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4903 echo "Doing distclean in binutils" ; \
4905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4907 "RANLIB=$${RANLIB}" \
4908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4914 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4915 maybe-maintainer-clean-binutils:
4917 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4919 maintainer-clean-binutils:
4920 @[ -f ./binutils/Makefile ] || exit 0; \
4921 r=`${PWD_COMMAND}`; export r; \
4922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4925 for flag in $(EXTRA_HOST_FLAGS) ; do \
4926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4928 echo "Doing maintainer-clean in binutils" ; \
4930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4932 "RANLIB=$${RANLIB}" \
4933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4940 .PHONY: configure-bison maybe-configure-bison
4941 maybe-configure-bison:
4943 maybe-configure-bison: configure-bison
4945 @test ! -f bison/Makefile || exit 0; \
4946 [ -d bison ] || mkdir bison; \
4947 r=`${PWD_COMMAND}`; export r; \
4948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4950 echo Configuring in bison; \
4951 cd bison || exit 1; \
4954 srcdiroption="--srcdir=."; \
4956 /* | [A-Za-z]:[\\/]*) \
4957 srcdiroption="--srcdir=$(srcdir)/bison"; \
4958 libsrcdir="$$s/bison";; \
4960 srcdiroption="--srcdir=../$(srcdir)/bison"; \
4961 libsrcdir="$$s/bison";; \
4963 $(SHELL) $${libsrcdir}/configure \
4964 $(HOST_CONFIGARGS) $${srcdiroption} \
4968 .PHONY: all-bison maybe-all-bison
4972 maybe-all-bison: all-bison
4973 all-bison: configure-bison
4974 @r=`${PWD_COMMAND}`; export r; \
4975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4978 (cd bison && $(MAKE) $(FLAGS_TO_PASS) \
4982 .PHONY: check-bison maybe-check-bison
4985 maybe-check-bison: check-bison
4987 # This module is only tested in a native toolchain.
4989 @if [ '$(host)' = '$(target)' ] ; then \
4990 r=`${PWD_COMMAND}`; export r; \
4991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4994 (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
4999 .PHONY: install-bison maybe-install-bison
5000 maybe-install-bison:
5002 maybe-install-bison: install-bison
5004 install-bison: installdirs
5005 @r=`${PWD_COMMAND}`; export r; \
5006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5009 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
5013 # Other targets (info, dvi, etc.)
5015 .PHONY: maybe-info-bison info-bison
5018 maybe-info-bison: info-bison
5022 @[ -f ./bison/Makefile ] || exit 0; \
5023 r=`${PWD_COMMAND}`; export r; \
5024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5027 for flag in $(EXTRA_HOST_FLAGS) ; do \
5028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5030 echo "Doing info in bison" ; \
5032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5034 "RANLIB=$${RANLIB}" \
5035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5041 .PHONY: maybe-dvi-bison dvi-bison
5044 maybe-dvi-bison: dvi-bison
5048 @[ -f ./bison/Makefile ] || exit 0; \
5049 r=`${PWD_COMMAND}`; export r; \
5050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5053 for flag in $(EXTRA_HOST_FLAGS) ; do \
5054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5056 echo "Doing dvi in bison" ; \
5058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5060 "RANLIB=$${RANLIB}" \
5061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5067 .PHONY: maybe-html-bison html-bison
5070 maybe-html-bison: html-bison
5074 @[ -f ./bison/Makefile ] || exit 0; \
5075 r=`${PWD_COMMAND}`; export r; \
5076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5079 for flag in $(EXTRA_HOST_FLAGS) ; do \
5080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5082 echo "Doing html in bison" ; \
5084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5086 "RANLIB=$${RANLIB}" \
5087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5093 .PHONY: maybe-TAGS-bison TAGS-bison
5096 maybe-TAGS-bison: TAGS-bison
5100 @[ -f ./bison/Makefile ] || exit 0; \
5101 r=`${PWD_COMMAND}`; export r; \
5102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5105 for flag in $(EXTRA_HOST_FLAGS) ; do \
5106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5108 echo "Doing TAGS in bison" ; \
5110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5112 "RANLIB=$${RANLIB}" \
5113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5119 .PHONY: maybe-install-info-bison install-info-bison
5120 maybe-install-info-bison:
5122 maybe-install-info-bison: install-info-bison
5124 install-info-bison: \
5127 @[ -f ./bison/Makefile ] || exit 0; \
5128 r=`${PWD_COMMAND}`; export r; \
5129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5132 for flag in $(EXTRA_HOST_FLAGS) ; do \
5133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5135 echo "Doing install-info in bison" ; \
5137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5139 "RANLIB=$${RANLIB}" \
5140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5146 .PHONY: maybe-installcheck-bison installcheck-bison
5147 maybe-installcheck-bison:
5149 maybe-installcheck-bison: installcheck-bison
5151 installcheck-bison: \
5153 @[ -f ./bison/Makefile ] || exit 0; \
5154 r=`${PWD_COMMAND}`; export r; \
5155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5158 for flag in $(EXTRA_HOST_FLAGS) ; do \
5159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5161 echo "Doing installcheck in bison" ; \
5163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5165 "RANLIB=$${RANLIB}" \
5166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5172 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5173 maybe-mostlyclean-bison:
5175 maybe-mostlyclean-bison: mostlyclean-bison
5178 @[ -f ./bison/Makefile ] || exit 0; \
5179 r=`${PWD_COMMAND}`; export r; \
5180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5183 for flag in $(EXTRA_HOST_FLAGS) ; do \
5184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5186 echo "Doing mostlyclean in bison" ; \
5188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5190 "RANLIB=$${RANLIB}" \
5191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5197 .PHONY: maybe-clean-bison clean-bison
5200 maybe-clean-bison: clean-bison
5203 @[ -f ./bison/Makefile ] || exit 0; \
5204 r=`${PWD_COMMAND}`; export r; \
5205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5208 for flag in $(EXTRA_HOST_FLAGS) ; do \
5209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5211 echo "Doing clean in bison" ; \
5213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5215 "RANLIB=$${RANLIB}" \
5216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5222 .PHONY: maybe-distclean-bison distclean-bison
5223 maybe-distclean-bison:
5225 maybe-distclean-bison: distclean-bison
5228 @[ -f ./bison/Makefile ] || exit 0; \
5229 r=`${PWD_COMMAND}`; export r; \
5230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5233 for flag in $(EXTRA_HOST_FLAGS) ; do \
5234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5236 echo "Doing distclean in bison" ; \
5238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5240 "RANLIB=$${RANLIB}" \
5241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5247 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
5248 maybe-maintainer-clean-bison:
5250 maybe-maintainer-clean-bison: maintainer-clean-bison
5252 maintainer-clean-bison:
5253 @[ -f ./bison/Makefile ] || exit 0; \
5254 r=`${PWD_COMMAND}`; export r; \
5255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5258 for flag in $(EXTRA_HOST_FLAGS) ; do \
5259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5261 echo "Doing maintainer-clean in bison" ; \
5263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5265 "RANLIB=$${RANLIB}" \
5266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5273 .PHONY: configure-byacc maybe-configure-byacc
5274 maybe-configure-byacc:
5276 maybe-configure-byacc: configure-byacc
5278 @test ! -f byacc/Makefile || exit 0; \
5279 [ -d byacc ] || mkdir byacc; \
5280 r=`${PWD_COMMAND}`; export r; \
5281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5283 echo Configuring in byacc; \
5284 cd byacc || exit 1; \
5287 srcdiroption="--srcdir=."; \
5289 /* | [A-Za-z]:[\\/]*) \
5290 srcdiroption="--srcdir=$(srcdir)/byacc"; \
5291 libsrcdir="$$s/byacc";; \
5293 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
5294 libsrcdir="$$s/byacc";; \
5296 $(SHELL) $${libsrcdir}/configure \
5297 $(HOST_CONFIGARGS) $${srcdiroption} \
5301 .PHONY: all-byacc maybe-all-byacc
5305 maybe-all-byacc: all-byacc
5306 all-byacc: configure-byacc
5307 @r=`${PWD_COMMAND}`; export r; \
5308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5311 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) \
5315 .PHONY: check-byacc maybe-check-byacc
5318 maybe-check-byacc: check-byacc
5320 # This module is only tested in a native toolchain.
5322 @if [ '$(host)' = '$(target)' ] ; then \
5323 r=`${PWD_COMMAND}`; export r; \
5324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5327 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \
5332 .PHONY: install-byacc maybe-install-byacc
5333 maybe-install-byacc:
5335 maybe-install-byacc: install-byacc
5337 install-byacc: installdirs
5338 @r=`${PWD_COMMAND}`; export r; \
5339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5342 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
5346 # Other targets (info, dvi, etc.)
5348 .PHONY: maybe-info-byacc info-byacc
5351 maybe-info-byacc: info-byacc
5355 @[ -f ./byacc/Makefile ] || exit 0; \
5356 r=`${PWD_COMMAND}`; export r; \
5357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5360 for flag in $(EXTRA_HOST_FLAGS) ; do \
5361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5363 echo "Doing info in byacc" ; \
5365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5367 "RANLIB=$${RANLIB}" \
5368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5374 .PHONY: maybe-dvi-byacc dvi-byacc
5377 maybe-dvi-byacc: dvi-byacc
5381 @[ -f ./byacc/Makefile ] || exit 0; \
5382 r=`${PWD_COMMAND}`; export r; \
5383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5386 for flag in $(EXTRA_HOST_FLAGS) ; do \
5387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5389 echo "Doing dvi in byacc" ; \
5391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5393 "RANLIB=$${RANLIB}" \
5394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5400 .PHONY: maybe-html-byacc html-byacc
5403 maybe-html-byacc: html-byacc
5407 @[ -f ./byacc/Makefile ] || exit 0; \
5408 r=`${PWD_COMMAND}`; export r; \
5409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5412 for flag in $(EXTRA_HOST_FLAGS) ; do \
5413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5415 echo "Doing html in byacc" ; \
5417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5419 "RANLIB=$${RANLIB}" \
5420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5426 .PHONY: maybe-TAGS-byacc TAGS-byacc
5429 maybe-TAGS-byacc: TAGS-byacc
5433 @[ -f ./byacc/Makefile ] || exit 0; \
5434 r=`${PWD_COMMAND}`; export r; \
5435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5438 for flag in $(EXTRA_HOST_FLAGS) ; do \
5439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5441 echo "Doing TAGS in byacc" ; \
5443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5445 "RANLIB=$${RANLIB}" \
5446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5452 .PHONY: maybe-install-info-byacc install-info-byacc
5453 maybe-install-info-byacc:
5455 maybe-install-info-byacc: install-info-byacc
5457 install-info-byacc: \
5460 @[ -f ./byacc/Makefile ] || exit 0; \
5461 r=`${PWD_COMMAND}`; export r; \
5462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5465 for flag in $(EXTRA_HOST_FLAGS) ; do \
5466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5468 echo "Doing install-info in byacc" ; \
5470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5472 "RANLIB=$${RANLIB}" \
5473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5479 .PHONY: maybe-installcheck-byacc installcheck-byacc
5480 maybe-installcheck-byacc:
5482 maybe-installcheck-byacc: installcheck-byacc
5484 installcheck-byacc: \
5486 @[ -f ./byacc/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 installcheck in byacc" ; \
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-mostlyclean-byacc mostlyclean-byacc
5506 maybe-mostlyclean-byacc:
5508 maybe-mostlyclean-byacc: mostlyclean-byacc
5511 @[ -f ./byacc/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 mostlyclean in byacc" ; \
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-clean-byacc clean-byacc
5533 maybe-clean-byacc: clean-byacc
5536 @[ -f ./byacc/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 clean in byacc" ; \
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-distclean-byacc distclean-byacc
5556 maybe-distclean-byacc:
5558 maybe-distclean-byacc: distclean-byacc
5561 @[ -f ./byacc/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 distclean in byacc" ; \
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}" \
5580 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
5581 maybe-maintainer-clean-byacc:
5583 maybe-maintainer-clean-byacc: maintainer-clean-byacc
5585 maintainer-clean-byacc:
5586 @[ -f ./byacc/Makefile ] || exit 0; \
5587 r=`${PWD_COMMAND}`; export r; \
5588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5591 for flag in $(EXTRA_HOST_FLAGS) ; do \
5592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5594 echo "Doing maintainer-clean in byacc" ; \
5596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5598 "RANLIB=$${RANLIB}" \
5599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5606 .PHONY: configure-bzip2 maybe-configure-bzip2
5607 maybe-configure-bzip2:
5609 maybe-configure-bzip2: configure-bzip2
5611 @test ! -f bzip2/Makefile || exit 0; \
5612 [ -d bzip2 ] || mkdir bzip2; \
5613 r=`${PWD_COMMAND}`; export r; \
5614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5616 echo Configuring in bzip2; \
5617 cd bzip2 || exit 1; \
5620 srcdiroption="--srcdir=."; \
5622 /* | [A-Za-z]:[\\/]*) \
5623 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
5624 libsrcdir="$$s/bzip2";; \
5626 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
5627 libsrcdir="$$s/bzip2";; \
5629 $(SHELL) $${libsrcdir}/configure \
5630 $(HOST_CONFIGARGS) $${srcdiroption} \
5634 .PHONY: all-bzip2 maybe-all-bzip2
5638 maybe-all-bzip2: all-bzip2
5639 all-bzip2: configure-bzip2
5640 @r=`${PWD_COMMAND}`; export r; \
5641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5644 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) \
5648 .PHONY: check-bzip2 maybe-check-bzip2
5651 maybe-check-bzip2: check-bzip2
5654 @r=`${PWD_COMMAND}`; export r; \
5655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5658 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
5662 .PHONY: install-bzip2 maybe-install-bzip2
5663 maybe-install-bzip2:
5665 maybe-install-bzip2: install-bzip2
5667 install-bzip2: installdirs
5668 @r=`${PWD_COMMAND}`; export r; \
5669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5672 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
5676 # Other targets (info, dvi, etc.)
5678 .PHONY: maybe-info-bzip2 info-bzip2
5681 maybe-info-bzip2: info-bzip2
5685 @[ -f ./bzip2/Makefile ] || exit 0; \
5686 r=`${PWD_COMMAND}`; export r; \
5687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5690 for flag in $(EXTRA_HOST_FLAGS) ; do \
5691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5693 echo "Doing info in bzip2" ; \
5695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5697 "RANLIB=$${RANLIB}" \
5698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5704 .PHONY: maybe-dvi-bzip2 dvi-bzip2
5707 maybe-dvi-bzip2: dvi-bzip2
5711 @[ -f ./bzip2/Makefile ] || exit 0; \
5712 r=`${PWD_COMMAND}`; export r; \
5713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5716 for flag in $(EXTRA_HOST_FLAGS) ; do \
5717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5719 echo "Doing dvi in bzip2" ; \
5721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5723 "RANLIB=$${RANLIB}" \
5724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5730 .PHONY: maybe-html-bzip2 html-bzip2
5733 maybe-html-bzip2: html-bzip2
5737 @[ -f ./bzip2/Makefile ] || exit 0; \
5738 r=`${PWD_COMMAND}`; export r; \
5739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5742 for flag in $(EXTRA_HOST_FLAGS) ; do \
5743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5745 echo "Doing html in bzip2" ; \
5747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5749 "RANLIB=$${RANLIB}" \
5750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5756 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
5759 maybe-TAGS-bzip2: TAGS-bzip2
5763 @[ -f ./bzip2/Makefile ] || exit 0; \
5764 r=`${PWD_COMMAND}`; export r; \
5765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5768 for flag in $(EXTRA_HOST_FLAGS) ; do \
5769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5771 echo "Doing TAGS in bzip2" ; \
5773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5775 "RANLIB=$${RANLIB}" \
5776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5782 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5783 maybe-install-info-bzip2:
5785 maybe-install-info-bzip2: install-info-bzip2
5787 install-info-bzip2: \
5790 @[ -f ./bzip2/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 install-info in bzip2" ; \
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-installcheck-bzip2 installcheck-bzip2
5810 maybe-installcheck-bzip2:
5812 maybe-installcheck-bzip2: installcheck-bzip2
5814 installcheck-bzip2: \
5816 @[ -f ./bzip2/Makefile ] || exit 0; \
5817 r=`${PWD_COMMAND}`; export r; \
5818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5821 for flag in $(EXTRA_HOST_FLAGS) ; do \
5822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5824 echo "Doing installcheck in bzip2" ; \
5826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5828 "RANLIB=$${RANLIB}" \
5829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5835 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5836 maybe-mostlyclean-bzip2:
5838 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5841 @[ -f ./bzip2/Makefile ] || exit 0; \
5842 r=`${PWD_COMMAND}`; export r; \
5843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5846 for flag in $(EXTRA_HOST_FLAGS) ; do \
5847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5849 echo "Doing mostlyclean in bzip2" ; \
5851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5853 "RANLIB=$${RANLIB}" \
5854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5860 .PHONY: maybe-clean-bzip2 clean-bzip2
5863 maybe-clean-bzip2: clean-bzip2
5866 @[ -f ./bzip2/Makefile ] || exit 0; \
5867 r=`${PWD_COMMAND}`; export r; \
5868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5871 for flag in $(EXTRA_HOST_FLAGS) ; do \
5872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5874 echo "Doing clean in bzip2" ; \
5876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5878 "RANLIB=$${RANLIB}" \
5879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5885 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5886 maybe-distclean-bzip2:
5888 maybe-distclean-bzip2: distclean-bzip2
5891 @[ -f ./bzip2/Makefile ] || exit 0; \
5892 r=`${PWD_COMMAND}`; export r; \
5893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5896 for flag in $(EXTRA_HOST_FLAGS) ; do \
5897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5899 echo "Doing distclean in bzip2" ; \
5901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5903 "RANLIB=$${RANLIB}" \
5904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5910 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5911 maybe-maintainer-clean-bzip2:
5913 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5915 maintainer-clean-bzip2:
5916 @[ -f ./bzip2/Makefile ] || exit 0; \
5917 r=`${PWD_COMMAND}`; export r; \
5918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5921 for flag in $(EXTRA_HOST_FLAGS) ; do \
5922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5924 echo "Doing maintainer-clean in bzip2" ; \
5926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5928 "RANLIB=$${RANLIB}" \
5929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5936 .PHONY: configure-dejagnu maybe-configure-dejagnu
5937 maybe-configure-dejagnu:
5939 maybe-configure-dejagnu: configure-dejagnu
5941 @test ! -f dejagnu/Makefile || exit 0; \
5942 [ -d dejagnu ] || mkdir dejagnu; \
5943 r=`${PWD_COMMAND}`; export r; \
5944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5946 echo Configuring in dejagnu; \
5947 cd dejagnu || exit 1; \
5950 srcdiroption="--srcdir=."; \
5952 /* | [A-Za-z]:[\\/]*) \
5953 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
5954 libsrcdir="$$s/dejagnu";; \
5956 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
5957 libsrcdir="$$s/dejagnu";; \
5959 $(SHELL) $${libsrcdir}/configure \
5960 $(HOST_CONFIGARGS) $${srcdiroption} \
5964 .PHONY: all-dejagnu maybe-all-dejagnu
5968 maybe-all-dejagnu: all-dejagnu
5969 all-dejagnu: configure-dejagnu
5970 @r=`${PWD_COMMAND}`; export r; \
5971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5974 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) \
5978 .PHONY: check-dejagnu maybe-check-dejagnu
5979 maybe-check-dejagnu:
5981 maybe-check-dejagnu: check-dejagnu
5984 @r=`${PWD_COMMAND}`; export r; \
5985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5988 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
5992 .PHONY: install-dejagnu maybe-install-dejagnu
5993 maybe-install-dejagnu:
5995 maybe-install-dejagnu: install-dejagnu
5997 install-dejagnu: installdirs
5998 @r=`${PWD_COMMAND}`; export r; \
5999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6002 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
6006 # Other targets (info, dvi, etc.)
6008 .PHONY: maybe-info-dejagnu info-dejagnu
6011 maybe-info-dejagnu: info-dejagnu
6015 @[ -f ./dejagnu/Makefile ] || exit 0; \
6016 r=`${PWD_COMMAND}`; export r; \
6017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6020 for flag in $(EXTRA_HOST_FLAGS) ; do \
6021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6023 echo "Doing info in dejagnu" ; \
6025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6027 "RANLIB=$${RANLIB}" \
6028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6034 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6037 maybe-dvi-dejagnu: dvi-dejagnu
6041 @[ -f ./dejagnu/Makefile ] || exit 0; \
6042 r=`${PWD_COMMAND}`; export r; \
6043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6046 for flag in $(EXTRA_HOST_FLAGS) ; do \
6047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6049 echo "Doing dvi in dejagnu" ; \
6051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6053 "RANLIB=$${RANLIB}" \
6054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6060 .PHONY: maybe-html-dejagnu html-dejagnu
6063 maybe-html-dejagnu: html-dejagnu
6067 @[ -f ./dejagnu/Makefile ] || exit 0; \
6068 r=`${PWD_COMMAND}`; export r; \
6069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6072 for flag in $(EXTRA_HOST_FLAGS) ; do \
6073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6075 echo "Doing html in dejagnu" ; \
6077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6079 "RANLIB=$${RANLIB}" \
6080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6086 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6089 maybe-TAGS-dejagnu: TAGS-dejagnu
6093 @[ -f ./dejagnu/Makefile ] || exit 0; \
6094 r=`${PWD_COMMAND}`; export r; \
6095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6098 for flag in $(EXTRA_HOST_FLAGS) ; do \
6099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6101 echo "Doing TAGS in dejagnu" ; \
6103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6105 "RANLIB=$${RANLIB}" \
6106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6112 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6113 maybe-install-info-dejagnu:
6115 maybe-install-info-dejagnu: install-info-dejagnu
6117 install-info-dejagnu: \
6120 @[ -f ./dejagnu/Makefile ] || exit 0; \
6121 r=`${PWD_COMMAND}`; export r; \
6122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6125 for flag in $(EXTRA_HOST_FLAGS) ; do \
6126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6128 echo "Doing install-info in dejagnu" ; \
6130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6132 "RANLIB=$${RANLIB}" \
6133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6139 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6140 maybe-installcheck-dejagnu:
6142 maybe-installcheck-dejagnu: installcheck-dejagnu
6144 installcheck-dejagnu: \
6146 @[ -f ./dejagnu/Makefile ] || exit 0; \
6147 r=`${PWD_COMMAND}`; export r; \
6148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6151 for flag in $(EXTRA_HOST_FLAGS) ; do \
6152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6154 echo "Doing installcheck in dejagnu" ; \
6156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6158 "RANLIB=$${RANLIB}" \
6159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6165 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6166 maybe-mostlyclean-dejagnu:
6168 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6170 mostlyclean-dejagnu:
6171 @[ -f ./dejagnu/Makefile ] || exit 0; \
6172 r=`${PWD_COMMAND}`; export r; \
6173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6176 for flag in $(EXTRA_HOST_FLAGS) ; do \
6177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6179 echo "Doing mostlyclean in dejagnu" ; \
6181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6183 "RANLIB=$${RANLIB}" \
6184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6190 .PHONY: maybe-clean-dejagnu clean-dejagnu
6191 maybe-clean-dejagnu:
6193 maybe-clean-dejagnu: clean-dejagnu
6196 @[ -f ./dejagnu/Makefile ] || exit 0; \
6197 r=`${PWD_COMMAND}`; export r; \
6198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6201 for flag in $(EXTRA_HOST_FLAGS) ; do \
6202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6204 echo "Doing clean in dejagnu" ; \
6206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6208 "RANLIB=$${RANLIB}" \
6209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6215 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6216 maybe-distclean-dejagnu:
6218 maybe-distclean-dejagnu: distclean-dejagnu
6221 @[ -f ./dejagnu/Makefile ] || exit 0; \
6222 r=`${PWD_COMMAND}`; export r; \
6223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6226 for flag in $(EXTRA_HOST_FLAGS) ; do \
6227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6229 echo "Doing distclean in dejagnu" ; \
6231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6233 "RANLIB=$${RANLIB}" \
6234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6240 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6241 maybe-maintainer-clean-dejagnu:
6243 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6245 maintainer-clean-dejagnu:
6246 @[ -f ./dejagnu/Makefile ] || exit 0; \
6247 r=`${PWD_COMMAND}`; export r; \
6248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6251 for flag in $(EXTRA_HOST_FLAGS) ; do \
6252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6254 echo "Doing maintainer-clean in dejagnu" ; \
6256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6258 "RANLIB=$${RANLIB}" \
6259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6266 .PHONY: configure-diff maybe-configure-diff
6267 maybe-configure-diff:
6269 maybe-configure-diff: configure-diff
6271 @test ! -f diff/Makefile || exit 0; \
6272 [ -d diff ] || mkdir diff; \
6273 r=`${PWD_COMMAND}`; export r; \
6274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6276 echo Configuring in diff; \
6277 cd diff || exit 1; \
6280 srcdiroption="--srcdir=."; \
6282 /* | [A-Za-z]:[\\/]*) \
6283 srcdiroption="--srcdir=$(srcdir)/diff"; \
6284 libsrcdir="$$s/diff";; \
6286 srcdiroption="--srcdir=../$(srcdir)/diff"; \
6287 libsrcdir="$$s/diff";; \
6289 $(SHELL) $${libsrcdir}/configure \
6290 $(HOST_CONFIGARGS) $${srcdiroption} \
6294 .PHONY: all-diff maybe-all-diff
6298 maybe-all-diff: all-diff
6299 all-diff: configure-diff
6300 @r=`${PWD_COMMAND}`; export r; \
6301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6304 (cd diff && $(MAKE) $(FLAGS_TO_PASS) \
6308 .PHONY: check-diff maybe-check-diff
6311 maybe-check-diff: check-diff
6314 @r=`${PWD_COMMAND}`; export r; \
6315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6318 (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
6322 .PHONY: install-diff maybe-install-diff
6325 maybe-install-diff: install-diff
6327 install-diff: installdirs
6328 @r=`${PWD_COMMAND}`; export r; \
6329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6332 (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
6336 # Other targets (info, dvi, etc.)
6338 .PHONY: maybe-info-diff info-diff
6341 maybe-info-diff: info-diff
6345 @[ -f ./diff/Makefile ] || exit 0; \
6346 r=`${PWD_COMMAND}`; export r; \
6347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6350 for flag in $(EXTRA_HOST_FLAGS) ; do \
6351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6353 echo "Doing info in diff" ; \
6355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6357 "RANLIB=$${RANLIB}" \
6358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6364 .PHONY: maybe-dvi-diff dvi-diff
6367 maybe-dvi-diff: dvi-diff
6371 @[ -f ./diff/Makefile ] || exit 0; \
6372 r=`${PWD_COMMAND}`; export r; \
6373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6376 for flag in $(EXTRA_HOST_FLAGS) ; do \
6377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6379 echo "Doing dvi in diff" ; \
6381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6383 "RANLIB=$${RANLIB}" \
6384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6390 .PHONY: maybe-html-diff html-diff
6393 maybe-html-diff: html-diff
6397 @[ -f ./diff/Makefile ] || exit 0; \
6398 r=`${PWD_COMMAND}`; export r; \
6399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6402 for flag in $(EXTRA_HOST_FLAGS) ; do \
6403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6405 echo "Doing html in diff" ; \
6407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6409 "RANLIB=$${RANLIB}" \
6410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6416 .PHONY: maybe-TAGS-diff TAGS-diff
6419 maybe-TAGS-diff: TAGS-diff
6423 @[ -f ./diff/Makefile ] || exit 0; \
6424 r=`${PWD_COMMAND}`; export r; \
6425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6428 for flag in $(EXTRA_HOST_FLAGS) ; do \
6429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6431 echo "Doing TAGS in diff" ; \
6433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6435 "RANLIB=$${RANLIB}" \
6436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6442 .PHONY: maybe-install-info-diff install-info-diff
6443 maybe-install-info-diff:
6445 maybe-install-info-diff: install-info-diff
6447 install-info-diff: \
6450 @[ -f ./diff/Makefile ] || exit 0; \
6451 r=`${PWD_COMMAND}`; export r; \
6452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6455 for flag in $(EXTRA_HOST_FLAGS) ; do \
6456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6458 echo "Doing install-info in diff" ; \
6460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6462 "RANLIB=$${RANLIB}" \
6463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6469 .PHONY: maybe-installcheck-diff installcheck-diff
6470 maybe-installcheck-diff:
6472 maybe-installcheck-diff: installcheck-diff
6474 installcheck-diff: \
6476 @[ -f ./diff/Makefile ] || exit 0; \
6477 r=`${PWD_COMMAND}`; export r; \
6478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6481 for flag in $(EXTRA_HOST_FLAGS) ; do \
6482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6484 echo "Doing installcheck in diff" ; \
6486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6488 "RANLIB=$${RANLIB}" \
6489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6495 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
6496 maybe-mostlyclean-diff:
6498 maybe-mostlyclean-diff: mostlyclean-diff
6501 @[ -f ./diff/Makefile ] || exit 0; \
6502 r=`${PWD_COMMAND}`; export r; \
6503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6506 for flag in $(EXTRA_HOST_FLAGS) ; do \
6507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6509 echo "Doing mostlyclean in diff" ; \
6511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6513 "RANLIB=$${RANLIB}" \
6514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6520 .PHONY: maybe-clean-diff clean-diff
6523 maybe-clean-diff: clean-diff
6526 @[ -f ./diff/Makefile ] || exit 0; \
6527 r=`${PWD_COMMAND}`; export r; \
6528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6531 for flag in $(EXTRA_HOST_FLAGS) ; do \
6532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6534 echo "Doing clean in diff" ; \
6536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6538 "RANLIB=$${RANLIB}" \
6539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6545 .PHONY: maybe-distclean-diff distclean-diff
6546 maybe-distclean-diff:
6548 maybe-distclean-diff: distclean-diff
6551 @[ -f ./diff/Makefile ] || exit 0; \
6552 r=`${PWD_COMMAND}`; export r; \
6553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6556 for flag in $(EXTRA_HOST_FLAGS) ; do \
6557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6559 echo "Doing distclean in diff" ; \
6561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6563 "RANLIB=$${RANLIB}" \
6564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6570 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
6571 maybe-maintainer-clean-diff:
6573 maybe-maintainer-clean-diff: maintainer-clean-diff
6575 maintainer-clean-diff:
6576 @[ -f ./diff/Makefile ] || exit 0; \
6577 r=`${PWD_COMMAND}`; export r; \
6578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6581 for flag in $(EXTRA_HOST_FLAGS) ; do \
6582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6584 echo "Doing maintainer-clean in diff" ; \
6586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6588 "RANLIB=$${RANLIB}" \
6589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6596 .PHONY: configure-dosutils maybe-configure-dosutils
6597 maybe-configure-dosutils:
6599 maybe-configure-dosutils: configure-dosutils
6601 @test ! -f dosutils/Makefile || exit 0; \
6602 [ -d dosutils ] || mkdir dosutils; \
6603 r=`${PWD_COMMAND}`; export r; \
6604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6606 echo Configuring in dosutils; \
6607 cd dosutils || exit 1; \
6610 srcdiroption="--srcdir=."; \
6612 /* | [A-Za-z]:[\\/]*) \
6613 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
6614 libsrcdir="$$s/dosutils";; \
6616 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
6617 libsrcdir="$$s/dosutils";; \
6619 $(SHELL) $${libsrcdir}/configure \
6620 $(HOST_CONFIGARGS) $${srcdiroption} \
6624 .PHONY: all-dosutils maybe-all-dosutils
6628 maybe-all-dosutils: all-dosutils
6629 all-dosutils: configure-dosutils
6630 @r=`${PWD_COMMAND}`; export r; \
6631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6634 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) \
6638 .PHONY: check-dosutils maybe-check-dosutils
6639 maybe-check-dosutils:
6641 maybe-check-dosutils: check-dosutils
6647 .PHONY: install-dosutils maybe-install-dosutils
6648 maybe-install-dosutils:
6650 maybe-install-dosutils: install-dosutils
6652 install-dosutils: installdirs
6653 @r=`${PWD_COMMAND}`; export r; \
6654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6657 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
6661 # Other targets (info, dvi, etc.)
6663 .PHONY: maybe-info-dosutils info-dosutils
6664 maybe-info-dosutils:
6666 maybe-info-dosutils: info-dosutils
6670 @[ -f ./dosutils/Makefile ] || exit 0; \
6671 r=`${PWD_COMMAND}`; export r; \
6672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6675 for flag in $(EXTRA_HOST_FLAGS) ; do \
6676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6678 echo "Doing info in dosutils" ; \
6680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6682 "RANLIB=$${RANLIB}" \
6683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6689 .PHONY: maybe-dvi-dosutils dvi-dosutils
6692 maybe-dvi-dosutils: dvi-dosutils
6696 @[ -f ./dosutils/Makefile ] || exit 0; \
6697 r=`${PWD_COMMAND}`; export r; \
6698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6701 for flag in $(EXTRA_HOST_FLAGS) ; do \
6702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6704 echo "Doing dvi in dosutils" ; \
6706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6708 "RANLIB=$${RANLIB}" \
6709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6715 .PHONY: maybe-html-dosutils html-dosutils
6716 maybe-html-dosutils:
6718 maybe-html-dosutils: html-dosutils
6722 @[ -f ./dosutils/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 html in dosutils" ; \
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-TAGS-dosutils TAGS-dosutils
6742 maybe-TAGS-dosutils:
6744 maybe-TAGS-dosutils: TAGS-dosutils
6748 @[ -f ./dosutils/Makefile ] || exit 0; \
6749 r=`${PWD_COMMAND}`; export r; \
6750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6753 for flag in $(EXTRA_HOST_FLAGS) ; do \
6754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6756 echo "Doing TAGS in dosutils" ; \
6758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6760 "RANLIB=$${RANLIB}" \
6761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6767 .PHONY: maybe-install-info-dosutils install-info-dosutils
6768 maybe-install-info-dosutils:
6770 maybe-install-info-dosutils: install-info-dosutils
6772 install-info-dosutils: \
6773 configure-dosutils \
6775 @[ -f ./dosutils/Makefile ] || exit 0; \
6776 r=`${PWD_COMMAND}`; export r; \
6777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6780 for flag in $(EXTRA_HOST_FLAGS) ; do \
6781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6783 echo "Doing install-info in dosutils" ; \
6785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6787 "RANLIB=$${RANLIB}" \
6788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6794 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
6795 maybe-installcheck-dosutils:
6797 maybe-installcheck-dosutils: installcheck-dosutils
6799 installcheck-dosutils: \
6801 @[ -f ./dosutils/Makefile ] || exit 0; \
6802 r=`${PWD_COMMAND}`; export r; \
6803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6806 for flag in $(EXTRA_HOST_FLAGS) ; do \
6807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6809 echo "Doing installcheck in dosutils" ; \
6811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6813 "RANLIB=$${RANLIB}" \
6814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6820 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
6821 maybe-mostlyclean-dosutils:
6823 maybe-mostlyclean-dosutils: mostlyclean-dosutils
6825 mostlyclean-dosutils:
6826 @[ -f ./dosutils/Makefile ] || exit 0; \
6827 r=`${PWD_COMMAND}`; export r; \
6828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6831 for flag in $(EXTRA_HOST_FLAGS) ; do \
6832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6834 echo "Doing mostlyclean in dosutils" ; \
6836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6838 "RANLIB=$${RANLIB}" \
6839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6845 .PHONY: maybe-clean-dosutils clean-dosutils
6846 maybe-clean-dosutils:
6848 maybe-clean-dosutils: clean-dosutils
6851 @[ -f ./dosutils/Makefile ] || exit 0; \
6852 r=`${PWD_COMMAND}`; export r; \
6853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6856 for flag in $(EXTRA_HOST_FLAGS) ; do \
6857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6859 echo "Doing clean in dosutils" ; \
6861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6863 "RANLIB=$${RANLIB}" \
6864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6870 .PHONY: maybe-distclean-dosutils distclean-dosutils
6871 maybe-distclean-dosutils:
6873 maybe-distclean-dosutils: distclean-dosutils
6876 @[ -f ./dosutils/Makefile ] || exit 0; \
6877 r=`${PWD_COMMAND}`; export r; \
6878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6881 for flag in $(EXTRA_HOST_FLAGS) ; do \
6882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6884 echo "Doing distclean in dosutils" ; \
6886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6888 "RANLIB=$${RANLIB}" \
6889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6895 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6896 maybe-maintainer-clean-dosutils:
6898 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6900 maintainer-clean-dosutils:
6901 @[ -f ./dosutils/Makefile ] || exit 0; \
6902 r=`${PWD_COMMAND}`; export r; \
6903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6906 for flag in $(EXTRA_HOST_FLAGS) ; do \
6907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6909 echo "Doing maintainer-clean in dosutils" ; \
6911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6913 "RANLIB=$${RANLIB}" \
6914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6921 .PHONY: configure-etc maybe-configure-etc
6922 maybe-configure-etc:
6924 maybe-configure-etc: configure-etc
6926 @test ! -f etc/Makefile || exit 0; \
6927 [ -d etc ] || mkdir etc; \
6928 r=`${PWD_COMMAND}`; export r; \
6929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6931 echo Configuring in etc; \
6935 srcdiroption="--srcdir=."; \
6937 /* | [A-Za-z]:[\\/]*) \
6938 srcdiroption="--srcdir=$(srcdir)/etc"; \
6939 libsrcdir="$$s/etc";; \
6941 srcdiroption="--srcdir=../$(srcdir)/etc"; \
6942 libsrcdir="$$s/etc";; \
6944 $(SHELL) $${libsrcdir}/configure \
6945 $(HOST_CONFIGARGS) $${srcdiroption} \
6949 .PHONY: all-etc maybe-all-etc
6953 maybe-all-etc: all-etc
6954 all-etc: configure-etc
6955 @r=`${PWD_COMMAND}`; export r; \
6956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6959 (cd etc && $(MAKE) $(FLAGS_TO_PASS) \
6963 .PHONY: check-etc maybe-check-etc
6966 maybe-check-etc: check-etc
6969 @r=`${PWD_COMMAND}`; export r; \
6970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6973 (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
6977 .PHONY: install-etc maybe-install-etc
6980 maybe-install-etc: install-etc
6982 install-etc: installdirs
6983 @r=`${PWD_COMMAND}`; export r; \
6984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6987 (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
6991 # Other targets (info, dvi, etc.)
6993 .PHONY: maybe-info-etc info-etc
6996 maybe-info-etc: info-etc
7000 @[ -f ./etc/Makefile ] || exit 0; \
7001 r=`${PWD_COMMAND}`; export r; \
7002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7005 for flag in $(EXTRA_HOST_FLAGS) ; do \
7006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7008 echo "Doing info in etc" ; \
7010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7012 "RANLIB=$${RANLIB}" \
7013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7019 .PHONY: maybe-dvi-etc dvi-etc
7022 maybe-dvi-etc: dvi-etc
7026 @[ -f ./etc/Makefile ] || exit 0; \
7027 r=`${PWD_COMMAND}`; export r; \
7028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7031 for flag in $(EXTRA_HOST_FLAGS) ; do \
7032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7034 echo "Doing dvi in etc" ; \
7036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7038 "RANLIB=$${RANLIB}" \
7039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7045 .PHONY: maybe-html-etc html-etc
7048 maybe-html-etc: html-etc
7052 @[ -f ./etc/Makefile ] || exit 0; \
7053 r=`${PWD_COMMAND}`; export r; \
7054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7057 for flag in $(EXTRA_HOST_FLAGS) ; do \
7058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7060 echo "Doing html in etc" ; \
7062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7064 "RANLIB=$${RANLIB}" \
7065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7071 .PHONY: maybe-TAGS-etc TAGS-etc
7074 maybe-TAGS-etc: TAGS-etc
7078 @[ -f ./etc/Makefile ] || exit 0; \
7079 r=`${PWD_COMMAND}`; export r; \
7080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7083 for flag in $(EXTRA_HOST_FLAGS) ; do \
7084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7086 echo "Doing TAGS in etc" ; \
7088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7090 "RANLIB=$${RANLIB}" \
7091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7097 .PHONY: maybe-install-info-etc install-info-etc
7098 maybe-install-info-etc:
7100 maybe-install-info-etc: install-info-etc
7105 @[ -f ./etc/Makefile ] || exit 0; \
7106 r=`${PWD_COMMAND}`; export r; \
7107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7110 for flag in $(EXTRA_HOST_FLAGS) ; do \
7111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7113 echo "Doing install-info in etc" ; \
7115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7117 "RANLIB=$${RANLIB}" \
7118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7124 .PHONY: maybe-installcheck-etc installcheck-etc
7125 maybe-installcheck-etc:
7127 maybe-installcheck-etc: installcheck-etc
7131 @[ -f ./etc/Makefile ] || exit 0; \
7132 r=`${PWD_COMMAND}`; export r; \
7133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7136 for flag in $(EXTRA_HOST_FLAGS) ; do \
7137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7139 echo "Doing installcheck in etc" ; \
7141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7143 "RANLIB=$${RANLIB}" \
7144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7150 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7151 maybe-mostlyclean-etc:
7153 maybe-mostlyclean-etc: mostlyclean-etc
7156 @[ -f ./etc/Makefile ] || exit 0; \
7157 r=`${PWD_COMMAND}`; export r; \
7158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7161 for flag in $(EXTRA_HOST_FLAGS) ; do \
7162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7164 echo "Doing mostlyclean in etc" ; \
7166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7168 "RANLIB=$${RANLIB}" \
7169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7175 .PHONY: maybe-clean-etc clean-etc
7178 maybe-clean-etc: clean-etc
7181 @[ -f ./etc/Makefile ] || exit 0; \
7182 r=`${PWD_COMMAND}`; export r; \
7183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7186 for flag in $(EXTRA_HOST_FLAGS) ; do \
7187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7189 echo "Doing clean in etc" ; \
7191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7193 "RANLIB=$${RANLIB}" \
7194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7200 .PHONY: maybe-distclean-etc distclean-etc
7201 maybe-distclean-etc:
7203 maybe-distclean-etc: distclean-etc
7206 @[ -f ./etc/Makefile ] || exit 0; \
7207 r=`${PWD_COMMAND}`; export r; \
7208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7211 for flag in $(EXTRA_HOST_FLAGS) ; do \
7212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7214 echo "Doing distclean in etc" ; \
7216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7218 "RANLIB=$${RANLIB}" \
7219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7225 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7226 maybe-maintainer-clean-etc:
7228 maybe-maintainer-clean-etc: maintainer-clean-etc
7230 maintainer-clean-etc:
7231 @[ -f ./etc/Makefile ] || exit 0; \
7232 r=`${PWD_COMMAND}`; export r; \
7233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7236 for flag in $(EXTRA_HOST_FLAGS) ; do \
7237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7239 echo "Doing maintainer-clean in etc" ; \
7241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7243 "RANLIB=$${RANLIB}" \
7244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7251 .PHONY: configure-fastjar maybe-configure-fastjar
7252 maybe-configure-fastjar:
7254 maybe-configure-fastjar: configure-fastjar
7256 @test ! -f fastjar/Makefile || exit 0; \
7257 [ -d fastjar ] || mkdir fastjar; \
7258 r=`${PWD_COMMAND}`; export r; \
7259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7261 echo Configuring in fastjar; \
7262 cd fastjar || exit 1; \
7265 srcdiroption="--srcdir=."; \
7267 /* | [A-Za-z]:[\\/]*) \
7268 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
7269 libsrcdir="$$s/fastjar";; \
7271 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
7272 libsrcdir="$$s/fastjar";; \
7274 $(SHELL) $${libsrcdir}/configure \
7275 $(HOST_CONFIGARGS) $${srcdiroption} \
7279 .PHONY: all-fastjar maybe-all-fastjar
7283 maybe-all-fastjar: all-fastjar
7284 all-fastjar: configure-fastjar
7285 @r=`${PWD_COMMAND}`; export r; \
7286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7289 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) \
7293 .PHONY: check-fastjar maybe-check-fastjar
7294 maybe-check-fastjar:
7296 maybe-check-fastjar: check-fastjar
7298 # This module is only tested in a native toolchain.
7300 @if [ '$(host)' = '$(target)' ] ; then \
7301 r=`${PWD_COMMAND}`; export r; \
7302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7305 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \
7310 .PHONY: install-fastjar maybe-install-fastjar
7311 maybe-install-fastjar:
7313 maybe-install-fastjar: install-fastjar
7315 install-fastjar: installdirs
7316 @r=`${PWD_COMMAND}`; export r; \
7317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7320 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
7324 # Other targets (info, dvi, etc.)
7326 .PHONY: maybe-info-fastjar info-fastjar
7329 maybe-info-fastjar: info-fastjar
7333 @[ -f ./fastjar/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 info in fastjar" ; \
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-dvi-fastjar dvi-fastjar
7355 maybe-dvi-fastjar: dvi-fastjar
7359 @[ -f ./fastjar/Makefile ] || exit 0; \
7360 r=`${PWD_COMMAND}`; export r; \
7361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7364 for flag in $(EXTRA_HOST_FLAGS) ; do \
7365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7367 echo "Doing dvi in fastjar" ; \
7369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7371 "RANLIB=$${RANLIB}" \
7372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7378 .PHONY: maybe-html-fastjar html-fastjar
7381 maybe-html-fastjar: html-fastjar
7385 @[ -f ./fastjar/Makefile ] || exit 0; \
7386 r=`${PWD_COMMAND}`; export r; \
7387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7390 for flag in $(EXTRA_HOST_FLAGS) ; do \
7391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7393 echo "Doing html in fastjar" ; \
7395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7397 "RANLIB=$${RANLIB}" \
7398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7404 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7407 maybe-TAGS-fastjar: TAGS-fastjar
7411 @[ -f ./fastjar/Makefile ] || exit 0; \
7412 r=`${PWD_COMMAND}`; export r; \
7413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7416 for flag in $(EXTRA_HOST_FLAGS) ; do \
7417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7419 echo "Doing TAGS in fastjar" ; \
7421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7423 "RANLIB=$${RANLIB}" \
7424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7430 .PHONY: maybe-install-info-fastjar install-info-fastjar
7431 maybe-install-info-fastjar:
7433 maybe-install-info-fastjar: install-info-fastjar
7435 install-info-fastjar: \
7438 @[ -f ./fastjar/Makefile ] || exit 0; \
7439 r=`${PWD_COMMAND}`; export r; \
7440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7443 for flag in $(EXTRA_HOST_FLAGS) ; do \
7444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7446 echo "Doing install-info in fastjar" ; \
7448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7450 "RANLIB=$${RANLIB}" \
7451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7457 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7458 maybe-installcheck-fastjar:
7460 maybe-installcheck-fastjar: installcheck-fastjar
7462 installcheck-fastjar: \
7464 @[ -f ./fastjar/Makefile ] || exit 0; \
7465 r=`${PWD_COMMAND}`; export r; \
7466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7469 for flag in $(EXTRA_HOST_FLAGS) ; do \
7470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7472 echo "Doing installcheck in fastjar" ; \
7474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7476 "RANLIB=$${RANLIB}" \
7477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7483 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7484 maybe-mostlyclean-fastjar:
7486 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7488 mostlyclean-fastjar:
7489 @[ -f ./fastjar/Makefile ] || exit 0; \
7490 r=`${PWD_COMMAND}`; export r; \
7491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7494 for flag in $(EXTRA_HOST_FLAGS) ; do \
7495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7497 echo "Doing mostlyclean in fastjar" ; \
7499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7501 "RANLIB=$${RANLIB}" \
7502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7508 .PHONY: maybe-clean-fastjar clean-fastjar
7509 maybe-clean-fastjar:
7511 maybe-clean-fastjar: clean-fastjar
7514 @[ -f ./fastjar/Makefile ] || exit 0; \
7515 r=`${PWD_COMMAND}`; export r; \
7516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7519 for flag in $(EXTRA_HOST_FLAGS) ; do \
7520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7522 echo "Doing clean in fastjar" ; \
7524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7526 "RANLIB=$${RANLIB}" \
7527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7533 .PHONY: maybe-distclean-fastjar distclean-fastjar
7534 maybe-distclean-fastjar:
7536 maybe-distclean-fastjar: distclean-fastjar
7539 @[ -f ./fastjar/Makefile ] || exit 0; \
7540 r=`${PWD_COMMAND}`; export r; \
7541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7544 for flag in $(EXTRA_HOST_FLAGS) ; do \
7545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7547 echo "Doing distclean in fastjar" ; \
7549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7551 "RANLIB=$${RANLIB}" \
7552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7558 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7559 maybe-maintainer-clean-fastjar:
7561 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7563 maintainer-clean-fastjar:
7564 @[ -f ./fastjar/Makefile ] || exit 0; \
7565 r=`${PWD_COMMAND}`; export r; \
7566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7569 for flag in $(EXTRA_HOST_FLAGS) ; do \
7570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7572 echo "Doing maintainer-clean in fastjar" ; \
7574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7576 "RANLIB=$${RANLIB}" \
7577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7584 .PHONY: configure-fileutils maybe-configure-fileutils
7585 maybe-configure-fileutils:
7587 maybe-configure-fileutils: configure-fileutils
7588 configure-fileutils:
7589 @test ! -f fileutils/Makefile || exit 0; \
7590 [ -d fileutils ] || mkdir fileutils; \
7591 r=`${PWD_COMMAND}`; export r; \
7592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7594 echo Configuring in fileutils; \
7595 cd fileutils || exit 1; \
7598 srcdiroption="--srcdir=."; \
7600 /* | [A-Za-z]:[\\/]*) \
7601 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
7602 libsrcdir="$$s/fileutils";; \
7604 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
7605 libsrcdir="$$s/fileutils";; \
7607 $(SHELL) $${libsrcdir}/configure \
7608 $(HOST_CONFIGARGS) $${srcdiroption} \
7612 .PHONY: all-fileutils maybe-all-fileutils
7613 maybe-all-fileutils:
7615 TARGET-fileutils=all
7616 maybe-all-fileutils: all-fileutils
7617 all-fileutils: configure-fileutils
7618 @r=`${PWD_COMMAND}`; export r; \
7619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7622 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) \
7623 $(TARGET-fileutils))
7626 .PHONY: check-fileutils maybe-check-fileutils
7627 maybe-check-fileutils:
7629 maybe-check-fileutils: check-fileutils
7632 @r=`${PWD_COMMAND}`; export r; \
7633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7636 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
7640 .PHONY: install-fileutils maybe-install-fileutils
7641 maybe-install-fileutils:
7643 maybe-install-fileutils: install-fileutils
7645 install-fileutils: installdirs
7646 @r=`${PWD_COMMAND}`; export r; \
7647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7650 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
7654 # Other targets (info, dvi, etc.)
7656 .PHONY: maybe-info-fileutils info-fileutils
7657 maybe-info-fileutils:
7659 maybe-info-fileutils: info-fileutils
7663 @[ -f ./fileutils/Makefile ] || exit 0; \
7664 r=`${PWD_COMMAND}`; export r; \
7665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7668 for flag in $(EXTRA_HOST_FLAGS) ; do \
7669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7671 echo "Doing info in fileutils" ; \
7673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7675 "RANLIB=$${RANLIB}" \
7676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7682 .PHONY: maybe-dvi-fileutils dvi-fileutils
7683 maybe-dvi-fileutils:
7685 maybe-dvi-fileutils: dvi-fileutils
7689 @[ -f ./fileutils/Makefile ] || exit 0; \
7690 r=`${PWD_COMMAND}`; export r; \
7691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7694 for flag in $(EXTRA_HOST_FLAGS) ; do \
7695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7697 echo "Doing dvi in fileutils" ; \
7699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7701 "RANLIB=$${RANLIB}" \
7702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7708 .PHONY: maybe-html-fileutils html-fileutils
7709 maybe-html-fileutils:
7711 maybe-html-fileutils: html-fileutils
7715 @[ -f ./fileutils/Makefile ] || exit 0; \
7716 r=`${PWD_COMMAND}`; export r; \
7717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7720 for flag in $(EXTRA_HOST_FLAGS) ; do \
7721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7723 echo "Doing html in fileutils" ; \
7725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7727 "RANLIB=$${RANLIB}" \
7728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7734 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
7735 maybe-TAGS-fileutils:
7737 maybe-TAGS-fileutils: TAGS-fileutils
7741 @[ -f ./fileutils/Makefile ] || exit 0; \
7742 r=`${PWD_COMMAND}`; export r; \
7743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7746 for flag in $(EXTRA_HOST_FLAGS) ; do \
7747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7749 echo "Doing TAGS in fileutils" ; \
7751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7753 "RANLIB=$${RANLIB}" \
7754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7760 .PHONY: maybe-install-info-fileutils install-info-fileutils
7761 maybe-install-info-fileutils:
7763 maybe-install-info-fileutils: install-info-fileutils
7765 install-info-fileutils: \
7766 configure-fileutils \
7768 @[ -f ./fileutils/Makefile ] || exit 0; \
7769 r=`${PWD_COMMAND}`; export r; \
7770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7773 for flag in $(EXTRA_HOST_FLAGS) ; do \
7774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7776 echo "Doing install-info in fileutils" ; \
7778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7780 "RANLIB=$${RANLIB}" \
7781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7787 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
7788 maybe-installcheck-fileutils:
7790 maybe-installcheck-fileutils: installcheck-fileutils
7792 installcheck-fileutils: \
7794 @[ -f ./fileutils/Makefile ] || exit 0; \
7795 r=`${PWD_COMMAND}`; export r; \
7796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7799 for flag in $(EXTRA_HOST_FLAGS) ; do \
7800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7802 echo "Doing installcheck in fileutils" ; \
7804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7806 "RANLIB=$${RANLIB}" \
7807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7813 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
7814 maybe-mostlyclean-fileutils:
7816 maybe-mostlyclean-fileutils: mostlyclean-fileutils
7818 mostlyclean-fileutils:
7819 @[ -f ./fileutils/Makefile ] || exit 0; \
7820 r=`${PWD_COMMAND}`; export r; \
7821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7824 for flag in $(EXTRA_HOST_FLAGS) ; do \
7825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7827 echo "Doing mostlyclean in fileutils" ; \
7829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7831 "RANLIB=$${RANLIB}" \
7832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7838 .PHONY: maybe-clean-fileutils clean-fileutils
7839 maybe-clean-fileutils:
7841 maybe-clean-fileutils: clean-fileutils
7844 @[ -f ./fileutils/Makefile ] || exit 0; \
7845 r=`${PWD_COMMAND}`; export r; \
7846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7849 for flag in $(EXTRA_HOST_FLAGS) ; do \
7850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7852 echo "Doing clean in fileutils" ; \
7854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7856 "RANLIB=$${RANLIB}" \
7857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7863 .PHONY: maybe-distclean-fileutils distclean-fileutils
7864 maybe-distclean-fileutils:
7866 maybe-distclean-fileutils: distclean-fileutils
7868 distclean-fileutils:
7869 @[ -f ./fileutils/Makefile ] || exit 0; \
7870 r=`${PWD_COMMAND}`; export r; \
7871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7874 for flag in $(EXTRA_HOST_FLAGS) ; do \
7875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7877 echo "Doing distclean in fileutils" ; \
7879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7881 "RANLIB=$${RANLIB}" \
7882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7888 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
7889 maybe-maintainer-clean-fileutils:
7891 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
7893 maintainer-clean-fileutils:
7894 @[ -f ./fileutils/Makefile ] || exit 0; \
7895 r=`${PWD_COMMAND}`; export r; \
7896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7899 for flag in $(EXTRA_HOST_FLAGS) ; do \
7900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7902 echo "Doing maintainer-clean in fileutils" ; \
7904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7906 "RANLIB=$${RANLIB}" \
7907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7914 .PHONY: configure-findutils maybe-configure-findutils
7915 maybe-configure-findutils:
7917 maybe-configure-findutils: configure-findutils
7918 configure-findutils:
7919 @test ! -f findutils/Makefile || exit 0; \
7920 [ -d findutils ] || mkdir findutils; \
7921 r=`${PWD_COMMAND}`; export r; \
7922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7924 echo Configuring in findutils; \
7925 cd findutils || exit 1; \
7928 srcdiroption="--srcdir=."; \
7930 /* | [A-Za-z]:[\\/]*) \
7931 srcdiroption="--srcdir=$(srcdir)/findutils"; \
7932 libsrcdir="$$s/findutils";; \
7934 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
7935 libsrcdir="$$s/findutils";; \
7937 $(SHELL) $${libsrcdir}/configure \
7938 $(HOST_CONFIGARGS) $${srcdiroption} \
7942 .PHONY: all-findutils maybe-all-findutils
7943 maybe-all-findutils:
7945 TARGET-findutils=all
7946 maybe-all-findutils: all-findutils
7947 all-findutils: configure-findutils
7948 @r=`${PWD_COMMAND}`; export r; \
7949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7952 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) \
7953 $(TARGET-findutils))
7956 .PHONY: check-findutils maybe-check-findutils
7957 maybe-check-findutils:
7959 maybe-check-findutils: check-findutils
7962 @r=`${PWD_COMMAND}`; export r; \
7963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7966 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
7970 .PHONY: install-findutils maybe-install-findutils
7971 maybe-install-findutils:
7973 maybe-install-findutils: install-findutils
7975 install-findutils: installdirs
7976 @r=`${PWD_COMMAND}`; export r; \
7977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7980 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
7984 # Other targets (info, dvi, etc.)
7986 .PHONY: maybe-info-findutils info-findutils
7987 maybe-info-findutils:
7989 maybe-info-findutils: info-findutils
7993 @[ -f ./findutils/Makefile ] || exit 0; \
7994 r=`${PWD_COMMAND}`; export r; \
7995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7998 for flag in $(EXTRA_HOST_FLAGS) ; do \
7999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8001 echo "Doing info in findutils" ; \
8003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8005 "RANLIB=$${RANLIB}" \
8006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8012 .PHONY: maybe-dvi-findutils dvi-findutils
8013 maybe-dvi-findutils:
8015 maybe-dvi-findutils: dvi-findutils
8019 @[ -f ./findutils/Makefile ] || exit 0; \
8020 r=`${PWD_COMMAND}`; export r; \
8021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8024 for flag in $(EXTRA_HOST_FLAGS) ; do \
8025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8027 echo "Doing dvi in findutils" ; \
8029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8031 "RANLIB=$${RANLIB}" \
8032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8038 .PHONY: maybe-html-findutils html-findutils
8039 maybe-html-findutils:
8041 maybe-html-findutils: html-findutils
8045 @[ -f ./findutils/Makefile ] || exit 0; \
8046 r=`${PWD_COMMAND}`; export r; \
8047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8050 for flag in $(EXTRA_HOST_FLAGS) ; do \
8051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8053 echo "Doing html in findutils" ; \
8055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8057 "RANLIB=$${RANLIB}" \
8058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8064 .PHONY: maybe-TAGS-findutils TAGS-findutils
8065 maybe-TAGS-findutils:
8067 maybe-TAGS-findutils: TAGS-findutils
8071 @[ -f ./findutils/Makefile ] || exit 0; \
8072 r=`${PWD_COMMAND}`; export r; \
8073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8076 for flag in $(EXTRA_HOST_FLAGS) ; do \
8077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8079 echo "Doing TAGS in findutils" ; \
8081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8083 "RANLIB=$${RANLIB}" \
8084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8090 .PHONY: maybe-install-info-findutils install-info-findutils
8091 maybe-install-info-findutils:
8093 maybe-install-info-findutils: install-info-findutils
8095 install-info-findutils: \
8096 configure-findutils \
8098 @[ -f ./findutils/Makefile ] || exit 0; \
8099 r=`${PWD_COMMAND}`; export r; \
8100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8103 for flag in $(EXTRA_HOST_FLAGS) ; do \
8104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8106 echo "Doing install-info in findutils" ; \
8108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8110 "RANLIB=$${RANLIB}" \
8111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8117 .PHONY: maybe-installcheck-findutils installcheck-findutils
8118 maybe-installcheck-findutils:
8120 maybe-installcheck-findutils: installcheck-findutils
8122 installcheck-findutils: \
8124 @[ -f ./findutils/Makefile ] || exit 0; \
8125 r=`${PWD_COMMAND}`; export r; \
8126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8129 for flag in $(EXTRA_HOST_FLAGS) ; do \
8130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8132 echo "Doing installcheck in findutils" ; \
8134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8136 "RANLIB=$${RANLIB}" \
8137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8143 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
8144 maybe-mostlyclean-findutils:
8146 maybe-mostlyclean-findutils: mostlyclean-findutils
8148 mostlyclean-findutils:
8149 @[ -f ./findutils/Makefile ] || exit 0; \
8150 r=`${PWD_COMMAND}`; export r; \
8151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8154 for flag in $(EXTRA_HOST_FLAGS) ; do \
8155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8157 echo "Doing mostlyclean in findutils" ; \
8159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8161 "RANLIB=$${RANLIB}" \
8162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8168 .PHONY: maybe-clean-findutils clean-findutils
8169 maybe-clean-findutils:
8171 maybe-clean-findutils: clean-findutils
8174 @[ -f ./findutils/Makefile ] || exit 0; \
8175 r=`${PWD_COMMAND}`; export r; \
8176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8179 for flag in $(EXTRA_HOST_FLAGS) ; do \
8180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8182 echo "Doing clean in findutils" ; \
8184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8186 "RANLIB=$${RANLIB}" \
8187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8193 .PHONY: maybe-distclean-findutils distclean-findutils
8194 maybe-distclean-findutils:
8196 maybe-distclean-findutils: distclean-findutils
8198 distclean-findutils:
8199 @[ -f ./findutils/Makefile ] || exit 0; \
8200 r=`${PWD_COMMAND}`; export r; \
8201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8204 for flag in $(EXTRA_HOST_FLAGS) ; do \
8205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8207 echo "Doing distclean in findutils" ; \
8209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8211 "RANLIB=$${RANLIB}" \
8212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8218 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
8219 maybe-maintainer-clean-findutils:
8221 maybe-maintainer-clean-findutils: maintainer-clean-findutils
8223 maintainer-clean-findutils:
8224 @[ -f ./findutils/Makefile ] || exit 0; \
8225 r=`${PWD_COMMAND}`; export r; \
8226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8229 for flag in $(EXTRA_HOST_FLAGS) ; do \
8230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8232 echo "Doing maintainer-clean in findutils" ; \
8234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8236 "RANLIB=$${RANLIB}" \
8237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8244 .PHONY: configure-find maybe-configure-find
8245 maybe-configure-find:
8247 maybe-configure-find: configure-find
8249 @test ! -f find/Makefile || exit 0; \
8250 [ -d find ] || mkdir find; \
8251 r=`${PWD_COMMAND}`; export r; \
8252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8254 echo Configuring in find; \
8255 cd find || exit 1; \
8258 srcdiroption="--srcdir=."; \
8260 /* | [A-Za-z]:[\\/]*) \
8261 srcdiroption="--srcdir=$(srcdir)/find"; \
8262 libsrcdir="$$s/find";; \
8264 srcdiroption="--srcdir=../$(srcdir)/find"; \
8265 libsrcdir="$$s/find";; \
8267 $(SHELL) $${libsrcdir}/configure \
8268 $(HOST_CONFIGARGS) $${srcdiroption} \
8272 .PHONY: all-find maybe-all-find
8276 maybe-all-find: all-find
8277 all-find: configure-find
8278 @r=`${PWD_COMMAND}`; export r; \
8279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8282 (cd find && $(MAKE) $(FLAGS_TO_PASS) \
8286 .PHONY: check-find maybe-check-find
8289 maybe-check-find: check-find
8292 @r=`${PWD_COMMAND}`; export r; \
8293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8296 (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
8300 .PHONY: install-find maybe-install-find
8303 maybe-install-find: install-find
8305 install-find: installdirs
8306 @r=`${PWD_COMMAND}`; export r; \
8307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8310 (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
8314 # Other targets (info, dvi, etc.)
8316 .PHONY: maybe-info-find info-find
8319 maybe-info-find: info-find
8323 @[ -f ./find/Makefile ] || exit 0; \
8324 r=`${PWD_COMMAND}`; export r; \
8325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8328 for flag in $(EXTRA_HOST_FLAGS) ; do \
8329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8331 echo "Doing info in find" ; \
8333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8335 "RANLIB=$${RANLIB}" \
8336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8342 .PHONY: maybe-dvi-find dvi-find
8345 maybe-dvi-find: dvi-find
8349 @[ -f ./find/Makefile ] || exit 0; \
8350 r=`${PWD_COMMAND}`; export r; \
8351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8354 for flag in $(EXTRA_HOST_FLAGS) ; do \
8355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8357 echo "Doing dvi in find" ; \
8359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8361 "RANLIB=$${RANLIB}" \
8362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8368 .PHONY: maybe-html-find html-find
8371 maybe-html-find: html-find
8375 @[ -f ./find/Makefile ] || exit 0; \
8376 r=`${PWD_COMMAND}`; export r; \
8377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8380 for flag in $(EXTRA_HOST_FLAGS) ; do \
8381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8383 echo "Doing html in find" ; \
8385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8387 "RANLIB=$${RANLIB}" \
8388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8394 .PHONY: maybe-TAGS-find TAGS-find
8397 maybe-TAGS-find: TAGS-find
8401 @[ -f ./find/Makefile ] || exit 0; \
8402 r=`${PWD_COMMAND}`; export r; \
8403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8406 for flag in $(EXTRA_HOST_FLAGS) ; do \
8407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8409 echo "Doing TAGS in find" ; \
8411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8413 "RANLIB=$${RANLIB}" \
8414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8420 .PHONY: maybe-install-info-find install-info-find
8421 maybe-install-info-find:
8423 maybe-install-info-find: install-info-find
8425 install-info-find: \
8428 @[ -f ./find/Makefile ] || exit 0; \
8429 r=`${PWD_COMMAND}`; export r; \
8430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8433 for flag in $(EXTRA_HOST_FLAGS) ; do \
8434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8436 echo "Doing install-info in find" ; \
8438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8440 "RANLIB=$${RANLIB}" \
8441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8447 .PHONY: maybe-installcheck-find installcheck-find
8448 maybe-installcheck-find:
8450 maybe-installcheck-find: installcheck-find
8452 installcheck-find: \
8454 @[ -f ./find/Makefile ] || exit 0; \
8455 r=`${PWD_COMMAND}`; export r; \
8456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8459 for flag in $(EXTRA_HOST_FLAGS) ; do \
8460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8462 echo "Doing installcheck in find" ; \
8464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8466 "RANLIB=$${RANLIB}" \
8467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8473 .PHONY: maybe-mostlyclean-find mostlyclean-find
8474 maybe-mostlyclean-find:
8476 maybe-mostlyclean-find: mostlyclean-find
8479 @[ -f ./find/Makefile ] || exit 0; \
8480 r=`${PWD_COMMAND}`; export r; \
8481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8484 for flag in $(EXTRA_HOST_FLAGS) ; do \
8485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8487 echo "Doing mostlyclean in find" ; \
8489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8491 "RANLIB=$${RANLIB}" \
8492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8498 .PHONY: maybe-clean-find clean-find
8501 maybe-clean-find: clean-find
8504 @[ -f ./find/Makefile ] || exit 0; \
8505 r=`${PWD_COMMAND}`; export r; \
8506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8509 for flag in $(EXTRA_HOST_FLAGS) ; do \
8510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8512 echo "Doing clean in find" ; \
8514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8516 "RANLIB=$${RANLIB}" \
8517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8523 .PHONY: maybe-distclean-find distclean-find
8524 maybe-distclean-find:
8526 maybe-distclean-find: distclean-find
8529 @[ -f ./find/Makefile ] || exit 0; \
8530 r=`${PWD_COMMAND}`; export r; \
8531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8534 for flag in $(EXTRA_HOST_FLAGS) ; do \
8535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8537 echo "Doing distclean in find" ; \
8539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8541 "RANLIB=$${RANLIB}" \
8542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8548 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
8549 maybe-maintainer-clean-find:
8551 maybe-maintainer-clean-find: maintainer-clean-find
8553 maintainer-clean-find:
8554 @[ -f ./find/Makefile ] || exit 0; \
8555 r=`${PWD_COMMAND}`; export r; \
8556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8559 for flag in $(EXTRA_HOST_FLAGS) ; do \
8560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8562 echo "Doing maintainer-clean in find" ; \
8564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8566 "RANLIB=$${RANLIB}" \
8567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8574 .PHONY: configure-fixincludes maybe-configure-fixincludes
8575 maybe-configure-fixincludes:
8577 maybe-configure-fixincludes: configure-fixincludes
8578 configure-fixincludes:
8579 @test ! -f fixincludes/Makefile || exit 0; \
8580 [ -d fixincludes ] || mkdir fixincludes; \
8581 r=`${PWD_COMMAND}`; export r; \
8582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8584 echo Configuring in fixincludes; \
8585 cd fixincludes || exit 1; \
8588 srcdiroption="--srcdir=."; \
8590 /* | [A-Za-z]:[\\/]*) \
8591 srcdiroption="--srcdir=$(srcdir)/fixincludes"; \
8592 libsrcdir="$$s/fixincludes";; \
8594 srcdiroption="--srcdir=../$(srcdir)/fixincludes"; \
8595 libsrcdir="$$s/fixincludes";; \
8597 $(SHELL) $${libsrcdir}/configure \
8598 $(HOST_CONFIGARGS) $${srcdiroption} \
8602 .PHONY: all-fixincludes maybe-all-fixincludes
8603 maybe-all-fixincludes:
8605 TARGET-fixincludes=all
8606 maybe-all-fixincludes: all-fixincludes
8607 all-fixincludes: configure-fixincludes
8608 @r=`${PWD_COMMAND}`; export r; \
8609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8612 (cd fixincludes && $(MAKE) $(FLAGS_TO_PASS) \
8613 $(TARGET-fixincludes))
8616 .PHONY: check-fixincludes maybe-check-fixincludes
8617 maybe-check-fixincludes:
8619 maybe-check-fixincludes: check-fixincludes
8622 @r=`${PWD_COMMAND}`; export r; \
8623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8626 (cd fixincludes && $(MAKE) $(FLAGS_TO_PASS) check)
8630 .PHONY: install-fixincludes maybe-install-fixincludes
8631 maybe-install-fixincludes:
8633 maybe-install-fixincludes: install-fixincludes
8635 install-fixincludes: installdirs
8636 @r=`${PWD_COMMAND}`; export r; \
8637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8640 (cd fixincludes && $(MAKE) $(FLAGS_TO_PASS) install)
8644 # Other targets (info, dvi, etc.)
8646 .PHONY: maybe-info-fixincludes info-fixincludes
8647 maybe-info-fixincludes:
8649 maybe-info-fixincludes: info-fixincludes
8651 # fixincludes doesn't support info.
8656 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
8657 maybe-dvi-fixincludes:
8659 maybe-dvi-fixincludes: dvi-fixincludes
8661 # fixincludes doesn't support dvi.
8666 .PHONY: maybe-html-fixincludes html-fixincludes
8667 maybe-html-fixincludes:
8669 maybe-html-fixincludes: html-fixincludes
8672 configure-fixincludes
8673 @[ -f ./fixincludes/Makefile ] || exit 0; \
8674 r=`${PWD_COMMAND}`; export r; \
8675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8678 for flag in $(EXTRA_HOST_FLAGS) ; do \
8679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8681 echo "Doing html in fixincludes" ; \
8682 (cd fixincludes && \
8683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8685 "RANLIB=$${RANLIB}" \
8686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8692 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
8693 maybe-TAGS-fixincludes:
8695 maybe-TAGS-fixincludes: TAGS-fixincludes
8697 # fixincludes doesn't support TAGS.
8702 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
8703 maybe-install-info-fixincludes:
8705 maybe-install-info-fixincludes: install-info-fixincludes
8707 # fixincludes doesn't support install-info.
8708 install-info-fixincludes:
8712 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8713 maybe-installcheck-fixincludes:
8715 maybe-installcheck-fixincludes: installcheck-fixincludes
8717 # fixincludes doesn't support installcheck.
8718 installcheck-fixincludes:
8722 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8723 maybe-mostlyclean-fixincludes:
8725 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8727 mostlyclean-fixincludes:
8728 @[ -f ./fixincludes/Makefile ] || exit 0; \
8729 r=`${PWD_COMMAND}`; export r; \
8730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8733 for flag in $(EXTRA_HOST_FLAGS) ; do \
8734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8736 echo "Doing mostlyclean in fixincludes" ; \
8737 (cd fixincludes && \
8738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8740 "RANLIB=$${RANLIB}" \
8741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8747 .PHONY: maybe-clean-fixincludes clean-fixincludes
8748 maybe-clean-fixincludes:
8750 maybe-clean-fixincludes: clean-fixincludes
8753 @[ -f ./fixincludes/Makefile ] || exit 0; \
8754 r=`${PWD_COMMAND}`; export r; \
8755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8758 for flag in $(EXTRA_HOST_FLAGS) ; do \
8759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8761 echo "Doing clean in fixincludes" ; \
8762 (cd fixincludes && \
8763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8765 "RANLIB=$${RANLIB}" \
8766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8772 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8773 maybe-distclean-fixincludes:
8775 maybe-distclean-fixincludes: distclean-fixincludes
8777 distclean-fixincludes:
8778 @[ -f ./fixincludes/Makefile ] || exit 0; \
8779 r=`${PWD_COMMAND}`; export r; \
8780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8783 for flag in $(EXTRA_HOST_FLAGS) ; do \
8784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8786 echo "Doing distclean in fixincludes" ; \
8787 (cd fixincludes && \
8788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8790 "RANLIB=$${RANLIB}" \
8791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8797 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8798 maybe-maintainer-clean-fixincludes:
8800 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8802 maintainer-clean-fixincludes:
8803 @[ -f ./fixincludes/Makefile ] || exit 0; \
8804 r=`${PWD_COMMAND}`; export r; \
8805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8808 for flag in $(EXTRA_HOST_FLAGS) ; do \
8809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8811 echo "Doing maintainer-clean in fixincludes" ; \
8812 (cd fixincludes && \
8813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8815 "RANLIB=$${RANLIB}" \
8816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8823 .PHONY: configure-flex maybe-configure-flex
8824 maybe-configure-flex:
8826 maybe-configure-flex: configure-flex
8828 @test ! -f flex/Makefile || exit 0; \
8829 [ -d flex ] || mkdir flex; \
8830 r=`${PWD_COMMAND}`; export r; \
8831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8833 echo Configuring in flex; \
8834 cd flex || exit 1; \
8837 srcdiroption="--srcdir=."; \
8839 /* | [A-Za-z]:[\\/]*) \
8840 srcdiroption="--srcdir=$(srcdir)/flex"; \
8841 libsrcdir="$$s/flex";; \
8843 srcdiroption="--srcdir=../$(srcdir)/flex"; \
8844 libsrcdir="$$s/flex";; \
8846 $(SHELL) $${libsrcdir}/configure \
8847 $(HOST_CONFIGARGS) $${srcdiroption} \
8851 .PHONY: all-flex maybe-all-flex
8855 maybe-all-flex: all-flex
8856 all-flex: configure-flex
8857 @r=`${PWD_COMMAND}`; export r; \
8858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8861 (cd flex && $(MAKE) $(FLAGS_TO_PASS) \
8865 .PHONY: check-flex maybe-check-flex
8868 maybe-check-flex: check-flex
8870 # This module is only tested in a native toolchain.
8872 @if [ '$(host)' = '$(target)' ] ; then \
8873 r=`${PWD_COMMAND}`; export r; \
8874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8877 (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \
8882 .PHONY: install-flex maybe-install-flex
8885 maybe-install-flex: install-flex
8887 install-flex: installdirs
8888 @r=`${PWD_COMMAND}`; export r; \
8889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8892 (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
8896 # Other targets (info, dvi, etc.)
8898 .PHONY: maybe-info-flex info-flex
8901 maybe-info-flex: info-flex
8905 @[ -f ./flex/Makefile ] || exit 0; \
8906 r=`${PWD_COMMAND}`; export r; \
8907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8910 for flag in $(EXTRA_HOST_FLAGS) ; do \
8911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8913 echo "Doing info in flex" ; \
8915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8917 "RANLIB=$${RANLIB}" \
8918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8924 .PHONY: maybe-dvi-flex dvi-flex
8927 maybe-dvi-flex: dvi-flex
8931 @[ -f ./flex/Makefile ] || exit 0; \
8932 r=`${PWD_COMMAND}`; export r; \
8933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8936 for flag in $(EXTRA_HOST_FLAGS) ; do \
8937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8939 echo "Doing dvi in flex" ; \
8941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8943 "RANLIB=$${RANLIB}" \
8944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8950 .PHONY: maybe-html-flex html-flex
8953 maybe-html-flex: html-flex
8957 @[ -f ./flex/Makefile ] || exit 0; \
8958 r=`${PWD_COMMAND}`; export r; \
8959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8962 for flag in $(EXTRA_HOST_FLAGS) ; do \
8963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8965 echo "Doing html in flex" ; \
8967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8969 "RANLIB=$${RANLIB}" \
8970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8976 .PHONY: maybe-TAGS-flex TAGS-flex
8979 maybe-TAGS-flex: TAGS-flex
8983 @[ -f ./flex/Makefile ] || exit 0; \
8984 r=`${PWD_COMMAND}`; export r; \
8985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8988 for flag in $(EXTRA_HOST_FLAGS) ; do \
8989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8991 echo "Doing TAGS in flex" ; \
8993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8995 "RANLIB=$${RANLIB}" \
8996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9002 .PHONY: maybe-install-info-flex install-info-flex
9003 maybe-install-info-flex:
9005 maybe-install-info-flex: install-info-flex
9007 install-info-flex: \
9010 @[ -f ./flex/Makefile ] || exit 0; \
9011 r=`${PWD_COMMAND}`; export r; \
9012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9015 for flag in $(EXTRA_HOST_FLAGS) ; do \
9016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9018 echo "Doing install-info in flex" ; \
9020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9022 "RANLIB=$${RANLIB}" \
9023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9029 .PHONY: maybe-installcheck-flex installcheck-flex
9030 maybe-installcheck-flex:
9032 maybe-installcheck-flex: installcheck-flex
9034 installcheck-flex: \
9036 @[ -f ./flex/Makefile ] || exit 0; \
9037 r=`${PWD_COMMAND}`; export r; \
9038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9041 for flag in $(EXTRA_HOST_FLAGS) ; do \
9042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9044 echo "Doing installcheck in flex" ; \
9046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9048 "RANLIB=$${RANLIB}" \
9049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9055 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
9056 maybe-mostlyclean-flex:
9058 maybe-mostlyclean-flex: mostlyclean-flex
9061 @[ -f ./flex/Makefile ] || exit 0; \
9062 r=`${PWD_COMMAND}`; export r; \
9063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9066 for flag in $(EXTRA_HOST_FLAGS) ; do \
9067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9069 echo "Doing mostlyclean in flex" ; \
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-clean-flex clean-flex
9083 maybe-clean-flex: clean-flex
9086 @[ -f ./flex/Makefile ] || exit 0; \
9087 r=`${PWD_COMMAND}`; export r; \
9088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9091 for flag in $(EXTRA_HOST_FLAGS) ; do \
9092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9094 echo "Doing clean in flex" ; \
9096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9098 "RANLIB=$${RANLIB}" \
9099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9105 .PHONY: maybe-distclean-flex distclean-flex
9106 maybe-distclean-flex:
9108 maybe-distclean-flex: distclean-flex
9111 @[ -f ./flex/Makefile ] || exit 0; \
9112 r=`${PWD_COMMAND}`; export r; \
9113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9116 for flag in $(EXTRA_HOST_FLAGS) ; do \
9117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9119 echo "Doing distclean in flex" ; \
9121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9123 "RANLIB=$${RANLIB}" \
9124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9130 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
9131 maybe-maintainer-clean-flex:
9133 maybe-maintainer-clean-flex: maintainer-clean-flex
9135 maintainer-clean-flex:
9136 @[ -f ./flex/Makefile ] || exit 0; \
9137 r=`${PWD_COMMAND}`; export r; \
9138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9141 for flag in $(EXTRA_HOST_FLAGS) ; do \
9142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9144 echo "Doing maintainer-clean in flex" ; \
9146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9148 "RANLIB=$${RANLIB}" \
9149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9156 .PHONY: configure-gas maybe-configure-gas
9157 maybe-configure-gas:
9159 maybe-configure-gas: configure-gas
9161 @test -f stage_last && exit 0; \
9162 test ! -f gas/Makefile || exit 0; \
9163 [ -d gas ] || mkdir gas; \
9164 r=`${PWD_COMMAND}`; export r; \
9165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9167 echo Configuring in gas; \
9171 srcdiroption="--srcdir=."; \
9173 /* | [A-Za-z]:[\\/]*) \
9174 srcdiroption="--srcdir=$(srcdir)/gas"; \
9175 libsrcdir="$$s/gas";; \
9177 srcdiroption="--srcdir=../$(srcdir)/gas"; \
9178 libsrcdir="$$s/gas";; \
9180 $(SHELL) $${libsrcdir}/configure \
9181 $(HOST_CONFIGARGS) $${srcdiroption} \
9185 .PHONY: all-gas maybe-all-gas
9189 maybe-all-gas: all-gas
9190 all-gas: configure-gas
9191 @test -f stage_last && exit 0; \
9192 r=`${PWD_COMMAND}`; export r; \
9193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9196 (cd gas && $(MAKE) $(FLAGS_TO_PASS) \
9200 .PHONY: check-gas maybe-check-gas
9203 maybe-check-gas: check-gas
9206 @r=`${PWD_COMMAND}`; export r; \
9207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9210 (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
9214 .PHONY: install-gas maybe-install-gas
9217 maybe-install-gas: install-gas
9219 install-gas: installdirs
9220 @r=`${PWD_COMMAND}`; export r; \
9221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9224 (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
9228 # Other targets (info, dvi, etc.)
9230 .PHONY: maybe-info-gas info-gas
9233 maybe-info-gas: info-gas
9237 @[ -f ./gas/Makefile ] || exit 0; \
9238 r=`${PWD_COMMAND}`; export r; \
9239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9242 for flag in $(EXTRA_HOST_FLAGS) ; do \
9243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9245 echo "Doing info in gas" ; \
9247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9249 "RANLIB=$${RANLIB}" \
9250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9256 .PHONY: maybe-dvi-gas dvi-gas
9259 maybe-dvi-gas: dvi-gas
9263 @[ -f ./gas/Makefile ] || exit 0; \
9264 r=`${PWD_COMMAND}`; export r; \
9265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9268 for flag in $(EXTRA_HOST_FLAGS) ; do \
9269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9271 echo "Doing dvi in gas" ; \
9273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9275 "RANLIB=$${RANLIB}" \
9276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9282 .PHONY: maybe-html-gas html-gas
9285 maybe-html-gas: html-gas
9289 @[ -f ./gas/Makefile ] || exit 0; \
9290 r=`${PWD_COMMAND}`; export r; \
9291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9294 for flag in $(EXTRA_HOST_FLAGS) ; do \
9295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9297 echo "Doing html in gas" ; \
9299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9301 "RANLIB=$${RANLIB}" \
9302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9308 .PHONY: maybe-TAGS-gas TAGS-gas
9311 maybe-TAGS-gas: TAGS-gas
9315 @[ -f ./gas/Makefile ] || exit 0; \
9316 r=`${PWD_COMMAND}`; export r; \
9317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9320 for flag in $(EXTRA_HOST_FLAGS) ; do \
9321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9323 echo "Doing TAGS in gas" ; \
9325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9327 "RANLIB=$${RANLIB}" \
9328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9334 .PHONY: maybe-install-info-gas install-info-gas
9335 maybe-install-info-gas:
9337 maybe-install-info-gas: install-info-gas
9342 @[ -f ./gas/Makefile ] || exit 0; \
9343 r=`${PWD_COMMAND}`; export r; \
9344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9347 for flag in $(EXTRA_HOST_FLAGS) ; do \
9348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9350 echo "Doing install-info in gas" ; \
9352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9354 "RANLIB=$${RANLIB}" \
9355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9361 .PHONY: maybe-installcheck-gas installcheck-gas
9362 maybe-installcheck-gas:
9364 maybe-installcheck-gas: installcheck-gas
9368 @[ -f ./gas/Makefile ] || exit 0; \
9369 r=`${PWD_COMMAND}`; export r; \
9370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9373 for flag in $(EXTRA_HOST_FLAGS) ; do \
9374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9376 echo "Doing installcheck in gas" ; \
9378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9380 "RANLIB=$${RANLIB}" \
9381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9387 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9388 maybe-mostlyclean-gas:
9390 maybe-mostlyclean-gas: mostlyclean-gas
9393 @[ -f ./gas/Makefile ] || exit 0; \
9394 r=`${PWD_COMMAND}`; export r; \
9395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9398 for flag in $(EXTRA_HOST_FLAGS) ; do \
9399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9401 echo "Doing mostlyclean in gas" ; \
9403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9405 "RANLIB=$${RANLIB}" \
9406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9412 .PHONY: maybe-clean-gas clean-gas
9415 maybe-clean-gas: clean-gas
9418 @[ -f ./gas/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 clean in gas" ; \
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-distclean-gas distclean-gas
9438 maybe-distclean-gas:
9440 maybe-distclean-gas: distclean-gas
9443 @[ -f ./gas/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 distclean in gas" ; \
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-maintainer-clean-gas maintainer-clean-gas
9463 maybe-maintainer-clean-gas:
9465 maybe-maintainer-clean-gas: maintainer-clean-gas
9467 maintainer-clean-gas:
9468 @[ -f ./gas/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 maintainer-clean in gas" ; \
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}" \
9488 .PHONY: configure-gcc maybe-configure-gcc
9489 maybe-configure-gcc:
9491 maybe-configure-gcc: configure-gcc
9493 @test -f stage_last && exit 0; \
9494 test ! -f gcc/Makefile || exit 0; \
9495 [ -d gcc ] || mkdir gcc; \
9496 r=`${PWD_COMMAND}`; export r; \
9497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9499 echo Configuring in gcc; \
9503 srcdiroption="--srcdir=."; \
9505 /* | [A-Za-z]:[\\/]*) \
9506 srcdiroption="--srcdir=$(srcdir)/gcc"; \
9507 libsrcdir="$$s/gcc";; \
9509 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
9510 libsrcdir="$$s/gcc";; \
9512 $(SHELL) $${libsrcdir}/configure \
9513 $(HOST_CONFIGARGS) $${srcdiroption} \
9517 .PHONY: all-gcc maybe-all-gcc
9520 TARGET-gcc=`if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi`
9521 maybe-all-gcc: all-gcc
9522 all-gcc: configure-gcc
9523 @test -f stage_last && exit 0; \
9524 r=`${PWD_COMMAND}`; export r; \
9525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9528 (cd gcc && $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9532 .PHONY: check-gcc maybe-check-gcc
9535 maybe-check-gcc: check-gcc
9538 @r=`${PWD_COMMAND}`; export r; \
9539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9542 (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) check)
9546 .PHONY: install-gcc maybe-install-gcc
9549 maybe-install-gcc: install-gcc
9551 install-gcc: installdirs
9552 @r=`${PWD_COMMAND}`; export r; \
9553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9556 (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) install)
9560 # Other targets (info, dvi, etc.)
9562 .PHONY: maybe-info-gcc info-gcc
9565 maybe-info-gcc: info-gcc
9569 @[ -f ./gcc/Makefile ] || exit 0; \
9570 r=`${PWD_COMMAND}`; export r; \
9571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9574 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9577 echo "Doing info in gcc" ; \
9579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9581 "RANLIB=$${RANLIB}" \
9582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9588 .PHONY: maybe-dvi-gcc dvi-gcc
9591 maybe-dvi-gcc: dvi-gcc
9595 @[ -f ./gcc/Makefile ] || exit 0; \
9596 r=`${PWD_COMMAND}`; export r; \
9597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9600 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9603 echo "Doing dvi in gcc" ; \
9605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9607 "RANLIB=$${RANLIB}" \
9608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9614 .PHONY: maybe-html-gcc html-gcc
9617 maybe-html-gcc: html-gcc
9621 @[ -f ./gcc/Makefile ] || exit 0; \
9622 r=`${PWD_COMMAND}`; export r; \
9623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9626 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9629 echo "Doing html in gcc" ; \
9631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9633 "RANLIB=$${RANLIB}" \
9634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9640 .PHONY: maybe-TAGS-gcc TAGS-gcc
9643 maybe-TAGS-gcc: TAGS-gcc
9647 @[ -f ./gcc/Makefile ] || exit 0; \
9648 r=`${PWD_COMMAND}`; export r; \
9649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9652 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9655 echo "Doing TAGS in gcc" ; \
9657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9659 "RANLIB=$${RANLIB}" \
9660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9666 .PHONY: maybe-install-info-gcc install-info-gcc
9667 maybe-install-info-gcc:
9669 maybe-install-info-gcc: install-info-gcc
9674 @[ -f ./gcc/Makefile ] || exit 0; \
9675 r=`${PWD_COMMAND}`; export r; \
9676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9679 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9682 echo "Doing install-info in gcc" ; \
9684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9686 "RANLIB=$${RANLIB}" \
9687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9693 .PHONY: maybe-installcheck-gcc installcheck-gcc
9694 maybe-installcheck-gcc:
9696 maybe-installcheck-gcc: installcheck-gcc
9700 @[ -f ./gcc/Makefile ] || exit 0; \
9701 r=`${PWD_COMMAND}`; export r; \
9702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9705 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9708 echo "Doing installcheck in gcc" ; \
9710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9712 "RANLIB=$${RANLIB}" \
9713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9719 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
9720 maybe-mostlyclean-gcc:
9722 maybe-mostlyclean-gcc: mostlyclean-gcc
9725 @[ -f ./gcc/Makefile ] || exit 0; \
9726 r=`${PWD_COMMAND}`; export r; \
9727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9730 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9733 echo "Doing mostlyclean in gcc" ; \
9735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9737 "RANLIB=$${RANLIB}" \
9738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9744 .PHONY: maybe-clean-gcc clean-gcc
9747 maybe-clean-gcc: clean-gcc
9750 @[ -f ./gcc/Makefile ] || exit 0; \
9751 r=`${PWD_COMMAND}`; export r; \
9752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9755 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9758 echo "Doing clean in gcc" ; \
9760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9762 "RANLIB=$${RANLIB}" \
9763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9769 .PHONY: maybe-distclean-gcc distclean-gcc
9770 maybe-distclean-gcc:
9772 maybe-distclean-gcc: distclean-gcc
9775 @[ -f ./gcc/Makefile ] || exit 0; \
9776 r=`${PWD_COMMAND}`; export r; \
9777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9780 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9783 echo "Doing distclean in gcc" ; \
9785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9787 "RANLIB=$${RANLIB}" \
9788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9794 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
9795 maybe-maintainer-clean-gcc:
9797 maybe-maintainer-clean-gcc: maintainer-clean-gcc
9799 maintainer-clean-gcc:
9800 @[ -f ./gcc/Makefile ] || exit 0; \
9801 r=`${PWD_COMMAND}`; export r; \
9802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9805 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9808 echo "Doing maintainer-clean in gcc" ; \
9810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9812 "RANLIB=$${RANLIB}" \
9813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9820 .PHONY: configure-gawk maybe-configure-gawk
9821 maybe-configure-gawk:
9823 maybe-configure-gawk: configure-gawk
9825 @test ! -f gawk/Makefile || exit 0; \
9826 [ -d gawk ] || mkdir gawk; \
9827 r=`${PWD_COMMAND}`; export r; \
9828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9830 echo Configuring in gawk; \
9831 cd gawk || exit 1; \
9834 srcdiroption="--srcdir=."; \
9836 /* | [A-Za-z]:[\\/]*) \
9837 srcdiroption="--srcdir=$(srcdir)/gawk"; \
9838 libsrcdir="$$s/gawk";; \
9840 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
9841 libsrcdir="$$s/gawk";; \
9843 $(SHELL) $${libsrcdir}/configure \
9844 $(HOST_CONFIGARGS) $${srcdiroption} \
9848 .PHONY: all-gawk maybe-all-gawk
9852 maybe-all-gawk: all-gawk
9853 all-gawk: configure-gawk
9854 @r=`${PWD_COMMAND}`; export r; \
9855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9858 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) \
9862 .PHONY: check-gawk maybe-check-gawk
9865 maybe-check-gawk: check-gawk
9868 @r=`${PWD_COMMAND}`; export r; \
9869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9872 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
9876 .PHONY: install-gawk maybe-install-gawk
9879 maybe-install-gawk: install-gawk
9881 install-gawk: installdirs
9882 @r=`${PWD_COMMAND}`; export r; \
9883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9886 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
9890 # Other targets (info, dvi, etc.)
9892 .PHONY: maybe-info-gawk info-gawk
9895 maybe-info-gawk: info-gawk
9899 @[ -f ./gawk/Makefile ] || exit 0; \
9900 r=`${PWD_COMMAND}`; export r; \
9901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9904 for flag in $(EXTRA_HOST_FLAGS) ; do \
9905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9907 echo "Doing info in gawk" ; \
9909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9911 "RANLIB=$${RANLIB}" \
9912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9918 .PHONY: maybe-dvi-gawk dvi-gawk
9921 maybe-dvi-gawk: dvi-gawk
9925 @[ -f ./gawk/Makefile ] || exit 0; \
9926 r=`${PWD_COMMAND}`; export r; \
9927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9930 for flag in $(EXTRA_HOST_FLAGS) ; do \
9931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9933 echo "Doing dvi in gawk" ; \
9935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9937 "RANLIB=$${RANLIB}" \
9938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9944 .PHONY: maybe-html-gawk html-gawk
9947 maybe-html-gawk: html-gawk
9951 @[ -f ./gawk/Makefile ] || exit 0; \
9952 r=`${PWD_COMMAND}`; export r; \
9953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9956 for flag in $(EXTRA_HOST_FLAGS) ; do \
9957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9959 echo "Doing html in gawk" ; \
9961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9963 "RANLIB=$${RANLIB}" \
9964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9970 .PHONY: maybe-TAGS-gawk TAGS-gawk
9973 maybe-TAGS-gawk: TAGS-gawk
9977 @[ -f ./gawk/Makefile ] || exit 0; \
9978 r=`${PWD_COMMAND}`; export r; \
9979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9982 for flag in $(EXTRA_HOST_FLAGS) ; do \
9983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9985 echo "Doing TAGS in gawk" ; \
9987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9989 "RANLIB=$${RANLIB}" \
9990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9996 .PHONY: maybe-install-info-gawk install-info-gawk
9997 maybe-install-info-gawk:
9999 maybe-install-info-gawk: install-info-gawk
10001 install-info-gawk: \
10004 @[ -f ./gawk/Makefile ] || exit 0; \
10005 r=`${PWD_COMMAND}`; export r; \
10006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10009 for flag in $(EXTRA_HOST_FLAGS) ; do \
10010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10012 echo "Doing install-info in gawk" ; \
10014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10016 "RANLIB=$${RANLIB}" \
10017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10023 .PHONY: maybe-installcheck-gawk installcheck-gawk
10024 maybe-installcheck-gawk:
10026 maybe-installcheck-gawk: installcheck-gawk
10028 installcheck-gawk: \
10030 @[ -f ./gawk/Makefile ] || exit 0; \
10031 r=`${PWD_COMMAND}`; export r; \
10032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10035 for flag in $(EXTRA_HOST_FLAGS) ; do \
10036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10038 echo "Doing installcheck in gawk" ; \
10040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10042 "RANLIB=$${RANLIB}" \
10043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10049 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
10050 maybe-mostlyclean-gawk:
10052 maybe-mostlyclean-gawk: mostlyclean-gawk
10055 @[ -f ./gawk/Makefile ] || exit 0; \
10056 r=`${PWD_COMMAND}`; export r; \
10057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10060 for flag in $(EXTRA_HOST_FLAGS) ; do \
10061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10063 echo "Doing mostlyclean in gawk" ; \
10065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10067 "RANLIB=$${RANLIB}" \
10068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10074 .PHONY: maybe-clean-gawk clean-gawk
10077 maybe-clean-gawk: clean-gawk
10080 @[ -f ./gawk/Makefile ] || exit 0; \
10081 r=`${PWD_COMMAND}`; export r; \
10082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10085 for flag in $(EXTRA_HOST_FLAGS) ; do \
10086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10088 echo "Doing clean in gawk" ; \
10090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10092 "RANLIB=$${RANLIB}" \
10093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10099 .PHONY: maybe-distclean-gawk distclean-gawk
10100 maybe-distclean-gawk:
10102 maybe-distclean-gawk: distclean-gawk
10105 @[ -f ./gawk/Makefile ] || exit 0; \
10106 r=`${PWD_COMMAND}`; export r; \
10107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10110 for flag in $(EXTRA_HOST_FLAGS) ; do \
10111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10113 echo "Doing distclean in gawk" ; \
10115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10117 "RANLIB=$${RANLIB}" \
10118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10124 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
10125 maybe-maintainer-clean-gawk:
10127 maybe-maintainer-clean-gawk: maintainer-clean-gawk
10129 maintainer-clean-gawk:
10130 @[ -f ./gawk/Makefile ] || exit 0; \
10131 r=`${PWD_COMMAND}`; export r; \
10132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10135 for flag in $(EXTRA_HOST_FLAGS) ; do \
10136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10138 echo "Doing maintainer-clean in gawk" ; \
10140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10142 "RANLIB=$${RANLIB}" \
10143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10144 maintainer-clean) \
10150 .PHONY: configure-gettext maybe-configure-gettext
10151 maybe-configure-gettext:
10153 maybe-configure-gettext: configure-gettext
10155 @test ! -f gettext/Makefile || exit 0; \
10156 [ -d gettext ] || mkdir gettext; \
10157 r=`${PWD_COMMAND}`; export r; \
10158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10160 echo Configuring in gettext; \
10161 cd gettext || exit 1; \
10162 case $(srcdir) in \
10164 srcdiroption="--srcdir=."; \
10166 /* | [A-Za-z]:[\\/]*) \
10167 srcdiroption="--srcdir=$(srcdir)/gettext"; \
10168 libsrcdir="$$s/gettext";; \
10170 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
10171 libsrcdir="$$s/gettext";; \
10173 $(SHELL) $${libsrcdir}/configure \
10174 $(HOST_CONFIGARGS) $${srcdiroption} \
10178 .PHONY: all-gettext maybe-all-gettext
10182 maybe-all-gettext: all-gettext
10183 all-gettext: configure-gettext
10184 @r=`${PWD_COMMAND}`; export r; \
10185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10188 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) \
10192 .PHONY: check-gettext maybe-check-gettext
10193 maybe-check-gettext:
10195 maybe-check-gettext: check-gettext
10198 @r=`${PWD_COMMAND}`; export r; \
10199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10202 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
10206 .PHONY: install-gettext maybe-install-gettext
10207 maybe-install-gettext:
10209 maybe-install-gettext: install-gettext
10211 install-gettext: installdirs
10212 @r=`${PWD_COMMAND}`; export r; \
10213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10216 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
10220 # Other targets (info, dvi, etc.)
10222 .PHONY: maybe-info-gettext info-gettext
10223 maybe-info-gettext:
10225 maybe-info-gettext: info-gettext
10229 @[ -f ./gettext/Makefile ] || exit 0; \
10230 r=`${PWD_COMMAND}`; export r; \
10231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10234 for flag in $(EXTRA_HOST_FLAGS) ; do \
10235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10237 echo "Doing info in gettext" ; \
10239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10241 "RANLIB=$${RANLIB}" \
10242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10248 .PHONY: maybe-dvi-gettext dvi-gettext
10251 maybe-dvi-gettext: dvi-gettext
10255 @[ -f ./gettext/Makefile ] || exit 0; \
10256 r=`${PWD_COMMAND}`; export r; \
10257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10260 for flag in $(EXTRA_HOST_FLAGS) ; do \
10261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10263 echo "Doing dvi in gettext" ; \
10265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10267 "RANLIB=$${RANLIB}" \
10268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10274 .PHONY: maybe-html-gettext html-gettext
10275 maybe-html-gettext:
10277 maybe-html-gettext: html-gettext
10281 @[ -f ./gettext/Makefile ] || exit 0; \
10282 r=`${PWD_COMMAND}`; export r; \
10283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10286 for flag in $(EXTRA_HOST_FLAGS) ; do \
10287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10289 echo "Doing html in gettext" ; \
10291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10293 "RANLIB=$${RANLIB}" \
10294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10300 .PHONY: maybe-TAGS-gettext TAGS-gettext
10301 maybe-TAGS-gettext:
10303 maybe-TAGS-gettext: TAGS-gettext
10307 @[ -f ./gettext/Makefile ] || exit 0; \
10308 r=`${PWD_COMMAND}`; export r; \
10309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10312 for flag in $(EXTRA_HOST_FLAGS) ; do \
10313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10315 echo "Doing TAGS in gettext" ; \
10317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10319 "RANLIB=$${RANLIB}" \
10320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10326 .PHONY: maybe-install-info-gettext install-info-gettext
10327 maybe-install-info-gettext:
10329 maybe-install-info-gettext: install-info-gettext
10331 install-info-gettext: \
10332 configure-gettext \
10334 @[ -f ./gettext/Makefile ] || exit 0; \
10335 r=`${PWD_COMMAND}`; export r; \
10336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10339 for flag in $(EXTRA_HOST_FLAGS) ; do \
10340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10342 echo "Doing install-info in gettext" ; \
10344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10346 "RANLIB=$${RANLIB}" \
10347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10353 .PHONY: maybe-installcheck-gettext installcheck-gettext
10354 maybe-installcheck-gettext:
10356 maybe-installcheck-gettext: installcheck-gettext
10358 installcheck-gettext: \
10360 @[ -f ./gettext/Makefile ] || exit 0; \
10361 r=`${PWD_COMMAND}`; export r; \
10362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10365 for flag in $(EXTRA_HOST_FLAGS) ; do \
10366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10368 echo "Doing installcheck in gettext" ; \
10370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10372 "RANLIB=$${RANLIB}" \
10373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10379 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
10380 maybe-mostlyclean-gettext:
10382 maybe-mostlyclean-gettext: mostlyclean-gettext
10384 mostlyclean-gettext:
10385 @[ -f ./gettext/Makefile ] || exit 0; \
10386 r=`${PWD_COMMAND}`; export r; \
10387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10390 for flag in $(EXTRA_HOST_FLAGS) ; do \
10391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10393 echo "Doing mostlyclean in gettext" ; \
10395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10397 "RANLIB=$${RANLIB}" \
10398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10404 .PHONY: maybe-clean-gettext clean-gettext
10405 maybe-clean-gettext:
10407 maybe-clean-gettext: clean-gettext
10410 @[ -f ./gettext/Makefile ] || exit 0; \
10411 r=`${PWD_COMMAND}`; export r; \
10412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10415 for flag in $(EXTRA_HOST_FLAGS) ; do \
10416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10418 echo "Doing clean in gettext" ; \
10420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10422 "RANLIB=$${RANLIB}" \
10423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10429 .PHONY: maybe-distclean-gettext distclean-gettext
10430 maybe-distclean-gettext:
10432 maybe-distclean-gettext: distclean-gettext
10435 @[ -f ./gettext/Makefile ] || exit 0; \
10436 r=`${PWD_COMMAND}`; export r; \
10437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10440 for flag in $(EXTRA_HOST_FLAGS) ; do \
10441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10443 echo "Doing distclean in gettext" ; \
10445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10447 "RANLIB=$${RANLIB}" \
10448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10454 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
10455 maybe-maintainer-clean-gettext:
10457 maybe-maintainer-clean-gettext: maintainer-clean-gettext
10459 maintainer-clean-gettext:
10460 @[ -f ./gettext/Makefile ] || exit 0; \
10461 r=`${PWD_COMMAND}`; export r; \
10462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10465 for flag in $(EXTRA_HOST_FLAGS) ; do \
10466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10468 echo "Doing maintainer-clean in gettext" ; \
10470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10472 "RANLIB=$${RANLIB}" \
10473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10474 maintainer-clean) \
10480 .PHONY: configure-gnuserv maybe-configure-gnuserv
10481 maybe-configure-gnuserv:
10483 maybe-configure-gnuserv: configure-gnuserv
10485 @test ! -f gnuserv/Makefile || exit 0; \
10486 [ -d gnuserv ] || mkdir gnuserv; \
10487 r=`${PWD_COMMAND}`; export r; \
10488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10490 echo Configuring in gnuserv; \
10491 cd gnuserv || exit 1; \
10492 case $(srcdir) in \
10494 srcdiroption="--srcdir=."; \
10496 /* | [A-Za-z]:[\\/]*) \
10497 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
10498 libsrcdir="$$s/gnuserv";; \
10500 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
10501 libsrcdir="$$s/gnuserv";; \
10503 $(SHELL) $${libsrcdir}/configure \
10504 $(HOST_CONFIGARGS) $${srcdiroption} \
10508 .PHONY: all-gnuserv maybe-all-gnuserv
10512 maybe-all-gnuserv: all-gnuserv
10513 all-gnuserv: configure-gnuserv
10514 @r=`${PWD_COMMAND}`; export r; \
10515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10518 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) \
10522 .PHONY: check-gnuserv maybe-check-gnuserv
10523 maybe-check-gnuserv:
10525 maybe-check-gnuserv: check-gnuserv
10528 @r=`${PWD_COMMAND}`; export r; \
10529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10532 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
10536 .PHONY: install-gnuserv maybe-install-gnuserv
10537 maybe-install-gnuserv:
10539 maybe-install-gnuserv: install-gnuserv
10541 install-gnuserv: installdirs
10542 @r=`${PWD_COMMAND}`; export r; \
10543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10546 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
10550 # Other targets (info, dvi, etc.)
10552 .PHONY: maybe-info-gnuserv info-gnuserv
10553 maybe-info-gnuserv:
10555 maybe-info-gnuserv: info-gnuserv
10559 @[ -f ./gnuserv/Makefile ] || exit 0; \
10560 r=`${PWD_COMMAND}`; export r; \
10561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10564 for flag in $(EXTRA_HOST_FLAGS) ; do \
10565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10567 echo "Doing info in gnuserv" ; \
10569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10571 "RANLIB=$${RANLIB}" \
10572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10578 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
10581 maybe-dvi-gnuserv: dvi-gnuserv
10585 @[ -f ./gnuserv/Makefile ] || exit 0; \
10586 r=`${PWD_COMMAND}`; export r; \
10587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10590 for flag in $(EXTRA_HOST_FLAGS) ; do \
10591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10593 echo "Doing dvi in gnuserv" ; \
10595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10597 "RANLIB=$${RANLIB}" \
10598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10604 .PHONY: maybe-html-gnuserv html-gnuserv
10605 maybe-html-gnuserv:
10607 maybe-html-gnuserv: html-gnuserv
10611 @[ -f ./gnuserv/Makefile ] || exit 0; \
10612 r=`${PWD_COMMAND}`; export r; \
10613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10616 for flag in $(EXTRA_HOST_FLAGS) ; do \
10617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10619 echo "Doing html in gnuserv" ; \
10621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10623 "RANLIB=$${RANLIB}" \
10624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10630 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
10631 maybe-TAGS-gnuserv:
10633 maybe-TAGS-gnuserv: TAGS-gnuserv
10637 @[ -f ./gnuserv/Makefile ] || exit 0; \
10638 r=`${PWD_COMMAND}`; export r; \
10639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10642 for flag in $(EXTRA_HOST_FLAGS) ; do \
10643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10645 echo "Doing TAGS in gnuserv" ; \
10647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10649 "RANLIB=$${RANLIB}" \
10650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10656 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
10657 maybe-install-info-gnuserv:
10659 maybe-install-info-gnuserv: install-info-gnuserv
10661 install-info-gnuserv: \
10662 configure-gnuserv \
10664 @[ -f ./gnuserv/Makefile ] || exit 0; \
10665 r=`${PWD_COMMAND}`; export r; \
10666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10669 for flag in $(EXTRA_HOST_FLAGS) ; do \
10670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10672 echo "Doing install-info in gnuserv" ; \
10674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10676 "RANLIB=$${RANLIB}" \
10677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10683 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
10684 maybe-installcheck-gnuserv:
10686 maybe-installcheck-gnuserv: installcheck-gnuserv
10688 installcheck-gnuserv: \
10690 @[ -f ./gnuserv/Makefile ] || exit 0; \
10691 r=`${PWD_COMMAND}`; export r; \
10692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10695 for flag in $(EXTRA_HOST_FLAGS) ; do \
10696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10698 echo "Doing installcheck in gnuserv" ; \
10700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10702 "RANLIB=$${RANLIB}" \
10703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10709 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
10710 maybe-mostlyclean-gnuserv:
10712 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
10714 mostlyclean-gnuserv:
10715 @[ -f ./gnuserv/Makefile ] || exit 0; \
10716 r=`${PWD_COMMAND}`; export r; \
10717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10720 for flag in $(EXTRA_HOST_FLAGS) ; do \
10721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10723 echo "Doing mostlyclean in gnuserv" ; \
10725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10727 "RANLIB=$${RANLIB}" \
10728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10734 .PHONY: maybe-clean-gnuserv clean-gnuserv
10735 maybe-clean-gnuserv:
10737 maybe-clean-gnuserv: clean-gnuserv
10740 @[ -f ./gnuserv/Makefile ] || exit 0; \
10741 r=`${PWD_COMMAND}`; export r; \
10742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10745 for flag in $(EXTRA_HOST_FLAGS) ; do \
10746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10748 echo "Doing clean in gnuserv" ; \
10750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10752 "RANLIB=$${RANLIB}" \
10753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10759 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
10760 maybe-distclean-gnuserv:
10762 maybe-distclean-gnuserv: distclean-gnuserv
10765 @[ -f ./gnuserv/Makefile ] || exit 0; \
10766 r=`${PWD_COMMAND}`; export r; \
10767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10770 for flag in $(EXTRA_HOST_FLAGS) ; do \
10771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10773 echo "Doing distclean in gnuserv" ; \
10775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10777 "RANLIB=$${RANLIB}" \
10778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10784 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
10785 maybe-maintainer-clean-gnuserv:
10787 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
10789 maintainer-clean-gnuserv:
10790 @[ -f ./gnuserv/Makefile ] || exit 0; \
10791 r=`${PWD_COMMAND}`; export r; \
10792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10795 for flag in $(EXTRA_HOST_FLAGS) ; do \
10796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10798 echo "Doing maintainer-clean in gnuserv" ; \
10800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10802 "RANLIB=$${RANLIB}" \
10803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10804 maintainer-clean) \
10810 .PHONY: configure-gprof maybe-configure-gprof
10811 maybe-configure-gprof:
10813 maybe-configure-gprof: configure-gprof
10815 @test ! -f gprof/Makefile || exit 0; \
10816 [ -d gprof ] || mkdir gprof; \
10817 r=`${PWD_COMMAND}`; export r; \
10818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10820 echo Configuring in gprof; \
10821 cd gprof || exit 1; \
10822 case $(srcdir) in \
10824 srcdiroption="--srcdir=."; \
10826 /* | [A-Za-z]:[\\/]*) \
10827 srcdiroption="--srcdir=$(srcdir)/gprof"; \
10828 libsrcdir="$$s/gprof";; \
10830 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
10831 libsrcdir="$$s/gprof";; \
10833 $(SHELL) $${libsrcdir}/configure \
10834 $(HOST_CONFIGARGS) $${srcdiroption} \
10838 .PHONY: all-gprof maybe-all-gprof
10842 maybe-all-gprof: all-gprof
10843 all-gprof: configure-gprof
10844 @r=`${PWD_COMMAND}`; export r; \
10845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10848 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) \
10852 .PHONY: check-gprof maybe-check-gprof
10855 maybe-check-gprof: check-gprof
10858 @r=`${PWD_COMMAND}`; export r; \
10859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10862 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
10866 .PHONY: install-gprof maybe-install-gprof
10867 maybe-install-gprof:
10869 maybe-install-gprof: install-gprof
10871 install-gprof: installdirs
10872 @r=`${PWD_COMMAND}`; export r; \
10873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10876 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
10880 # Other targets (info, dvi, etc.)
10882 .PHONY: maybe-info-gprof info-gprof
10885 maybe-info-gprof: info-gprof
10889 @[ -f ./gprof/Makefile ] || exit 0; \
10890 r=`${PWD_COMMAND}`; export r; \
10891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10894 for flag in $(EXTRA_HOST_FLAGS) ; do \
10895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10897 echo "Doing info in gprof" ; \
10899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10901 "RANLIB=$${RANLIB}" \
10902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10908 .PHONY: maybe-dvi-gprof dvi-gprof
10911 maybe-dvi-gprof: dvi-gprof
10915 @[ -f ./gprof/Makefile ] || exit 0; \
10916 r=`${PWD_COMMAND}`; export r; \
10917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10920 for flag in $(EXTRA_HOST_FLAGS) ; do \
10921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10923 echo "Doing dvi in gprof" ; \
10925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10927 "RANLIB=$${RANLIB}" \
10928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10934 .PHONY: maybe-html-gprof html-gprof
10937 maybe-html-gprof: html-gprof
10941 @[ -f ./gprof/Makefile ] || exit 0; \
10942 r=`${PWD_COMMAND}`; export r; \
10943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10946 for flag in $(EXTRA_HOST_FLAGS) ; do \
10947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10949 echo "Doing html in gprof" ; \
10951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10953 "RANLIB=$${RANLIB}" \
10954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10960 .PHONY: maybe-TAGS-gprof TAGS-gprof
10963 maybe-TAGS-gprof: TAGS-gprof
10967 @[ -f ./gprof/Makefile ] || exit 0; \
10968 r=`${PWD_COMMAND}`; export r; \
10969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10972 for flag in $(EXTRA_HOST_FLAGS) ; do \
10973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10975 echo "Doing TAGS in gprof" ; \
10977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10979 "RANLIB=$${RANLIB}" \
10980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10986 .PHONY: maybe-install-info-gprof install-info-gprof
10987 maybe-install-info-gprof:
10989 maybe-install-info-gprof: install-info-gprof
10991 install-info-gprof: \
10994 @[ -f ./gprof/Makefile ] || exit 0; \
10995 r=`${PWD_COMMAND}`; export r; \
10996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10999 for flag in $(EXTRA_HOST_FLAGS) ; do \
11000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11002 echo "Doing install-info in gprof" ; \
11004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11006 "RANLIB=$${RANLIB}" \
11007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11013 .PHONY: maybe-installcheck-gprof installcheck-gprof
11014 maybe-installcheck-gprof:
11016 maybe-installcheck-gprof: installcheck-gprof
11018 installcheck-gprof: \
11020 @[ -f ./gprof/Makefile ] || exit 0; \
11021 r=`${PWD_COMMAND}`; export r; \
11022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11025 for flag in $(EXTRA_HOST_FLAGS) ; do \
11026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11028 echo "Doing installcheck in gprof" ; \
11030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11032 "RANLIB=$${RANLIB}" \
11033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11039 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
11040 maybe-mostlyclean-gprof:
11042 maybe-mostlyclean-gprof: mostlyclean-gprof
11045 @[ -f ./gprof/Makefile ] || exit 0; \
11046 r=`${PWD_COMMAND}`; export r; \
11047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11050 for flag in $(EXTRA_HOST_FLAGS) ; do \
11051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11053 echo "Doing mostlyclean in gprof" ; \
11055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11057 "RANLIB=$${RANLIB}" \
11058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11064 .PHONY: maybe-clean-gprof clean-gprof
11067 maybe-clean-gprof: clean-gprof
11070 @[ -f ./gprof/Makefile ] || exit 0; \
11071 r=`${PWD_COMMAND}`; export r; \
11072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11075 for flag in $(EXTRA_HOST_FLAGS) ; do \
11076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11078 echo "Doing clean in gprof" ; \
11080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11082 "RANLIB=$${RANLIB}" \
11083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11089 .PHONY: maybe-distclean-gprof distclean-gprof
11090 maybe-distclean-gprof:
11092 maybe-distclean-gprof: distclean-gprof
11095 @[ -f ./gprof/Makefile ] || exit 0; \
11096 r=`${PWD_COMMAND}`; export r; \
11097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11100 for flag in $(EXTRA_HOST_FLAGS) ; do \
11101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11103 echo "Doing distclean in gprof" ; \
11105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11107 "RANLIB=$${RANLIB}" \
11108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11114 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
11115 maybe-maintainer-clean-gprof:
11117 maybe-maintainer-clean-gprof: maintainer-clean-gprof
11119 maintainer-clean-gprof:
11120 @[ -f ./gprof/Makefile ] || exit 0; \
11121 r=`${PWD_COMMAND}`; export r; \
11122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11125 for flag in $(EXTRA_HOST_FLAGS) ; do \
11126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11128 echo "Doing maintainer-clean in gprof" ; \
11130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11132 "RANLIB=$${RANLIB}" \
11133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11134 maintainer-clean) \
11140 .PHONY: configure-gzip maybe-configure-gzip
11141 maybe-configure-gzip:
11143 maybe-configure-gzip: configure-gzip
11145 @test ! -f gzip/Makefile || exit 0; \
11146 [ -d gzip ] || mkdir gzip; \
11147 r=`${PWD_COMMAND}`; export r; \
11148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11150 echo Configuring in gzip; \
11151 cd gzip || exit 1; \
11152 case $(srcdir) in \
11154 srcdiroption="--srcdir=."; \
11156 /* | [A-Za-z]:[\\/]*) \
11157 srcdiroption="--srcdir=$(srcdir)/gzip"; \
11158 libsrcdir="$$s/gzip";; \
11160 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
11161 libsrcdir="$$s/gzip";; \
11163 $(SHELL) $${libsrcdir}/configure \
11164 $(HOST_CONFIGARGS) $${srcdiroption} \
11168 .PHONY: all-gzip maybe-all-gzip
11172 maybe-all-gzip: all-gzip
11173 all-gzip: configure-gzip
11174 @r=`${PWD_COMMAND}`; export r; \
11175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11178 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) \
11182 .PHONY: check-gzip maybe-check-gzip
11185 maybe-check-gzip: check-gzip
11188 @r=`${PWD_COMMAND}`; export r; \
11189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11192 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
11196 .PHONY: install-gzip maybe-install-gzip
11197 maybe-install-gzip:
11199 maybe-install-gzip: install-gzip
11201 install-gzip: installdirs
11202 @r=`${PWD_COMMAND}`; export r; \
11203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11206 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
11210 # Other targets (info, dvi, etc.)
11212 .PHONY: maybe-info-gzip info-gzip
11215 maybe-info-gzip: info-gzip
11219 @[ -f ./gzip/Makefile ] || exit 0; \
11220 r=`${PWD_COMMAND}`; export r; \
11221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11224 for flag in $(EXTRA_HOST_FLAGS) ; do \
11225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11227 echo "Doing info in gzip" ; \
11229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11231 "RANLIB=$${RANLIB}" \
11232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11238 .PHONY: maybe-dvi-gzip dvi-gzip
11241 maybe-dvi-gzip: dvi-gzip
11245 @[ -f ./gzip/Makefile ] || exit 0; \
11246 r=`${PWD_COMMAND}`; export r; \
11247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11250 for flag in $(EXTRA_HOST_FLAGS) ; do \
11251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11253 echo "Doing dvi in gzip" ; \
11255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11257 "RANLIB=$${RANLIB}" \
11258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11264 .PHONY: maybe-html-gzip html-gzip
11267 maybe-html-gzip: html-gzip
11271 @[ -f ./gzip/Makefile ] || exit 0; \
11272 r=`${PWD_COMMAND}`; export r; \
11273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11276 for flag in $(EXTRA_HOST_FLAGS) ; do \
11277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11279 echo "Doing html in gzip" ; \
11281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11283 "RANLIB=$${RANLIB}" \
11284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11290 .PHONY: maybe-TAGS-gzip TAGS-gzip
11293 maybe-TAGS-gzip: TAGS-gzip
11297 @[ -f ./gzip/Makefile ] || exit 0; \
11298 r=`${PWD_COMMAND}`; export r; \
11299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11302 for flag in $(EXTRA_HOST_FLAGS) ; do \
11303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11305 echo "Doing TAGS in gzip" ; \
11307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11309 "RANLIB=$${RANLIB}" \
11310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11316 .PHONY: maybe-install-info-gzip install-info-gzip
11317 maybe-install-info-gzip:
11319 maybe-install-info-gzip: install-info-gzip
11321 install-info-gzip: \
11324 @[ -f ./gzip/Makefile ] || exit 0; \
11325 r=`${PWD_COMMAND}`; export r; \
11326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11329 for flag in $(EXTRA_HOST_FLAGS) ; do \
11330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11332 echo "Doing install-info in gzip" ; \
11334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11336 "RANLIB=$${RANLIB}" \
11337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11343 .PHONY: maybe-installcheck-gzip installcheck-gzip
11344 maybe-installcheck-gzip:
11346 maybe-installcheck-gzip: installcheck-gzip
11348 installcheck-gzip: \
11350 @[ -f ./gzip/Makefile ] || exit 0; \
11351 r=`${PWD_COMMAND}`; export r; \
11352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11355 for flag in $(EXTRA_HOST_FLAGS) ; do \
11356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11358 echo "Doing installcheck in gzip" ; \
11360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11362 "RANLIB=$${RANLIB}" \
11363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11369 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
11370 maybe-mostlyclean-gzip:
11372 maybe-mostlyclean-gzip: mostlyclean-gzip
11375 @[ -f ./gzip/Makefile ] || exit 0; \
11376 r=`${PWD_COMMAND}`; export r; \
11377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11380 for flag in $(EXTRA_HOST_FLAGS) ; do \
11381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11383 echo "Doing mostlyclean in gzip" ; \
11385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11387 "RANLIB=$${RANLIB}" \
11388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11394 .PHONY: maybe-clean-gzip clean-gzip
11397 maybe-clean-gzip: clean-gzip
11400 @[ -f ./gzip/Makefile ] || exit 0; \
11401 r=`${PWD_COMMAND}`; export r; \
11402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11405 for flag in $(EXTRA_HOST_FLAGS) ; do \
11406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11408 echo "Doing clean in gzip" ; \
11410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11412 "RANLIB=$${RANLIB}" \
11413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11419 .PHONY: maybe-distclean-gzip distclean-gzip
11420 maybe-distclean-gzip:
11422 maybe-distclean-gzip: distclean-gzip
11425 @[ -f ./gzip/Makefile ] || exit 0; \
11426 r=`${PWD_COMMAND}`; export r; \
11427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11430 for flag in $(EXTRA_HOST_FLAGS) ; do \
11431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11433 echo "Doing distclean in gzip" ; \
11435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11437 "RANLIB=$${RANLIB}" \
11438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11444 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
11445 maybe-maintainer-clean-gzip:
11447 maybe-maintainer-clean-gzip: maintainer-clean-gzip
11449 maintainer-clean-gzip:
11450 @[ -f ./gzip/Makefile ] || exit 0; \
11451 r=`${PWD_COMMAND}`; export r; \
11452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11455 for flag in $(EXTRA_HOST_FLAGS) ; do \
11456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11458 echo "Doing maintainer-clean in gzip" ; \
11460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11462 "RANLIB=$${RANLIB}" \
11463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11464 maintainer-clean) \
11470 .PHONY: configure-hello maybe-configure-hello
11471 maybe-configure-hello:
11473 maybe-configure-hello: configure-hello
11475 @test ! -f hello/Makefile || exit 0; \
11476 [ -d hello ] || mkdir hello; \
11477 r=`${PWD_COMMAND}`; export r; \
11478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11480 echo Configuring in hello; \
11481 cd hello || exit 1; \
11482 case $(srcdir) in \
11484 srcdiroption="--srcdir=."; \
11486 /* | [A-Za-z]:[\\/]*) \
11487 srcdiroption="--srcdir=$(srcdir)/hello"; \
11488 libsrcdir="$$s/hello";; \
11490 srcdiroption="--srcdir=../$(srcdir)/hello"; \
11491 libsrcdir="$$s/hello";; \
11493 $(SHELL) $${libsrcdir}/configure \
11494 $(HOST_CONFIGARGS) $${srcdiroption} \
11498 .PHONY: all-hello maybe-all-hello
11502 maybe-all-hello: all-hello
11503 all-hello: configure-hello
11504 @r=`${PWD_COMMAND}`; export r; \
11505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11508 (cd hello && $(MAKE) $(FLAGS_TO_PASS) \
11512 .PHONY: check-hello maybe-check-hello
11515 maybe-check-hello: check-hello
11518 @r=`${PWD_COMMAND}`; export r; \
11519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11522 (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
11526 .PHONY: install-hello maybe-install-hello
11527 maybe-install-hello:
11529 maybe-install-hello: install-hello
11531 install-hello: installdirs
11532 @r=`${PWD_COMMAND}`; export r; \
11533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11536 (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
11540 # Other targets (info, dvi, etc.)
11542 .PHONY: maybe-info-hello info-hello
11545 maybe-info-hello: info-hello
11549 @[ -f ./hello/Makefile ] || exit 0; \
11550 r=`${PWD_COMMAND}`; export r; \
11551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11554 for flag in $(EXTRA_HOST_FLAGS) ; do \
11555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11557 echo "Doing info in hello" ; \
11559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11561 "RANLIB=$${RANLIB}" \
11562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11568 .PHONY: maybe-dvi-hello dvi-hello
11571 maybe-dvi-hello: dvi-hello
11575 @[ -f ./hello/Makefile ] || exit 0; \
11576 r=`${PWD_COMMAND}`; export r; \
11577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11580 for flag in $(EXTRA_HOST_FLAGS) ; do \
11581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11583 echo "Doing dvi in hello" ; \
11585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11587 "RANLIB=$${RANLIB}" \
11588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11594 .PHONY: maybe-html-hello html-hello
11597 maybe-html-hello: html-hello
11601 @[ -f ./hello/Makefile ] || exit 0; \
11602 r=`${PWD_COMMAND}`; export r; \
11603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11606 for flag in $(EXTRA_HOST_FLAGS) ; do \
11607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11609 echo "Doing html in hello" ; \
11611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11613 "RANLIB=$${RANLIB}" \
11614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11620 .PHONY: maybe-TAGS-hello TAGS-hello
11623 maybe-TAGS-hello: TAGS-hello
11627 @[ -f ./hello/Makefile ] || exit 0; \
11628 r=`${PWD_COMMAND}`; export r; \
11629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11632 for flag in $(EXTRA_HOST_FLAGS) ; do \
11633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11635 echo "Doing TAGS in hello" ; \
11637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11639 "RANLIB=$${RANLIB}" \
11640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11646 .PHONY: maybe-install-info-hello install-info-hello
11647 maybe-install-info-hello:
11649 maybe-install-info-hello: install-info-hello
11651 install-info-hello: \
11654 @[ -f ./hello/Makefile ] || exit 0; \
11655 r=`${PWD_COMMAND}`; export r; \
11656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11659 for flag in $(EXTRA_HOST_FLAGS) ; do \
11660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11662 echo "Doing install-info in hello" ; \
11664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11666 "RANLIB=$${RANLIB}" \
11667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11673 .PHONY: maybe-installcheck-hello installcheck-hello
11674 maybe-installcheck-hello:
11676 maybe-installcheck-hello: installcheck-hello
11678 installcheck-hello: \
11680 @[ -f ./hello/Makefile ] || exit 0; \
11681 r=`${PWD_COMMAND}`; export r; \
11682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11685 for flag in $(EXTRA_HOST_FLAGS) ; do \
11686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11688 echo "Doing installcheck in hello" ; \
11690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11692 "RANLIB=$${RANLIB}" \
11693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11699 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
11700 maybe-mostlyclean-hello:
11702 maybe-mostlyclean-hello: mostlyclean-hello
11705 @[ -f ./hello/Makefile ] || exit 0; \
11706 r=`${PWD_COMMAND}`; export r; \
11707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11710 for flag in $(EXTRA_HOST_FLAGS) ; do \
11711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11713 echo "Doing mostlyclean in hello" ; \
11715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11717 "RANLIB=$${RANLIB}" \
11718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11724 .PHONY: maybe-clean-hello clean-hello
11727 maybe-clean-hello: clean-hello
11730 @[ -f ./hello/Makefile ] || exit 0; \
11731 r=`${PWD_COMMAND}`; export r; \
11732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11735 for flag in $(EXTRA_HOST_FLAGS) ; do \
11736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11738 echo "Doing clean in hello" ; \
11740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11742 "RANLIB=$${RANLIB}" \
11743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11749 .PHONY: maybe-distclean-hello distclean-hello
11750 maybe-distclean-hello:
11752 maybe-distclean-hello: distclean-hello
11755 @[ -f ./hello/Makefile ] || exit 0; \
11756 r=`${PWD_COMMAND}`; export r; \
11757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11760 for flag in $(EXTRA_HOST_FLAGS) ; do \
11761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11763 echo "Doing distclean in hello" ; \
11765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11767 "RANLIB=$${RANLIB}" \
11768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11774 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
11775 maybe-maintainer-clean-hello:
11777 maybe-maintainer-clean-hello: maintainer-clean-hello
11779 maintainer-clean-hello:
11780 @[ -f ./hello/Makefile ] || exit 0; \
11781 r=`${PWD_COMMAND}`; export r; \
11782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11785 for flag in $(EXTRA_HOST_FLAGS) ; do \
11786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11788 echo "Doing maintainer-clean in hello" ; \
11790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11792 "RANLIB=$${RANLIB}" \
11793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11794 maintainer-clean) \
11800 .PHONY: configure-indent maybe-configure-indent
11801 maybe-configure-indent:
11803 maybe-configure-indent: configure-indent
11805 @test ! -f indent/Makefile || exit 0; \
11806 [ -d indent ] || mkdir indent; \
11807 r=`${PWD_COMMAND}`; export r; \
11808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11810 echo Configuring in indent; \
11811 cd indent || exit 1; \
11812 case $(srcdir) in \
11814 srcdiroption="--srcdir=."; \
11816 /* | [A-Za-z]:[\\/]*) \
11817 srcdiroption="--srcdir=$(srcdir)/indent"; \
11818 libsrcdir="$$s/indent";; \
11820 srcdiroption="--srcdir=../$(srcdir)/indent"; \
11821 libsrcdir="$$s/indent";; \
11823 $(SHELL) $${libsrcdir}/configure \
11824 $(HOST_CONFIGARGS) $${srcdiroption} \
11828 .PHONY: all-indent maybe-all-indent
11832 maybe-all-indent: all-indent
11833 all-indent: configure-indent
11834 @r=`${PWD_COMMAND}`; export r; \
11835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11838 (cd indent && $(MAKE) $(FLAGS_TO_PASS) \
11842 .PHONY: check-indent maybe-check-indent
11843 maybe-check-indent:
11845 maybe-check-indent: check-indent
11848 @r=`${PWD_COMMAND}`; export r; \
11849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11852 (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
11856 .PHONY: install-indent maybe-install-indent
11857 maybe-install-indent:
11859 maybe-install-indent: install-indent
11861 install-indent: installdirs
11862 @r=`${PWD_COMMAND}`; export r; \
11863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11866 (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
11870 # Other targets (info, dvi, etc.)
11872 .PHONY: maybe-info-indent info-indent
11875 maybe-info-indent: info-indent
11879 @[ -f ./indent/Makefile ] || exit 0; \
11880 r=`${PWD_COMMAND}`; export r; \
11881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11884 for flag in $(EXTRA_HOST_FLAGS) ; do \
11885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11887 echo "Doing info in indent" ; \
11889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11891 "RANLIB=$${RANLIB}" \
11892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11898 .PHONY: maybe-dvi-indent dvi-indent
11901 maybe-dvi-indent: dvi-indent
11905 @[ -f ./indent/Makefile ] || exit 0; \
11906 r=`${PWD_COMMAND}`; export r; \
11907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11910 for flag in $(EXTRA_HOST_FLAGS) ; do \
11911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11913 echo "Doing dvi in indent" ; \
11915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11917 "RANLIB=$${RANLIB}" \
11918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11924 .PHONY: maybe-html-indent html-indent
11927 maybe-html-indent: html-indent
11931 @[ -f ./indent/Makefile ] || exit 0; \
11932 r=`${PWD_COMMAND}`; export r; \
11933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11936 for flag in $(EXTRA_HOST_FLAGS) ; do \
11937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11939 echo "Doing html in indent" ; \
11941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11943 "RANLIB=$${RANLIB}" \
11944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11950 .PHONY: maybe-TAGS-indent TAGS-indent
11953 maybe-TAGS-indent: TAGS-indent
11957 @[ -f ./indent/Makefile ] || exit 0; \
11958 r=`${PWD_COMMAND}`; export r; \
11959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11962 for flag in $(EXTRA_HOST_FLAGS) ; do \
11963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11965 echo "Doing TAGS in indent" ; \
11967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11969 "RANLIB=$${RANLIB}" \
11970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11976 .PHONY: maybe-install-info-indent install-info-indent
11977 maybe-install-info-indent:
11979 maybe-install-info-indent: install-info-indent
11981 install-info-indent: \
11984 @[ -f ./indent/Makefile ] || exit 0; \
11985 r=`${PWD_COMMAND}`; export r; \
11986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11989 for flag in $(EXTRA_HOST_FLAGS) ; do \
11990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11992 echo "Doing install-info in indent" ; \
11994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11996 "RANLIB=$${RANLIB}" \
11997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12003 .PHONY: maybe-installcheck-indent installcheck-indent
12004 maybe-installcheck-indent:
12006 maybe-installcheck-indent: installcheck-indent
12008 installcheck-indent: \
12010 @[ -f ./indent/Makefile ] || exit 0; \
12011 r=`${PWD_COMMAND}`; export r; \
12012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12015 for flag in $(EXTRA_HOST_FLAGS) ; do \
12016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12018 echo "Doing installcheck in indent" ; \
12020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12022 "RANLIB=$${RANLIB}" \
12023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12029 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
12030 maybe-mostlyclean-indent:
12032 maybe-mostlyclean-indent: mostlyclean-indent
12034 mostlyclean-indent:
12035 @[ -f ./indent/Makefile ] || exit 0; \
12036 r=`${PWD_COMMAND}`; export r; \
12037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12040 for flag in $(EXTRA_HOST_FLAGS) ; do \
12041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12043 echo "Doing mostlyclean in indent" ; \
12045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12047 "RANLIB=$${RANLIB}" \
12048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12054 .PHONY: maybe-clean-indent clean-indent
12055 maybe-clean-indent:
12057 maybe-clean-indent: clean-indent
12060 @[ -f ./indent/Makefile ] || exit 0; \
12061 r=`${PWD_COMMAND}`; export r; \
12062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12065 for flag in $(EXTRA_HOST_FLAGS) ; do \
12066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12068 echo "Doing clean in indent" ; \
12070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12072 "RANLIB=$${RANLIB}" \
12073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12079 .PHONY: maybe-distclean-indent distclean-indent
12080 maybe-distclean-indent:
12082 maybe-distclean-indent: distclean-indent
12085 @[ -f ./indent/Makefile ] || exit 0; \
12086 r=`${PWD_COMMAND}`; export r; \
12087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12090 for flag in $(EXTRA_HOST_FLAGS) ; do \
12091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12093 echo "Doing distclean in indent" ; \
12095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12097 "RANLIB=$${RANLIB}" \
12098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12104 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
12105 maybe-maintainer-clean-indent:
12107 maybe-maintainer-clean-indent: maintainer-clean-indent
12109 maintainer-clean-indent:
12110 @[ -f ./indent/Makefile ] || exit 0; \
12111 r=`${PWD_COMMAND}`; export r; \
12112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12115 for flag in $(EXTRA_HOST_FLAGS) ; do \
12116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12118 echo "Doing maintainer-clean in indent" ; \
12120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12122 "RANLIB=$${RANLIB}" \
12123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12124 maintainer-clean) \
12130 .PHONY: configure-intl maybe-configure-intl
12131 maybe-configure-intl:
12133 maybe-configure-intl: configure-intl
12135 @test -f stage_last && exit 0; \
12136 test ! -f intl/Makefile || exit 0; \
12137 [ -d intl ] || mkdir intl; \
12138 r=`${PWD_COMMAND}`; export r; \
12139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12141 echo Configuring in intl; \
12142 cd intl || exit 1; \
12143 case $(srcdir) in \
12145 srcdiroption="--srcdir=."; \
12147 /* | [A-Za-z]:[\\/]*) \
12148 srcdiroption="--srcdir=$(srcdir)/intl"; \
12149 libsrcdir="$$s/intl";; \
12151 srcdiroption="--srcdir=../$(srcdir)/intl"; \
12152 libsrcdir="$$s/intl";; \
12154 $(SHELL) $${libsrcdir}/configure \
12155 $(HOST_CONFIGARGS) $${srcdiroption} \
12159 .PHONY: all-intl maybe-all-intl
12163 maybe-all-intl: all-intl
12164 all-intl: configure-intl
12165 @test -f stage_last && exit 0; \
12166 r=`${PWD_COMMAND}`; export r; \
12167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12170 (cd intl && $(MAKE) $(FLAGS_TO_PASS) \
12174 .PHONY: check-intl maybe-check-intl
12177 maybe-check-intl: check-intl
12180 @r=`${PWD_COMMAND}`; export r; \
12181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12184 (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
12188 .PHONY: install-intl maybe-install-intl
12189 maybe-install-intl:
12191 maybe-install-intl: install-intl
12193 install-intl: installdirs
12194 @r=`${PWD_COMMAND}`; export r; \
12195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12198 (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
12202 # Other targets (info, dvi, etc.)
12204 .PHONY: maybe-info-intl info-intl
12207 maybe-info-intl: info-intl
12211 @[ -f ./intl/Makefile ] || exit 0; \
12212 r=`${PWD_COMMAND}`; export r; \
12213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12216 for flag in $(EXTRA_HOST_FLAGS) ; do \
12217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12219 echo "Doing info in intl" ; \
12221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12223 "RANLIB=$${RANLIB}" \
12224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12230 .PHONY: maybe-dvi-intl dvi-intl
12233 maybe-dvi-intl: dvi-intl
12237 @[ -f ./intl/Makefile ] || exit 0; \
12238 r=`${PWD_COMMAND}`; export r; \
12239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12242 for flag in $(EXTRA_HOST_FLAGS) ; do \
12243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12245 echo "Doing dvi in intl" ; \
12247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12249 "RANLIB=$${RANLIB}" \
12250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12256 .PHONY: maybe-html-intl html-intl
12259 maybe-html-intl: html-intl
12263 @[ -f ./intl/Makefile ] || exit 0; \
12264 r=`${PWD_COMMAND}`; export r; \
12265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12268 for flag in $(EXTRA_HOST_FLAGS) ; do \
12269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12271 echo "Doing html in intl" ; \
12273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12275 "RANLIB=$${RANLIB}" \
12276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12282 .PHONY: maybe-TAGS-intl TAGS-intl
12285 maybe-TAGS-intl: TAGS-intl
12289 @[ -f ./intl/Makefile ] || exit 0; \
12290 r=`${PWD_COMMAND}`; export r; \
12291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12294 for flag in $(EXTRA_HOST_FLAGS) ; do \
12295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12297 echo "Doing TAGS in intl" ; \
12299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12301 "RANLIB=$${RANLIB}" \
12302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12308 .PHONY: maybe-install-info-intl install-info-intl
12309 maybe-install-info-intl:
12311 maybe-install-info-intl: install-info-intl
12313 install-info-intl: \
12316 @[ -f ./intl/Makefile ] || exit 0; \
12317 r=`${PWD_COMMAND}`; export r; \
12318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12321 for flag in $(EXTRA_HOST_FLAGS) ; do \
12322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12324 echo "Doing install-info in intl" ; \
12326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12328 "RANLIB=$${RANLIB}" \
12329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12335 .PHONY: maybe-installcheck-intl installcheck-intl
12336 maybe-installcheck-intl:
12338 maybe-installcheck-intl: installcheck-intl
12340 installcheck-intl: \
12342 @[ -f ./intl/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 installcheck in intl" ; \
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-mostlyclean-intl mostlyclean-intl
12362 maybe-mostlyclean-intl:
12364 maybe-mostlyclean-intl: mostlyclean-intl
12367 @[ -f ./intl/Makefile ] || exit 0; \
12368 r=`${PWD_COMMAND}`; export r; \
12369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12372 for flag in $(EXTRA_HOST_FLAGS) ; do \
12373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12375 echo "Doing mostlyclean in intl" ; \
12377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12379 "RANLIB=$${RANLIB}" \
12380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12386 .PHONY: maybe-clean-intl clean-intl
12389 maybe-clean-intl: clean-intl
12392 @[ -f ./intl/Makefile ] || exit 0; \
12393 r=`${PWD_COMMAND}`; export r; \
12394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12397 for flag in $(EXTRA_HOST_FLAGS) ; do \
12398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12400 echo "Doing clean in intl" ; \
12402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12404 "RANLIB=$${RANLIB}" \
12405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12411 .PHONY: maybe-distclean-intl distclean-intl
12412 maybe-distclean-intl:
12414 maybe-distclean-intl: distclean-intl
12417 @[ -f ./intl/Makefile ] || exit 0; \
12418 r=`${PWD_COMMAND}`; export r; \
12419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12422 for flag in $(EXTRA_HOST_FLAGS) ; do \
12423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12425 echo "Doing distclean in intl" ; \
12427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12429 "RANLIB=$${RANLIB}" \
12430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12436 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
12437 maybe-maintainer-clean-intl:
12439 maybe-maintainer-clean-intl: maintainer-clean-intl
12441 maintainer-clean-intl:
12442 @[ -f ./intl/Makefile ] || exit 0; \
12443 r=`${PWD_COMMAND}`; export r; \
12444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12447 for flag in $(EXTRA_HOST_FLAGS) ; do \
12448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12450 echo "Doing maintainer-clean in intl" ; \
12452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12454 "RANLIB=$${RANLIB}" \
12455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12456 maintainer-clean) \
12462 .PHONY: configure-tcl maybe-configure-tcl
12463 maybe-configure-tcl:
12465 maybe-configure-tcl: configure-tcl
12467 @test ! -f tcl/Makefile || exit 0; \
12468 [ -d tcl ] || mkdir tcl; \
12469 r=`${PWD_COMMAND}`; export r; \
12470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12472 echo Configuring in tcl; \
12473 cd tcl || exit 1; \
12474 case $(srcdir) in \
12476 srcdiroption="--srcdir=."; \
12478 /* | [A-Za-z]:[\\/]*) \
12479 srcdiroption="--srcdir=$(srcdir)/tcl"; \
12480 libsrcdir="$$s/tcl";; \
12482 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
12483 libsrcdir="$$s/tcl";; \
12485 $(SHELL) $${libsrcdir}/configure \
12486 $(HOST_CONFIGARGS) $${srcdiroption} \
12490 .PHONY: all-tcl maybe-all-tcl
12494 maybe-all-tcl: all-tcl
12495 all-tcl: configure-tcl
12496 @r=`${PWD_COMMAND}`; export r; \
12497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12500 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) \
12504 .PHONY: check-tcl maybe-check-tcl
12507 maybe-check-tcl: check-tcl
12510 @r=`${PWD_COMMAND}`; export r; \
12511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12514 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
12518 .PHONY: install-tcl maybe-install-tcl
12521 maybe-install-tcl: install-tcl
12523 install-tcl: installdirs
12524 @r=`${PWD_COMMAND}`; export r; \
12525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12528 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
12532 # Other targets (info, dvi, etc.)
12534 .PHONY: maybe-info-tcl info-tcl
12537 maybe-info-tcl: info-tcl
12541 @[ -f ./tcl/Makefile ] || exit 0; \
12542 r=`${PWD_COMMAND}`; export r; \
12543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12546 for flag in $(EXTRA_HOST_FLAGS) ; do \
12547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12549 echo "Doing info in tcl" ; \
12551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12553 "RANLIB=$${RANLIB}" \
12554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12560 .PHONY: maybe-dvi-tcl dvi-tcl
12563 maybe-dvi-tcl: dvi-tcl
12567 @[ -f ./tcl/Makefile ] || exit 0; \
12568 r=`${PWD_COMMAND}`; export r; \
12569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12572 for flag in $(EXTRA_HOST_FLAGS) ; do \
12573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12575 echo "Doing dvi in tcl" ; \
12577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12579 "RANLIB=$${RANLIB}" \
12580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12586 .PHONY: maybe-html-tcl html-tcl
12589 maybe-html-tcl: html-tcl
12593 @[ -f ./tcl/Makefile ] || exit 0; \
12594 r=`${PWD_COMMAND}`; export r; \
12595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12598 for flag in $(EXTRA_HOST_FLAGS) ; do \
12599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12601 echo "Doing html in tcl" ; \
12603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12605 "RANLIB=$${RANLIB}" \
12606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12612 .PHONY: maybe-TAGS-tcl TAGS-tcl
12615 maybe-TAGS-tcl: TAGS-tcl
12619 @[ -f ./tcl/Makefile ] || exit 0; \
12620 r=`${PWD_COMMAND}`; export r; \
12621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12624 for flag in $(EXTRA_HOST_FLAGS) ; do \
12625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12627 echo "Doing TAGS in tcl" ; \
12629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12631 "RANLIB=$${RANLIB}" \
12632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12638 .PHONY: maybe-install-info-tcl install-info-tcl
12639 maybe-install-info-tcl:
12641 maybe-install-info-tcl: install-info-tcl
12643 install-info-tcl: \
12646 @[ -f ./tcl/Makefile ] || exit 0; \
12647 r=`${PWD_COMMAND}`; export r; \
12648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12651 for flag in $(EXTRA_HOST_FLAGS) ; do \
12652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12654 echo "Doing install-info in tcl" ; \
12656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12658 "RANLIB=$${RANLIB}" \
12659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12665 .PHONY: maybe-installcheck-tcl installcheck-tcl
12666 maybe-installcheck-tcl:
12668 maybe-installcheck-tcl: installcheck-tcl
12670 installcheck-tcl: \
12672 @[ -f ./tcl/Makefile ] || exit 0; \
12673 r=`${PWD_COMMAND}`; export r; \
12674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12677 for flag in $(EXTRA_HOST_FLAGS) ; do \
12678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12680 echo "Doing installcheck in tcl" ; \
12682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12684 "RANLIB=$${RANLIB}" \
12685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12691 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
12692 maybe-mostlyclean-tcl:
12694 maybe-mostlyclean-tcl: mostlyclean-tcl
12696 # tcl doesn't support mostlyclean.
12701 .PHONY: maybe-clean-tcl clean-tcl
12704 maybe-clean-tcl: clean-tcl
12707 @[ -f ./tcl/Makefile ] || exit 0; \
12708 r=`${PWD_COMMAND}`; export r; \
12709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12712 for flag in $(EXTRA_HOST_FLAGS) ; do \
12713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12715 echo "Doing clean in tcl" ; \
12717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12719 "RANLIB=$${RANLIB}" \
12720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12726 .PHONY: maybe-distclean-tcl distclean-tcl
12727 maybe-distclean-tcl:
12729 maybe-distclean-tcl: distclean-tcl
12732 @[ -f ./tcl/Makefile ] || exit 0; \
12733 r=`${PWD_COMMAND}`; export r; \
12734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12737 for flag in $(EXTRA_HOST_FLAGS) ; do \
12738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12740 echo "Doing distclean in tcl" ; \
12742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12744 "RANLIB=$${RANLIB}" \
12745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12751 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
12752 maybe-maintainer-clean-tcl:
12754 maybe-maintainer-clean-tcl: maintainer-clean-tcl
12756 maintainer-clean-tcl:
12757 @[ -f ./tcl/Makefile ] || exit 0; \
12758 r=`${PWD_COMMAND}`; export r; \
12759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12762 for flag in $(EXTRA_HOST_FLAGS) ; do \
12763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12765 echo "Doing maintainer-clean in tcl" ; \
12767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12769 "RANLIB=$${RANLIB}" \
12770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12771 maintainer-clean) \
12777 .PHONY: configure-itcl maybe-configure-itcl
12778 maybe-configure-itcl:
12780 maybe-configure-itcl: configure-itcl
12782 @test ! -f itcl/Makefile || exit 0; \
12783 [ -d itcl ] || mkdir itcl; \
12784 r=`${PWD_COMMAND}`; export r; \
12785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12787 echo Configuring in itcl; \
12788 cd itcl || exit 1; \
12789 case $(srcdir) in \
12791 srcdiroption="--srcdir=."; \
12793 /* | [A-Za-z]:[\\/]*) \
12794 srcdiroption="--srcdir=$(srcdir)/itcl"; \
12795 libsrcdir="$$s/itcl";; \
12797 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
12798 libsrcdir="$$s/itcl";; \
12800 $(SHELL) $${libsrcdir}/configure \
12801 $(HOST_CONFIGARGS) $${srcdiroption} \
12805 .PHONY: all-itcl maybe-all-itcl
12809 maybe-all-itcl: all-itcl
12810 all-itcl: configure-itcl
12811 @r=`${PWD_COMMAND}`; export r; \
12812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12815 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) \
12819 .PHONY: check-itcl maybe-check-itcl
12822 maybe-check-itcl: check-itcl
12825 @r=`${PWD_COMMAND}`; export r; \
12826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12829 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
12833 .PHONY: install-itcl maybe-install-itcl
12834 maybe-install-itcl:
12836 maybe-install-itcl: install-itcl
12838 install-itcl: installdirs
12839 @r=`${PWD_COMMAND}`; export r; \
12840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12843 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
12847 # Other targets (info, dvi, etc.)
12849 .PHONY: maybe-info-itcl info-itcl
12852 maybe-info-itcl: info-itcl
12856 @[ -f ./itcl/Makefile ] || exit 0; \
12857 r=`${PWD_COMMAND}`; export r; \
12858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12861 for flag in $(EXTRA_HOST_FLAGS) ; do \
12862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12864 echo "Doing info in itcl" ; \
12866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12868 "RANLIB=$${RANLIB}" \
12869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12875 .PHONY: maybe-dvi-itcl dvi-itcl
12878 maybe-dvi-itcl: dvi-itcl
12882 @[ -f ./itcl/Makefile ] || exit 0; \
12883 r=`${PWD_COMMAND}`; export r; \
12884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12887 for flag in $(EXTRA_HOST_FLAGS) ; do \
12888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12890 echo "Doing dvi in itcl" ; \
12892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12894 "RANLIB=$${RANLIB}" \
12895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12901 .PHONY: maybe-html-itcl html-itcl
12904 maybe-html-itcl: html-itcl
12908 @[ -f ./itcl/Makefile ] || exit 0; \
12909 r=`${PWD_COMMAND}`; export r; \
12910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12913 for flag in $(EXTRA_HOST_FLAGS) ; do \
12914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12916 echo "Doing html in itcl" ; \
12918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12920 "RANLIB=$${RANLIB}" \
12921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12927 .PHONY: maybe-TAGS-itcl TAGS-itcl
12930 maybe-TAGS-itcl: TAGS-itcl
12934 @[ -f ./itcl/Makefile ] || exit 0; \
12935 r=`${PWD_COMMAND}`; export r; \
12936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12939 for flag in $(EXTRA_HOST_FLAGS) ; do \
12940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12942 echo "Doing TAGS in itcl" ; \
12944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12946 "RANLIB=$${RANLIB}" \
12947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12953 .PHONY: maybe-install-info-itcl install-info-itcl
12954 maybe-install-info-itcl:
12956 maybe-install-info-itcl: install-info-itcl
12958 install-info-itcl: \
12961 @[ -f ./itcl/Makefile ] || exit 0; \
12962 r=`${PWD_COMMAND}`; export r; \
12963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12966 for flag in $(EXTRA_HOST_FLAGS) ; do \
12967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12969 echo "Doing install-info in itcl" ; \
12971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12973 "RANLIB=$${RANLIB}" \
12974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12980 .PHONY: maybe-installcheck-itcl installcheck-itcl
12981 maybe-installcheck-itcl:
12983 maybe-installcheck-itcl: installcheck-itcl
12985 installcheck-itcl: \
12987 @[ -f ./itcl/Makefile ] || exit 0; \
12988 r=`${PWD_COMMAND}`; export r; \
12989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12992 for flag in $(EXTRA_HOST_FLAGS) ; do \
12993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12995 echo "Doing installcheck in itcl" ; \
12997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12999 "RANLIB=$${RANLIB}" \
13000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13006 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
13007 maybe-mostlyclean-itcl:
13009 maybe-mostlyclean-itcl: mostlyclean-itcl
13012 @[ -f ./itcl/Makefile ] || exit 0; \
13013 r=`${PWD_COMMAND}`; export r; \
13014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13017 for flag in $(EXTRA_HOST_FLAGS) ; do \
13018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13020 echo "Doing mostlyclean in itcl" ; \
13022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13024 "RANLIB=$${RANLIB}" \
13025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13031 .PHONY: maybe-clean-itcl clean-itcl
13034 maybe-clean-itcl: clean-itcl
13037 @[ -f ./itcl/Makefile ] || exit 0; \
13038 r=`${PWD_COMMAND}`; export r; \
13039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13042 for flag in $(EXTRA_HOST_FLAGS) ; do \
13043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13045 echo "Doing clean in itcl" ; \
13047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13049 "RANLIB=$${RANLIB}" \
13050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13056 .PHONY: maybe-distclean-itcl distclean-itcl
13057 maybe-distclean-itcl:
13059 maybe-distclean-itcl: distclean-itcl
13062 @[ -f ./itcl/Makefile ] || exit 0; \
13063 r=`${PWD_COMMAND}`; export r; \
13064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13067 for flag in $(EXTRA_HOST_FLAGS) ; do \
13068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13070 echo "Doing distclean in itcl" ; \
13072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13074 "RANLIB=$${RANLIB}" \
13075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13081 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
13082 maybe-maintainer-clean-itcl:
13084 maybe-maintainer-clean-itcl: maintainer-clean-itcl
13086 maintainer-clean-itcl:
13087 @[ -f ./itcl/Makefile ] || exit 0; \
13088 r=`${PWD_COMMAND}`; export r; \
13089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13092 for flag in $(EXTRA_HOST_FLAGS) ; do \
13093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13095 echo "Doing maintainer-clean in itcl" ; \
13097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13099 "RANLIB=$${RANLIB}" \
13100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13101 maintainer-clean) \
13107 .PHONY: configure-ld maybe-configure-ld
13108 maybe-configure-ld:
13110 maybe-configure-ld: configure-ld
13112 @test -f stage_last && exit 0; \
13113 test ! -f ld/Makefile || exit 0; \
13114 [ -d ld ] || mkdir ld; \
13115 r=`${PWD_COMMAND}`; export r; \
13116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13118 echo Configuring in ld; \
13120 case $(srcdir) in \
13122 srcdiroption="--srcdir=."; \
13124 /* | [A-Za-z]:[\\/]*) \
13125 srcdiroption="--srcdir=$(srcdir)/ld"; \
13126 libsrcdir="$$s/ld";; \
13128 srcdiroption="--srcdir=../$(srcdir)/ld"; \
13129 libsrcdir="$$s/ld";; \
13131 $(SHELL) $${libsrcdir}/configure \
13132 $(HOST_CONFIGARGS) $${srcdiroption} \
13136 .PHONY: all-ld maybe-all-ld
13140 maybe-all-ld: all-ld
13141 all-ld: configure-ld
13142 @test -f stage_last && exit 0; \
13143 r=`${PWD_COMMAND}`; export r; \
13144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13147 (cd ld && $(MAKE) $(FLAGS_TO_PASS) \
13151 .PHONY: check-ld maybe-check-ld
13154 maybe-check-ld: check-ld
13157 @r=`${PWD_COMMAND}`; export r; \
13158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13161 (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
13165 .PHONY: install-ld maybe-install-ld
13168 maybe-install-ld: install-ld
13170 install-ld: installdirs
13171 @r=`${PWD_COMMAND}`; export r; \
13172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13175 (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
13179 # Other targets (info, dvi, etc.)
13181 .PHONY: maybe-info-ld info-ld
13184 maybe-info-ld: info-ld
13188 @[ -f ./ld/Makefile ] || exit 0; \
13189 r=`${PWD_COMMAND}`; export r; \
13190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13193 for flag in $(EXTRA_HOST_FLAGS) ; do \
13194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13196 echo "Doing info in ld" ; \
13198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13200 "RANLIB=$${RANLIB}" \
13201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13207 .PHONY: maybe-dvi-ld dvi-ld
13210 maybe-dvi-ld: dvi-ld
13214 @[ -f ./ld/Makefile ] || exit 0; \
13215 r=`${PWD_COMMAND}`; export r; \
13216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13219 for flag in $(EXTRA_HOST_FLAGS) ; do \
13220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13222 echo "Doing dvi in ld" ; \
13224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13226 "RANLIB=$${RANLIB}" \
13227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13233 .PHONY: maybe-html-ld html-ld
13236 maybe-html-ld: html-ld
13240 @[ -f ./ld/Makefile ] || exit 0; \
13241 r=`${PWD_COMMAND}`; export r; \
13242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13245 for flag in $(EXTRA_HOST_FLAGS) ; do \
13246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13248 echo "Doing html in ld" ; \
13250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13252 "RANLIB=$${RANLIB}" \
13253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13259 .PHONY: maybe-TAGS-ld TAGS-ld
13262 maybe-TAGS-ld: TAGS-ld
13266 @[ -f ./ld/Makefile ] || exit 0; \
13267 r=`${PWD_COMMAND}`; export r; \
13268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13271 for flag in $(EXTRA_HOST_FLAGS) ; do \
13272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13274 echo "Doing TAGS in ld" ; \
13276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13278 "RANLIB=$${RANLIB}" \
13279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13285 .PHONY: maybe-install-info-ld install-info-ld
13286 maybe-install-info-ld:
13288 maybe-install-info-ld: install-info-ld
13293 @[ -f ./ld/Makefile ] || exit 0; \
13294 r=`${PWD_COMMAND}`; export r; \
13295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13298 for flag in $(EXTRA_HOST_FLAGS) ; do \
13299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13301 echo "Doing install-info in ld" ; \
13303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13305 "RANLIB=$${RANLIB}" \
13306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13312 .PHONY: maybe-installcheck-ld installcheck-ld
13313 maybe-installcheck-ld:
13315 maybe-installcheck-ld: installcheck-ld
13319 @[ -f ./ld/Makefile ] || exit 0; \
13320 r=`${PWD_COMMAND}`; export r; \
13321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13324 for flag in $(EXTRA_HOST_FLAGS) ; do \
13325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13327 echo "Doing installcheck in ld" ; \
13329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13331 "RANLIB=$${RANLIB}" \
13332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13338 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
13339 maybe-mostlyclean-ld:
13341 maybe-mostlyclean-ld: mostlyclean-ld
13344 @[ -f ./ld/Makefile ] || exit 0; \
13345 r=`${PWD_COMMAND}`; export r; \
13346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13349 for flag in $(EXTRA_HOST_FLAGS) ; do \
13350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13352 echo "Doing mostlyclean in ld" ; \
13354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13356 "RANLIB=$${RANLIB}" \
13357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13363 .PHONY: maybe-clean-ld clean-ld
13366 maybe-clean-ld: clean-ld
13369 @[ -f ./ld/Makefile ] || exit 0; \
13370 r=`${PWD_COMMAND}`; export r; \
13371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13374 for flag in $(EXTRA_HOST_FLAGS) ; do \
13375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13377 echo "Doing clean in ld" ; \
13379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13381 "RANLIB=$${RANLIB}" \
13382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13388 .PHONY: maybe-distclean-ld distclean-ld
13389 maybe-distclean-ld:
13391 maybe-distclean-ld: distclean-ld
13394 @[ -f ./ld/Makefile ] || exit 0; \
13395 r=`${PWD_COMMAND}`; export r; \
13396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13399 for flag in $(EXTRA_HOST_FLAGS) ; do \
13400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13402 echo "Doing distclean in ld" ; \
13404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13406 "RANLIB=$${RANLIB}" \
13407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13413 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
13414 maybe-maintainer-clean-ld:
13416 maybe-maintainer-clean-ld: maintainer-clean-ld
13418 maintainer-clean-ld:
13419 @[ -f ./ld/Makefile ] || exit 0; \
13420 r=`${PWD_COMMAND}`; export r; \
13421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13424 for flag in $(EXTRA_HOST_FLAGS) ; do \
13425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13427 echo "Doing maintainer-clean in ld" ; \
13429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13431 "RANLIB=$${RANLIB}" \
13432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13433 maintainer-clean) \
13439 .PHONY: configure-libcpp maybe-configure-libcpp
13440 maybe-configure-libcpp:
13442 maybe-configure-libcpp: configure-libcpp
13444 @test -f stage_last && exit 0; \
13445 test ! -f libcpp/Makefile || exit 0; \
13446 [ -d libcpp ] || mkdir libcpp; \
13447 r=`${PWD_COMMAND}`; export r; \
13448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13450 echo Configuring in libcpp; \
13451 cd libcpp || exit 1; \
13452 case $(srcdir) in \
13454 srcdiroption="--srcdir=."; \
13456 /* | [A-Za-z]:[\\/]*) \
13457 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
13458 libsrcdir="$$s/libcpp";; \
13460 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
13461 libsrcdir="$$s/libcpp";; \
13463 $(SHELL) $${libsrcdir}/configure \
13464 $(HOST_CONFIGARGS) $${srcdiroption} \
13468 .PHONY: all-libcpp maybe-all-libcpp
13472 maybe-all-libcpp: all-libcpp
13473 all-libcpp: configure-libcpp
13474 @test -f stage_last && exit 0; \
13475 r=`${PWD_COMMAND}`; export r; \
13476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13479 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) \
13483 .PHONY: check-libcpp maybe-check-libcpp
13484 maybe-check-libcpp:
13486 maybe-check-libcpp: check-libcpp
13489 @r=`${PWD_COMMAND}`; export r; \
13490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13493 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) check)
13497 .PHONY: install-libcpp maybe-install-libcpp
13498 maybe-install-libcpp:
13500 maybe-install-libcpp: install-libcpp
13502 install-libcpp: installdirs
13503 @r=`${PWD_COMMAND}`; export r; \
13504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13507 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) install)
13511 # Other targets (info, dvi, etc.)
13513 .PHONY: maybe-info-libcpp info-libcpp
13516 maybe-info-libcpp: info-libcpp
13520 @[ -f ./libcpp/Makefile ] || exit 0; \
13521 r=`${PWD_COMMAND}`; export r; \
13522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13525 for flag in $(EXTRA_HOST_FLAGS) ; do \
13526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13528 echo "Doing info in libcpp" ; \
13530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13532 "RANLIB=$${RANLIB}" \
13533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13539 .PHONY: maybe-dvi-libcpp dvi-libcpp
13542 maybe-dvi-libcpp: dvi-libcpp
13546 @[ -f ./libcpp/Makefile ] || exit 0; \
13547 r=`${PWD_COMMAND}`; export r; \
13548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13551 for flag in $(EXTRA_HOST_FLAGS) ; do \
13552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13554 echo "Doing dvi in libcpp" ; \
13556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13558 "RANLIB=$${RANLIB}" \
13559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13565 .PHONY: maybe-html-libcpp html-libcpp
13568 maybe-html-libcpp: html-libcpp
13572 @[ -f ./libcpp/Makefile ] || exit 0; \
13573 r=`${PWD_COMMAND}`; export r; \
13574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13577 for flag in $(EXTRA_HOST_FLAGS) ; do \
13578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13580 echo "Doing html in libcpp" ; \
13582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13584 "RANLIB=$${RANLIB}" \
13585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13591 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
13594 maybe-TAGS-libcpp: TAGS-libcpp
13598 @[ -f ./libcpp/Makefile ] || exit 0; \
13599 r=`${PWD_COMMAND}`; export r; \
13600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13603 for flag in $(EXTRA_HOST_FLAGS) ; do \
13604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13606 echo "Doing TAGS in libcpp" ; \
13608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13610 "RANLIB=$${RANLIB}" \
13611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13617 .PHONY: maybe-install-info-libcpp install-info-libcpp
13618 maybe-install-info-libcpp:
13620 maybe-install-info-libcpp: install-info-libcpp
13622 install-info-libcpp: \
13625 @[ -f ./libcpp/Makefile ] || exit 0; \
13626 r=`${PWD_COMMAND}`; export r; \
13627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13630 for flag in $(EXTRA_HOST_FLAGS) ; do \
13631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13633 echo "Doing install-info in libcpp" ; \
13635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13637 "RANLIB=$${RANLIB}" \
13638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13644 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
13645 maybe-installcheck-libcpp:
13647 maybe-installcheck-libcpp: installcheck-libcpp
13649 installcheck-libcpp: \
13651 @[ -f ./libcpp/Makefile ] || exit 0; \
13652 r=`${PWD_COMMAND}`; export r; \
13653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13656 for flag in $(EXTRA_HOST_FLAGS) ; do \
13657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13659 echo "Doing installcheck in libcpp" ; \
13661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13663 "RANLIB=$${RANLIB}" \
13664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13670 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
13671 maybe-mostlyclean-libcpp:
13673 maybe-mostlyclean-libcpp: mostlyclean-libcpp
13675 mostlyclean-libcpp:
13676 @[ -f ./libcpp/Makefile ] || exit 0; \
13677 r=`${PWD_COMMAND}`; export r; \
13678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13681 for flag in $(EXTRA_HOST_FLAGS) ; do \
13682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13684 echo "Doing mostlyclean in libcpp" ; \
13686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13688 "RANLIB=$${RANLIB}" \
13689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13695 .PHONY: maybe-clean-libcpp clean-libcpp
13696 maybe-clean-libcpp:
13698 maybe-clean-libcpp: clean-libcpp
13701 @[ -f ./libcpp/Makefile ] || exit 0; \
13702 r=`${PWD_COMMAND}`; export r; \
13703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13706 for flag in $(EXTRA_HOST_FLAGS) ; do \
13707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13709 echo "Doing clean in libcpp" ; \
13711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13713 "RANLIB=$${RANLIB}" \
13714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13720 .PHONY: maybe-distclean-libcpp distclean-libcpp
13721 maybe-distclean-libcpp:
13723 maybe-distclean-libcpp: distclean-libcpp
13726 @[ -f ./libcpp/Makefile ] || exit 0; \
13727 r=`${PWD_COMMAND}`; export r; \
13728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13731 for flag in $(EXTRA_HOST_FLAGS) ; do \
13732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13734 echo "Doing distclean in libcpp" ; \
13736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13738 "RANLIB=$${RANLIB}" \
13739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13745 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
13746 maybe-maintainer-clean-libcpp:
13748 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
13750 maintainer-clean-libcpp:
13751 @[ -f ./libcpp/Makefile ] || exit 0; \
13752 r=`${PWD_COMMAND}`; export r; \
13753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13756 for flag in $(EXTRA_HOST_FLAGS) ; do \
13757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13759 echo "Doing maintainer-clean in libcpp" ; \
13761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13763 "RANLIB=$${RANLIB}" \
13764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13765 maintainer-clean) \
13771 .PHONY: configure-libgui maybe-configure-libgui
13772 maybe-configure-libgui:
13774 maybe-configure-libgui: configure-libgui
13776 @test ! -f libgui/Makefile || exit 0; \
13777 [ -d libgui ] || mkdir libgui; \
13778 r=`${PWD_COMMAND}`; export r; \
13779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13781 echo Configuring in libgui; \
13782 cd libgui || exit 1; \
13783 case $(srcdir) in \
13785 srcdiroption="--srcdir=."; \
13787 /* | [A-Za-z]:[\\/]*) \
13788 srcdiroption="--srcdir=$(srcdir)/libgui"; \
13789 libsrcdir="$$s/libgui";; \
13791 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
13792 libsrcdir="$$s/libgui";; \
13794 $(SHELL) $${libsrcdir}/configure \
13795 $(HOST_CONFIGARGS) $${srcdiroption} \
13799 .PHONY: all-libgui maybe-all-libgui
13803 maybe-all-libgui: all-libgui
13804 all-libgui: configure-libgui
13805 @r=`${PWD_COMMAND}`; export r; \
13806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13809 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) \
13813 .PHONY: check-libgui maybe-check-libgui
13814 maybe-check-libgui:
13816 maybe-check-libgui: check-libgui
13819 @r=`${PWD_COMMAND}`; export r; \
13820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13823 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
13827 .PHONY: install-libgui maybe-install-libgui
13828 maybe-install-libgui:
13830 maybe-install-libgui: install-libgui
13832 install-libgui: installdirs
13833 @r=`${PWD_COMMAND}`; export r; \
13834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13837 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
13841 # Other targets (info, dvi, etc.)
13843 .PHONY: maybe-info-libgui info-libgui
13846 maybe-info-libgui: info-libgui
13850 @[ -f ./libgui/Makefile ] || exit 0; \
13851 r=`${PWD_COMMAND}`; export r; \
13852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13855 for flag in $(EXTRA_HOST_FLAGS) ; do \
13856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13858 echo "Doing info in libgui" ; \
13860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13862 "RANLIB=$${RANLIB}" \
13863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13869 .PHONY: maybe-dvi-libgui dvi-libgui
13872 maybe-dvi-libgui: dvi-libgui
13876 @[ -f ./libgui/Makefile ] || exit 0; \
13877 r=`${PWD_COMMAND}`; export r; \
13878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13881 for flag in $(EXTRA_HOST_FLAGS) ; do \
13882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13884 echo "Doing dvi in libgui" ; \
13886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13888 "RANLIB=$${RANLIB}" \
13889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13895 .PHONY: maybe-html-libgui html-libgui
13898 maybe-html-libgui: html-libgui
13902 @[ -f ./libgui/Makefile ] || exit 0; \
13903 r=`${PWD_COMMAND}`; export r; \
13904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13907 for flag in $(EXTRA_HOST_FLAGS) ; do \
13908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13910 echo "Doing html in libgui" ; \
13912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13914 "RANLIB=$${RANLIB}" \
13915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13921 .PHONY: maybe-TAGS-libgui TAGS-libgui
13924 maybe-TAGS-libgui: TAGS-libgui
13928 @[ -f ./libgui/Makefile ] || exit 0; \
13929 r=`${PWD_COMMAND}`; export r; \
13930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13933 for flag in $(EXTRA_HOST_FLAGS) ; do \
13934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13936 echo "Doing TAGS in libgui" ; \
13938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13940 "RANLIB=$${RANLIB}" \
13941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13947 .PHONY: maybe-install-info-libgui install-info-libgui
13948 maybe-install-info-libgui:
13950 maybe-install-info-libgui: install-info-libgui
13952 install-info-libgui: \
13955 @[ -f ./libgui/Makefile ] || exit 0; \
13956 r=`${PWD_COMMAND}`; export r; \
13957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13960 for flag in $(EXTRA_HOST_FLAGS) ; do \
13961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13963 echo "Doing install-info in libgui" ; \
13965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13967 "RANLIB=$${RANLIB}" \
13968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13974 .PHONY: maybe-installcheck-libgui installcheck-libgui
13975 maybe-installcheck-libgui:
13977 maybe-installcheck-libgui: installcheck-libgui
13979 installcheck-libgui: \
13981 @[ -f ./libgui/Makefile ] || exit 0; \
13982 r=`${PWD_COMMAND}`; export r; \
13983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13986 for flag in $(EXTRA_HOST_FLAGS) ; do \
13987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13989 echo "Doing installcheck in libgui" ; \
13991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13993 "RANLIB=$${RANLIB}" \
13994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14000 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
14001 maybe-mostlyclean-libgui:
14003 maybe-mostlyclean-libgui: mostlyclean-libgui
14005 mostlyclean-libgui:
14006 @[ -f ./libgui/Makefile ] || exit 0; \
14007 r=`${PWD_COMMAND}`; export r; \
14008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14011 for flag in $(EXTRA_HOST_FLAGS) ; do \
14012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14014 echo "Doing mostlyclean in libgui" ; \
14016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14018 "RANLIB=$${RANLIB}" \
14019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14025 .PHONY: maybe-clean-libgui clean-libgui
14026 maybe-clean-libgui:
14028 maybe-clean-libgui: clean-libgui
14031 @[ -f ./libgui/Makefile ] || exit 0; \
14032 r=`${PWD_COMMAND}`; export r; \
14033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14036 for flag in $(EXTRA_HOST_FLAGS) ; do \
14037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14039 echo "Doing clean in libgui" ; \
14041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14043 "RANLIB=$${RANLIB}" \
14044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14050 .PHONY: maybe-distclean-libgui distclean-libgui
14051 maybe-distclean-libgui:
14053 maybe-distclean-libgui: distclean-libgui
14056 @[ -f ./libgui/Makefile ] || exit 0; \
14057 r=`${PWD_COMMAND}`; export r; \
14058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14061 for flag in $(EXTRA_HOST_FLAGS) ; do \
14062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14064 echo "Doing distclean in libgui" ; \
14066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14068 "RANLIB=$${RANLIB}" \
14069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14075 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
14076 maybe-maintainer-clean-libgui:
14078 maybe-maintainer-clean-libgui: maintainer-clean-libgui
14080 maintainer-clean-libgui:
14081 @[ -f ./libgui/Makefile ] || exit 0; \
14082 r=`${PWD_COMMAND}`; export r; \
14083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14086 for flag in $(EXTRA_HOST_FLAGS) ; do \
14087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14089 echo "Doing maintainer-clean in libgui" ; \
14091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14093 "RANLIB=$${RANLIB}" \
14094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14095 maintainer-clean) \
14101 .PHONY: configure-libiberty maybe-configure-libiberty
14102 maybe-configure-libiberty:
14104 maybe-configure-libiberty: configure-libiberty
14105 configure-libiberty:
14106 @test -f stage_last && exit 0; \
14107 test ! -f libiberty/Makefile || exit 0; \
14108 [ -d libiberty ] || mkdir libiberty; \
14109 r=`${PWD_COMMAND}`; export r; \
14110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14112 echo Configuring in libiberty; \
14113 cd libiberty || exit 1; \
14114 case $(srcdir) in \
14116 srcdiroption="--srcdir=."; \
14118 /* | [A-Za-z]:[\\/]*) \
14119 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
14120 libsrcdir="$$s/libiberty";; \
14122 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
14123 libsrcdir="$$s/libiberty";; \
14125 $(SHELL) $${libsrcdir}/configure \
14126 $(HOST_CONFIGARGS) $${srcdiroption} \
14130 .PHONY: all-libiberty maybe-all-libiberty
14131 maybe-all-libiberty:
14133 TARGET-libiberty=all
14134 maybe-all-libiberty: all-libiberty
14135 all-libiberty: configure-libiberty
14136 @test -f stage_last && exit 0; \
14137 r=`${PWD_COMMAND}`; export r; \
14138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14141 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) \
14142 $(TARGET-libiberty))
14145 .PHONY: check-libiberty maybe-check-libiberty
14146 maybe-check-libiberty:
14148 maybe-check-libiberty: check-libiberty
14151 @r=`${PWD_COMMAND}`; export r; \
14152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14155 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
14159 .PHONY: install-libiberty maybe-install-libiberty
14160 maybe-install-libiberty:
14162 maybe-install-libiberty: install-libiberty
14164 install-libiberty: installdirs
14165 @r=`${PWD_COMMAND}`; export r; \
14166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14169 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
14173 # Other targets (info, dvi, etc.)
14175 .PHONY: maybe-info-libiberty info-libiberty
14176 maybe-info-libiberty:
14178 maybe-info-libiberty: info-libiberty
14181 configure-libiberty
14182 @[ -f ./libiberty/Makefile ] || exit 0; \
14183 r=`${PWD_COMMAND}`; export r; \
14184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14187 for flag in $(EXTRA_HOST_FLAGS) ; do \
14188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14190 echo "Doing info in libiberty" ; \
14192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14194 "RANLIB=$${RANLIB}" \
14195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14201 .PHONY: maybe-dvi-libiberty dvi-libiberty
14202 maybe-dvi-libiberty:
14204 maybe-dvi-libiberty: dvi-libiberty
14207 configure-libiberty
14208 @[ -f ./libiberty/Makefile ] || exit 0; \
14209 r=`${PWD_COMMAND}`; export r; \
14210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14213 for flag in $(EXTRA_HOST_FLAGS) ; do \
14214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14216 echo "Doing dvi in libiberty" ; \
14218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14220 "RANLIB=$${RANLIB}" \
14221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14227 .PHONY: maybe-html-libiberty html-libiberty
14228 maybe-html-libiberty:
14230 maybe-html-libiberty: html-libiberty
14233 configure-libiberty
14234 @[ -f ./libiberty/Makefile ] || exit 0; \
14235 r=`${PWD_COMMAND}`; export r; \
14236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14239 for flag in $(EXTRA_HOST_FLAGS) ; do \
14240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14242 echo "Doing html in libiberty" ; \
14244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14246 "RANLIB=$${RANLIB}" \
14247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14253 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
14254 maybe-TAGS-libiberty:
14256 maybe-TAGS-libiberty: TAGS-libiberty
14259 configure-libiberty
14260 @[ -f ./libiberty/Makefile ] || exit 0; \
14261 r=`${PWD_COMMAND}`; export r; \
14262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14265 for flag in $(EXTRA_HOST_FLAGS) ; do \
14266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14268 echo "Doing TAGS in libiberty" ; \
14270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14272 "RANLIB=$${RANLIB}" \
14273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14279 .PHONY: maybe-install-info-libiberty install-info-libiberty
14280 maybe-install-info-libiberty:
14282 maybe-install-info-libiberty: install-info-libiberty
14284 install-info-libiberty: \
14285 configure-libiberty \
14287 @[ -f ./libiberty/Makefile ] || exit 0; \
14288 r=`${PWD_COMMAND}`; export r; \
14289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14292 for flag in $(EXTRA_HOST_FLAGS) ; do \
14293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14295 echo "Doing install-info in libiberty" ; \
14297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14299 "RANLIB=$${RANLIB}" \
14300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14306 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
14307 maybe-installcheck-libiberty:
14309 maybe-installcheck-libiberty: installcheck-libiberty
14311 installcheck-libiberty: \
14312 configure-libiberty
14313 @[ -f ./libiberty/Makefile ] || exit 0; \
14314 r=`${PWD_COMMAND}`; export r; \
14315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14318 for flag in $(EXTRA_HOST_FLAGS) ; do \
14319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14321 echo "Doing installcheck in libiberty" ; \
14323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14325 "RANLIB=$${RANLIB}" \
14326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14332 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
14333 maybe-mostlyclean-libiberty:
14335 maybe-mostlyclean-libiberty: mostlyclean-libiberty
14337 mostlyclean-libiberty:
14338 @[ -f ./libiberty/Makefile ] || exit 0; \
14339 r=`${PWD_COMMAND}`; export r; \
14340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14343 for flag in $(EXTRA_HOST_FLAGS) ; do \
14344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14346 echo "Doing mostlyclean in libiberty" ; \
14348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14350 "RANLIB=$${RANLIB}" \
14351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14357 .PHONY: maybe-clean-libiberty clean-libiberty
14358 maybe-clean-libiberty:
14360 maybe-clean-libiberty: clean-libiberty
14363 @[ -f ./libiberty/Makefile ] || exit 0; \
14364 r=`${PWD_COMMAND}`; export r; \
14365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14368 for flag in $(EXTRA_HOST_FLAGS) ; do \
14369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14371 echo "Doing clean in libiberty" ; \
14373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14375 "RANLIB=$${RANLIB}" \
14376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14382 .PHONY: maybe-distclean-libiberty distclean-libiberty
14383 maybe-distclean-libiberty:
14385 maybe-distclean-libiberty: distclean-libiberty
14387 distclean-libiberty:
14388 @[ -f ./libiberty/Makefile ] || exit 0; \
14389 r=`${PWD_COMMAND}`; export r; \
14390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14393 for flag in $(EXTRA_HOST_FLAGS) ; do \
14394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14396 echo "Doing distclean in libiberty" ; \
14398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14400 "RANLIB=$${RANLIB}" \
14401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14407 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
14408 maybe-maintainer-clean-libiberty:
14410 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
14412 maintainer-clean-libiberty:
14413 @[ -f ./libiberty/Makefile ] || exit 0; \
14414 r=`${PWD_COMMAND}`; export r; \
14415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14418 for flag in $(EXTRA_HOST_FLAGS) ; do \
14419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14421 echo "Doing maintainer-clean in libiberty" ; \
14423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14425 "RANLIB=$${RANLIB}" \
14426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14427 maintainer-clean) \
14433 .PHONY: configure-libtool maybe-configure-libtool
14434 maybe-configure-libtool:
14436 maybe-configure-libtool: configure-libtool
14438 @test ! -f libtool/Makefile || exit 0; \
14439 [ -d libtool ] || mkdir libtool; \
14440 r=`${PWD_COMMAND}`; export r; \
14441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14443 echo Configuring in libtool; \
14444 cd libtool || exit 1; \
14445 case $(srcdir) in \
14447 srcdiroption="--srcdir=."; \
14449 /* | [A-Za-z]:[\\/]*) \
14450 srcdiroption="--srcdir=$(srcdir)/libtool"; \
14451 libsrcdir="$$s/libtool";; \
14453 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
14454 libsrcdir="$$s/libtool";; \
14456 $(SHELL) $${libsrcdir}/configure \
14457 $(HOST_CONFIGARGS) $${srcdiroption} \
14461 .PHONY: all-libtool maybe-all-libtool
14465 maybe-all-libtool: all-libtool
14466 all-libtool: configure-libtool
14467 @r=`${PWD_COMMAND}`; export r; \
14468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14471 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) \
14475 .PHONY: check-libtool maybe-check-libtool
14476 maybe-check-libtool:
14478 maybe-check-libtool: check-libtool
14481 @r=`${PWD_COMMAND}`; export r; \
14482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14485 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
14489 .PHONY: install-libtool maybe-install-libtool
14490 maybe-install-libtool:
14492 maybe-install-libtool: install-libtool
14494 install-libtool: installdirs
14495 @r=`${PWD_COMMAND}`; export r; \
14496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14499 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
14503 # Other targets (info, dvi, etc.)
14505 .PHONY: maybe-info-libtool info-libtool
14506 maybe-info-libtool:
14508 maybe-info-libtool: info-libtool
14512 @[ -f ./libtool/Makefile ] || exit 0; \
14513 r=`${PWD_COMMAND}`; export r; \
14514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14517 for flag in $(EXTRA_HOST_FLAGS) ; do \
14518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14520 echo "Doing info in libtool" ; \
14522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14524 "RANLIB=$${RANLIB}" \
14525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14531 .PHONY: maybe-dvi-libtool dvi-libtool
14534 maybe-dvi-libtool: dvi-libtool
14538 @[ -f ./libtool/Makefile ] || exit 0; \
14539 r=`${PWD_COMMAND}`; export r; \
14540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14543 for flag in $(EXTRA_HOST_FLAGS) ; do \
14544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14546 echo "Doing dvi in libtool" ; \
14548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14550 "RANLIB=$${RANLIB}" \
14551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14557 .PHONY: maybe-html-libtool html-libtool
14558 maybe-html-libtool:
14560 maybe-html-libtool: html-libtool
14564 @[ -f ./libtool/Makefile ] || exit 0; \
14565 r=`${PWD_COMMAND}`; export r; \
14566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14569 for flag in $(EXTRA_HOST_FLAGS) ; do \
14570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14572 echo "Doing html in libtool" ; \
14574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14576 "RANLIB=$${RANLIB}" \
14577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14583 .PHONY: maybe-TAGS-libtool TAGS-libtool
14584 maybe-TAGS-libtool:
14586 maybe-TAGS-libtool: TAGS-libtool
14590 @[ -f ./libtool/Makefile ] || exit 0; \
14591 r=`${PWD_COMMAND}`; export r; \
14592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14595 for flag in $(EXTRA_HOST_FLAGS) ; do \
14596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14598 echo "Doing TAGS in libtool" ; \
14600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14602 "RANLIB=$${RANLIB}" \
14603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14609 .PHONY: maybe-install-info-libtool install-info-libtool
14610 maybe-install-info-libtool:
14612 maybe-install-info-libtool: install-info-libtool
14614 install-info-libtool: \
14615 configure-libtool \
14617 @[ -f ./libtool/Makefile ] || exit 0; \
14618 r=`${PWD_COMMAND}`; export r; \
14619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14622 for flag in $(EXTRA_HOST_FLAGS) ; do \
14623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14625 echo "Doing install-info in libtool" ; \
14627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14629 "RANLIB=$${RANLIB}" \
14630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14636 .PHONY: maybe-installcheck-libtool installcheck-libtool
14637 maybe-installcheck-libtool:
14639 maybe-installcheck-libtool: installcheck-libtool
14641 installcheck-libtool: \
14643 @[ -f ./libtool/Makefile ] || exit 0; \
14644 r=`${PWD_COMMAND}`; export r; \
14645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14648 for flag in $(EXTRA_HOST_FLAGS) ; do \
14649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14651 echo "Doing installcheck in libtool" ; \
14653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14655 "RANLIB=$${RANLIB}" \
14656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14662 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
14663 maybe-mostlyclean-libtool:
14665 maybe-mostlyclean-libtool: mostlyclean-libtool
14667 mostlyclean-libtool:
14668 @[ -f ./libtool/Makefile ] || exit 0; \
14669 r=`${PWD_COMMAND}`; export r; \
14670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14673 for flag in $(EXTRA_HOST_FLAGS) ; do \
14674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14676 echo "Doing mostlyclean in libtool" ; \
14678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14680 "RANLIB=$${RANLIB}" \
14681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14687 .PHONY: maybe-clean-libtool clean-libtool
14688 maybe-clean-libtool:
14690 maybe-clean-libtool: clean-libtool
14693 @[ -f ./libtool/Makefile ] || exit 0; \
14694 r=`${PWD_COMMAND}`; export r; \
14695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14698 for flag in $(EXTRA_HOST_FLAGS) ; do \
14699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14701 echo "Doing clean in libtool" ; \
14703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14705 "RANLIB=$${RANLIB}" \
14706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14712 .PHONY: maybe-distclean-libtool distclean-libtool
14713 maybe-distclean-libtool:
14715 maybe-distclean-libtool: distclean-libtool
14718 @[ -f ./libtool/Makefile ] || exit 0; \
14719 r=`${PWD_COMMAND}`; export r; \
14720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14723 for flag in $(EXTRA_HOST_FLAGS) ; do \
14724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14726 echo "Doing distclean in libtool" ; \
14728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14730 "RANLIB=$${RANLIB}" \
14731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14737 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
14738 maybe-maintainer-clean-libtool:
14740 maybe-maintainer-clean-libtool: maintainer-clean-libtool
14742 maintainer-clean-libtool:
14743 @[ -f ./libtool/Makefile ] || exit 0; \
14744 r=`${PWD_COMMAND}`; export r; \
14745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14748 for flag in $(EXTRA_HOST_FLAGS) ; do \
14749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14751 echo "Doing maintainer-clean in libtool" ; \
14753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14755 "RANLIB=$${RANLIB}" \
14756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14757 maintainer-clean) \
14763 .PHONY: configure-m4 maybe-configure-m4
14764 maybe-configure-m4:
14766 maybe-configure-m4: configure-m4
14768 @test ! -f m4/Makefile || exit 0; \
14769 [ -d m4 ] || mkdir m4; \
14770 r=`${PWD_COMMAND}`; export r; \
14771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14773 echo Configuring in m4; \
14775 case $(srcdir) in \
14777 srcdiroption="--srcdir=."; \
14779 /* | [A-Za-z]:[\\/]*) \
14780 srcdiroption="--srcdir=$(srcdir)/m4"; \
14781 libsrcdir="$$s/m4";; \
14783 srcdiroption="--srcdir=../$(srcdir)/m4"; \
14784 libsrcdir="$$s/m4";; \
14786 $(SHELL) $${libsrcdir}/configure \
14787 $(HOST_CONFIGARGS) $${srcdiroption} \
14791 .PHONY: all-m4 maybe-all-m4
14795 maybe-all-m4: all-m4
14796 all-m4: configure-m4
14797 @r=`${PWD_COMMAND}`; export r; \
14798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14801 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) \
14805 .PHONY: check-m4 maybe-check-m4
14808 maybe-check-m4: check-m4
14811 @r=`${PWD_COMMAND}`; export r; \
14812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14815 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
14819 .PHONY: install-m4 maybe-install-m4
14822 maybe-install-m4: install-m4
14824 install-m4: installdirs
14825 @r=`${PWD_COMMAND}`; export r; \
14826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14829 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
14833 # Other targets (info, dvi, etc.)
14835 .PHONY: maybe-info-m4 info-m4
14838 maybe-info-m4: info-m4
14842 @[ -f ./m4/Makefile ] || exit 0; \
14843 r=`${PWD_COMMAND}`; export r; \
14844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14847 for flag in $(EXTRA_HOST_FLAGS) ; do \
14848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14850 echo "Doing info in m4" ; \
14852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14854 "RANLIB=$${RANLIB}" \
14855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14861 .PHONY: maybe-dvi-m4 dvi-m4
14864 maybe-dvi-m4: dvi-m4
14868 @[ -f ./m4/Makefile ] || exit 0; \
14869 r=`${PWD_COMMAND}`; export r; \
14870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14873 for flag in $(EXTRA_HOST_FLAGS) ; do \
14874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14876 echo "Doing dvi in m4" ; \
14878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14880 "RANLIB=$${RANLIB}" \
14881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14887 .PHONY: maybe-html-m4 html-m4
14890 maybe-html-m4: html-m4
14894 @[ -f ./m4/Makefile ] || exit 0; \
14895 r=`${PWD_COMMAND}`; export r; \
14896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14899 for flag in $(EXTRA_HOST_FLAGS) ; do \
14900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14902 echo "Doing html in m4" ; \
14904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14906 "RANLIB=$${RANLIB}" \
14907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14913 .PHONY: maybe-TAGS-m4 TAGS-m4
14916 maybe-TAGS-m4: TAGS-m4
14920 @[ -f ./m4/Makefile ] || exit 0; \
14921 r=`${PWD_COMMAND}`; export r; \
14922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14925 for flag in $(EXTRA_HOST_FLAGS) ; do \
14926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14928 echo "Doing TAGS in m4" ; \
14930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14932 "RANLIB=$${RANLIB}" \
14933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14939 .PHONY: maybe-install-info-m4 install-info-m4
14940 maybe-install-info-m4:
14942 maybe-install-info-m4: install-info-m4
14947 @[ -f ./m4/Makefile ] || exit 0; \
14948 r=`${PWD_COMMAND}`; export r; \
14949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14952 for flag in $(EXTRA_HOST_FLAGS) ; do \
14953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14955 echo "Doing install-info in m4" ; \
14957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14959 "RANLIB=$${RANLIB}" \
14960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14966 .PHONY: maybe-installcheck-m4 installcheck-m4
14967 maybe-installcheck-m4:
14969 maybe-installcheck-m4: installcheck-m4
14973 @[ -f ./m4/Makefile ] || exit 0; \
14974 r=`${PWD_COMMAND}`; export r; \
14975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14978 for flag in $(EXTRA_HOST_FLAGS) ; do \
14979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14981 echo "Doing installcheck in m4" ; \
14983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14985 "RANLIB=$${RANLIB}" \
14986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14992 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
14993 maybe-mostlyclean-m4:
14995 maybe-mostlyclean-m4: mostlyclean-m4
14998 @[ -f ./m4/Makefile ] || exit 0; \
14999 r=`${PWD_COMMAND}`; export r; \
15000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15003 for flag in $(EXTRA_HOST_FLAGS) ; do \
15004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15006 echo "Doing mostlyclean in m4" ; \
15008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15010 "RANLIB=$${RANLIB}" \
15011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15017 .PHONY: maybe-clean-m4 clean-m4
15020 maybe-clean-m4: clean-m4
15023 @[ -f ./m4/Makefile ] || exit 0; \
15024 r=`${PWD_COMMAND}`; export r; \
15025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15028 for flag in $(EXTRA_HOST_FLAGS) ; do \
15029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15031 echo "Doing clean in m4" ; \
15033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15035 "RANLIB=$${RANLIB}" \
15036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15042 .PHONY: maybe-distclean-m4 distclean-m4
15043 maybe-distclean-m4:
15045 maybe-distclean-m4: distclean-m4
15048 @[ -f ./m4/Makefile ] || exit 0; \
15049 r=`${PWD_COMMAND}`; export r; \
15050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15053 for flag in $(EXTRA_HOST_FLAGS) ; do \
15054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15056 echo "Doing distclean in m4" ; \
15058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15060 "RANLIB=$${RANLIB}" \
15061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15067 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
15068 maybe-maintainer-clean-m4:
15070 maybe-maintainer-clean-m4: maintainer-clean-m4
15072 maintainer-clean-m4:
15073 @[ -f ./m4/Makefile ] || exit 0; \
15074 r=`${PWD_COMMAND}`; export r; \
15075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15078 for flag in $(EXTRA_HOST_FLAGS) ; do \
15079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15081 echo "Doing maintainer-clean in m4" ; \
15083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15085 "RANLIB=$${RANLIB}" \
15086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15087 maintainer-clean) \
15093 .PHONY: configure-make maybe-configure-make
15094 maybe-configure-make:
15096 maybe-configure-make: configure-make
15098 @test ! -f make/Makefile || exit 0; \
15099 [ -d make ] || mkdir make; \
15100 r=`${PWD_COMMAND}`; export r; \
15101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15103 echo Configuring in make; \
15104 cd make || exit 1; \
15105 case $(srcdir) in \
15107 srcdiroption="--srcdir=."; \
15109 /* | [A-Za-z]:[\\/]*) \
15110 srcdiroption="--srcdir=$(srcdir)/make"; \
15111 libsrcdir="$$s/make";; \
15113 srcdiroption="--srcdir=../$(srcdir)/make"; \
15114 libsrcdir="$$s/make";; \
15116 $(SHELL) $${libsrcdir}/configure \
15117 $(HOST_CONFIGARGS) $${srcdiroption} \
15121 .PHONY: all-make maybe-all-make
15125 maybe-all-make: all-make
15126 all-make: configure-make
15127 @r=`${PWD_COMMAND}`; export r; \
15128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15131 (cd make && $(MAKE) $(FLAGS_TO_PASS) \
15135 .PHONY: check-make maybe-check-make
15138 maybe-check-make: check-make
15141 @r=`${PWD_COMMAND}`; export r; \
15142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15145 (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
15149 .PHONY: install-make maybe-install-make
15150 maybe-install-make:
15152 maybe-install-make: install-make
15154 install-make: installdirs
15155 @r=`${PWD_COMMAND}`; export r; \
15156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15159 (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
15163 # Other targets (info, dvi, etc.)
15165 .PHONY: maybe-info-make info-make
15168 maybe-info-make: info-make
15172 @[ -f ./make/Makefile ] || exit 0; \
15173 r=`${PWD_COMMAND}`; export r; \
15174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15177 for flag in $(EXTRA_HOST_FLAGS) ; do \
15178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15180 echo "Doing info in make" ; \
15182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15184 "RANLIB=$${RANLIB}" \
15185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15191 .PHONY: maybe-dvi-make dvi-make
15194 maybe-dvi-make: dvi-make
15198 @[ -f ./make/Makefile ] || exit 0; \
15199 r=`${PWD_COMMAND}`; export r; \
15200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15203 for flag in $(EXTRA_HOST_FLAGS) ; do \
15204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15206 echo "Doing dvi in make" ; \
15208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15210 "RANLIB=$${RANLIB}" \
15211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15217 .PHONY: maybe-html-make html-make
15220 maybe-html-make: html-make
15224 @[ -f ./make/Makefile ] || exit 0; \
15225 r=`${PWD_COMMAND}`; export r; \
15226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15229 for flag in $(EXTRA_HOST_FLAGS) ; do \
15230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15232 echo "Doing html in make" ; \
15234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15236 "RANLIB=$${RANLIB}" \
15237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15243 .PHONY: maybe-TAGS-make TAGS-make
15246 maybe-TAGS-make: TAGS-make
15250 @[ -f ./make/Makefile ] || exit 0; \
15251 r=`${PWD_COMMAND}`; export r; \
15252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15255 for flag in $(EXTRA_HOST_FLAGS) ; do \
15256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15258 echo "Doing TAGS in make" ; \
15260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15262 "RANLIB=$${RANLIB}" \
15263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15269 .PHONY: maybe-install-info-make install-info-make
15270 maybe-install-info-make:
15272 maybe-install-info-make: install-info-make
15274 install-info-make: \
15277 @[ -f ./make/Makefile ] || exit 0; \
15278 r=`${PWD_COMMAND}`; export r; \
15279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15282 for flag in $(EXTRA_HOST_FLAGS) ; do \
15283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15285 echo "Doing install-info in make" ; \
15287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15289 "RANLIB=$${RANLIB}" \
15290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15296 .PHONY: maybe-installcheck-make installcheck-make
15297 maybe-installcheck-make:
15299 maybe-installcheck-make: installcheck-make
15301 installcheck-make: \
15303 @[ -f ./make/Makefile ] || exit 0; \
15304 r=`${PWD_COMMAND}`; export r; \
15305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15308 for flag in $(EXTRA_HOST_FLAGS) ; do \
15309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15311 echo "Doing installcheck in make" ; \
15313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15315 "RANLIB=$${RANLIB}" \
15316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15322 .PHONY: maybe-mostlyclean-make mostlyclean-make
15323 maybe-mostlyclean-make:
15325 maybe-mostlyclean-make: mostlyclean-make
15328 @[ -f ./make/Makefile ] || exit 0; \
15329 r=`${PWD_COMMAND}`; export r; \
15330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15333 for flag in $(EXTRA_HOST_FLAGS) ; do \
15334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15336 echo "Doing mostlyclean in make" ; \
15338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15340 "RANLIB=$${RANLIB}" \
15341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15347 .PHONY: maybe-clean-make clean-make
15350 maybe-clean-make: clean-make
15353 @[ -f ./make/Makefile ] || exit 0; \
15354 r=`${PWD_COMMAND}`; export r; \
15355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15358 for flag in $(EXTRA_HOST_FLAGS) ; do \
15359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15361 echo "Doing clean in make" ; \
15363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15365 "RANLIB=$${RANLIB}" \
15366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15372 .PHONY: maybe-distclean-make distclean-make
15373 maybe-distclean-make:
15375 maybe-distclean-make: distclean-make
15378 @[ -f ./make/Makefile ] || exit 0; \
15379 r=`${PWD_COMMAND}`; export r; \
15380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15383 for flag in $(EXTRA_HOST_FLAGS) ; do \
15384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15386 echo "Doing distclean in make" ; \
15388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15390 "RANLIB=$${RANLIB}" \
15391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15397 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
15398 maybe-maintainer-clean-make:
15400 maybe-maintainer-clean-make: maintainer-clean-make
15402 maintainer-clean-make:
15403 @[ -f ./make/Makefile ] || exit 0; \
15404 r=`${PWD_COMMAND}`; export r; \
15405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15408 for flag in $(EXTRA_HOST_FLAGS) ; do \
15409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15411 echo "Doing maintainer-clean in make" ; \
15413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15415 "RANLIB=$${RANLIB}" \
15416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15417 maintainer-clean) \
15423 .PHONY: configure-mmalloc maybe-configure-mmalloc
15424 maybe-configure-mmalloc:
15426 maybe-configure-mmalloc: configure-mmalloc
15428 @test ! -f mmalloc/Makefile || exit 0; \
15429 [ -d mmalloc ] || mkdir mmalloc; \
15430 r=`${PWD_COMMAND}`; export r; \
15431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15433 echo Configuring in mmalloc; \
15434 cd mmalloc || exit 1; \
15435 case $(srcdir) in \
15437 srcdiroption="--srcdir=."; \
15439 /* | [A-Za-z]:[\\/]*) \
15440 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
15441 libsrcdir="$$s/mmalloc";; \
15443 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
15444 libsrcdir="$$s/mmalloc";; \
15446 $(SHELL) $${libsrcdir}/configure \
15447 $(HOST_CONFIGARGS) $${srcdiroption} \
15451 .PHONY: all-mmalloc maybe-all-mmalloc
15455 maybe-all-mmalloc: all-mmalloc
15456 all-mmalloc: configure-mmalloc
15457 @r=`${PWD_COMMAND}`; export r; \
15458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15461 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) \
15465 .PHONY: check-mmalloc maybe-check-mmalloc
15466 maybe-check-mmalloc:
15468 maybe-check-mmalloc: check-mmalloc
15474 .PHONY: install-mmalloc maybe-install-mmalloc
15475 maybe-install-mmalloc:
15477 maybe-install-mmalloc: install-mmalloc
15479 install-mmalloc: installdirs
15480 @r=`${PWD_COMMAND}`; export r; \
15481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15484 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
15488 # Other targets (info, dvi, etc.)
15490 .PHONY: maybe-info-mmalloc info-mmalloc
15491 maybe-info-mmalloc:
15493 maybe-info-mmalloc: info-mmalloc
15497 @[ -f ./mmalloc/Makefile ] || exit 0; \
15498 r=`${PWD_COMMAND}`; export r; \
15499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15502 for flag in $(EXTRA_HOST_FLAGS) ; do \
15503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15505 echo "Doing info in mmalloc" ; \
15507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15509 "RANLIB=$${RANLIB}" \
15510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15516 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
15519 maybe-dvi-mmalloc: dvi-mmalloc
15523 @[ -f ./mmalloc/Makefile ] || exit 0; \
15524 r=`${PWD_COMMAND}`; export r; \
15525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15528 for flag in $(EXTRA_HOST_FLAGS) ; do \
15529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15531 echo "Doing dvi in mmalloc" ; \
15533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15535 "RANLIB=$${RANLIB}" \
15536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15542 .PHONY: maybe-html-mmalloc html-mmalloc
15543 maybe-html-mmalloc:
15545 maybe-html-mmalloc: html-mmalloc
15549 @[ -f ./mmalloc/Makefile ] || exit 0; \
15550 r=`${PWD_COMMAND}`; export r; \
15551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15554 for flag in $(EXTRA_HOST_FLAGS) ; do \
15555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15557 echo "Doing html in mmalloc" ; \
15559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15561 "RANLIB=$${RANLIB}" \
15562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15568 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
15569 maybe-TAGS-mmalloc:
15571 maybe-TAGS-mmalloc: TAGS-mmalloc
15575 @[ -f ./mmalloc/Makefile ] || exit 0; \
15576 r=`${PWD_COMMAND}`; export r; \
15577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15580 for flag in $(EXTRA_HOST_FLAGS) ; do \
15581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15583 echo "Doing TAGS in mmalloc" ; \
15585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15587 "RANLIB=$${RANLIB}" \
15588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15594 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
15595 maybe-install-info-mmalloc:
15597 maybe-install-info-mmalloc: install-info-mmalloc
15599 install-info-mmalloc: \
15600 configure-mmalloc \
15602 @[ -f ./mmalloc/Makefile ] || exit 0; \
15603 r=`${PWD_COMMAND}`; export r; \
15604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15607 for flag in $(EXTRA_HOST_FLAGS) ; do \
15608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15610 echo "Doing install-info in mmalloc" ; \
15612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15614 "RANLIB=$${RANLIB}" \
15615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15621 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
15622 maybe-installcheck-mmalloc:
15624 maybe-installcheck-mmalloc: installcheck-mmalloc
15626 installcheck-mmalloc: \
15628 @[ -f ./mmalloc/Makefile ] || exit 0; \
15629 r=`${PWD_COMMAND}`; export r; \
15630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15633 for flag in $(EXTRA_HOST_FLAGS) ; do \
15634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15636 echo "Doing installcheck in mmalloc" ; \
15638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15640 "RANLIB=$${RANLIB}" \
15641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15647 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
15648 maybe-mostlyclean-mmalloc:
15650 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
15652 mostlyclean-mmalloc:
15653 @[ -f ./mmalloc/Makefile ] || exit 0; \
15654 r=`${PWD_COMMAND}`; export r; \
15655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15658 for flag in $(EXTRA_HOST_FLAGS) ; do \
15659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15661 echo "Doing mostlyclean in mmalloc" ; \
15663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15665 "RANLIB=$${RANLIB}" \
15666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15672 .PHONY: maybe-clean-mmalloc clean-mmalloc
15673 maybe-clean-mmalloc:
15675 maybe-clean-mmalloc: clean-mmalloc
15678 @[ -f ./mmalloc/Makefile ] || exit 0; \
15679 r=`${PWD_COMMAND}`; export r; \
15680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15683 for flag in $(EXTRA_HOST_FLAGS) ; do \
15684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15686 echo "Doing clean in mmalloc" ; \
15688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15690 "RANLIB=$${RANLIB}" \
15691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15697 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
15698 maybe-distclean-mmalloc:
15700 maybe-distclean-mmalloc: distclean-mmalloc
15703 @[ -f ./mmalloc/Makefile ] || exit 0; \
15704 r=`${PWD_COMMAND}`; export r; \
15705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15708 for flag in $(EXTRA_HOST_FLAGS) ; do \
15709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15711 echo "Doing distclean in mmalloc" ; \
15713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15715 "RANLIB=$${RANLIB}" \
15716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15722 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
15723 maybe-maintainer-clean-mmalloc:
15725 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
15727 maintainer-clean-mmalloc:
15728 @[ -f ./mmalloc/Makefile ] || exit 0; \
15729 r=`${PWD_COMMAND}`; export r; \
15730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15733 for flag in $(EXTRA_HOST_FLAGS) ; do \
15734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15736 echo "Doing maintainer-clean in mmalloc" ; \
15738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15740 "RANLIB=$${RANLIB}" \
15741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15742 maintainer-clean) \
15748 .PHONY: configure-patch maybe-configure-patch
15749 maybe-configure-patch:
15751 maybe-configure-patch: configure-patch
15753 @test ! -f patch/Makefile || exit 0; \
15754 [ -d patch ] || mkdir patch; \
15755 r=`${PWD_COMMAND}`; export r; \
15756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15758 echo Configuring in patch; \
15759 cd patch || exit 1; \
15760 case $(srcdir) in \
15762 srcdiroption="--srcdir=."; \
15764 /* | [A-Za-z]:[\\/]*) \
15765 srcdiroption="--srcdir=$(srcdir)/patch"; \
15766 libsrcdir="$$s/patch";; \
15768 srcdiroption="--srcdir=../$(srcdir)/patch"; \
15769 libsrcdir="$$s/patch";; \
15771 $(SHELL) $${libsrcdir}/configure \
15772 $(HOST_CONFIGARGS) $${srcdiroption} \
15776 .PHONY: all-patch maybe-all-patch
15780 maybe-all-patch: all-patch
15781 all-patch: configure-patch
15782 @r=`${PWD_COMMAND}`; export r; \
15783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15786 (cd patch && $(MAKE) $(FLAGS_TO_PASS) \
15790 .PHONY: check-patch maybe-check-patch
15793 maybe-check-patch: check-patch
15796 @r=`${PWD_COMMAND}`; export r; \
15797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15800 (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
15804 .PHONY: install-patch maybe-install-patch
15805 maybe-install-patch:
15807 maybe-install-patch: install-patch
15809 install-patch: installdirs
15810 @r=`${PWD_COMMAND}`; export r; \
15811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15814 (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
15818 # Other targets (info, dvi, etc.)
15820 .PHONY: maybe-info-patch info-patch
15823 maybe-info-patch: info-patch
15827 @[ -f ./patch/Makefile ] || exit 0; \
15828 r=`${PWD_COMMAND}`; export r; \
15829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15832 for flag in $(EXTRA_HOST_FLAGS) ; do \
15833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15835 echo "Doing info in patch" ; \
15837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15839 "RANLIB=$${RANLIB}" \
15840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15846 .PHONY: maybe-dvi-patch dvi-patch
15849 maybe-dvi-patch: dvi-patch
15853 @[ -f ./patch/Makefile ] || exit 0; \
15854 r=`${PWD_COMMAND}`; export r; \
15855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15858 for flag in $(EXTRA_HOST_FLAGS) ; do \
15859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15861 echo "Doing dvi in patch" ; \
15863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15865 "RANLIB=$${RANLIB}" \
15866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15872 .PHONY: maybe-html-patch html-patch
15875 maybe-html-patch: html-patch
15879 @[ -f ./patch/Makefile ] || exit 0; \
15880 r=`${PWD_COMMAND}`; export r; \
15881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15884 for flag in $(EXTRA_HOST_FLAGS) ; do \
15885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15887 echo "Doing html in patch" ; \
15889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15891 "RANLIB=$${RANLIB}" \
15892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15898 .PHONY: maybe-TAGS-patch TAGS-patch
15901 maybe-TAGS-patch: TAGS-patch
15905 @[ -f ./patch/Makefile ] || exit 0; \
15906 r=`${PWD_COMMAND}`; export r; \
15907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15910 for flag in $(EXTRA_HOST_FLAGS) ; do \
15911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15913 echo "Doing TAGS in patch" ; \
15915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15917 "RANLIB=$${RANLIB}" \
15918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15924 .PHONY: maybe-install-info-patch install-info-patch
15925 maybe-install-info-patch:
15927 maybe-install-info-patch: install-info-patch
15929 install-info-patch: \
15932 @[ -f ./patch/Makefile ] || exit 0; \
15933 r=`${PWD_COMMAND}`; export r; \
15934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15937 for flag in $(EXTRA_HOST_FLAGS) ; do \
15938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15940 echo "Doing install-info in patch" ; \
15942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15944 "RANLIB=$${RANLIB}" \
15945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15951 .PHONY: maybe-installcheck-patch installcheck-patch
15952 maybe-installcheck-patch:
15954 maybe-installcheck-patch: installcheck-patch
15956 installcheck-patch: \
15958 @[ -f ./patch/Makefile ] || exit 0; \
15959 r=`${PWD_COMMAND}`; export r; \
15960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15963 for flag in $(EXTRA_HOST_FLAGS) ; do \
15964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15966 echo "Doing installcheck in patch" ; \
15968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15970 "RANLIB=$${RANLIB}" \
15971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15977 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
15978 maybe-mostlyclean-patch:
15980 maybe-mostlyclean-patch: mostlyclean-patch
15983 @[ -f ./patch/Makefile ] || exit 0; \
15984 r=`${PWD_COMMAND}`; export r; \
15985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15988 for flag in $(EXTRA_HOST_FLAGS) ; do \
15989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15991 echo "Doing mostlyclean in patch" ; \
15993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15995 "RANLIB=$${RANLIB}" \
15996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16002 .PHONY: maybe-clean-patch clean-patch
16005 maybe-clean-patch: clean-patch
16008 @[ -f ./patch/Makefile ] || exit 0; \
16009 r=`${PWD_COMMAND}`; export r; \
16010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16013 for flag in $(EXTRA_HOST_FLAGS) ; do \
16014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16016 echo "Doing clean in patch" ; \
16018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16020 "RANLIB=$${RANLIB}" \
16021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16027 .PHONY: maybe-distclean-patch distclean-patch
16028 maybe-distclean-patch:
16030 maybe-distclean-patch: distclean-patch
16033 @[ -f ./patch/Makefile ] || exit 0; \
16034 r=`${PWD_COMMAND}`; export r; \
16035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16038 for flag in $(EXTRA_HOST_FLAGS) ; do \
16039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16041 echo "Doing distclean in patch" ; \
16043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16045 "RANLIB=$${RANLIB}" \
16046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16052 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
16053 maybe-maintainer-clean-patch:
16055 maybe-maintainer-clean-patch: maintainer-clean-patch
16057 maintainer-clean-patch:
16058 @[ -f ./patch/Makefile ] || exit 0; \
16059 r=`${PWD_COMMAND}`; export r; \
16060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16063 for flag in $(EXTRA_HOST_FLAGS) ; do \
16064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16066 echo "Doing maintainer-clean in patch" ; \
16068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16070 "RANLIB=$${RANLIB}" \
16071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16072 maintainer-clean) \
16078 .PHONY: configure-perl maybe-configure-perl
16079 maybe-configure-perl:
16081 maybe-configure-perl: configure-perl
16083 @test ! -f perl/Makefile || exit 0; \
16084 [ -d perl ] || mkdir perl; \
16085 r=`${PWD_COMMAND}`; export r; \
16086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16088 echo Configuring in perl; \
16089 cd perl || exit 1; \
16090 case $(srcdir) in \
16092 srcdiroption="--srcdir=."; \
16094 /* | [A-Za-z]:[\\/]*) \
16095 srcdiroption="--srcdir=$(srcdir)/perl"; \
16096 libsrcdir="$$s/perl";; \
16098 srcdiroption="--srcdir=../$(srcdir)/perl"; \
16099 libsrcdir="$$s/perl";; \
16101 $(SHELL) $${libsrcdir}/configure \
16102 $(HOST_CONFIGARGS) $${srcdiroption} \
16106 .PHONY: all-perl maybe-all-perl
16110 maybe-all-perl: all-perl
16111 all-perl: configure-perl
16112 @r=`${PWD_COMMAND}`; export r; \
16113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16116 (cd perl && $(MAKE) $(FLAGS_TO_PASS) \
16120 .PHONY: check-perl maybe-check-perl
16123 maybe-check-perl: check-perl
16126 @r=`${PWD_COMMAND}`; export r; \
16127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16130 (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
16134 .PHONY: install-perl maybe-install-perl
16135 maybe-install-perl:
16137 maybe-install-perl: install-perl
16139 install-perl: installdirs
16140 @r=`${PWD_COMMAND}`; export r; \
16141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16144 (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
16148 # Other targets (info, dvi, etc.)
16150 .PHONY: maybe-info-perl info-perl
16153 maybe-info-perl: info-perl
16157 @[ -f ./perl/Makefile ] || exit 0; \
16158 r=`${PWD_COMMAND}`; export r; \
16159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16162 for flag in $(EXTRA_HOST_FLAGS) ; do \
16163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16165 echo "Doing info in perl" ; \
16167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16169 "RANLIB=$${RANLIB}" \
16170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16176 .PHONY: maybe-dvi-perl dvi-perl
16179 maybe-dvi-perl: dvi-perl
16183 @[ -f ./perl/Makefile ] || exit 0; \
16184 r=`${PWD_COMMAND}`; export r; \
16185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16188 for flag in $(EXTRA_HOST_FLAGS) ; do \
16189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16191 echo "Doing dvi in perl" ; \
16193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16195 "RANLIB=$${RANLIB}" \
16196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16202 .PHONY: maybe-html-perl html-perl
16205 maybe-html-perl: html-perl
16209 @[ -f ./perl/Makefile ] || exit 0; \
16210 r=`${PWD_COMMAND}`; export r; \
16211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16214 for flag in $(EXTRA_HOST_FLAGS) ; do \
16215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16217 echo "Doing html in perl" ; \
16219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16221 "RANLIB=$${RANLIB}" \
16222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16228 .PHONY: maybe-TAGS-perl TAGS-perl
16231 maybe-TAGS-perl: TAGS-perl
16235 @[ -f ./perl/Makefile ] || exit 0; \
16236 r=`${PWD_COMMAND}`; export r; \
16237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16240 for flag in $(EXTRA_HOST_FLAGS) ; do \
16241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16243 echo "Doing TAGS in perl" ; \
16245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16247 "RANLIB=$${RANLIB}" \
16248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16254 .PHONY: maybe-install-info-perl install-info-perl
16255 maybe-install-info-perl:
16257 maybe-install-info-perl: install-info-perl
16259 install-info-perl: \
16262 @[ -f ./perl/Makefile ] || exit 0; \
16263 r=`${PWD_COMMAND}`; export r; \
16264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16267 for flag in $(EXTRA_HOST_FLAGS) ; do \
16268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16270 echo "Doing install-info in perl" ; \
16272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16274 "RANLIB=$${RANLIB}" \
16275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16281 .PHONY: maybe-installcheck-perl installcheck-perl
16282 maybe-installcheck-perl:
16284 maybe-installcheck-perl: installcheck-perl
16286 installcheck-perl: \
16288 @[ -f ./perl/Makefile ] || exit 0; \
16289 r=`${PWD_COMMAND}`; export r; \
16290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16293 for flag in $(EXTRA_HOST_FLAGS) ; do \
16294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16296 echo "Doing installcheck in perl" ; \
16298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16300 "RANLIB=$${RANLIB}" \
16301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16307 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
16308 maybe-mostlyclean-perl:
16310 maybe-mostlyclean-perl: mostlyclean-perl
16313 @[ -f ./perl/Makefile ] || exit 0; \
16314 r=`${PWD_COMMAND}`; export r; \
16315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16318 for flag in $(EXTRA_HOST_FLAGS) ; do \
16319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16321 echo "Doing mostlyclean in perl" ; \
16323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16325 "RANLIB=$${RANLIB}" \
16326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16332 .PHONY: maybe-clean-perl clean-perl
16335 maybe-clean-perl: clean-perl
16338 @[ -f ./perl/Makefile ] || exit 0; \
16339 r=`${PWD_COMMAND}`; export r; \
16340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16343 for flag in $(EXTRA_HOST_FLAGS) ; do \
16344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16346 echo "Doing clean in perl" ; \
16348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16350 "RANLIB=$${RANLIB}" \
16351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16357 .PHONY: maybe-distclean-perl distclean-perl
16358 maybe-distclean-perl:
16360 maybe-distclean-perl: distclean-perl
16363 @[ -f ./perl/Makefile ] || exit 0; \
16364 r=`${PWD_COMMAND}`; export r; \
16365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16368 for flag in $(EXTRA_HOST_FLAGS) ; do \
16369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16371 echo "Doing distclean in perl" ; \
16373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16375 "RANLIB=$${RANLIB}" \
16376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16382 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
16383 maybe-maintainer-clean-perl:
16385 maybe-maintainer-clean-perl: maintainer-clean-perl
16387 maintainer-clean-perl:
16388 @[ -f ./perl/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 maintainer-clean in perl" ; \
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}" \
16402 maintainer-clean) \
16408 .PHONY: configure-prms maybe-configure-prms
16409 maybe-configure-prms:
16411 maybe-configure-prms: configure-prms
16413 @test ! -f prms/Makefile || exit 0; \
16414 [ -d prms ] || mkdir prms; \
16415 r=`${PWD_COMMAND}`; export r; \
16416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16418 echo Configuring in prms; \
16419 cd prms || exit 1; \
16420 case $(srcdir) in \
16422 srcdiroption="--srcdir=."; \
16424 /* | [A-Za-z]:[\\/]*) \
16425 srcdiroption="--srcdir=$(srcdir)/prms"; \
16426 libsrcdir="$$s/prms";; \
16428 srcdiroption="--srcdir=../$(srcdir)/prms"; \
16429 libsrcdir="$$s/prms";; \
16431 $(SHELL) $${libsrcdir}/configure \
16432 $(HOST_CONFIGARGS) $${srcdiroption} \
16436 .PHONY: all-prms maybe-all-prms
16440 maybe-all-prms: all-prms
16441 all-prms: configure-prms
16442 @r=`${PWD_COMMAND}`; export r; \
16443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16446 (cd prms && $(MAKE) $(FLAGS_TO_PASS) \
16450 .PHONY: check-prms maybe-check-prms
16453 maybe-check-prms: check-prms
16456 @r=`${PWD_COMMAND}`; export r; \
16457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16460 (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
16464 .PHONY: install-prms maybe-install-prms
16465 maybe-install-prms:
16467 maybe-install-prms: install-prms
16469 install-prms: installdirs
16470 @r=`${PWD_COMMAND}`; export r; \
16471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16474 (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
16478 # Other targets (info, dvi, etc.)
16480 .PHONY: maybe-info-prms info-prms
16483 maybe-info-prms: info-prms
16487 @[ -f ./prms/Makefile ] || exit 0; \
16488 r=`${PWD_COMMAND}`; export r; \
16489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16492 for flag in $(EXTRA_HOST_FLAGS) ; do \
16493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16495 echo "Doing info in prms" ; \
16497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16499 "RANLIB=$${RANLIB}" \
16500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16506 .PHONY: maybe-dvi-prms dvi-prms
16509 maybe-dvi-prms: dvi-prms
16513 @[ -f ./prms/Makefile ] || exit 0; \
16514 r=`${PWD_COMMAND}`; export r; \
16515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16518 for flag in $(EXTRA_HOST_FLAGS) ; do \
16519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16521 echo "Doing dvi in prms" ; \
16523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16525 "RANLIB=$${RANLIB}" \
16526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16532 .PHONY: maybe-html-prms html-prms
16535 maybe-html-prms: html-prms
16539 @[ -f ./prms/Makefile ] || exit 0; \
16540 r=`${PWD_COMMAND}`; export r; \
16541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16544 for flag in $(EXTRA_HOST_FLAGS) ; do \
16545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16547 echo "Doing html in prms" ; \
16549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16551 "RANLIB=$${RANLIB}" \
16552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16558 .PHONY: maybe-TAGS-prms TAGS-prms
16561 maybe-TAGS-prms: TAGS-prms
16565 @[ -f ./prms/Makefile ] || exit 0; \
16566 r=`${PWD_COMMAND}`; export r; \
16567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16570 for flag in $(EXTRA_HOST_FLAGS) ; do \
16571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16573 echo "Doing TAGS in prms" ; \
16575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16577 "RANLIB=$${RANLIB}" \
16578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16584 .PHONY: maybe-install-info-prms install-info-prms
16585 maybe-install-info-prms:
16587 maybe-install-info-prms: install-info-prms
16589 install-info-prms: \
16592 @[ -f ./prms/Makefile ] || exit 0; \
16593 r=`${PWD_COMMAND}`; export r; \
16594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16597 for flag in $(EXTRA_HOST_FLAGS) ; do \
16598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16600 echo "Doing install-info in prms" ; \
16602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16604 "RANLIB=$${RANLIB}" \
16605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16611 .PHONY: maybe-installcheck-prms installcheck-prms
16612 maybe-installcheck-prms:
16614 maybe-installcheck-prms: installcheck-prms
16616 installcheck-prms: \
16618 @[ -f ./prms/Makefile ] || exit 0; \
16619 r=`${PWD_COMMAND}`; export r; \
16620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16623 for flag in $(EXTRA_HOST_FLAGS) ; do \
16624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16626 echo "Doing installcheck in prms" ; \
16628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16630 "RANLIB=$${RANLIB}" \
16631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16637 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
16638 maybe-mostlyclean-prms:
16640 maybe-mostlyclean-prms: mostlyclean-prms
16643 @[ -f ./prms/Makefile ] || exit 0; \
16644 r=`${PWD_COMMAND}`; export r; \
16645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16648 for flag in $(EXTRA_HOST_FLAGS) ; do \
16649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16651 echo "Doing mostlyclean in prms" ; \
16653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16655 "RANLIB=$${RANLIB}" \
16656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16662 .PHONY: maybe-clean-prms clean-prms
16665 maybe-clean-prms: clean-prms
16668 @[ -f ./prms/Makefile ] || exit 0; \
16669 r=`${PWD_COMMAND}`; export r; \
16670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16673 for flag in $(EXTRA_HOST_FLAGS) ; do \
16674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16676 echo "Doing clean in prms" ; \
16678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16680 "RANLIB=$${RANLIB}" \
16681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16687 .PHONY: maybe-distclean-prms distclean-prms
16688 maybe-distclean-prms:
16690 maybe-distclean-prms: distclean-prms
16693 @[ -f ./prms/Makefile ] || exit 0; \
16694 r=`${PWD_COMMAND}`; export r; \
16695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16698 for flag in $(EXTRA_HOST_FLAGS) ; do \
16699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16701 echo "Doing distclean in prms" ; \
16703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16705 "RANLIB=$${RANLIB}" \
16706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16712 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
16713 maybe-maintainer-clean-prms:
16715 maybe-maintainer-clean-prms: maintainer-clean-prms
16717 maintainer-clean-prms:
16718 @[ -f ./prms/Makefile ] || exit 0; \
16719 r=`${PWD_COMMAND}`; export r; \
16720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16723 for flag in $(EXTRA_HOST_FLAGS) ; do \
16724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16726 echo "Doing maintainer-clean in prms" ; \
16728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16730 "RANLIB=$${RANLIB}" \
16731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16732 maintainer-clean) \
16738 .PHONY: configure-rcs maybe-configure-rcs
16739 maybe-configure-rcs:
16741 maybe-configure-rcs: configure-rcs
16743 @test ! -f rcs/Makefile || exit 0; \
16744 [ -d rcs ] || mkdir rcs; \
16745 r=`${PWD_COMMAND}`; export r; \
16746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16748 echo Configuring in rcs; \
16749 cd rcs || exit 1; \
16750 case $(srcdir) in \
16752 srcdiroption="--srcdir=."; \
16754 /* | [A-Za-z]:[\\/]*) \
16755 srcdiroption="--srcdir=$(srcdir)/rcs"; \
16756 libsrcdir="$$s/rcs";; \
16758 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
16759 libsrcdir="$$s/rcs";; \
16761 $(SHELL) $${libsrcdir}/configure \
16762 $(HOST_CONFIGARGS) $${srcdiroption} \
16766 .PHONY: all-rcs maybe-all-rcs
16770 maybe-all-rcs: all-rcs
16771 all-rcs: configure-rcs
16772 @r=`${PWD_COMMAND}`; export r; \
16773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16776 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) \
16780 .PHONY: check-rcs maybe-check-rcs
16783 maybe-check-rcs: check-rcs
16786 @r=`${PWD_COMMAND}`; export r; \
16787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16790 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
16794 .PHONY: install-rcs maybe-install-rcs
16797 maybe-install-rcs: install-rcs
16799 install-rcs: installdirs
16800 @r=`${PWD_COMMAND}`; export r; \
16801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16804 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
16808 # Other targets (info, dvi, etc.)
16810 .PHONY: maybe-info-rcs info-rcs
16813 maybe-info-rcs: info-rcs
16817 @[ -f ./rcs/Makefile ] || exit 0; \
16818 r=`${PWD_COMMAND}`; export r; \
16819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16822 for flag in $(EXTRA_HOST_FLAGS) ; do \
16823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16825 echo "Doing info in rcs" ; \
16827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16829 "RANLIB=$${RANLIB}" \
16830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16836 .PHONY: maybe-dvi-rcs dvi-rcs
16839 maybe-dvi-rcs: dvi-rcs
16843 @[ -f ./rcs/Makefile ] || exit 0; \
16844 r=`${PWD_COMMAND}`; export r; \
16845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16848 for flag in $(EXTRA_HOST_FLAGS) ; do \
16849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16851 echo "Doing dvi in rcs" ; \
16853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16855 "RANLIB=$${RANLIB}" \
16856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16862 .PHONY: maybe-html-rcs html-rcs
16865 maybe-html-rcs: html-rcs
16869 @[ -f ./rcs/Makefile ] || exit 0; \
16870 r=`${PWD_COMMAND}`; export r; \
16871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16874 for flag in $(EXTRA_HOST_FLAGS) ; do \
16875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16877 echo "Doing html in rcs" ; \
16879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16881 "RANLIB=$${RANLIB}" \
16882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16888 .PHONY: maybe-TAGS-rcs TAGS-rcs
16891 maybe-TAGS-rcs: TAGS-rcs
16895 @[ -f ./rcs/Makefile ] || exit 0; \
16896 r=`${PWD_COMMAND}`; export r; \
16897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16900 for flag in $(EXTRA_HOST_FLAGS) ; do \
16901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16903 echo "Doing TAGS in rcs" ; \
16905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16907 "RANLIB=$${RANLIB}" \
16908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16914 .PHONY: maybe-install-info-rcs install-info-rcs
16915 maybe-install-info-rcs:
16917 maybe-install-info-rcs: install-info-rcs
16919 install-info-rcs: \
16922 @[ -f ./rcs/Makefile ] || exit 0; \
16923 r=`${PWD_COMMAND}`; export r; \
16924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16927 for flag in $(EXTRA_HOST_FLAGS) ; do \
16928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16930 echo "Doing install-info in rcs" ; \
16932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16934 "RANLIB=$${RANLIB}" \
16935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16941 .PHONY: maybe-installcheck-rcs installcheck-rcs
16942 maybe-installcheck-rcs:
16944 maybe-installcheck-rcs: installcheck-rcs
16946 installcheck-rcs: \
16948 @[ -f ./rcs/Makefile ] || exit 0; \
16949 r=`${PWD_COMMAND}`; export r; \
16950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16953 for flag in $(EXTRA_HOST_FLAGS) ; do \
16954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16956 echo "Doing installcheck in rcs" ; \
16958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16960 "RANLIB=$${RANLIB}" \
16961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16967 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
16968 maybe-mostlyclean-rcs:
16970 maybe-mostlyclean-rcs: mostlyclean-rcs
16973 @[ -f ./rcs/Makefile ] || exit 0; \
16974 r=`${PWD_COMMAND}`; export r; \
16975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16978 for flag in $(EXTRA_HOST_FLAGS) ; do \
16979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16981 echo "Doing mostlyclean in rcs" ; \
16983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16985 "RANLIB=$${RANLIB}" \
16986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16992 .PHONY: maybe-clean-rcs clean-rcs
16995 maybe-clean-rcs: clean-rcs
16998 @[ -f ./rcs/Makefile ] || exit 0; \
16999 r=`${PWD_COMMAND}`; export r; \
17000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17003 for flag in $(EXTRA_HOST_FLAGS) ; do \
17004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17006 echo "Doing clean in rcs" ; \
17008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17010 "RANLIB=$${RANLIB}" \
17011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17017 .PHONY: maybe-distclean-rcs distclean-rcs
17018 maybe-distclean-rcs:
17020 maybe-distclean-rcs: distclean-rcs
17023 @[ -f ./rcs/Makefile ] || exit 0; \
17024 r=`${PWD_COMMAND}`; export r; \
17025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17028 for flag in $(EXTRA_HOST_FLAGS) ; do \
17029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17031 echo "Doing distclean in rcs" ; \
17033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17035 "RANLIB=$${RANLIB}" \
17036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17042 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
17043 maybe-maintainer-clean-rcs:
17045 maybe-maintainer-clean-rcs: maintainer-clean-rcs
17047 maintainer-clean-rcs:
17048 @[ -f ./rcs/Makefile ] || exit 0; \
17049 r=`${PWD_COMMAND}`; export r; \
17050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17053 for flag in $(EXTRA_HOST_FLAGS) ; do \
17054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17056 echo "Doing maintainer-clean in rcs" ; \
17058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17060 "RANLIB=$${RANLIB}" \
17061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17062 maintainer-clean) \
17068 .PHONY: configure-readline maybe-configure-readline
17069 maybe-configure-readline:
17071 maybe-configure-readline: configure-readline
17072 configure-readline:
17073 @test ! -f readline/Makefile || exit 0; \
17074 [ -d readline ] || mkdir readline; \
17075 r=`${PWD_COMMAND}`; export r; \
17076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17078 echo Configuring in readline; \
17079 cd readline || exit 1; \
17080 case $(srcdir) in \
17082 srcdiroption="--srcdir=."; \
17084 /* | [A-Za-z]:[\\/]*) \
17085 srcdiroption="--srcdir=$(srcdir)/readline"; \
17086 libsrcdir="$$s/readline";; \
17088 srcdiroption="--srcdir=../$(srcdir)/readline"; \
17089 libsrcdir="$$s/readline";; \
17091 $(SHELL) $${libsrcdir}/configure \
17092 $(HOST_CONFIGARGS) $${srcdiroption} \
17096 .PHONY: all-readline maybe-all-readline
17097 maybe-all-readline:
17099 TARGET-readline=all
17100 maybe-all-readline: all-readline
17101 all-readline: configure-readline
17102 @r=`${PWD_COMMAND}`; export r; \
17103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17106 (cd readline && $(MAKE) $(FLAGS_TO_PASS) \
17107 $(TARGET-readline))
17110 .PHONY: check-readline maybe-check-readline
17111 maybe-check-readline:
17113 maybe-check-readline: check-readline
17116 @r=`${PWD_COMMAND}`; export r; \
17117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17120 (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
17124 .PHONY: install-readline maybe-install-readline
17125 maybe-install-readline:
17127 maybe-install-readline: install-readline
17129 install-readline: installdirs
17130 @r=`${PWD_COMMAND}`; export r; \
17131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17134 (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
17138 # Other targets (info, dvi, etc.)
17140 .PHONY: maybe-info-readline info-readline
17141 maybe-info-readline:
17143 maybe-info-readline: info-readline
17147 @[ -f ./readline/Makefile ] || exit 0; \
17148 r=`${PWD_COMMAND}`; export r; \
17149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17152 for flag in $(EXTRA_HOST_FLAGS) ; do \
17153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17155 echo "Doing info in readline" ; \
17157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17159 "RANLIB=$${RANLIB}" \
17160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17166 .PHONY: maybe-dvi-readline dvi-readline
17167 maybe-dvi-readline:
17169 maybe-dvi-readline: dvi-readline
17173 @[ -f ./readline/Makefile ] || exit 0; \
17174 r=`${PWD_COMMAND}`; export r; \
17175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17178 for flag in $(EXTRA_HOST_FLAGS) ; do \
17179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17181 echo "Doing dvi in readline" ; \
17183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17185 "RANLIB=$${RANLIB}" \
17186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17192 .PHONY: maybe-html-readline html-readline
17193 maybe-html-readline:
17195 maybe-html-readline: html-readline
17199 @[ -f ./readline/Makefile ] || exit 0; \
17200 r=`${PWD_COMMAND}`; export r; \
17201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17204 for flag in $(EXTRA_HOST_FLAGS) ; do \
17205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17207 echo "Doing html in readline" ; \
17209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17211 "RANLIB=$${RANLIB}" \
17212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17218 .PHONY: maybe-TAGS-readline TAGS-readline
17219 maybe-TAGS-readline:
17221 maybe-TAGS-readline: TAGS-readline
17225 @[ -f ./readline/Makefile ] || exit 0; \
17226 r=`${PWD_COMMAND}`; export r; \
17227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17230 for flag in $(EXTRA_HOST_FLAGS) ; do \
17231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17233 echo "Doing TAGS in readline" ; \
17235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17237 "RANLIB=$${RANLIB}" \
17238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17244 .PHONY: maybe-install-info-readline install-info-readline
17245 maybe-install-info-readline:
17247 maybe-install-info-readline: install-info-readline
17249 install-info-readline: \
17250 configure-readline \
17252 @[ -f ./readline/Makefile ] || exit 0; \
17253 r=`${PWD_COMMAND}`; export r; \
17254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17257 for flag in $(EXTRA_HOST_FLAGS) ; do \
17258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17260 echo "Doing install-info in readline" ; \
17262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17264 "RANLIB=$${RANLIB}" \
17265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17271 .PHONY: maybe-installcheck-readline installcheck-readline
17272 maybe-installcheck-readline:
17274 maybe-installcheck-readline: installcheck-readline
17276 installcheck-readline: \
17278 @[ -f ./readline/Makefile ] || exit 0; \
17279 r=`${PWD_COMMAND}`; export r; \
17280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17283 for flag in $(EXTRA_HOST_FLAGS) ; do \
17284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17286 echo "Doing installcheck in readline" ; \
17288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17290 "RANLIB=$${RANLIB}" \
17291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17297 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
17298 maybe-mostlyclean-readline:
17300 maybe-mostlyclean-readline: mostlyclean-readline
17302 mostlyclean-readline:
17303 @[ -f ./readline/Makefile ] || exit 0; \
17304 r=`${PWD_COMMAND}`; export r; \
17305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17308 for flag in $(EXTRA_HOST_FLAGS) ; do \
17309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17311 echo "Doing mostlyclean in readline" ; \
17313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17315 "RANLIB=$${RANLIB}" \
17316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17322 .PHONY: maybe-clean-readline clean-readline
17323 maybe-clean-readline:
17325 maybe-clean-readline: clean-readline
17328 @[ -f ./readline/Makefile ] || exit 0; \
17329 r=`${PWD_COMMAND}`; export r; \
17330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17333 for flag in $(EXTRA_HOST_FLAGS) ; do \
17334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17336 echo "Doing clean in readline" ; \
17338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17340 "RANLIB=$${RANLIB}" \
17341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17347 .PHONY: maybe-distclean-readline distclean-readline
17348 maybe-distclean-readline:
17350 maybe-distclean-readline: distclean-readline
17352 distclean-readline:
17353 @[ -f ./readline/Makefile ] || exit 0; \
17354 r=`${PWD_COMMAND}`; export r; \
17355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17358 for flag in $(EXTRA_HOST_FLAGS) ; do \
17359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17361 echo "Doing distclean in readline" ; \
17363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17365 "RANLIB=$${RANLIB}" \
17366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17372 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
17373 maybe-maintainer-clean-readline:
17375 maybe-maintainer-clean-readline: maintainer-clean-readline
17377 maintainer-clean-readline:
17378 @[ -f ./readline/Makefile ] || exit 0; \
17379 r=`${PWD_COMMAND}`; export r; \
17380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17383 for flag in $(EXTRA_HOST_FLAGS) ; do \
17384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17386 echo "Doing maintainer-clean in readline" ; \
17388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17390 "RANLIB=$${RANLIB}" \
17391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17392 maintainer-clean) \
17398 .PHONY: configure-release maybe-configure-release
17399 maybe-configure-release:
17401 maybe-configure-release: configure-release
17403 @test ! -f release/Makefile || exit 0; \
17404 [ -d release ] || mkdir release; \
17405 r=`${PWD_COMMAND}`; export r; \
17406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17408 echo Configuring in release; \
17409 cd release || exit 1; \
17410 case $(srcdir) in \
17412 srcdiroption="--srcdir=."; \
17414 /* | [A-Za-z]:[\\/]*) \
17415 srcdiroption="--srcdir=$(srcdir)/release"; \
17416 libsrcdir="$$s/release";; \
17418 srcdiroption="--srcdir=../$(srcdir)/release"; \
17419 libsrcdir="$$s/release";; \
17421 $(SHELL) $${libsrcdir}/configure \
17422 $(HOST_CONFIGARGS) $${srcdiroption} \
17426 .PHONY: all-release maybe-all-release
17430 maybe-all-release: all-release
17431 all-release: configure-release
17432 @r=`${PWD_COMMAND}`; export r; \
17433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17436 (cd release && $(MAKE) $(FLAGS_TO_PASS) \
17440 .PHONY: check-release maybe-check-release
17441 maybe-check-release:
17443 maybe-check-release: check-release
17449 .PHONY: install-release maybe-install-release
17450 maybe-install-release:
17452 maybe-install-release: install-release
17458 # Other targets (info, dvi, etc.)
17460 .PHONY: maybe-info-release info-release
17461 maybe-info-release:
17463 maybe-info-release: info-release
17467 @[ -f ./release/Makefile ] || exit 0; \
17468 r=`${PWD_COMMAND}`; export r; \
17469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17472 for flag in $(EXTRA_HOST_FLAGS) ; do \
17473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17475 echo "Doing info in release" ; \
17477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17479 "RANLIB=$${RANLIB}" \
17480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17486 .PHONY: maybe-dvi-release dvi-release
17489 maybe-dvi-release: dvi-release
17493 @[ -f ./release/Makefile ] || exit 0; \
17494 r=`${PWD_COMMAND}`; export r; \
17495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17498 for flag in $(EXTRA_HOST_FLAGS) ; do \
17499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17501 echo "Doing dvi in release" ; \
17503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17505 "RANLIB=$${RANLIB}" \
17506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17512 .PHONY: maybe-html-release html-release
17513 maybe-html-release:
17515 maybe-html-release: html-release
17519 @[ -f ./release/Makefile ] || exit 0; \
17520 r=`${PWD_COMMAND}`; export r; \
17521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17524 for flag in $(EXTRA_HOST_FLAGS) ; do \
17525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17527 echo "Doing html in release" ; \
17529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17531 "RANLIB=$${RANLIB}" \
17532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17538 .PHONY: maybe-TAGS-release TAGS-release
17539 maybe-TAGS-release:
17541 maybe-TAGS-release: TAGS-release
17545 @[ -f ./release/Makefile ] || exit 0; \
17546 r=`${PWD_COMMAND}`; export r; \
17547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17550 for flag in $(EXTRA_HOST_FLAGS) ; do \
17551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17553 echo "Doing TAGS in release" ; \
17555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17557 "RANLIB=$${RANLIB}" \
17558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17564 .PHONY: maybe-install-info-release install-info-release
17565 maybe-install-info-release:
17567 maybe-install-info-release: install-info-release
17569 install-info-release: \
17570 configure-release \
17572 @[ -f ./release/Makefile ] || exit 0; \
17573 r=`${PWD_COMMAND}`; export r; \
17574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17577 for flag in $(EXTRA_HOST_FLAGS) ; do \
17578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17580 echo "Doing install-info in release" ; \
17582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17584 "RANLIB=$${RANLIB}" \
17585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17591 .PHONY: maybe-installcheck-release installcheck-release
17592 maybe-installcheck-release:
17594 maybe-installcheck-release: installcheck-release
17596 installcheck-release: \
17598 @[ -f ./release/Makefile ] || exit 0; \
17599 r=`${PWD_COMMAND}`; export r; \
17600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17603 for flag in $(EXTRA_HOST_FLAGS) ; do \
17604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17606 echo "Doing installcheck in release" ; \
17608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17610 "RANLIB=$${RANLIB}" \
17611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17617 .PHONY: maybe-mostlyclean-release mostlyclean-release
17618 maybe-mostlyclean-release:
17620 maybe-mostlyclean-release: mostlyclean-release
17622 mostlyclean-release:
17623 @[ -f ./release/Makefile ] || exit 0; \
17624 r=`${PWD_COMMAND}`; export r; \
17625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17628 for flag in $(EXTRA_HOST_FLAGS) ; do \
17629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17631 echo "Doing mostlyclean in release" ; \
17633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17635 "RANLIB=$${RANLIB}" \
17636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17642 .PHONY: maybe-clean-release clean-release
17643 maybe-clean-release:
17645 maybe-clean-release: clean-release
17648 @[ -f ./release/Makefile ] || exit 0; \
17649 r=`${PWD_COMMAND}`; export r; \
17650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17653 for flag in $(EXTRA_HOST_FLAGS) ; do \
17654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17656 echo "Doing clean in release" ; \
17658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17660 "RANLIB=$${RANLIB}" \
17661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17667 .PHONY: maybe-distclean-release distclean-release
17668 maybe-distclean-release:
17670 maybe-distclean-release: distclean-release
17673 @[ -f ./release/Makefile ] || exit 0; \
17674 r=`${PWD_COMMAND}`; export r; \
17675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17678 for flag in $(EXTRA_HOST_FLAGS) ; do \
17679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17681 echo "Doing distclean in release" ; \
17683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17685 "RANLIB=$${RANLIB}" \
17686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17692 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
17693 maybe-maintainer-clean-release:
17695 maybe-maintainer-clean-release: maintainer-clean-release
17697 maintainer-clean-release:
17698 @[ -f ./release/Makefile ] || exit 0; \
17699 r=`${PWD_COMMAND}`; export r; \
17700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17703 for flag in $(EXTRA_HOST_FLAGS) ; do \
17704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17706 echo "Doing maintainer-clean in release" ; \
17708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17710 "RANLIB=$${RANLIB}" \
17711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17712 maintainer-clean) \
17718 .PHONY: configure-recode maybe-configure-recode
17719 maybe-configure-recode:
17721 maybe-configure-recode: configure-recode
17723 @test ! -f recode/Makefile || exit 0; \
17724 [ -d recode ] || mkdir recode; \
17725 r=`${PWD_COMMAND}`; export r; \
17726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17728 echo Configuring in recode; \
17729 cd recode || exit 1; \
17730 case $(srcdir) in \
17732 srcdiroption="--srcdir=."; \
17734 /* | [A-Za-z]:[\\/]*) \
17735 srcdiroption="--srcdir=$(srcdir)/recode"; \
17736 libsrcdir="$$s/recode";; \
17738 srcdiroption="--srcdir=../$(srcdir)/recode"; \
17739 libsrcdir="$$s/recode";; \
17741 $(SHELL) $${libsrcdir}/configure \
17742 $(HOST_CONFIGARGS) $${srcdiroption} \
17746 .PHONY: all-recode maybe-all-recode
17750 maybe-all-recode: all-recode
17751 all-recode: configure-recode
17752 @r=`${PWD_COMMAND}`; export r; \
17753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17756 (cd recode && $(MAKE) $(FLAGS_TO_PASS) \
17760 .PHONY: check-recode maybe-check-recode
17761 maybe-check-recode:
17763 maybe-check-recode: check-recode
17766 @r=`${PWD_COMMAND}`; export r; \
17767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17770 (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
17774 .PHONY: install-recode maybe-install-recode
17775 maybe-install-recode:
17777 maybe-install-recode: install-recode
17779 install-recode: installdirs
17780 @r=`${PWD_COMMAND}`; export r; \
17781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17784 (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
17788 # Other targets (info, dvi, etc.)
17790 .PHONY: maybe-info-recode info-recode
17793 maybe-info-recode: info-recode
17797 @[ -f ./recode/Makefile ] || exit 0; \
17798 r=`${PWD_COMMAND}`; export r; \
17799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17802 for flag in $(EXTRA_HOST_FLAGS) ; do \
17803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17805 echo "Doing info in recode" ; \
17807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17809 "RANLIB=$${RANLIB}" \
17810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17816 .PHONY: maybe-dvi-recode dvi-recode
17819 maybe-dvi-recode: dvi-recode
17823 @[ -f ./recode/Makefile ] || exit 0; \
17824 r=`${PWD_COMMAND}`; export r; \
17825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17828 for flag in $(EXTRA_HOST_FLAGS) ; do \
17829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17831 echo "Doing dvi in recode" ; \
17833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17835 "RANLIB=$${RANLIB}" \
17836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17842 .PHONY: maybe-html-recode html-recode
17845 maybe-html-recode: html-recode
17849 @[ -f ./recode/Makefile ] || exit 0; \
17850 r=`${PWD_COMMAND}`; export r; \
17851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17854 for flag in $(EXTRA_HOST_FLAGS) ; do \
17855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17857 echo "Doing html in recode" ; \
17859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17861 "RANLIB=$${RANLIB}" \
17862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17868 .PHONY: maybe-TAGS-recode TAGS-recode
17871 maybe-TAGS-recode: TAGS-recode
17875 @[ -f ./recode/Makefile ] || exit 0; \
17876 r=`${PWD_COMMAND}`; export r; \
17877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17880 for flag in $(EXTRA_HOST_FLAGS) ; do \
17881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17883 echo "Doing TAGS in recode" ; \
17885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17887 "RANLIB=$${RANLIB}" \
17888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17894 .PHONY: maybe-install-info-recode install-info-recode
17895 maybe-install-info-recode:
17897 maybe-install-info-recode: install-info-recode
17899 install-info-recode: \
17902 @[ -f ./recode/Makefile ] || exit 0; \
17903 r=`${PWD_COMMAND}`; export r; \
17904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17907 for flag in $(EXTRA_HOST_FLAGS) ; do \
17908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17910 echo "Doing install-info in recode" ; \
17912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17914 "RANLIB=$${RANLIB}" \
17915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17921 .PHONY: maybe-installcheck-recode installcheck-recode
17922 maybe-installcheck-recode:
17924 maybe-installcheck-recode: installcheck-recode
17926 installcheck-recode: \
17928 @[ -f ./recode/Makefile ] || exit 0; \
17929 r=`${PWD_COMMAND}`; export r; \
17930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17933 for flag in $(EXTRA_HOST_FLAGS) ; do \
17934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17936 echo "Doing installcheck in recode" ; \
17938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17940 "RANLIB=$${RANLIB}" \
17941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17947 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
17948 maybe-mostlyclean-recode:
17950 maybe-mostlyclean-recode: mostlyclean-recode
17952 mostlyclean-recode:
17953 @[ -f ./recode/Makefile ] || exit 0; \
17954 r=`${PWD_COMMAND}`; export r; \
17955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17958 for flag in $(EXTRA_HOST_FLAGS) ; do \
17959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17961 echo "Doing mostlyclean in recode" ; \
17963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17965 "RANLIB=$${RANLIB}" \
17966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17972 .PHONY: maybe-clean-recode clean-recode
17973 maybe-clean-recode:
17975 maybe-clean-recode: clean-recode
17978 @[ -f ./recode/Makefile ] || exit 0; \
17979 r=`${PWD_COMMAND}`; export r; \
17980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17983 for flag in $(EXTRA_HOST_FLAGS) ; do \
17984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17986 echo "Doing clean in recode" ; \
17988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17990 "RANLIB=$${RANLIB}" \
17991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17997 .PHONY: maybe-distclean-recode distclean-recode
17998 maybe-distclean-recode:
18000 maybe-distclean-recode: distclean-recode
18003 @[ -f ./recode/Makefile ] || exit 0; \
18004 r=`${PWD_COMMAND}`; export r; \
18005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18008 for flag in $(EXTRA_HOST_FLAGS) ; do \
18009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18011 echo "Doing distclean in recode" ; \
18013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18015 "RANLIB=$${RANLIB}" \
18016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18022 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
18023 maybe-maintainer-clean-recode:
18025 maybe-maintainer-clean-recode: maintainer-clean-recode
18027 maintainer-clean-recode:
18028 @[ -f ./recode/Makefile ] || exit 0; \
18029 r=`${PWD_COMMAND}`; export r; \
18030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18033 for flag in $(EXTRA_HOST_FLAGS) ; do \
18034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18036 echo "Doing maintainer-clean in recode" ; \
18038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18040 "RANLIB=$${RANLIB}" \
18041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18042 maintainer-clean) \
18048 .PHONY: configure-sed maybe-configure-sed
18049 maybe-configure-sed:
18051 maybe-configure-sed: configure-sed
18053 @test ! -f sed/Makefile || exit 0; \
18054 [ -d sed ] || mkdir sed; \
18055 r=`${PWD_COMMAND}`; export r; \
18056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18058 echo Configuring in sed; \
18059 cd sed || exit 1; \
18060 case $(srcdir) in \
18062 srcdiroption="--srcdir=."; \
18064 /* | [A-Za-z]:[\\/]*) \
18065 srcdiroption="--srcdir=$(srcdir)/sed"; \
18066 libsrcdir="$$s/sed";; \
18068 srcdiroption="--srcdir=../$(srcdir)/sed"; \
18069 libsrcdir="$$s/sed";; \
18071 $(SHELL) $${libsrcdir}/configure \
18072 $(HOST_CONFIGARGS) $${srcdiroption} \
18076 .PHONY: all-sed maybe-all-sed
18080 maybe-all-sed: all-sed
18081 all-sed: configure-sed
18082 @r=`${PWD_COMMAND}`; export r; \
18083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18086 (cd sed && $(MAKE) $(FLAGS_TO_PASS) \
18090 .PHONY: check-sed maybe-check-sed
18093 maybe-check-sed: check-sed
18096 @r=`${PWD_COMMAND}`; export r; \
18097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18100 (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
18104 .PHONY: install-sed maybe-install-sed
18107 maybe-install-sed: install-sed
18109 install-sed: installdirs
18110 @r=`${PWD_COMMAND}`; export r; \
18111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18114 (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
18118 # Other targets (info, dvi, etc.)
18120 .PHONY: maybe-info-sed info-sed
18123 maybe-info-sed: info-sed
18127 @[ -f ./sed/Makefile ] || exit 0; \
18128 r=`${PWD_COMMAND}`; export r; \
18129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18132 for flag in $(EXTRA_HOST_FLAGS) ; do \
18133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18135 echo "Doing info in sed" ; \
18137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18139 "RANLIB=$${RANLIB}" \
18140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18146 .PHONY: maybe-dvi-sed dvi-sed
18149 maybe-dvi-sed: dvi-sed
18153 @[ -f ./sed/Makefile ] || exit 0; \
18154 r=`${PWD_COMMAND}`; export r; \
18155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18158 for flag in $(EXTRA_HOST_FLAGS) ; do \
18159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18161 echo "Doing dvi in sed" ; \
18163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18165 "RANLIB=$${RANLIB}" \
18166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18172 .PHONY: maybe-html-sed html-sed
18175 maybe-html-sed: html-sed
18179 @[ -f ./sed/Makefile ] || exit 0; \
18180 r=`${PWD_COMMAND}`; export r; \
18181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18184 for flag in $(EXTRA_HOST_FLAGS) ; do \
18185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18187 echo "Doing html in sed" ; \
18189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18191 "RANLIB=$${RANLIB}" \
18192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18198 .PHONY: maybe-TAGS-sed TAGS-sed
18201 maybe-TAGS-sed: TAGS-sed
18205 @[ -f ./sed/Makefile ] || exit 0; \
18206 r=`${PWD_COMMAND}`; export r; \
18207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18210 for flag in $(EXTRA_HOST_FLAGS) ; do \
18211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18213 echo "Doing TAGS in sed" ; \
18215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18217 "RANLIB=$${RANLIB}" \
18218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18224 .PHONY: maybe-install-info-sed install-info-sed
18225 maybe-install-info-sed:
18227 maybe-install-info-sed: install-info-sed
18229 install-info-sed: \
18232 @[ -f ./sed/Makefile ] || exit 0; \
18233 r=`${PWD_COMMAND}`; export r; \
18234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18237 for flag in $(EXTRA_HOST_FLAGS) ; do \
18238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18240 echo "Doing install-info in sed" ; \
18242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18244 "RANLIB=$${RANLIB}" \
18245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18251 .PHONY: maybe-installcheck-sed installcheck-sed
18252 maybe-installcheck-sed:
18254 maybe-installcheck-sed: installcheck-sed
18256 installcheck-sed: \
18258 @[ -f ./sed/Makefile ] || exit 0; \
18259 r=`${PWD_COMMAND}`; export r; \
18260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18263 for flag in $(EXTRA_HOST_FLAGS) ; do \
18264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18266 echo "Doing installcheck in sed" ; \
18268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18270 "RANLIB=$${RANLIB}" \
18271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18277 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
18278 maybe-mostlyclean-sed:
18280 maybe-mostlyclean-sed: mostlyclean-sed
18283 @[ -f ./sed/Makefile ] || exit 0; \
18284 r=`${PWD_COMMAND}`; export r; \
18285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18288 for flag in $(EXTRA_HOST_FLAGS) ; do \
18289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18291 echo "Doing mostlyclean in sed" ; \
18293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18295 "RANLIB=$${RANLIB}" \
18296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18302 .PHONY: maybe-clean-sed clean-sed
18305 maybe-clean-sed: clean-sed
18308 @[ -f ./sed/Makefile ] || exit 0; \
18309 r=`${PWD_COMMAND}`; export r; \
18310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18313 for flag in $(EXTRA_HOST_FLAGS) ; do \
18314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18316 echo "Doing clean in sed" ; \
18318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18320 "RANLIB=$${RANLIB}" \
18321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18327 .PHONY: maybe-distclean-sed distclean-sed
18328 maybe-distclean-sed:
18330 maybe-distclean-sed: distclean-sed
18333 @[ -f ./sed/Makefile ] || exit 0; \
18334 r=`${PWD_COMMAND}`; export r; \
18335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18338 for flag in $(EXTRA_HOST_FLAGS) ; do \
18339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18341 echo "Doing distclean in sed" ; \
18343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18345 "RANLIB=$${RANLIB}" \
18346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18352 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
18353 maybe-maintainer-clean-sed:
18355 maybe-maintainer-clean-sed: maintainer-clean-sed
18357 maintainer-clean-sed:
18358 @[ -f ./sed/Makefile ] || exit 0; \
18359 r=`${PWD_COMMAND}`; export r; \
18360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18363 for flag in $(EXTRA_HOST_FLAGS) ; do \
18364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18366 echo "Doing maintainer-clean in sed" ; \
18368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18370 "RANLIB=$${RANLIB}" \
18371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18372 maintainer-clean) \
18378 .PHONY: configure-send-pr maybe-configure-send-pr
18379 maybe-configure-send-pr:
18381 maybe-configure-send-pr: configure-send-pr
18383 @test ! -f send-pr/Makefile || exit 0; \
18384 [ -d send-pr ] || mkdir send-pr; \
18385 r=`${PWD_COMMAND}`; export r; \
18386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18388 echo Configuring in send-pr; \
18389 cd send-pr || exit 1; \
18390 case $(srcdir) in \
18392 srcdiroption="--srcdir=."; \
18394 /* | [A-Za-z]:[\\/]*) \
18395 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
18396 libsrcdir="$$s/send-pr";; \
18398 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
18399 libsrcdir="$$s/send-pr";; \
18401 $(SHELL) $${libsrcdir}/configure \
18402 $(HOST_CONFIGARGS) $${srcdiroption} \
18406 .PHONY: all-send-pr maybe-all-send-pr
18410 maybe-all-send-pr: all-send-pr
18411 all-send-pr: configure-send-pr
18412 @r=`${PWD_COMMAND}`; export r; \
18413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18416 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) \
18420 .PHONY: check-send-pr maybe-check-send-pr
18421 maybe-check-send-pr:
18423 maybe-check-send-pr: check-send-pr
18426 @r=`${PWD_COMMAND}`; export r; \
18427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18430 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
18434 .PHONY: install-send-pr maybe-install-send-pr
18435 maybe-install-send-pr:
18437 maybe-install-send-pr: install-send-pr
18439 install-send-pr: installdirs
18440 @r=`${PWD_COMMAND}`; export r; \
18441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18444 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
18448 # Other targets (info, dvi, etc.)
18450 .PHONY: maybe-info-send-pr info-send-pr
18451 maybe-info-send-pr:
18453 maybe-info-send-pr: info-send-pr
18457 @[ -f ./send-pr/Makefile ] || exit 0; \
18458 r=`${PWD_COMMAND}`; export r; \
18459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18462 for flag in $(EXTRA_HOST_FLAGS) ; do \
18463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18465 echo "Doing info in send-pr" ; \
18467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18469 "RANLIB=$${RANLIB}" \
18470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18476 .PHONY: maybe-dvi-send-pr dvi-send-pr
18479 maybe-dvi-send-pr: dvi-send-pr
18483 @[ -f ./send-pr/Makefile ] || exit 0; \
18484 r=`${PWD_COMMAND}`; export r; \
18485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18488 for flag in $(EXTRA_HOST_FLAGS) ; do \
18489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18491 echo "Doing dvi in send-pr" ; \
18493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18495 "RANLIB=$${RANLIB}" \
18496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18502 .PHONY: maybe-html-send-pr html-send-pr
18503 maybe-html-send-pr:
18505 maybe-html-send-pr: html-send-pr
18509 @[ -f ./send-pr/Makefile ] || exit 0; \
18510 r=`${PWD_COMMAND}`; export r; \
18511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18514 for flag in $(EXTRA_HOST_FLAGS) ; do \
18515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18517 echo "Doing html in send-pr" ; \
18519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18521 "RANLIB=$${RANLIB}" \
18522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18528 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
18529 maybe-TAGS-send-pr:
18531 maybe-TAGS-send-pr: TAGS-send-pr
18535 @[ -f ./send-pr/Makefile ] || exit 0; \
18536 r=`${PWD_COMMAND}`; export r; \
18537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18540 for flag in $(EXTRA_HOST_FLAGS) ; do \
18541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18543 echo "Doing TAGS in send-pr" ; \
18545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18547 "RANLIB=$${RANLIB}" \
18548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18554 .PHONY: maybe-install-info-send-pr install-info-send-pr
18555 maybe-install-info-send-pr:
18557 maybe-install-info-send-pr: install-info-send-pr
18559 install-info-send-pr: \
18560 configure-send-pr \
18562 @[ -f ./send-pr/Makefile ] || exit 0; \
18563 r=`${PWD_COMMAND}`; export r; \
18564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18567 for flag in $(EXTRA_HOST_FLAGS) ; do \
18568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18570 echo "Doing install-info in send-pr" ; \
18572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18574 "RANLIB=$${RANLIB}" \
18575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18581 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
18582 maybe-installcheck-send-pr:
18584 maybe-installcheck-send-pr: installcheck-send-pr
18586 installcheck-send-pr: \
18588 @[ -f ./send-pr/Makefile ] || exit 0; \
18589 r=`${PWD_COMMAND}`; export r; \
18590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18593 for flag in $(EXTRA_HOST_FLAGS) ; do \
18594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18596 echo "Doing installcheck in send-pr" ; \
18598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18600 "RANLIB=$${RANLIB}" \
18601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18607 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
18608 maybe-mostlyclean-send-pr:
18610 maybe-mostlyclean-send-pr: mostlyclean-send-pr
18612 mostlyclean-send-pr:
18613 @[ -f ./send-pr/Makefile ] || exit 0; \
18614 r=`${PWD_COMMAND}`; export r; \
18615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18618 for flag in $(EXTRA_HOST_FLAGS) ; do \
18619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18621 echo "Doing mostlyclean in send-pr" ; \
18623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18625 "RANLIB=$${RANLIB}" \
18626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18632 .PHONY: maybe-clean-send-pr clean-send-pr
18633 maybe-clean-send-pr:
18635 maybe-clean-send-pr: clean-send-pr
18638 @[ -f ./send-pr/Makefile ] || exit 0; \
18639 r=`${PWD_COMMAND}`; export r; \
18640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18643 for flag in $(EXTRA_HOST_FLAGS) ; do \
18644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18646 echo "Doing clean in send-pr" ; \
18648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18650 "RANLIB=$${RANLIB}" \
18651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18657 .PHONY: maybe-distclean-send-pr distclean-send-pr
18658 maybe-distclean-send-pr:
18660 maybe-distclean-send-pr: distclean-send-pr
18663 @[ -f ./send-pr/Makefile ] || exit 0; \
18664 r=`${PWD_COMMAND}`; export r; \
18665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18668 for flag in $(EXTRA_HOST_FLAGS) ; do \
18669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18671 echo "Doing distclean in send-pr" ; \
18673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18675 "RANLIB=$${RANLIB}" \
18676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18682 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
18683 maybe-maintainer-clean-send-pr:
18685 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
18687 maintainer-clean-send-pr:
18688 @[ -f ./send-pr/Makefile ] || exit 0; \
18689 r=`${PWD_COMMAND}`; export r; \
18690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18693 for flag in $(EXTRA_HOST_FLAGS) ; do \
18694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18696 echo "Doing maintainer-clean in send-pr" ; \
18698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18700 "RANLIB=$${RANLIB}" \
18701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18702 maintainer-clean) \
18708 .PHONY: configure-shellutils maybe-configure-shellutils
18709 maybe-configure-shellutils:
18711 maybe-configure-shellutils: configure-shellutils
18712 configure-shellutils:
18713 @test ! -f shellutils/Makefile || exit 0; \
18714 [ -d shellutils ] || mkdir shellutils; \
18715 r=`${PWD_COMMAND}`; export r; \
18716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18718 echo Configuring in shellutils; \
18719 cd shellutils || exit 1; \
18720 case $(srcdir) in \
18722 srcdiroption="--srcdir=."; \
18724 /* | [A-Za-z]:[\\/]*) \
18725 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
18726 libsrcdir="$$s/shellutils";; \
18728 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
18729 libsrcdir="$$s/shellutils";; \
18731 $(SHELL) $${libsrcdir}/configure \
18732 $(HOST_CONFIGARGS) $${srcdiroption} \
18736 .PHONY: all-shellutils maybe-all-shellutils
18737 maybe-all-shellutils:
18739 TARGET-shellutils=all
18740 maybe-all-shellutils: all-shellutils
18741 all-shellutils: configure-shellutils
18742 @r=`${PWD_COMMAND}`; export r; \
18743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18746 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) \
18747 $(TARGET-shellutils))
18750 .PHONY: check-shellutils maybe-check-shellutils
18751 maybe-check-shellutils:
18753 maybe-check-shellutils: check-shellutils
18756 @r=`${PWD_COMMAND}`; export r; \
18757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18760 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
18764 .PHONY: install-shellutils maybe-install-shellutils
18765 maybe-install-shellutils:
18767 maybe-install-shellutils: install-shellutils
18769 install-shellutils: installdirs
18770 @r=`${PWD_COMMAND}`; export r; \
18771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18774 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
18778 # Other targets (info, dvi, etc.)
18780 .PHONY: maybe-info-shellutils info-shellutils
18781 maybe-info-shellutils:
18783 maybe-info-shellutils: info-shellutils
18786 configure-shellutils
18787 @[ -f ./shellutils/Makefile ] || exit 0; \
18788 r=`${PWD_COMMAND}`; export r; \
18789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18792 for flag in $(EXTRA_HOST_FLAGS) ; do \
18793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18795 echo "Doing info in shellutils" ; \
18796 (cd shellutils && \
18797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18799 "RANLIB=$${RANLIB}" \
18800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18806 .PHONY: maybe-dvi-shellutils dvi-shellutils
18807 maybe-dvi-shellutils:
18809 maybe-dvi-shellutils: dvi-shellutils
18812 configure-shellutils
18813 @[ -f ./shellutils/Makefile ] || exit 0; \
18814 r=`${PWD_COMMAND}`; export r; \
18815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18818 for flag in $(EXTRA_HOST_FLAGS) ; do \
18819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18821 echo "Doing dvi in shellutils" ; \
18822 (cd shellutils && \
18823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18825 "RANLIB=$${RANLIB}" \
18826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18832 .PHONY: maybe-html-shellutils html-shellutils
18833 maybe-html-shellutils:
18835 maybe-html-shellutils: html-shellutils
18838 configure-shellutils
18839 @[ -f ./shellutils/Makefile ] || exit 0; \
18840 r=`${PWD_COMMAND}`; export r; \
18841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18844 for flag in $(EXTRA_HOST_FLAGS) ; do \
18845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18847 echo "Doing html in shellutils" ; \
18848 (cd shellutils && \
18849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18851 "RANLIB=$${RANLIB}" \
18852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18858 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
18859 maybe-TAGS-shellutils:
18861 maybe-TAGS-shellutils: TAGS-shellutils
18864 configure-shellutils
18865 @[ -f ./shellutils/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 TAGS in shellutils" ; \
18874 (cd shellutils && \
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-install-info-shellutils install-info-shellutils
18885 maybe-install-info-shellutils:
18887 maybe-install-info-shellutils: install-info-shellutils
18889 install-info-shellutils: \
18890 configure-shellutils \
18892 @[ -f ./shellutils/Makefile ] || exit 0; \
18893 r=`${PWD_COMMAND}`; export r; \
18894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18897 for flag in $(EXTRA_HOST_FLAGS) ; do \
18898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18900 echo "Doing install-info in shellutils" ; \
18901 (cd shellutils && \
18902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18904 "RANLIB=$${RANLIB}" \
18905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18911 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
18912 maybe-installcheck-shellutils:
18914 maybe-installcheck-shellutils: installcheck-shellutils
18916 installcheck-shellutils: \
18917 configure-shellutils
18918 @[ -f ./shellutils/Makefile ] || exit 0; \
18919 r=`${PWD_COMMAND}`; export r; \
18920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18923 for flag in $(EXTRA_HOST_FLAGS) ; do \
18924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18926 echo "Doing installcheck in shellutils" ; \
18927 (cd shellutils && \
18928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18930 "RANLIB=$${RANLIB}" \
18931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18937 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
18938 maybe-mostlyclean-shellutils:
18940 maybe-mostlyclean-shellutils: mostlyclean-shellutils
18942 mostlyclean-shellutils:
18943 @[ -f ./shellutils/Makefile ] || exit 0; \
18944 r=`${PWD_COMMAND}`; export r; \
18945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18948 for flag in $(EXTRA_HOST_FLAGS) ; do \
18949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18951 echo "Doing mostlyclean in shellutils" ; \
18952 (cd shellutils && \
18953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18955 "RANLIB=$${RANLIB}" \
18956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18962 .PHONY: maybe-clean-shellutils clean-shellutils
18963 maybe-clean-shellutils:
18965 maybe-clean-shellutils: clean-shellutils
18968 @[ -f ./shellutils/Makefile ] || exit 0; \
18969 r=`${PWD_COMMAND}`; export r; \
18970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18973 for flag in $(EXTRA_HOST_FLAGS) ; do \
18974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18976 echo "Doing clean in shellutils" ; \
18977 (cd shellutils && \
18978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18980 "RANLIB=$${RANLIB}" \
18981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18987 .PHONY: maybe-distclean-shellutils distclean-shellutils
18988 maybe-distclean-shellutils:
18990 maybe-distclean-shellutils: distclean-shellutils
18992 distclean-shellutils:
18993 @[ -f ./shellutils/Makefile ] || exit 0; \
18994 r=`${PWD_COMMAND}`; export r; \
18995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18998 for flag in $(EXTRA_HOST_FLAGS) ; do \
18999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19001 echo "Doing distclean in shellutils" ; \
19002 (cd shellutils && \
19003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19005 "RANLIB=$${RANLIB}" \
19006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19012 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
19013 maybe-maintainer-clean-shellutils:
19015 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
19017 maintainer-clean-shellutils:
19018 @[ -f ./shellutils/Makefile ] || exit 0; \
19019 r=`${PWD_COMMAND}`; export r; \
19020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19023 for flag in $(EXTRA_HOST_FLAGS) ; do \
19024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19026 echo "Doing maintainer-clean in shellutils" ; \
19027 (cd shellutils && \
19028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19030 "RANLIB=$${RANLIB}" \
19031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19032 maintainer-clean) \
19038 .PHONY: configure-sid maybe-configure-sid
19039 maybe-configure-sid:
19041 maybe-configure-sid: configure-sid
19043 @test ! -f sid/Makefile || exit 0; \
19044 [ -d sid ] || mkdir sid; \
19045 r=`${PWD_COMMAND}`; export r; \
19046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19048 echo Configuring in sid; \
19049 cd sid || exit 1; \
19050 case $(srcdir) in \
19052 srcdiroption="--srcdir=."; \
19054 /* | [A-Za-z]:[\\/]*) \
19055 srcdiroption="--srcdir=$(srcdir)/sid"; \
19056 libsrcdir="$$s/sid";; \
19058 srcdiroption="--srcdir=../$(srcdir)/sid"; \
19059 libsrcdir="$$s/sid";; \
19061 $(SHELL) $${libsrcdir}/configure \
19062 $(HOST_CONFIGARGS) $${srcdiroption} \
19066 .PHONY: all-sid maybe-all-sid
19070 maybe-all-sid: all-sid
19071 all-sid: configure-sid
19072 @r=`${PWD_COMMAND}`; export r; \
19073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19076 (cd sid && $(MAKE) $(FLAGS_TO_PASS) \
19080 .PHONY: check-sid maybe-check-sid
19083 maybe-check-sid: check-sid
19086 @r=`${PWD_COMMAND}`; export r; \
19087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19090 (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
19094 .PHONY: install-sid maybe-install-sid
19097 maybe-install-sid: install-sid
19099 install-sid: installdirs
19100 @r=`${PWD_COMMAND}`; export r; \
19101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19104 (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
19108 # Other targets (info, dvi, etc.)
19110 .PHONY: maybe-info-sid info-sid
19113 maybe-info-sid: info-sid
19117 @[ -f ./sid/Makefile ] || exit 0; \
19118 r=`${PWD_COMMAND}`; export r; \
19119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19122 for flag in $(EXTRA_HOST_FLAGS) ; do \
19123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19125 echo "Doing info in sid" ; \
19127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19129 "RANLIB=$${RANLIB}" \
19130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19136 .PHONY: maybe-dvi-sid dvi-sid
19139 maybe-dvi-sid: dvi-sid
19143 @[ -f ./sid/Makefile ] || exit 0; \
19144 r=`${PWD_COMMAND}`; export r; \
19145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19148 for flag in $(EXTRA_HOST_FLAGS) ; do \
19149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19151 echo "Doing dvi in sid" ; \
19153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19155 "RANLIB=$${RANLIB}" \
19156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19162 .PHONY: maybe-html-sid html-sid
19165 maybe-html-sid: html-sid
19169 @[ -f ./sid/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 html in sid" ; \
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-TAGS-sid TAGS-sid
19191 maybe-TAGS-sid: TAGS-sid
19195 @[ -f ./sid/Makefile ] || exit 0; \
19196 r=`${PWD_COMMAND}`; export r; \
19197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19200 for flag in $(EXTRA_HOST_FLAGS) ; do \
19201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19203 echo "Doing TAGS in sid" ; \
19205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19207 "RANLIB=$${RANLIB}" \
19208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19214 .PHONY: maybe-install-info-sid install-info-sid
19215 maybe-install-info-sid:
19217 maybe-install-info-sid: install-info-sid
19219 install-info-sid: \
19222 @[ -f ./sid/Makefile ] || exit 0; \
19223 r=`${PWD_COMMAND}`; export r; \
19224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19227 for flag in $(EXTRA_HOST_FLAGS) ; do \
19228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19230 echo "Doing install-info in sid" ; \
19232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19234 "RANLIB=$${RANLIB}" \
19235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19241 .PHONY: maybe-installcheck-sid installcheck-sid
19242 maybe-installcheck-sid:
19244 maybe-installcheck-sid: installcheck-sid
19246 installcheck-sid: \
19248 @[ -f ./sid/Makefile ] || exit 0; \
19249 r=`${PWD_COMMAND}`; export r; \
19250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19253 for flag in $(EXTRA_HOST_FLAGS) ; do \
19254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19256 echo "Doing installcheck in sid" ; \
19258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19260 "RANLIB=$${RANLIB}" \
19261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19267 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
19268 maybe-mostlyclean-sid:
19270 maybe-mostlyclean-sid: mostlyclean-sid
19273 @[ -f ./sid/Makefile ] || exit 0; \
19274 r=`${PWD_COMMAND}`; export r; \
19275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19278 for flag in $(EXTRA_HOST_FLAGS) ; do \
19279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19281 echo "Doing mostlyclean in sid" ; \
19283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19285 "RANLIB=$${RANLIB}" \
19286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19292 .PHONY: maybe-clean-sid clean-sid
19295 maybe-clean-sid: clean-sid
19298 @[ -f ./sid/Makefile ] || exit 0; \
19299 r=`${PWD_COMMAND}`; export r; \
19300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19303 for flag in $(EXTRA_HOST_FLAGS) ; do \
19304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19306 echo "Doing clean in sid" ; \
19308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19310 "RANLIB=$${RANLIB}" \
19311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19317 .PHONY: maybe-distclean-sid distclean-sid
19318 maybe-distclean-sid:
19320 maybe-distclean-sid: distclean-sid
19323 @[ -f ./sid/Makefile ] || exit 0; \
19324 r=`${PWD_COMMAND}`; export r; \
19325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19328 for flag in $(EXTRA_HOST_FLAGS) ; do \
19329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19331 echo "Doing distclean in sid" ; \
19333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19335 "RANLIB=$${RANLIB}" \
19336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19342 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
19343 maybe-maintainer-clean-sid:
19345 maybe-maintainer-clean-sid: maintainer-clean-sid
19347 maintainer-clean-sid:
19348 @[ -f ./sid/Makefile ] || exit 0; \
19349 r=`${PWD_COMMAND}`; export r; \
19350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19353 for flag in $(EXTRA_HOST_FLAGS) ; do \
19354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19356 echo "Doing maintainer-clean in sid" ; \
19358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19360 "RANLIB=$${RANLIB}" \
19361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19362 maintainer-clean) \
19368 .PHONY: configure-sim maybe-configure-sim
19369 maybe-configure-sim:
19371 maybe-configure-sim: configure-sim
19373 @test ! -f sim/Makefile || exit 0; \
19374 [ -d sim ] || mkdir sim; \
19375 r=`${PWD_COMMAND}`; export r; \
19376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19378 echo Configuring in sim; \
19379 cd sim || exit 1; \
19380 case $(srcdir) in \
19382 srcdiroption="--srcdir=."; \
19384 /* | [A-Za-z]:[\\/]*) \
19385 srcdiroption="--srcdir=$(srcdir)/sim"; \
19386 libsrcdir="$$s/sim";; \
19388 srcdiroption="--srcdir=../$(srcdir)/sim"; \
19389 libsrcdir="$$s/sim";; \
19391 $(SHELL) $${libsrcdir}/configure \
19392 $(HOST_CONFIGARGS) $${srcdiroption} \
19396 .PHONY: all-sim maybe-all-sim
19400 maybe-all-sim: all-sim
19401 all-sim: configure-sim
19402 @r=`${PWD_COMMAND}`; export r; \
19403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19406 (cd sim && $(MAKE) $(FLAGS_TO_PASS) \
19410 .PHONY: check-sim maybe-check-sim
19413 maybe-check-sim: check-sim
19416 @r=`${PWD_COMMAND}`; export r; \
19417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19420 (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
19424 .PHONY: install-sim maybe-install-sim
19427 maybe-install-sim: install-sim
19429 install-sim: installdirs
19430 @r=`${PWD_COMMAND}`; export r; \
19431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19434 (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
19438 # Other targets (info, dvi, etc.)
19440 .PHONY: maybe-info-sim info-sim
19443 maybe-info-sim: info-sim
19447 @[ -f ./sim/Makefile ] || exit 0; \
19448 r=`${PWD_COMMAND}`; export r; \
19449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19452 for flag in $(EXTRA_HOST_FLAGS) ; do \
19453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19455 echo "Doing info in sim" ; \
19457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19459 "RANLIB=$${RANLIB}" \
19460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19466 .PHONY: maybe-dvi-sim dvi-sim
19469 maybe-dvi-sim: dvi-sim
19473 @[ -f ./sim/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 dvi in sim" ; \
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-html-sim html-sim
19495 maybe-html-sim: html-sim
19499 @[ -f ./sim/Makefile ] || exit 0; \
19500 r=`${PWD_COMMAND}`; export r; \
19501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19504 for flag in $(EXTRA_HOST_FLAGS) ; do \
19505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19507 echo "Doing html in sim" ; \
19509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19511 "RANLIB=$${RANLIB}" \
19512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19518 .PHONY: maybe-TAGS-sim TAGS-sim
19521 maybe-TAGS-sim: TAGS-sim
19525 @[ -f ./sim/Makefile ] || exit 0; \
19526 r=`${PWD_COMMAND}`; export r; \
19527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19530 for flag in $(EXTRA_HOST_FLAGS) ; do \
19531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19533 echo "Doing TAGS in sim" ; \
19535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19537 "RANLIB=$${RANLIB}" \
19538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19544 .PHONY: maybe-install-info-sim install-info-sim
19545 maybe-install-info-sim:
19547 maybe-install-info-sim: install-info-sim
19549 install-info-sim: \
19552 @[ -f ./sim/Makefile ] || exit 0; \
19553 r=`${PWD_COMMAND}`; export r; \
19554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19557 for flag in $(EXTRA_HOST_FLAGS) ; do \
19558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19560 echo "Doing install-info in sim" ; \
19562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19564 "RANLIB=$${RANLIB}" \
19565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19571 .PHONY: maybe-installcheck-sim installcheck-sim
19572 maybe-installcheck-sim:
19574 maybe-installcheck-sim: installcheck-sim
19576 installcheck-sim: \
19578 @[ -f ./sim/Makefile ] || exit 0; \
19579 r=`${PWD_COMMAND}`; export r; \
19580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19583 for flag in $(EXTRA_HOST_FLAGS) ; do \
19584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19586 echo "Doing installcheck in sim" ; \
19588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19590 "RANLIB=$${RANLIB}" \
19591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19597 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
19598 maybe-mostlyclean-sim:
19600 maybe-mostlyclean-sim: mostlyclean-sim
19603 @[ -f ./sim/Makefile ] || exit 0; \
19604 r=`${PWD_COMMAND}`; export r; \
19605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19608 for flag in $(EXTRA_HOST_FLAGS) ; do \
19609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19611 echo "Doing mostlyclean in sim" ; \
19613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19615 "RANLIB=$${RANLIB}" \
19616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19622 .PHONY: maybe-clean-sim clean-sim
19625 maybe-clean-sim: clean-sim
19628 @[ -f ./sim/Makefile ] || exit 0; \
19629 r=`${PWD_COMMAND}`; export r; \
19630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19633 for flag in $(EXTRA_HOST_FLAGS) ; do \
19634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19636 echo "Doing clean in sim" ; \
19638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19640 "RANLIB=$${RANLIB}" \
19641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19647 .PHONY: maybe-distclean-sim distclean-sim
19648 maybe-distclean-sim:
19650 maybe-distclean-sim: distclean-sim
19653 @[ -f ./sim/Makefile ] || exit 0; \
19654 r=`${PWD_COMMAND}`; export r; \
19655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19658 for flag in $(EXTRA_HOST_FLAGS) ; do \
19659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19661 echo "Doing distclean in sim" ; \
19663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19665 "RANLIB=$${RANLIB}" \
19666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19672 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
19673 maybe-maintainer-clean-sim:
19675 maybe-maintainer-clean-sim: maintainer-clean-sim
19677 maintainer-clean-sim:
19678 @[ -f ./sim/Makefile ] || exit 0; \
19679 r=`${PWD_COMMAND}`; export r; \
19680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19683 for flag in $(EXTRA_HOST_FLAGS) ; do \
19684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19686 echo "Doing maintainer-clean in sim" ; \
19688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19690 "RANLIB=$${RANLIB}" \
19691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19692 maintainer-clean) \
19698 .PHONY: configure-tar maybe-configure-tar
19699 maybe-configure-tar:
19701 maybe-configure-tar: configure-tar
19703 @test ! -f tar/Makefile || exit 0; \
19704 [ -d tar ] || mkdir tar; \
19705 r=`${PWD_COMMAND}`; export r; \
19706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19708 echo Configuring in tar; \
19709 cd tar || exit 1; \
19710 case $(srcdir) in \
19712 srcdiroption="--srcdir=."; \
19714 /* | [A-Za-z]:[\\/]*) \
19715 srcdiroption="--srcdir=$(srcdir)/tar"; \
19716 libsrcdir="$$s/tar";; \
19718 srcdiroption="--srcdir=../$(srcdir)/tar"; \
19719 libsrcdir="$$s/tar";; \
19721 $(SHELL) $${libsrcdir}/configure \
19722 $(HOST_CONFIGARGS) $${srcdiroption} \
19726 .PHONY: all-tar maybe-all-tar
19730 maybe-all-tar: all-tar
19731 all-tar: configure-tar
19732 @r=`${PWD_COMMAND}`; export r; \
19733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19736 (cd tar && $(MAKE) $(FLAGS_TO_PASS) \
19740 .PHONY: check-tar maybe-check-tar
19743 maybe-check-tar: check-tar
19746 @r=`${PWD_COMMAND}`; export r; \
19747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19750 (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
19754 .PHONY: install-tar maybe-install-tar
19757 maybe-install-tar: install-tar
19759 install-tar: installdirs
19760 @r=`${PWD_COMMAND}`; export r; \
19761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19764 (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
19768 # Other targets (info, dvi, etc.)
19770 .PHONY: maybe-info-tar info-tar
19773 maybe-info-tar: info-tar
19777 @[ -f ./tar/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 info in tar" ; \
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-dvi-tar dvi-tar
19799 maybe-dvi-tar: dvi-tar
19803 @[ -f ./tar/Makefile ] || exit 0; \
19804 r=`${PWD_COMMAND}`; export r; \
19805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19808 for flag in $(EXTRA_HOST_FLAGS) ; do \
19809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19811 echo "Doing dvi in tar" ; \
19813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19815 "RANLIB=$${RANLIB}" \
19816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19822 .PHONY: maybe-html-tar html-tar
19825 maybe-html-tar: html-tar
19829 @[ -f ./tar/Makefile ] || exit 0; \
19830 r=`${PWD_COMMAND}`; export r; \
19831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19834 for flag in $(EXTRA_HOST_FLAGS) ; do \
19835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19837 echo "Doing html in tar" ; \
19839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19841 "RANLIB=$${RANLIB}" \
19842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19848 .PHONY: maybe-TAGS-tar TAGS-tar
19851 maybe-TAGS-tar: TAGS-tar
19855 @[ -f ./tar/Makefile ] || exit 0; \
19856 r=`${PWD_COMMAND}`; export r; \
19857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19860 for flag in $(EXTRA_HOST_FLAGS) ; do \
19861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19863 echo "Doing TAGS in tar" ; \
19865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19867 "RANLIB=$${RANLIB}" \
19868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19874 .PHONY: maybe-install-info-tar install-info-tar
19875 maybe-install-info-tar:
19877 maybe-install-info-tar: install-info-tar
19879 install-info-tar: \
19882 @[ -f ./tar/Makefile ] || exit 0; \
19883 r=`${PWD_COMMAND}`; export r; \
19884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19887 for flag in $(EXTRA_HOST_FLAGS) ; do \
19888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19890 echo "Doing install-info in tar" ; \
19892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19894 "RANLIB=$${RANLIB}" \
19895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19901 .PHONY: maybe-installcheck-tar installcheck-tar
19902 maybe-installcheck-tar:
19904 maybe-installcheck-tar: installcheck-tar
19906 installcheck-tar: \
19908 @[ -f ./tar/Makefile ] || exit 0; \
19909 r=`${PWD_COMMAND}`; export r; \
19910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19913 for flag in $(EXTRA_HOST_FLAGS) ; do \
19914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19916 echo "Doing installcheck in tar" ; \
19918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19920 "RANLIB=$${RANLIB}" \
19921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19927 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
19928 maybe-mostlyclean-tar:
19930 maybe-mostlyclean-tar: mostlyclean-tar
19933 @[ -f ./tar/Makefile ] || exit 0; \
19934 r=`${PWD_COMMAND}`; export r; \
19935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19938 for flag in $(EXTRA_HOST_FLAGS) ; do \
19939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19941 echo "Doing mostlyclean in tar" ; \
19943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19945 "RANLIB=$${RANLIB}" \
19946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19952 .PHONY: maybe-clean-tar clean-tar
19955 maybe-clean-tar: clean-tar
19958 @[ -f ./tar/Makefile ] || exit 0; \
19959 r=`${PWD_COMMAND}`; export r; \
19960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19963 for flag in $(EXTRA_HOST_FLAGS) ; do \
19964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19966 echo "Doing clean in tar" ; \
19968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19970 "RANLIB=$${RANLIB}" \
19971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19977 .PHONY: maybe-distclean-tar distclean-tar
19978 maybe-distclean-tar:
19980 maybe-distclean-tar: distclean-tar
19983 @[ -f ./tar/Makefile ] || exit 0; \
19984 r=`${PWD_COMMAND}`; export r; \
19985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19988 for flag in $(EXTRA_HOST_FLAGS) ; do \
19989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19991 echo "Doing distclean in tar" ; \
19993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19995 "RANLIB=$${RANLIB}" \
19996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20002 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
20003 maybe-maintainer-clean-tar:
20005 maybe-maintainer-clean-tar: maintainer-clean-tar
20007 maintainer-clean-tar:
20008 @[ -f ./tar/Makefile ] || exit 0; \
20009 r=`${PWD_COMMAND}`; export r; \
20010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20013 for flag in $(EXTRA_HOST_FLAGS) ; do \
20014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20016 echo "Doing maintainer-clean in tar" ; \
20018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20020 "RANLIB=$${RANLIB}" \
20021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20022 maintainer-clean) \
20028 .PHONY: configure-texinfo maybe-configure-texinfo
20029 maybe-configure-texinfo:
20031 maybe-configure-texinfo: configure-texinfo
20033 @test ! -f texinfo/Makefile || exit 0; \
20034 [ -d texinfo ] || mkdir texinfo; \
20035 r=`${PWD_COMMAND}`; export r; \
20036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20038 echo Configuring in texinfo; \
20039 cd texinfo || exit 1; \
20040 case $(srcdir) in \
20042 srcdiroption="--srcdir=."; \
20044 /* | [A-Za-z]:[\\/]*) \
20045 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
20046 libsrcdir="$$s/texinfo";; \
20048 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
20049 libsrcdir="$$s/texinfo";; \
20051 $(SHELL) $${libsrcdir}/configure \
20052 $(HOST_CONFIGARGS) $${srcdiroption} \
20056 .PHONY: all-texinfo maybe-all-texinfo
20060 maybe-all-texinfo: all-texinfo
20061 all-texinfo: configure-texinfo
20062 @r=`${PWD_COMMAND}`; export r; \
20063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20066 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) \
20070 .PHONY: check-texinfo maybe-check-texinfo
20071 maybe-check-texinfo:
20073 maybe-check-texinfo: check-texinfo
20076 @r=`${PWD_COMMAND}`; export r; \
20077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20080 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
20084 .PHONY: install-texinfo maybe-install-texinfo
20085 maybe-install-texinfo:
20087 maybe-install-texinfo: install-texinfo
20093 # Other targets (info, dvi, etc.)
20095 .PHONY: maybe-info-texinfo info-texinfo
20096 maybe-info-texinfo:
20098 maybe-info-texinfo: info-texinfo
20102 @[ -f ./texinfo/Makefile ] || exit 0; \
20103 r=`${PWD_COMMAND}`; export r; \
20104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20107 for flag in $(EXTRA_HOST_FLAGS) ; do \
20108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20110 echo "Doing info in texinfo" ; \
20112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20114 "RANLIB=$${RANLIB}" \
20115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20121 .PHONY: maybe-dvi-texinfo dvi-texinfo
20124 maybe-dvi-texinfo: dvi-texinfo
20128 @[ -f ./texinfo/Makefile ] || exit 0; \
20129 r=`${PWD_COMMAND}`; export r; \
20130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20133 for flag in $(EXTRA_HOST_FLAGS) ; do \
20134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20136 echo "Doing dvi in texinfo" ; \
20138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20140 "RANLIB=$${RANLIB}" \
20141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20147 .PHONY: maybe-html-texinfo html-texinfo
20148 maybe-html-texinfo:
20150 maybe-html-texinfo: html-texinfo
20154 @[ -f ./texinfo/Makefile ] || exit 0; \
20155 r=`${PWD_COMMAND}`; export r; \
20156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20159 for flag in $(EXTRA_HOST_FLAGS) ; do \
20160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20162 echo "Doing html in texinfo" ; \
20164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20166 "RANLIB=$${RANLIB}" \
20167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20173 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
20174 maybe-TAGS-texinfo:
20176 maybe-TAGS-texinfo: TAGS-texinfo
20180 @[ -f ./texinfo/Makefile ] || exit 0; \
20181 r=`${PWD_COMMAND}`; export r; \
20182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20185 for flag in $(EXTRA_HOST_FLAGS) ; do \
20186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20188 echo "Doing TAGS in texinfo" ; \
20190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20192 "RANLIB=$${RANLIB}" \
20193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20199 .PHONY: maybe-install-info-texinfo install-info-texinfo
20200 maybe-install-info-texinfo:
20202 maybe-install-info-texinfo: install-info-texinfo
20204 install-info-texinfo: \
20205 configure-texinfo \
20207 @[ -f ./texinfo/Makefile ] || exit 0; \
20208 r=`${PWD_COMMAND}`; export r; \
20209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20212 for flag in $(EXTRA_HOST_FLAGS) ; do \
20213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20215 echo "Doing install-info in texinfo" ; \
20217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20219 "RANLIB=$${RANLIB}" \
20220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20226 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
20227 maybe-installcheck-texinfo:
20229 maybe-installcheck-texinfo: installcheck-texinfo
20231 installcheck-texinfo: \
20233 @[ -f ./texinfo/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 installcheck in texinfo" ; \
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-mostlyclean-texinfo mostlyclean-texinfo
20253 maybe-mostlyclean-texinfo:
20255 maybe-mostlyclean-texinfo: mostlyclean-texinfo
20257 mostlyclean-texinfo:
20258 @[ -f ./texinfo/Makefile ] || exit 0; \
20259 r=`${PWD_COMMAND}`; export r; \
20260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20263 for flag in $(EXTRA_HOST_FLAGS) ; do \
20264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20266 echo "Doing mostlyclean in texinfo" ; \
20268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20270 "RANLIB=$${RANLIB}" \
20271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20277 .PHONY: maybe-clean-texinfo clean-texinfo
20278 maybe-clean-texinfo:
20280 maybe-clean-texinfo: clean-texinfo
20283 @[ -f ./texinfo/Makefile ] || exit 0; \
20284 r=`${PWD_COMMAND}`; export r; \
20285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20288 for flag in $(EXTRA_HOST_FLAGS) ; do \
20289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20291 echo "Doing clean in texinfo" ; \
20293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20295 "RANLIB=$${RANLIB}" \
20296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20302 .PHONY: maybe-distclean-texinfo distclean-texinfo
20303 maybe-distclean-texinfo:
20305 maybe-distclean-texinfo: distclean-texinfo
20308 @[ -f ./texinfo/Makefile ] || exit 0; \
20309 r=`${PWD_COMMAND}`; export r; \
20310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20313 for flag in $(EXTRA_HOST_FLAGS) ; do \
20314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20316 echo "Doing distclean in texinfo" ; \
20318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20320 "RANLIB=$${RANLIB}" \
20321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20327 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
20328 maybe-maintainer-clean-texinfo:
20330 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
20332 maintainer-clean-texinfo:
20333 @[ -f ./texinfo/Makefile ] || exit 0; \
20334 r=`${PWD_COMMAND}`; export r; \
20335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20338 for flag in $(EXTRA_HOST_FLAGS) ; do \
20339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20341 echo "Doing maintainer-clean in texinfo" ; \
20343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20345 "RANLIB=$${RANLIB}" \
20346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20347 maintainer-clean) \
20353 .PHONY: configure-textutils maybe-configure-textutils
20354 maybe-configure-textutils:
20356 maybe-configure-textutils: configure-textutils
20357 configure-textutils:
20358 @test ! -f textutils/Makefile || exit 0; \
20359 [ -d textutils ] || mkdir textutils; \
20360 r=`${PWD_COMMAND}`; export r; \
20361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20363 echo Configuring in textutils; \
20364 cd textutils || exit 1; \
20365 case $(srcdir) in \
20367 srcdiroption="--srcdir=."; \
20369 /* | [A-Za-z]:[\\/]*) \
20370 srcdiroption="--srcdir=$(srcdir)/textutils"; \
20371 libsrcdir="$$s/textutils";; \
20373 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
20374 libsrcdir="$$s/textutils";; \
20376 $(SHELL) $${libsrcdir}/configure \
20377 $(HOST_CONFIGARGS) $${srcdiroption} \
20381 .PHONY: all-textutils maybe-all-textutils
20382 maybe-all-textutils:
20384 TARGET-textutils=all
20385 maybe-all-textutils: all-textutils
20386 all-textutils: configure-textutils
20387 @r=`${PWD_COMMAND}`; export r; \
20388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20391 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) \
20392 $(TARGET-textutils))
20395 .PHONY: check-textutils maybe-check-textutils
20396 maybe-check-textutils:
20398 maybe-check-textutils: check-textutils
20401 @r=`${PWD_COMMAND}`; export r; \
20402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20405 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
20409 .PHONY: install-textutils maybe-install-textutils
20410 maybe-install-textutils:
20412 maybe-install-textutils: install-textutils
20414 install-textutils: installdirs
20415 @r=`${PWD_COMMAND}`; export r; \
20416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20419 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
20423 # Other targets (info, dvi, etc.)
20425 .PHONY: maybe-info-textutils info-textutils
20426 maybe-info-textutils:
20428 maybe-info-textutils: info-textutils
20431 configure-textutils
20432 @[ -f ./textutils/Makefile ] || exit 0; \
20433 r=`${PWD_COMMAND}`; export r; \
20434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20437 for flag in $(EXTRA_HOST_FLAGS) ; do \
20438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20440 echo "Doing info in textutils" ; \
20442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20444 "RANLIB=$${RANLIB}" \
20445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20451 .PHONY: maybe-dvi-textutils dvi-textutils
20452 maybe-dvi-textutils:
20454 maybe-dvi-textutils: dvi-textutils
20457 configure-textutils
20458 @[ -f ./textutils/Makefile ] || exit 0; \
20459 r=`${PWD_COMMAND}`; export r; \
20460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20463 for flag in $(EXTRA_HOST_FLAGS) ; do \
20464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20466 echo "Doing dvi in textutils" ; \
20468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20470 "RANLIB=$${RANLIB}" \
20471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20477 .PHONY: maybe-html-textutils html-textutils
20478 maybe-html-textutils:
20480 maybe-html-textutils: html-textutils
20483 configure-textutils
20484 @[ -f ./textutils/Makefile ] || exit 0; \
20485 r=`${PWD_COMMAND}`; export r; \
20486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20489 for flag in $(EXTRA_HOST_FLAGS) ; do \
20490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20492 echo "Doing html in textutils" ; \
20494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20496 "RANLIB=$${RANLIB}" \
20497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20503 .PHONY: maybe-TAGS-textutils TAGS-textutils
20504 maybe-TAGS-textutils:
20506 maybe-TAGS-textutils: TAGS-textutils
20509 configure-textutils
20510 @[ -f ./textutils/Makefile ] || exit 0; \
20511 r=`${PWD_COMMAND}`; export r; \
20512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20515 for flag in $(EXTRA_HOST_FLAGS) ; do \
20516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20518 echo "Doing TAGS in textutils" ; \
20520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20522 "RANLIB=$${RANLIB}" \
20523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20529 .PHONY: maybe-install-info-textutils install-info-textutils
20530 maybe-install-info-textutils:
20532 maybe-install-info-textutils: install-info-textutils
20534 install-info-textutils: \
20535 configure-textutils \
20537 @[ -f ./textutils/Makefile ] || exit 0; \
20538 r=`${PWD_COMMAND}`; export r; \
20539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20542 for flag in $(EXTRA_HOST_FLAGS) ; do \
20543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20545 echo "Doing install-info in textutils" ; \
20547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20549 "RANLIB=$${RANLIB}" \
20550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20556 .PHONY: maybe-installcheck-textutils installcheck-textutils
20557 maybe-installcheck-textutils:
20559 maybe-installcheck-textutils: installcheck-textutils
20561 installcheck-textutils: \
20562 configure-textutils
20563 @[ -f ./textutils/Makefile ] || exit 0; \
20564 r=`${PWD_COMMAND}`; export r; \
20565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20568 for flag in $(EXTRA_HOST_FLAGS) ; do \
20569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20571 echo "Doing installcheck in textutils" ; \
20573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20575 "RANLIB=$${RANLIB}" \
20576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20582 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
20583 maybe-mostlyclean-textutils:
20585 maybe-mostlyclean-textutils: mostlyclean-textutils
20587 mostlyclean-textutils:
20588 @[ -f ./textutils/Makefile ] || exit 0; \
20589 r=`${PWD_COMMAND}`; export r; \
20590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20593 for flag in $(EXTRA_HOST_FLAGS) ; do \
20594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20596 echo "Doing mostlyclean in textutils" ; \
20598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20600 "RANLIB=$${RANLIB}" \
20601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20607 .PHONY: maybe-clean-textutils clean-textutils
20608 maybe-clean-textutils:
20610 maybe-clean-textutils: clean-textutils
20613 @[ -f ./textutils/Makefile ] || exit 0; \
20614 r=`${PWD_COMMAND}`; export r; \
20615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20618 for flag in $(EXTRA_HOST_FLAGS) ; do \
20619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20621 echo "Doing clean in textutils" ; \
20623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20625 "RANLIB=$${RANLIB}" \
20626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20632 .PHONY: maybe-distclean-textutils distclean-textutils
20633 maybe-distclean-textutils:
20635 maybe-distclean-textutils: distclean-textutils
20637 distclean-textutils:
20638 @[ -f ./textutils/Makefile ] || exit 0; \
20639 r=`${PWD_COMMAND}`; export r; \
20640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20643 for flag in $(EXTRA_HOST_FLAGS) ; do \
20644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20646 echo "Doing distclean in textutils" ; \
20648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20650 "RANLIB=$${RANLIB}" \
20651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20657 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
20658 maybe-maintainer-clean-textutils:
20660 maybe-maintainer-clean-textutils: maintainer-clean-textutils
20662 maintainer-clean-textutils:
20663 @[ -f ./textutils/Makefile ] || exit 0; \
20664 r=`${PWD_COMMAND}`; export r; \
20665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20668 for flag in $(EXTRA_HOST_FLAGS) ; do \
20669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20671 echo "Doing maintainer-clean in textutils" ; \
20673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20675 "RANLIB=$${RANLIB}" \
20676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20677 maintainer-clean) \
20683 .PHONY: configure-time maybe-configure-time
20684 maybe-configure-time:
20686 maybe-configure-time: configure-time
20688 @test ! -f time/Makefile || exit 0; \
20689 [ -d time ] || mkdir time; \
20690 r=`${PWD_COMMAND}`; export r; \
20691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20693 echo Configuring in time; \
20694 cd time || exit 1; \
20695 case $(srcdir) in \
20697 srcdiroption="--srcdir=."; \
20699 /* | [A-Za-z]:[\\/]*) \
20700 srcdiroption="--srcdir=$(srcdir)/time"; \
20701 libsrcdir="$$s/time";; \
20703 srcdiroption="--srcdir=../$(srcdir)/time"; \
20704 libsrcdir="$$s/time";; \
20706 $(SHELL) $${libsrcdir}/configure \
20707 $(HOST_CONFIGARGS) $${srcdiroption} \
20711 .PHONY: all-time maybe-all-time
20715 maybe-all-time: all-time
20716 all-time: configure-time
20717 @r=`${PWD_COMMAND}`; export r; \
20718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20721 (cd time && $(MAKE) $(FLAGS_TO_PASS) \
20725 .PHONY: check-time maybe-check-time
20728 maybe-check-time: check-time
20731 @r=`${PWD_COMMAND}`; export r; \
20732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20735 (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
20739 .PHONY: install-time maybe-install-time
20740 maybe-install-time:
20742 maybe-install-time: install-time
20744 install-time: installdirs
20745 @r=`${PWD_COMMAND}`; export r; \
20746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20749 (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
20753 # Other targets (info, dvi, etc.)
20755 .PHONY: maybe-info-time info-time
20758 maybe-info-time: info-time
20762 @[ -f ./time/Makefile ] || exit 0; \
20763 r=`${PWD_COMMAND}`; export r; \
20764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20767 for flag in $(EXTRA_HOST_FLAGS) ; do \
20768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20770 echo "Doing info in time" ; \
20772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20774 "RANLIB=$${RANLIB}" \
20775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20781 .PHONY: maybe-dvi-time dvi-time
20784 maybe-dvi-time: dvi-time
20788 @[ -f ./time/Makefile ] || exit 0; \
20789 r=`${PWD_COMMAND}`; export r; \
20790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20793 for flag in $(EXTRA_HOST_FLAGS) ; do \
20794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20796 echo "Doing dvi in time" ; \
20798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20800 "RANLIB=$${RANLIB}" \
20801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20807 .PHONY: maybe-html-time html-time
20810 maybe-html-time: html-time
20814 @[ -f ./time/Makefile ] || exit 0; \
20815 r=`${PWD_COMMAND}`; export r; \
20816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20819 for flag in $(EXTRA_HOST_FLAGS) ; do \
20820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20822 echo "Doing html in time" ; \
20824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20826 "RANLIB=$${RANLIB}" \
20827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20833 .PHONY: maybe-TAGS-time TAGS-time
20836 maybe-TAGS-time: TAGS-time
20840 @[ -f ./time/Makefile ] || exit 0; \
20841 r=`${PWD_COMMAND}`; export r; \
20842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20845 for flag in $(EXTRA_HOST_FLAGS) ; do \
20846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20848 echo "Doing TAGS in time" ; \
20850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20852 "RANLIB=$${RANLIB}" \
20853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20859 .PHONY: maybe-install-info-time install-info-time
20860 maybe-install-info-time:
20862 maybe-install-info-time: install-info-time
20864 install-info-time: \
20867 @[ -f ./time/Makefile ] || exit 0; \
20868 r=`${PWD_COMMAND}`; export r; \
20869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20872 for flag in $(EXTRA_HOST_FLAGS) ; do \
20873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20875 echo "Doing install-info in time" ; \
20877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20879 "RANLIB=$${RANLIB}" \
20880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20886 .PHONY: maybe-installcheck-time installcheck-time
20887 maybe-installcheck-time:
20889 maybe-installcheck-time: installcheck-time
20891 installcheck-time: \
20893 @[ -f ./time/Makefile ] || exit 0; \
20894 r=`${PWD_COMMAND}`; export r; \
20895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20898 for flag in $(EXTRA_HOST_FLAGS) ; do \
20899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20901 echo "Doing installcheck in time" ; \
20903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20905 "RANLIB=$${RANLIB}" \
20906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20912 .PHONY: maybe-mostlyclean-time mostlyclean-time
20913 maybe-mostlyclean-time:
20915 maybe-mostlyclean-time: mostlyclean-time
20918 @[ -f ./time/Makefile ] || exit 0; \
20919 r=`${PWD_COMMAND}`; export r; \
20920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20923 for flag in $(EXTRA_HOST_FLAGS) ; do \
20924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20926 echo "Doing mostlyclean in time" ; \
20928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20930 "RANLIB=$${RANLIB}" \
20931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20937 .PHONY: maybe-clean-time clean-time
20940 maybe-clean-time: clean-time
20943 @[ -f ./time/Makefile ] || exit 0; \
20944 r=`${PWD_COMMAND}`; export r; \
20945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20948 for flag in $(EXTRA_HOST_FLAGS) ; do \
20949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20951 echo "Doing clean in time" ; \
20953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20955 "RANLIB=$${RANLIB}" \
20956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20962 .PHONY: maybe-distclean-time distclean-time
20963 maybe-distclean-time:
20965 maybe-distclean-time: distclean-time
20968 @[ -f ./time/Makefile ] || exit 0; \
20969 r=`${PWD_COMMAND}`; export r; \
20970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20973 for flag in $(EXTRA_HOST_FLAGS) ; do \
20974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20976 echo "Doing distclean in time" ; \
20978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20980 "RANLIB=$${RANLIB}" \
20981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20987 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
20988 maybe-maintainer-clean-time:
20990 maybe-maintainer-clean-time: maintainer-clean-time
20992 maintainer-clean-time:
20993 @[ -f ./time/Makefile ] || exit 0; \
20994 r=`${PWD_COMMAND}`; export r; \
20995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20998 for flag in $(EXTRA_HOST_FLAGS) ; do \
20999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21001 echo "Doing maintainer-clean in time" ; \
21003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21005 "RANLIB=$${RANLIB}" \
21006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21007 maintainer-clean) \
21013 .PHONY: configure-uudecode maybe-configure-uudecode
21014 maybe-configure-uudecode:
21016 maybe-configure-uudecode: configure-uudecode
21017 configure-uudecode:
21018 @test ! -f uudecode/Makefile || exit 0; \
21019 [ -d uudecode ] || mkdir uudecode; \
21020 r=`${PWD_COMMAND}`; export r; \
21021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21023 echo Configuring in uudecode; \
21024 cd uudecode || exit 1; \
21025 case $(srcdir) in \
21027 srcdiroption="--srcdir=."; \
21029 /* | [A-Za-z]:[\\/]*) \
21030 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
21031 libsrcdir="$$s/uudecode";; \
21033 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
21034 libsrcdir="$$s/uudecode";; \
21036 $(SHELL) $${libsrcdir}/configure \
21037 $(HOST_CONFIGARGS) $${srcdiroption} \
21041 .PHONY: all-uudecode maybe-all-uudecode
21042 maybe-all-uudecode:
21044 TARGET-uudecode=all
21045 maybe-all-uudecode: all-uudecode
21046 all-uudecode: configure-uudecode
21047 @r=`${PWD_COMMAND}`; export r; \
21048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21051 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) \
21052 $(TARGET-uudecode))
21055 .PHONY: check-uudecode maybe-check-uudecode
21056 maybe-check-uudecode:
21058 maybe-check-uudecode: check-uudecode
21061 @r=`${PWD_COMMAND}`; export r; \
21062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21065 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
21069 .PHONY: install-uudecode maybe-install-uudecode
21070 maybe-install-uudecode:
21072 maybe-install-uudecode: install-uudecode
21074 install-uudecode: installdirs
21075 @r=`${PWD_COMMAND}`; export r; \
21076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21079 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
21083 # Other targets (info, dvi, etc.)
21085 .PHONY: maybe-info-uudecode info-uudecode
21086 maybe-info-uudecode:
21088 maybe-info-uudecode: info-uudecode
21092 @[ -f ./uudecode/Makefile ] || exit 0; \
21093 r=`${PWD_COMMAND}`; export r; \
21094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21097 for flag in $(EXTRA_HOST_FLAGS) ; do \
21098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21100 echo "Doing info in uudecode" ; \
21102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21104 "RANLIB=$${RANLIB}" \
21105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21111 .PHONY: maybe-dvi-uudecode dvi-uudecode
21112 maybe-dvi-uudecode:
21114 maybe-dvi-uudecode: dvi-uudecode
21118 @[ -f ./uudecode/Makefile ] || exit 0; \
21119 r=`${PWD_COMMAND}`; export r; \
21120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21123 for flag in $(EXTRA_HOST_FLAGS) ; do \
21124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21126 echo "Doing dvi in uudecode" ; \
21128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21130 "RANLIB=$${RANLIB}" \
21131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21137 .PHONY: maybe-html-uudecode html-uudecode
21138 maybe-html-uudecode:
21140 maybe-html-uudecode: html-uudecode
21144 @[ -f ./uudecode/Makefile ] || exit 0; \
21145 r=`${PWD_COMMAND}`; export r; \
21146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21149 for flag in $(EXTRA_HOST_FLAGS) ; do \
21150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21152 echo "Doing html in uudecode" ; \
21154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21156 "RANLIB=$${RANLIB}" \
21157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21163 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
21164 maybe-TAGS-uudecode:
21166 maybe-TAGS-uudecode: TAGS-uudecode
21170 @[ -f ./uudecode/Makefile ] || exit 0; \
21171 r=`${PWD_COMMAND}`; export r; \
21172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21175 for flag in $(EXTRA_HOST_FLAGS) ; do \
21176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21178 echo "Doing TAGS in uudecode" ; \
21180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21182 "RANLIB=$${RANLIB}" \
21183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21189 .PHONY: maybe-install-info-uudecode install-info-uudecode
21190 maybe-install-info-uudecode:
21192 maybe-install-info-uudecode: install-info-uudecode
21194 install-info-uudecode: \
21195 configure-uudecode \
21197 @[ -f ./uudecode/Makefile ] || exit 0; \
21198 r=`${PWD_COMMAND}`; export r; \
21199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21202 for flag in $(EXTRA_HOST_FLAGS) ; do \
21203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21205 echo "Doing install-info in uudecode" ; \
21207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21209 "RANLIB=$${RANLIB}" \
21210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21216 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
21217 maybe-installcheck-uudecode:
21219 maybe-installcheck-uudecode: installcheck-uudecode
21221 installcheck-uudecode: \
21223 @[ -f ./uudecode/Makefile ] || exit 0; \
21224 r=`${PWD_COMMAND}`; export r; \
21225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21228 for flag in $(EXTRA_HOST_FLAGS) ; do \
21229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21231 echo "Doing installcheck in uudecode" ; \
21233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21235 "RANLIB=$${RANLIB}" \
21236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21242 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
21243 maybe-mostlyclean-uudecode:
21245 maybe-mostlyclean-uudecode: mostlyclean-uudecode
21247 mostlyclean-uudecode:
21248 @[ -f ./uudecode/Makefile ] || exit 0; \
21249 r=`${PWD_COMMAND}`; export r; \
21250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21253 for flag in $(EXTRA_HOST_FLAGS) ; do \
21254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21256 echo "Doing mostlyclean in uudecode" ; \
21258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21260 "RANLIB=$${RANLIB}" \
21261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21267 .PHONY: maybe-clean-uudecode clean-uudecode
21268 maybe-clean-uudecode:
21270 maybe-clean-uudecode: clean-uudecode
21273 @[ -f ./uudecode/Makefile ] || exit 0; \
21274 r=`${PWD_COMMAND}`; export r; \
21275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21278 for flag in $(EXTRA_HOST_FLAGS) ; do \
21279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21281 echo "Doing clean in uudecode" ; \
21283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21285 "RANLIB=$${RANLIB}" \
21286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21292 .PHONY: maybe-distclean-uudecode distclean-uudecode
21293 maybe-distclean-uudecode:
21295 maybe-distclean-uudecode: distclean-uudecode
21297 distclean-uudecode:
21298 @[ -f ./uudecode/Makefile ] || exit 0; \
21299 r=`${PWD_COMMAND}`; export r; \
21300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21303 for flag in $(EXTRA_HOST_FLAGS) ; do \
21304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21306 echo "Doing distclean in uudecode" ; \
21308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21310 "RANLIB=$${RANLIB}" \
21311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21317 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
21318 maybe-maintainer-clean-uudecode:
21320 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
21322 maintainer-clean-uudecode:
21323 @[ -f ./uudecode/Makefile ] || exit 0; \
21324 r=`${PWD_COMMAND}`; export r; \
21325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21328 for flag in $(EXTRA_HOST_FLAGS) ; do \
21329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21331 echo "Doing maintainer-clean in uudecode" ; \
21333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21335 "RANLIB=$${RANLIB}" \
21336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21337 maintainer-clean) \
21343 .PHONY: configure-wdiff maybe-configure-wdiff
21344 maybe-configure-wdiff:
21346 maybe-configure-wdiff: configure-wdiff
21348 @test ! -f wdiff/Makefile || exit 0; \
21349 [ -d wdiff ] || mkdir wdiff; \
21350 r=`${PWD_COMMAND}`; export r; \
21351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21353 echo Configuring in wdiff; \
21354 cd wdiff || exit 1; \
21355 case $(srcdir) in \
21357 srcdiroption="--srcdir=."; \
21359 /* | [A-Za-z]:[\\/]*) \
21360 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
21361 libsrcdir="$$s/wdiff";; \
21363 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
21364 libsrcdir="$$s/wdiff";; \
21366 $(SHELL) $${libsrcdir}/configure \
21367 $(HOST_CONFIGARGS) $${srcdiroption} \
21371 .PHONY: all-wdiff maybe-all-wdiff
21375 maybe-all-wdiff: all-wdiff
21376 all-wdiff: configure-wdiff
21377 @r=`${PWD_COMMAND}`; export r; \
21378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21381 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) \
21385 .PHONY: check-wdiff maybe-check-wdiff
21388 maybe-check-wdiff: check-wdiff
21391 @r=`${PWD_COMMAND}`; export r; \
21392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21395 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
21399 .PHONY: install-wdiff maybe-install-wdiff
21400 maybe-install-wdiff:
21402 maybe-install-wdiff: install-wdiff
21404 install-wdiff: installdirs
21405 @r=`${PWD_COMMAND}`; export r; \
21406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21409 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
21413 # Other targets (info, dvi, etc.)
21415 .PHONY: maybe-info-wdiff info-wdiff
21418 maybe-info-wdiff: info-wdiff
21422 @[ -f ./wdiff/Makefile ] || exit 0; \
21423 r=`${PWD_COMMAND}`; export r; \
21424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21427 for flag in $(EXTRA_HOST_FLAGS) ; do \
21428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21430 echo "Doing info in wdiff" ; \
21432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21434 "RANLIB=$${RANLIB}" \
21435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21441 .PHONY: maybe-dvi-wdiff dvi-wdiff
21444 maybe-dvi-wdiff: dvi-wdiff
21448 @[ -f ./wdiff/Makefile ] || exit 0; \
21449 r=`${PWD_COMMAND}`; export r; \
21450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21453 for flag in $(EXTRA_HOST_FLAGS) ; do \
21454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21456 echo "Doing dvi in wdiff" ; \
21458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21460 "RANLIB=$${RANLIB}" \
21461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21467 .PHONY: maybe-html-wdiff html-wdiff
21470 maybe-html-wdiff: html-wdiff
21474 @[ -f ./wdiff/Makefile ] || exit 0; \
21475 r=`${PWD_COMMAND}`; export r; \
21476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21479 for flag in $(EXTRA_HOST_FLAGS) ; do \
21480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21482 echo "Doing html in wdiff" ; \
21484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21486 "RANLIB=$${RANLIB}" \
21487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21493 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
21496 maybe-TAGS-wdiff: TAGS-wdiff
21500 @[ -f ./wdiff/Makefile ] || exit 0; \
21501 r=`${PWD_COMMAND}`; export r; \
21502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21505 for flag in $(EXTRA_HOST_FLAGS) ; do \
21506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21508 echo "Doing TAGS in wdiff" ; \
21510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21512 "RANLIB=$${RANLIB}" \
21513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21519 .PHONY: maybe-install-info-wdiff install-info-wdiff
21520 maybe-install-info-wdiff:
21522 maybe-install-info-wdiff: install-info-wdiff
21524 install-info-wdiff: \
21527 @[ -f ./wdiff/Makefile ] || exit 0; \
21528 r=`${PWD_COMMAND}`; export r; \
21529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21532 for flag in $(EXTRA_HOST_FLAGS) ; do \
21533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21535 echo "Doing install-info in wdiff" ; \
21537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21539 "RANLIB=$${RANLIB}" \
21540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21546 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
21547 maybe-installcheck-wdiff:
21549 maybe-installcheck-wdiff: installcheck-wdiff
21551 installcheck-wdiff: \
21553 @[ -f ./wdiff/Makefile ] || exit 0; \
21554 r=`${PWD_COMMAND}`; export r; \
21555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21558 for flag in $(EXTRA_HOST_FLAGS) ; do \
21559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21561 echo "Doing installcheck in wdiff" ; \
21563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21565 "RANLIB=$${RANLIB}" \
21566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21572 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
21573 maybe-mostlyclean-wdiff:
21575 maybe-mostlyclean-wdiff: mostlyclean-wdiff
21578 @[ -f ./wdiff/Makefile ] || exit 0; \
21579 r=`${PWD_COMMAND}`; export r; \
21580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21583 for flag in $(EXTRA_HOST_FLAGS) ; do \
21584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21586 echo "Doing mostlyclean in wdiff" ; \
21588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21590 "RANLIB=$${RANLIB}" \
21591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21597 .PHONY: maybe-clean-wdiff clean-wdiff
21600 maybe-clean-wdiff: clean-wdiff
21603 @[ -f ./wdiff/Makefile ] || exit 0; \
21604 r=`${PWD_COMMAND}`; export r; \
21605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21608 for flag in $(EXTRA_HOST_FLAGS) ; do \
21609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21611 echo "Doing clean in wdiff" ; \
21613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21615 "RANLIB=$${RANLIB}" \
21616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21622 .PHONY: maybe-distclean-wdiff distclean-wdiff
21623 maybe-distclean-wdiff:
21625 maybe-distclean-wdiff: distclean-wdiff
21628 @[ -f ./wdiff/Makefile ] || exit 0; \
21629 r=`${PWD_COMMAND}`; export r; \
21630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21633 for flag in $(EXTRA_HOST_FLAGS) ; do \
21634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21636 echo "Doing distclean in wdiff" ; \
21638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21640 "RANLIB=$${RANLIB}" \
21641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21647 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
21648 maybe-maintainer-clean-wdiff:
21650 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
21652 maintainer-clean-wdiff:
21653 @[ -f ./wdiff/Makefile ] || exit 0; \
21654 r=`${PWD_COMMAND}`; export r; \
21655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21658 for flag in $(EXTRA_HOST_FLAGS) ; do \
21659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21661 echo "Doing maintainer-clean in wdiff" ; \
21663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21665 "RANLIB=$${RANLIB}" \
21666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21667 maintainer-clean) \
21673 .PHONY: configure-zip maybe-configure-zip
21674 maybe-configure-zip:
21676 maybe-configure-zip: configure-zip
21678 @test ! -f zip/Makefile || exit 0; \
21679 [ -d zip ] || mkdir zip; \
21680 r=`${PWD_COMMAND}`; export r; \
21681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21683 echo Configuring in zip; \
21684 cd zip || exit 1; \
21685 case $(srcdir) in \
21687 srcdiroption="--srcdir=."; \
21689 /* | [A-Za-z]:[\\/]*) \
21690 srcdiroption="--srcdir=$(srcdir)/zip"; \
21691 libsrcdir="$$s/zip";; \
21693 srcdiroption="--srcdir=../$(srcdir)/zip"; \
21694 libsrcdir="$$s/zip";; \
21696 $(SHELL) $${libsrcdir}/configure \
21697 $(HOST_CONFIGARGS) $${srcdiroption} \
21701 .PHONY: all-zip maybe-all-zip
21705 maybe-all-zip: all-zip
21706 all-zip: configure-zip
21707 @r=`${PWD_COMMAND}`; export r; \
21708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21711 (cd zip && $(MAKE) $(FLAGS_TO_PASS) \
21715 .PHONY: check-zip maybe-check-zip
21718 maybe-check-zip: check-zip
21720 # This module is only tested in a native toolchain.
21722 @if [ '$(host)' = '$(target)' ] ; then \
21723 r=`${PWD_COMMAND}`; export r; \
21724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21727 (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \
21732 .PHONY: install-zip maybe-install-zip
21735 maybe-install-zip: install-zip
21737 install-zip: installdirs
21738 @r=`${PWD_COMMAND}`; export r; \
21739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21742 (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
21746 # Other targets (info, dvi, etc.)
21748 .PHONY: maybe-info-zip info-zip
21751 maybe-info-zip: info-zip
21755 @[ -f ./zip/Makefile ] || exit 0; \
21756 r=`${PWD_COMMAND}`; export r; \
21757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21760 for flag in $(EXTRA_HOST_FLAGS) ; do \
21761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21763 echo "Doing info in zip" ; \
21765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21767 "RANLIB=$${RANLIB}" \
21768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21774 .PHONY: maybe-dvi-zip dvi-zip
21777 maybe-dvi-zip: dvi-zip
21781 @[ -f ./zip/Makefile ] || exit 0; \
21782 r=`${PWD_COMMAND}`; export r; \
21783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21786 for flag in $(EXTRA_HOST_FLAGS) ; do \
21787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21789 echo "Doing dvi in zip" ; \
21791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21793 "RANLIB=$${RANLIB}" \
21794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21800 .PHONY: maybe-html-zip html-zip
21803 maybe-html-zip: html-zip
21807 @[ -f ./zip/Makefile ] || exit 0; \
21808 r=`${PWD_COMMAND}`; export r; \
21809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21812 for flag in $(EXTRA_HOST_FLAGS) ; do \
21813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21815 echo "Doing html in zip" ; \
21817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21819 "RANLIB=$${RANLIB}" \
21820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21826 .PHONY: maybe-TAGS-zip TAGS-zip
21829 maybe-TAGS-zip: TAGS-zip
21833 @[ -f ./zip/Makefile ] || exit 0; \
21834 r=`${PWD_COMMAND}`; export r; \
21835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21838 for flag in $(EXTRA_HOST_FLAGS) ; do \
21839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21841 echo "Doing TAGS in zip" ; \
21843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21845 "RANLIB=$${RANLIB}" \
21846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21852 .PHONY: maybe-install-info-zip install-info-zip
21853 maybe-install-info-zip:
21855 maybe-install-info-zip: install-info-zip
21857 install-info-zip: \
21860 @[ -f ./zip/Makefile ] || exit 0; \
21861 r=`${PWD_COMMAND}`; export r; \
21862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21865 for flag in $(EXTRA_HOST_FLAGS) ; do \
21866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21868 echo "Doing install-info in zip" ; \
21870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21872 "RANLIB=$${RANLIB}" \
21873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21879 .PHONY: maybe-installcheck-zip installcheck-zip
21880 maybe-installcheck-zip:
21882 maybe-installcheck-zip: installcheck-zip
21884 installcheck-zip: \
21886 @[ -f ./zip/Makefile ] || exit 0; \
21887 r=`${PWD_COMMAND}`; export r; \
21888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21891 for flag in $(EXTRA_HOST_FLAGS) ; do \
21892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21894 echo "Doing installcheck in zip" ; \
21896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21898 "RANLIB=$${RANLIB}" \
21899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21905 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
21906 maybe-mostlyclean-zip:
21908 maybe-mostlyclean-zip: mostlyclean-zip
21911 @[ -f ./zip/Makefile ] || exit 0; \
21912 r=`${PWD_COMMAND}`; export r; \
21913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21916 for flag in $(EXTRA_HOST_FLAGS) ; do \
21917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21919 echo "Doing mostlyclean in zip" ; \
21921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21923 "RANLIB=$${RANLIB}" \
21924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21930 .PHONY: maybe-clean-zip clean-zip
21933 maybe-clean-zip: clean-zip
21936 @[ -f ./zip/Makefile ] || exit 0; \
21937 r=`${PWD_COMMAND}`; export r; \
21938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21941 for flag in $(EXTRA_HOST_FLAGS) ; do \
21942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21944 echo "Doing clean in zip" ; \
21946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21948 "RANLIB=$${RANLIB}" \
21949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21955 .PHONY: maybe-distclean-zip distclean-zip
21956 maybe-distclean-zip:
21958 maybe-distclean-zip: distclean-zip
21961 @[ -f ./zip/Makefile ] || exit 0; \
21962 r=`${PWD_COMMAND}`; export r; \
21963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21966 for flag in $(EXTRA_HOST_FLAGS) ; do \
21967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21969 echo "Doing distclean in zip" ; \
21971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21973 "RANLIB=$${RANLIB}" \
21974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21980 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
21981 maybe-maintainer-clean-zip:
21983 maybe-maintainer-clean-zip: maintainer-clean-zip
21985 maintainer-clean-zip:
21986 @[ -f ./zip/Makefile ] || exit 0; \
21987 r=`${PWD_COMMAND}`; export r; \
21988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21991 for flag in $(EXTRA_HOST_FLAGS) ; do \
21992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21994 echo "Doing maintainer-clean in zip" ; \
21996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21998 "RANLIB=$${RANLIB}" \
21999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22000 maintainer-clean) \
22006 .PHONY: configure-zlib maybe-configure-zlib
22007 maybe-configure-zlib:
22009 maybe-configure-zlib: configure-zlib
22011 @test -f stage_last && exit 0; \
22012 test ! -f zlib/Makefile || exit 0; \
22013 [ -d zlib ] || mkdir zlib; \
22014 r=`${PWD_COMMAND}`; export r; \
22015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22017 echo Configuring in zlib; \
22018 cd zlib || exit 1; \
22019 case $(srcdir) in \
22021 srcdiroption="--srcdir=."; \
22023 /* | [A-Za-z]:[\\/]*) \
22024 srcdiroption="--srcdir=$(srcdir)/zlib"; \
22025 libsrcdir="$$s/zlib";; \
22027 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
22028 libsrcdir="$$s/zlib";; \
22030 $(SHELL) $${libsrcdir}/configure \
22031 $(HOST_CONFIGARGS) $${srcdiroption} \
22035 .PHONY: all-zlib maybe-all-zlib
22039 maybe-all-zlib: all-zlib
22040 all-zlib: configure-zlib
22041 @test -f stage_last && exit 0; \
22042 r=`${PWD_COMMAND}`; export r; \
22043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22046 (cd zlib && $(MAKE) $(FLAGS_TO_PASS) \
22050 .PHONY: check-zlib maybe-check-zlib
22053 maybe-check-zlib: check-zlib
22059 .PHONY: install-zlib maybe-install-zlib
22060 maybe-install-zlib:
22062 maybe-install-zlib: install-zlib
22068 # Other targets (info, dvi, etc.)
22070 .PHONY: maybe-info-zlib info-zlib
22073 maybe-info-zlib: info-zlib
22077 @[ -f ./zlib/Makefile ] || exit 0; \
22078 r=`${PWD_COMMAND}`; export r; \
22079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22082 for flag in $(EXTRA_HOST_FLAGS) ; do \
22083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22085 echo "Doing info in zlib" ; \
22087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22089 "RANLIB=$${RANLIB}" \
22090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22096 .PHONY: maybe-dvi-zlib dvi-zlib
22099 maybe-dvi-zlib: dvi-zlib
22103 @[ -f ./zlib/Makefile ] || exit 0; \
22104 r=`${PWD_COMMAND}`; export r; \
22105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22108 for flag in $(EXTRA_HOST_FLAGS) ; do \
22109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22111 echo "Doing dvi in zlib" ; \
22113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22115 "RANLIB=$${RANLIB}" \
22116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22122 .PHONY: maybe-html-zlib html-zlib
22125 maybe-html-zlib: html-zlib
22129 @[ -f ./zlib/Makefile ] || exit 0; \
22130 r=`${PWD_COMMAND}`; export r; \
22131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22134 for flag in $(EXTRA_HOST_FLAGS) ; do \
22135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22137 echo "Doing html in zlib" ; \
22139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22141 "RANLIB=$${RANLIB}" \
22142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22148 .PHONY: maybe-TAGS-zlib TAGS-zlib
22151 maybe-TAGS-zlib: TAGS-zlib
22155 @[ -f ./zlib/Makefile ] || exit 0; \
22156 r=`${PWD_COMMAND}`; export r; \
22157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22160 for flag in $(EXTRA_HOST_FLAGS) ; do \
22161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22163 echo "Doing TAGS in zlib" ; \
22165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22167 "RANLIB=$${RANLIB}" \
22168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22174 .PHONY: maybe-install-info-zlib install-info-zlib
22175 maybe-install-info-zlib:
22177 maybe-install-info-zlib: install-info-zlib
22179 install-info-zlib: \
22182 @[ -f ./zlib/Makefile ] || exit 0; \
22183 r=`${PWD_COMMAND}`; export r; \
22184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22187 for flag in $(EXTRA_HOST_FLAGS) ; do \
22188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22190 echo "Doing install-info in zlib" ; \
22192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22194 "RANLIB=$${RANLIB}" \
22195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22201 .PHONY: maybe-installcheck-zlib installcheck-zlib
22202 maybe-installcheck-zlib:
22204 maybe-installcheck-zlib: installcheck-zlib
22206 installcheck-zlib: \
22208 @[ -f ./zlib/Makefile ] || exit 0; \
22209 r=`${PWD_COMMAND}`; export r; \
22210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22213 for flag in $(EXTRA_HOST_FLAGS) ; do \
22214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22216 echo "Doing installcheck in zlib" ; \
22218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22220 "RANLIB=$${RANLIB}" \
22221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22227 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
22228 maybe-mostlyclean-zlib:
22230 maybe-mostlyclean-zlib: mostlyclean-zlib
22233 @[ -f ./zlib/Makefile ] || exit 0; \
22234 r=`${PWD_COMMAND}`; export r; \
22235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22238 for flag in $(EXTRA_HOST_FLAGS) ; do \
22239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22241 echo "Doing mostlyclean in zlib" ; \
22243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22245 "RANLIB=$${RANLIB}" \
22246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22252 .PHONY: maybe-clean-zlib clean-zlib
22255 maybe-clean-zlib: clean-zlib
22258 @[ -f ./zlib/Makefile ] || exit 0; \
22259 r=`${PWD_COMMAND}`; export r; \
22260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22263 for flag in $(EXTRA_HOST_FLAGS) ; do \
22264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22266 echo "Doing clean in zlib" ; \
22268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22270 "RANLIB=$${RANLIB}" \
22271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22277 .PHONY: maybe-distclean-zlib distclean-zlib
22278 maybe-distclean-zlib:
22280 maybe-distclean-zlib: distclean-zlib
22283 @[ -f ./zlib/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 distclean in zlib" ; \
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-maintainer-clean-zlib maintainer-clean-zlib
22303 maybe-maintainer-clean-zlib:
22305 maybe-maintainer-clean-zlib: maintainer-clean-zlib
22307 maintainer-clean-zlib:
22308 @[ -f ./zlib/Makefile ] || exit 0; \
22309 r=`${PWD_COMMAND}`; export r; \
22310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22313 for flag in $(EXTRA_HOST_FLAGS) ; do \
22314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22316 echo "Doing maintainer-clean in zlib" ; \
22318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22320 "RANLIB=$${RANLIB}" \
22321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22322 maintainer-clean) \
22328 .PHONY: configure-gdb maybe-configure-gdb
22329 maybe-configure-gdb:
22331 maybe-configure-gdb: configure-gdb
22333 @test ! -f gdb/Makefile || exit 0; \
22334 [ -d gdb ] || mkdir gdb; \
22335 r=`${PWD_COMMAND}`; export r; \
22336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22338 echo Configuring in gdb; \
22339 cd gdb || exit 1; \
22340 case $(srcdir) in \
22342 srcdiroption="--srcdir=."; \
22344 /* | [A-Za-z]:[\\/]*) \
22345 srcdiroption="--srcdir=$(srcdir)/gdb"; \
22346 libsrcdir="$$s/gdb";; \
22348 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
22349 libsrcdir="$$s/gdb";; \
22351 $(SHELL) $${libsrcdir}/configure \
22352 $(HOST_CONFIGARGS) $${srcdiroption} \
22356 .PHONY: all-gdb maybe-all-gdb
22360 maybe-all-gdb: all-gdb
22361 all-gdb: configure-gdb
22362 @r=`${PWD_COMMAND}`; export r; \
22363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22366 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
22370 .PHONY: check-gdb maybe-check-gdb
22373 maybe-check-gdb: check-gdb
22376 @r=`${PWD_COMMAND}`; export r; \
22377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22380 (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
22384 .PHONY: install-gdb maybe-install-gdb
22387 maybe-install-gdb: install-gdb
22389 install-gdb: installdirs
22390 @r=`${PWD_COMMAND}`; export r; \
22391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22394 (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
22398 # Other targets (info, dvi, etc.)
22400 .PHONY: maybe-info-gdb info-gdb
22403 maybe-info-gdb: info-gdb
22407 @[ -f ./gdb/Makefile ] || exit 0; \
22408 r=`${PWD_COMMAND}`; export r; \
22409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22412 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22415 echo "Doing info in gdb" ; \
22417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22419 "RANLIB=$${RANLIB}" \
22420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22426 .PHONY: maybe-dvi-gdb dvi-gdb
22429 maybe-dvi-gdb: dvi-gdb
22433 @[ -f ./gdb/Makefile ] || exit 0; \
22434 r=`${PWD_COMMAND}`; export r; \
22435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22438 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22441 echo "Doing dvi in gdb" ; \
22443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22445 "RANLIB=$${RANLIB}" \
22446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22452 .PHONY: maybe-html-gdb html-gdb
22455 maybe-html-gdb: html-gdb
22459 @[ -f ./gdb/Makefile ] || exit 0; \
22460 r=`${PWD_COMMAND}`; export r; \
22461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22464 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22467 echo "Doing html in gdb" ; \
22469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22471 "RANLIB=$${RANLIB}" \
22472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22478 .PHONY: maybe-TAGS-gdb TAGS-gdb
22481 maybe-TAGS-gdb: TAGS-gdb
22485 @[ -f ./gdb/Makefile ] || exit 0; \
22486 r=`${PWD_COMMAND}`; export r; \
22487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22490 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22493 echo "Doing TAGS in gdb" ; \
22495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22497 "RANLIB=$${RANLIB}" \
22498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22504 .PHONY: maybe-install-info-gdb install-info-gdb
22505 maybe-install-info-gdb:
22507 maybe-install-info-gdb: install-info-gdb
22509 install-info-gdb: \
22512 @[ -f ./gdb/Makefile ] || exit 0; \
22513 r=`${PWD_COMMAND}`; export r; \
22514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22517 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22520 echo "Doing install-info in gdb" ; \
22522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22524 "RANLIB=$${RANLIB}" \
22525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22531 .PHONY: maybe-installcheck-gdb installcheck-gdb
22532 maybe-installcheck-gdb:
22534 maybe-installcheck-gdb: installcheck-gdb
22536 installcheck-gdb: \
22538 @[ -f ./gdb/Makefile ] || exit 0; \
22539 r=`${PWD_COMMAND}`; export r; \
22540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22543 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22546 echo "Doing installcheck in gdb" ; \
22548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22550 "RANLIB=$${RANLIB}" \
22551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22557 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
22558 maybe-mostlyclean-gdb:
22560 maybe-mostlyclean-gdb: mostlyclean-gdb
22563 @[ -f ./gdb/Makefile ] || exit 0; \
22564 r=`${PWD_COMMAND}`; export r; \
22565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22568 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22571 echo "Doing mostlyclean in gdb" ; \
22573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22575 "RANLIB=$${RANLIB}" \
22576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22582 .PHONY: maybe-clean-gdb clean-gdb
22585 maybe-clean-gdb: clean-gdb
22588 @[ -f ./gdb/Makefile ] || exit 0; \
22589 r=`${PWD_COMMAND}`; export r; \
22590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22593 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22596 echo "Doing clean in gdb" ; \
22598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22600 "RANLIB=$${RANLIB}" \
22601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22607 .PHONY: maybe-distclean-gdb distclean-gdb
22608 maybe-distclean-gdb:
22610 maybe-distclean-gdb: distclean-gdb
22613 @[ -f ./gdb/Makefile ] || exit 0; \
22614 r=`${PWD_COMMAND}`; export r; \
22615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22618 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22621 echo "Doing distclean in gdb" ; \
22623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22625 "RANLIB=$${RANLIB}" \
22626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22632 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
22633 maybe-maintainer-clean-gdb:
22635 maybe-maintainer-clean-gdb: maintainer-clean-gdb
22637 maintainer-clean-gdb:
22638 @[ -f ./gdb/Makefile ] || exit 0; \
22639 r=`${PWD_COMMAND}`; export r; \
22640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22643 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22646 echo "Doing maintainer-clean in gdb" ; \
22648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22650 "RANLIB=$${RANLIB}" \
22651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22652 maintainer-clean) \
22658 .PHONY: configure-expect maybe-configure-expect
22659 maybe-configure-expect:
22661 maybe-configure-expect: configure-expect
22663 @test ! -f expect/Makefile || exit 0; \
22664 [ -d expect ] || mkdir expect; \
22665 r=`${PWD_COMMAND}`; export r; \
22666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22668 echo Configuring in expect; \
22669 cd expect || exit 1; \
22670 case $(srcdir) in \
22672 srcdiroption="--srcdir=."; \
22674 /* | [A-Za-z]:[\\/]*) \
22675 srcdiroption="--srcdir=$(srcdir)/expect"; \
22676 libsrcdir="$$s/expect";; \
22678 srcdiroption="--srcdir=../$(srcdir)/expect"; \
22679 libsrcdir="$$s/expect";; \
22681 $(SHELL) $${libsrcdir}/configure \
22682 $(HOST_CONFIGARGS) $${srcdiroption} \
22686 .PHONY: all-expect maybe-all-expect
22690 maybe-all-expect: all-expect
22691 all-expect: configure-expect
22692 @r=`${PWD_COMMAND}`; export r; \
22693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22696 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
22700 .PHONY: check-expect maybe-check-expect
22701 maybe-check-expect:
22703 maybe-check-expect: check-expect
22706 @r=`${PWD_COMMAND}`; export r; \
22707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22710 (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
22714 .PHONY: install-expect maybe-install-expect
22715 maybe-install-expect:
22717 maybe-install-expect: install-expect
22719 install-expect: installdirs
22720 @r=`${PWD_COMMAND}`; export r; \
22721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22724 (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
22728 # Other targets (info, dvi, etc.)
22730 .PHONY: maybe-info-expect info-expect
22733 maybe-info-expect: info-expect
22737 @[ -f ./expect/Makefile ] || exit 0; \
22738 r=`${PWD_COMMAND}`; export r; \
22739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22742 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22745 echo "Doing info in expect" ; \
22747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22749 "RANLIB=$${RANLIB}" \
22750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22756 .PHONY: maybe-dvi-expect dvi-expect
22759 maybe-dvi-expect: dvi-expect
22763 @[ -f ./expect/Makefile ] || exit 0; \
22764 r=`${PWD_COMMAND}`; export r; \
22765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22768 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22771 echo "Doing dvi in expect" ; \
22773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22775 "RANLIB=$${RANLIB}" \
22776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22782 .PHONY: maybe-html-expect html-expect
22785 maybe-html-expect: html-expect
22789 @[ -f ./expect/Makefile ] || exit 0; \
22790 r=`${PWD_COMMAND}`; export r; \
22791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22794 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22797 echo "Doing html in expect" ; \
22799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22801 "RANLIB=$${RANLIB}" \
22802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22808 .PHONY: maybe-TAGS-expect TAGS-expect
22811 maybe-TAGS-expect: TAGS-expect
22815 @[ -f ./expect/Makefile ] || exit 0; \
22816 r=`${PWD_COMMAND}`; export r; \
22817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22820 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22823 echo "Doing TAGS in expect" ; \
22825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22827 "RANLIB=$${RANLIB}" \
22828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22834 .PHONY: maybe-install-info-expect install-info-expect
22835 maybe-install-info-expect:
22837 maybe-install-info-expect: install-info-expect
22839 install-info-expect: \
22842 @[ -f ./expect/Makefile ] || exit 0; \
22843 r=`${PWD_COMMAND}`; export r; \
22844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22847 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22850 echo "Doing install-info in expect" ; \
22852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22854 "RANLIB=$${RANLIB}" \
22855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22861 .PHONY: maybe-installcheck-expect installcheck-expect
22862 maybe-installcheck-expect:
22864 maybe-installcheck-expect: installcheck-expect
22866 installcheck-expect: \
22868 @[ -f ./expect/Makefile ] || exit 0; \
22869 r=`${PWD_COMMAND}`; export r; \
22870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22873 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22876 echo "Doing installcheck in expect" ; \
22878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22880 "RANLIB=$${RANLIB}" \
22881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22887 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
22888 maybe-mostlyclean-expect:
22890 maybe-mostlyclean-expect: mostlyclean-expect
22892 mostlyclean-expect:
22893 @[ -f ./expect/Makefile ] || exit 0; \
22894 r=`${PWD_COMMAND}`; export r; \
22895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22898 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22901 echo "Doing mostlyclean in expect" ; \
22903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22905 "RANLIB=$${RANLIB}" \
22906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22912 .PHONY: maybe-clean-expect clean-expect
22913 maybe-clean-expect:
22915 maybe-clean-expect: clean-expect
22918 @[ -f ./expect/Makefile ] || exit 0; \
22919 r=`${PWD_COMMAND}`; export r; \
22920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22923 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22926 echo "Doing clean in expect" ; \
22928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22930 "RANLIB=$${RANLIB}" \
22931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22937 .PHONY: maybe-distclean-expect distclean-expect
22938 maybe-distclean-expect:
22940 maybe-distclean-expect: distclean-expect
22943 @[ -f ./expect/Makefile ] || exit 0; \
22944 r=`${PWD_COMMAND}`; export r; \
22945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22948 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22951 echo "Doing distclean in expect" ; \
22953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22955 "RANLIB=$${RANLIB}" \
22956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22962 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
22963 maybe-maintainer-clean-expect:
22965 maybe-maintainer-clean-expect: maintainer-clean-expect
22967 maintainer-clean-expect:
22968 @[ -f ./expect/Makefile ] || exit 0; \
22969 r=`${PWD_COMMAND}`; export r; \
22970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22973 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22976 echo "Doing maintainer-clean in expect" ; \
22978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22980 "RANLIB=$${RANLIB}" \
22981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22982 maintainer-clean) \
22988 .PHONY: configure-guile maybe-configure-guile
22989 maybe-configure-guile:
22991 maybe-configure-guile: configure-guile
22993 @test ! -f guile/Makefile || exit 0; \
22994 [ -d guile ] || mkdir guile; \
22995 r=`${PWD_COMMAND}`; export r; \
22996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22998 echo Configuring in guile; \
22999 cd guile || exit 1; \
23000 case $(srcdir) in \
23002 srcdiroption="--srcdir=."; \
23004 /* | [A-Za-z]:[\\/]*) \
23005 srcdiroption="--srcdir=$(srcdir)/guile"; \
23006 libsrcdir="$$s/guile";; \
23008 srcdiroption="--srcdir=../$(srcdir)/guile"; \
23009 libsrcdir="$$s/guile";; \
23011 $(SHELL) $${libsrcdir}/configure \
23012 $(HOST_CONFIGARGS) $${srcdiroption} \
23016 .PHONY: all-guile maybe-all-guile
23020 maybe-all-guile: all-guile
23021 all-guile: configure-guile
23022 @r=`${PWD_COMMAND}`; export r; \
23023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23026 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
23030 .PHONY: check-guile maybe-check-guile
23033 maybe-check-guile: check-guile
23036 @r=`${PWD_COMMAND}`; export r; \
23037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23040 (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
23044 .PHONY: install-guile maybe-install-guile
23045 maybe-install-guile:
23047 maybe-install-guile: install-guile
23049 install-guile: installdirs
23050 @r=`${PWD_COMMAND}`; export r; \
23051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23054 (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
23058 # Other targets (info, dvi, etc.)
23060 .PHONY: maybe-info-guile info-guile
23063 maybe-info-guile: info-guile
23067 @[ -f ./guile/Makefile ] || exit 0; \
23068 r=`${PWD_COMMAND}`; export r; \
23069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23072 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23075 echo "Doing info in guile" ; \
23077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23079 "RANLIB=$${RANLIB}" \
23080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23086 .PHONY: maybe-dvi-guile dvi-guile
23089 maybe-dvi-guile: dvi-guile
23093 @[ -f ./guile/Makefile ] || exit 0; \
23094 r=`${PWD_COMMAND}`; export r; \
23095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23098 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23101 echo "Doing dvi in guile" ; \
23103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23105 "RANLIB=$${RANLIB}" \
23106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23112 .PHONY: maybe-html-guile html-guile
23115 maybe-html-guile: html-guile
23119 @[ -f ./guile/Makefile ] || exit 0; \
23120 r=`${PWD_COMMAND}`; export r; \
23121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23124 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23127 echo "Doing html in guile" ; \
23129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23131 "RANLIB=$${RANLIB}" \
23132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23138 .PHONY: maybe-TAGS-guile TAGS-guile
23141 maybe-TAGS-guile: TAGS-guile
23145 @[ -f ./guile/Makefile ] || exit 0; \
23146 r=`${PWD_COMMAND}`; export r; \
23147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23150 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23153 echo "Doing TAGS in guile" ; \
23155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23157 "RANLIB=$${RANLIB}" \
23158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23164 .PHONY: maybe-install-info-guile install-info-guile
23165 maybe-install-info-guile:
23167 maybe-install-info-guile: install-info-guile
23169 install-info-guile: \
23172 @[ -f ./guile/Makefile ] || exit 0; \
23173 r=`${PWD_COMMAND}`; export r; \
23174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23177 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23180 echo "Doing install-info in guile" ; \
23182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23184 "RANLIB=$${RANLIB}" \
23185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23191 .PHONY: maybe-installcheck-guile installcheck-guile
23192 maybe-installcheck-guile:
23194 maybe-installcheck-guile: installcheck-guile
23196 installcheck-guile: \
23198 @[ -f ./guile/Makefile ] || exit 0; \
23199 r=`${PWD_COMMAND}`; export r; \
23200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23203 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23206 echo "Doing installcheck in guile" ; \
23208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23210 "RANLIB=$${RANLIB}" \
23211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23217 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
23218 maybe-mostlyclean-guile:
23220 maybe-mostlyclean-guile: mostlyclean-guile
23223 @[ -f ./guile/Makefile ] || exit 0; \
23224 r=`${PWD_COMMAND}`; export r; \
23225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23228 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23231 echo "Doing mostlyclean in guile" ; \
23233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23235 "RANLIB=$${RANLIB}" \
23236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23242 .PHONY: maybe-clean-guile clean-guile
23245 maybe-clean-guile: clean-guile
23248 @[ -f ./guile/Makefile ] || exit 0; \
23249 r=`${PWD_COMMAND}`; export r; \
23250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23253 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23256 echo "Doing clean in guile" ; \
23258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23260 "RANLIB=$${RANLIB}" \
23261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23267 .PHONY: maybe-distclean-guile distclean-guile
23268 maybe-distclean-guile:
23270 maybe-distclean-guile: distclean-guile
23273 @[ -f ./guile/Makefile ] || exit 0; \
23274 r=`${PWD_COMMAND}`; export r; \
23275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23278 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23281 echo "Doing distclean in guile" ; \
23283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23285 "RANLIB=$${RANLIB}" \
23286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23292 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
23293 maybe-maintainer-clean-guile:
23295 maybe-maintainer-clean-guile: maintainer-clean-guile
23297 maintainer-clean-guile:
23298 @[ -f ./guile/Makefile ] || exit 0; \
23299 r=`${PWD_COMMAND}`; export r; \
23300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23303 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23306 echo "Doing maintainer-clean in guile" ; \
23308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23310 "RANLIB=$${RANLIB}" \
23311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23312 maintainer-clean) \
23318 .PHONY: configure-tk maybe-configure-tk
23319 maybe-configure-tk:
23321 maybe-configure-tk: configure-tk
23323 @test ! -f tk/Makefile || exit 0; \
23324 [ -d tk ] || mkdir tk; \
23325 r=`${PWD_COMMAND}`; export r; \
23326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23328 echo Configuring in tk; \
23330 case $(srcdir) in \
23332 srcdiroption="--srcdir=."; \
23334 /* | [A-Za-z]:[\\/]*) \
23335 srcdiroption="--srcdir=$(srcdir)/tk"; \
23336 libsrcdir="$$s/tk";; \
23338 srcdiroption="--srcdir=../$(srcdir)/tk"; \
23339 libsrcdir="$$s/tk";; \
23341 $(SHELL) $${libsrcdir}/configure \
23342 $(HOST_CONFIGARGS) $${srcdiroption} \
23346 .PHONY: all-tk maybe-all-tk
23350 maybe-all-tk: all-tk
23351 all-tk: configure-tk
23352 @r=`${PWD_COMMAND}`; export r; \
23353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23356 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
23360 .PHONY: check-tk maybe-check-tk
23363 maybe-check-tk: check-tk
23366 @r=`${PWD_COMMAND}`; export r; \
23367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23370 (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
23374 .PHONY: install-tk maybe-install-tk
23377 maybe-install-tk: install-tk
23379 install-tk: installdirs
23380 @r=`${PWD_COMMAND}`; export r; \
23381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23384 (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
23388 # Other targets (info, dvi, etc.)
23390 .PHONY: maybe-info-tk info-tk
23393 maybe-info-tk: info-tk
23397 @[ -f ./tk/Makefile ] || exit 0; \
23398 r=`${PWD_COMMAND}`; export r; \
23399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23402 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23405 echo "Doing info in tk" ; \
23407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23409 "RANLIB=$${RANLIB}" \
23410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23416 .PHONY: maybe-dvi-tk dvi-tk
23419 maybe-dvi-tk: dvi-tk
23423 @[ -f ./tk/Makefile ] || exit 0; \
23424 r=`${PWD_COMMAND}`; export r; \
23425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23428 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23431 echo "Doing dvi in tk" ; \
23433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23435 "RANLIB=$${RANLIB}" \
23436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23442 .PHONY: maybe-html-tk html-tk
23445 maybe-html-tk: html-tk
23449 @[ -f ./tk/Makefile ] || exit 0; \
23450 r=`${PWD_COMMAND}`; export r; \
23451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23454 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23457 echo "Doing html in tk" ; \
23459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23461 "RANLIB=$${RANLIB}" \
23462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23468 .PHONY: maybe-TAGS-tk TAGS-tk
23471 maybe-TAGS-tk: TAGS-tk
23475 @[ -f ./tk/Makefile ] || exit 0; \
23476 r=`${PWD_COMMAND}`; export r; \
23477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23480 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23483 echo "Doing TAGS in tk" ; \
23485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23487 "RANLIB=$${RANLIB}" \
23488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23494 .PHONY: maybe-install-info-tk install-info-tk
23495 maybe-install-info-tk:
23497 maybe-install-info-tk: install-info-tk
23502 @[ -f ./tk/Makefile ] || exit 0; \
23503 r=`${PWD_COMMAND}`; export r; \
23504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23507 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23510 echo "Doing install-info in tk" ; \
23512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23514 "RANLIB=$${RANLIB}" \
23515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23521 .PHONY: maybe-installcheck-tk installcheck-tk
23522 maybe-installcheck-tk:
23524 maybe-installcheck-tk: installcheck-tk
23528 @[ -f ./tk/Makefile ] || exit 0; \
23529 r=`${PWD_COMMAND}`; export r; \
23530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23533 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23536 echo "Doing installcheck in tk" ; \
23538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23540 "RANLIB=$${RANLIB}" \
23541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23547 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
23548 maybe-mostlyclean-tk:
23550 maybe-mostlyclean-tk: mostlyclean-tk
23553 @[ -f ./tk/Makefile ] || exit 0; \
23554 r=`${PWD_COMMAND}`; export r; \
23555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23558 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23561 echo "Doing mostlyclean in tk" ; \
23563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23565 "RANLIB=$${RANLIB}" \
23566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23572 .PHONY: maybe-clean-tk clean-tk
23575 maybe-clean-tk: clean-tk
23578 @[ -f ./tk/Makefile ] || exit 0; \
23579 r=`${PWD_COMMAND}`; export r; \
23580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23583 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23586 echo "Doing clean in tk" ; \
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}" \
23597 .PHONY: maybe-distclean-tk distclean-tk
23598 maybe-distclean-tk:
23600 maybe-distclean-tk: distclean-tk
23603 @[ -f ./tk/Makefile ] || exit 0; \
23604 r=`${PWD_COMMAND}`; export r; \
23605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23608 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23611 echo "Doing distclean in tk" ; \
23613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23615 "RANLIB=$${RANLIB}" \
23616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23622 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
23623 maybe-maintainer-clean-tk:
23625 maybe-maintainer-clean-tk: maintainer-clean-tk
23627 maintainer-clean-tk:
23628 @[ -f ./tk/Makefile ] || exit 0; \
23629 r=`${PWD_COMMAND}`; export r; \
23630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23633 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23636 echo "Doing maintainer-clean in tk" ; \
23638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23640 "RANLIB=$${RANLIB}" \
23641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23642 maintainer-clean) \
23648 .PHONY: configure-libtermcap maybe-configure-libtermcap
23649 maybe-configure-libtermcap:
23651 maybe-configure-libtermcap: configure-libtermcap
23652 configure-libtermcap:
23653 @test ! -f libtermcap/Makefile || exit 0; \
23654 [ -d libtermcap ] || mkdir libtermcap; \
23655 r=`${PWD_COMMAND}`; export r; \
23656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23658 echo Configuring in libtermcap; \
23659 cd libtermcap || exit 1; \
23660 case $(srcdir) in \
23662 srcdiroption="--srcdir=."; \
23664 /* | [A-Za-z]:[\\/]*) \
23665 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
23666 libsrcdir="$$s/libtermcap";; \
23668 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
23669 libsrcdir="$$s/libtermcap";; \
23671 $(SHELL) $${libsrcdir}/configure \
23672 $(HOST_CONFIGARGS) $${srcdiroption} \
23676 .PHONY: all-libtermcap maybe-all-libtermcap
23677 maybe-all-libtermcap:
23679 TARGET-libtermcap=all
23680 maybe-all-libtermcap: all-libtermcap
23681 all-libtermcap: configure-libtermcap
23682 @r=`${PWD_COMMAND}`; export r; \
23683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23686 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) \
23687 $(TARGET-libtermcap))
23690 .PHONY: check-libtermcap maybe-check-libtermcap
23691 maybe-check-libtermcap:
23693 maybe-check-libtermcap: check-libtermcap
23699 .PHONY: install-libtermcap maybe-install-libtermcap
23700 maybe-install-libtermcap:
23702 maybe-install-libtermcap: install-libtermcap
23704 install-libtermcap: installdirs
23705 @r=`${PWD_COMMAND}`; export r; \
23706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23709 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
23713 # Other targets (info, dvi, etc.)
23715 .PHONY: maybe-info-libtermcap info-libtermcap
23716 maybe-info-libtermcap:
23718 maybe-info-libtermcap: info-libtermcap
23721 configure-libtermcap
23722 @[ -f ./libtermcap/Makefile ] || exit 0; \
23723 r=`${PWD_COMMAND}`; export r; \
23724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23727 for flag in $(EXTRA_HOST_FLAGS) ; do \
23728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23730 echo "Doing info in libtermcap" ; \
23731 (cd libtermcap && \
23732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23734 "RANLIB=$${RANLIB}" \
23735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23741 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
23742 maybe-dvi-libtermcap:
23744 maybe-dvi-libtermcap: dvi-libtermcap
23747 configure-libtermcap
23748 @[ -f ./libtermcap/Makefile ] || exit 0; \
23749 r=`${PWD_COMMAND}`; export r; \
23750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23753 for flag in $(EXTRA_HOST_FLAGS) ; do \
23754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23756 echo "Doing dvi in libtermcap" ; \
23757 (cd libtermcap && \
23758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23760 "RANLIB=$${RANLIB}" \
23761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23767 .PHONY: maybe-html-libtermcap html-libtermcap
23768 maybe-html-libtermcap:
23770 maybe-html-libtermcap: html-libtermcap
23773 configure-libtermcap
23774 @[ -f ./libtermcap/Makefile ] || exit 0; \
23775 r=`${PWD_COMMAND}`; export r; \
23776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23779 for flag in $(EXTRA_HOST_FLAGS) ; do \
23780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23782 echo "Doing html in libtermcap" ; \
23783 (cd libtermcap && \
23784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23786 "RANLIB=$${RANLIB}" \
23787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23793 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
23794 maybe-TAGS-libtermcap:
23796 maybe-TAGS-libtermcap: TAGS-libtermcap
23799 configure-libtermcap
23800 @[ -f ./libtermcap/Makefile ] || exit 0; \
23801 r=`${PWD_COMMAND}`; export r; \
23802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23805 for flag in $(EXTRA_HOST_FLAGS) ; do \
23806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23808 echo "Doing TAGS in libtermcap" ; \
23809 (cd libtermcap && \
23810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23812 "RANLIB=$${RANLIB}" \
23813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23819 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
23820 maybe-install-info-libtermcap:
23822 maybe-install-info-libtermcap: install-info-libtermcap
23824 install-info-libtermcap: \
23825 configure-libtermcap \
23827 @[ -f ./libtermcap/Makefile ] || exit 0; \
23828 r=`${PWD_COMMAND}`; export r; \
23829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23832 for flag in $(EXTRA_HOST_FLAGS) ; do \
23833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23835 echo "Doing install-info in libtermcap" ; \
23836 (cd libtermcap && \
23837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23839 "RANLIB=$${RANLIB}" \
23840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23846 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
23847 maybe-installcheck-libtermcap:
23849 maybe-installcheck-libtermcap: installcheck-libtermcap
23851 installcheck-libtermcap: \
23852 configure-libtermcap
23853 @[ -f ./libtermcap/Makefile ] || exit 0; \
23854 r=`${PWD_COMMAND}`; export r; \
23855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23858 for flag in $(EXTRA_HOST_FLAGS) ; do \
23859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23861 echo "Doing installcheck in libtermcap" ; \
23862 (cd libtermcap && \
23863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23865 "RANLIB=$${RANLIB}" \
23866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23872 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
23873 maybe-mostlyclean-libtermcap:
23875 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
23877 # libtermcap doesn't support mostlyclean.
23878 mostlyclean-libtermcap:
23882 .PHONY: maybe-clean-libtermcap clean-libtermcap
23883 maybe-clean-libtermcap:
23885 maybe-clean-libtermcap: clean-libtermcap
23887 # libtermcap doesn't support clean.
23892 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
23893 maybe-distclean-libtermcap:
23895 maybe-distclean-libtermcap: distclean-libtermcap
23897 # libtermcap doesn't support distclean.
23898 distclean-libtermcap:
23902 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
23903 maybe-maintainer-clean-libtermcap:
23905 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
23907 # libtermcap doesn't support maintainer-clean.
23908 maintainer-clean-libtermcap:
23913 .PHONY: configure-utils maybe-configure-utils
23914 maybe-configure-utils:
23916 maybe-configure-utils: configure-utils
23918 @test ! -f utils/Makefile || exit 0; \
23919 [ -d utils ] || mkdir utils; \
23920 r=`${PWD_COMMAND}`; export r; \
23921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23923 echo Configuring in utils; \
23924 cd utils || exit 1; \
23925 case $(srcdir) in \
23927 srcdiroption="--srcdir=."; \
23929 /* | [A-Za-z]:[\\/]*) \
23930 srcdiroption="--srcdir=$(srcdir)/utils"; \
23931 libsrcdir="$$s/utils";; \
23933 srcdiroption="--srcdir=../$(srcdir)/utils"; \
23934 libsrcdir="$$s/utils";; \
23936 $(SHELL) $${libsrcdir}/configure \
23937 $(HOST_CONFIGARGS) $${srcdiroption} \
23941 .PHONY: all-utils maybe-all-utils
23945 maybe-all-utils: all-utils
23946 all-utils: configure-utils
23947 @r=`${PWD_COMMAND}`; export r; \
23948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23951 (cd utils && $(MAKE) $(FLAGS_TO_PASS) \
23955 .PHONY: check-utils maybe-check-utils
23958 maybe-check-utils: check-utils
23964 .PHONY: install-utils maybe-install-utils
23965 maybe-install-utils:
23967 maybe-install-utils: install-utils
23969 install-utils: installdirs
23970 @r=`${PWD_COMMAND}`; export r; \
23971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23974 (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
23978 # Other targets (info, dvi, etc.)
23980 .PHONY: maybe-info-utils info-utils
23983 maybe-info-utils: info-utils
23987 @[ -f ./utils/Makefile ] || exit 0; \
23988 r=`${PWD_COMMAND}`; export r; \
23989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23992 for flag in $(EXTRA_HOST_FLAGS) ; do \
23993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23995 echo "Doing info in utils" ; \
23997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23999 "RANLIB=$${RANLIB}" \
24000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24006 .PHONY: maybe-dvi-utils dvi-utils
24009 maybe-dvi-utils: dvi-utils
24013 @[ -f ./utils/Makefile ] || exit 0; \
24014 r=`${PWD_COMMAND}`; export r; \
24015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24018 for flag in $(EXTRA_HOST_FLAGS) ; do \
24019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24021 echo "Doing dvi in utils" ; \
24023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24025 "RANLIB=$${RANLIB}" \
24026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24032 .PHONY: maybe-html-utils html-utils
24035 maybe-html-utils: html-utils
24039 @[ -f ./utils/Makefile ] || exit 0; \
24040 r=`${PWD_COMMAND}`; export r; \
24041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24044 for flag in $(EXTRA_HOST_FLAGS) ; do \
24045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24047 echo "Doing html in utils" ; \
24049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24051 "RANLIB=$${RANLIB}" \
24052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24058 .PHONY: maybe-TAGS-utils TAGS-utils
24061 maybe-TAGS-utils: TAGS-utils
24065 @[ -f ./utils/Makefile ] || exit 0; \
24066 r=`${PWD_COMMAND}`; export r; \
24067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24070 for flag in $(EXTRA_HOST_FLAGS) ; do \
24071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24073 echo "Doing TAGS in utils" ; \
24075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24077 "RANLIB=$${RANLIB}" \
24078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24084 .PHONY: maybe-install-info-utils install-info-utils
24085 maybe-install-info-utils:
24087 maybe-install-info-utils: install-info-utils
24089 install-info-utils: \
24092 @[ -f ./utils/Makefile ] || exit 0; \
24093 r=`${PWD_COMMAND}`; export r; \
24094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24097 for flag in $(EXTRA_HOST_FLAGS) ; do \
24098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24100 echo "Doing install-info in utils" ; \
24102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24104 "RANLIB=$${RANLIB}" \
24105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24111 .PHONY: maybe-installcheck-utils installcheck-utils
24112 maybe-installcheck-utils:
24114 maybe-installcheck-utils: installcheck-utils
24116 installcheck-utils: \
24118 @[ -f ./utils/Makefile ] || exit 0; \
24119 r=`${PWD_COMMAND}`; export r; \
24120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24123 for flag in $(EXTRA_HOST_FLAGS) ; do \
24124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24126 echo "Doing installcheck in utils" ; \
24128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24130 "RANLIB=$${RANLIB}" \
24131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24137 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
24138 maybe-mostlyclean-utils:
24140 maybe-mostlyclean-utils: mostlyclean-utils
24143 @[ -f ./utils/Makefile ] || exit 0; \
24144 r=`${PWD_COMMAND}`; export r; \
24145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24148 for flag in $(EXTRA_HOST_FLAGS) ; do \
24149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24151 echo "Doing mostlyclean in utils" ; \
24153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24155 "RANLIB=$${RANLIB}" \
24156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24162 .PHONY: maybe-clean-utils clean-utils
24165 maybe-clean-utils: clean-utils
24168 @[ -f ./utils/Makefile ] || exit 0; \
24169 r=`${PWD_COMMAND}`; export r; \
24170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24173 for flag in $(EXTRA_HOST_FLAGS) ; do \
24174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24176 echo "Doing clean in utils" ; \
24178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24180 "RANLIB=$${RANLIB}" \
24181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24187 .PHONY: maybe-distclean-utils distclean-utils
24188 maybe-distclean-utils:
24190 maybe-distclean-utils: distclean-utils
24193 @[ -f ./utils/Makefile ] || exit 0; \
24194 r=`${PWD_COMMAND}`; export r; \
24195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24198 for flag in $(EXTRA_HOST_FLAGS) ; do \
24199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24201 echo "Doing distclean in utils" ; \
24203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24205 "RANLIB=$${RANLIB}" \
24206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24212 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
24213 maybe-maintainer-clean-utils:
24215 maybe-maintainer-clean-utils: maintainer-clean-utils
24217 maintainer-clean-utils:
24218 @[ -f ./utils/Makefile ] || exit 0; \
24219 r=`${PWD_COMMAND}`; export r; \
24220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24223 for flag in $(EXTRA_HOST_FLAGS) ; do \
24224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24226 echo "Doing maintainer-clean in utils" ; \
24228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24230 "RANLIB=$${RANLIB}" \
24231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24232 maintainer-clean) \
24239 # ---------------------------------------
24240 # Modules which run on the target machine
24241 # ---------------------------------------
24243 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
24244 maybe-configure-target-libstdc++-v3:
24245 @if target-libstdc++-v3
24246 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
24248 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24249 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
24250 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
24251 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
24252 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
24254 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
24255 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
24256 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
24257 r=`${PWD_COMMAND}`; export r; \
24258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24260 $(RAW_CXX_TARGET_EXPORTS) \
24261 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
24262 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
24263 case $(srcdir) in \
24264 /* | [A-Za-z]:[\\/]*) \
24265 topdir=$(srcdir) ;; \
24267 case "$(TARGET_SUBDIR)" in \
24268 .) topdir="../$(srcdir)" ;; \
24269 *) topdir="../../$(srcdir)" ;; \
24272 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
24273 libsrcdir="$$s/libstdc++-v3"; \
24274 rm -f no-such-file || : ; \
24275 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24276 $(TARGET_CONFIGARGS) $${srcdiroption} \
24277 --with-target-subdir="$(TARGET_SUBDIR)" \
24279 @endif target-libstdc++-v3
24281 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
24282 maybe-all-target-libstdc++-v3:
24283 @if target-libstdc++-v3
24284 TARGET-target-libstdc++-v3=all
24285 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
24286 all-target-libstdc++-v3: configure-target-libstdc++-v3
24287 @r=`${PWD_COMMAND}`; export r; \
24288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24290 $(RAW_CXX_TARGET_EXPORTS) \
24291 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24292 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
24293 @endif target-libstdc++-v3
24295 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
24296 maybe-check-target-libstdc++-v3:
24297 @if target-libstdc++-v3
24298 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
24300 check-target-libstdc++-v3:
24301 @r=`${PWD_COMMAND}`; export r; \
24302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24304 $(RAW_CXX_TARGET_EXPORTS) \
24305 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24306 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
24308 @endif target-libstdc++-v3
24310 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
24311 maybe-install-target-libstdc++-v3:
24312 @if target-libstdc++-v3
24313 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
24315 install-target-libstdc++-v3: installdirs
24316 @r=`${PWD_COMMAND}`; export r; \
24317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24319 $(RAW_CXX_TARGET_EXPORTS) \
24320 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24321 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24323 @endif target-libstdc++-v3
24325 # Other targets (info, dvi, etc.)
24327 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
24328 maybe-info-target-libstdc++-v3:
24329 @if target-libstdc++-v3
24330 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
24332 info-target-libstdc++-v3: \
24333 configure-target-libstdc++-v3
24334 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24335 r=`${PWD_COMMAND}`; export r; \
24336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24338 $(RAW_CXX_TARGET_EXPORTS) \
24339 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24340 for flag in $(EXTRA_TARGET_FLAGS); do \
24341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24343 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24346 "RANLIB=$${RANLIB}" \
24347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24351 @endif target-libstdc++-v3
24353 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
24354 maybe-dvi-target-libstdc++-v3:
24355 @if target-libstdc++-v3
24356 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
24358 dvi-target-libstdc++-v3: \
24359 configure-target-libstdc++-v3
24360 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24361 r=`${PWD_COMMAND}`; export r; \
24362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24364 $(RAW_CXX_TARGET_EXPORTS) \
24365 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24366 for flag in $(EXTRA_TARGET_FLAGS); do \
24367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24369 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24372 "RANLIB=$${RANLIB}" \
24373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24377 @endif target-libstdc++-v3
24379 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
24380 maybe-html-target-libstdc++-v3:
24381 @if target-libstdc++-v3
24382 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
24384 html-target-libstdc++-v3: \
24385 configure-target-libstdc++-v3
24386 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24387 r=`${PWD_COMMAND}`; export r; \
24388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24390 $(RAW_CXX_TARGET_EXPORTS) \
24391 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24392 for flag in $(EXTRA_TARGET_FLAGS); do \
24393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24395 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24398 "RANLIB=$${RANLIB}" \
24399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24403 @endif target-libstdc++-v3
24405 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
24406 maybe-TAGS-target-libstdc++-v3:
24407 @if target-libstdc++-v3
24408 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
24410 TAGS-target-libstdc++-v3: \
24411 configure-target-libstdc++-v3
24412 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24413 r=`${PWD_COMMAND}`; export r; \
24414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24416 $(RAW_CXX_TARGET_EXPORTS) \
24417 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24418 for flag in $(EXTRA_TARGET_FLAGS); do \
24419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24421 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24424 "RANLIB=$${RANLIB}" \
24425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24429 @endif target-libstdc++-v3
24431 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
24432 maybe-install-info-target-libstdc++-v3:
24433 @if target-libstdc++-v3
24434 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
24436 install-info-target-libstdc++-v3: \
24437 configure-target-libstdc++-v3 \
24438 info-target-libstdc++-v3
24439 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24440 r=`${PWD_COMMAND}`; export r; \
24441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24443 $(RAW_CXX_TARGET_EXPORTS) \
24444 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24445 for flag in $(EXTRA_TARGET_FLAGS); do \
24446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24448 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24451 "RANLIB=$${RANLIB}" \
24452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24456 @endif target-libstdc++-v3
24458 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
24459 maybe-installcheck-target-libstdc++-v3:
24460 @if target-libstdc++-v3
24461 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
24463 installcheck-target-libstdc++-v3: \
24464 configure-target-libstdc++-v3
24465 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24466 r=`${PWD_COMMAND}`; export r; \
24467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24469 $(RAW_CXX_TARGET_EXPORTS) \
24470 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24471 for flag in $(EXTRA_TARGET_FLAGS); do \
24472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24474 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24477 "RANLIB=$${RANLIB}" \
24478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24482 @endif target-libstdc++-v3
24484 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
24485 maybe-mostlyclean-target-libstdc++-v3:
24486 @if target-libstdc++-v3
24487 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
24489 mostlyclean-target-libstdc++-v3:
24490 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24491 r=`${PWD_COMMAND}`; export r; \
24492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24494 $(RAW_CXX_TARGET_EXPORTS) \
24495 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24496 for flag in $(EXTRA_TARGET_FLAGS); do \
24497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24499 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24502 "RANLIB=$${RANLIB}" \
24503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24507 @endif target-libstdc++-v3
24509 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
24510 maybe-clean-target-libstdc++-v3:
24511 @if target-libstdc++-v3
24512 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
24514 clean-target-libstdc++-v3:
24515 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24516 r=`${PWD_COMMAND}`; export r; \
24517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24519 $(RAW_CXX_TARGET_EXPORTS) \
24520 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24521 for flag in $(EXTRA_TARGET_FLAGS); do \
24522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24524 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24527 "RANLIB=$${RANLIB}" \
24528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24532 @endif target-libstdc++-v3
24534 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
24535 maybe-distclean-target-libstdc++-v3:
24536 @if target-libstdc++-v3
24537 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
24539 distclean-target-libstdc++-v3:
24540 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24541 r=`${PWD_COMMAND}`; export r; \
24542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24544 $(RAW_CXX_TARGET_EXPORTS) \
24545 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24546 for flag in $(EXTRA_TARGET_FLAGS); do \
24547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24549 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24552 "RANLIB=$${RANLIB}" \
24553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24557 @endif target-libstdc++-v3
24559 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
24560 maybe-maintainer-clean-target-libstdc++-v3:
24561 @if target-libstdc++-v3
24562 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
24564 maintainer-clean-target-libstdc++-v3:
24565 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24566 r=`${PWD_COMMAND}`; export r; \
24567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24569 $(RAW_CXX_TARGET_EXPORTS) \
24570 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24571 for flag in $(EXTRA_TARGET_FLAGS); do \
24572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24574 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24577 "RANLIB=$${RANLIB}" \
24578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24579 maintainer-clean) \
24582 @endif target-libstdc++-v3
24585 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
24586 maybe-configure-target-libmudflap:
24587 @if target-libmudflap
24588 maybe-configure-target-libmudflap: configure-target-libmudflap
24590 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24591 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
24592 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
24593 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
24594 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
24596 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
24597 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
24598 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
24599 r=`${PWD_COMMAND}`; export r; \
24600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24602 $(NORMAL_TARGET_EXPORTS) \
24603 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
24604 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
24605 case $(srcdir) in \
24606 /* | [A-Za-z]:[\\/]*) \
24607 topdir=$(srcdir) ;; \
24609 case "$(TARGET_SUBDIR)" in \
24610 .) topdir="../$(srcdir)" ;; \
24611 *) topdir="../../$(srcdir)" ;; \
24614 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
24615 libsrcdir="$$s/libmudflap"; \
24616 rm -f no-such-file || : ; \
24617 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24618 $(TARGET_CONFIGARGS) $${srcdiroption} \
24619 --with-target-subdir="$(TARGET_SUBDIR)" \
24621 @endif target-libmudflap
24623 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
24624 maybe-all-target-libmudflap:
24625 @if target-libmudflap
24626 TARGET-target-libmudflap=all
24627 maybe-all-target-libmudflap: all-target-libmudflap
24628 all-target-libmudflap: configure-target-libmudflap
24629 @r=`${PWD_COMMAND}`; export r; \
24630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24632 $(NORMAL_TARGET_EXPORTS) \
24633 (cd $(TARGET_SUBDIR)/libmudflap && \
24634 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
24635 @endif target-libmudflap
24637 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
24638 maybe-check-target-libmudflap:
24639 @if target-libmudflap
24640 maybe-check-target-libmudflap: check-target-libmudflap
24642 check-target-libmudflap:
24643 @r=`${PWD_COMMAND}`; export r; \
24644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24646 $(NORMAL_TARGET_EXPORTS) \
24647 (cd $(TARGET_SUBDIR)/libmudflap && \
24648 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24650 @endif target-libmudflap
24652 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
24653 maybe-install-target-libmudflap:
24654 @if target-libmudflap
24655 maybe-install-target-libmudflap: install-target-libmudflap
24657 install-target-libmudflap: installdirs
24658 @r=`${PWD_COMMAND}`; export r; \
24659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24661 $(NORMAL_TARGET_EXPORTS) \
24662 (cd $(TARGET_SUBDIR)/libmudflap && \
24663 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24665 @endif target-libmudflap
24667 # Other targets (info, dvi, etc.)
24669 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
24670 maybe-info-target-libmudflap:
24671 @if target-libmudflap
24672 maybe-info-target-libmudflap: info-target-libmudflap
24674 info-target-libmudflap: \
24675 configure-target-libmudflap
24676 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24677 r=`${PWD_COMMAND}`; export r; \
24678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24680 $(NORMAL_TARGET_EXPORTS) \
24681 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
24682 for flag in $(EXTRA_TARGET_FLAGS); do \
24683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24685 (cd $(TARGET_SUBDIR)/libmudflap && \
24686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24688 "RANLIB=$${RANLIB}" \
24689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24693 @endif target-libmudflap
24695 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
24696 maybe-dvi-target-libmudflap:
24697 @if target-libmudflap
24698 maybe-dvi-target-libmudflap: dvi-target-libmudflap
24700 dvi-target-libmudflap: \
24701 configure-target-libmudflap
24702 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24703 r=`${PWD_COMMAND}`; export r; \
24704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24706 $(NORMAL_TARGET_EXPORTS) \
24707 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
24708 for flag in $(EXTRA_TARGET_FLAGS); do \
24709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24711 (cd $(TARGET_SUBDIR)/libmudflap && \
24712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24714 "RANLIB=$${RANLIB}" \
24715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24719 @endif target-libmudflap
24721 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
24722 maybe-html-target-libmudflap:
24723 @if target-libmudflap
24724 maybe-html-target-libmudflap: html-target-libmudflap
24726 html-target-libmudflap: \
24727 configure-target-libmudflap
24728 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24729 r=`${PWD_COMMAND}`; export r; \
24730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24732 $(NORMAL_TARGET_EXPORTS) \
24733 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
24734 for flag in $(EXTRA_TARGET_FLAGS); do \
24735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24737 (cd $(TARGET_SUBDIR)/libmudflap && \
24738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24740 "RANLIB=$${RANLIB}" \
24741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24745 @endif target-libmudflap
24747 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
24748 maybe-TAGS-target-libmudflap:
24749 @if target-libmudflap
24750 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
24752 TAGS-target-libmudflap: \
24753 configure-target-libmudflap
24754 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24755 r=`${PWD_COMMAND}`; export r; \
24756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24758 $(NORMAL_TARGET_EXPORTS) \
24759 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
24760 for flag in $(EXTRA_TARGET_FLAGS); do \
24761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24763 (cd $(TARGET_SUBDIR)/libmudflap && \
24764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24766 "RANLIB=$${RANLIB}" \
24767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24771 @endif target-libmudflap
24773 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
24774 maybe-install-info-target-libmudflap:
24775 @if target-libmudflap
24776 maybe-install-info-target-libmudflap: install-info-target-libmudflap
24778 install-info-target-libmudflap: \
24779 configure-target-libmudflap \
24780 info-target-libmudflap
24781 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24782 r=`${PWD_COMMAND}`; export r; \
24783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24785 $(NORMAL_TARGET_EXPORTS) \
24786 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
24787 for flag in $(EXTRA_TARGET_FLAGS); do \
24788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24790 (cd $(TARGET_SUBDIR)/libmudflap && \
24791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24793 "RANLIB=$${RANLIB}" \
24794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24798 @endif target-libmudflap
24800 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
24801 maybe-installcheck-target-libmudflap:
24802 @if target-libmudflap
24803 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
24805 installcheck-target-libmudflap: \
24806 configure-target-libmudflap
24807 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24808 r=`${PWD_COMMAND}`; export r; \
24809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24811 $(NORMAL_TARGET_EXPORTS) \
24812 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
24813 for flag in $(EXTRA_TARGET_FLAGS); do \
24814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24816 (cd $(TARGET_SUBDIR)/libmudflap && \
24817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24819 "RANLIB=$${RANLIB}" \
24820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24824 @endif target-libmudflap
24826 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
24827 maybe-mostlyclean-target-libmudflap:
24828 @if target-libmudflap
24829 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
24831 mostlyclean-target-libmudflap:
24832 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24833 r=`${PWD_COMMAND}`; export r; \
24834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24836 $(NORMAL_TARGET_EXPORTS) \
24837 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
24838 for flag in $(EXTRA_TARGET_FLAGS); do \
24839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24841 (cd $(TARGET_SUBDIR)/libmudflap && \
24842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24844 "RANLIB=$${RANLIB}" \
24845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24849 @endif target-libmudflap
24851 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
24852 maybe-clean-target-libmudflap:
24853 @if target-libmudflap
24854 maybe-clean-target-libmudflap: clean-target-libmudflap
24856 clean-target-libmudflap:
24857 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24858 r=`${PWD_COMMAND}`; export r; \
24859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24861 $(NORMAL_TARGET_EXPORTS) \
24862 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
24863 for flag in $(EXTRA_TARGET_FLAGS); do \
24864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24866 (cd $(TARGET_SUBDIR)/libmudflap && \
24867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24869 "RANLIB=$${RANLIB}" \
24870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24874 @endif target-libmudflap
24876 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
24877 maybe-distclean-target-libmudflap:
24878 @if target-libmudflap
24879 maybe-distclean-target-libmudflap: distclean-target-libmudflap
24881 distclean-target-libmudflap:
24882 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24883 r=`${PWD_COMMAND}`; export r; \
24884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24886 $(NORMAL_TARGET_EXPORTS) \
24887 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
24888 for flag in $(EXTRA_TARGET_FLAGS); do \
24889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24891 (cd $(TARGET_SUBDIR)/libmudflap && \
24892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24894 "RANLIB=$${RANLIB}" \
24895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24899 @endif target-libmudflap
24901 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
24902 maybe-maintainer-clean-target-libmudflap:
24903 @if target-libmudflap
24904 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
24906 maintainer-clean-target-libmudflap:
24907 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24908 r=`${PWD_COMMAND}`; export r; \
24909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24911 $(NORMAL_TARGET_EXPORTS) \
24912 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
24913 for flag in $(EXTRA_TARGET_FLAGS); do \
24914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24916 (cd $(TARGET_SUBDIR)/libmudflap && \
24917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24919 "RANLIB=$${RANLIB}" \
24920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24921 maintainer-clean) \
24924 @endif target-libmudflap
24927 .PHONY: configure-target-newlib maybe-configure-target-newlib
24928 maybe-configure-target-newlib:
24930 maybe-configure-target-newlib: configure-target-newlib
24932 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24933 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
24934 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
24935 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
24936 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
24938 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
24939 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
24940 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
24941 r=`${PWD_COMMAND}`; export r; \
24942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24944 $(NORMAL_TARGET_EXPORTS) \
24945 echo Configuring in $(TARGET_SUBDIR)/newlib; \
24946 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
24947 case $(srcdir) in \
24948 /* | [A-Za-z]:[\\/]*) \
24949 topdir=$(srcdir) ;; \
24951 case "$(TARGET_SUBDIR)" in \
24952 .) topdir="../$(srcdir)" ;; \
24953 *) topdir="../../$(srcdir)" ;; \
24956 srcdiroption="--srcdir=$${topdir}/newlib"; \
24957 libsrcdir="$$s/newlib"; \
24958 rm -f no-such-file || : ; \
24959 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24960 $(TARGET_CONFIGARGS) $${srcdiroption} \
24961 --with-target-subdir="$(TARGET_SUBDIR)" \
24963 @endif target-newlib
24965 .PHONY: all-target-newlib maybe-all-target-newlib
24966 maybe-all-target-newlib:
24968 TARGET-target-newlib=all
24969 maybe-all-target-newlib: all-target-newlib
24970 all-target-newlib: configure-target-newlib
24971 @r=`${PWD_COMMAND}`; export r; \
24972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24974 $(NORMAL_TARGET_EXPORTS) \
24975 (cd $(TARGET_SUBDIR)/newlib && \
24976 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
24977 @endif target-newlib
24979 .PHONY: check-target-newlib maybe-check-target-newlib
24980 maybe-check-target-newlib:
24982 maybe-check-target-newlib: check-target-newlib
24984 check-target-newlib:
24985 @r=`${PWD_COMMAND}`; export r; \
24986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24988 $(NORMAL_TARGET_EXPORTS) \
24989 (cd $(TARGET_SUBDIR)/newlib && \
24990 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24992 @endif target-newlib
24994 .PHONY: install-target-newlib maybe-install-target-newlib
24995 maybe-install-target-newlib:
24997 maybe-install-target-newlib: install-target-newlib
24999 install-target-newlib: installdirs
25000 @r=`${PWD_COMMAND}`; export r; \
25001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25003 $(NORMAL_TARGET_EXPORTS) \
25004 (cd $(TARGET_SUBDIR)/newlib && \
25005 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25007 @endif target-newlib
25009 # Other targets (info, dvi, etc.)
25011 .PHONY: maybe-info-target-newlib info-target-newlib
25012 maybe-info-target-newlib:
25014 maybe-info-target-newlib: info-target-newlib
25016 info-target-newlib: \
25017 configure-target-newlib
25018 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25019 r=`${PWD_COMMAND}`; export r; \
25020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25022 $(NORMAL_TARGET_EXPORTS) \
25023 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
25024 for flag in $(EXTRA_TARGET_FLAGS); do \
25025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25027 (cd $(TARGET_SUBDIR)/newlib && \
25028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25030 "RANLIB=$${RANLIB}" \
25031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25035 @endif target-newlib
25037 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
25038 maybe-dvi-target-newlib:
25040 maybe-dvi-target-newlib: dvi-target-newlib
25042 dvi-target-newlib: \
25043 configure-target-newlib
25044 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25045 r=`${PWD_COMMAND}`; export r; \
25046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25048 $(NORMAL_TARGET_EXPORTS) \
25049 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
25050 for flag in $(EXTRA_TARGET_FLAGS); do \
25051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25053 (cd $(TARGET_SUBDIR)/newlib && \
25054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25056 "RANLIB=$${RANLIB}" \
25057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25061 @endif target-newlib
25063 .PHONY: maybe-html-target-newlib html-target-newlib
25064 maybe-html-target-newlib:
25066 maybe-html-target-newlib: html-target-newlib
25068 html-target-newlib: \
25069 configure-target-newlib
25070 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25071 r=`${PWD_COMMAND}`; export r; \
25072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25074 $(NORMAL_TARGET_EXPORTS) \
25075 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
25076 for flag in $(EXTRA_TARGET_FLAGS); do \
25077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25079 (cd $(TARGET_SUBDIR)/newlib && \
25080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25082 "RANLIB=$${RANLIB}" \
25083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25087 @endif target-newlib
25089 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
25090 maybe-TAGS-target-newlib:
25092 maybe-TAGS-target-newlib: TAGS-target-newlib
25094 TAGS-target-newlib: \
25095 configure-target-newlib
25096 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25097 r=`${PWD_COMMAND}`; export r; \
25098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25100 $(NORMAL_TARGET_EXPORTS) \
25101 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
25102 for flag in $(EXTRA_TARGET_FLAGS); do \
25103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25105 (cd $(TARGET_SUBDIR)/newlib && \
25106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25108 "RANLIB=$${RANLIB}" \
25109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25113 @endif target-newlib
25115 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
25116 maybe-install-info-target-newlib:
25118 maybe-install-info-target-newlib: install-info-target-newlib
25120 install-info-target-newlib: \
25121 configure-target-newlib \
25123 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25124 r=`${PWD_COMMAND}`; export r; \
25125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25127 $(NORMAL_TARGET_EXPORTS) \
25128 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
25129 for flag in $(EXTRA_TARGET_FLAGS); do \
25130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25132 (cd $(TARGET_SUBDIR)/newlib && \
25133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25135 "RANLIB=$${RANLIB}" \
25136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25140 @endif target-newlib
25142 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
25143 maybe-installcheck-target-newlib:
25145 maybe-installcheck-target-newlib: installcheck-target-newlib
25147 installcheck-target-newlib: \
25148 configure-target-newlib
25149 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25150 r=`${PWD_COMMAND}`; export r; \
25151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25153 $(NORMAL_TARGET_EXPORTS) \
25154 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
25155 for flag in $(EXTRA_TARGET_FLAGS); do \
25156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25158 (cd $(TARGET_SUBDIR)/newlib && \
25159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25161 "RANLIB=$${RANLIB}" \
25162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25166 @endif target-newlib
25168 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
25169 maybe-mostlyclean-target-newlib:
25171 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
25173 mostlyclean-target-newlib:
25174 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25175 r=`${PWD_COMMAND}`; export r; \
25176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25178 $(NORMAL_TARGET_EXPORTS) \
25179 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
25180 for flag in $(EXTRA_TARGET_FLAGS); do \
25181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25183 (cd $(TARGET_SUBDIR)/newlib && \
25184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25186 "RANLIB=$${RANLIB}" \
25187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25191 @endif target-newlib
25193 .PHONY: maybe-clean-target-newlib clean-target-newlib
25194 maybe-clean-target-newlib:
25196 maybe-clean-target-newlib: clean-target-newlib
25198 clean-target-newlib:
25199 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25200 r=`${PWD_COMMAND}`; export r; \
25201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25203 $(NORMAL_TARGET_EXPORTS) \
25204 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
25205 for flag in $(EXTRA_TARGET_FLAGS); do \
25206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25208 (cd $(TARGET_SUBDIR)/newlib && \
25209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25211 "RANLIB=$${RANLIB}" \
25212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25216 @endif target-newlib
25218 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
25219 maybe-distclean-target-newlib:
25221 maybe-distclean-target-newlib: distclean-target-newlib
25223 distclean-target-newlib:
25224 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25225 r=`${PWD_COMMAND}`; export r; \
25226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25228 $(NORMAL_TARGET_EXPORTS) \
25229 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
25230 for flag in $(EXTRA_TARGET_FLAGS); do \
25231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25233 (cd $(TARGET_SUBDIR)/newlib && \
25234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25236 "RANLIB=$${RANLIB}" \
25237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25241 @endif target-newlib
25243 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
25244 maybe-maintainer-clean-target-newlib:
25246 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
25248 maintainer-clean-target-newlib:
25249 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25250 r=`${PWD_COMMAND}`; export r; \
25251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25253 $(NORMAL_TARGET_EXPORTS) \
25254 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
25255 for flag in $(EXTRA_TARGET_FLAGS); do \
25256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25258 (cd $(TARGET_SUBDIR)/newlib && \
25259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25261 "RANLIB=$${RANLIB}" \
25262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25263 maintainer-clean) \
25266 @endif target-newlib
25269 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
25270 maybe-configure-target-libgfortran:
25271 @if target-libgfortran
25272 maybe-configure-target-libgfortran: configure-target-libgfortran
25274 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25275 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
25276 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
25277 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
25278 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
25280 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
25281 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
25282 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
25283 r=`${PWD_COMMAND}`; export r; \
25284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25286 $(NORMAL_TARGET_EXPORTS) \
25287 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
25288 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
25289 case $(srcdir) in \
25290 /* | [A-Za-z]:[\\/]*) \
25291 topdir=$(srcdir) ;; \
25293 case "$(TARGET_SUBDIR)" in \
25294 .) topdir="../$(srcdir)" ;; \
25295 *) topdir="../../$(srcdir)" ;; \
25298 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
25299 libsrcdir="$$s/libgfortran"; \
25300 rm -f no-such-file || : ; \
25301 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25302 $(TARGET_CONFIGARGS) $${srcdiroption} \
25303 --with-target-subdir="$(TARGET_SUBDIR)" \
25305 @endif target-libgfortran
25307 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
25308 maybe-all-target-libgfortran:
25309 @if target-libgfortran
25310 TARGET-target-libgfortran=all
25311 maybe-all-target-libgfortran: all-target-libgfortran
25312 all-target-libgfortran: configure-target-libgfortran
25313 @r=`${PWD_COMMAND}`; export r; \
25314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25316 $(NORMAL_TARGET_EXPORTS) \
25317 (cd $(TARGET_SUBDIR)/libgfortran && \
25318 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
25319 @endif target-libgfortran
25321 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
25322 maybe-check-target-libgfortran:
25323 @if target-libgfortran
25324 maybe-check-target-libgfortran: check-target-libgfortran
25326 check-target-libgfortran:
25327 @r=`${PWD_COMMAND}`; export r; \
25328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25330 $(NORMAL_TARGET_EXPORTS) \
25331 (cd $(TARGET_SUBDIR)/libgfortran && \
25332 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25334 @endif target-libgfortran
25336 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
25337 maybe-install-target-libgfortran:
25338 @if target-libgfortran
25339 maybe-install-target-libgfortran: install-target-libgfortran
25341 install-target-libgfortran: installdirs
25342 @r=`${PWD_COMMAND}`; export r; \
25343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25345 $(NORMAL_TARGET_EXPORTS) \
25346 (cd $(TARGET_SUBDIR)/libgfortran && \
25347 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25349 @endif target-libgfortran
25351 # Other targets (info, dvi, etc.)
25353 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
25354 maybe-info-target-libgfortran:
25355 @if target-libgfortran
25356 maybe-info-target-libgfortran: info-target-libgfortran
25358 info-target-libgfortran: \
25359 configure-target-libgfortran
25360 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25361 r=`${PWD_COMMAND}`; export r; \
25362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25364 $(NORMAL_TARGET_EXPORTS) \
25365 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
25366 for flag in $(EXTRA_TARGET_FLAGS); do \
25367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25369 (cd $(TARGET_SUBDIR)/libgfortran && \
25370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25372 "RANLIB=$${RANLIB}" \
25373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25377 @endif target-libgfortran
25379 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
25380 maybe-dvi-target-libgfortran:
25381 @if target-libgfortran
25382 maybe-dvi-target-libgfortran: dvi-target-libgfortran
25384 dvi-target-libgfortran: \
25385 configure-target-libgfortran
25386 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25387 r=`${PWD_COMMAND}`; export r; \
25388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25390 $(NORMAL_TARGET_EXPORTS) \
25391 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
25392 for flag in $(EXTRA_TARGET_FLAGS); do \
25393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25395 (cd $(TARGET_SUBDIR)/libgfortran && \
25396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25398 "RANLIB=$${RANLIB}" \
25399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25403 @endif target-libgfortran
25405 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
25406 maybe-html-target-libgfortran:
25407 @if target-libgfortran
25408 maybe-html-target-libgfortran: html-target-libgfortran
25410 html-target-libgfortran: \
25411 configure-target-libgfortran
25412 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25413 r=`${PWD_COMMAND}`; export r; \
25414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25416 $(NORMAL_TARGET_EXPORTS) \
25417 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
25418 for flag in $(EXTRA_TARGET_FLAGS); do \
25419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25421 (cd $(TARGET_SUBDIR)/libgfortran && \
25422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25424 "RANLIB=$${RANLIB}" \
25425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25429 @endif target-libgfortran
25431 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
25432 maybe-TAGS-target-libgfortran:
25433 @if target-libgfortran
25434 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
25436 TAGS-target-libgfortran: \
25437 configure-target-libgfortran
25438 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25439 r=`${PWD_COMMAND}`; export r; \
25440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25442 $(NORMAL_TARGET_EXPORTS) \
25443 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
25444 for flag in $(EXTRA_TARGET_FLAGS); do \
25445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25447 (cd $(TARGET_SUBDIR)/libgfortran && \
25448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25450 "RANLIB=$${RANLIB}" \
25451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25455 @endif target-libgfortran
25457 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
25458 maybe-install-info-target-libgfortran:
25459 @if target-libgfortran
25460 maybe-install-info-target-libgfortran: install-info-target-libgfortran
25462 install-info-target-libgfortran: \
25463 configure-target-libgfortran \
25464 info-target-libgfortran
25465 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25466 r=`${PWD_COMMAND}`; export r; \
25467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25469 $(NORMAL_TARGET_EXPORTS) \
25470 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
25471 for flag in $(EXTRA_TARGET_FLAGS); do \
25472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25474 (cd $(TARGET_SUBDIR)/libgfortran && \
25475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25477 "RANLIB=$${RANLIB}" \
25478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25482 @endif target-libgfortran
25484 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
25485 maybe-installcheck-target-libgfortran:
25486 @if target-libgfortran
25487 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
25489 installcheck-target-libgfortran: \
25490 configure-target-libgfortran
25491 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25492 r=`${PWD_COMMAND}`; export r; \
25493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25495 $(NORMAL_TARGET_EXPORTS) \
25496 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
25497 for flag in $(EXTRA_TARGET_FLAGS); do \
25498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25500 (cd $(TARGET_SUBDIR)/libgfortran && \
25501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25503 "RANLIB=$${RANLIB}" \
25504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25508 @endif target-libgfortran
25510 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
25511 maybe-mostlyclean-target-libgfortran:
25512 @if target-libgfortran
25513 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
25515 mostlyclean-target-libgfortran:
25516 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25517 r=`${PWD_COMMAND}`; export r; \
25518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25520 $(NORMAL_TARGET_EXPORTS) \
25521 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
25522 for flag in $(EXTRA_TARGET_FLAGS); do \
25523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25525 (cd $(TARGET_SUBDIR)/libgfortran && \
25526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25528 "RANLIB=$${RANLIB}" \
25529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25533 @endif target-libgfortran
25535 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
25536 maybe-clean-target-libgfortran:
25537 @if target-libgfortran
25538 maybe-clean-target-libgfortran: clean-target-libgfortran
25540 clean-target-libgfortran:
25541 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25542 r=`${PWD_COMMAND}`; export r; \
25543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25545 $(NORMAL_TARGET_EXPORTS) \
25546 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
25547 for flag in $(EXTRA_TARGET_FLAGS); do \
25548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25550 (cd $(TARGET_SUBDIR)/libgfortran && \
25551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25553 "RANLIB=$${RANLIB}" \
25554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25558 @endif target-libgfortran
25560 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
25561 maybe-distclean-target-libgfortran:
25562 @if target-libgfortran
25563 maybe-distclean-target-libgfortran: distclean-target-libgfortran
25565 distclean-target-libgfortran:
25566 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25567 r=`${PWD_COMMAND}`; export r; \
25568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25570 $(NORMAL_TARGET_EXPORTS) \
25571 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
25572 for flag in $(EXTRA_TARGET_FLAGS); do \
25573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25575 (cd $(TARGET_SUBDIR)/libgfortran && \
25576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25578 "RANLIB=$${RANLIB}" \
25579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25583 @endif target-libgfortran
25585 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
25586 maybe-maintainer-clean-target-libgfortran:
25587 @if target-libgfortran
25588 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
25590 maintainer-clean-target-libgfortran:
25591 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25592 r=`${PWD_COMMAND}`; export r; \
25593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25595 $(NORMAL_TARGET_EXPORTS) \
25596 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
25597 for flag in $(EXTRA_TARGET_FLAGS); do \
25598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25600 (cd $(TARGET_SUBDIR)/libgfortran && \
25601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25603 "RANLIB=$${RANLIB}" \
25604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25605 maintainer-clean) \
25608 @endif target-libgfortran
25611 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
25612 maybe-configure-target-libobjc:
25614 maybe-configure-target-libobjc: configure-target-libobjc
25616 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25617 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
25618 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
25619 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
25620 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
25622 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
25623 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
25624 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
25625 r=`${PWD_COMMAND}`; export r; \
25626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25628 $(NORMAL_TARGET_EXPORTS) \
25629 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
25630 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
25631 case $(srcdir) in \
25632 /* | [A-Za-z]:[\\/]*) \
25633 topdir=$(srcdir) ;; \
25635 case "$(TARGET_SUBDIR)" in \
25636 .) topdir="../$(srcdir)" ;; \
25637 *) topdir="../../$(srcdir)" ;; \
25640 srcdiroption="--srcdir=$${topdir}/libobjc"; \
25641 libsrcdir="$$s/libobjc"; \
25642 rm -f no-such-file || : ; \
25643 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25644 $(TARGET_CONFIGARGS) $${srcdiroption} \
25645 --with-target-subdir="$(TARGET_SUBDIR)" \
25647 @endif target-libobjc
25649 .PHONY: all-target-libobjc maybe-all-target-libobjc
25650 maybe-all-target-libobjc:
25652 TARGET-target-libobjc=all
25653 maybe-all-target-libobjc: all-target-libobjc
25654 all-target-libobjc: configure-target-libobjc
25655 @r=`${PWD_COMMAND}`; export r; \
25656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25658 $(NORMAL_TARGET_EXPORTS) \
25659 (cd $(TARGET_SUBDIR)/libobjc && \
25660 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
25661 @endif target-libobjc
25663 .PHONY: check-target-libobjc maybe-check-target-libobjc
25664 maybe-check-target-libobjc:
25666 maybe-check-target-libobjc: check-target-libobjc
25668 check-target-libobjc:
25669 @r=`${PWD_COMMAND}`; export r; \
25670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25672 $(NORMAL_TARGET_EXPORTS) \
25673 (cd $(TARGET_SUBDIR)/libobjc && \
25674 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25676 @endif target-libobjc
25678 .PHONY: install-target-libobjc maybe-install-target-libobjc
25679 maybe-install-target-libobjc:
25681 maybe-install-target-libobjc: install-target-libobjc
25683 install-target-libobjc: installdirs
25684 @r=`${PWD_COMMAND}`; export r; \
25685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25687 $(NORMAL_TARGET_EXPORTS) \
25688 (cd $(TARGET_SUBDIR)/libobjc && \
25689 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25691 @endif target-libobjc
25693 # Other targets (info, dvi, etc.)
25695 .PHONY: maybe-info-target-libobjc info-target-libobjc
25696 maybe-info-target-libobjc:
25698 maybe-info-target-libobjc: info-target-libobjc
25700 info-target-libobjc: \
25701 configure-target-libobjc
25702 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25703 r=`${PWD_COMMAND}`; export r; \
25704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25706 $(NORMAL_TARGET_EXPORTS) \
25707 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
25708 for flag in $(EXTRA_TARGET_FLAGS); do \
25709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25711 (cd $(TARGET_SUBDIR)/libobjc && \
25712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25714 "RANLIB=$${RANLIB}" \
25715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25719 @endif target-libobjc
25721 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
25722 maybe-dvi-target-libobjc:
25724 maybe-dvi-target-libobjc: dvi-target-libobjc
25726 dvi-target-libobjc: \
25727 configure-target-libobjc
25728 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25729 r=`${PWD_COMMAND}`; export r; \
25730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25732 $(NORMAL_TARGET_EXPORTS) \
25733 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
25734 for flag in $(EXTRA_TARGET_FLAGS); do \
25735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25737 (cd $(TARGET_SUBDIR)/libobjc && \
25738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25740 "RANLIB=$${RANLIB}" \
25741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25745 @endif target-libobjc
25747 .PHONY: maybe-html-target-libobjc html-target-libobjc
25748 maybe-html-target-libobjc:
25750 maybe-html-target-libobjc: html-target-libobjc
25752 html-target-libobjc: \
25753 configure-target-libobjc
25754 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25755 r=`${PWD_COMMAND}`; export r; \
25756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25758 $(NORMAL_TARGET_EXPORTS) \
25759 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
25760 for flag in $(EXTRA_TARGET_FLAGS); do \
25761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25763 (cd $(TARGET_SUBDIR)/libobjc && \
25764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25766 "RANLIB=$${RANLIB}" \
25767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25771 @endif target-libobjc
25773 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
25774 maybe-TAGS-target-libobjc:
25776 maybe-TAGS-target-libobjc: TAGS-target-libobjc
25778 TAGS-target-libobjc: \
25779 configure-target-libobjc
25780 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25781 r=`${PWD_COMMAND}`; export r; \
25782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25784 $(NORMAL_TARGET_EXPORTS) \
25785 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
25786 for flag in $(EXTRA_TARGET_FLAGS); do \
25787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25789 (cd $(TARGET_SUBDIR)/libobjc && \
25790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25792 "RANLIB=$${RANLIB}" \
25793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25797 @endif target-libobjc
25799 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
25800 maybe-install-info-target-libobjc:
25802 maybe-install-info-target-libobjc: install-info-target-libobjc
25804 install-info-target-libobjc: \
25805 configure-target-libobjc \
25806 info-target-libobjc
25807 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25808 r=`${PWD_COMMAND}`; export r; \
25809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25811 $(NORMAL_TARGET_EXPORTS) \
25812 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
25813 for flag in $(EXTRA_TARGET_FLAGS); do \
25814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25816 (cd $(TARGET_SUBDIR)/libobjc && \
25817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25819 "RANLIB=$${RANLIB}" \
25820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25824 @endif target-libobjc
25826 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
25827 maybe-installcheck-target-libobjc:
25829 maybe-installcheck-target-libobjc: installcheck-target-libobjc
25831 installcheck-target-libobjc: \
25832 configure-target-libobjc
25833 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25834 r=`${PWD_COMMAND}`; export r; \
25835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25837 $(NORMAL_TARGET_EXPORTS) \
25838 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
25839 for flag in $(EXTRA_TARGET_FLAGS); do \
25840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25842 (cd $(TARGET_SUBDIR)/libobjc && \
25843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25845 "RANLIB=$${RANLIB}" \
25846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25850 @endif target-libobjc
25852 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
25853 maybe-mostlyclean-target-libobjc:
25855 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
25857 mostlyclean-target-libobjc:
25858 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25859 r=`${PWD_COMMAND}`; export r; \
25860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25862 $(NORMAL_TARGET_EXPORTS) \
25863 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
25864 for flag in $(EXTRA_TARGET_FLAGS); do \
25865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25867 (cd $(TARGET_SUBDIR)/libobjc && \
25868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25870 "RANLIB=$${RANLIB}" \
25871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25875 @endif target-libobjc
25877 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
25878 maybe-clean-target-libobjc:
25880 maybe-clean-target-libobjc: clean-target-libobjc
25882 clean-target-libobjc:
25883 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25884 r=`${PWD_COMMAND}`; export r; \
25885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25887 $(NORMAL_TARGET_EXPORTS) \
25888 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
25889 for flag in $(EXTRA_TARGET_FLAGS); do \
25890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25892 (cd $(TARGET_SUBDIR)/libobjc && \
25893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25895 "RANLIB=$${RANLIB}" \
25896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25900 @endif target-libobjc
25902 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
25903 maybe-distclean-target-libobjc:
25905 maybe-distclean-target-libobjc: distclean-target-libobjc
25907 distclean-target-libobjc:
25908 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25909 r=`${PWD_COMMAND}`; export r; \
25910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25912 $(NORMAL_TARGET_EXPORTS) \
25913 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
25914 for flag in $(EXTRA_TARGET_FLAGS); do \
25915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25917 (cd $(TARGET_SUBDIR)/libobjc && \
25918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25920 "RANLIB=$${RANLIB}" \
25921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25925 @endif target-libobjc
25927 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
25928 maybe-maintainer-clean-target-libobjc:
25930 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
25932 maintainer-clean-target-libobjc:
25933 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25934 r=`${PWD_COMMAND}`; export r; \
25935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25937 $(NORMAL_TARGET_EXPORTS) \
25938 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
25939 for flag in $(EXTRA_TARGET_FLAGS); do \
25940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25942 (cd $(TARGET_SUBDIR)/libobjc && \
25943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25945 "RANLIB=$${RANLIB}" \
25946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25947 maintainer-clean) \
25950 @endif target-libobjc
25953 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
25954 maybe-configure-target-libtermcap:
25955 @if target-libtermcap
25956 maybe-configure-target-libtermcap: configure-target-libtermcap
25958 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25959 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
25960 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
25961 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
25962 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
25964 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
25965 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
25966 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
25967 r=`${PWD_COMMAND}`; export r; \
25968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25970 $(NORMAL_TARGET_EXPORTS) \
25971 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
25972 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
25973 case $(srcdir) in \
25974 /* | [A-Za-z]:[\\/]*) \
25975 topdir=$(srcdir) ;; \
25977 case "$(TARGET_SUBDIR)" in \
25978 .) topdir="../$(srcdir)" ;; \
25979 *) topdir="../../$(srcdir)" ;; \
25982 if [ "$(srcdir)" = "." ] ; then \
25983 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
25984 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
25985 if [ -f Makefile ]; then \
25986 if $(MAKE) distclean; then \
26000 srcdiroption="--srcdir=."; \
26003 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
26004 libsrcdir="$$s/libtermcap"; \
26006 rm -f no-such-file || : ; \
26007 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26008 $(TARGET_CONFIGARGS) $${srcdiroption} \
26009 --with-target-subdir="$(TARGET_SUBDIR)" \
26011 @endif target-libtermcap
26013 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
26014 maybe-all-target-libtermcap:
26015 @if target-libtermcap
26016 TARGET-target-libtermcap=all
26017 maybe-all-target-libtermcap: all-target-libtermcap
26018 all-target-libtermcap: configure-target-libtermcap
26019 @r=`${PWD_COMMAND}`; export r; \
26020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26022 $(NORMAL_TARGET_EXPORTS) \
26023 (cd $(TARGET_SUBDIR)/libtermcap && \
26024 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
26025 @endif target-libtermcap
26027 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
26028 maybe-check-target-libtermcap:
26029 @if target-libtermcap
26030 maybe-check-target-libtermcap: check-target-libtermcap
26032 # Dummy target for uncheckable module.
26033 check-target-libtermcap:
26035 @endif target-libtermcap
26037 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
26038 maybe-install-target-libtermcap:
26039 @if target-libtermcap
26040 maybe-install-target-libtermcap: install-target-libtermcap
26042 install-target-libtermcap: installdirs
26043 @r=`${PWD_COMMAND}`; export r; \
26044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26046 $(NORMAL_TARGET_EXPORTS) \
26047 (cd $(TARGET_SUBDIR)/libtermcap && \
26048 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26050 @endif target-libtermcap
26052 # Other targets (info, dvi, etc.)
26054 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
26055 maybe-info-target-libtermcap:
26056 @if target-libtermcap
26057 maybe-info-target-libtermcap: info-target-libtermcap
26059 info-target-libtermcap: \
26060 configure-target-libtermcap
26061 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26062 r=`${PWD_COMMAND}`; export r; \
26063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26065 $(NORMAL_TARGET_EXPORTS) \
26066 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
26067 for flag in $(EXTRA_TARGET_FLAGS); do \
26068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26070 (cd $(TARGET_SUBDIR)/libtermcap && \
26071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26073 "RANLIB=$${RANLIB}" \
26074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26078 @endif target-libtermcap
26080 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
26081 maybe-dvi-target-libtermcap:
26082 @if target-libtermcap
26083 maybe-dvi-target-libtermcap: dvi-target-libtermcap
26085 dvi-target-libtermcap: \
26086 configure-target-libtermcap
26087 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26088 r=`${PWD_COMMAND}`; export r; \
26089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26091 $(NORMAL_TARGET_EXPORTS) \
26092 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
26093 for flag in $(EXTRA_TARGET_FLAGS); do \
26094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26096 (cd $(TARGET_SUBDIR)/libtermcap && \
26097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26099 "RANLIB=$${RANLIB}" \
26100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26104 @endif target-libtermcap
26106 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
26107 maybe-html-target-libtermcap:
26108 @if target-libtermcap
26109 maybe-html-target-libtermcap: html-target-libtermcap
26111 html-target-libtermcap: \
26112 configure-target-libtermcap
26113 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26114 r=`${PWD_COMMAND}`; export r; \
26115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26117 $(NORMAL_TARGET_EXPORTS) \
26118 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
26119 for flag in $(EXTRA_TARGET_FLAGS); do \
26120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26122 (cd $(TARGET_SUBDIR)/libtermcap && \
26123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26125 "RANLIB=$${RANLIB}" \
26126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26130 @endif target-libtermcap
26132 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
26133 maybe-TAGS-target-libtermcap:
26134 @if target-libtermcap
26135 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
26137 TAGS-target-libtermcap: \
26138 configure-target-libtermcap
26139 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26140 r=`${PWD_COMMAND}`; export r; \
26141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26143 $(NORMAL_TARGET_EXPORTS) \
26144 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
26145 for flag in $(EXTRA_TARGET_FLAGS); do \
26146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26148 (cd $(TARGET_SUBDIR)/libtermcap && \
26149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26151 "RANLIB=$${RANLIB}" \
26152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26156 @endif target-libtermcap
26158 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
26159 maybe-install-info-target-libtermcap:
26160 @if target-libtermcap
26161 maybe-install-info-target-libtermcap: install-info-target-libtermcap
26163 install-info-target-libtermcap: \
26164 configure-target-libtermcap \
26165 info-target-libtermcap
26166 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26167 r=`${PWD_COMMAND}`; export r; \
26168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26170 $(NORMAL_TARGET_EXPORTS) \
26171 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
26172 for flag in $(EXTRA_TARGET_FLAGS); do \
26173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26175 (cd $(TARGET_SUBDIR)/libtermcap && \
26176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26178 "RANLIB=$${RANLIB}" \
26179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26183 @endif target-libtermcap
26185 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
26186 maybe-installcheck-target-libtermcap:
26187 @if target-libtermcap
26188 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
26190 installcheck-target-libtermcap: \
26191 configure-target-libtermcap
26192 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26193 r=`${PWD_COMMAND}`; export r; \
26194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26196 $(NORMAL_TARGET_EXPORTS) \
26197 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
26198 for flag in $(EXTRA_TARGET_FLAGS); do \
26199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26201 (cd $(TARGET_SUBDIR)/libtermcap && \
26202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26204 "RANLIB=$${RANLIB}" \
26205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26209 @endif target-libtermcap
26211 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
26212 maybe-mostlyclean-target-libtermcap:
26213 @if target-libtermcap
26214 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
26216 # libtermcap doesn't support mostlyclean.
26217 mostlyclean-target-libtermcap:
26219 @endif target-libtermcap
26221 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
26222 maybe-clean-target-libtermcap:
26223 @if target-libtermcap
26224 maybe-clean-target-libtermcap: clean-target-libtermcap
26226 # libtermcap doesn't support clean.
26227 clean-target-libtermcap:
26229 @endif target-libtermcap
26231 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
26232 maybe-distclean-target-libtermcap:
26233 @if target-libtermcap
26234 maybe-distclean-target-libtermcap: distclean-target-libtermcap
26236 # libtermcap doesn't support distclean.
26237 distclean-target-libtermcap:
26239 @endif target-libtermcap
26241 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
26242 maybe-maintainer-clean-target-libtermcap:
26243 @if target-libtermcap
26244 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
26246 # libtermcap doesn't support maintainer-clean.
26247 maintainer-clean-target-libtermcap:
26249 @endif target-libtermcap
26252 .PHONY: configure-target-winsup maybe-configure-target-winsup
26253 maybe-configure-target-winsup:
26255 maybe-configure-target-winsup: configure-target-winsup
26257 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26258 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
26259 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
26260 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
26261 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
26263 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
26264 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
26265 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
26266 r=`${PWD_COMMAND}`; export r; \
26267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26269 $(NORMAL_TARGET_EXPORTS) \
26270 echo Configuring in $(TARGET_SUBDIR)/winsup; \
26271 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
26272 case $(srcdir) in \
26273 /* | [A-Za-z]:[\\/]*) \
26274 topdir=$(srcdir) ;; \
26276 case "$(TARGET_SUBDIR)" in \
26277 .) topdir="../$(srcdir)" ;; \
26278 *) topdir="../../$(srcdir)" ;; \
26281 srcdiroption="--srcdir=$${topdir}/winsup"; \
26282 libsrcdir="$$s/winsup"; \
26283 rm -f no-such-file || : ; \
26284 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26285 $(TARGET_CONFIGARGS) $${srcdiroption} \
26286 --with-target-subdir="$(TARGET_SUBDIR)" \
26288 @endif target-winsup
26290 .PHONY: all-target-winsup maybe-all-target-winsup
26291 maybe-all-target-winsup:
26293 TARGET-target-winsup=all
26294 maybe-all-target-winsup: all-target-winsup
26295 all-target-winsup: configure-target-winsup
26296 @r=`${PWD_COMMAND}`; export r; \
26297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26299 $(NORMAL_TARGET_EXPORTS) \
26300 (cd $(TARGET_SUBDIR)/winsup && \
26301 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
26302 @endif target-winsup
26304 .PHONY: check-target-winsup maybe-check-target-winsup
26305 maybe-check-target-winsup:
26307 maybe-check-target-winsup: check-target-winsup
26309 check-target-winsup:
26310 @r=`${PWD_COMMAND}`; export r; \
26311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26313 $(NORMAL_TARGET_EXPORTS) \
26314 (cd $(TARGET_SUBDIR)/winsup && \
26315 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26317 @endif target-winsup
26319 .PHONY: install-target-winsup maybe-install-target-winsup
26320 maybe-install-target-winsup:
26322 maybe-install-target-winsup: install-target-winsup
26324 install-target-winsup: installdirs
26325 @r=`${PWD_COMMAND}`; export r; \
26326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26328 $(NORMAL_TARGET_EXPORTS) \
26329 (cd $(TARGET_SUBDIR)/winsup && \
26330 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26332 @endif target-winsup
26334 # Other targets (info, dvi, etc.)
26336 .PHONY: maybe-info-target-winsup info-target-winsup
26337 maybe-info-target-winsup:
26339 maybe-info-target-winsup: info-target-winsup
26341 info-target-winsup: \
26342 configure-target-winsup
26343 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26344 r=`${PWD_COMMAND}`; export r; \
26345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26347 $(NORMAL_TARGET_EXPORTS) \
26348 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
26349 for flag in $(EXTRA_TARGET_FLAGS); do \
26350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26352 (cd $(TARGET_SUBDIR)/winsup && \
26353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26355 "RANLIB=$${RANLIB}" \
26356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26360 @endif target-winsup
26362 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
26363 maybe-dvi-target-winsup:
26365 maybe-dvi-target-winsup: dvi-target-winsup
26367 dvi-target-winsup: \
26368 configure-target-winsup
26369 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26370 r=`${PWD_COMMAND}`; export r; \
26371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26373 $(NORMAL_TARGET_EXPORTS) \
26374 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
26375 for flag in $(EXTRA_TARGET_FLAGS); do \
26376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26378 (cd $(TARGET_SUBDIR)/winsup && \
26379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26381 "RANLIB=$${RANLIB}" \
26382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26386 @endif target-winsup
26388 .PHONY: maybe-html-target-winsup html-target-winsup
26389 maybe-html-target-winsup:
26391 maybe-html-target-winsup: html-target-winsup
26393 html-target-winsup: \
26394 configure-target-winsup
26395 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26396 r=`${PWD_COMMAND}`; export r; \
26397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26399 $(NORMAL_TARGET_EXPORTS) \
26400 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
26401 for flag in $(EXTRA_TARGET_FLAGS); do \
26402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26404 (cd $(TARGET_SUBDIR)/winsup && \
26405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26407 "RANLIB=$${RANLIB}" \
26408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26412 @endif target-winsup
26414 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
26415 maybe-TAGS-target-winsup:
26417 maybe-TAGS-target-winsup: TAGS-target-winsup
26419 TAGS-target-winsup: \
26420 configure-target-winsup
26421 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26422 r=`${PWD_COMMAND}`; export r; \
26423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26425 $(NORMAL_TARGET_EXPORTS) \
26426 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
26427 for flag in $(EXTRA_TARGET_FLAGS); do \
26428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26430 (cd $(TARGET_SUBDIR)/winsup && \
26431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26433 "RANLIB=$${RANLIB}" \
26434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26438 @endif target-winsup
26440 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
26441 maybe-install-info-target-winsup:
26443 maybe-install-info-target-winsup: install-info-target-winsup
26445 install-info-target-winsup: \
26446 configure-target-winsup \
26448 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26449 r=`${PWD_COMMAND}`; export r; \
26450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26452 $(NORMAL_TARGET_EXPORTS) \
26453 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
26454 for flag in $(EXTRA_TARGET_FLAGS); do \
26455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26457 (cd $(TARGET_SUBDIR)/winsup && \
26458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26460 "RANLIB=$${RANLIB}" \
26461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26465 @endif target-winsup
26467 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
26468 maybe-installcheck-target-winsup:
26470 maybe-installcheck-target-winsup: installcheck-target-winsup
26472 installcheck-target-winsup: \
26473 configure-target-winsup
26474 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26475 r=`${PWD_COMMAND}`; export r; \
26476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26478 $(NORMAL_TARGET_EXPORTS) \
26479 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
26480 for flag in $(EXTRA_TARGET_FLAGS); do \
26481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26483 (cd $(TARGET_SUBDIR)/winsup && \
26484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26486 "RANLIB=$${RANLIB}" \
26487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26491 @endif target-winsup
26493 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
26494 maybe-mostlyclean-target-winsup:
26496 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
26498 mostlyclean-target-winsup:
26499 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26500 r=`${PWD_COMMAND}`; export r; \
26501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26503 $(NORMAL_TARGET_EXPORTS) \
26504 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
26505 for flag in $(EXTRA_TARGET_FLAGS); do \
26506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26508 (cd $(TARGET_SUBDIR)/winsup && \
26509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26511 "RANLIB=$${RANLIB}" \
26512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26516 @endif target-winsup
26518 .PHONY: maybe-clean-target-winsup clean-target-winsup
26519 maybe-clean-target-winsup:
26521 maybe-clean-target-winsup: clean-target-winsup
26523 clean-target-winsup:
26524 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26525 r=`${PWD_COMMAND}`; export r; \
26526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26528 $(NORMAL_TARGET_EXPORTS) \
26529 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
26530 for flag in $(EXTRA_TARGET_FLAGS); do \
26531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26533 (cd $(TARGET_SUBDIR)/winsup && \
26534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26536 "RANLIB=$${RANLIB}" \
26537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26541 @endif target-winsup
26543 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
26544 maybe-distclean-target-winsup:
26546 maybe-distclean-target-winsup: distclean-target-winsup
26548 distclean-target-winsup:
26549 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26550 r=`${PWD_COMMAND}`; export r; \
26551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26553 $(NORMAL_TARGET_EXPORTS) \
26554 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
26555 for flag in $(EXTRA_TARGET_FLAGS); do \
26556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26558 (cd $(TARGET_SUBDIR)/winsup && \
26559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26561 "RANLIB=$${RANLIB}" \
26562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26566 @endif target-winsup
26568 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
26569 maybe-maintainer-clean-target-winsup:
26571 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
26573 maintainer-clean-target-winsup:
26574 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26575 r=`${PWD_COMMAND}`; export r; \
26576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26578 $(NORMAL_TARGET_EXPORTS) \
26579 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
26580 for flag in $(EXTRA_TARGET_FLAGS); do \
26581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26583 (cd $(TARGET_SUBDIR)/winsup && \
26584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26586 "RANLIB=$${RANLIB}" \
26587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26588 maintainer-clean) \
26591 @endif target-winsup
26594 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
26595 maybe-configure-target-libgloss:
26596 @if target-libgloss
26597 maybe-configure-target-libgloss: configure-target-libgloss
26599 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26600 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
26601 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
26602 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
26603 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
26605 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
26606 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
26607 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
26608 r=`${PWD_COMMAND}`; export r; \
26609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26611 $(NORMAL_TARGET_EXPORTS) \
26612 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
26613 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
26614 case $(srcdir) in \
26615 /* | [A-Za-z]:[\\/]*) \
26616 topdir=$(srcdir) ;; \
26618 case "$(TARGET_SUBDIR)" in \
26619 .) topdir="../$(srcdir)" ;; \
26620 *) topdir="../../$(srcdir)" ;; \
26623 srcdiroption="--srcdir=$${topdir}/libgloss"; \
26624 libsrcdir="$$s/libgloss"; \
26625 rm -f no-such-file || : ; \
26626 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26627 $(TARGET_CONFIGARGS) $${srcdiroption} \
26628 --with-target-subdir="$(TARGET_SUBDIR)" \
26630 @endif target-libgloss
26632 .PHONY: all-target-libgloss maybe-all-target-libgloss
26633 maybe-all-target-libgloss:
26634 @if target-libgloss
26635 TARGET-target-libgloss=all
26636 maybe-all-target-libgloss: all-target-libgloss
26637 all-target-libgloss: configure-target-libgloss
26638 @r=`${PWD_COMMAND}`; export r; \
26639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26641 $(NORMAL_TARGET_EXPORTS) \
26642 (cd $(TARGET_SUBDIR)/libgloss && \
26643 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
26644 @endif target-libgloss
26646 .PHONY: check-target-libgloss maybe-check-target-libgloss
26647 maybe-check-target-libgloss:
26648 @if target-libgloss
26649 maybe-check-target-libgloss: check-target-libgloss
26651 # Dummy target for uncheckable module.
26652 check-target-libgloss:
26654 @endif target-libgloss
26656 .PHONY: install-target-libgloss maybe-install-target-libgloss
26657 maybe-install-target-libgloss:
26658 @if target-libgloss
26659 maybe-install-target-libgloss: install-target-libgloss
26661 install-target-libgloss: installdirs
26662 @r=`${PWD_COMMAND}`; export r; \
26663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26665 $(NORMAL_TARGET_EXPORTS) \
26666 (cd $(TARGET_SUBDIR)/libgloss && \
26667 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26669 @endif target-libgloss
26671 # Other targets (info, dvi, etc.)
26673 .PHONY: maybe-info-target-libgloss info-target-libgloss
26674 maybe-info-target-libgloss:
26675 @if target-libgloss
26676 maybe-info-target-libgloss: info-target-libgloss
26678 info-target-libgloss: \
26679 configure-target-libgloss
26680 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26681 r=`${PWD_COMMAND}`; export r; \
26682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26684 $(NORMAL_TARGET_EXPORTS) \
26685 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
26686 for flag in $(EXTRA_TARGET_FLAGS); do \
26687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26689 (cd $(TARGET_SUBDIR)/libgloss && \
26690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26692 "RANLIB=$${RANLIB}" \
26693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26697 @endif target-libgloss
26699 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
26700 maybe-dvi-target-libgloss:
26701 @if target-libgloss
26702 maybe-dvi-target-libgloss: dvi-target-libgloss
26704 dvi-target-libgloss: \
26705 configure-target-libgloss
26706 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26707 r=`${PWD_COMMAND}`; export r; \
26708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26710 $(NORMAL_TARGET_EXPORTS) \
26711 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
26712 for flag in $(EXTRA_TARGET_FLAGS); do \
26713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26715 (cd $(TARGET_SUBDIR)/libgloss && \
26716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26718 "RANLIB=$${RANLIB}" \
26719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26723 @endif target-libgloss
26725 .PHONY: maybe-html-target-libgloss html-target-libgloss
26726 maybe-html-target-libgloss:
26727 @if target-libgloss
26728 maybe-html-target-libgloss: html-target-libgloss
26730 html-target-libgloss: \
26731 configure-target-libgloss
26732 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26733 r=`${PWD_COMMAND}`; export r; \
26734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26736 $(NORMAL_TARGET_EXPORTS) \
26737 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
26738 for flag in $(EXTRA_TARGET_FLAGS); do \
26739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26741 (cd $(TARGET_SUBDIR)/libgloss && \
26742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26744 "RANLIB=$${RANLIB}" \
26745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26749 @endif target-libgloss
26751 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
26752 maybe-TAGS-target-libgloss:
26753 @if target-libgloss
26754 maybe-TAGS-target-libgloss: TAGS-target-libgloss
26756 TAGS-target-libgloss: \
26757 configure-target-libgloss
26758 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26759 r=`${PWD_COMMAND}`; export r; \
26760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26762 $(NORMAL_TARGET_EXPORTS) \
26763 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
26764 for flag in $(EXTRA_TARGET_FLAGS); do \
26765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26767 (cd $(TARGET_SUBDIR)/libgloss && \
26768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26770 "RANLIB=$${RANLIB}" \
26771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26775 @endif target-libgloss
26777 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
26778 maybe-install-info-target-libgloss:
26779 @if target-libgloss
26780 maybe-install-info-target-libgloss: install-info-target-libgloss
26782 install-info-target-libgloss: \
26783 configure-target-libgloss \
26784 info-target-libgloss
26785 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26786 r=`${PWD_COMMAND}`; export r; \
26787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26789 $(NORMAL_TARGET_EXPORTS) \
26790 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
26791 for flag in $(EXTRA_TARGET_FLAGS); do \
26792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26794 (cd $(TARGET_SUBDIR)/libgloss && \
26795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26797 "RANLIB=$${RANLIB}" \
26798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26802 @endif target-libgloss
26804 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
26805 maybe-installcheck-target-libgloss:
26806 @if target-libgloss
26807 maybe-installcheck-target-libgloss: installcheck-target-libgloss
26809 installcheck-target-libgloss: \
26810 configure-target-libgloss
26811 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26812 r=`${PWD_COMMAND}`; export r; \
26813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26815 $(NORMAL_TARGET_EXPORTS) \
26816 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
26817 for flag in $(EXTRA_TARGET_FLAGS); do \
26818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26820 (cd $(TARGET_SUBDIR)/libgloss && \
26821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26823 "RANLIB=$${RANLIB}" \
26824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26828 @endif target-libgloss
26830 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
26831 maybe-mostlyclean-target-libgloss:
26832 @if target-libgloss
26833 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
26835 mostlyclean-target-libgloss:
26836 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26837 r=`${PWD_COMMAND}`; export r; \
26838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26840 $(NORMAL_TARGET_EXPORTS) \
26841 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
26842 for flag in $(EXTRA_TARGET_FLAGS); do \
26843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26845 (cd $(TARGET_SUBDIR)/libgloss && \
26846 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26847 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26848 "RANLIB=$${RANLIB}" \
26849 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26853 @endif target-libgloss
26855 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
26856 maybe-clean-target-libgloss:
26857 @if target-libgloss
26858 maybe-clean-target-libgloss: clean-target-libgloss
26860 clean-target-libgloss:
26861 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26862 r=`${PWD_COMMAND}`; export r; \
26863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26865 $(NORMAL_TARGET_EXPORTS) \
26866 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
26867 for flag in $(EXTRA_TARGET_FLAGS); do \
26868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26870 (cd $(TARGET_SUBDIR)/libgloss && \
26871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26873 "RANLIB=$${RANLIB}" \
26874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26878 @endif target-libgloss
26880 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
26881 maybe-distclean-target-libgloss:
26882 @if target-libgloss
26883 maybe-distclean-target-libgloss: distclean-target-libgloss
26885 distclean-target-libgloss:
26886 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26887 r=`${PWD_COMMAND}`; export r; \
26888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26890 $(NORMAL_TARGET_EXPORTS) \
26891 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
26892 for flag in $(EXTRA_TARGET_FLAGS); do \
26893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26895 (cd $(TARGET_SUBDIR)/libgloss && \
26896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26898 "RANLIB=$${RANLIB}" \
26899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26903 @endif target-libgloss
26905 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
26906 maybe-maintainer-clean-target-libgloss:
26907 @if target-libgloss
26908 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
26910 maintainer-clean-target-libgloss:
26911 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26912 r=`${PWD_COMMAND}`; export r; \
26913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26915 $(NORMAL_TARGET_EXPORTS) \
26916 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
26917 for flag in $(EXTRA_TARGET_FLAGS); do \
26918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26920 (cd $(TARGET_SUBDIR)/libgloss && \
26921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26923 "RANLIB=$${RANLIB}" \
26924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26925 maintainer-clean) \
26928 @endif target-libgloss
26931 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
26932 maybe-configure-target-libiberty:
26933 @if target-libiberty
26934 maybe-configure-target-libiberty: configure-target-libiberty
26936 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26937 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
26938 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
26939 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
26940 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
26942 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
26943 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
26944 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
26945 r=`${PWD_COMMAND}`; export r; \
26946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26948 $(NORMAL_TARGET_EXPORTS) \
26949 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
26950 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
26951 case $(srcdir) in \
26952 /* | [A-Za-z]:[\\/]*) \
26953 topdir=$(srcdir) ;; \
26955 case "$(TARGET_SUBDIR)" in \
26956 .) topdir="../$(srcdir)" ;; \
26957 *) topdir="../../$(srcdir)" ;; \
26960 srcdiroption="--srcdir=$${topdir}/libiberty"; \
26961 libsrcdir="$$s/libiberty"; \
26962 rm -f no-such-file || : ; \
26963 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26964 $(TARGET_CONFIGARGS) $${srcdiroption} \
26965 --with-target-subdir="$(TARGET_SUBDIR)" \
26967 @endif target-libiberty
26969 .PHONY: all-target-libiberty maybe-all-target-libiberty
26970 maybe-all-target-libiberty:
26971 @if target-libiberty
26972 TARGET-target-libiberty=all
26973 maybe-all-target-libiberty: all-target-libiberty
26974 all-target-libiberty: configure-target-libiberty
26975 @r=`${PWD_COMMAND}`; export r; \
26976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26978 $(NORMAL_TARGET_EXPORTS) \
26979 (cd $(TARGET_SUBDIR)/libiberty && \
26980 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
26981 @endif target-libiberty
26983 .PHONY: check-target-libiberty maybe-check-target-libiberty
26984 maybe-check-target-libiberty:
26985 @if target-libiberty
26986 maybe-check-target-libiberty: check-target-libiberty
26988 check-target-libiberty:
26989 @r=`${PWD_COMMAND}`; export r; \
26990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26992 $(NORMAL_TARGET_EXPORTS) \
26993 (cd $(TARGET_SUBDIR)/libiberty && \
26994 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26996 @endif target-libiberty
26998 .PHONY: install-target-libiberty maybe-install-target-libiberty
26999 maybe-install-target-libiberty:
27000 @if target-libiberty
27001 maybe-install-target-libiberty: install-target-libiberty
27003 install-target-libiberty: installdirs
27004 @r=`${PWD_COMMAND}`; export r; \
27005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27007 $(NORMAL_TARGET_EXPORTS) \
27008 (cd $(TARGET_SUBDIR)/libiberty && \
27009 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27011 @endif target-libiberty
27013 # Other targets (info, dvi, etc.)
27015 .PHONY: maybe-info-target-libiberty info-target-libiberty
27016 maybe-info-target-libiberty:
27017 @if target-libiberty
27018 maybe-info-target-libiberty: info-target-libiberty
27020 info-target-libiberty: \
27021 configure-target-libiberty
27022 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27023 r=`${PWD_COMMAND}`; export r; \
27024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27026 $(NORMAL_TARGET_EXPORTS) \
27027 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
27028 for flag in $(EXTRA_TARGET_FLAGS); do \
27029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27031 (cd $(TARGET_SUBDIR)/libiberty && \
27032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27034 "RANLIB=$${RANLIB}" \
27035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27039 @endif target-libiberty
27041 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
27042 maybe-dvi-target-libiberty:
27043 @if target-libiberty
27044 maybe-dvi-target-libiberty: dvi-target-libiberty
27046 dvi-target-libiberty: \
27047 configure-target-libiberty
27048 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27049 r=`${PWD_COMMAND}`; export r; \
27050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27052 $(NORMAL_TARGET_EXPORTS) \
27053 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
27054 for flag in $(EXTRA_TARGET_FLAGS); do \
27055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27057 (cd $(TARGET_SUBDIR)/libiberty && \
27058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27060 "RANLIB=$${RANLIB}" \
27061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27065 @endif target-libiberty
27067 .PHONY: maybe-html-target-libiberty html-target-libiberty
27068 maybe-html-target-libiberty:
27069 @if target-libiberty
27070 maybe-html-target-libiberty: html-target-libiberty
27072 html-target-libiberty: \
27073 configure-target-libiberty
27074 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27075 r=`${PWD_COMMAND}`; export r; \
27076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27078 $(NORMAL_TARGET_EXPORTS) \
27079 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
27080 for flag in $(EXTRA_TARGET_FLAGS); do \
27081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27083 (cd $(TARGET_SUBDIR)/libiberty && \
27084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27086 "RANLIB=$${RANLIB}" \
27087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27091 @endif target-libiberty
27093 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
27094 maybe-TAGS-target-libiberty:
27095 @if target-libiberty
27096 maybe-TAGS-target-libiberty: TAGS-target-libiberty
27098 TAGS-target-libiberty: \
27099 configure-target-libiberty
27100 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27101 r=`${PWD_COMMAND}`; export r; \
27102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27104 $(NORMAL_TARGET_EXPORTS) \
27105 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
27106 for flag in $(EXTRA_TARGET_FLAGS); do \
27107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27109 (cd $(TARGET_SUBDIR)/libiberty && \
27110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27112 "RANLIB=$${RANLIB}" \
27113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27117 @endif target-libiberty
27119 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
27120 maybe-install-info-target-libiberty:
27121 @if target-libiberty
27122 maybe-install-info-target-libiberty: install-info-target-libiberty
27124 install-info-target-libiberty: \
27125 configure-target-libiberty \
27126 info-target-libiberty
27127 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27128 r=`${PWD_COMMAND}`; export r; \
27129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27131 $(NORMAL_TARGET_EXPORTS) \
27132 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
27133 for flag in $(EXTRA_TARGET_FLAGS); do \
27134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27136 (cd $(TARGET_SUBDIR)/libiberty && \
27137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27139 "RANLIB=$${RANLIB}" \
27140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27144 @endif target-libiberty
27146 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
27147 maybe-installcheck-target-libiberty:
27148 @if target-libiberty
27149 maybe-installcheck-target-libiberty: installcheck-target-libiberty
27151 installcheck-target-libiberty: \
27152 configure-target-libiberty
27153 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27154 r=`${PWD_COMMAND}`; export r; \
27155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27157 $(NORMAL_TARGET_EXPORTS) \
27158 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
27159 for flag in $(EXTRA_TARGET_FLAGS); do \
27160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27162 (cd $(TARGET_SUBDIR)/libiberty && \
27163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27165 "RANLIB=$${RANLIB}" \
27166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27170 @endif target-libiberty
27172 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
27173 maybe-mostlyclean-target-libiberty:
27174 @if target-libiberty
27175 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
27177 mostlyclean-target-libiberty:
27178 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27179 r=`${PWD_COMMAND}`; export r; \
27180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27182 $(NORMAL_TARGET_EXPORTS) \
27183 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
27184 for flag in $(EXTRA_TARGET_FLAGS); do \
27185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27187 (cd $(TARGET_SUBDIR)/libiberty && \
27188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27190 "RANLIB=$${RANLIB}" \
27191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27195 @endif target-libiberty
27197 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
27198 maybe-clean-target-libiberty:
27199 @if target-libiberty
27200 maybe-clean-target-libiberty: clean-target-libiberty
27202 clean-target-libiberty:
27203 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27204 r=`${PWD_COMMAND}`; export r; \
27205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27207 $(NORMAL_TARGET_EXPORTS) \
27208 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
27209 for flag in $(EXTRA_TARGET_FLAGS); do \
27210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27212 (cd $(TARGET_SUBDIR)/libiberty && \
27213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27215 "RANLIB=$${RANLIB}" \
27216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27220 @endif target-libiberty
27222 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
27223 maybe-distclean-target-libiberty:
27224 @if target-libiberty
27225 maybe-distclean-target-libiberty: distclean-target-libiberty
27227 distclean-target-libiberty:
27228 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27229 r=`${PWD_COMMAND}`; export r; \
27230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27232 $(NORMAL_TARGET_EXPORTS) \
27233 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
27234 for flag in $(EXTRA_TARGET_FLAGS); do \
27235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27237 (cd $(TARGET_SUBDIR)/libiberty && \
27238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27240 "RANLIB=$${RANLIB}" \
27241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27245 @endif target-libiberty
27247 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
27248 maybe-maintainer-clean-target-libiberty:
27249 @if target-libiberty
27250 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
27252 maintainer-clean-target-libiberty:
27253 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27254 r=`${PWD_COMMAND}`; export r; \
27255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27257 $(NORMAL_TARGET_EXPORTS) \
27258 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
27259 for flag in $(EXTRA_TARGET_FLAGS); do \
27260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27262 (cd $(TARGET_SUBDIR)/libiberty && \
27263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27265 "RANLIB=$${RANLIB}" \
27266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27267 maintainer-clean) \
27270 @endif target-libiberty
27273 .PHONY: configure-target-gperf maybe-configure-target-gperf
27274 maybe-configure-target-gperf:
27276 maybe-configure-target-gperf: configure-target-gperf
27278 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27279 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
27280 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
27281 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
27282 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
27284 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
27285 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
27286 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
27287 r=`${PWD_COMMAND}`; export r; \
27288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27290 $(NORMAL_TARGET_EXPORTS) \
27291 echo Configuring in $(TARGET_SUBDIR)/gperf; \
27292 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
27293 case $(srcdir) in \
27294 /* | [A-Za-z]:[\\/]*) \
27295 topdir=$(srcdir) ;; \
27297 case "$(TARGET_SUBDIR)" in \
27298 .) topdir="../$(srcdir)" ;; \
27299 *) topdir="../../$(srcdir)" ;; \
27302 srcdiroption="--srcdir=$${topdir}/gperf"; \
27303 libsrcdir="$$s/gperf"; \
27304 rm -f no-such-file || : ; \
27305 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27306 $(TARGET_CONFIGARGS) $${srcdiroption} \
27307 --with-target-subdir="$(TARGET_SUBDIR)" \
27309 @endif target-gperf
27311 .PHONY: all-target-gperf maybe-all-target-gperf
27312 maybe-all-target-gperf:
27314 TARGET-target-gperf=all
27315 maybe-all-target-gperf: all-target-gperf
27316 all-target-gperf: configure-target-gperf
27317 @r=`${PWD_COMMAND}`; export r; \
27318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27320 $(NORMAL_TARGET_EXPORTS) \
27321 (cd $(TARGET_SUBDIR)/gperf && \
27322 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
27323 @endif target-gperf
27325 .PHONY: check-target-gperf maybe-check-target-gperf
27326 maybe-check-target-gperf:
27328 maybe-check-target-gperf: check-target-gperf
27330 check-target-gperf:
27331 @r=`${PWD_COMMAND}`; export r; \
27332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27334 $(NORMAL_TARGET_EXPORTS) \
27335 (cd $(TARGET_SUBDIR)/gperf && \
27336 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27338 @endif target-gperf
27340 .PHONY: install-target-gperf maybe-install-target-gperf
27341 maybe-install-target-gperf:
27343 maybe-install-target-gperf: install-target-gperf
27345 install-target-gperf: installdirs
27346 @r=`${PWD_COMMAND}`; export r; \
27347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27349 $(NORMAL_TARGET_EXPORTS) \
27350 (cd $(TARGET_SUBDIR)/gperf && \
27351 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27353 @endif target-gperf
27355 # Other targets (info, dvi, etc.)
27357 .PHONY: maybe-info-target-gperf info-target-gperf
27358 maybe-info-target-gperf:
27360 maybe-info-target-gperf: info-target-gperf
27362 info-target-gperf: \
27363 configure-target-gperf
27364 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27365 r=`${PWD_COMMAND}`; export r; \
27366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27368 $(NORMAL_TARGET_EXPORTS) \
27369 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
27370 for flag in $(EXTRA_TARGET_FLAGS); do \
27371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27373 (cd $(TARGET_SUBDIR)/gperf && \
27374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27376 "RANLIB=$${RANLIB}" \
27377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27381 @endif target-gperf
27383 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
27384 maybe-dvi-target-gperf:
27386 maybe-dvi-target-gperf: dvi-target-gperf
27388 dvi-target-gperf: \
27389 configure-target-gperf
27390 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27391 r=`${PWD_COMMAND}`; export r; \
27392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27394 $(NORMAL_TARGET_EXPORTS) \
27395 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
27396 for flag in $(EXTRA_TARGET_FLAGS); do \
27397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27399 (cd $(TARGET_SUBDIR)/gperf && \
27400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27402 "RANLIB=$${RANLIB}" \
27403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27407 @endif target-gperf
27409 .PHONY: maybe-html-target-gperf html-target-gperf
27410 maybe-html-target-gperf:
27412 maybe-html-target-gperf: html-target-gperf
27414 html-target-gperf: \
27415 configure-target-gperf
27416 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27417 r=`${PWD_COMMAND}`; export r; \
27418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27420 $(NORMAL_TARGET_EXPORTS) \
27421 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
27422 for flag in $(EXTRA_TARGET_FLAGS); do \
27423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27425 (cd $(TARGET_SUBDIR)/gperf && \
27426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27428 "RANLIB=$${RANLIB}" \
27429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27433 @endif target-gperf
27435 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
27436 maybe-TAGS-target-gperf:
27438 maybe-TAGS-target-gperf: TAGS-target-gperf
27440 TAGS-target-gperf: \
27441 configure-target-gperf
27442 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27443 r=`${PWD_COMMAND}`; export r; \
27444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27446 $(NORMAL_TARGET_EXPORTS) \
27447 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
27448 for flag in $(EXTRA_TARGET_FLAGS); do \
27449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27451 (cd $(TARGET_SUBDIR)/gperf && \
27452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27454 "RANLIB=$${RANLIB}" \
27455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27459 @endif target-gperf
27461 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
27462 maybe-install-info-target-gperf:
27464 maybe-install-info-target-gperf: install-info-target-gperf
27466 install-info-target-gperf: \
27467 configure-target-gperf \
27469 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27470 r=`${PWD_COMMAND}`; export r; \
27471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27473 $(NORMAL_TARGET_EXPORTS) \
27474 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
27475 for flag in $(EXTRA_TARGET_FLAGS); do \
27476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27478 (cd $(TARGET_SUBDIR)/gperf && \
27479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27481 "RANLIB=$${RANLIB}" \
27482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27486 @endif target-gperf
27488 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
27489 maybe-installcheck-target-gperf:
27491 maybe-installcheck-target-gperf: installcheck-target-gperf
27493 installcheck-target-gperf: \
27494 configure-target-gperf
27495 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27496 r=`${PWD_COMMAND}`; export r; \
27497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27499 $(NORMAL_TARGET_EXPORTS) \
27500 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
27501 for flag in $(EXTRA_TARGET_FLAGS); do \
27502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27504 (cd $(TARGET_SUBDIR)/gperf && \
27505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27507 "RANLIB=$${RANLIB}" \
27508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27512 @endif target-gperf
27514 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
27515 maybe-mostlyclean-target-gperf:
27517 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
27519 mostlyclean-target-gperf:
27520 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27521 r=`${PWD_COMMAND}`; export r; \
27522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27524 $(NORMAL_TARGET_EXPORTS) \
27525 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
27526 for flag in $(EXTRA_TARGET_FLAGS); do \
27527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27529 (cd $(TARGET_SUBDIR)/gperf && \
27530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27532 "RANLIB=$${RANLIB}" \
27533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27537 @endif target-gperf
27539 .PHONY: maybe-clean-target-gperf clean-target-gperf
27540 maybe-clean-target-gperf:
27542 maybe-clean-target-gperf: clean-target-gperf
27544 clean-target-gperf:
27545 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27546 r=`${PWD_COMMAND}`; export r; \
27547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27549 $(NORMAL_TARGET_EXPORTS) \
27550 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
27551 for flag in $(EXTRA_TARGET_FLAGS); do \
27552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27554 (cd $(TARGET_SUBDIR)/gperf && \
27555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27557 "RANLIB=$${RANLIB}" \
27558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27562 @endif target-gperf
27564 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
27565 maybe-distclean-target-gperf:
27567 maybe-distclean-target-gperf: distclean-target-gperf
27569 distclean-target-gperf:
27570 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27571 r=`${PWD_COMMAND}`; export r; \
27572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27574 $(NORMAL_TARGET_EXPORTS) \
27575 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
27576 for flag in $(EXTRA_TARGET_FLAGS); do \
27577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27579 (cd $(TARGET_SUBDIR)/gperf && \
27580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27582 "RANLIB=$${RANLIB}" \
27583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27587 @endif target-gperf
27589 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
27590 maybe-maintainer-clean-target-gperf:
27592 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
27594 maintainer-clean-target-gperf:
27595 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27596 r=`${PWD_COMMAND}`; export r; \
27597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27599 $(NORMAL_TARGET_EXPORTS) \
27600 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
27601 for flag in $(EXTRA_TARGET_FLAGS); do \
27602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27604 (cd $(TARGET_SUBDIR)/gperf && \
27605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27607 "RANLIB=$${RANLIB}" \
27608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27609 maintainer-clean) \
27612 @endif target-gperf
27615 .PHONY: configure-target-examples maybe-configure-target-examples
27616 maybe-configure-target-examples:
27617 @if target-examples
27618 maybe-configure-target-examples: configure-target-examples
27620 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27621 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
27622 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
27623 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
27624 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
27626 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
27627 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
27628 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
27629 r=`${PWD_COMMAND}`; export r; \
27630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27632 $(NORMAL_TARGET_EXPORTS) \
27633 echo Configuring in $(TARGET_SUBDIR)/examples; \
27634 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
27635 case $(srcdir) in \
27636 /* | [A-Za-z]:[\\/]*) \
27637 topdir=$(srcdir) ;; \
27639 case "$(TARGET_SUBDIR)" in \
27640 .) topdir="../$(srcdir)" ;; \
27641 *) topdir="../../$(srcdir)" ;; \
27644 srcdiroption="--srcdir=$${topdir}/examples"; \
27645 libsrcdir="$$s/examples"; \
27646 rm -f no-such-file || : ; \
27647 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27648 $(TARGET_CONFIGARGS) $${srcdiroption} \
27649 --with-target-subdir="$(TARGET_SUBDIR)" \
27651 @endif target-examples
27653 .PHONY: all-target-examples maybe-all-target-examples
27654 maybe-all-target-examples:
27655 @if target-examples
27656 TARGET-target-examples=all
27657 maybe-all-target-examples: all-target-examples
27658 all-target-examples: configure-target-examples
27659 @r=`${PWD_COMMAND}`; export r; \
27660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27662 $(NORMAL_TARGET_EXPORTS) \
27663 (cd $(TARGET_SUBDIR)/examples && \
27664 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
27665 @endif target-examples
27667 .PHONY: check-target-examples maybe-check-target-examples
27668 maybe-check-target-examples:
27669 @if target-examples
27670 maybe-check-target-examples: check-target-examples
27672 # Dummy target for uncheckable module.
27673 check-target-examples:
27675 @endif target-examples
27677 .PHONY: install-target-examples maybe-install-target-examples
27678 maybe-install-target-examples:
27679 @if target-examples
27680 maybe-install-target-examples: install-target-examples
27682 # Dummy target for uninstallable.
27683 install-target-examples:
27685 @endif target-examples
27687 # Other targets (info, dvi, etc.)
27689 .PHONY: maybe-info-target-examples info-target-examples
27690 maybe-info-target-examples:
27691 @if target-examples
27692 maybe-info-target-examples: info-target-examples
27694 info-target-examples: \
27695 configure-target-examples
27696 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27697 r=`${PWD_COMMAND}`; export r; \
27698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27700 $(NORMAL_TARGET_EXPORTS) \
27701 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
27702 for flag in $(EXTRA_TARGET_FLAGS); do \
27703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27705 (cd $(TARGET_SUBDIR)/examples && \
27706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27708 "RANLIB=$${RANLIB}" \
27709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27713 @endif target-examples
27715 .PHONY: maybe-dvi-target-examples dvi-target-examples
27716 maybe-dvi-target-examples:
27717 @if target-examples
27718 maybe-dvi-target-examples: dvi-target-examples
27720 dvi-target-examples: \
27721 configure-target-examples
27722 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27723 r=`${PWD_COMMAND}`; export r; \
27724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27726 $(NORMAL_TARGET_EXPORTS) \
27727 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
27728 for flag in $(EXTRA_TARGET_FLAGS); do \
27729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27731 (cd $(TARGET_SUBDIR)/examples && \
27732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27734 "RANLIB=$${RANLIB}" \
27735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27739 @endif target-examples
27741 .PHONY: maybe-html-target-examples html-target-examples
27742 maybe-html-target-examples:
27743 @if target-examples
27744 maybe-html-target-examples: html-target-examples
27746 html-target-examples: \
27747 configure-target-examples
27748 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27749 r=`${PWD_COMMAND}`; export r; \
27750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27752 $(NORMAL_TARGET_EXPORTS) \
27753 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
27754 for flag in $(EXTRA_TARGET_FLAGS); do \
27755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27757 (cd $(TARGET_SUBDIR)/examples && \
27758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27760 "RANLIB=$${RANLIB}" \
27761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27765 @endif target-examples
27767 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
27768 maybe-TAGS-target-examples:
27769 @if target-examples
27770 maybe-TAGS-target-examples: TAGS-target-examples
27772 TAGS-target-examples: \
27773 configure-target-examples
27774 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27775 r=`${PWD_COMMAND}`; export r; \
27776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27778 $(NORMAL_TARGET_EXPORTS) \
27779 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
27780 for flag in $(EXTRA_TARGET_FLAGS); do \
27781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27783 (cd $(TARGET_SUBDIR)/examples && \
27784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27786 "RANLIB=$${RANLIB}" \
27787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27791 @endif target-examples
27793 .PHONY: maybe-install-info-target-examples install-info-target-examples
27794 maybe-install-info-target-examples:
27795 @if target-examples
27796 maybe-install-info-target-examples: install-info-target-examples
27798 install-info-target-examples: \
27799 configure-target-examples \
27800 info-target-examples
27801 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27802 r=`${PWD_COMMAND}`; export r; \
27803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27805 $(NORMAL_TARGET_EXPORTS) \
27806 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
27807 for flag in $(EXTRA_TARGET_FLAGS); do \
27808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27810 (cd $(TARGET_SUBDIR)/examples && \
27811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27813 "RANLIB=$${RANLIB}" \
27814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27818 @endif target-examples
27820 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
27821 maybe-installcheck-target-examples:
27822 @if target-examples
27823 maybe-installcheck-target-examples: installcheck-target-examples
27825 installcheck-target-examples: \
27826 configure-target-examples
27827 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27828 r=`${PWD_COMMAND}`; export r; \
27829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27831 $(NORMAL_TARGET_EXPORTS) \
27832 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
27833 for flag in $(EXTRA_TARGET_FLAGS); do \
27834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27836 (cd $(TARGET_SUBDIR)/examples && \
27837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27839 "RANLIB=$${RANLIB}" \
27840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27844 @endif target-examples
27846 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
27847 maybe-mostlyclean-target-examples:
27848 @if target-examples
27849 maybe-mostlyclean-target-examples: mostlyclean-target-examples
27851 mostlyclean-target-examples:
27852 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27853 r=`${PWD_COMMAND}`; export r; \
27854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27856 $(NORMAL_TARGET_EXPORTS) \
27857 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
27858 for flag in $(EXTRA_TARGET_FLAGS); do \
27859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27861 (cd $(TARGET_SUBDIR)/examples && \
27862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27864 "RANLIB=$${RANLIB}" \
27865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27869 @endif target-examples
27871 .PHONY: maybe-clean-target-examples clean-target-examples
27872 maybe-clean-target-examples:
27873 @if target-examples
27874 maybe-clean-target-examples: clean-target-examples
27876 clean-target-examples:
27877 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27878 r=`${PWD_COMMAND}`; export r; \
27879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27881 $(NORMAL_TARGET_EXPORTS) \
27882 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
27883 for flag in $(EXTRA_TARGET_FLAGS); do \
27884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27886 (cd $(TARGET_SUBDIR)/examples && \
27887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27889 "RANLIB=$${RANLIB}" \
27890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27894 @endif target-examples
27896 .PHONY: maybe-distclean-target-examples distclean-target-examples
27897 maybe-distclean-target-examples:
27898 @if target-examples
27899 maybe-distclean-target-examples: distclean-target-examples
27901 distclean-target-examples:
27902 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27903 r=`${PWD_COMMAND}`; export r; \
27904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27906 $(NORMAL_TARGET_EXPORTS) \
27907 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
27908 for flag in $(EXTRA_TARGET_FLAGS); do \
27909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27911 (cd $(TARGET_SUBDIR)/examples && \
27912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27914 "RANLIB=$${RANLIB}" \
27915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27919 @endif target-examples
27921 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
27922 maybe-maintainer-clean-target-examples:
27923 @if target-examples
27924 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
27926 maintainer-clean-target-examples:
27927 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27928 r=`${PWD_COMMAND}`; export r; \
27929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27931 $(NORMAL_TARGET_EXPORTS) \
27932 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
27933 for flag in $(EXTRA_TARGET_FLAGS); do \
27934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27936 (cd $(TARGET_SUBDIR)/examples && \
27937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27939 "RANLIB=$${RANLIB}" \
27940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27941 maintainer-clean) \
27944 @endif target-examples
27947 .PHONY: configure-target-libffi maybe-configure-target-libffi
27948 maybe-configure-target-libffi:
27950 maybe-configure-target-libffi: configure-target-libffi
27952 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27953 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
27954 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
27955 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
27956 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
27958 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
27959 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
27960 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
27961 r=`${PWD_COMMAND}`; export r; \
27962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27964 $(NORMAL_TARGET_EXPORTS) \
27965 echo Configuring in $(TARGET_SUBDIR)/libffi; \
27966 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
27967 case $(srcdir) in \
27968 /* | [A-Za-z]:[\\/]*) \
27969 topdir=$(srcdir) ;; \
27971 case "$(TARGET_SUBDIR)" in \
27972 .) topdir="../$(srcdir)" ;; \
27973 *) topdir="../../$(srcdir)" ;; \
27976 srcdiroption="--srcdir=$${topdir}/libffi"; \
27977 libsrcdir="$$s/libffi"; \
27978 rm -f no-such-file || : ; \
27979 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27980 $(TARGET_CONFIGARGS) $${srcdiroption} \
27981 --with-target-subdir="$(TARGET_SUBDIR)" \
27983 @endif target-libffi
27985 .PHONY: all-target-libffi maybe-all-target-libffi
27986 maybe-all-target-libffi:
27988 TARGET-target-libffi=all
27989 maybe-all-target-libffi: all-target-libffi
27990 all-target-libffi: configure-target-libffi
27991 @r=`${PWD_COMMAND}`; export r; \
27992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27994 $(NORMAL_TARGET_EXPORTS) \
27995 (cd $(TARGET_SUBDIR)/libffi && \
27996 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
27997 @endif target-libffi
27999 .PHONY: check-target-libffi maybe-check-target-libffi
28000 maybe-check-target-libffi:
28002 maybe-check-target-libffi: check-target-libffi
28004 check-target-libffi:
28005 @r=`${PWD_COMMAND}`; export r; \
28006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28008 $(NORMAL_TARGET_EXPORTS) \
28009 (cd $(TARGET_SUBDIR)/libffi && \
28010 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28012 @endif target-libffi
28014 .PHONY: install-target-libffi maybe-install-target-libffi
28015 maybe-install-target-libffi:
28017 maybe-install-target-libffi: install-target-libffi
28019 install-target-libffi: installdirs
28020 @r=`${PWD_COMMAND}`; export r; \
28021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28023 $(NORMAL_TARGET_EXPORTS) \
28024 (cd $(TARGET_SUBDIR)/libffi && \
28025 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28027 @endif target-libffi
28029 # Other targets (info, dvi, etc.)
28031 .PHONY: maybe-info-target-libffi info-target-libffi
28032 maybe-info-target-libffi:
28034 maybe-info-target-libffi: info-target-libffi
28036 info-target-libffi: \
28037 configure-target-libffi
28038 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28039 r=`${PWD_COMMAND}`; export r; \
28040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28042 $(NORMAL_TARGET_EXPORTS) \
28043 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
28044 for flag in $(EXTRA_TARGET_FLAGS); do \
28045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28047 (cd $(TARGET_SUBDIR)/libffi && \
28048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28050 "RANLIB=$${RANLIB}" \
28051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28055 @endif target-libffi
28057 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
28058 maybe-dvi-target-libffi:
28060 maybe-dvi-target-libffi: dvi-target-libffi
28062 dvi-target-libffi: \
28063 configure-target-libffi
28064 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28065 r=`${PWD_COMMAND}`; export r; \
28066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28068 $(NORMAL_TARGET_EXPORTS) \
28069 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
28070 for flag in $(EXTRA_TARGET_FLAGS); do \
28071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28073 (cd $(TARGET_SUBDIR)/libffi && \
28074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28076 "RANLIB=$${RANLIB}" \
28077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28081 @endif target-libffi
28083 .PHONY: maybe-html-target-libffi html-target-libffi
28084 maybe-html-target-libffi:
28086 maybe-html-target-libffi: html-target-libffi
28088 html-target-libffi: \
28089 configure-target-libffi
28090 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28091 r=`${PWD_COMMAND}`; export r; \
28092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28094 $(NORMAL_TARGET_EXPORTS) \
28095 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
28096 for flag in $(EXTRA_TARGET_FLAGS); do \
28097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28099 (cd $(TARGET_SUBDIR)/libffi && \
28100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28102 "RANLIB=$${RANLIB}" \
28103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28107 @endif target-libffi
28109 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
28110 maybe-TAGS-target-libffi:
28112 maybe-TAGS-target-libffi: TAGS-target-libffi
28114 TAGS-target-libffi: \
28115 configure-target-libffi
28116 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28117 r=`${PWD_COMMAND}`; export r; \
28118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28120 $(NORMAL_TARGET_EXPORTS) \
28121 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
28122 for flag in $(EXTRA_TARGET_FLAGS); do \
28123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28125 (cd $(TARGET_SUBDIR)/libffi && \
28126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28128 "RANLIB=$${RANLIB}" \
28129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28133 @endif target-libffi
28135 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
28136 maybe-install-info-target-libffi:
28138 maybe-install-info-target-libffi: install-info-target-libffi
28140 install-info-target-libffi: \
28141 configure-target-libffi \
28143 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28144 r=`${PWD_COMMAND}`; export r; \
28145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28147 $(NORMAL_TARGET_EXPORTS) \
28148 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
28149 for flag in $(EXTRA_TARGET_FLAGS); do \
28150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28152 (cd $(TARGET_SUBDIR)/libffi && \
28153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28155 "RANLIB=$${RANLIB}" \
28156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28160 @endif target-libffi
28162 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
28163 maybe-installcheck-target-libffi:
28165 maybe-installcheck-target-libffi: installcheck-target-libffi
28167 installcheck-target-libffi: \
28168 configure-target-libffi
28169 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28170 r=`${PWD_COMMAND}`; export r; \
28171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28173 $(NORMAL_TARGET_EXPORTS) \
28174 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
28175 for flag in $(EXTRA_TARGET_FLAGS); do \
28176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28178 (cd $(TARGET_SUBDIR)/libffi && \
28179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28181 "RANLIB=$${RANLIB}" \
28182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28186 @endif target-libffi
28188 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
28189 maybe-mostlyclean-target-libffi:
28191 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
28193 mostlyclean-target-libffi:
28194 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28195 r=`${PWD_COMMAND}`; export r; \
28196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28198 $(NORMAL_TARGET_EXPORTS) \
28199 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
28200 for flag in $(EXTRA_TARGET_FLAGS); do \
28201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28203 (cd $(TARGET_SUBDIR)/libffi && \
28204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28206 "RANLIB=$${RANLIB}" \
28207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28211 @endif target-libffi
28213 .PHONY: maybe-clean-target-libffi clean-target-libffi
28214 maybe-clean-target-libffi:
28216 maybe-clean-target-libffi: clean-target-libffi
28218 clean-target-libffi:
28219 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28220 r=`${PWD_COMMAND}`; export r; \
28221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28223 $(NORMAL_TARGET_EXPORTS) \
28224 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
28225 for flag in $(EXTRA_TARGET_FLAGS); do \
28226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28228 (cd $(TARGET_SUBDIR)/libffi && \
28229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28231 "RANLIB=$${RANLIB}" \
28232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28236 @endif target-libffi
28238 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
28239 maybe-distclean-target-libffi:
28241 maybe-distclean-target-libffi: distclean-target-libffi
28243 distclean-target-libffi:
28244 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28245 r=`${PWD_COMMAND}`; export r; \
28246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28248 $(NORMAL_TARGET_EXPORTS) \
28249 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
28250 for flag in $(EXTRA_TARGET_FLAGS); do \
28251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28253 (cd $(TARGET_SUBDIR)/libffi && \
28254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28256 "RANLIB=$${RANLIB}" \
28257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28261 @endif target-libffi
28263 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
28264 maybe-maintainer-clean-target-libffi:
28266 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
28268 maintainer-clean-target-libffi:
28269 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28270 r=`${PWD_COMMAND}`; export r; \
28271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28273 $(NORMAL_TARGET_EXPORTS) \
28274 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
28275 for flag in $(EXTRA_TARGET_FLAGS); do \
28276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28278 (cd $(TARGET_SUBDIR)/libffi && \
28279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28281 "RANLIB=$${RANLIB}" \
28282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28283 maintainer-clean) \
28286 @endif target-libffi
28289 .PHONY: configure-target-libjava maybe-configure-target-libjava
28290 maybe-configure-target-libjava:
28292 maybe-configure-target-libjava: configure-target-libjava
28294 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28295 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
28296 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
28297 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
28298 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
28300 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
28301 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
28302 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
28303 r=`${PWD_COMMAND}`; export r; \
28304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28306 $(RAW_CXX_TARGET_EXPORTS) \
28307 echo Configuring in $(TARGET_SUBDIR)/libjava; \
28308 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
28309 case $(srcdir) in \
28310 /* | [A-Za-z]:[\\/]*) \
28311 topdir=$(srcdir) ;; \
28313 case "$(TARGET_SUBDIR)" in \
28314 .) topdir="../$(srcdir)" ;; \
28315 *) topdir="../../$(srcdir)" ;; \
28318 srcdiroption="--srcdir=$${topdir}/libjava"; \
28319 libsrcdir="$$s/libjava"; \
28320 rm -f no-such-file || : ; \
28321 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28322 $(TARGET_CONFIGARGS) $${srcdiroption} \
28323 --with-target-subdir="$(TARGET_SUBDIR)" \
28325 @endif target-libjava
28327 .PHONY: all-target-libjava maybe-all-target-libjava
28328 maybe-all-target-libjava:
28330 TARGET-target-libjava=all
28331 maybe-all-target-libjava: all-target-libjava
28332 all-target-libjava: configure-target-libjava
28333 @r=`${PWD_COMMAND}`; export r; \
28334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28336 $(RAW_CXX_TARGET_EXPORTS) \
28337 (cd $(TARGET_SUBDIR)/libjava && \
28338 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
28339 @endif target-libjava
28341 .PHONY: check-target-libjava maybe-check-target-libjava
28342 maybe-check-target-libjava:
28344 maybe-check-target-libjava: check-target-libjava
28346 check-target-libjava:
28347 @r=`${PWD_COMMAND}`; export r; \
28348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28350 $(RAW_CXX_TARGET_EXPORTS) \
28351 (cd $(TARGET_SUBDIR)/libjava && \
28352 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
28354 @endif target-libjava
28356 .PHONY: install-target-libjava maybe-install-target-libjava
28357 maybe-install-target-libjava:
28359 maybe-install-target-libjava: install-target-libjava
28361 install-target-libjava: installdirs
28362 @r=`${PWD_COMMAND}`; export r; \
28363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28365 $(RAW_CXX_TARGET_EXPORTS) \
28366 (cd $(TARGET_SUBDIR)/libjava && \
28367 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28369 @endif target-libjava
28371 # Other targets (info, dvi, etc.)
28373 .PHONY: maybe-info-target-libjava info-target-libjava
28374 maybe-info-target-libjava:
28376 maybe-info-target-libjava: info-target-libjava
28378 info-target-libjava: \
28379 configure-target-libjava
28380 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28381 r=`${PWD_COMMAND}`; export r; \
28382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28384 $(RAW_CXX_TARGET_EXPORTS) \
28385 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
28386 for flag in $(EXTRA_TARGET_FLAGS); do \
28387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28389 (cd $(TARGET_SUBDIR)/libjava && \
28390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28392 "RANLIB=$${RANLIB}" \
28393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28397 @endif target-libjava
28399 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
28400 maybe-dvi-target-libjava:
28402 maybe-dvi-target-libjava: dvi-target-libjava
28404 dvi-target-libjava: \
28405 configure-target-libjava
28406 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28407 r=`${PWD_COMMAND}`; export r; \
28408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28410 $(RAW_CXX_TARGET_EXPORTS) \
28411 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
28412 for flag in $(EXTRA_TARGET_FLAGS); do \
28413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28415 (cd $(TARGET_SUBDIR)/libjava && \
28416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28418 "RANLIB=$${RANLIB}" \
28419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28423 @endif target-libjava
28425 .PHONY: maybe-html-target-libjava html-target-libjava
28426 maybe-html-target-libjava:
28428 maybe-html-target-libjava: html-target-libjava
28430 html-target-libjava: \
28431 configure-target-libjava
28432 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28433 r=`${PWD_COMMAND}`; export r; \
28434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28436 $(RAW_CXX_TARGET_EXPORTS) \
28437 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
28438 for flag in $(EXTRA_TARGET_FLAGS); do \
28439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28441 (cd $(TARGET_SUBDIR)/libjava && \
28442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28444 "RANLIB=$${RANLIB}" \
28445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28449 @endif target-libjava
28451 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
28452 maybe-TAGS-target-libjava:
28454 maybe-TAGS-target-libjava: TAGS-target-libjava
28456 TAGS-target-libjava: \
28457 configure-target-libjava
28458 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28459 r=`${PWD_COMMAND}`; export r; \
28460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28462 $(RAW_CXX_TARGET_EXPORTS) \
28463 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
28464 for flag in $(EXTRA_TARGET_FLAGS); do \
28465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28467 (cd $(TARGET_SUBDIR)/libjava && \
28468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28470 "RANLIB=$${RANLIB}" \
28471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28475 @endif target-libjava
28477 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
28478 maybe-install-info-target-libjava:
28480 maybe-install-info-target-libjava: install-info-target-libjava
28482 install-info-target-libjava: \
28483 configure-target-libjava \
28484 info-target-libjava
28485 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28486 r=`${PWD_COMMAND}`; export r; \
28487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28489 $(RAW_CXX_TARGET_EXPORTS) \
28490 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
28491 for flag in $(EXTRA_TARGET_FLAGS); do \
28492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28494 (cd $(TARGET_SUBDIR)/libjava && \
28495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28497 "RANLIB=$${RANLIB}" \
28498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28502 @endif target-libjava
28504 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
28505 maybe-installcheck-target-libjava:
28507 maybe-installcheck-target-libjava: installcheck-target-libjava
28509 installcheck-target-libjava: \
28510 configure-target-libjava
28511 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28512 r=`${PWD_COMMAND}`; export r; \
28513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28515 $(RAW_CXX_TARGET_EXPORTS) \
28516 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
28517 for flag in $(EXTRA_TARGET_FLAGS); do \
28518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28520 (cd $(TARGET_SUBDIR)/libjava && \
28521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28523 "RANLIB=$${RANLIB}" \
28524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28528 @endif target-libjava
28530 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
28531 maybe-mostlyclean-target-libjava:
28533 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
28535 mostlyclean-target-libjava:
28536 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28537 r=`${PWD_COMMAND}`; export r; \
28538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28540 $(RAW_CXX_TARGET_EXPORTS) \
28541 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
28542 for flag in $(EXTRA_TARGET_FLAGS); do \
28543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28545 (cd $(TARGET_SUBDIR)/libjava && \
28546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28548 "RANLIB=$${RANLIB}" \
28549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28553 @endif target-libjava
28555 .PHONY: maybe-clean-target-libjava clean-target-libjava
28556 maybe-clean-target-libjava:
28558 maybe-clean-target-libjava: clean-target-libjava
28560 clean-target-libjava:
28561 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28562 r=`${PWD_COMMAND}`; export r; \
28563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28565 $(RAW_CXX_TARGET_EXPORTS) \
28566 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
28567 for flag in $(EXTRA_TARGET_FLAGS); do \
28568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28570 (cd $(TARGET_SUBDIR)/libjava && \
28571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28573 "RANLIB=$${RANLIB}" \
28574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28578 @endif target-libjava
28580 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
28581 maybe-distclean-target-libjava:
28583 maybe-distclean-target-libjava: distclean-target-libjava
28585 distclean-target-libjava:
28586 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28587 r=`${PWD_COMMAND}`; export r; \
28588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28590 $(RAW_CXX_TARGET_EXPORTS) \
28591 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
28592 for flag in $(EXTRA_TARGET_FLAGS); do \
28593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28595 (cd $(TARGET_SUBDIR)/libjava && \
28596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28598 "RANLIB=$${RANLIB}" \
28599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28603 @endif target-libjava
28605 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
28606 maybe-maintainer-clean-target-libjava:
28608 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
28610 maintainer-clean-target-libjava:
28611 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28612 r=`${PWD_COMMAND}`; export r; \
28613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28615 $(RAW_CXX_TARGET_EXPORTS) \
28616 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
28617 for flag in $(EXTRA_TARGET_FLAGS); do \
28618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28620 (cd $(TARGET_SUBDIR)/libjava && \
28621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28623 "RANLIB=$${RANLIB}" \
28624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28625 maintainer-clean) \
28628 @endif target-libjava
28631 .PHONY: configure-target-zlib maybe-configure-target-zlib
28632 maybe-configure-target-zlib:
28634 maybe-configure-target-zlib: configure-target-zlib
28636 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28637 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
28638 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
28639 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
28640 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
28642 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
28643 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
28644 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
28645 r=`${PWD_COMMAND}`; export r; \
28646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28648 $(NORMAL_TARGET_EXPORTS) \
28649 echo Configuring in $(TARGET_SUBDIR)/zlib; \
28650 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
28651 case $(srcdir) in \
28652 /* | [A-Za-z]:[\\/]*) \
28653 topdir=$(srcdir) ;; \
28655 case "$(TARGET_SUBDIR)" in \
28656 .) topdir="../$(srcdir)" ;; \
28657 *) topdir="../../$(srcdir)" ;; \
28660 if [ "$(srcdir)" = "." ] ; then \
28661 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
28662 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
28663 if [ -f Makefile ]; then \
28664 if $(MAKE) distclean; then \
28678 srcdiroption="--srcdir=."; \
28681 srcdiroption="--srcdir=$${topdir}/zlib"; \
28682 libsrcdir="$$s/zlib"; \
28684 rm -f no-such-file || : ; \
28685 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28686 $(TARGET_CONFIGARGS) $${srcdiroption} \
28687 --with-target-subdir="$(TARGET_SUBDIR)" \
28691 .PHONY: all-target-zlib maybe-all-target-zlib
28692 maybe-all-target-zlib:
28694 TARGET-target-zlib=all
28695 maybe-all-target-zlib: all-target-zlib
28696 all-target-zlib: configure-target-zlib
28697 @r=`${PWD_COMMAND}`; export r; \
28698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28700 $(NORMAL_TARGET_EXPORTS) \
28701 (cd $(TARGET_SUBDIR)/zlib && \
28702 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
28705 .PHONY: check-target-zlib maybe-check-target-zlib
28706 maybe-check-target-zlib:
28708 maybe-check-target-zlib: check-target-zlib
28711 @r=`${PWD_COMMAND}`; export r; \
28712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28714 $(NORMAL_TARGET_EXPORTS) \
28715 (cd $(TARGET_SUBDIR)/zlib && \
28716 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28720 .PHONY: install-target-zlib maybe-install-target-zlib
28721 maybe-install-target-zlib:
28723 maybe-install-target-zlib: install-target-zlib
28725 install-target-zlib: installdirs
28726 @r=`${PWD_COMMAND}`; export r; \
28727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28729 $(NORMAL_TARGET_EXPORTS) \
28730 (cd $(TARGET_SUBDIR)/zlib && \
28731 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28735 # Other targets (info, dvi, etc.)
28737 .PHONY: maybe-info-target-zlib info-target-zlib
28738 maybe-info-target-zlib:
28740 maybe-info-target-zlib: info-target-zlib
28742 info-target-zlib: \
28743 configure-target-zlib
28744 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28745 r=`${PWD_COMMAND}`; export r; \
28746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28748 $(NORMAL_TARGET_EXPORTS) \
28749 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
28750 for flag in $(EXTRA_TARGET_FLAGS); do \
28751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28753 (cd $(TARGET_SUBDIR)/zlib && \
28754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28756 "RANLIB=$${RANLIB}" \
28757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28763 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
28764 maybe-dvi-target-zlib:
28766 maybe-dvi-target-zlib: dvi-target-zlib
28769 configure-target-zlib
28770 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28771 r=`${PWD_COMMAND}`; export r; \
28772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28774 $(NORMAL_TARGET_EXPORTS) \
28775 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
28776 for flag in $(EXTRA_TARGET_FLAGS); do \
28777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28779 (cd $(TARGET_SUBDIR)/zlib && \
28780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28782 "RANLIB=$${RANLIB}" \
28783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28789 .PHONY: maybe-html-target-zlib html-target-zlib
28790 maybe-html-target-zlib:
28792 maybe-html-target-zlib: html-target-zlib
28794 html-target-zlib: \
28795 configure-target-zlib
28796 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28797 r=`${PWD_COMMAND}`; export r; \
28798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28800 $(NORMAL_TARGET_EXPORTS) \
28801 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
28802 for flag in $(EXTRA_TARGET_FLAGS); do \
28803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28805 (cd $(TARGET_SUBDIR)/zlib && \
28806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28808 "RANLIB=$${RANLIB}" \
28809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28815 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
28816 maybe-TAGS-target-zlib:
28818 maybe-TAGS-target-zlib: TAGS-target-zlib
28820 TAGS-target-zlib: \
28821 configure-target-zlib
28822 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28823 r=`${PWD_COMMAND}`; export r; \
28824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28826 $(NORMAL_TARGET_EXPORTS) \
28827 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
28828 for flag in $(EXTRA_TARGET_FLAGS); do \
28829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28831 (cd $(TARGET_SUBDIR)/zlib && \
28832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28834 "RANLIB=$${RANLIB}" \
28835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28841 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
28842 maybe-install-info-target-zlib:
28844 maybe-install-info-target-zlib: install-info-target-zlib
28846 install-info-target-zlib: \
28847 configure-target-zlib \
28849 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28850 r=`${PWD_COMMAND}`; export r; \
28851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28853 $(NORMAL_TARGET_EXPORTS) \
28854 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
28855 for flag in $(EXTRA_TARGET_FLAGS); do \
28856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28858 (cd $(TARGET_SUBDIR)/zlib && \
28859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28861 "RANLIB=$${RANLIB}" \
28862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28868 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
28869 maybe-installcheck-target-zlib:
28871 maybe-installcheck-target-zlib: installcheck-target-zlib
28873 installcheck-target-zlib: \
28874 configure-target-zlib
28875 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28876 r=`${PWD_COMMAND}`; export r; \
28877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28879 $(NORMAL_TARGET_EXPORTS) \
28880 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
28881 for flag in $(EXTRA_TARGET_FLAGS); do \
28882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28884 (cd $(TARGET_SUBDIR)/zlib && \
28885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28887 "RANLIB=$${RANLIB}" \
28888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28894 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
28895 maybe-mostlyclean-target-zlib:
28897 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
28899 mostlyclean-target-zlib:
28900 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28901 r=`${PWD_COMMAND}`; export r; \
28902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28904 $(NORMAL_TARGET_EXPORTS) \
28905 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
28906 for flag in $(EXTRA_TARGET_FLAGS); do \
28907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28909 (cd $(TARGET_SUBDIR)/zlib && \
28910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28912 "RANLIB=$${RANLIB}" \
28913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28919 .PHONY: maybe-clean-target-zlib clean-target-zlib
28920 maybe-clean-target-zlib:
28922 maybe-clean-target-zlib: clean-target-zlib
28925 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28926 r=`${PWD_COMMAND}`; export r; \
28927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28929 $(NORMAL_TARGET_EXPORTS) \
28930 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
28931 for flag in $(EXTRA_TARGET_FLAGS); do \
28932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28934 (cd $(TARGET_SUBDIR)/zlib && \
28935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28937 "RANLIB=$${RANLIB}" \
28938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28944 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
28945 maybe-distclean-target-zlib:
28947 maybe-distclean-target-zlib: distclean-target-zlib
28949 distclean-target-zlib:
28950 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28951 r=`${PWD_COMMAND}`; export r; \
28952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28954 $(NORMAL_TARGET_EXPORTS) \
28955 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
28956 for flag in $(EXTRA_TARGET_FLAGS); do \
28957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28959 (cd $(TARGET_SUBDIR)/zlib && \
28960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28962 "RANLIB=$${RANLIB}" \
28963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28969 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
28970 maybe-maintainer-clean-target-zlib:
28972 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
28974 maintainer-clean-target-zlib:
28975 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28976 r=`${PWD_COMMAND}`; export r; \
28977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28979 $(NORMAL_TARGET_EXPORTS) \
28980 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
28981 for flag in $(EXTRA_TARGET_FLAGS); do \
28982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28984 (cd $(TARGET_SUBDIR)/zlib && \
28985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28987 "RANLIB=$${RANLIB}" \
28988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28989 maintainer-clean) \
28995 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
28996 maybe-configure-target-boehm-gc:
28997 @if target-boehm-gc
28998 maybe-configure-target-boehm-gc: configure-target-boehm-gc
29000 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29001 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
29002 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
29003 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
29004 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
29006 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
29007 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
29008 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
29009 r=`${PWD_COMMAND}`; export r; \
29010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29012 $(NORMAL_TARGET_EXPORTS) \
29013 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
29014 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
29015 case $(srcdir) in \
29016 /* | [A-Za-z]:[\\/]*) \
29017 topdir=$(srcdir) ;; \
29019 case "$(TARGET_SUBDIR)" in \
29020 .) topdir="../$(srcdir)" ;; \
29021 *) topdir="../../$(srcdir)" ;; \
29024 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
29025 libsrcdir="$$s/boehm-gc"; \
29026 rm -f no-such-file || : ; \
29027 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29028 $(TARGET_CONFIGARGS) $${srcdiroption} \
29029 --with-target-subdir="$(TARGET_SUBDIR)" \
29031 @endif target-boehm-gc
29033 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
29034 maybe-all-target-boehm-gc:
29035 @if target-boehm-gc
29036 TARGET-target-boehm-gc=all
29037 maybe-all-target-boehm-gc: all-target-boehm-gc
29038 all-target-boehm-gc: configure-target-boehm-gc
29039 @r=`${PWD_COMMAND}`; export r; \
29040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29042 $(NORMAL_TARGET_EXPORTS) \
29043 (cd $(TARGET_SUBDIR)/boehm-gc && \
29044 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
29045 @endif target-boehm-gc
29047 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
29048 maybe-check-target-boehm-gc:
29049 @if target-boehm-gc
29050 maybe-check-target-boehm-gc: check-target-boehm-gc
29052 check-target-boehm-gc:
29053 @r=`${PWD_COMMAND}`; export r; \
29054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29056 $(NORMAL_TARGET_EXPORTS) \
29057 (cd $(TARGET_SUBDIR)/boehm-gc && \
29058 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29060 @endif target-boehm-gc
29062 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
29063 maybe-install-target-boehm-gc:
29064 @if target-boehm-gc
29065 maybe-install-target-boehm-gc: install-target-boehm-gc
29067 install-target-boehm-gc: installdirs
29068 @r=`${PWD_COMMAND}`; export r; \
29069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29071 $(NORMAL_TARGET_EXPORTS) \
29072 (cd $(TARGET_SUBDIR)/boehm-gc && \
29073 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29075 @endif target-boehm-gc
29077 # Other targets (info, dvi, etc.)
29079 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
29080 maybe-info-target-boehm-gc:
29081 @if target-boehm-gc
29082 maybe-info-target-boehm-gc: info-target-boehm-gc
29084 info-target-boehm-gc: \
29085 configure-target-boehm-gc
29086 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29087 r=`${PWD_COMMAND}`; export r; \
29088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29090 $(NORMAL_TARGET_EXPORTS) \
29091 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
29092 for flag in $(EXTRA_TARGET_FLAGS); do \
29093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29095 (cd $(TARGET_SUBDIR)/boehm-gc && \
29096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29098 "RANLIB=$${RANLIB}" \
29099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29103 @endif target-boehm-gc
29105 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
29106 maybe-dvi-target-boehm-gc:
29107 @if target-boehm-gc
29108 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
29110 dvi-target-boehm-gc: \
29111 configure-target-boehm-gc
29112 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29113 r=`${PWD_COMMAND}`; export r; \
29114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29116 $(NORMAL_TARGET_EXPORTS) \
29117 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
29118 for flag in $(EXTRA_TARGET_FLAGS); do \
29119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29121 (cd $(TARGET_SUBDIR)/boehm-gc && \
29122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29124 "RANLIB=$${RANLIB}" \
29125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29129 @endif target-boehm-gc
29131 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
29132 maybe-html-target-boehm-gc:
29133 @if target-boehm-gc
29134 maybe-html-target-boehm-gc: html-target-boehm-gc
29136 html-target-boehm-gc: \
29137 configure-target-boehm-gc
29138 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29139 r=`${PWD_COMMAND}`; export r; \
29140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29142 $(NORMAL_TARGET_EXPORTS) \
29143 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
29144 for flag in $(EXTRA_TARGET_FLAGS); do \
29145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29147 (cd $(TARGET_SUBDIR)/boehm-gc && \
29148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29150 "RANLIB=$${RANLIB}" \
29151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29155 @endif target-boehm-gc
29157 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
29158 maybe-TAGS-target-boehm-gc:
29159 @if target-boehm-gc
29160 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
29162 TAGS-target-boehm-gc: \
29163 configure-target-boehm-gc
29164 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29165 r=`${PWD_COMMAND}`; export r; \
29166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29168 $(NORMAL_TARGET_EXPORTS) \
29169 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
29170 for flag in $(EXTRA_TARGET_FLAGS); do \
29171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29173 (cd $(TARGET_SUBDIR)/boehm-gc && \
29174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29176 "RANLIB=$${RANLIB}" \
29177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29181 @endif target-boehm-gc
29183 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
29184 maybe-install-info-target-boehm-gc:
29185 @if target-boehm-gc
29186 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
29188 install-info-target-boehm-gc: \
29189 configure-target-boehm-gc \
29190 info-target-boehm-gc
29191 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29192 r=`${PWD_COMMAND}`; export r; \
29193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29195 $(NORMAL_TARGET_EXPORTS) \
29196 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
29197 for flag in $(EXTRA_TARGET_FLAGS); do \
29198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29200 (cd $(TARGET_SUBDIR)/boehm-gc && \
29201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29203 "RANLIB=$${RANLIB}" \
29204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29208 @endif target-boehm-gc
29210 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
29211 maybe-installcheck-target-boehm-gc:
29212 @if target-boehm-gc
29213 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
29215 installcheck-target-boehm-gc: \
29216 configure-target-boehm-gc
29217 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29218 r=`${PWD_COMMAND}`; export r; \
29219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29221 $(NORMAL_TARGET_EXPORTS) \
29222 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
29223 for flag in $(EXTRA_TARGET_FLAGS); do \
29224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29226 (cd $(TARGET_SUBDIR)/boehm-gc && \
29227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29229 "RANLIB=$${RANLIB}" \
29230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29234 @endif target-boehm-gc
29236 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
29237 maybe-mostlyclean-target-boehm-gc:
29238 @if target-boehm-gc
29239 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
29241 mostlyclean-target-boehm-gc:
29242 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29243 r=`${PWD_COMMAND}`; export r; \
29244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29246 $(NORMAL_TARGET_EXPORTS) \
29247 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
29248 for flag in $(EXTRA_TARGET_FLAGS); do \
29249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29251 (cd $(TARGET_SUBDIR)/boehm-gc && \
29252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29254 "RANLIB=$${RANLIB}" \
29255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29259 @endif target-boehm-gc
29261 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
29262 maybe-clean-target-boehm-gc:
29263 @if target-boehm-gc
29264 maybe-clean-target-boehm-gc: clean-target-boehm-gc
29266 clean-target-boehm-gc:
29267 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29268 r=`${PWD_COMMAND}`; export r; \
29269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29271 $(NORMAL_TARGET_EXPORTS) \
29272 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
29273 for flag in $(EXTRA_TARGET_FLAGS); do \
29274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29276 (cd $(TARGET_SUBDIR)/boehm-gc && \
29277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29279 "RANLIB=$${RANLIB}" \
29280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29284 @endif target-boehm-gc
29286 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
29287 maybe-distclean-target-boehm-gc:
29288 @if target-boehm-gc
29289 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
29291 distclean-target-boehm-gc:
29292 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29293 r=`${PWD_COMMAND}`; export r; \
29294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29296 $(NORMAL_TARGET_EXPORTS) \
29297 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
29298 for flag in $(EXTRA_TARGET_FLAGS); do \
29299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29301 (cd $(TARGET_SUBDIR)/boehm-gc && \
29302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29304 "RANLIB=$${RANLIB}" \
29305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29309 @endif target-boehm-gc
29311 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
29312 maybe-maintainer-clean-target-boehm-gc:
29313 @if target-boehm-gc
29314 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
29316 maintainer-clean-target-boehm-gc:
29317 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29318 r=`${PWD_COMMAND}`; export r; \
29319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29321 $(NORMAL_TARGET_EXPORTS) \
29322 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
29323 for flag in $(EXTRA_TARGET_FLAGS); do \
29324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29326 (cd $(TARGET_SUBDIR)/boehm-gc && \
29327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29329 "RANLIB=$${RANLIB}" \
29330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29331 maintainer-clean) \
29334 @endif target-boehm-gc
29337 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
29338 maybe-configure-target-qthreads:
29339 @if target-qthreads
29340 maybe-configure-target-qthreads: configure-target-qthreads
29342 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29343 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
29344 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
29345 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
29346 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
29348 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
29349 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
29350 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
29351 r=`${PWD_COMMAND}`; export r; \
29352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29354 $(NORMAL_TARGET_EXPORTS) \
29355 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
29356 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
29357 case $(srcdir) in \
29358 /* | [A-Za-z]:[\\/]*) \
29359 topdir=$(srcdir) ;; \
29361 case "$(TARGET_SUBDIR)" in \
29362 .) topdir="../$(srcdir)" ;; \
29363 *) topdir="../../$(srcdir)" ;; \
29366 srcdiroption="--srcdir=$${topdir}/qthreads"; \
29367 libsrcdir="$$s/qthreads"; \
29368 rm -f no-such-file || : ; \
29369 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29370 $(TARGET_CONFIGARGS) $${srcdiroption} \
29371 --with-target-subdir="$(TARGET_SUBDIR)" \
29373 @endif target-qthreads
29375 .PHONY: all-target-qthreads maybe-all-target-qthreads
29376 maybe-all-target-qthreads:
29377 @if target-qthreads
29378 TARGET-target-qthreads=all
29379 maybe-all-target-qthreads: all-target-qthreads
29380 all-target-qthreads: configure-target-qthreads
29381 @r=`${PWD_COMMAND}`; export r; \
29382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29384 $(NORMAL_TARGET_EXPORTS) \
29385 (cd $(TARGET_SUBDIR)/qthreads && \
29386 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
29387 @endif target-qthreads
29389 .PHONY: check-target-qthreads maybe-check-target-qthreads
29390 maybe-check-target-qthreads:
29391 @if target-qthreads
29392 maybe-check-target-qthreads: check-target-qthreads
29394 check-target-qthreads:
29395 @r=`${PWD_COMMAND}`; export r; \
29396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29398 $(NORMAL_TARGET_EXPORTS) \
29399 (cd $(TARGET_SUBDIR)/qthreads && \
29400 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29402 @endif target-qthreads
29404 .PHONY: install-target-qthreads maybe-install-target-qthreads
29405 maybe-install-target-qthreads:
29406 @if target-qthreads
29407 maybe-install-target-qthreads: install-target-qthreads
29409 install-target-qthreads: installdirs
29410 @r=`${PWD_COMMAND}`; export r; \
29411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29413 $(NORMAL_TARGET_EXPORTS) \
29414 (cd $(TARGET_SUBDIR)/qthreads && \
29415 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29417 @endif target-qthreads
29419 # Other targets (info, dvi, etc.)
29421 .PHONY: maybe-info-target-qthreads info-target-qthreads
29422 maybe-info-target-qthreads:
29423 @if target-qthreads
29424 maybe-info-target-qthreads: info-target-qthreads
29426 info-target-qthreads: \
29427 configure-target-qthreads
29428 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29429 r=`${PWD_COMMAND}`; export r; \
29430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29432 $(NORMAL_TARGET_EXPORTS) \
29433 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
29434 for flag in $(EXTRA_TARGET_FLAGS); do \
29435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29437 (cd $(TARGET_SUBDIR)/qthreads && \
29438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29440 "RANLIB=$${RANLIB}" \
29441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29445 @endif target-qthreads
29447 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
29448 maybe-dvi-target-qthreads:
29449 @if target-qthreads
29450 maybe-dvi-target-qthreads: dvi-target-qthreads
29452 dvi-target-qthreads: \
29453 configure-target-qthreads
29454 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29455 r=`${PWD_COMMAND}`; export r; \
29456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29458 $(NORMAL_TARGET_EXPORTS) \
29459 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
29460 for flag in $(EXTRA_TARGET_FLAGS); do \
29461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29463 (cd $(TARGET_SUBDIR)/qthreads && \
29464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29466 "RANLIB=$${RANLIB}" \
29467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29471 @endif target-qthreads
29473 .PHONY: maybe-html-target-qthreads html-target-qthreads
29474 maybe-html-target-qthreads:
29475 @if target-qthreads
29476 maybe-html-target-qthreads: html-target-qthreads
29478 html-target-qthreads: \
29479 configure-target-qthreads
29480 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29481 r=`${PWD_COMMAND}`; export r; \
29482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29484 $(NORMAL_TARGET_EXPORTS) \
29485 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
29486 for flag in $(EXTRA_TARGET_FLAGS); do \
29487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29489 (cd $(TARGET_SUBDIR)/qthreads && \
29490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29492 "RANLIB=$${RANLIB}" \
29493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29497 @endif target-qthreads
29499 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
29500 maybe-TAGS-target-qthreads:
29501 @if target-qthreads
29502 maybe-TAGS-target-qthreads: TAGS-target-qthreads
29504 TAGS-target-qthreads: \
29505 configure-target-qthreads
29506 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29507 r=`${PWD_COMMAND}`; export r; \
29508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29510 $(NORMAL_TARGET_EXPORTS) \
29511 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
29512 for flag in $(EXTRA_TARGET_FLAGS); do \
29513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29515 (cd $(TARGET_SUBDIR)/qthreads && \
29516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29518 "RANLIB=$${RANLIB}" \
29519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29523 @endif target-qthreads
29525 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
29526 maybe-install-info-target-qthreads:
29527 @if target-qthreads
29528 maybe-install-info-target-qthreads: install-info-target-qthreads
29530 install-info-target-qthreads: \
29531 configure-target-qthreads \
29532 info-target-qthreads
29533 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29534 r=`${PWD_COMMAND}`; export r; \
29535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29537 $(NORMAL_TARGET_EXPORTS) \
29538 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
29539 for flag in $(EXTRA_TARGET_FLAGS); do \
29540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29542 (cd $(TARGET_SUBDIR)/qthreads && \
29543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29545 "RANLIB=$${RANLIB}" \
29546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29550 @endif target-qthreads
29552 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
29553 maybe-installcheck-target-qthreads:
29554 @if target-qthreads
29555 maybe-installcheck-target-qthreads: installcheck-target-qthreads
29557 installcheck-target-qthreads: \
29558 configure-target-qthreads
29559 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29560 r=`${PWD_COMMAND}`; export r; \
29561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29563 $(NORMAL_TARGET_EXPORTS) \
29564 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
29565 for flag in $(EXTRA_TARGET_FLAGS); do \
29566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29568 (cd $(TARGET_SUBDIR)/qthreads && \
29569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29571 "RANLIB=$${RANLIB}" \
29572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29576 @endif target-qthreads
29578 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
29579 maybe-mostlyclean-target-qthreads:
29580 @if target-qthreads
29581 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
29583 mostlyclean-target-qthreads:
29584 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29585 r=`${PWD_COMMAND}`; export r; \
29586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29588 $(NORMAL_TARGET_EXPORTS) \
29589 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
29590 for flag in $(EXTRA_TARGET_FLAGS); do \
29591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29593 (cd $(TARGET_SUBDIR)/qthreads && \
29594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29596 "RANLIB=$${RANLIB}" \
29597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29601 @endif target-qthreads
29603 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
29604 maybe-clean-target-qthreads:
29605 @if target-qthreads
29606 maybe-clean-target-qthreads: clean-target-qthreads
29608 clean-target-qthreads:
29609 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29610 r=`${PWD_COMMAND}`; export r; \
29611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29613 $(NORMAL_TARGET_EXPORTS) \
29614 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
29615 for flag in $(EXTRA_TARGET_FLAGS); do \
29616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29618 (cd $(TARGET_SUBDIR)/qthreads && \
29619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29621 "RANLIB=$${RANLIB}" \
29622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29626 @endif target-qthreads
29628 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
29629 maybe-distclean-target-qthreads:
29630 @if target-qthreads
29631 maybe-distclean-target-qthreads: distclean-target-qthreads
29633 distclean-target-qthreads:
29634 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29635 r=`${PWD_COMMAND}`; export r; \
29636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29638 $(NORMAL_TARGET_EXPORTS) \
29639 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
29640 for flag in $(EXTRA_TARGET_FLAGS); do \
29641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29643 (cd $(TARGET_SUBDIR)/qthreads && \
29644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29646 "RANLIB=$${RANLIB}" \
29647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29651 @endif target-qthreads
29653 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
29654 maybe-maintainer-clean-target-qthreads:
29655 @if target-qthreads
29656 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
29658 maintainer-clean-target-qthreads:
29659 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29660 r=`${PWD_COMMAND}`; export r; \
29661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29663 $(NORMAL_TARGET_EXPORTS) \
29664 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
29665 for flag in $(EXTRA_TARGET_FLAGS); do \
29666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29668 (cd $(TARGET_SUBDIR)/qthreads && \
29669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29671 "RANLIB=$${RANLIB}" \
29672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29673 maintainer-clean) \
29676 @endif target-qthreads
29679 .PHONY: configure-target-rda maybe-configure-target-rda
29680 maybe-configure-target-rda:
29682 maybe-configure-target-rda: configure-target-rda
29684 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29685 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
29686 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
29687 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
29688 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
29690 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
29691 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
29692 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
29693 r=`${PWD_COMMAND}`; export r; \
29694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29696 $(NORMAL_TARGET_EXPORTS) \
29697 echo Configuring in $(TARGET_SUBDIR)/rda; \
29698 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
29699 case $(srcdir) in \
29700 /* | [A-Za-z]:[\\/]*) \
29701 topdir=$(srcdir) ;; \
29703 case "$(TARGET_SUBDIR)" in \
29704 .) topdir="../$(srcdir)" ;; \
29705 *) topdir="../../$(srcdir)" ;; \
29708 srcdiroption="--srcdir=$${topdir}/rda"; \
29709 libsrcdir="$$s/rda"; \
29710 rm -f no-such-file || : ; \
29711 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29712 $(TARGET_CONFIGARGS) $${srcdiroption} \
29713 --with-target-subdir="$(TARGET_SUBDIR)" \
29717 .PHONY: all-target-rda maybe-all-target-rda
29718 maybe-all-target-rda:
29720 TARGET-target-rda=all
29721 maybe-all-target-rda: all-target-rda
29722 all-target-rda: configure-target-rda
29723 @r=`${PWD_COMMAND}`; export r; \
29724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29726 $(NORMAL_TARGET_EXPORTS) \
29727 (cd $(TARGET_SUBDIR)/rda && \
29728 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
29731 .PHONY: check-target-rda maybe-check-target-rda
29732 maybe-check-target-rda:
29734 maybe-check-target-rda: check-target-rda
29737 @r=`${PWD_COMMAND}`; export r; \
29738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29740 $(NORMAL_TARGET_EXPORTS) \
29741 (cd $(TARGET_SUBDIR)/rda && \
29742 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29746 .PHONY: install-target-rda maybe-install-target-rda
29747 maybe-install-target-rda:
29749 maybe-install-target-rda: install-target-rda
29751 install-target-rda: installdirs
29752 @r=`${PWD_COMMAND}`; export r; \
29753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29755 $(NORMAL_TARGET_EXPORTS) \
29756 (cd $(TARGET_SUBDIR)/rda && \
29757 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29761 # Other targets (info, dvi, etc.)
29763 .PHONY: maybe-info-target-rda info-target-rda
29764 maybe-info-target-rda:
29766 maybe-info-target-rda: info-target-rda
29769 configure-target-rda
29770 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29771 r=`${PWD_COMMAND}`; export r; \
29772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29774 $(NORMAL_TARGET_EXPORTS) \
29775 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
29776 for flag in $(EXTRA_TARGET_FLAGS); do \
29777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29779 (cd $(TARGET_SUBDIR)/rda && \
29780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29782 "RANLIB=$${RANLIB}" \
29783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29789 .PHONY: maybe-dvi-target-rda dvi-target-rda
29790 maybe-dvi-target-rda:
29792 maybe-dvi-target-rda: dvi-target-rda
29795 configure-target-rda
29796 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29797 r=`${PWD_COMMAND}`; export r; \
29798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29800 $(NORMAL_TARGET_EXPORTS) \
29801 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
29802 for flag in $(EXTRA_TARGET_FLAGS); do \
29803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29805 (cd $(TARGET_SUBDIR)/rda && \
29806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29808 "RANLIB=$${RANLIB}" \
29809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29815 .PHONY: maybe-html-target-rda html-target-rda
29816 maybe-html-target-rda:
29818 maybe-html-target-rda: html-target-rda
29821 configure-target-rda
29822 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29823 r=`${PWD_COMMAND}`; export r; \
29824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29826 $(NORMAL_TARGET_EXPORTS) \
29827 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
29828 for flag in $(EXTRA_TARGET_FLAGS); do \
29829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29831 (cd $(TARGET_SUBDIR)/rda && \
29832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29834 "RANLIB=$${RANLIB}" \
29835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29841 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
29842 maybe-TAGS-target-rda:
29844 maybe-TAGS-target-rda: TAGS-target-rda
29847 configure-target-rda
29848 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29849 r=`${PWD_COMMAND}`; export r; \
29850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29852 $(NORMAL_TARGET_EXPORTS) \
29853 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
29854 for flag in $(EXTRA_TARGET_FLAGS); do \
29855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29857 (cd $(TARGET_SUBDIR)/rda && \
29858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29860 "RANLIB=$${RANLIB}" \
29861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29867 .PHONY: maybe-install-info-target-rda install-info-target-rda
29868 maybe-install-info-target-rda:
29870 maybe-install-info-target-rda: install-info-target-rda
29872 install-info-target-rda: \
29873 configure-target-rda \
29875 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29876 r=`${PWD_COMMAND}`; export r; \
29877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29879 $(NORMAL_TARGET_EXPORTS) \
29880 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
29881 for flag in $(EXTRA_TARGET_FLAGS); do \
29882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29884 (cd $(TARGET_SUBDIR)/rda && \
29885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29887 "RANLIB=$${RANLIB}" \
29888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29894 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
29895 maybe-installcheck-target-rda:
29897 maybe-installcheck-target-rda: installcheck-target-rda
29899 installcheck-target-rda: \
29900 configure-target-rda
29901 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29902 r=`${PWD_COMMAND}`; export r; \
29903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29905 $(NORMAL_TARGET_EXPORTS) \
29906 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
29907 for flag in $(EXTRA_TARGET_FLAGS); do \
29908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29910 (cd $(TARGET_SUBDIR)/rda && \
29911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29913 "RANLIB=$${RANLIB}" \
29914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29920 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
29921 maybe-mostlyclean-target-rda:
29923 maybe-mostlyclean-target-rda: mostlyclean-target-rda
29925 mostlyclean-target-rda:
29926 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29927 r=`${PWD_COMMAND}`; export r; \
29928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29930 $(NORMAL_TARGET_EXPORTS) \
29931 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
29932 for flag in $(EXTRA_TARGET_FLAGS); do \
29933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29935 (cd $(TARGET_SUBDIR)/rda && \
29936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29938 "RANLIB=$${RANLIB}" \
29939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29945 .PHONY: maybe-clean-target-rda clean-target-rda
29946 maybe-clean-target-rda:
29948 maybe-clean-target-rda: clean-target-rda
29951 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29952 r=`${PWD_COMMAND}`; export r; \
29953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29955 $(NORMAL_TARGET_EXPORTS) \
29956 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
29957 for flag in $(EXTRA_TARGET_FLAGS); do \
29958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29960 (cd $(TARGET_SUBDIR)/rda && \
29961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29963 "RANLIB=$${RANLIB}" \
29964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29970 .PHONY: maybe-distclean-target-rda distclean-target-rda
29971 maybe-distclean-target-rda:
29973 maybe-distclean-target-rda: distclean-target-rda
29975 distclean-target-rda:
29976 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29977 r=`${PWD_COMMAND}`; export r; \
29978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29980 $(NORMAL_TARGET_EXPORTS) \
29981 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
29982 for flag in $(EXTRA_TARGET_FLAGS); do \
29983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29985 (cd $(TARGET_SUBDIR)/rda && \
29986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29988 "RANLIB=$${RANLIB}" \
29989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29995 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
29996 maybe-maintainer-clean-target-rda:
29998 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
30000 maintainer-clean-target-rda:
30001 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
30002 r=`${PWD_COMMAND}`; export r; \
30003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30005 $(NORMAL_TARGET_EXPORTS) \
30006 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
30007 for flag in $(EXTRA_TARGET_FLAGS); do \
30008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30010 (cd $(TARGET_SUBDIR)/rda && \
30011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30013 "RANLIB=$${RANLIB}" \
30014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30015 maintainer-clean) \
30021 .PHONY: configure-target-libada maybe-configure-target-libada
30022 maybe-configure-target-libada:
30024 maybe-configure-target-libada: configure-target-libada
30026 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30027 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
30028 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
30029 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
30030 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
30032 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
30033 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
30034 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
30035 r=`${PWD_COMMAND}`; export r; \
30036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30038 $(NORMAL_TARGET_EXPORTS) \
30039 echo Configuring in $(TARGET_SUBDIR)/libada; \
30040 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
30041 case $(srcdir) in \
30042 /* | [A-Za-z]:[\\/]*) \
30043 topdir=$(srcdir) ;; \
30045 case "$(TARGET_SUBDIR)" in \
30046 .) topdir="../$(srcdir)" ;; \
30047 *) topdir="../../$(srcdir)" ;; \
30050 srcdiroption="--srcdir=$${topdir}/libada"; \
30051 libsrcdir="$$s/libada"; \
30052 rm -f no-such-file || : ; \
30053 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30054 $(TARGET_CONFIGARGS) $${srcdiroption} \
30055 --with-target-subdir="$(TARGET_SUBDIR)" \
30057 @endif target-libada
30059 .PHONY: all-target-libada maybe-all-target-libada
30060 maybe-all-target-libada:
30062 TARGET-target-libada=all
30063 maybe-all-target-libada: all-target-libada
30064 all-target-libada: configure-target-libada
30065 @r=`${PWD_COMMAND}`; export r; \
30066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30068 $(NORMAL_TARGET_EXPORTS) \
30069 (cd $(TARGET_SUBDIR)/libada && \
30070 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
30071 @endif target-libada
30073 .PHONY: check-target-libada maybe-check-target-libada
30074 maybe-check-target-libada:
30076 maybe-check-target-libada: check-target-libada
30078 check-target-libada:
30079 @r=`${PWD_COMMAND}`; export r; \
30080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30082 $(NORMAL_TARGET_EXPORTS) \
30083 (cd $(TARGET_SUBDIR)/libada && \
30084 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30086 @endif target-libada
30088 .PHONY: install-target-libada maybe-install-target-libada
30089 maybe-install-target-libada:
30091 maybe-install-target-libada: install-target-libada
30093 install-target-libada: installdirs
30094 @r=`${PWD_COMMAND}`; export r; \
30095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30097 $(NORMAL_TARGET_EXPORTS) \
30098 (cd $(TARGET_SUBDIR)/libada && \
30099 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30101 @endif target-libada
30103 # Other targets (info, dvi, etc.)
30105 .PHONY: maybe-info-target-libada info-target-libada
30106 maybe-info-target-libada:
30108 maybe-info-target-libada: info-target-libada
30110 info-target-libada: \
30111 configure-target-libada
30112 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30113 r=`${PWD_COMMAND}`; export r; \
30114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30116 $(NORMAL_TARGET_EXPORTS) \
30117 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
30118 for flag in $(EXTRA_TARGET_FLAGS); do \
30119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30121 (cd $(TARGET_SUBDIR)/libada && \
30122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30124 "RANLIB=$${RANLIB}" \
30125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30129 @endif target-libada
30131 .PHONY: maybe-dvi-target-libada dvi-target-libada
30132 maybe-dvi-target-libada:
30134 maybe-dvi-target-libada: dvi-target-libada
30136 dvi-target-libada: \
30137 configure-target-libada
30138 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30139 r=`${PWD_COMMAND}`; export r; \
30140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30142 $(NORMAL_TARGET_EXPORTS) \
30143 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
30144 for flag in $(EXTRA_TARGET_FLAGS); do \
30145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30147 (cd $(TARGET_SUBDIR)/libada && \
30148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30150 "RANLIB=$${RANLIB}" \
30151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30155 @endif target-libada
30157 .PHONY: maybe-html-target-libada html-target-libada
30158 maybe-html-target-libada:
30160 maybe-html-target-libada: html-target-libada
30162 html-target-libada: \
30163 configure-target-libada
30164 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30165 r=`${PWD_COMMAND}`; export r; \
30166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30168 $(NORMAL_TARGET_EXPORTS) \
30169 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
30170 for flag in $(EXTRA_TARGET_FLAGS); do \
30171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30173 (cd $(TARGET_SUBDIR)/libada && \
30174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30176 "RANLIB=$${RANLIB}" \
30177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30181 @endif target-libada
30183 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
30184 maybe-TAGS-target-libada:
30186 maybe-TAGS-target-libada: TAGS-target-libada
30188 TAGS-target-libada: \
30189 configure-target-libada
30190 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30191 r=`${PWD_COMMAND}`; export r; \
30192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30194 $(NORMAL_TARGET_EXPORTS) \
30195 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
30196 for flag in $(EXTRA_TARGET_FLAGS); do \
30197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30199 (cd $(TARGET_SUBDIR)/libada && \
30200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30202 "RANLIB=$${RANLIB}" \
30203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30207 @endif target-libada
30209 .PHONY: maybe-install-info-target-libada install-info-target-libada
30210 maybe-install-info-target-libada:
30212 maybe-install-info-target-libada: install-info-target-libada
30214 install-info-target-libada: \
30215 configure-target-libada \
30217 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30218 r=`${PWD_COMMAND}`; export r; \
30219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30221 $(NORMAL_TARGET_EXPORTS) \
30222 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
30223 for flag in $(EXTRA_TARGET_FLAGS); do \
30224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30226 (cd $(TARGET_SUBDIR)/libada && \
30227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30229 "RANLIB=$${RANLIB}" \
30230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30234 @endif target-libada
30236 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
30237 maybe-installcheck-target-libada:
30239 maybe-installcheck-target-libada: installcheck-target-libada
30241 installcheck-target-libada: \
30242 configure-target-libada
30243 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30244 r=`${PWD_COMMAND}`; export r; \
30245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30247 $(NORMAL_TARGET_EXPORTS) \
30248 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
30249 for flag in $(EXTRA_TARGET_FLAGS); do \
30250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30252 (cd $(TARGET_SUBDIR)/libada && \
30253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30255 "RANLIB=$${RANLIB}" \
30256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30260 @endif target-libada
30262 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
30263 maybe-mostlyclean-target-libada:
30265 maybe-mostlyclean-target-libada: mostlyclean-target-libada
30267 mostlyclean-target-libada:
30268 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30269 r=`${PWD_COMMAND}`; export r; \
30270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30272 $(NORMAL_TARGET_EXPORTS) \
30273 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
30274 for flag in $(EXTRA_TARGET_FLAGS); do \
30275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30277 (cd $(TARGET_SUBDIR)/libada && \
30278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30280 "RANLIB=$${RANLIB}" \
30281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30285 @endif target-libada
30287 .PHONY: maybe-clean-target-libada clean-target-libada
30288 maybe-clean-target-libada:
30290 maybe-clean-target-libada: clean-target-libada
30292 clean-target-libada:
30293 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30294 r=`${PWD_COMMAND}`; export r; \
30295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30297 $(NORMAL_TARGET_EXPORTS) \
30298 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
30299 for flag in $(EXTRA_TARGET_FLAGS); do \
30300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30302 (cd $(TARGET_SUBDIR)/libada && \
30303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30305 "RANLIB=$${RANLIB}" \
30306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30310 @endif target-libada
30312 .PHONY: maybe-distclean-target-libada distclean-target-libada
30313 maybe-distclean-target-libada:
30315 maybe-distclean-target-libada: distclean-target-libada
30317 distclean-target-libada:
30318 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30319 r=`${PWD_COMMAND}`; export r; \
30320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30322 $(NORMAL_TARGET_EXPORTS) \
30323 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
30324 for flag in $(EXTRA_TARGET_FLAGS); do \
30325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30327 (cd $(TARGET_SUBDIR)/libada && \
30328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30330 "RANLIB=$${RANLIB}" \
30331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30335 @endif target-libada
30337 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
30338 maybe-maintainer-clean-target-libada:
30340 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
30342 maintainer-clean-target-libada:
30343 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30344 r=`${PWD_COMMAND}`; export r; \
30345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30347 $(NORMAL_TARGET_EXPORTS) \
30348 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
30349 for flag in $(EXTRA_TARGET_FLAGS); do \
30350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30352 (cd $(TARGET_SUBDIR)/libada && \
30353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30355 "RANLIB=$${RANLIB}" \
30356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30357 maintainer-clean) \
30360 @endif target-libada
30368 @if gcc-no-bootstrap
30369 # GCC has some more recursive targets, which trigger the old
30370 # (but still current, until the toplevel bootstrap project
30371 # is finished) compiler bootstrapping rules.
30373 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
30374 .PHONY: $(GCC_STRAP_TARGETS)
30375 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
30376 @r=`${PWD_COMMAND}`; export r; \
30377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30380 echo "Bootstrapping the compiler"; \
30381 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
30382 @r=`${PWD_COMMAND}`; export r; \
30383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30385 *bootstrap4-lean ) \
30386 msg="Comparing stage3 and stage4 of the compiler"; \
30387 compare=compare3-lean ;; \
30389 msg="Comparing stage3 and stage4 of the compiler"; \
30390 compare=compare3 ;; \
30392 msg="Comparing stage2 and stage3 of the compiler"; \
30393 compare=compare-lean ;; \
30395 msg="Comparing stage2 and stage3 of the compiler"; \
30396 compare=compare ;; \
30401 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
30402 @r=`${PWD_COMMAND}`; export r; \
30403 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30405 echo "Building runtime libraries"; \
30406 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
30408 profiledbootstrap: all-prebootstrap configure-gcc
30409 @r=`${PWD_COMMAND}`; export r; \
30410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30413 echo "Bootstrapping training compiler"; \
30414 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
30415 @r=`${PWD_COMMAND}`; export r; \
30416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30419 echo "Building feedback based compiler"; \
30420 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
30421 @r=`${PWD_COMMAND}`; export r; \
30422 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30424 echo "Building runtime libraries"; \
30425 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
30428 cross: all-build all-gas all-ld
30429 @r=`${PWD_COMMAND}`; export r; \
30430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30433 echo "Building the C and C++ compiler"; \
30434 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
30435 @r=`${PWD_COMMAND}`; export r; \
30436 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30438 echo "Building runtime libraries"; \
30439 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
30440 @endif gcc-no-bootstrap
30443 .PHONY: check-gcc-c++
30445 @if [ -f ./gcc/Makefile ] ; then \
30446 r=`${PWD_COMMAND}`; export r; \
30447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30450 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
30456 check-c++: check-target-libstdc++-v3 check-gcc-c++
30458 # Install the gcc headers files, but not the fixed include files,
30459 # which Cygnus is not allowed to distribute. This rule is very
30460 # dependent on the workings of the gcc Makefile.in.
30461 .PHONY: gcc-no-fixedincludes
30462 gcc-no-fixedincludes:
30463 @if [ -f ./gcc/Makefile ]; then \
30464 rm -rf gcc/tmp-include; \
30465 mv gcc/include gcc/tmp-include 2>/dev/null; \
30466 mkdir gcc/include; \
30467 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
30468 touch gcc/stmp-fixinc gcc/include/fixed; \
30469 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
30470 r=`${PWD_COMMAND}`; export r; \
30471 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30475 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
30476 rm -rf gcc/include; \
30477 mv gcc/tmp-include gcc/include 2>/dev/null; \
30481 # ---------------------
30482 # GCC bootstrap support
30483 # ---------------------
30485 # We track the current stage (the one in 'gcc') in the stage_current file.
30486 # stage_last instead tracks the stage that was built last. These targets
30487 # are dummy when toplevel bootstrap is not active.
30492 @[ -f stage_current ] || $(MAKE) `cat stage_last`-start
30493 @endif gcc-bootstrap
30498 @$(MAKE) `cat stage_current`-end
30499 @endif gcc-bootstrap
30501 # We name the build directories for the various stages "stage1-gcc",
30502 # "stage2-gcc","stage3-gcc", etc.
30504 # Since the 'compare' process will fail (on debugging information) if any
30505 # directory names are different, we need to link the gcc directory for
30506 # the previous stage to a constant name ('gcc-prev'), and to make the name of
30507 # the build directories constant as well. For the latter, we use naked names
30508 # like 'gcc', because the scripts in that directory assume it. We use
30509 # mv on platforms where symlinks to directories do not work or are not
30512 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
30513 # be kept, so that libraries can find it. Ick!
30515 # It would be best to preinstall gcc into a staging area (and in the
30516 # future, gather there all prebootstrap packages). This would allow
30517 # assemblers and linkers can be bootstrapped as well as the compiler
30518 # (both in a combined tree, or separately). This however requires some
30519 # change to the gcc driver, again in order to avoid comparison failures.
30521 # Bugs: This is crippled when doing parallel make, the `make all-host'
30522 # and `make all-target' phases can be parallelized.
30525 # 'touch' doesn't work right on some platforms.
30526 STAMP = echo timestamp >
30528 # Only build the C compiler for stage1, because that is the only one that
30529 # we can guarantee will build with the native compiler, and also it is the
30530 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
30531 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
30532 # overrideable (for a bootstrap build stage1 also builds gcc.info).
30534 STAGE1_CFLAGS=@stage1_cflags@
30535 STAGE1_LANGUAGES=@stage1_languages@
30537 # We only want to compare .o files, so set this!
30540 # Flags to pass to stage2 and later makes.
30541 POSTSTAGE1_FLAGS_TO_PASS = \
30542 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
30543 STAGE_PREFIX=$$r/stage-gcc/ \
30544 CFLAGS="$(BOOT_CFLAGS)" \
30548 # * We force-disable intermodule optimizations, even if
30549 # --enable-intermodule was passed, since the installed compiler probably
30550 # can't handle them. Luckily, autoconf always respects
30551 # the last argument when conflicting --enable arguments are passed.
30552 # * Likewise, we force-disable coverage flags, since the installed compiler
30553 # probably has never heard of them.
30554 # * We build only C (and possibly Ada).
30557 .PHONY: stage1-start stage1-end
30560 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30561 echo stage1 > stage_current ; \
30562 echo stage1 > stage_last
30564 @[ -d stage1-bfd ] || mkdir stage1-bfd; \
30565 set stage1-bfd bfd ; @CREATE_LINK_TO_DIR@
30568 @[ -d stage1-opcodes ] || mkdir stage1-opcodes; \
30569 set stage1-opcodes opcodes ; @CREATE_LINK_TO_DIR@
30572 @[ -d stage1-binutils ] || mkdir stage1-binutils; \
30573 set stage1-binutils binutils ; @CREATE_LINK_TO_DIR@
30576 @[ -d stage1-gas ] || mkdir stage1-gas; \
30577 set stage1-gas gas ; @CREATE_LINK_TO_DIR@
30580 @[ -d stage1-gcc ] || mkdir stage1-gcc; \
30581 set stage1-gcc gcc ; @CREATE_LINK_TO_DIR@
30584 @[ -d stage1-intl ] || mkdir stage1-intl; \
30585 set stage1-intl intl ; @CREATE_LINK_TO_DIR@
30588 @[ -d stage1-ld ] || mkdir stage1-ld; \
30589 set stage1-ld ld ; @CREATE_LINK_TO_DIR@
30592 @[ -d stage1-libcpp ] || mkdir stage1-libcpp; \
30593 set stage1-libcpp libcpp ; @CREATE_LINK_TO_DIR@
30596 @[ -d stage1-libiberty ] || mkdir stage1-libiberty; \
30597 set stage1-libiberty libiberty ; @CREATE_LINK_TO_DIR@
30600 @[ -d stage1-zlib ] || mkdir stage1-zlib; \
30601 set stage1-zlib zlib ; @CREATE_LINK_TO_DIR@
30605 @rm -f stage_current
30607 @set bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
30610 @set opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
30613 @set binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
30616 @set gas stage1-gas ; @UNDO_LINK_TO_DIR@
30619 @set gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
30622 @set intl stage1-intl ; @UNDO_LINK_TO_DIR@
30625 @set ld stage1-ld ; @UNDO_LINK_TO_DIR@
30628 @set libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
30631 @set libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
30634 @set zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
30637 # Bubble a bugfix through all the stages up to stage 1. They
30638 # are remade, but not reconfigured. The next stage (if any) will not
30639 # be reconfigured as well.
30640 .PHONY: stage1-bubble
30642 @if test -f stage1-lean ; then \
30643 echo Skipping rebuild of stage1 ; \
30645 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage1; \
30648 .PHONY: all-stage1 clean-stage1
30650 maybe-all-stage1-bfd \
30651 maybe-all-stage1-opcodes \
30652 maybe-all-stage1-binutils \
30653 maybe-all-stage1-gas \
30654 maybe-all-stage1-gcc \
30655 maybe-all-stage1-intl \
30656 maybe-all-stage1-ld \
30657 maybe-all-stage1-libcpp \
30658 maybe-all-stage1-libiberty \
30659 maybe-all-stage1-zlib
30661 do-clean: clean-stage1
30663 maybe-clean-stage1-bfd \
30664 maybe-clean-stage1-opcodes \
30665 maybe-clean-stage1-binutils \
30666 maybe-clean-stage1-gas \
30667 maybe-clean-stage1-gcc \
30668 maybe-clean-stage1-intl \
30669 maybe-clean-stage1-ld \
30670 maybe-clean-stage1-libcpp \
30671 maybe-clean-stage1-libiberty \
30672 maybe-clean-stage1-zlib
30675 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
30676 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
30677 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
30679 maybe-configure-stage1-bfd:
30680 maybe-all-stage1-bfd:
30681 maybe-clean-stage1-bfd:
30684 maybe-configure-stage1-bfd: configure-stage1-bfd
30685 configure-stage1-bfd:
30686 @$(MAKE) stage1-start
30687 @[ -f bfd/Makefile ] && exit 0 || : ; \
30688 r=`${PWD_COMMAND}`; export r; \
30689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30691 echo Configuring stage 1 in bfd ; \
30692 cd bfd || exit 1; \
30693 case $(srcdir) in \
30695 srcdiroption="--srcdir=."; \
30697 /* | [A-Za-z]:[\\/]*) \
30698 srcdiroption="--srcdir=$(srcdir)/bfd"; \
30699 libsrcdir="$$s/bfd";; \
30701 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
30702 libsrcdir="$$s/bfd";; \
30704 $(SHELL) $${libsrcdir}/configure \
30705 $(HOST_CONFIGARGS) $${srcdiroption} \
30706 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30708 maybe-all-stage1-bfd: all-stage1-bfd
30709 all-stage1-bfd: configure-stage1-bfd
30710 @$(MAKE) stage1-start
30711 @r=`${PWD_COMMAND}`; export r; \
30712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30715 $(MAKE) $(FLAGS_TO_PASS) \
30716 CFLAGS="$(STAGE1_CFLAGS)"
30718 maybe-clean-stage1-bfd: clean-stage1-bfd
30720 @[ -f bfd/Makefile ] || [ -f stage1-bfd/Makefile ] \
30722 [ -f bfd/Makefile ] || $(MAKE) stage1-start ; \
30724 $(MAKE) $(FLAGS_TO_PASS) \
30725 CFLAGS="$(STAGE1_CFLAGS)" clean
30726 @endif bfd-bootstrap
30729 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
30730 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
30731 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
30733 maybe-configure-stage1-opcodes:
30734 maybe-all-stage1-opcodes:
30735 maybe-clean-stage1-opcodes:
30737 @if opcodes-bootstrap
30738 maybe-configure-stage1-opcodes: configure-stage1-opcodes
30739 configure-stage1-opcodes:
30740 @$(MAKE) stage1-start
30741 @[ -f opcodes/Makefile ] && exit 0 || : ; \
30742 r=`${PWD_COMMAND}`; export r; \
30743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30745 echo Configuring stage 1 in opcodes ; \
30746 cd opcodes || exit 1; \
30747 case $(srcdir) in \
30749 srcdiroption="--srcdir=."; \
30751 /* | [A-Za-z]:[\\/]*) \
30752 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
30753 libsrcdir="$$s/opcodes";; \
30755 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
30756 libsrcdir="$$s/opcodes";; \
30758 $(SHELL) $${libsrcdir}/configure \
30759 $(HOST_CONFIGARGS) $${srcdiroption} \
30760 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30762 maybe-all-stage1-opcodes: all-stage1-opcodes
30763 all-stage1-opcodes: configure-stage1-opcodes
30764 @$(MAKE) stage1-start
30765 @r=`${PWD_COMMAND}`; export r; \
30766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30769 $(MAKE) $(FLAGS_TO_PASS) \
30770 CFLAGS="$(STAGE1_CFLAGS)"
30772 maybe-clean-stage1-opcodes: clean-stage1-opcodes
30773 clean-stage1-opcodes:
30774 @[ -f opcodes/Makefile ] || [ -f stage1-opcodes/Makefile ] \
30776 [ -f opcodes/Makefile ] || $(MAKE) stage1-start ; \
30778 $(MAKE) $(FLAGS_TO_PASS) \
30779 CFLAGS="$(STAGE1_CFLAGS)" clean
30780 @endif opcodes-bootstrap
30783 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
30784 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
30785 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
30787 maybe-configure-stage1-binutils:
30788 maybe-all-stage1-binutils:
30789 maybe-clean-stage1-binutils:
30791 @if binutils-bootstrap
30792 maybe-configure-stage1-binutils: configure-stage1-binutils
30793 configure-stage1-binutils:
30794 @$(MAKE) stage1-start
30795 @[ -f binutils/Makefile ] && exit 0 || : ; \
30796 r=`${PWD_COMMAND}`; export r; \
30797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30799 echo Configuring stage 1 in binutils ; \
30800 cd binutils || exit 1; \
30801 case $(srcdir) in \
30803 srcdiroption="--srcdir=."; \
30805 /* | [A-Za-z]:[\\/]*) \
30806 srcdiroption="--srcdir=$(srcdir)/binutils"; \
30807 libsrcdir="$$s/binutils";; \
30809 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
30810 libsrcdir="$$s/binutils";; \
30812 $(SHELL) $${libsrcdir}/configure \
30813 $(HOST_CONFIGARGS) $${srcdiroption} \
30814 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30816 maybe-all-stage1-binutils: all-stage1-binutils
30817 all-stage1-binutils: configure-stage1-binutils
30818 @$(MAKE) stage1-start
30819 @r=`${PWD_COMMAND}`; export r; \
30820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30823 $(MAKE) $(FLAGS_TO_PASS) \
30824 CFLAGS="$(STAGE1_CFLAGS)"
30826 maybe-clean-stage1-binutils: clean-stage1-binutils
30827 clean-stage1-binutils:
30828 @[ -f binutils/Makefile ] || [ -f stage1-binutils/Makefile ] \
30830 [ -f binutils/Makefile ] || $(MAKE) stage1-start ; \
30832 $(MAKE) $(FLAGS_TO_PASS) \
30833 CFLAGS="$(STAGE1_CFLAGS)" clean
30834 @endif binutils-bootstrap
30837 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
30838 .PHONY: all-stage1-gas maybe-all-stage1-gas
30839 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
30841 maybe-configure-stage1-gas:
30842 maybe-all-stage1-gas:
30843 maybe-clean-stage1-gas:
30846 maybe-configure-stage1-gas: configure-stage1-gas
30847 configure-stage1-gas:
30848 @$(MAKE) stage1-start
30849 @[ -f gas/Makefile ] && exit 0 || : ; \
30850 r=`${PWD_COMMAND}`; export r; \
30851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30853 echo Configuring stage 1 in gas ; \
30854 cd gas || exit 1; \
30855 case $(srcdir) in \
30857 srcdiroption="--srcdir=."; \
30859 /* | [A-Za-z]:[\\/]*) \
30860 srcdiroption="--srcdir=$(srcdir)/gas"; \
30861 libsrcdir="$$s/gas";; \
30863 srcdiroption="--srcdir=../$(srcdir)/gas"; \
30864 libsrcdir="$$s/gas";; \
30866 $(SHELL) $${libsrcdir}/configure \
30867 $(HOST_CONFIGARGS) $${srcdiroption} \
30868 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30870 maybe-all-stage1-gas: all-stage1-gas
30871 all-stage1-gas: configure-stage1-gas
30872 @$(MAKE) stage1-start
30873 @r=`${PWD_COMMAND}`; export r; \
30874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30877 $(MAKE) $(FLAGS_TO_PASS) \
30878 CFLAGS="$(STAGE1_CFLAGS)"
30880 maybe-clean-stage1-gas: clean-stage1-gas
30882 @[ -f gas/Makefile ] || [ -f stage1-gas/Makefile ] \
30884 [ -f gas/Makefile ] || $(MAKE) stage1-start ; \
30886 $(MAKE) $(FLAGS_TO_PASS) \
30887 CFLAGS="$(STAGE1_CFLAGS)" clean
30888 @endif gas-bootstrap
30891 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
30892 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
30893 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
30895 maybe-configure-stage1-gcc:
30896 maybe-all-stage1-gcc:
30897 maybe-clean-stage1-gcc:
30900 maybe-configure-stage1-gcc: configure-stage1-gcc
30901 configure-stage1-gcc:
30902 @$(MAKE) stage1-start
30903 @[ -f gcc/Makefile ] && exit 0 || : ; \
30904 r=`${PWD_COMMAND}`; export r; \
30905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30907 echo Configuring stage 1 in gcc ; \
30908 cd gcc || exit 1; \
30909 case $(srcdir) in \
30911 srcdiroption="--srcdir=."; \
30913 /* | [A-Za-z]:[\\/]*) \
30914 srcdiroption="--srcdir=$(srcdir)/gcc"; \
30915 libsrcdir="$$s/gcc";; \
30917 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
30918 libsrcdir="$$s/gcc";; \
30920 $(SHELL) $${libsrcdir}/configure \
30921 $(HOST_CONFIGARGS) $${srcdiroption} \
30922 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30924 maybe-all-stage1-gcc: all-stage1-gcc
30925 all-stage1-gcc: configure-stage1-gcc
30926 @$(MAKE) stage1-start
30927 @r=`${PWD_COMMAND}`; export r; \
30928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30931 $(MAKE) $(FLAGS_TO_PASS) \
30932 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS)
30934 maybe-clean-stage1-gcc: clean-stage1-gcc
30936 @[ -f gcc/Makefile ] || [ -f stage1-gcc/Makefile ] \
30938 [ -f gcc/Makefile ] || $(MAKE) stage1-start ; \
30940 $(MAKE) $(FLAGS_TO_PASS) \
30941 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
30942 @endif gcc-bootstrap
30945 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
30946 .PHONY: all-stage1-intl maybe-all-stage1-intl
30947 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
30949 maybe-configure-stage1-intl:
30950 maybe-all-stage1-intl:
30951 maybe-clean-stage1-intl:
30954 maybe-configure-stage1-intl: configure-stage1-intl
30955 configure-stage1-intl:
30956 @$(MAKE) stage1-start
30957 @[ -f intl/Makefile ] && exit 0 || : ; \
30958 r=`${PWD_COMMAND}`; export r; \
30959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30961 echo Configuring stage 1 in intl ; \
30962 cd intl || exit 1; \
30963 case $(srcdir) in \
30965 srcdiroption="--srcdir=."; \
30967 /* | [A-Za-z]:[\\/]*) \
30968 srcdiroption="--srcdir=$(srcdir)/intl"; \
30969 libsrcdir="$$s/intl";; \
30971 srcdiroption="--srcdir=../$(srcdir)/intl"; \
30972 libsrcdir="$$s/intl";; \
30974 $(SHELL) $${libsrcdir}/configure \
30975 $(HOST_CONFIGARGS) $${srcdiroption} \
30976 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30978 maybe-all-stage1-intl: all-stage1-intl
30979 all-stage1-intl: configure-stage1-intl
30980 @$(MAKE) stage1-start
30981 @r=`${PWD_COMMAND}`; export r; \
30982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30985 $(MAKE) $(FLAGS_TO_PASS) \
30986 CFLAGS="$(STAGE1_CFLAGS)"
30988 maybe-clean-stage1-intl: clean-stage1-intl
30990 @[ -f intl/Makefile ] || [ -f stage1-intl/Makefile ] \
30992 [ -f intl/Makefile ] || $(MAKE) stage1-start ; \
30994 $(MAKE) $(FLAGS_TO_PASS) \
30995 CFLAGS="$(STAGE1_CFLAGS)" clean
30996 @endif intl-bootstrap
30999 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
31000 .PHONY: all-stage1-ld maybe-all-stage1-ld
31001 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
31003 maybe-configure-stage1-ld:
31004 maybe-all-stage1-ld:
31005 maybe-clean-stage1-ld:
31008 maybe-configure-stage1-ld: configure-stage1-ld
31009 configure-stage1-ld:
31010 @$(MAKE) stage1-start
31011 @[ -f ld/Makefile ] && exit 0 || : ; \
31012 r=`${PWD_COMMAND}`; export r; \
31013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31015 echo Configuring stage 1 in ld ; \
31017 case $(srcdir) in \
31019 srcdiroption="--srcdir=."; \
31021 /* | [A-Za-z]:[\\/]*) \
31022 srcdiroption="--srcdir=$(srcdir)/ld"; \
31023 libsrcdir="$$s/ld";; \
31025 srcdiroption="--srcdir=../$(srcdir)/ld"; \
31026 libsrcdir="$$s/ld";; \
31028 $(SHELL) $${libsrcdir}/configure \
31029 $(HOST_CONFIGARGS) $${srcdiroption} \
31030 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31032 maybe-all-stage1-ld: all-stage1-ld
31033 all-stage1-ld: configure-stage1-ld
31034 @$(MAKE) stage1-start
31035 @r=`${PWD_COMMAND}`; export r; \
31036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31039 $(MAKE) $(FLAGS_TO_PASS) \
31040 CFLAGS="$(STAGE1_CFLAGS)"
31042 maybe-clean-stage1-ld: clean-stage1-ld
31044 @[ -f ld/Makefile ] || [ -f stage1-ld/Makefile ] \
31046 [ -f ld/Makefile ] || $(MAKE) stage1-start ; \
31048 $(MAKE) $(FLAGS_TO_PASS) \
31049 CFLAGS="$(STAGE1_CFLAGS)" clean
31050 @endif ld-bootstrap
31053 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
31054 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
31055 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
31057 maybe-configure-stage1-libcpp:
31058 maybe-all-stage1-libcpp:
31059 maybe-clean-stage1-libcpp:
31061 @if libcpp-bootstrap
31062 maybe-configure-stage1-libcpp: configure-stage1-libcpp
31063 configure-stage1-libcpp:
31064 @$(MAKE) stage1-start
31065 @[ -f libcpp/Makefile ] && exit 0 || : ; \
31066 r=`${PWD_COMMAND}`; export r; \
31067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31069 echo Configuring stage 1 in libcpp ; \
31070 cd libcpp || exit 1; \
31071 case $(srcdir) in \
31073 srcdiroption="--srcdir=."; \
31075 /* | [A-Za-z]:[\\/]*) \
31076 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
31077 libsrcdir="$$s/libcpp";; \
31079 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
31080 libsrcdir="$$s/libcpp";; \
31082 $(SHELL) $${libsrcdir}/configure \
31083 $(HOST_CONFIGARGS) $${srcdiroption} \
31084 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31086 maybe-all-stage1-libcpp: all-stage1-libcpp
31087 all-stage1-libcpp: configure-stage1-libcpp
31088 @$(MAKE) stage1-start
31089 @r=`${PWD_COMMAND}`; export r; \
31090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31093 $(MAKE) $(FLAGS_TO_PASS) \
31094 CFLAGS="$(STAGE1_CFLAGS)"
31096 maybe-clean-stage1-libcpp: clean-stage1-libcpp
31097 clean-stage1-libcpp:
31098 @[ -f libcpp/Makefile ] || [ -f stage1-libcpp/Makefile ] \
31100 [ -f libcpp/Makefile ] || $(MAKE) stage1-start ; \
31102 $(MAKE) $(FLAGS_TO_PASS) \
31103 CFLAGS="$(STAGE1_CFLAGS)" clean
31104 @endif libcpp-bootstrap
31107 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
31108 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
31109 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
31111 maybe-configure-stage1-libiberty:
31112 maybe-all-stage1-libiberty:
31113 maybe-clean-stage1-libiberty:
31115 @if libiberty-bootstrap
31116 maybe-configure-stage1-libiberty: configure-stage1-libiberty
31117 configure-stage1-libiberty:
31118 @$(MAKE) stage1-start
31119 @[ -f libiberty/Makefile ] && exit 0 || : ; \
31120 r=`${PWD_COMMAND}`; export r; \
31121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31123 echo Configuring stage 1 in libiberty ; \
31124 cd libiberty || exit 1; \
31125 case $(srcdir) in \
31127 srcdiroption="--srcdir=."; \
31129 /* | [A-Za-z]:[\\/]*) \
31130 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
31131 libsrcdir="$$s/libiberty";; \
31133 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
31134 libsrcdir="$$s/libiberty";; \
31136 $(SHELL) $${libsrcdir}/configure \
31137 $(HOST_CONFIGARGS) $${srcdiroption} \
31138 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31140 maybe-all-stage1-libiberty: all-stage1-libiberty
31141 all-stage1-libiberty: configure-stage1-libiberty
31142 @$(MAKE) stage1-start
31143 @r=`${PWD_COMMAND}`; export r; \
31144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31147 $(MAKE) $(FLAGS_TO_PASS) \
31148 CFLAGS="$(STAGE1_CFLAGS)"
31150 maybe-clean-stage1-libiberty: clean-stage1-libiberty
31151 clean-stage1-libiberty:
31152 @[ -f libiberty/Makefile ] || [ -f stage1-libiberty/Makefile ] \
31154 [ -f libiberty/Makefile ] || $(MAKE) stage1-start ; \
31156 $(MAKE) $(FLAGS_TO_PASS) \
31157 CFLAGS="$(STAGE1_CFLAGS)" clean
31158 @endif libiberty-bootstrap
31161 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
31162 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
31163 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
31165 maybe-configure-stage1-zlib:
31166 maybe-all-stage1-zlib:
31167 maybe-clean-stage1-zlib:
31170 maybe-configure-stage1-zlib: configure-stage1-zlib
31171 configure-stage1-zlib:
31172 @$(MAKE) stage1-start
31173 @[ -f zlib/Makefile ] && exit 0 || : ; \
31174 r=`${PWD_COMMAND}`; export r; \
31175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31177 echo Configuring stage 1 in zlib ; \
31178 cd zlib || exit 1; \
31179 case $(srcdir) in \
31181 srcdiroption="--srcdir=."; \
31183 /* | [A-Za-z]:[\\/]*) \
31184 srcdiroption="--srcdir=$(srcdir)/zlib"; \
31185 libsrcdir="$$s/zlib";; \
31187 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
31188 libsrcdir="$$s/zlib";; \
31190 $(SHELL) $${libsrcdir}/configure \
31191 $(HOST_CONFIGARGS) $${srcdiroption} \
31192 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31194 maybe-all-stage1-zlib: all-stage1-zlib
31195 all-stage1-zlib: configure-stage1-zlib
31196 @$(MAKE) stage1-start
31197 @r=`${PWD_COMMAND}`; export r; \
31198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31201 $(MAKE) $(FLAGS_TO_PASS) \
31202 CFLAGS="$(STAGE1_CFLAGS)"
31204 maybe-clean-stage1-zlib: clean-stage1-zlib
31206 @[ -f zlib/Makefile ] || [ -f stage1-zlib/Makefile ] \
31208 [ -f zlib/Makefile ] || $(MAKE) stage1-start ; \
31210 $(MAKE) $(FLAGS_TO_PASS) \
31211 CFLAGS="$(STAGE1_CFLAGS)" clean
31212 @endif zlib-bootstrap
31216 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31217 # only possibility, but now it conflicts with no-bootstrap rules
31223 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31225 .PHONY: distclean-stage1
31227 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31231 @endif gcc-bootstrap
31234 .PHONY: stage2-start stage2-end
31237 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31238 echo stage2 > stage_current ; \
31239 echo stage2 > stage_last
31241 @[ -d stage2-bfd ] || mkdir stage2-bfd; \
31242 set stage2-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
31243 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
31246 @[ -d stage2-opcodes ] || mkdir stage2-opcodes; \
31247 set stage2-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
31248 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
31251 @[ -d stage2-binutils ] || mkdir stage2-binutils; \
31252 set stage2-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
31253 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
31256 @[ -d stage2-gas ] || mkdir stage2-gas; \
31257 set stage2-gas gas ; @CREATE_LINK_TO_DIR@ ; \
31258 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
31261 @[ -d stage2-gcc ] || mkdir stage2-gcc; \
31262 set stage2-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
31263 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
31266 @[ -d stage2-intl ] || mkdir stage2-intl; \
31267 set stage2-intl intl ; @CREATE_LINK_TO_DIR@ ; \
31268 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
31271 @[ -d stage2-ld ] || mkdir stage2-ld; \
31272 set stage2-ld ld ; @CREATE_LINK_TO_DIR@ ; \
31273 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
31276 @[ -d stage2-libcpp ] || mkdir stage2-libcpp; \
31277 set stage2-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
31278 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
31281 @[ -d stage2-libiberty ] || mkdir stage2-libiberty; \
31282 set stage2-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
31283 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
31286 @[ -d stage2-zlib ] || mkdir stage2-zlib; \
31287 set stage2-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
31288 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
31292 @rm -f stage_current
31294 @set bfd stage2-bfd ; @UNDO_LINK_TO_DIR@ ; \
31295 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
31298 @set opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@ ; \
31299 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
31302 @set binutils stage2-binutils ; @UNDO_LINK_TO_DIR@ ; \
31303 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
31306 @set gas stage2-gas ; @UNDO_LINK_TO_DIR@ ; \
31307 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
31310 @set gcc stage2-gcc ; @UNDO_LINK_TO_DIR@ ; \
31311 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
31314 @set intl stage2-intl ; @UNDO_LINK_TO_DIR@ ; \
31315 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
31318 @set ld stage2-ld ; @UNDO_LINK_TO_DIR@ ; \
31319 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
31322 @set libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@ ; \
31323 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
31326 @set libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@ ; \
31327 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
31330 @set zlib stage2-zlib ; @UNDO_LINK_TO_DIR@ ; \
31331 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
31334 # Bubble a bugfix through all the stages up to stage 2. They
31335 # are remade, but not reconfigured. The next stage (if any) will not
31336 # be reconfigured as well.
31337 .PHONY: stage2-bubble
31338 stage2-bubble:: stage1-bubble
31339 @if test -f stage2-lean || test -f stage1-lean ; then \
31340 echo Skipping rebuild of stage2 ; \
31342 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage2; \
31345 .PHONY: all-stage2 clean-stage2
31347 maybe-all-stage2-bfd \
31348 maybe-all-stage2-opcodes \
31349 maybe-all-stage2-binutils \
31350 maybe-all-stage2-gas \
31351 maybe-all-stage2-gcc \
31352 maybe-all-stage2-intl \
31353 maybe-all-stage2-ld \
31354 maybe-all-stage2-libcpp \
31355 maybe-all-stage2-libiberty \
31356 maybe-all-stage2-zlib
31358 do-clean: clean-stage2
31360 maybe-clean-stage2-bfd \
31361 maybe-clean-stage2-opcodes \
31362 maybe-clean-stage2-binutils \
31363 maybe-clean-stage2-gas \
31364 maybe-clean-stage2-gcc \
31365 maybe-clean-stage2-intl \
31366 maybe-clean-stage2-ld \
31367 maybe-clean-stage2-libcpp \
31368 maybe-clean-stage2-libiberty \
31369 maybe-clean-stage2-zlib
31372 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
31373 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
31374 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
31376 maybe-configure-stage2-bfd:
31377 maybe-all-stage2-bfd:
31378 maybe-clean-stage2-bfd:
31381 maybe-configure-stage2-bfd: configure-stage2-bfd
31382 configure-stage2-bfd:
31383 @$(MAKE) stage2-start
31384 @[ -f bfd/Makefile ] && exit 0 || : ; \
31385 r=`${PWD_COMMAND}`; export r; \
31386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31387 $(STAGE_HOST_EXPORTS) \
31388 echo Configuring stage 2 in bfd ; \
31389 cd bfd || exit 1; \
31390 case $(srcdir) in \
31392 srcdiroption="--srcdir=."; \
31394 /* | [A-Za-z]:[\\/]*) \
31395 srcdiroption="--srcdir=$(srcdir)/bfd"; \
31396 libsrcdir="$$s/bfd";; \
31398 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
31399 libsrcdir="$$s/bfd";; \
31401 $(SHELL) $${libsrcdir}/configure \
31402 $(HOST_CONFIGARGS) $${srcdiroption} \
31403 @stage2_werror_flag@
31405 maybe-all-stage2-bfd: all-stage2-bfd
31406 all-stage2-bfd: configure-stage2-bfd
31407 @$(MAKE) stage2-start
31408 @r=`${PWD_COMMAND}`; export r; \
31409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31410 $(STAGE_HOST_EXPORTS) \
31412 $(MAKE) $(FLAGS_TO_PASS) \
31413 $(POSTSTAGE1_FLAGS_TO_PASS) \
31416 maybe-clean-stage2-bfd: clean-stage2-bfd
31418 @[ -f bfd/Makefile ] || [ -f stage2-bfd/Makefile ] \
31420 [ -f bfd/Makefile ] || $(MAKE) stage2-start ; \
31422 $(MAKE) $(FLAGS_TO_PASS) \
31423 $(POSTSTAGE1_FLAGS_TO_PASS) \
31425 @endif bfd-bootstrap
31428 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
31429 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
31430 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
31432 maybe-configure-stage2-opcodes:
31433 maybe-all-stage2-opcodes:
31434 maybe-clean-stage2-opcodes:
31436 @if opcodes-bootstrap
31437 maybe-configure-stage2-opcodes: configure-stage2-opcodes
31438 configure-stage2-opcodes:
31439 @$(MAKE) stage2-start
31440 @[ -f opcodes/Makefile ] && exit 0 || : ; \
31441 r=`${PWD_COMMAND}`; export r; \
31442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31443 $(STAGE_HOST_EXPORTS) \
31444 echo Configuring stage 2 in opcodes ; \
31445 cd opcodes || exit 1; \
31446 case $(srcdir) in \
31448 srcdiroption="--srcdir=."; \
31450 /* | [A-Za-z]:[\\/]*) \
31451 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
31452 libsrcdir="$$s/opcodes";; \
31454 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
31455 libsrcdir="$$s/opcodes";; \
31457 $(SHELL) $${libsrcdir}/configure \
31458 $(HOST_CONFIGARGS) $${srcdiroption} \
31459 @stage2_werror_flag@
31461 maybe-all-stage2-opcodes: all-stage2-opcodes
31462 all-stage2-opcodes: configure-stage2-opcodes
31463 @$(MAKE) stage2-start
31464 @r=`${PWD_COMMAND}`; export r; \
31465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31466 $(STAGE_HOST_EXPORTS) \
31468 $(MAKE) $(FLAGS_TO_PASS) \
31469 $(POSTSTAGE1_FLAGS_TO_PASS) \
31472 maybe-clean-stage2-opcodes: clean-stage2-opcodes
31473 clean-stage2-opcodes:
31474 @[ -f opcodes/Makefile ] || [ -f stage2-opcodes/Makefile ] \
31476 [ -f opcodes/Makefile ] || $(MAKE) stage2-start ; \
31478 $(MAKE) $(FLAGS_TO_PASS) \
31479 $(POSTSTAGE1_FLAGS_TO_PASS) \
31481 @endif opcodes-bootstrap
31484 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
31485 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
31486 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
31488 maybe-configure-stage2-binutils:
31489 maybe-all-stage2-binutils:
31490 maybe-clean-stage2-binutils:
31492 @if binutils-bootstrap
31493 maybe-configure-stage2-binutils: configure-stage2-binutils
31494 configure-stage2-binutils:
31495 @$(MAKE) stage2-start
31496 @[ -f binutils/Makefile ] && exit 0 || : ; \
31497 r=`${PWD_COMMAND}`; export r; \
31498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31499 $(STAGE_HOST_EXPORTS) \
31500 echo Configuring stage 2 in binutils ; \
31501 cd binutils || exit 1; \
31502 case $(srcdir) in \
31504 srcdiroption="--srcdir=."; \
31506 /* | [A-Za-z]:[\\/]*) \
31507 srcdiroption="--srcdir=$(srcdir)/binutils"; \
31508 libsrcdir="$$s/binutils";; \
31510 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
31511 libsrcdir="$$s/binutils";; \
31513 $(SHELL) $${libsrcdir}/configure \
31514 $(HOST_CONFIGARGS) $${srcdiroption} \
31515 @stage2_werror_flag@
31517 maybe-all-stage2-binutils: all-stage2-binutils
31518 all-stage2-binutils: configure-stage2-binutils
31519 @$(MAKE) stage2-start
31520 @r=`${PWD_COMMAND}`; export r; \
31521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31522 $(STAGE_HOST_EXPORTS) \
31524 $(MAKE) $(FLAGS_TO_PASS) \
31525 $(POSTSTAGE1_FLAGS_TO_PASS) \
31528 maybe-clean-stage2-binutils: clean-stage2-binutils
31529 clean-stage2-binutils:
31530 @[ -f binutils/Makefile ] || [ -f stage2-binutils/Makefile ] \
31532 [ -f binutils/Makefile ] || $(MAKE) stage2-start ; \
31534 $(MAKE) $(FLAGS_TO_PASS) \
31535 $(POSTSTAGE1_FLAGS_TO_PASS) \
31537 @endif binutils-bootstrap
31540 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
31541 .PHONY: all-stage2-gas maybe-all-stage2-gas
31542 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
31544 maybe-configure-stage2-gas:
31545 maybe-all-stage2-gas:
31546 maybe-clean-stage2-gas:
31549 maybe-configure-stage2-gas: configure-stage2-gas
31550 configure-stage2-gas:
31551 @$(MAKE) stage2-start
31552 @[ -f gas/Makefile ] && exit 0 || : ; \
31553 r=`${PWD_COMMAND}`; export r; \
31554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31555 $(STAGE_HOST_EXPORTS) \
31556 echo Configuring stage 2 in gas ; \
31557 cd gas || exit 1; \
31558 case $(srcdir) in \
31560 srcdiroption="--srcdir=."; \
31562 /* | [A-Za-z]:[\\/]*) \
31563 srcdiroption="--srcdir=$(srcdir)/gas"; \
31564 libsrcdir="$$s/gas";; \
31566 srcdiroption="--srcdir=../$(srcdir)/gas"; \
31567 libsrcdir="$$s/gas";; \
31569 $(SHELL) $${libsrcdir}/configure \
31570 $(HOST_CONFIGARGS) $${srcdiroption} \
31571 @stage2_werror_flag@
31573 maybe-all-stage2-gas: all-stage2-gas
31574 all-stage2-gas: configure-stage2-gas
31575 @$(MAKE) stage2-start
31576 @r=`${PWD_COMMAND}`; export r; \
31577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31578 $(STAGE_HOST_EXPORTS) \
31580 $(MAKE) $(FLAGS_TO_PASS) \
31581 $(POSTSTAGE1_FLAGS_TO_PASS) \
31584 maybe-clean-stage2-gas: clean-stage2-gas
31586 @[ -f gas/Makefile ] || [ -f stage2-gas/Makefile ] \
31588 [ -f gas/Makefile ] || $(MAKE) stage2-start ; \
31590 $(MAKE) $(FLAGS_TO_PASS) \
31591 $(POSTSTAGE1_FLAGS_TO_PASS) \
31593 @endif gas-bootstrap
31596 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
31597 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
31598 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
31600 maybe-configure-stage2-gcc:
31601 maybe-all-stage2-gcc:
31602 maybe-clean-stage2-gcc:
31605 maybe-configure-stage2-gcc: configure-stage2-gcc
31606 configure-stage2-gcc:
31607 @$(MAKE) stage2-start
31608 @[ -f gcc/Makefile ] && exit 0 || : ; \
31609 r=`${PWD_COMMAND}`; export r; \
31610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31611 $(STAGE_HOST_EXPORTS) \
31612 echo Configuring stage 2 in gcc ; \
31613 cd gcc || exit 1; \
31614 case $(srcdir) in \
31616 srcdiroption="--srcdir=."; \
31618 /* | [A-Za-z]:[\\/]*) \
31619 srcdiroption="--srcdir=$(srcdir)/gcc"; \
31620 libsrcdir="$$s/gcc";; \
31622 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
31623 libsrcdir="$$s/gcc";; \
31625 $(SHELL) $${libsrcdir}/configure \
31626 $(HOST_CONFIGARGS) $${srcdiroption} \
31627 @stage2_werror_flag@
31629 maybe-all-stage2-gcc: all-stage2-gcc
31630 all-stage2-gcc: configure-stage2-gcc
31631 @$(MAKE) stage2-start
31632 @r=`${PWD_COMMAND}`; export r; \
31633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31634 $(STAGE_HOST_EXPORTS) \
31636 $(MAKE) $(FLAGS_TO_PASS) \
31637 $(POSTSTAGE1_FLAGS_TO_PASS) \
31640 maybe-clean-stage2-gcc: clean-stage2-gcc
31642 @[ -f gcc/Makefile ] || [ -f stage2-gcc/Makefile ] \
31644 [ -f gcc/Makefile ] || $(MAKE) stage2-start ; \
31646 $(MAKE) $(FLAGS_TO_PASS) \
31647 $(POSTSTAGE1_FLAGS_TO_PASS) \
31648 $(EXTRA_GCC_FLAGS) clean
31649 @endif gcc-bootstrap
31652 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
31653 .PHONY: all-stage2-intl maybe-all-stage2-intl
31654 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
31656 maybe-configure-stage2-intl:
31657 maybe-all-stage2-intl:
31658 maybe-clean-stage2-intl:
31661 maybe-configure-stage2-intl: configure-stage2-intl
31662 configure-stage2-intl:
31663 @$(MAKE) stage2-start
31664 @[ -f intl/Makefile ] && exit 0 || : ; \
31665 r=`${PWD_COMMAND}`; export r; \
31666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31667 $(STAGE_HOST_EXPORTS) \
31668 echo Configuring stage 2 in intl ; \
31669 cd intl || exit 1; \
31670 case $(srcdir) in \
31672 srcdiroption="--srcdir=."; \
31674 /* | [A-Za-z]:[\\/]*) \
31675 srcdiroption="--srcdir=$(srcdir)/intl"; \
31676 libsrcdir="$$s/intl";; \
31678 srcdiroption="--srcdir=../$(srcdir)/intl"; \
31679 libsrcdir="$$s/intl";; \
31681 $(SHELL) $${libsrcdir}/configure \
31682 $(HOST_CONFIGARGS) $${srcdiroption} \
31683 @stage2_werror_flag@
31685 maybe-all-stage2-intl: all-stage2-intl
31686 all-stage2-intl: configure-stage2-intl
31687 @$(MAKE) stage2-start
31688 @r=`${PWD_COMMAND}`; export r; \
31689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31690 $(STAGE_HOST_EXPORTS) \
31692 $(MAKE) $(FLAGS_TO_PASS) \
31693 $(POSTSTAGE1_FLAGS_TO_PASS) \
31696 maybe-clean-stage2-intl: clean-stage2-intl
31698 @[ -f intl/Makefile ] || [ -f stage2-intl/Makefile ] \
31700 [ -f intl/Makefile ] || $(MAKE) stage2-start ; \
31702 $(MAKE) $(FLAGS_TO_PASS) \
31703 $(POSTSTAGE1_FLAGS_TO_PASS) \
31705 @endif intl-bootstrap
31708 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
31709 .PHONY: all-stage2-ld maybe-all-stage2-ld
31710 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
31712 maybe-configure-stage2-ld:
31713 maybe-all-stage2-ld:
31714 maybe-clean-stage2-ld:
31717 maybe-configure-stage2-ld: configure-stage2-ld
31718 configure-stage2-ld:
31719 @$(MAKE) stage2-start
31720 @[ -f ld/Makefile ] && exit 0 || : ; \
31721 r=`${PWD_COMMAND}`; export r; \
31722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31723 $(STAGE_HOST_EXPORTS) \
31724 echo Configuring stage 2 in ld ; \
31726 case $(srcdir) in \
31728 srcdiroption="--srcdir=."; \
31730 /* | [A-Za-z]:[\\/]*) \
31731 srcdiroption="--srcdir=$(srcdir)/ld"; \
31732 libsrcdir="$$s/ld";; \
31734 srcdiroption="--srcdir=../$(srcdir)/ld"; \
31735 libsrcdir="$$s/ld";; \
31737 $(SHELL) $${libsrcdir}/configure \
31738 $(HOST_CONFIGARGS) $${srcdiroption} \
31739 @stage2_werror_flag@
31741 maybe-all-stage2-ld: all-stage2-ld
31742 all-stage2-ld: configure-stage2-ld
31743 @$(MAKE) stage2-start
31744 @r=`${PWD_COMMAND}`; export r; \
31745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31746 $(STAGE_HOST_EXPORTS) \
31748 $(MAKE) $(FLAGS_TO_PASS) \
31749 $(POSTSTAGE1_FLAGS_TO_PASS) \
31752 maybe-clean-stage2-ld: clean-stage2-ld
31754 @[ -f ld/Makefile ] || [ -f stage2-ld/Makefile ] \
31756 [ -f ld/Makefile ] || $(MAKE) stage2-start ; \
31758 $(MAKE) $(FLAGS_TO_PASS) \
31759 $(POSTSTAGE1_FLAGS_TO_PASS) \
31761 @endif ld-bootstrap
31764 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
31765 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
31766 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
31768 maybe-configure-stage2-libcpp:
31769 maybe-all-stage2-libcpp:
31770 maybe-clean-stage2-libcpp:
31772 @if libcpp-bootstrap
31773 maybe-configure-stage2-libcpp: configure-stage2-libcpp
31774 configure-stage2-libcpp:
31775 @$(MAKE) stage2-start
31776 @[ -f libcpp/Makefile ] && exit 0 || : ; \
31777 r=`${PWD_COMMAND}`; export r; \
31778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31779 $(STAGE_HOST_EXPORTS) \
31780 echo Configuring stage 2 in libcpp ; \
31781 cd libcpp || exit 1; \
31782 case $(srcdir) in \
31784 srcdiroption="--srcdir=."; \
31786 /* | [A-Za-z]:[\\/]*) \
31787 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
31788 libsrcdir="$$s/libcpp";; \
31790 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
31791 libsrcdir="$$s/libcpp";; \
31793 $(SHELL) $${libsrcdir}/configure \
31794 $(HOST_CONFIGARGS) $${srcdiroption} \
31795 @stage2_werror_flag@
31797 maybe-all-stage2-libcpp: all-stage2-libcpp
31798 all-stage2-libcpp: configure-stage2-libcpp
31799 @$(MAKE) stage2-start
31800 @r=`${PWD_COMMAND}`; export r; \
31801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31802 $(STAGE_HOST_EXPORTS) \
31804 $(MAKE) $(FLAGS_TO_PASS) \
31805 $(POSTSTAGE1_FLAGS_TO_PASS) \
31808 maybe-clean-stage2-libcpp: clean-stage2-libcpp
31809 clean-stage2-libcpp:
31810 @[ -f libcpp/Makefile ] || [ -f stage2-libcpp/Makefile ] \
31812 [ -f libcpp/Makefile ] || $(MAKE) stage2-start ; \
31814 $(MAKE) $(FLAGS_TO_PASS) \
31815 $(POSTSTAGE1_FLAGS_TO_PASS) \
31817 @endif libcpp-bootstrap
31820 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
31821 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
31822 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
31824 maybe-configure-stage2-libiberty:
31825 maybe-all-stage2-libiberty:
31826 maybe-clean-stage2-libiberty:
31828 @if libiberty-bootstrap
31829 maybe-configure-stage2-libiberty: configure-stage2-libiberty
31830 configure-stage2-libiberty:
31831 @$(MAKE) stage2-start
31832 @[ -f libiberty/Makefile ] && exit 0 || : ; \
31833 r=`${PWD_COMMAND}`; export r; \
31834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31835 $(STAGE_HOST_EXPORTS) \
31836 echo Configuring stage 2 in libiberty ; \
31837 cd libiberty || exit 1; \
31838 case $(srcdir) in \
31840 srcdiroption="--srcdir=."; \
31842 /* | [A-Za-z]:[\\/]*) \
31843 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
31844 libsrcdir="$$s/libiberty";; \
31846 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
31847 libsrcdir="$$s/libiberty";; \
31849 $(SHELL) $${libsrcdir}/configure \
31850 $(HOST_CONFIGARGS) $${srcdiroption} \
31851 @stage2_werror_flag@
31853 maybe-all-stage2-libiberty: all-stage2-libiberty
31854 all-stage2-libiberty: configure-stage2-libiberty
31855 @$(MAKE) stage2-start
31856 @r=`${PWD_COMMAND}`; export r; \
31857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31858 $(STAGE_HOST_EXPORTS) \
31860 $(MAKE) $(FLAGS_TO_PASS) \
31861 $(POSTSTAGE1_FLAGS_TO_PASS) \
31864 maybe-clean-stage2-libiberty: clean-stage2-libiberty
31865 clean-stage2-libiberty:
31866 @[ -f libiberty/Makefile ] || [ -f stage2-libiberty/Makefile ] \
31868 [ -f libiberty/Makefile ] || $(MAKE) stage2-start ; \
31870 $(MAKE) $(FLAGS_TO_PASS) \
31871 $(POSTSTAGE1_FLAGS_TO_PASS) \
31873 @endif libiberty-bootstrap
31876 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
31877 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
31878 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
31880 maybe-configure-stage2-zlib:
31881 maybe-all-stage2-zlib:
31882 maybe-clean-stage2-zlib:
31885 maybe-configure-stage2-zlib: configure-stage2-zlib
31886 configure-stage2-zlib:
31887 @$(MAKE) stage2-start
31888 @[ -f zlib/Makefile ] && exit 0 || : ; \
31889 r=`${PWD_COMMAND}`; export r; \
31890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31891 $(STAGE_HOST_EXPORTS) \
31892 echo Configuring stage 2 in zlib ; \
31893 cd zlib || exit 1; \
31894 case $(srcdir) in \
31896 srcdiroption="--srcdir=."; \
31898 /* | [A-Za-z]:[\\/]*) \
31899 srcdiroption="--srcdir=$(srcdir)/zlib"; \
31900 libsrcdir="$$s/zlib";; \
31902 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
31903 libsrcdir="$$s/zlib";; \
31905 $(SHELL) $${libsrcdir}/configure \
31906 $(HOST_CONFIGARGS) $${srcdiroption} \
31907 @stage2_werror_flag@
31909 maybe-all-stage2-zlib: all-stage2-zlib
31910 all-stage2-zlib: configure-stage2-zlib
31911 @$(MAKE) stage2-start
31912 @r=`${PWD_COMMAND}`; export r; \
31913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31914 $(STAGE_HOST_EXPORTS) \
31916 $(MAKE) $(FLAGS_TO_PASS) \
31917 $(POSTSTAGE1_FLAGS_TO_PASS) \
31920 maybe-clean-stage2-zlib: clean-stage2-zlib
31922 @[ -f zlib/Makefile ] || [ -f stage2-zlib/Makefile ] \
31924 [ -f zlib/Makefile ] || $(MAKE) stage2-start ; \
31926 $(MAKE) $(FLAGS_TO_PASS) \
31927 $(POSTSTAGE1_FLAGS_TO_PASS) \
31929 @endif zlib-bootstrap
31933 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31934 # only possibility, but now it conflicts with no-bootstrap rules
31940 bootstrap2: stage2-bubble all
31943 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31944 distclean-stage1:: distclean-stage2
31945 .PHONY: distclean-stage2
31947 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31951 @endif gcc-bootstrap
31954 .PHONY: stage3-start stage3-end
31957 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31958 echo stage3 > stage_current ; \
31959 echo stage3 > stage_last
31961 @[ -d stage3-bfd ] || mkdir stage3-bfd; \
31962 set stage3-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
31963 set stage2-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
31966 @[ -d stage3-opcodes ] || mkdir stage3-opcodes; \
31967 set stage3-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
31968 set stage2-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
31971 @[ -d stage3-binutils ] || mkdir stage3-binutils; \
31972 set stage3-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
31973 set stage2-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
31976 @[ -d stage3-gas ] || mkdir stage3-gas; \
31977 set stage3-gas gas ; @CREATE_LINK_TO_DIR@ ; \
31978 set stage2-gas prev-gas ; @CREATE_LINK_TO_DIR@
31981 @[ -d stage3-gcc ] || mkdir stage3-gcc; \
31982 set stage3-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
31983 set stage2-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
31986 @[ -d stage3-intl ] || mkdir stage3-intl; \
31987 set stage3-intl intl ; @CREATE_LINK_TO_DIR@ ; \
31988 set stage2-intl prev-intl ; @CREATE_LINK_TO_DIR@
31991 @[ -d stage3-ld ] || mkdir stage3-ld; \
31992 set stage3-ld ld ; @CREATE_LINK_TO_DIR@ ; \
31993 set stage2-ld prev-ld ; @CREATE_LINK_TO_DIR@
31996 @[ -d stage3-libcpp ] || mkdir stage3-libcpp; \
31997 set stage3-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
31998 set stage2-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
32001 @[ -d stage3-libiberty ] || mkdir stage3-libiberty; \
32002 set stage3-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
32003 set stage2-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
32006 @[ -d stage3-zlib ] || mkdir stage3-zlib; \
32007 set stage3-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
32008 set stage2-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
32012 @rm -f stage_current
32014 @set bfd stage3-bfd ; @UNDO_LINK_TO_DIR@ ; \
32015 set prev-bfd stage2-bfd ; @UNDO_LINK_TO_DIR@
32018 @set opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@ ; \
32019 set prev-opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@
32022 @set binutils stage3-binutils ; @UNDO_LINK_TO_DIR@ ; \
32023 set prev-binutils stage2-binutils ; @UNDO_LINK_TO_DIR@
32026 @set gas stage3-gas ; @UNDO_LINK_TO_DIR@ ; \
32027 set prev-gas stage2-gas ; @UNDO_LINK_TO_DIR@
32030 @set gcc stage3-gcc ; @UNDO_LINK_TO_DIR@ ; \
32031 set prev-gcc stage2-gcc ; @UNDO_LINK_TO_DIR@
32034 @set intl stage3-intl ; @UNDO_LINK_TO_DIR@ ; \
32035 set prev-intl stage2-intl ; @UNDO_LINK_TO_DIR@
32038 @set ld stage3-ld ; @UNDO_LINK_TO_DIR@ ; \
32039 set prev-ld stage2-ld ; @UNDO_LINK_TO_DIR@
32042 @set libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@ ; \
32043 set prev-libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@
32046 @set libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@ ; \
32047 set prev-libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@
32050 @set zlib stage3-zlib ; @UNDO_LINK_TO_DIR@ ; \
32051 set prev-zlib stage2-zlib ; @UNDO_LINK_TO_DIR@
32054 # Bubble a bugfix through all the stages up to stage 3. They
32055 # are remade, but not reconfigured. The next stage (if any) will not
32056 # be reconfigured as well.
32057 .PHONY: stage3-bubble
32058 stage3-bubble:: stage2-bubble
32059 @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
32060 @if test -f stage3-lean || test -f stage2-lean ; then \
32061 echo Skipping rebuild of stage3 ; \
32063 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage3; \
32066 .PHONY: all-stage3 clean-stage3
32068 maybe-all-stage3-bfd \
32069 maybe-all-stage3-opcodes \
32070 maybe-all-stage3-binutils \
32071 maybe-all-stage3-gas \
32072 maybe-all-stage3-gcc \
32073 maybe-all-stage3-intl \
32074 maybe-all-stage3-ld \
32075 maybe-all-stage3-libcpp \
32076 maybe-all-stage3-libiberty \
32077 maybe-all-stage3-zlib
32079 do-clean: clean-stage3
32081 maybe-clean-stage3-bfd \
32082 maybe-clean-stage3-opcodes \
32083 maybe-clean-stage3-binutils \
32084 maybe-clean-stage3-gas \
32085 maybe-clean-stage3-gcc \
32086 maybe-clean-stage3-intl \
32087 maybe-clean-stage3-ld \
32088 maybe-clean-stage3-libcpp \
32089 maybe-clean-stage3-libiberty \
32090 maybe-clean-stage3-zlib
32093 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
32094 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
32095 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
32097 maybe-configure-stage3-bfd:
32098 maybe-all-stage3-bfd:
32099 maybe-clean-stage3-bfd:
32102 maybe-configure-stage3-bfd: configure-stage3-bfd
32103 configure-stage3-bfd:
32104 @$(MAKE) stage3-start
32105 @[ -f bfd/Makefile ] && exit 0 || : ; \
32106 r=`${PWD_COMMAND}`; export r; \
32107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32108 $(STAGE_HOST_EXPORTS) \
32109 echo Configuring stage 3 in bfd ; \
32110 cd bfd || exit 1; \
32111 case $(srcdir) in \
32113 srcdiroption="--srcdir=."; \
32115 /* | [A-Za-z]:[\\/]*) \
32116 srcdiroption="--srcdir=$(srcdir)/bfd"; \
32117 libsrcdir="$$s/bfd";; \
32119 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
32120 libsrcdir="$$s/bfd";; \
32122 $(SHELL) $${libsrcdir}/configure \
32123 $(HOST_CONFIGARGS) $${srcdiroption} \
32124 @stage2_werror_flag@
32126 maybe-all-stage3-bfd: all-stage3-bfd
32127 all-stage3-bfd: configure-stage3-bfd
32128 @$(MAKE) stage3-start
32129 @r=`${PWD_COMMAND}`; export r; \
32130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32131 $(STAGE_HOST_EXPORTS) \
32133 $(MAKE) $(FLAGS_TO_PASS) \
32134 $(POSTSTAGE1_FLAGS_TO_PASS) \
32137 maybe-clean-stage3-bfd: clean-stage3-bfd
32139 @[ -f bfd/Makefile ] || [ -f stage3-bfd/Makefile ] \
32141 [ -f bfd/Makefile ] || $(MAKE) stage3-start ; \
32143 $(MAKE) $(FLAGS_TO_PASS) \
32144 $(POSTSTAGE1_FLAGS_TO_PASS) \
32146 @endif bfd-bootstrap
32149 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
32150 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
32151 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
32153 maybe-configure-stage3-opcodes:
32154 maybe-all-stage3-opcodes:
32155 maybe-clean-stage3-opcodes:
32157 @if opcodes-bootstrap
32158 maybe-configure-stage3-opcodes: configure-stage3-opcodes
32159 configure-stage3-opcodes:
32160 @$(MAKE) stage3-start
32161 @[ -f opcodes/Makefile ] && exit 0 || : ; \
32162 r=`${PWD_COMMAND}`; export r; \
32163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32164 $(STAGE_HOST_EXPORTS) \
32165 echo Configuring stage 3 in opcodes ; \
32166 cd opcodes || exit 1; \
32167 case $(srcdir) in \
32169 srcdiroption="--srcdir=."; \
32171 /* | [A-Za-z]:[\\/]*) \
32172 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
32173 libsrcdir="$$s/opcodes";; \
32175 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
32176 libsrcdir="$$s/opcodes";; \
32178 $(SHELL) $${libsrcdir}/configure \
32179 $(HOST_CONFIGARGS) $${srcdiroption} \
32180 @stage2_werror_flag@
32182 maybe-all-stage3-opcodes: all-stage3-opcodes
32183 all-stage3-opcodes: configure-stage3-opcodes
32184 @$(MAKE) stage3-start
32185 @r=`${PWD_COMMAND}`; export r; \
32186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32187 $(STAGE_HOST_EXPORTS) \
32189 $(MAKE) $(FLAGS_TO_PASS) \
32190 $(POSTSTAGE1_FLAGS_TO_PASS) \
32193 maybe-clean-stage3-opcodes: clean-stage3-opcodes
32194 clean-stage3-opcodes:
32195 @[ -f opcodes/Makefile ] || [ -f stage3-opcodes/Makefile ] \
32197 [ -f opcodes/Makefile ] || $(MAKE) stage3-start ; \
32199 $(MAKE) $(FLAGS_TO_PASS) \
32200 $(POSTSTAGE1_FLAGS_TO_PASS) \
32202 @endif opcodes-bootstrap
32205 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
32206 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
32207 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
32209 maybe-configure-stage3-binutils:
32210 maybe-all-stage3-binutils:
32211 maybe-clean-stage3-binutils:
32213 @if binutils-bootstrap
32214 maybe-configure-stage3-binutils: configure-stage3-binutils
32215 configure-stage3-binutils:
32216 @$(MAKE) stage3-start
32217 @[ -f binutils/Makefile ] && exit 0 || : ; \
32218 r=`${PWD_COMMAND}`; export r; \
32219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32220 $(STAGE_HOST_EXPORTS) \
32221 echo Configuring stage 3 in binutils ; \
32222 cd binutils || exit 1; \
32223 case $(srcdir) in \
32225 srcdiroption="--srcdir=."; \
32227 /* | [A-Za-z]:[\\/]*) \
32228 srcdiroption="--srcdir=$(srcdir)/binutils"; \
32229 libsrcdir="$$s/binutils";; \
32231 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
32232 libsrcdir="$$s/binutils";; \
32234 $(SHELL) $${libsrcdir}/configure \
32235 $(HOST_CONFIGARGS) $${srcdiroption} \
32236 @stage2_werror_flag@
32238 maybe-all-stage3-binutils: all-stage3-binutils
32239 all-stage3-binutils: configure-stage3-binutils
32240 @$(MAKE) stage3-start
32241 @r=`${PWD_COMMAND}`; export r; \
32242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32243 $(STAGE_HOST_EXPORTS) \
32245 $(MAKE) $(FLAGS_TO_PASS) \
32246 $(POSTSTAGE1_FLAGS_TO_PASS) \
32249 maybe-clean-stage3-binutils: clean-stage3-binutils
32250 clean-stage3-binutils:
32251 @[ -f binutils/Makefile ] || [ -f stage3-binutils/Makefile ] \
32253 [ -f binutils/Makefile ] || $(MAKE) stage3-start ; \
32255 $(MAKE) $(FLAGS_TO_PASS) \
32256 $(POSTSTAGE1_FLAGS_TO_PASS) \
32258 @endif binutils-bootstrap
32261 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
32262 .PHONY: all-stage3-gas maybe-all-stage3-gas
32263 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
32265 maybe-configure-stage3-gas:
32266 maybe-all-stage3-gas:
32267 maybe-clean-stage3-gas:
32270 maybe-configure-stage3-gas: configure-stage3-gas
32271 configure-stage3-gas:
32272 @$(MAKE) stage3-start
32273 @[ -f gas/Makefile ] && exit 0 || : ; \
32274 r=`${PWD_COMMAND}`; export r; \
32275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32276 $(STAGE_HOST_EXPORTS) \
32277 echo Configuring stage 3 in gas ; \
32278 cd gas || exit 1; \
32279 case $(srcdir) in \
32281 srcdiroption="--srcdir=."; \
32283 /* | [A-Za-z]:[\\/]*) \
32284 srcdiroption="--srcdir=$(srcdir)/gas"; \
32285 libsrcdir="$$s/gas";; \
32287 srcdiroption="--srcdir=../$(srcdir)/gas"; \
32288 libsrcdir="$$s/gas";; \
32290 $(SHELL) $${libsrcdir}/configure \
32291 $(HOST_CONFIGARGS) $${srcdiroption} \
32292 @stage2_werror_flag@
32294 maybe-all-stage3-gas: all-stage3-gas
32295 all-stage3-gas: configure-stage3-gas
32296 @$(MAKE) stage3-start
32297 @r=`${PWD_COMMAND}`; export r; \
32298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32299 $(STAGE_HOST_EXPORTS) \
32301 $(MAKE) $(FLAGS_TO_PASS) \
32302 $(POSTSTAGE1_FLAGS_TO_PASS) \
32305 maybe-clean-stage3-gas: clean-stage3-gas
32307 @[ -f gas/Makefile ] || [ -f stage3-gas/Makefile ] \
32309 [ -f gas/Makefile ] || $(MAKE) stage3-start ; \
32311 $(MAKE) $(FLAGS_TO_PASS) \
32312 $(POSTSTAGE1_FLAGS_TO_PASS) \
32314 @endif gas-bootstrap
32317 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
32318 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
32319 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
32321 maybe-configure-stage3-gcc:
32322 maybe-all-stage3-gcc:
32323 maybe-clean-stage3-gcc:
32326 maybe-configure-stage3-gcc: configure-stage3-gcc
32327 configure-stage3-gcc:
32328 @$(MAKE) stage3-start
32329 @[ -f gcc/Makefile ] && exit 0 || : ; \
32330 r=`${PWD_COMMAND}`; export r; \
32331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32332 $(STAGE_HOST_EXPORTS) \
32333 echo Configuring stage 3 in gcc ; \
32334 cd gcc || exit 1; \
32335 case $(srcdir) in \
32337 srcdiroption="--srcdir=."; \
32339 /* | [A-Za-z]:[\\/]*) \
32340 srcdiroption="--srcdir=$(srcdir)/gcc"; \
32341 libsrcdir="$$s/gcc";; \
32343 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
32344 libsrcdir="$$s/gcc";; \
32346 $(SHELL) $${libsrcdir}/configure \
32347 $(HOST_CONFIGARGS) $${srcdiroption} \
32348 @stage2_werror_flag@
32350 maybe-all-stage3-gcc: all-stage3-gcc
32351 all-stage3-gcc: configure-stage3-gcc
32352 @$(MAKE) stage3-start
32353 @r=`${PWD_COMMAND}`; export r; \
32354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32355 $(STAGE_HOST_EXPORTS) \
32357 $(MAKE) $(FLAGS_TO_PASS) \
32358 $(POSTSTAGE1_FLAGS_TO_PASS) \
32361 maybe-clean-stage3-gcc: clean-stage3-gcc
32363 @[ -f gcc/Makefile ] || [ -f stage3-gcc/Makefile ] \
32365 [ -f gcc/Makefile ] || $(MAKE) stage3-start ; \
32367 $(MAKE) $(FLAGS_TO_PASS) \
32368 $(POSTSTAGE1_FLAGS_TO_PASS) \
32369 $(EXTRA_GCC_FLAGS) clean
32370 @endif gcc-bootstrap
32373 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
32374 .PHONY: all-stage3-intl maybe-all-stage3-intl
32375 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
32377 maybe-configure-stage3-intl:
32378 maybe-all-stage3-intl:
32379 maybe-clean-stage3-intl:
32382 maybe-configure-stage3-intl: configure-stage3-intl
32383 configure-stage3-intl:
32384 @$(MAKE) stage3-start
32385 @[ -f intl/Makefile ] && exit 0 || : ; \
32386 r=`${PWD_COMMAND}`; export r; \
32387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32388 $(STAGE_HOST_EXPORTS) \
32389 echo Configuring stage 3 in intl ; \
32390 cd intl || exit 1; \
32391 case $(srcdir) in \
32393 srcdiroption="--srcdir=."; \
32395 /* | [A-Za-z]:[\\/]*) \
32396 srcdiroption="--srcdir=$(srcdir)/intl"; \
32397 libsrcdir="$$s/intl";; \
32399 srcdiroption="--srcdir=../$(srcdir)/intl"; \
32400 libsrcdir="$$s/intl";; \
32402 $(SHELL) $${libsrcdir}/configure \
32403 $(HOST_CONFIGARGS) $${srcdiroption} \
32404 @stage2_werror_flag@
32406 maybe-all-stage3-intl: all-stage3-intl
32407 all-stage3-intl: configure-stage3-intl
32408 @$(MAKE) stage3-start
32409 @r=`${PWD_COMMAND}`; export r; \
32410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32411 $(STAGE_HOST_EXPORTS) \
32413 $(MAKE) $(FLAGS_TO_PASS) \
32414 $(POSTSTAGE1_FLAGS_TO_PASS) \
32417 maybe-clean-stage3-intl: clean-stage3-intl
32419 @[ -f intl/Makefile ] || [ -f stage3-intl/Makefile ] \
32421 [ -f intl/Makefile ] || $(MAKE) stage3-start ; \
32423 $(MAKE) $(FLAGS_TO_PASS) \
32424 $(POSTSTAGE1_FLAGS_TO_PASS) \
32426 @endif intl-bootstrap
32429 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
32430 .PHONY: all-stage3-ld maybe-all-stage3-ld
32431 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
32433 maybe-configure-stage3-ld:
32434 maybe-all-stage3-ld:
32435 maybe-clean-stage3-ld:
32438 maybe-configure-stage3-ld: configure-stage3-ld
32439 configure-stage3-ld:
32440 @$(MAKE) stage3-start
32441 @[ -f ld/Makefile ] && exit 0 || : ; \
32442 r=`${PWD_COMMAND}`; export r; \
32443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32444 $(STAGE_HOST_EXPORTS) \
32445 echo Configuring stage 3 in ld ; \
32447 case $(srcdir) in \
32449 srcdiroption="--srcdir=."; \
32451 /* | [A-Za-z]:[\\/]*) \
32452 srcdiroption="--srcdir=$(srcdir)/ld"; \
32453 libsrcdir="$$s/ld";; \
32455 srcdiroption="--srcdir=../$(srcdir)/ld"; \
32456 libsrcdir="$$s/ld";; \
32458 $(SHELL) $${libsrcdir}/configure \
32459 $(HOST_CONFIGARGS) $${srcdiroption} \
32460 @stage2_werror_flag@
32462 maybe-all-stage3-ld: all-stage3-ld
32463 all-stage3-ld: configure-stage3-ld
32464 @$(MAKE) stage3-start
32465 @r=`${PWD_COMMAND}`; export r; \
32466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32467 $(STAGE_HOST_EXPORTS) \
32469 $(MAKE) $(FLAGS_TO_PASS) \
32470 $(POSTSTAGE1_FLAGS_TO_PASS) \
32473 maybe-clean-stage3-ld: clean-stage3-ld
32475 @[ -f ld/Makefile ] || [ -f stage3-ld/Makefile ] \
32477 [ -f ld/Makefile ] || $(MAKE) stage3-start ; \
32479 $(MAKE) $(FLAGS_TO_PASS) \
32480 $(POSTSTAGE1_FLAGS_TO_PASS) \
32482 @endif ld-bootstrap
32485 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
32486 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
32487 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
32489 maybe-configure-stage3-libcpp:
32490 maybe-all-stage3-libcpp:
32491 maybe-clean-stage3-libcpp:
32493 @if libcpp-bootstrap
32494 maybe-configure-stage3-libcpp: configure-stage3-libcpp
32495 configure-stage3-libcpp:
32496 @$(MAKE) stage3-start
32497 @[ -f libcpp/Makefile ] && exit 0 || : ; \
32498 r=`${PWD_COMMAND}`; export r; \
32499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32500 $(STAGE_HOST_EXPORTS) \
32501 echo Configuring stage 3 in libcpp ; \
32502 cd libcpp || exit 1; \
32503 case $(srcdir) in \
32505 srcdiroption="--srcdir=."; \
32507 /* | [A-Za-z]:[\\/]*) \
32508 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
32509 libsrcdir="$$s/libcpp";; \
32511 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
32512 libsrcdir="$$s/libcpp";; \
32514 $(SHELL) $${libsrcdir}/configure \
32515 $(HOST_CONFIGARGS) $${srcdiroption} \
32516 @stage2_werror_flag@
32518 maybe-all-stage3-libcpp: all-stage3-libcpp
32519 all-stage3-libcpp: configure-stage3-libcpp
32520 @$(MAKE) stage3-start
32521 @r=`${PWD_COMMAND}`; export r; \
32522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32523 $(STAGE_HOST_EXPORTS) \
32525 $(MAKE) $(FLAGS_TO_PASS) \
32526 $(POSTSTAGE1_FLAGS_TO_PASS) \
32529 maybe-clean-stage3-libcpp: clean-stage3-libcpp
32530 clean-stage3-libcpp:
32531 @[ -f libcpp/Makefile ] || [ -f stage3-libcpp/Makefile ] \
32533 [ -f libcpp/Makefile ] || $(MAKE) stage3-start ; \
32535 $(MAKE) $(FLAGS_TO_PASS) \
32536 $(POSTSTAGE1_FLAGS_TO_PASS) \
32538 @endif libcpp-bootstrap
32541 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
32542 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
32543 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
32545 maybe-configure-stage3-libiberty:
32546 maybe-all-stage3-libiberty:
32547 maybe-clean-stage3-libiberty:
32549 @if libiberty-bootstrap
32550 maybe-configure-stage3-libiberty: configure-stage3-libiberty
32551 configure-stage3-libiberty:
32552 @$(MAKE) stage3-start
32553 @[ -f libiberty/Makefile ] && exit 0 || : ; \
32554 r=`${PWD_COMMAND}`; export r; \
32555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32556 $(STAGE_HOST_EXPORTS) \
32557 echo Configuring stage 3 in libiberty ; \
32558 cd libiberty || exit 1; \
32559 case $(srcdir) in \
32561 srcdiroption="--srcdir=."; \
32563 /* | [A-Za-z]:[\\/]*) \
32564 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
32565 libsrcdir="$$s/libiberty";; \
32567 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
32568 libsrcdir="$$s/libiberty";; \
32570 $(SHELL) $${libsrcdir}/configure \
32571 $(HOST_CONFIGARGS) $${srcdiroption} \
32572 @stage2_werror_flag@
32574 maybe-all-stage3-libiberty: all-stage3-libiberty
32575 all-stage3-libiberty: configure-stage3-libiberty
32576 @$(MAKE) stage3-start
32577 @r=`${PWD_COMMAND}`; export r; \
32578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32579 $(STAGE_HOST_EXPORTS) \
32581 $(MAKE) $(FLAGS_TO_PASS) \
32582 $(POSTSTAGE1_FLAGS_TO_PASS) \
32585 maybe-clean-stage3-libiberty: clean-stage3-libiberty
32586 clean-stage3-libiberty:
32587 @[ -f libiberty/Makefile ] || [ -f stage3-libiberty/Makefile ] \
32589 [ -f libiberty/Makefile ] || $(MAKE) stage3-start ; \
32591 $(MAKE) $(FLAGS_TO_PASS) \
32592 $(POSTSTAGE1_FLAGS_TO_PASS) \
32594 @endif libiberty-bootstrap
32597 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
32598 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
32599 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
32601 maybe-configure-stage3-zlib:
32602 maybe-all-stage3-zlib:
32603 maybe-clean-stage3-zlib:
32606 maybe-configure-stage3-zlib: configure-stage3-zlib
32607 configure-stage3-zlib:
32608 @$(MAKE) stage3-start
32609 @[ -f zlib/Makefile ] && exit 0 || : ; \
32610 r=`${PWD_COMMAND}`; export r; \
32611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32612 $(STAGE_HOST_EXPORTS) \
32613 echo Configuring stage 3 in zlib ; \
32614 cd zlib || exit 1; \
32615 case $(srcdir) in \
32617 srcdiroption="--srcdir=."; \
32619 /* | [A-Za-z]:[\\/]*) \
32620 srcdiroption="--srcdir=$(srcdir)/zlib"; \
32621 libsrcdir="$$s/zlib";; \
32623 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
32624 libsrcdir="$$s/zlib";; \
32626 $(SHELL) $${libsrcdir}/configure \
32627 $(HOST_CONFIGARGS) $${srcdiroption} \
32628 @stage2_werror_flag@
32630 maybe-all-stage3-zlib: all-stage3-zlib
32631 all-stage3-zlib: configure-stage3-zlib
32632 @$(MAKE) stage3-start
32633 @r=`${PWD_COMMAND}`; export r; \
32634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32635 $(STAGE_HOST_EXPORTS) \
32637 $(MAKE) $(FLAGS_TO_PASS) \
32638 $(POSTSTAGE1_FLAGS_TO_PASS) \
32641 maybe-clean-stage3-zlib: clean-stage3-zlib
32643 @[ -f zlib/Makefile ] || [ -f stage3-zlib/Makefile ] \
32645 [ -f zlib/Makefile ] || $(MAKE) stage3-start ; \
32647 $(MAKE) $(FLAGS_TO_PASS) \
32648 $(POSTSTAGE1_FLAGS_TO_PASS) \
32650 @endif zlib-bootstrap
32654 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32655 # only possibility, but now it conflicts with no-bootstrap rules
32659 @if test -f stage2-lean; then \
32660 echo Cannot compare object files as stage 2 was deleted. ; \
32663 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
32664 @r=`${PWD_COMMAND}`; export r; \
32665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32666 rm -f .bad_compare ; \
32668 files=`find . -name "*$(objext)" -print` ; \
32670 for file in $${files} ; do \
32671 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
32672 @do_compare@ > /dev/null 2>&1; \
32673 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
32675 if [ -f .bad_compare ]; then \
32676 echo "Bootstrap comparison failure!"; \
32677 cat .bad_compare; \
32683 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
32688 bootstrap: stage3-bubble compare all
32691 # Rules to wipe a stage and all the following ones, also used for cleanstrap
32692 distclean-stage2:: distclean-stage3
32693 .PHONY: distclean-stage3
32695 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
32696 rm -rf stage3-* compare
32700 cleanstrap: distclean bootstrap
32702 @endif gcc-bootstrap
32705 .PHONY: stage4-start stage4-end
32708 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
32709 echo stage4 > stage_current ; \
32710 echo stage4 > stage_last
32712 @[ -d stage4-bfd ] || mkdir stage4-bfd; \
32713 set stage4-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
32714 set stage3-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
32717 @[ -d stage4-opcodes ] || mkdir stage4-opcodes; \
32718 set stage4-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
32719 set stage3-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
32722 @[ -d stage4-binutils ] || mkdir stage4-binutils; \
32723 set stage4-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
32724 set stage3-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
32727 @[ -d stage4-gas ] || mkdir stage4-gas; \
32728 set stage4-gas gas ; @CREATE_LINK_TO_DIR@ ; \
32729 set stage3-gas prev-gas ; @CREATE_LINK_TO_DIR@
32732 @[ -d stage4-gcc ] || mkdir stage4-gcc; \
32733 set stage4-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
32734 set stage3-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
32737 @[ -d stage4-intl ] || mkdir stage4-intl; \
32738 set stage4-intl intl ; @CREATE_LINK_TO_DIR@ ; \
32739 set stage3-intl prev-intl ; @CREATE_LINK_TO_DIR@
32742 @[ -d stage4-ld ] || mkdir stage4-ld; \
32743 set stage4-ld ld ; @CREATE_LINK_TO_DIR@ ; \
32744 set stage3-ld prev-ld ; @CREATE_LINK_TO_DIR@
32747 @[ -d stage4-libcpp ] || mkdir stage4-libcpp; \
32748 set stage4-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
32749 set stage3-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
32752 @[ -d stage4-libiberty ] || mkdir stage4-libiberty; \
32753 set stage4-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
32754 set stage3-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
32757 @[ -d stage4-zlib ] || mkdir stage4-zlib; \
32758 set stage4-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
32759 set stage3-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
32763 @rm -f stage_current
32765 @set bfd stage4-bfd ; @UNDO_LINK_TO_DIR@ ; \
32766 set prev-bfd stage3-bfd ; @UNDO_LINK_TO_DIR@
32769 @set opcodes stage4-opcodes ; @UNDO_LINK_TO_DIR@ ; \
32770 set prev-opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@
32773 @set binutils stage4-binutils ; @UNDO_LINK_TO_DIR@ ; \
32774 set prev-binutils stage3-binutils ; @UNDO_LINK_TO_DIR@
32777 @set gas stage4-gas ; @UNDO_LINK_TO_DIR@ ; \
32778 set prev-gas stage3-gas ; @UNDO_LINK_TO_DIR@
32781 @set gcc stage4-gcc ; @UNDO_LINK_TO_DIR@ ; \
32782 set prev-gcc stage3-gcc ; @UNDO_LINK_TO_DIR@
32785 @set intl stage4-intl ; @UNDO_LINK_TO_DIR@ ; \
32786 set prev-intl stage3-intl ; @UNDO_LINK_TO_DIR@
32789 @set ld stage4-ld ; @UNDO_LINK_TO_DIR@ ; \
32790 set prev-ld stage3-ld ; @UNDO_LINK_TO_DIR@
32793 @set libcpp stage4-libcpp ; @UNDO_LINK_TO_DIR@ ; \
32794 set prev-libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@
32797 @set libiberty stage4-libiberty ; @UNDO_LINK_TO_DIR@ ; \
32798 set prev-libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@
32801 @set zlib stage4-zlib ; @UNDO_LINK_TO_DIR@ ; \
32802 set prev-zlib stage3-zlib ; @UNDO_LINK_TO_DIR@
32805 # Bubble a bugfix through all the stages up to stage 4. They
32806 # are remade, but not reconfigured. The next stage (if any) will not
32807 # be reconfigured as well.
32808 .PHONY: stage4-bubble
32809 stage4-bubble:: stage3-bubble
32810 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
32811 @if test -f stage4-lean || test -f stage3-lean ; then \
32812 echo Skipping rebuild of stage4 ; \
32814 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage4; \
32817 .PHONY: all-stage4 clean-stage4
32819 maybe-all-stage4-bfd \
32820 maybe-all-stage4-opcodes \
32821 maybe-all-stage4-binutils \
32822 maybe-all-stage4-gas \
32823 maybe-all-stage4-gcc \
32824 maybe-all-stage4-intl \
32825 maybe-all-stage4-ld \
32826 maybe-all-stage4-libcpp \
32827 maybe-all-stage4-libiberty \
32828 maybe-all-stage4-zlib
32830 do-clean: clean-stage4
32832 maybe-clean-stage4-bfd \
32833 maybe-clean-stage4-opcodes \
32834 maybe-clean-stage4-binutils \
32835 maybe-clean-stage4-gas \
32836 maybe-clean-stage4-gcc \
32837 maybe-clean-stage4-intl \
32838 maybe-clean-stage4-ld \
32839 maybe-clean-stage4-libcpp \
32840 maybe-clean-stage4-libiberty \
32841 maybe-clean-stage4-zlib
32844 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
32845 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
32846 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
32848 maybe-configure-stage4-bfd:
32849 maybe-all-stage4-bfd:
32850 maybe-clean-stage4-bfd:
32853 maybe-configure-stage4-bfd: configure-stage4-bfd
32854 configure-stage4-bfd:
32855 @$(MAKE) stage4-start
32856 @[ -f bfd/Makefile ] && exit 0 || : ; \
32857 r=`${PWD_COMMAND}`; export r; \
32858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32859 $(STAGE_HOST_EXPORTS) \
32860 echo Configuring stage 4 in bfd ; \
32861 cd bfd || exit 1; \
32862 case $(srcdir) in \
32864 srcdiroption="--srcdir=."; \
32866 /* | [A-Za-z]:[\\/]*) \
32867 srcdiroption="--srcdir=$(srcdir)/bfd"; \
32868 libsrcdir="$$s/bfd";; \
32870 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
32871 libsrcdir="$$s/bfd";; \
32873 $(SHELL) $${libsrcdir}/configure \
32874 $(HOST_CONFIGARGS) $${srcdiroption} \
32875 @stage2_werror_flag@
32877 maybe-all-stage4-bfd: all-stage4-bfd
32878 all-stage4-bfd: configure-stage4-bfd
32879 @$(MAKE) stage4-start
32880 @r=`${PWD_COMMAND}`; export r; \
32881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32882 $(STAGE_HOST_EXPORTS) \
32884 $(MAKE) $(FLAGS_TO_PASS) \
32885 $(POSTSTAGE1_FLAGS_TO_PASS) \
32888 maybe-clean-stage4-bfd: clean-stage4-bfd
32890 @[ -f bfd/Makefile ] || [ -f stage4-bfd/Makefile ] \
32892 [ -f bfd/Makefile ] || $(MAKE) stage4-start ; \
32894 $(MAKE) $(FLAGS_TO_PASS) \
32895 $(POSTSTAGE1_FLAGS_TO_PASS) \
32897 @endif bfd-bootstrap
32900 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
32901 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
32902 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
32904 maybe-configure-stage4-opcodes:
32905 maybe-all-stage4-opcodes:
32906 maybe-clean-stage4-opcodes:
32908 @if opcodes-bootstrap
32909 maybe-configure-stage4-opcodes: configure-stage4-opcodes
32910 configure-stage4-opcodes:
32911 @$(MAKE) stage4-start
32912 @[ -f opcodes/Makefile ] && exit 0 || : ; \
32913 r=`${PWD_COMMAND}`; export r; \
32914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32915 $(STAGE_HOST_EXPORTS) \
32916 echo Configuring stage 4 in opcodes ; \
32917 cd opcodes || exit 1; \
32918 case $(srcdir) in \
32920 srcdiroption="--srcdir=."; \
32922 /* | [A-Za-z]:[\\/]*) \
32923 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
32924 libsrcdir="$$s/opcodes";; \
32926 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
32927 libsrcdir="$$s/opcodes";; \
32929 $(SHELL) $${libsrcdir}/configure \
32930 $(HOST_CONFIGARGS) $${srcdiroption} \
32931 @stage2_werror_flag@
32933 maybe-all-stage4-opcodes: all-stage4-opcodes
32934 all-stage4-opcodes: configure-stage4-opcodes
32935 @$(MAKE) stage4-start
32936 @r=`${PWD_COMMAND}`; export r; \
32937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32938 $(STAGE_HOST_EXPORTS) \
32940 $(MAKE) $(FLAGS_TO_PASS) \
32941 $(POSTSTAGE1_FLAGS_TO_PASS) \
32944 maybe-clean-stage4-opcodes: clean-stage4-opcodes
32945 clean-stage4-opcodes:
32946 @[ -f opcodes/Makefile ] || [ -f stage4-opcodes/Makefile ] \
32948 [ -f opcodes/Makefile ] || $(MAKE) stage4-start ; \
32950 $(MAKE) $(FLAGS_TO_PASS) \
32951 $(POSTSTAGE1_FLAGS_TO_PASS) \
32953 @endif opcodes-bootstrap
32956 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
32957 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
32958 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
32960 maybe-configure-stage4-binutils:
32961 maybe-all-stage4-binutils:
32962 maybe-clean-stage4-binutils:
32964 @if binutils-bootstrap
32965 maybe-configure-stage4-binutils: configure-stage4-binutils
32966 configure-stage4-binutils:
32967 @$(MAKE) stage4-start
32968 @[ -f binutils/Makefile ] && exit 0 || : ; \
32969 r=`${PWD_COMMAND}`; export r; \
32970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32971 $(STAGE_HOST_EXPORTS) \
32972 echo Configuring stage 4 in binutils ; \
32973 cd binutils || exit 1; \
32974 case $(srcdir) in \
32976 srcdiroption="--srcdir=."; \
32978 /* | [A-Za-z]:[\\/]*) \
32979 srcdiroption="--srcdir=$(srcdir)/binutils"; \
32980 libsrcdir="$$s/binutils";; \
32982 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
32983 libsrcdir="$$s/binutils";; \
32985 $(SHELL) $${libsrcdir}/configure \
32986 $(HOST_CONFIGARGS) $${srcdiroption} \
32987 @stage2_werror_flag@
32989 maybe-all-stage4-binutils: all-stage4-binutils
32990 all-stage4-binutils: configure-stage4-binutils
32991 @$(MAKE) stage4-start
32992 @r=`${PWD_COMMAND}`; export r; \
32993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32994 $(STAGE_HOST_EXPORTS) \
32996 $(MAKE) $(FLAGS_TO_PASS) \
32997 $(POSTSTAGE1_FLAGS_TO_PASS) \
33000 maybe-clean-stage4-binutils: clean-stage4-binutils
33001 clean-stage4-binutils:
33002 @[ -f binutils/Makefile ] || [ -f stage4-binutils/Makefile ] \
33004 [ -f binutils/Makefile ] || $(MAKE) stage4-start ; \
33006 $(MAKE) $(FLAGS_TO_PASS) \
33007 $(POSTSTAGE1_FLAGS_TO_PASS) \
33009 @endif binutils-bootstrap
33012 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
33013 .PHONY: all-stage4-gas maybe-all-stage4-gas
33014 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
33016 maybe-configure-stage4-gas:
33017 maybe-all-stage4-gas:
33018 maybe-clean-stage4-gas:
33021 maybe-configure-stage4-gas: configure-stage4-gas
33022 configure-stage4-gas:
33023 @$(MAKE) stage4-start
33024 @[ -f gas/Makefile ] && exit 0 || : ; \
33025 r=`${PWD_COMMAND}`; export r; \
33026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33027 $(STAGE_HOST_EXPORTS) \
33028 echo Configuring stage 4 in gas ; \
33029 cd gas || exit 1; \
33030 case $(srcdir) in \
33032 srcdiroption="--srcdir=."; \
33034 /* | [A-Za-z]:[\\/]*) \
33035 srcdiroption="--srcdir=$(srcdir)/gas"; \
33036 libsrcdir="$$s/gas";; \
33038 srcdiroption="--srcdir=../$(srcdir)/gas"; \
33039 libsrcdir="$$s/gas";; \
33041 $(SHELL) $${libsrcdir}/configure \
33042 $(HOST_CONFIGARGS) $${srcdiroption} \
33043 @stage2_werror_flag@
33045 maybe-all-stage4-gas: all-stage4-gas
33046 all-stage4-gas: configure-stage4-gas
33047 @$(MAKE) stage4-start
33048 @r=`${PWD_COMMAND}`; export r; \
33049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33050 $(STAGE_HOST_EXPORTS) \
33052 $(MAKE) $(FLAGS_TO_PASS) \
33053 $(POSTSTAGE1_FLAGS_TO_PASS) \
33056 maybe-clean-stage4-gas: clean-stage4-gas
33058 @[ -f gas/Makefile ] || [ -f stage4-gas/Makefile ] \
33060 [ -f gas/Makefile ] || $(MAKE) stage4-start ; \
33062 $(MAKE) $(FLAGS_TO_PASS) \
33063 $(POSTSTAGE1_FLAGS_TO_PASS) \
33065 @endif gas-bootstrap
33068 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
33069 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
33070 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
33072 maybe-configure-stage4-gcc:
33073 maybe-all-stage4-gcc:
33074 maybe-clean-stage4-gcc:
33077 maybe-configure-stage4-gcc: configure-stage4-gcc
33078 configure-stage4-gcc:
33079 @$(MAKE) stage4-start
33080 @[ -f gcc/Makefile ] && exit 0 || : ; \
33081 r=`${PWD_COMMAND}`; export r; \
33082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33083 $(STAGE_HOST_EXPORTS) \
33084 echo Configuring stage 4 in gcc ; \
33085 cd gcc || exit 1; \
33086 case $(srcdir) in \
33088 srcdiroption="--srcdir=."; \
33090 /* | [A-Za-z]:[\\/]*) \
33091 srcdiroption="--srcdir=$(srcdir)/gcc"; \
33092 libsrcdir="$$s/gcc";; \
33094 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
33095 libsrcdir="$$s/gcc";; \
33097 $(SHELL) $${libsrcdir}/configure \
33098 $(HOST_CONFIGARGS) $${srcdiroption} \
33099 @stage2_werror_flag@
33101 maybe-all-stage4-gcc: all-stage4-gcc
33102 all-stage4-gcc: configure-stage4-gcc
33103 @$(MAKE) stage4-start
33104 @r=`${PWD_COMMAND}`; export r; \
33105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33106 $(STAGE_HOST_EXPORTS) \
33108 $(MAKE) $(FLAGS_TO_PASS) \
33109 $(POSTSTAGE1_FLAGS_TO_PASS) \
33112 maybe-clean-stage4-gcc: clean-stage4-gcc
33114 @[ -f gcc/Makefile ] || [ -f stage4-gcc/Makefile ] \
33116 [ -f gcc/Makefile ] || $(MAKE) stage4-start ; \
33118 $(MAKE) $(FLAGS_TO_PASS) \
33119 $(POSTSTAGE1_FLAGS_TO_PASS) \
33120 $(EXTRA_GCC_FLAGS) clean
33121 @endif gcc-bootstrap
33124 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
33125 .PHONY: all-stage4-intl maybe-all-stage4-intl
33126 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
33128 maybe-configure-stage4-intl:
33129 maybe-all-stage4-intl:
33130 maybe-clean-stage4-intl:
33133 maybe-configure-stage4-intl: configure-stage4-intl
33134 configure-stage4-intl:
33135 @$(MAKE) stage4-start
33136 @[ -f intl/Makefile ] && exit 0 || : ; \
33137 r=`${PWD_COMMAND}`; export r; \
33138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33139 $(STAGE_HOST_EXPORTS) \
33140 echo Configuring stage 4 in intl ; \
33141 cd intl || exit 1; \
33142 case $(srcdir) in \
33144 srcdiroption="--srcdir=."; \
33146 /* | [A-Za-z]:[\\/]*) \
33147 srcdiroption="--srcdir=$(srcdir)/intl"; \
33148 libsrcdir="$$s/intl";; \
33150 srcdiroption="--srcdir=../$(srcdir)/intl"; \
33151 libsrcdir="$$s/intl";; \
33153 $(SHELL) $${libsrcdir}/configure \
33154 $(HOST_CONFIGARGS) $${srcdiroption} \
33155 @stage2_werror_flag@
33157 maybe-all-stage4-intl: all-stage4-intl
33158 all-stage4-intl: configure-stage4-intl
33159 @$(MAKE) stage4-start
33160 @r=`${PWD_COMMAND}`; export r; \
33161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33162 $(STAGE_HOST_EXPORTS) \
33164 $(MAKE) $(FLAGS_TO_PASS) \
33165 $(POSTSTAGE1_FLAGS_TO_PASS) \
33168 maybe-clean-stage4-intl: clean-stage4-intl
33170 @[ -f intl/Makefile ] || [ -f stage4-intl/Makefile ] \
33172 [ -f intl/Makefile ] || $(MAKE) stage4-start ; \
33174 $(MAKE) $(FLAGS_TO_PASS) \
33175 $(POSTSTAGE1_FLAGS_TO_PASS) \
33177 @endif intl-bootstrap
33180 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
33181 .PHONY: all-stage4-ld maybe-all-stage4-ld
33182 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
33184 maybe-configure-stage4-ld:
33185 maybe-all-stage4-ld:
33186 maybe-clean-stage4-ld:
33189 maybe-configure-stage4-ld: configure-stage4-ld
33190 configure-stage4-ld:
33191 @$(MAKE) stage4-start
33192 @[ -f ld/Makefile ] && exit 0 || : ; \
33193 r=`${PWD_COMMAND}`; export r; \
33194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33195 $(STAGE_HOST_EXPORTS) \
33196 echo Configuring stage 4 in ld ; \
33198 case $(srcdir) in \
33200 srcdiroption="--srcdir=."; \
33202 /* | [A-Za-z]:[\\/]*) \
33203 srcdiroption="--srcdir=$(srcdir)/ld"; \
33204 libsrcdir="$$s/ld";; \
33206 srcdiroption="--srcdir=../$(srcdir)/ld"; \
33207 libsrcdir="$$s/ld";; \
33209 $(SHELL) $${libsrcdir}/configure \
33210 $(HOST_CONFIGARGS) $${srcdiroption} \
33211 @stage2_werror_flag@
33213 maybe-all-stage4-ld: all-stage4-ld
33214 all-stage4-ld: configure-stage4-ld
33215 @$(MAKE) stage4-start
33216 @r=`${PWD_COMMAND}`; export r; \
33217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33218 $(STAGE_HOST_EXPORTS) \
33220 $(MAKE) $(FLAGS_TO_PASS) \
33221 $(POSTSTAGE1_FLAGS_TO_PASS) \
33224 maybe-clean-stage4-ld: clean-stage4-ld
33226 @[ -f ld/Makefile ] || [ -f stage4-ld/Makefile ] \
33228 [ -f ld/Makefile ] || $(MAKE) stage4-start ; \
33230 $(MAKE) $(FLAGS_TO_PASS) \
33231 $(POSTSTAGE1_FLAGS_TO_PASS) \
33233 @endif ld-bootstrap
33236 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
33237 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
33238 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
33240 maybe-configure-stage4-libcpp:
33241 maybe-all-stage4-libcpp:
33242 maybe-clean-stage4-libcpp:
33244 @if libcpp-bootstrap
33245 maybe-configure-stage4-libcpp: configure-stage4-libcpp
33246 configure-stage4-libcpp:
33247 @$(MAKE) stage4-start
33248 @[ -f libcpp/Makefile ] && exit 0 || : ; \
33249 r=`${PWD_COMMAND}`; export r; \
33250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33251 $(STAGE_HOST_EXPORTS) \
33252 echo Configuring stage 4 in libcpp ; \
33253 cd libcpp || exit 1; \
33254 case $(srcdir) in \
33256 srcdiroption="--srcdir=."; \
33258 /* | [A-Za-z]:[\\/]*) \
33259 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
33260 libsrcdir="$$s/libcpp";; \
33262 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
33263 libsrcdir="$$s/libcpp";; \
33265 $(SHELL) $${libsrcdir}/configure \
33266 $(HOST_CONFIGARGS) $${srcdiroption} \
33267 @stage2_werror_flag@
33269 maybe-all-stage4-libcpp: all-stage4-libcpp
33270 all-stage4-libcpp: configure-stage4-libcpp
33271 @$(MAKE) stage4-start
33272 @r=`${PWD_COMMAND}`; export r; \
33273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33274 $(STAGE_HOST_EXPORTS) \
33276 $(MAKE) $(FLAGS_TO_PASS) \
33277 $(POSTSTAGE1_FLAGS_TO_PASS) \
33280 maybe-clean-stage4-libcpp: clean-stage4-libcpp
33281 clean-stage4-libcpp:
33282 @[ -f libcpp/Makefile ] || [ -f stage4-libcpp/Makefile ] \
33284 [ -f libcpp/Makefile ] || $(MAKE) stage4-start ; \
33286 $(MAKE) $(FLAGS_TO_PASS) \
33287 $(POSTSTAGE1_FLAGS_TO_PASS) \
33289 @endif libcpp-bootstrap
33292 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
33293 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
33294 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
33296 maybe-configure-stage4-libiberty:
33297 maybe-all-stage4-libiberty:
33298 maybe-clean-stage4-libiberty:
33300 @if libiberty-bootstrap
33301 maybe-configure-stage4-libiberty: configure-stage4-libiberty
33302 configure-stage4-libiberty:
33303 @$(MAKE) stage4-start
33304 @[ -f libiberty/Makefile ] && exit 0 || : ; \
33305 r=`${PWD_COMMAND}`; export r; \
33306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33307 $(STAGE_HOST_EXPORTS) \
33308 echo Configuring stage 4 in libiberty ; \
33309 cd libiberty || exit 1; \
33310 case $(srcdir) in \
33312 srcdiroption="--srcdir=."; \
33314 /* | [A-Za-z]:[\\/]*) \
33315 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
33316 libsrcdir="$$s/libiberty";; \
33318 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
33319 libsrcdir="$$s/libiberty";; \
33321 $(SHELL) $${libsrcdir}/configure \
33322 $(HOST_CONFIGARGS) $${srcdiroption} \
33323 @stage2_werror_flag@
33325 maybe-all-stage4-libiberty: all-stage4-libiberty
33326 all-stage4-libiberty: configure-stage4-libiberty
33327 @$(MAKE) stage4-start
33328 @r=`${PWD_COMMAND}`; export r; \
33329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33330 $(STAGE_HOST_EXPORTS) \
33332 $(MAKE) $(FLAGS_TO_PASS) \
33333 $(POSTSTAGE1_FLAGS_TO_PASS) \
33336 maybe-clean-stage4-libiberty: clean-stage4-libiberty
33337 clean-stage4-libiberty:
33338 @[ -f libiberty/Makefile ] || [ -f stage4-libiberty/Makefile ] \
33340 [ -f libiberty/Makefile ] || $(MAKE) stage4-start ; \
33342 $(MAKE) $(FLAGS_TO_PASS) \
33343 $(POSTSTAGE1_FLAGS_TO_PASS) \
33345 @endif libiberty-bootstrap
33348 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
33349 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
33350 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
33352 maybe-configure-stage4-zlib:
33353 maybe-all-stage4-zlib:
33354 maybe-clean-stage4-zlib:
33357 maybe-configure-stage4-zlib: configure-stage4-zlib
33358 configure-stage4-zlib:
33359 @$(MAKE) stage4-start
33360 @[ -f zlib/Makefile ] && exit 0 || : ; \
33361 r=`${PWD_COMMAND}`; export r; \
33362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33363 $(STAGE_HOST_EXPORTS) \
33364 echo Configuring stage 4 in zlib ; \
33365 cd zlib || exit 1; \
33366 case $(srcdir) in \
33368 srcdiroption="--srcdir=."; \
33370 /* | [A-Za-z]:[\\/]*) \
33371 srcdiroption="--srcdir=$(srcdir)/zlib"; \
33372 libsrcdir="$$s/zlib";; \
33374 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
33375 libsrcdir="$$s/zlib";; \
33377 $(SHELL) $${libsrcdir}/configure \
33378 $(HOST_CONFIGARGS) $${srcdiroption} \
33379 @stage2_werror_flag@
33381 maybe-all-stage4-zlib: all-stage4-zlib
33382 all-stage4-zlib: configure-stage4-zlib
33383 @$(MAKE) stage4-start
33384 @r=`${PWD_COMMAND}`; export r; \
33385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33386 $(STAGE_HOST_EXPORTS) \
33388 $(MAKE) $(FLAGS_TO_PASS) \
33389 $(POSTSTAGE1_FLAGS_TO_PASS) \
33392 maybe-clean-stage4-zlib: clean-stage4-zlib
33394 @[ -f zlib/Makefile ] || [ -f stage4-zlib/Makefile ] \
33396 [ -f zlib/Makefile ] || $(MAKE) stage4-start ; \
33398 $(MAKE) $(FLAGS_TO_PASS) \
33399 $(POSTSTAGE1_FLAGS_TO_PASS) \
33401 @endif zlib-bootstrap
33405 # FIXME: Will not need to be conditional when toplevel bootstrap is the
33406 # only possibility, but now it conflicts with no-bootstrap rules
33410 @if test -f stage3-lean; then \
33411 echo Cannot compare object files as stage 3 was deleted. ; \
33414 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33415 @r=`${PWD_COMMAND}`; export r; \
33416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33417 rm -f .bad_compare ; \
33419 files=`find . -name "*$(objext)" -print` ; \
33421 for file in $${files} ; do \
33422 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
33423 @do_compare@ > /dev/null 2>&1; \
33424 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
33426 if [ -f .bad_compare ]; then \
33427 echo "Bootstrap comparison failure!"; \
33428 cat .bad_compare; \
33434 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
33439 bootstrap4: stage4-bubble compare3 all
33442 # Rules to wipe a stage and all the following ones, also used for cleanstrap
33443 distclean-stage3:: distclean-stage4
33444 .PHONY: distclean-stage4
33446 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
33447 rm -rf stage4-* compare3
33450 @endif gcc-bootstrap
33453 .PHONY: stageprofile-start stageprofile-end
33455 stageprofile-start::
33456 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33457 echo stageprofile > stage_current ; \
33458 echo stageprofile > stage_last
33460 @[ -d stageprofile-bfd ] || mkdir stageprofile-bfd; \
33461 set stageprofile-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
33462 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
33465 @[ -d stageprofile-opcodes ] || mkdir stageprofile-opcodes; \
33466 set stageprofile-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
33467 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
33470 @[ -d stageprofile-binutils ] || mkdir stageprofile-binutils; \
33471 set stageprofile-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
33472 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
33475 @[ -d stageprofile-gas ] || mkdir stageprofile-gas; \
33476 set stageprofile-gas gas ; @CREATE_LINK_TO_DIR@ ; \
33477 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
33480 @[ -d stageprofile-gcc ] || mkdir stageprofile-gcc; \
33481 set stageprofile-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
33482 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
33485 @[ -d stageprofile-intl ] || mkdir stageprofile-intl; \
33486 set stageprofile-intl intl ; @CREATE_LINK_TO_DIR@ ; \
33487 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
33490 @[ -d stageprofile-ld ] || mkdir stageprofile-ld; \
33491 set stageprofile-ld ld ; @CREATE_LINK_TO_DIR@ ; \
33492 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
33495 @[ -d stageprofile-libcpp ] || mkdir stageprofile-libcpp; \
33496 set stageprofile-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
33497 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
33500 @[ -d stageprofile-libiberty ] || mkdir stageprofile-libiberty; \
33501 set stageprofile-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
33502 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
33505 @[ -d stageprofile-zlib ] || mkdir stageprofile-zlib; \
33506 set stageprofile-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
33507 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
33511 @rm -f stage_current
33513 @set bfd stageprofile-bfd ; @UNDO_LINK_TO_DIR@ ; \
33514 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
33517 @set opcodes stageprofile-opcodes ; @UNDO_LINK_TO_DIR@ ; \
33518 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
33521 @set binutils stageprofile-binutils ; @UNDO_LINK_TO_DIR@ ; \
33522 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
33525 @set gas stageprofile-gas ; @UNDO_LINK_TO_DIR@ ; \
33526 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
33529 @set gcc stageprofile-gcc ; @UNDO_LINK_TO_DIR@ ; \
33530 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
33533 @set intl stageprofile-intl ; @UNDO_LINK_TO_DIR@ ; \
33534 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
33537 @set ld stageprofile-ld ; @UNDO_LINK_TO_DIR@ ; \
33538 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
33541 @set libcpp stageprofile-libcpp ; @UNDO_LINK_TO_DIR@ ; \
33542 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
33545 @set libiberty stageprofile-libiberty ; @UNDO_LINK_TO_DIR@ ; \
33546 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
33549 @set zlib stageprofile-zlib ; @UNDO_LINK_TO_DIR@ ; \
33550 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
33553 # Bubble a bugfix through all the stages up to stage profile. They
33554 # are remade, but not reconfigured. The next stage (if any) will not
33555 # be reconfigured as well.
33556 .PHONY: stageprofile-bubble
33557 stageprofile-bubble:: stage1-bubble
33558 @if test -f stageprofile-lean || test -f stage1-lean ; then \
33559 echo Skipping rebuild of stageprofile ; \
33561 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stageprofile; \
33564 .PHONY: all-stageprofile clean-stageprofile
33565 all-stageprofile: \
33566 maybe-all-stageprofile-bfd \
33567 maybe-all-stageprofile-opcodes \
33568 maybe-all-stageprofile-binutils \
33569 maybe-all-stageprofile-gas \
33570 maybe-all-stageprofile-gcc \
33571 maybe-all-stageprofile-intl \
33572 maybe-all-stageprofile-ld \
33573 maybe-all-stageprofile-libcpp \
33574 maybe-all-stageprofile-libiberty \
33575 maybe-all-stageprofile-zlib
33577 do-clean: clean-stageprofile
33578 clean-stageprofile: \
33579 maybe-clean-stageprofile-bfd \
33580 maybe-clean-stageprofile-opcodes \
33581 maybe-clean-stageprofile-binutils \
33582 maybe-clean-stageprofile-gas \
33583 maybe-clean-stageprofile-gcc \
33584 maybe-clean-stageprofile-intl \
33585 maybe-clean-stageprofile-ld \
33586 maybe-clean-stageprofile-libcpp \
33587 maybe-clean-stageprofile-libiberty \
33588 maybe-clean-stageprofile-zlib
33591 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
33592 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
33593 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
33595 maybe-configure-stageprofile-bfd:
33596 maybe-all-stageprofile-bfd:
33597 maybe-clean-stageprofile-bfd:
33600 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
33601 configure-stageprofile-bfd:
33602 @$(MAKE) stageprofile-start
33603 @[ -f bfd/Makefile ] && exit 0 || : ; \
33604 r=`${PWD_COMMAND}`; export r; \
33605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33606 $(STAGE_HOST_EXPORTS) \
33607 echo Configuring stage profile in bfd ; \
33608 cd bfd || exit 1; \
33609 case $(srcdir) in \
33611 srcdiroption="--srcdir=."; \
33613 /* | [A-Za-z]:[\\/]*) \
33614 srcdiroption="--srcdir=$(srcdir)/bfd"; \
33615 libsrcdir="$$s/bfd";; \
33617 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
33618 libsrcdir="$$s/bfd";; \
33620 $(SHELL) $${libsrcdir}/configure \
33621 $(HOST_CONFIGARGS) $${srcdiroption} \
33622 @stage2_werror_flag@
33624 maybe-all-stageprofile-bfd: all-stageprofile-bfd
33625 all-stageprofile-bfd: configure-stageprofile-bfd
33626 @$(MAKE) stageprofile-start
33627 @r=`${PWD_COMMAND}`; export r; \
33628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33629 $(STAGE_HOST_EXPORTS) \
33631 $(MAKE) $(FLAGS_TO_PASS) \
33632 $(POSTSTAGE1_FLAGS_TO_PASS) \
33633 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33635 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
33636 clean-stageprofile-bfd:
33637 @[ -f bfd/Makefile ] || [ -f stageprofile-bfd/Makefile ] \
33639 [ -f bfd/Makefile ] || $(MAKE) stageprofile-start ; \
33641 $(MAKE) $(FLAGS_TO_PASS) \
33642 $(POSTSTAGE1_FLAGS_TO_PASS) \
33643 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33644 @endif bfd-bootstrap
33647 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
33648 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
33649 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
33651 maybe-configure-stageprofile-opcodes:
33652 maybe-all-stageprofile-opcodes:
33653 maybe-clean-stageprofile-opcodes:
33655 @if opcodes-bootstrap
33656 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
33657 configure-stageprofile-opcodes:
33658 @$(MAKE) stageprofile-start
33659 @[ -f opcodes/Makefile ] && exit 0 || : ; \
33660 r=`${PWD_COMMAND}`; export r; \
33661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33662 $(STAGE_HOST_EXPORTS) \
33663 echo Configuring stage profile in opcodes ; \
33664 cd opcodes || exit 1; \
33665 case $(srcdir) in \
33667 srcdiroption="--srcdir=."; \
33669 /* | [A-Za-z]:[\\/]*) \
33670 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
33671 libsrcdir="$$s/opcodes";; \
33673 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
33674 libsrcdir="$$s/opcodes";; \
33676 $(SHELL) $${libsrcdir}/configure \
33677 $(HOST_CONFIGARGS) $${srcdiroption} \
33678 @stage2_werror_flag@
33680 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
33681 all-stageprofile-opcodes: configure-stageprofile-opcodes
33682 @$(MAKE) stageprofile-start
33683 @r=`${PWD_COMMAND}`; export r; \
33684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33685 $(STAGE_HOST_EXPORTS) \
33687 $(MAKE) $(FLAGS_TO_PASS) \
33688 $(POSTSTAGE1_FLAGS_TO_PASS) \
33689 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33691 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
33692 clean-stageprofile-opcodes:
33693 @[ -f opcodes/Makefile ] || [ -f stageprofile-opcodes/Makefile ] \
33695 [ -f opcodes/Makefile ] || $(MAKE) stageprofile-start ; \
33697 $(MAKE) $(FLAGS_TO_PASS) \
33698 $(POSTSTAGE1_FLAGS_TO_PASS) \
33699 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33700 @endif opcodes-bootstrap
33703 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
33704 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
33705 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
33707 maybe-configure-stageprofile-binutils:
33708 maybe-all-stageprofile-binutils:
33709 maybe-clean-stageprofile-binutils:
33711 @if binutils-bootstrap
33712 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
33713 configure-stageprofile-binutils:
33714 @$(MAKE) stageprofile-start
33715 @[ -f binutils/Makefile ] && exit 0 || : ; \
33716 r=`${PWD_COMMAND}`; export r; \
33717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33718 $(STAGE_HOST_EXPORTS) \
33719 echo Configuring stage profile in binutils ; \
33720 cd binutils || exit 1; \
33721 case $(srcdir) in \
33723 srcdiroption="--srcdir=."; \
33725 /* | [A-Za-z]:[\\/]*) \
33726 srcdiroption="--srcdir=$(srcdir)/binutils"; \
33727 libsrcdir="$$s/binutils";; \
33729 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
33730 libsrcdir="$$s/binutils";; \
33732 $(SHELL) $${libsrcdir}/configure \
33733 $(HOST_CONFIGARGS) $${srcdiroption} \
33734 @stage2_werror_flag@
33736 maybe-all-stageprofile-binutils: all-stageprofile-binutils
33737 all-stageprofile-binutils: configure-stageprofile-binutils
33738 @$(MAKE) stageprofile-start
33739 @r=`${PWD_COMMAND}`; export r; \
33740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33741 $(STAGE_HOST_EXPORTS) \
33743 $(MAKE) $(FLAGS_TO_PASS) \
33744 $(POSTSTAGE1_FLAGS_TO_PASS) \
33745 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33747 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
33748 clean-stageprofile-binutils:
33749 @[ -f binutils/Makefile ] || [ -f stageprofile-binutils/Makefile ] \
33751 [ -f binutils/Makefile ] || $(MAKE) stageprofile-start ; \
33753 $(MAKE) $(FLAGS_TO_PASS) \
33754 $(POSTSTAGE1_FLAGS_TO_PASS) \
33755 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33756 @endif binutils-bootstrap
33759 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
33760 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
33761 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
33763 maybe-configure-stageprofile-gas:
33764 maybe-all-stageprofile-gas:
33765 maybe-clean-stageprofile-gas:
33768 maybe-configure-stageprofile-gas: configure-stageprofile-gas
33769 configure-stageprofile-gas:
33770 @$(MAKE) stageprofile-start
33771 @[ -f gas/Makefile ] && exit 0 || : ; \
33772 r=`${PWD_COMMAND}`; export r; \
33773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33774 $(STAGE_HOST_EXPORTS) \
33775 echo Configuring stage profile in gas ; \
33776 cd gas || exit 1; \
33777 case $(srcdir) in \
33779 srcdiroption="--srcdir=."; \
33781 /* | [A-Za-z]:[\\/]*) \
33782 srcdiroption="--srcdir=$(srcdir)/gas"; \
33783 libsrcdir="$$s/gas";; \
33785 srcdiroption="--srcdir=../$(srcdir)/gas"; \
33786 libsrcdir="$$s/gas";; \
33788 $(SHELL) $${libsrcdir}/configure \
33789 $(HOST_CONFIGARGS) $${srcdiroption} \
33790 @stage2_werror_flag@
33792 maybe-all-stageprofile-gas: all-stageprofile-gas
33793 all-stageprofile-gas: configure-stageprofile-gas
33794 @$(MAKE) stageprofile-start
33795 @r=`${PWD_COMMAND}`; export r; \
33796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33797 $(STAGE_HOST_EXPORTS) \
33799 $(MAKE) $(FLAGS_TO_PASS) \
33800 $(POSTSTAGE1_FLAGS_TO_PASS) \
33801 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33803 maybe-clean-stageprofile-gas: clean-stageprofile-gas
33804 clean-stageprofile-gas:
33805 @[ -f gas/Makefile ] || [ -f stageprofile-gas/Makefile ] \
33807 [ -f gas/Makefile ] || $(MAKE) stageprofile-start ; \
33809 $(MAKE) $(FLAGS_TO_PASS) \
33810 $(POSTSTAGE1_FLAGS_TO_PASS) \
33811 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33812 @endif gas-bootstrap
33815 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
33816 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
33817 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
33819 maybe-configure-stageprofile-gcc:
33820 maybe-all-stageprofile-gcc:
33821 maybe-clean-stageprofile-gcc:
33824 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
33825 configure-stageprofile-gcc:
33826 @$(MAKE) stageprofile-start
33827 @[ -f gcc/Makefile ] && exit 0 || : ; \
33828 r=`${PWD_COMMAND}`; export r; \
33829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33830 $(STAGE_HOST_EXPORTS) \
33831 echo Configuring stage profile in gcc ; \
33832 cd gcc || exit 1; \
33833 case $(srcdir) in \
33835 srcdiroption="--srcdir=."; \
33837 /* | [A-Za-z]:[\\/]*) \
33838 srcdiroption="--srcdir=$(srcdir)/gcc"; \
33839 libsrcdir="$$s/gcc";; \
33841 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
33842 libsrcdir="$$s/gcc";; \
33844 $(SHELL) $${libsrcdir}/configure \
33845 $(HOST_CONFIGARGS) $${srcdiroption} \
33846 @stage2_werror_flag@
33848 maybe-all-stageprofile-gcc: all-stageprofile-gcc
33849 all-stageprofile-gcc: configure-stageprofile-gcc
33850 @$(MAKE) stageprofile-start
33851 @r=`${PWD_COMMAND}`; export r; \
33852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33853 $(STAGE_HOST_EXPORTS) \
33855 $(MAKE) $(FLAGS_TO_PASS) \
33856 $(POSTSTAGE1_FLAGS_TO_PASS) \
33857 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS)
33859 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
33860 clean-stageprofile-gcc:
33861 @[ -f gcc/Makefile ] || [ -f stageprofile-gcc/Makefile ] \
33863 [ -f gcc/Makefile ] || $(MAKE) stageprofile-start ; \
33865 $(MAKE) $(FLAGS_TO_PASS) \
33866 $(POSTSTAGE1_FLAGS_TO_PASS) \
33867 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
33868 @endif gcc-bootstrap
33871 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
33872 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
33873 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
33875 maybe-configure-stageprofile-intl:
33876 maybe-all-stageprofile-intl:
33877 maybe-clean-stageprofile-intl:
33880 maybe-configure-stageprofile-intl: configure-stageprofile-intl
33881 configure-stageprofile-intl:
33882 @$(MAKE) stageprofile-start
33883 @[ -f intl/Makefile ] && exit 0 || : ; \
33884 r=`${PWD_COMMAND}`; export r; \
33885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33886 $(STAGE_HOST_EXPORTS) \
33887 echo Configuring stage profile in intl ; \
33888 cd intl || exit 1; \
33889 case $(srcdir) in \
33891 srcdiroption="--srcdir=."; \
33893 /* | [A-Za-z]:[\\/]*) \
33894 srcdiroption="--srcdir=$(srcdir)/intl"; \
33895 libsrcdir="$$s/intl";; \
33897 srcdiroption="--srcdir=../$(srcdir)/intl"; \
33898 libsrcdir="$$s/intl";; \
33900 $(SHELL) $${libsrcdir}/configure \
33901 $(HOST_CONFIGARGS) $${srcdiroption} \
33902 @stage2_werror_flag@
33904 maybe-all-stageprofile-intl: all-stageprofile-intl
33905 all-stageprofile-intl: configure-stageprofile-intl
33906 @$(MAKE) stageprofile-start
33907 @r=`${PWD_COMMAND}`; export r; \
33908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33909 $(STAGE_HOST_EXPORTS) \
33911 $(MAKE) $(FLAGS_TO_PASS) \
33912 $(POSTSTAGE1_FLAGS_TO_PASS) \
33913 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33915 maybe-clean-stageprofile-intl: clean-stageprofile-intl
33916 clean-stageprofile-intl:
33917 @[ -f intl/Makefile ] || [ -f stageprofile-intl/Makefile ] \
33919 [ -f intl/Makefile ] || $(MAKE) stageprofile-start ; \
33921 $(MAKE) $(FLAGS_TO_PASS) \
33922 $(POSTSTAGE1_FLAGS_TO_PASS) \
33923 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33924 @endif intl-bootstrap
33927 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
33928 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
33929 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
33931 maybe-configure-stageprofile-ld:
33932 maybe-all-stageprofile-ld:
33933 maybe-clean-stageprofile-ld:
33936 maybe-configure-stageprofile-ld: configure-stageprofile-ld
33937 configure-stageprofile-ld:
33938 @$(MAKE) stageprofile-start
33939 @[ -f ld/Makefile ] && exit 0 || : ; \
33940 r=`${PWD_COMMAND}`; export r; \
33941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33942 $(STAGE_HOST_EXPORTS) \
33943 echo Configuring stage profile in ld ; \
33945 case $(srcdir) in \
33947 srcdiroption="--srcdir=."; \
33949 /* | [A-Za-z]:[\\/]*) \
33950 srcdiroption="--srcdir=$(srcdir)/ld"; \
33951 libsrcdir="$$s/ld";; \
33953 srcdiroption="--srcdir=../$(srcdir)/ld"; \
33954 libsrcdir="$$s/ld";; \
33956 $(SHELL) $${libsrcdir}/configure \
33957 $(HOST_CONFIGARGS) $${srcdiroption} \
33958 @stage2_werror_flag@
33960 maybe-all-stageprofile-ld: all-stageprofile-ld
33961 all-stageprofile-ld: configure-stageprofile-ld
33962 @$(MAKE) stageprofile-start
33963 @r=`${PWD_COMMAND}`; export r; \
33964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33965 $(STAGE_HOST_EXPORTS) \
33967 $(MAKE) $(FLAGS_TO_PASS) \
33968 $(POSTSTAGE1_FLAGS_TO_PASS) \
33969 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33971 maybe-clean-stageprofile-ld: clean-stageprofile-ld
33972 clean-stageprofile-ld:
33973 @[ -f ld/Makefile ] || [ -f stageprofile-ld/Makefile ] \
33975 [ -f ld/Makefile ] || $(MAKE) stageprofile-start ; \
33977 $(MAKE) $(FLAGS_TO_PASS) \
33978 $(POSTSTAGE1_FLAGS_TO_PASS) \
33979 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33980 @endif ld-bootstrap
33983 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
33984 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
33985 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
33987 maybe-configure-stageprofile-libcpp:
33988 maybe-all-stageprofile-libcpp:
33989 maybe-clean-stageprofile-libcpp:
33991 @if libcpp-bootstrap
33992 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
33993 configure-stageprofile-libcpp:
33994 @$(MAKE) stageprofile-start
33995 @[ -f libcpp/Makefile ] && exit 0 || : ; \
33996 r=`${PWD_COMMAND}`; export r; \
33997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33998 $(STAGE_HOST_EXPORTS) \
33999 echo Configuring stage profile in libcpp ; \
34000 cd libcpp || exit 1; \
34001 case $(srcdir) in \
34003 srcdiroption="--srcdir=."; \
34005 /* | [A-Za-z]:[\\/]*) \
34006 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
34007 libsrcdir="$$s/libcpp";; \
34009 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
34010 libsrcdir="$$s/libcpp";; \
34012 $(SHELL) $${libsrcdir}/configure \
34013 $(HOST_CONFIGARGS) $${srcdiroption} \
34014 @stage2_werror_flag@
34016 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
34017 all-stageprofile-libcpp: configure-stageprofile-libcpp
34018 @$(MAKE) stageprofile-start
34019 @r=`${PWD_COMMAND}`; export r; \
34020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34021 $(STAGE_HOST_EXPORTS) \
34023 $(MAKE) $(FLAGS_TO_PASS) \
34024 $(POSTSTAGE1_FLAGS_TO_PASS) \
34025 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34027 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
34028 clean-stageprofile-libcpp:
34029 @[ -f libcpp/Makefile ] || [ -f stageprofile-libcpp/Makefile ] \
34031 [ -f libcpp/Makefile ] || $(MAKE) stageprofile-start ; \
34033 $(MAKE) $(FLAGS_TO_PASS) \
34034 $(POSTSTAGE1_FLAGS_TO_PASS) \
34035 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34036 @endif libcpp-bootstrap
34039 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
34040 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
34041 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
34043 maybe-configure-stageprofile-libiberty:
34044 maybe-all-stageprofile-libiberty:
34045 maybe-clean-stageprofile-libiberty:
34047 @if libiberty-bootstrap
34048 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
34049 configure-stageprofile-libiberty:
34050 @$(MAKE) stageprofile-start
34051 @[ -f libiberty/Makefile ] && exit 0 || : ; \
34052 r=`${PWD_COMMAND}`; export r; \
34053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34054 $(STAGE_HOST_EXPORTS) \
34055 echo Configuring stage profile in libiberty ; \
34056 cd libiberty || exit 1; \
34057 case $(srcdir) in \
34059 srcdiroption="--srcdir=."; \
34061 /* | [A-Za-z]:[\\/]*) \
34062 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
34063 libsrcdir="$$s/libiberty";; \
34065 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
34066 libsrcdir="$$s/libiberty";; \
34068 $(SHELL) $${libsrcdir}/configure \
34069 $(HOST_CONFIGARGS) $${srcdiroption} \
34070 @stage2_werror_flag@
34072 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
34073 all-stageprofile-libiberty: configure-stageprofile-libiberty
34074 @$(MAKE) stageprofile-start
34075 @r=`${PWD_COMMAND}`; export r; \
34076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34077 $(STAGE_HOST_EXPORTS) \
34079 $(MAKE) $(FLAGS_TO_PASS) \
34080 $(POSTSTAGE1_FLAGS_TO_PASS) \
34081 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34083 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
34084 clean-stageprofile-libiberty:
34085 @[ -f libiberty/Makefile ] || [ -f stageprofile-libiberty/Makefile ] \
34087 [ -f libiberty/Makefile ] || $(MAKE) stageprofile-start ; \
34089 $(MAKE) $(FLAGS_TO_PASS) \
34090 $(POSTSTAGE1_FLAGS_TO_PASS) \
34091 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34092 @endif libiberty-bootstrap
34095 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
34096 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
34097 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
34099 maybe-configure-stageprofile-zlib:
34100 maybe-all-stageprofile-zlib:
34101 maybe-clean-stageprofile-zlib:
34104 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
34105 configure-stageprofile-zlib:
34106 @$(MAKE) stageprofile-start
34107 @[ -f zlib/Makefile ] && exit 0 || : ; \
34108 r=`${PWD_COMMAND}`; export r; \
34109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34110 $(STAGE_HOST_EXPORTS) \
34111 echo Configuring stage profile in zlib ; \
34112 cd zlib || exit 1; \
34113 case $(srcdir) in \
34115 srcdiroption="--srcdir=."; \
34117 /* | [A-Za-z]:[\\/]*) \
34118 srcdiroption="--srcdir=$(srcdir)/zlib"; \
34119 libsrcdir="$$s/zlib";; \
34121 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
34122 libsrcdir="$$s/zlib";; \
34124 $(SHELL) $${libsrcdir}/configure \
34125 $(HOST_CONFIGARGS) $${srcdiroption} \
34126 @stage2_werror_flag@
34128 maybe-all-stageprofile-zlib: all-stageprofile-zlib
34129 all-stageprofile-zlib: configure-stageprofile-zlib
34130 @$(MAKE) stageprofile-start
34131 @r=`${PWD_COMMAND}`; export r; \
34132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34133 $(STAGE_HOST_EXPORTS) \
34135 $(MAKE) $(FLAGS_TO_PASS) \
34136 $(POSTSTAGE1_FLAGS_TO_PASS) \
34137 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34139 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
34140 clean-stageprofile-zlib:
34141 @[ -f zlib/Makefile ] || [ -f stageprofile-zlib/Makefile ] \
34143 [ -f zlib/Makefile ] || $(MAKE) stageprofile-start ; \
34145 $(MAKE) $(FLAGS_TO_PASS) \
34146 $(POSTSTAGE1_FLAGS_TO_PASS) \
34147 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34148 @endif zlib-bootstrap
34152 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34153 # only possibility, but now it conflicts with no-bootstrap rules
34159 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34160 distclean-stage1:: distclean-stageprofile
34161 .PHONY: distclean-stageprofile
34162 distclean-stageprofile::
34163 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34164 rm -rf stageprofile-*
34167 @endif gcc-bootstrap
34170 .PHONY: stagefeedback-start stagefeedback-end
34172 stagefeedback-start::
34173 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34174 echo stagefeedback > stage_current ; \
34175 echo stagefeedback > stage_last
34177 @[ -d stagefeedback-bfd ] || mkdir stagefeedback-bfd; \
34178 set stagefeedback-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
34179 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
34182 @[ -d stagefeedback-opcodes ] || mkdir stagefeedback-opcodes; \
34183 set stagefeedback-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
34184 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
34187 @[ -d stagefeedback-binutils ] || mkdir stagefeedback-binutils; \
34188 set stagefeedback-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
34189 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
34192 @[ -d stagefeedback-gas ] || mkdir stagefeedback-gas; \
34193 set stagefeedback-gas gas ; @CREATE_LINK_TO_DIR@ ; \
34194 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
34197 @[ -d stagefeedback-gcc ] || mkdir stagefeedback-gcc; \
34198 set stagefeedback-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
34199 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
34202 @[ -d stagefeedback-intl ] || mkdir stagefeedback-intl; \
34203 set stagefeedback-intl intl ; @CREATE_LINK_TO_DIR@ ; \
34204 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
34207 @[ -d stagefeedback-ld ] || mkdir stagefeedback-ld; \
34208 set stagefeedback-ld ld ; @CREATE_LINK_TO_DIR@ ; \
34209 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
34212 @[ -d stagefeedback-libcpp ] || mkdir stagefeedback-libcpp; \
34213 set stagefeedback-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
34214 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
34217 @[ -d stagefeedback-libiberty ] || mkdir stagefeedback-libiberty; \
34218 set stagefeedback-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
34219 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
34222 @[ -d stagefeedback-zlib ] || mkdir stagefeedback-zlib; \
34223 set stagefeedback-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
34224 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
34227 stagefeedback-end::
34228 @rm -f stage_current
34230 @set bfd stagefeedback-bfd ; @UNDO_LINK_TO_DIR@ ; \
34231 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
34234 @set opcodes stagefeedback-opcodes ; @UNDO_LINK_TO_DIR@ ; \
34235 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
34238 @set binutils stagefeedback-binutils ; @UNDO_LINK_TO_DIR@ ; \
34239 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
34242 @set gas stagefeedback-gas ; @UNDO_LINK_TO_DIR@ ; \
34243 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
34246 @set gcc stagefeedback-gcc ; @UNDO_LINK_TO_DIR@ ; \
34247 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
34250 @set intl stagefeedback-intl ; @UNDO_LINK_TO_DIR@ ; \
34251 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
34254 @set ld stagefeedback-ld ; @UNDO_LINK_TO_DIR@ ; \
34255 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
34258 @set libcpp stagefeedback-libcpp ; @UNDO_LINK_TO_DIR@ ; \
34259 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
34262 @set libiberty stagefeedback-libiberty ; @UNDO_LINK_TO_DIR@ ; \
34263 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
34266 @set zlib stagefeedback-zlib ; @UNDO_LINK_TO_DIR@ ; \
34267 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
34270 # Bubble a bugfix through all the stages up to stage feedback. They
34271 # are remade, but not reconfigured. The next stage (if any) will not
34272 # be reconfigured as well.
34273 .PHONY: stagefeedback-bubble
34274 stagefeedback-bubble:: stage1-bubble
34275 @if test -f stagefeedback-lean || test -f stage1-lean ; then \
34276 echo Skipping rebuild of stagefeedback ; \
34278 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stagefeedback; \
34281 .PHONY: all-stagefeedback clean-stagefeedback
34282 all-stagefeedback: \
34283 maybe-all-stagefeedback-bfd \
34284 maybe-all-stagefeedback-opcodes \
34285 maybe-all-stagefeedback-binutils \
34286 maybe-all-stagefeedback-gas \
34287 maybe-all-stagefeedback-gcc \
34288 maybe-all-stagefeedback-intl \
34289 maybe-all-stagefeedback-ld \
34290 maybe-all-stagefeedback-libcpp \
34291 maybe-all-stagefeedback-libiberty \
34292 maybe-all-stagefeedback-zlib
34294 do-clean: clean-stagefeedback
34295 clean-stagefeedback: \
34296 maybe-clean-stagefeedback-bfd \
34297 maybe-clean-stagefeedback-opcodes \
34298 maybe-clean-stagefeedback-binutils \
34299 maybe-clean-stagefeedback-gas \
34300 maybe-clean-stagefeedback-gcc \
34301 maybe-clean-stagefeedback-intl \
34302 maybe-clean-stagefeedback-ld \
34303 maybe-clean-stagefeedback-libcpp \
34304 maybe-clean-stagefeedback-libiberty \
34305 maybe-clean-stagefeedback-zlib
34308 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
34309 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
34310 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
34312 maybe-configure-stagefeedback-bfd:
34313 maybe-all-stagefeedback-bfd:
34314 maybe-clean-stagefeedback-bfd:
34317 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
34318 configure-stagefeedback-bfd:
34319 @$(MAKE) stagefeedback-start
34320 @[ -f bfd/Makefile ] && exit 0 || : ; \
34321 r=`${PWD_COMMAND}`; export r; \
34322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34323 $(STAGE_HOST_EXPORTS) \
34324 echo Configuring stage feedback in bfd ; \
34325 cd bfd || exit 1; \
34326 case $(srcdir) in \
34328 srcdiroption="--srcdir=."; \
34330 /* | [A-Za-z]:[\\/]*) \
34331 srcdiroption="--srcdir=$(srcdir)/bfd"; \
34332 libsrcdir="$$s/bfd";; \
34334 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
34335 libsrcdir="$$s/bfd";; \
34337 $(SHELL) $${libsrcdir}/configure \
34338 $(HOST_CONFIGARGS) $${srcdiroption} \
34339 @stage2_werror_flag@
34341 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
34342 all-stagefeedback-bfd: configure-stagefeedback-bfd
34343 @$(MAKE) stagefeedback-start
34344 @r=`${PWD_COMMAND}`; export r; \
34345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34346 $(STAGE_HOST_EXPORTS) \
34348 $(MAKE) $(FLAGS_TO_PASS) \
34349 $(POSTSTAGE1_FLAGS_TO_PASS) \
34350 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34352 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
34353 clean-stagefeedback-bfd:
34354 @[ -f bfd/Makefile ] || [ -f stagefeedback-bfd/Makefile ] \
34356 [ -f bfd/Makefile ] || $(MAKE) stagefeedback-start ; \
34358 $(MAKE) $(FLAGS_TO_PASS) \
34359 $(POSTSTAGE1_FLAGS_TO_PASS) \
34360 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34361 @endif bfd-bootstrap
34364 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
34365 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
34366 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
34368 maybe-configure-stagefeedback-opcodes:
34369 maybe-all-stagefeedback-opcodes:
34370 maybe-clean-stagefeedback-opcodes:
34372 @if opcodes-bootstrap
34373 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
34374 configure-stagefeedback-opcodes:
34375 @$(MAKE) stagefeedback-start
34376 @[ -f opcodes/Makefile ] && exit 0 || : ; \
34377 r=`${PWD_COMMAND}`; export r; \
34378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34379 $(STAGE_HOST_EXPORTS) \
34380 echo Configuring stage feedback in opcodes ; \
34381 cd opcodes || exit 1; \
34382 case $(srcdir) in \
34384 srcdiroption="--srcdir=."; \
34386 /* | [A-Za-z]:[\\/]*) \
34387 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
34388 libsrcdir="$$s/opcodes";; \
34390 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
34391 libsrcdir="$$s/opcodes";; \
34393 $(SHELL) $${libsrcdir}/configure \
34394 $(HOST_CONFIGARGS) $${srcdiroption} \
34395 @stage2_werror_flag@
34397 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
34398 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
34399 @$(MAKE) stagefeedback-start
34400 @r=`${PWD_COMMAND}`; export r; \
34401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34402 $(STAGE_HOST_EXPORTS) \
34404 $(MAKE) $(FLAGS_TO_PASS) \
34405 $(POSTSTAGE1_FLAGS_TO_PASS) \
34406 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34408 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
34409 clean-stagefeedback-opcodes:
34410 @[ -f opcodes/Makefile ] || [ -f stagefeedback-opcodes/Makefile ] \
34412 [ -f opcodes/Makefile ] || $(MAKE) stagefeedback-start ; \
34414 $(MAKE) $(FLAGS_TO_PASS) \
34415 $(POSTSTAGE1_FLAGS_TO_PASS) \
34416 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34417 @endif opcodes-bootstrap
34420 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
34421 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
34422 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
34424 maybe-configure-stagefeedback-binutils:
34425 maybe-all-stagefeedback-binutils:
34426 maybe-clean-stagefeedback-binutils:
34428 @if binutils-bootstrap
34429 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
34430 configure-stagefeedback-binutils:
34431 @$(MAKE) stagefeedback-start
34432 @[ -f binutils/Makefile ] && exit 0 || : ; \
34433 r=`${PWD_COMMAND}`; export r; \
34434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34435 $(STAGE_HOST_EXPORTS) \
34436 echo Configuring stage feedback in binutils ; \
34437 cd binutils || exit 1; \
34438 case $(srcdir) in \
34440 srcdiroption="--srcdir=."; \
34442 /* | [A-Za-z]:[\\/]*) \
34443 srcdiroption="--srcdir=$(srcdir)/binutils"; \
34444 libsrcdir="$$s/binutils";; \
34446 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
34447 libsrcdir="$$s/binutils";; \
34449 $(SHELL) $${libsrcdir}/configure \
34450 $(HOST_CONFIGARGS) $${srcdiroption} \
34451 @stage2_werror_flag@
34453 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
34454 all-stagefeedback-binutils: configure-stagefeedback-binutils
34455 @$(MAKE) stagefeedback-start
34456 @r=`${PWD_COMMAND}`; export r; \
34457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34458 $(STAGE_HOST_EXPORTS) \
34460 $(MAKE) $(FLAGS_TO_PASS) \
34461 $(POSTSTAGE1_FLAGS_TO_PASS) \
34462 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34464 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
34465 clean-stagefeedback-binutils:
34466 @[ -f binutils/Makefile ] || [ -f stagefeedback-binutils/Makefile ] \
34468 [ -f binutils/Makefile ] || $(MAKE) stagefeedback-start ; \
34470 $(MAKE) $(FLAGS_TO_PASS) \
34471 $(POSTSTAGE1_FLAGS_TO_PASS) \
34472 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34473 @endif binutils-bootstrap
34476 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
34477 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
34478 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
34480 maybe-configure-stagefeedback-gas:
34481 maybe-all-stagefeedback-gas:
34482 maybe-clean-stagefeedback-gas:
34485 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
34486 configure-stagefeedback-gas:
34487 @$(MAKE) stagefeedback-start
34488 @[ -f gas/Makefile ] && exit 0 || : ; \
34489 r=`${PWD_COMMAND}`; export r; \
34490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34491 $(STAGE_HOST_EXPORTS) \
34492 echo Configuring stage feedback in gas ; \
34493 cd gas || exit 1; \
34494 case $(srcdir) in \
34496 srcdiroption="--srcdir=."; \
34498 /* | [A-Za-z]:[\\/]*) \
34499 srcdiroption="--srcdir=$(srcdir)/gas"; \
34500 libsrcdir="$$s/gas";; \
34502 srcdiroption="--srcdir=../$(srcdir)/gas"; \
34503 libsrcdir="$$s/gas";; \
34505 $(SHELL) $${libsrcdir}/configure \
34506 $(HOST_CONFIGARGS) $${srcdiroption} \
34507 @stage2_werror_flag@
34509 maybe-all-stagefeedback-gas: all-stagefeedback-gas
34510 all-stagefeedback-gas: configure-stagefeedback-gas
34511 @$(MAKE) stagefeedback-start
34512 @r=`${PWD_COMMAND}`; export r; \
34513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34514 $(STAGE_HOST_EXPORTS) \
34516 $(MAKE) $(FLAGS_TO_PASS) \
34517 $(POSTSTAGE1_FLAGS_TO_PASS) \
34518 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34520 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
34521 clean-stagefeedback-gas:
34522 @[ -f gas/Makefile ] || [ -f stagefeedback-gas/Makefile ] \
34524 [ -f gas/Makefile ] || $(MAKE) stagefeedback-start ; \
34526 $(MAKE) $(FLAGS_TO_PASS) \
34527 $(POSTSTAGE1_FLAGS_TO_PASS) \
34528 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34529 @endif gas-bootstrap
34532 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
34533 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
34534 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
34536 maybe-configure-stagefeedback-gcc:
34537 maybe-all-stagefeedback-gcc:
34538 maybe-clean-stagefeedback-gcc:
34541 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
34542 configure-stagefeedback-gcc:
34543 @$(MAKE) stagefeedback-start
34544 @[ -f gcc/Makefile ] && exit 0 || : ; \
34545 r=`${PWD_COMMAND}`; export r; \
34546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34547 $(STAGE_HOST_EXPORTS) \
34548 echo Configuring stage feedback in gcc ; \
34549 cd gcc || exit 1; \
34550 case $(srcdir) in \
34552 srcdiroption="--srcdir=."; \
34554 /* | [A-Za-z]:[\\/]*) \
34555 srcdiroption="--srcdir=$(srcdir)/gcc"; \
34556 libsrcdir="$$s/gcc";; \
34558 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
34559 libsrcdir="$$s/gcc";; \
34561 $(SHELL) $${libsrcdir}/configure \
34562 $(HOST_CONFIGARGS) $${srcdiroption} \
34563 @stage2_werror_flag@
34565 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
34566 all-stagefeedback-gcc: configure-stagefeedback-gcc
34567 @$(MAKE) stagefeedback-start
34568 @r=`${PWD_COMMAND}`; export r; \
34569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34570 $(STAGE_HOST_EXPORTS) \
34572 $(MAKE) $(FLAGS_TO_PASS) \
34573 $(POSTSTAGE1_FLAGS_TO_PASS) \
34574 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS)
34576 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
34577 clean-stagefeedback-gcc:
34578 @[ -f gcc/Makefile ] || [ -f stagefeedback-gcc/Makefile ] \
34580 [ -f gcc/Makefile ] || $(MAKE) stagefeedback-start ; \
34582 $(MAKE) $(FLAGS_TO_PASS) \
34583 $(POSTSTAGE1_FLAGS_TO_PASS) \
34584 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
34585 @endif gcc-bootstrap
34588 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
34589 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
34590 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
34592 maybe-configure-stagefeedback-intl:
34593 maybe-all-stagefeedback-intl:
34594 maybe-clean-stagefeedback-intl:
34597 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
34598 configure-stagefeedback-intl:
34599 @$(MAKE) stagefeedback-start
34600 @[ -f intl/Makefile ] && exit 0 || : ; \
34601 r=`${PWD_COMMAND}`; export r; \
34602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34603 $(STAGE_HOST_EXPORTS) \
34604 echo Configuring stage feedback in intl ; \
34605 cd intl || exit 1; \
34606 case $(srcdir) in \
34608 srcdiroption="--srcdir=."; \
34610 /* | [A-Za-z]:[\\/]*) \
34611 srcdiroption="--srcdir=$(srcdir)/intl"; \
34612 libsrcdir="$$s/intl";; \
34614 srcdiroption="--srcdir=../$(srcdir)/intl"; \
34615 libsrcdir="$$s/intl";; \
34617 $(SHELL) $${libsrcdir}/configure \
34618 $(HOST_CONFIGARGS) $${srcdiroption} \
34619 @stage2_werror_flag@
34621 maybe-all-stagefeedback-intl: all-stagefeedback-intl
34622 all-stagefeedback-intl: configure-stagefeedback-intl
34623 @$(MAKE) stagefeedback-start
34624 @r=`${PWD_COMMAND}`; export r; \
34625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34626 $(STAGE_HOST_EXPORTS) \
34628 $(MAKE) $(FLAGS_TO_PASS) \
34629 $(POSTSTAGE1_FLAGS_TO_PASS) \
34630 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34632 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
34633 clean-stagefeedback-intl:
34634 @[ -f intl/Makefile ] || [ -f stagefeedback-intl/Makefile ] \
34636 [ -f intl/Makefile ] || $(MAKE) stagefeedback-start ; \
34638 $(MAKE) $(FLAGS_TO_PASS) \
34639 $(POSTSTAGE1_FLAGS_TO_PASS) \
34640 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34641 @endif intl-bootstrap
34644 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
34645 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
34646 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
34648 maybe-configure-stagefeedback-ld:
34649 maybe-all-stagefeedback-ld:
34650 maybe-clean-stagefeedback-ld:
34653 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
34654 configure-stagefeedback-ld:
34655 @$(MAKE) stagefeedback-start
34656 @[ -f ld/Makefile ] && exit 0 || : ; \
34657 r=`${PWD_COMMAND}`; export r; \
34658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34659 $(STAGE_HOST_EXPORTS) \
34660 echo Configuring stage feedback in ld ; \
34662 case $(srcdir) in \
34664 srcdiroption="--srcdir=."; \
34666 /* | [A-Za-z]:[\\/]*) \
34667 srcdiroption="--srcdir=$(srcdir)/ld"; \
34668 libsrcdir="$$s/ld";; \
34670 srcdiroption="--srcdir=../$(srcdir)/ld"; \
34671 libsrcdir="$$s/ld";; \
34673 $(SHELL) $${libsrcdir}/configure \
34674 $(HOST_CONFIGARGS) $${srcdiroption} \
34675 @stage2_werror_flag@
34677 maybe-all-stagefeedback-ld: all-stagefeedback-ld
34678 all-stagefeedback-ld: configure-stagefeedback-ld
34679 @$(MAKE) stagefeedback-start
34680 @r=`${PWD_COMMAND}`; export r; \
34681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34682 $(STAGE_HOST_EXPORTS) \
34684 $(MAKE) $(FLAGS_TO_PASS) \
34685 $(POSTSTAGE1_FLAGS_TO_PASS) \
34686 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34688 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
34689 clean-stagefeedback-ld:
34690 @[ -f ld/Makefile ] || [ -f stagefeedback-ld/Makefile ] \
34692 [ -f ld/Makefile ] || $(MAKE) stagefeedback-start ; \
34694 $(MAKE) $(FLAGS_TO_PASS) \
34695 $(POSTSTAGE1_FLAGS_TO_PASS) \
34696 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34697 @endif ld-bootstrap
34700 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
34701 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
34702 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
34704 maybe-configure-stagefeedback-libcpp:
34705 maybe-all-stagefeedback-libcpp:
34706 maybe-clean-stagefeedback-libcpp:
34708 @if libcpp-bootstrap
34709 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
34710 configure-stagefeedback-libcpp:
34711 @$(MAKE) stagefeedback-start
34712 @[ -f libcpp/Makefile ] && exit 0 || : ; \
34713 r=`${PWD_COMMAND}`; export r; \
34714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34715 $(STAGE_HOST_EXPORTS) \
34716 echo Configuring stage feedback in libcpp ; \
34717 cd libcpp || exit 1; \
34718 case $(srcdir) in \
34720 srcdiroption="--srcdir=."; \
34722 /* | [A-Za-z]:[\\/]*) \
34723 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
34724 libsrcdir="$$s/libcpp";; \
34726 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
34727 libsrcdir="$$s/libcpp";; \
34729 $(SHELL) $${libsrcdir}/configure \
34730 $(HOST_CONFIGARGS) $${srcdiroption} \
34731 @stage2_werror_flag@
34733 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
34734 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
34735 @$(MAKE) stagefeedback-start
34736 @r=`${PWD_COMMAND}`; export r; \
34737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34738 $(STAGE_HOST_EXPORTS) \
34740 $(MAKE) $(FLAGS_TO_PASS) \
34741 $(POSTSTAGE1_FLAGS_TO_PASS) \
34742 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34744 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
34745 clean-stagefeedback-libcpp:
34746 @[ -f libcpp/Makefile ] || [ -f stagefeedback-libcpp/Makefile ] \
34748 [ -f libcpp/Makefile ] || $(MAKE) stagefeedback-start ; \
34750 $(MAKE) $(FLAGS_TO_PASS) \
34751 $(POSTSTAGE1_FLAGS_TO_PASS) \
34752 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34753 @endif libcpp-bootstrap
34756 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
34757 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
34758 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
34760 maybe-configure-stagefeedback-libiberty:
34761 maybe-all-stagefeedback-libiberty:
34762 maybe-clean-stagefeedback-libiberty:
34764 @if libiberty-bootstrap
34765 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
34766 configure-stagefeedback-libiberty:
34767 @$(MAKE) stagefeedback-start
34768 @[ -f libiberty/Makefile ] && exit 0 || : ; \
34769 r=`${PWD_COMMAND}`; export r; \
34770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34771 $(STAGE_HOST_EXPORTS) \
34772 echo Configuring stage feedback in libiberty ; \
34773 cd libiberty || exit 1; \
34774 case $(srcdir) in \
34776 srcdiroption="--srcdir=."; \
34778 /* | [A-Za-z]:[\\/]*) \
34779 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
34780 libsrcdir="$$s/libiberty";; \
34782 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
34783 libsrcdir="$$s/libiberty";; \
34785 $(SHELL) $${libsrcdir}/configure \
34786 $(HOST_CONFIGARGS) $${srcdiroption} \
34787 @stage2_werror_flag@
34789 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
34790 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
34791 @$(MAKE) stagefeedback-start
34792 @r=`${PWD_COMMAND}`; export r; \
34793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34794 $(STAGE_HOST_EXPORTS) \
34796 $(MAKE) $(FLAGS_TO_PASS) \
34797 $(POSTSTAGE1_FLAGS_TO_PASS) \
34798 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34800 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
34801 clean-stagefeedback-libiberty:
34802 @[ -f libiberty/Makefile ] || [ -f stagefeedback-libiberty/Makefile ] \
34804 [ -f libiberty/Makefile ] || $(MAKE) stagefeedback-start ; \
34806 $(MAKE) $(FLAGS_TO_PASS) \
34807 $(POSTSTAGE1_FLAGS_TO_PASS) \
34808 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34809 @endif libiberty-bootstrap
34812 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
34813 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
34814 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
34816 maybe-configure-stagefeedback-zlib:
34817 maybe-all-stagefeedback-zlib:
34818 maybe-clean-stagefeedback-zlib:
34821 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
34822 configure-stagefeedback-zlib:
34823 @$(MAKE) stagefeedback-start
34824 @[ -f zlib/Makefile ] && exit 0 || : ; \
34825 r=`${PWD_COMMAND}`; export r; \
34826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34827 $(STAGE_HOST_EXPORTS) \
34828 echo Configuring stage feedback in zlib ; \
34829 cd zlib || exit 1; \
34830 case $(srcdir) in \
34832 srcdiroption="--srcdir=."; \
34834 /* | [A-Za-z]:[\\/]*) \
34835 srcdiroption="--srcdir=$(srcdir)/zlib"; \
34836 libsrcdir="$$s/zlib";; \
34838 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
34839 libsrcdir="$$s/zlib";; \
34841 $(SHELL) $${libsrcdir}/configure \
34842 $(HOST_CONFIGARGS) $${srcdiroption} \
34843 @stage2_werror_flag@
34845 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
34846 all-stagefeedback-zlib: configure-stagefeedback-zlib
34847 @$(MAKE) stagefeedback-start
34848 @r=`${PWD_COMMAND}`; export r; \
34849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34850 $(STAGE_HOST_EXPORTS) \
34852 $(MAKE) $(FLAGS_TO_PASS) \
34853 $(POSTSTAGE1_FLAGS_TO_PASS) \
34854 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34856 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
34857 clean-stagefeedback-zlib:
34858 @[ -f zlib/Makefile ] || [ -f stagefeedback-zlib/Makefile ] \
34860 [ -f zlib/Makefile ] || $(MAKE) stagefeedback-start ; \
34862 $(MAKE) $(FLAGS_TO_PASS) \
34863 $(POSTSTAGE1_FLAGS_TO_PASS) \
34864 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34865 @endif zlib-bootstrap
34869 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34870 # only possibility, but now it conflicts with no-bootstrap rules
34876 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34877 distclean-stage1:: distclean-stagefeedback
34878 .PHONY: distclean-stagefeedback
34879 distclean-stagefeedback::
34880 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34881 rm -rf stagefeedback-*
34884 @endif gcc-bootstrap
34888 stagefeedback-start::
34889 @r=`${PWD_COMMAND}`; export r; \
34890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34891 cd stageprofile-gcc && \
34892 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \
34893 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); }
34895 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34896 # only possibility, but now it conflicts with no-bootstrap rules
34899 @r=`${PWD_COMMAND}`; export r; \
34900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34903 echo "Bootstrapping the compiler"; \
34904 $(MAKE) stageprofile-bubble distclean-stagefeedback
34905 @r=`${PWD_COMMAND}`; export r; \
34906 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
34908 echo "Building runtime libraries and training compiler"; \
34909 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
34910 @r=`${PWD_COMMAND}`; export r; \
34911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34914 echo "Building feedback based compiler"; \
34915 $(MAKE) stagefeedback-bubble stagefeedback-end
34916 @endif gcc-bootstrap
34919 NOTPARALLEL = .NOTPARALLEL
34921 do-distclean: distclean-stage1
34922 @endif gcc-bootstrap
34924 # --------------------------------------
34925 # Dependencies between different modules
34926 # --------------------------------------
34928 # Generic dependencies for target modules on host stuff, especially gcc
34930 configure-target-libstdc++-v3: maybe-all-gcc
34932 configure-target-libmudflap: maybe-all-gcc
34934 configure-target-newlib: maybe-all-gcc
34936 configure-target-libgfortran: maybe-all-gcc
34938 configure-target-libobjc: maybe-all-gcc
34940 configure-target-libtermcap: maybe-all-gcc
34942 configure-target-winsup: maybe-all-gcc
34944 configure-target-libgloss: maybe-all-gcc
34946 configure-target-libiberty: maybe-all-gcc
34948 configure-target-gperf: maybe-all-gcc
34950 configure-target-examples: maybe-all-gcc
34952 configure-target-libffi: maybe-all-gcc
34954 configure-target-libjava: maybe-all-gcc
34956 configure-target-zlib: maybe-all-gcc
34958 configure-target-boehm-gc: maybe-all-gcc
34960 configure-target-qthreads: maybe-all-gcc
34962 configure-target-rda: maybe-all-gcc
34964 configure-target-libada: maybe-all-gcc
34968 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
34970 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
34971 configure-target-gperf: maybe-all-target-libstdc++-v3
34973 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
34975 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
34977 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
34979 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
34980 configure-target-libjava: maybe-all-target-libstdc++-v3
34982 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
34984 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
34986 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
34988 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
34990 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
34992 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
34994 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
34996 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
34999 # There are two types of dependencies here: 'hard' dependencies, where one
35000 # module simply won't build without the other; and 'soft' dependencies, where
35001 # if the depended-on module is missing, the depending module will do without
35002 # or find a substitute somewhere (perhaps installed). Soft dependencies
35003 # are made here to depend on a 'maybe-' target. If you're not sure,
35004 # it's safer to use a soft dependency.
35010 # With all the machinery above in place, it is pretty easy to generate
35011 # dependencies. Host dependencies are a bit more complex because we have
35012 # to check for bootstrap/prebootstrap dependencies. To resolve
35013 # prebootstrap dependencies, prebootstrap modules are gathered in
35015 all-build-bison: maybe-all-build-texinfo
35016 all-build-byacc: maybe-all-build-texinfo
35017 all-build-flex: maybe-all-build-texinfo
35018 all-build-flex: maybe-all-build-bison
35019 all-build-flex: maybe-all-build-byacc
35020 all-build-flex: maybe-all-build-m4
35021 all-build-libiberty: maybe-all-build-texinfo
35022 all-build-m4: maybe-all-build-texinfo
35023 all-build-fixincludes: maybe-all-build-libiberty
35024 configure-gcc: maybe-configure-intl
35026 configure-stage1-gcc: maybe-configure-stage1-intl
35027 configure-stage2-gcc: maybe-configure-stage2-intl
35028 configure-stage3-gcc: maybe-configure-stage3-intl
35029 configure-stage4-gcc: maybe-configure-stage4-intl
35030 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
35031 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
35032 configure-gcc: maybe-configure-binutils
35034 configure-stage1-gcc: maybe-configure-stage1-binutils
35035 configure-stage2-gcc: maybe-configure-stage2-binutils
35036 configure-stage3-gcc: maybe-configure-stage3-binutils
35037 configure-stage4-gcc: maybe-configure-stage4-binutils
35038 configure-stageprofile-gcc: maybe-configure-stageprofile-binutils
35039 configure-stagefeedback-gcc: maybe-configure-stagefeedback-binutils
35040 configure-gcc: maybe-configure-gas
35042 configure-stage1-gcc: maybe-configure-stage1-gas
35043 configure-stage2-gcc: maybe-configure-stage2-gas
35044 configure-stage3-gcc: maybe-configure-stage3-gas
35045 configure-stage4-gcc: maybe-configure-stage4-gas
35046 configure-stageprofile-gcc: maybe-configure-stageprofile-gas
35047 configure-stagefeedback-gcc: maybe-configure-stagefeedback-gas
35048 configure-gcc: maybe-configure-ld
35050 configure-stage1-gcc: maybe-configure-stage1-ld
35051 configure-stage2-gcc: maybe-configure-stage2-ld
35052 configure-stage3-gcc: maybe-configure-stage3-ld
35053 configure-stage4-gcc: maybe-configure-stage4-ld
35054 configure-stageprofile-gcc: maybe-configure-stageprofile-ld
35055 configure-stagefeedback-gcc: maybe-configure-stagefeedback-ld
35056 all-gcc: all-libiberty
35058 all-stage1-gcc: all-stage1-libiberty
35059 all-stage2-gcc: all-stage2-libiberty
35060 all-stage3-gcc: all-stage3-libiberty
35061 all-stage4-gcc: all-stage4-libiberty
35062 all-stageprofile-gcc: all-stageprofile-libiberty
35063 all-stagefeedback-gcc: all-stagefeedback-libiberty
35064 all-gcc: maybe-all-intl
35066 all-stage1-gcc: maybe-all-stage1-intl
35067 all-stage2-gcc: maybe-all-stage2-intl
35068 all-stage3-gcc: maybe-all-stage3-intl
35069 all-stage4-gcc: maybe-all-stage4-intl
35070 all-stageprofile-gcc: maybe-all-stageprofile-intl
35071 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
35072 all-gcc: maybe-all-build-texinfo
35074 all-stage1-gcc: maybe-all-build-texinfo
35075 all-stage2-gcc: maybe-all-build-texinfo
35076 all-stage3-gcc: maybe-all-build-texinfo
35077 all-stage4-gcc: maybe-all-build-texinfo
35078 all-stageprofile-gcc: maybe-all-build-texinfo
35079 all-stagefeedback-gcc: maybe-all-build-texinfo
35080 all-prebootstrap: maybe-all-build-texinfo
35081 all-gcc: maybe-all-build-bison
35083 all-stage1-gcc: maybe-all-build-bison
35084 all-stage2-gcc: maybe-all-build-bison
35085 all-stage3-gcc: maybe-all-build-bison
35086 all-stage4-gcc: maybe-all-build-bison
35087 all-stageprofile-gcc: maybe-all-build-bison
35088 all-stagefeedback-gcc: maybe-all-build-bison
35089 all-prebootstrap: maybe-all-build-bison
35090 all-gcc: maybe-all-build-byacc
35092 all-stage1-gcc: maybe-all-build-byacc
35093 all-stage2-gcc: maybe-all-build-byacc
35094 all-stage3-gcc: maybe-all-build-byacc
35095 all-stage4-gcc: maybe-all-build-byacc
35096 all-stageprofile-gcc: maybe-all-build-byacc
35097 all-stagefeedback-gcc: maybe-all-build-byacc
35098 all-prebootstrap: maybe-all-build-byacc
35099 all-gcc: maybe-all-build-flex
35101 all-stage1-gcc: maybe-all-build-flex
35102 all-stage2-gcc: maybe-all-build-flex
35103 all-stage3-gcc: maybe-all-build-flex
35104 all-stage4-gcc: maybe-all-build-flex
35105 all-stageprofile-gcc: maybe-all-build-flex
35106 all-stagefeedback-gcc: maybe-all-build-flex
35107 all-prebootstrap: maybe-all-build-flex
35108 all-gcc: maybe-all-build-libiberty
35110 all-stage1-gcc: maybe-all-build-libiberty
35111 all-stage2-gcc: maybe-all-build-libiberty
35112 all-stage3-gcc: maybe-all-build-libiberty
35113 all-stage4-gcc: maybe-all-build-libiberty
35114 all-stageprofile-gcc: maybe-all-build-libiberty
35115 all-stagefeedback-gcc: maybe-all-build-libiberty
35116 all-prebootstrap: maybe-all-build-libiberty
35117 all-gcc: maybe-all-build-fixincludes
35119 all-stage1-gcc: maybe-all-build-fixincludes
35120 all-stage2-gcc: maybe-all-build-fixincludes
35121 all-stage3-gcc: maybe-all-build-fixincludes
35122 all-stage4-gcc: maybe-all-build-fixincludes
35123 all-stageprofile-gcc: maybe-all-build-fixincludes
35124 all-stagefeedback-gcc: maybe-all-build-fixincludes
35125 all-prebootstrap: maybe-all-build-fixincludes
35126 all-gcc: maybe-all-binutils
35128 all-stage1-gcc: maybe-all-stage1-binutils
35129 all-stage2-gcc: maybe-all-stage2-binutils
35130 all-stage3-gcc: maybe-all-stage3-binutils
35131 all-stage4-gcc: maybe-all-stage4-binutils
35132 all-stageprofile-gcc: maybe-all-stageprofile-binutils
35133 all-stagefeedback-gcc: maybe-all-stagefeedback-binutils
35134 all-gcc: maybe-all-gas
35136 all-stage1-gcc: maybe-all-stage1-gas
35137 all-stage2-gcc: maybe-all-stage2-gas
35138 all-stage3-gcc: maybe-all-stage3-gas
35139 all-stage4-gcc: maybe-all-stage4-gas
35140 all-stageprofile-gcc: maybe-all-stageprofile-gas
35141 all-stagefeedback-gcc: maybe-all-stagefeedback-gas
35142 all-gcc: maybe-all-ld
35144 all-stage1-gcc: maybe-all-stage1-ld
35145 all-stage2-gcc: maybe-all-stage2-ld
35146 all-stage3-gcc: maybe-all-stage3-ld
35147 all-stage4-gcc: maybe-all-stage4-ld
35148 all-stageprofile-gcc: maybe-all-stageprofile-ld
35149 all-stagefeedback-gcc: maybe-all-stagefeedback-ld
35150 all-gcc: maybe-all-zlib
35152 all-stage1-gcc: maybe-all-stage1-zlib
35153 all-stage2-gcc: maybe-all-stage2-zlib
35154 all-stage3-gcc: maybe-all-stage3-zlib
35155 all-stage4-gcc: maybe-all-stage4-zlib
35156 all-stageprofile-gcc: maybe-all-stageprofile-zlib
35157 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
35158 all-gcc: all-libcpp
35160 all-stage1-gcc: all-stage1-libcpp
35161 all-stage2-gcc: all-stage2-libcpp
35162 all-stage3-gcc: all-stage3-libcpp
35163 all-stage4-gcc: all-stage4-libcpp
35164 all-stageprofile-gcc: all-stageprofile-libcpp
35165 all-stagefeedback-gcc: all-stagefeedback-libcpp
35166 all-gcc: maybe-all-libiberty
35168 all-stage1-gcc: maybe-all-stage1-libiberty
35169 all-stage2-gcc: maybe-all-stage2-libiberty
35170 all-stage3-gcc: maybe-all-stage3-libiberty
35171 all-stage4-gcc: maybe-all-stage4-libiberty
35172 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
35173 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
35174 all-gcc: maybe-all-fixincludes
35175 install-gcc: maybe-install-fixincludes
35176 configure-libcpp: configure-libiberty
35178 configure-stage1-libcpp: configure-stage1-libiberty
35179 configure-stage2-libcpp: configure-stage2-libiberty
35180 configure-stage3-libcpp: configure-stage3-libiberty
35181 configure-stage4-libcpp: configure-stage4-libiberty
35182 configure-stageprofile-libcpp: configure-stageprofile-libiberty
35183 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
35184 configure-libcpp: maybe-configure-intl
35186 configure-stage1-libcpp: maybe-configure-stage1-intl
35187 configure-stage2-libcpp: maybe-configure-stage2-intl
35188 configure-stage3-libcpp: maybe-configure-stage3-intl
35189 configure-stage4-libcpp: maybe-configure-stage4-intl
35190 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
35191 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
35192 all-libcpp: all-libiberty
35194 all-stage1-libcpp: all-stage1-libiberty
35195 all-stage2-libcpp: all-stage2-libiberty
35196 all-stage3-libcpp: all-stage3-libiberty
35197 all-stage4-libcpp: all-stage4-libiberty
35198 all-stageprofile-libcpp: all-stageprofile-libiberty
35199 all-stagefeedback-libcpp: all-stagefeedback-libiberty
35200 all-libcpp: maybe-all-intl
35202 all-stage1-libcpp: maybe-all-stage1-intl
35203 all-stage2-libcpp: maybe-all-stage2-intl
35204 all-stage3-libcpp: maybe-all-stage3-intl
35205 all-stage4-libcpp: maybe-all-stage4-intl
35206 all-stageprofile-libcpp: maybe-all-stageprofile-intl
35207 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
35208 all-fixincludes: maybe-all-libiberty
35209 configure-gdb: maybe-configure-itcl
35210 configure-gdb: maybe-configure-tcl
35211 configure-gdb: maybe-configure-tk
35212 configure-gdb: maybe-configure-sim
35213 all-gdb: maybe-all-libiberty
35214 all-gdb: maybe-all-opcodes
35215 all-gdb: maybe-all-bfd
35216 all-gdb: maybe-all-readline
35217 all-gdb: maybe-all-build-bison
35218 all-gdb: maybe-all-build-byacc
35219 all-gdb: maybe-all-sim
35220 install-gdb: maybe-install-tcl
35221 install-gdb: maybe-install-tk
35222 install-gdb: maybe-install-itcl
35223 install-gdb: maybe-install-libgui
35224 configure-libgui: maybe-configure-tcl
35225 configure-libgui: maybe-configure-tk
35226 all-libgui: maybe-all-tcl
35227 all-libgui: maybe-all-tk
35228 all-libgui: maybe-all-itcl
35229 configure-bfd: configure-libiberty
35231 configure-stage1-bfd: configure-stage1-libiberty
35232 configure-stage2-bfd: configure-stage2-libiberty
35233 configure-stage3-bfd: configure-stage3-libiberty
35234 configure-stage4-bfd: configure-stage4-libiberty
35235 configure-stageprofile-bfd: configure-stageprofile-libiberty
35236 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
35237 all-bfd: maybe-all-libiberty
35239 all-stage1-bfd: maybe-all-stage1-libiberty
35240 all-stage2-bfd: maybe-all-stage2-libiberty
35241 all-stage3-bfd: maybe-all-stage3-libiberty
35242 all-stage4-bfd: maybe-all-stage4-libiberty
35243 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
35244 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
35245 all-bfd: maybe-all-intl
35247 all-stage1-bfd: maybe-all-stage1-intl
35248 all-stage2-bfd: maybe-all-stage2-intl
35249 all-stage3-bfd: maybe-all-stage3-intl
35250 all-stage4-bfd: maybe-all-stage4-intl
35251 all-stageprofile-bfd: maybe-all-stageprofile-intl
35252 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
35253 all-binutils: maybe-all-libiberty
35255 all-stage1-binutils: maybe-all-stage1-libiberty
35256 all-stage2-binutils: maybe-all-stage2-libiberty
35257 all-stage3-binutils: maybe-all-stage3-libiberty
35258 all-stage4-binutils: maybe-all-stage4-libiberty
35259 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
35260 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
35261 all-binutils: maybe-all-opcodes
35263 all-stage1-binutils: maybe-all-stage1-opcodes
35264 all-stage2-binutils: maybe-all-stage2-opcodes
35265 all-stage3-binutils: maybe-all-stage3-opcodes
35266 all-stage4-binutils: maybe-all-stage4-opcodes
35267 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
35268 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
35269 all-binutils: maybe-all-bfd
35271 all-stage1-binutils: maybe-all-stage1-bfd
35272 all-stage2-binutils: maybe-all-stage2-bfd
35273 all-stage3-binutils: maybe-all-stage3-bfd
35274 all-stage4-binutils: maybe-all-stage4-bfd
35275 all-stageprofile-binutils: maybe-all-stageprofile-bfd
35276 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
35277 all-binutils: maybe-all-build-flex
35279 all-stage1-binutils: maybe-all-build-flex
35280 all-stage2-binutils: maybe-all-build-flex
35281 all-stage3-binutils: maybe-all-build-flex
35282 all-stage4-binutils: maybe-all-build-flex
35283 all-stageprofile-binutils: maybe-all-build-flex
35284 all-stagefeedback-binutils: maybe-all-build-flex
35285 all-prebootstrap: maybe-all-build-flex
35286 all-binutils: maybe-all-build-bison
35288 all-stage1-binutils: maybe-all-build-bison
35289 all-stage2-binutils: maybe-all-build-bison
35290 all-stage3-binutils: maybe-all-build-bison
35291 all-stage4-binutils: maybe-all-build-bison
35292 all-stageprofile-binutils: maybe-all-build-bison
35293 all-stagefeedback-binutils: maybe-all-build-bison
35294 all-prebootstrap: maybe-all-build-bison
35295 all-binutils: maybe-all-build-byacc
35297 all-stage1-binutils: maybe-all-build-byacc
35298 all-stage2-binutils: maybe-all-build-byacc
35299 all-stage3-binutils: maybe-all-build-byacc
35300 all-stage4-binutils: maybe-all-build-byacc
35301 all-stageprofile-binutils: maybe-all-build-byacc
35302 all-stagefeedback-binutils: maybe-all-build-byacc
35303 all-prebootstrap: maybe-all-build-byacc
35304 all-binutils: maybe-all-intl
35306 all-stage1-binutils: maybe-all-stage1-intl
35307 all-stage2-binutils: maybe-all-stage2-intl
35308 all-stage3-binutils: maybe-all-stage3-intl
35309 all-stage4-binutils: maybe-all-stage4-intl
35310 all-stageprofile-binutils: maybe-all-stageprofile-intl
35311 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
35312 install-binutils: maybe-install-opcodes
35313 install-opcodes: maybe-install-bfd
35314 all-gas: maybe-all-libiberty
35316 all-stage1-gas: maybe-all-stage1-libiberty
35317 all-stage2-gas: maybe-all-stage2-libiberty
35318 all-stage3-gas: maybe-all-stage3-libiberty
35319 all-stage4-gas: maybe-all-stage4-libiberty
35320 all-stageprofile-gas: maybe-all-stageprofile-libiberty
35321 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
35322 all-gas: maybe-all-opcodes
35324 all-stage1-gas: maybe-all-stage1-opcodes
35325 all-stage2-gas: maybe-all-stage2-opcodes
35326 all-stage3-gas: maybe-all-stage3-opcodes
35327 all-stage4-gas: maybe-all-stage4-opcodes
35328 all-stageprofile-gas: maybe-all-stageprofile-opcodes
35329 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
35330 all-gas: maybe-all-bfd
35332 all-stage1-gas: maybe-all-stage1-bfd
35333 all-stage2-gas: maybe-all-stage2-bfd
35334 all-stage3-gas: maybe-all-stage3-bfd
35335 all-stage4-gas: maybe-all-stage4-bfd
35336 all-stageprofile-gas: maybe-all-stageprofile-bfd
35337 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
35338 all-gas: maybe-all-intl
35340 all-stage1-gas: maybe-all-stage1-intl
35341 all-stage2-gas: maybe-all-stage2-intl
35342 all-stage3-gas: maybe-all-stage3-intl
35343 all-stage4-gas: maybe-all-stage4-intl
35344 all-stageprofile-gas: maybe-all-stageprofile-intl
35345 all-stagefeedback-gas: maybe-all-stagefeedback-intl
35346 all-gprof: maybe-all-libiberty
35347 all-gprof: maybe-all-bfd
35348 all-gprof: maybe-all-opcodes
35349 all-gprof: maybe-all-intl
35350 all-ld: maybe-all-libiberty
35352 all-stage1-ld: maybe-all-stage1-libiberty
35353 all-stage2-ld: maybe-all-stage2-libiberty
35354 all-stage3-ld: maybe-all-stage3-libiberty
35355 all-stage4-ld: maybe-all-stage4-libiberty
35356 all-stageprofile-ld: maybe-all-stageprofile-libiberty
35357 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
35358 all-ld: maybe-all-bfd
35360 all-stage1-ld: maybe-all-stage1-bfd
35361 all-stage2-ld: maybe-all-stage2-bfd
35362 all-stage3-ld: maybe-all-stage3-bfd
35363 all-stage4-ld: maybe-all-stage4-bfd
35364 all-stageprofile-ld: maybe-all-stageprofile-bfd
35365 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
35366 all-ld: maybe-all-opcodes
35368 all-stage1-ld: maybe-all-stage1-opcodes
35369 all-stage2-ld: maybe-all-stage2-opcodes
35370 all-stage3-ld: maybe-all-stage3-opcodes
35371 all-stage4-ld: maybe-all-stage4-opcodes
35372 all-stageprofile-ld: maybe-all-stageprofile-opcodes
35373 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
35374 all-ld: maybe-all-build-bison
35376 all-stage1-ld: maybe-all-build-bison
35377 all-stage2-ld: maybe-all-build-bison
35378 all-stage3-ld: maybe-all-build-bison
35379 all-stage4-ld: maybe-all-build-bison
35380 all-stageprofile-ld: maybe-all-build-bison
35381 all-stagefeedback-ld: maybe-all-build-bison
35382 all-prebootstrap: maybe-all-build-bison
35383 all-ld: maybe-all-build-byacc
35385 all-stage1-ld: maybe-all-build-byacc
35386 all-stage2-ld: maybe-all-build-byacc
35387 all-stage3-ld: maybe-all-build-byacc
35388 all-stage4-ld: maybe-all-build-byacc
35389 all-stageprofile-ld: maybe-all-build-byacc
35390 all-stagefeedback-ld: maybe-all-build-byacc
35391 all-prebootstrap: maybe-all-build-byacc
35392 all-ld: maybe-all-build-flex
35394 all-stage1-ld: maybe-all-build-flex
35395 all-stage2-ld: maybe-all-build-flex
35396 all-stage3-ld: maybe-all-build-flex
35397 all-stage4-ld: maybe-all-build-flex
35398 all-stageprofile-ld: maybe-all-build-flex
35399 all-stagefeedback-ld: maybe-all-build-flex
35400 all-prebootstrap: maybe-all-build-flex
35401 all-ld: maybe-all-intl
35403 all-stage1-ld: maybe-all-stage1-intl
35404 all-stage2-ld: maybe-all-stage2-intl
35405 all-stage3-ld: maybe-all-stage3-intl
35406 all-stage4-ld: maybe-all-stage4-intl
35407 all-stageprofile-ld: maybe-all-stageprofile-intl
35408 all-stagefeedback-ld: maybe-all-stagefeedback-intl
35409 all-opcodes: maybe-all-bfd
35411 all-stage1-opcodes: maybe-all-stage1-bfd
35412 all-stage2-opcodes: maybe-all-stage2-bfd
35413 all-stage3-opcodes: maybe-all-stage3-bfd
35414 all-stage4-opcodes: maybe-all-stage4-bfd
35415 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
35416 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
35417 all-opcodes: maybe-all-libiberty
35419 all-stage1-opcodes: maybe-all-stage1-libiberty
35420 all-stage2-opcodes: maybe-all-stage2-libiberty
35421 all-stage3-opcodes: maybe-all-stage3-libiberty
35422 all-stage4-opcodes: maybe-all-stage4-libiberty
35423 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
35424 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
35425 all-dejagnu: maybe-all-tcl
35426 all-dejagnu: maybe-all-expect
35427 all-dejagnu: maybe-all-tk
35428 configure-expect: maybe-configure-tcl
35429 configure-expect: maybe-configure-tk
35430 all-expect: maybe-all-tcl
35431 all-expect: maybe-all-tk
35432 configure-itcl: maybe-configure-tcl
35433 configure-itcl: maybe-configure-tk
35434 all-itcl: maybe-all-tcl
35435 all-itcl: maybe-all-tk
35436 install-itcl: maybe-install-tcl
35437 configure-tk: maybe-configure-tcl
35438 all-tk: maybe-all-tcl
35439 all-sid: maybe-all-libiberty
35440 all-sid: maybe-all-bfd
35441 all-sid: maybe-all-opcodes
35442 all-sid: maybe-all-tcl
35443 all-sid: maybe-all-tk
35444 install-sid: maybe-install-tcl
35445 install-sid: maybe-install-tk
35446 all-sim: maybe-all-libiberty
35447 all-sim: maybe-all-bfd
35448 all-sim: maybe-all-opcodes
35449 all-sim: maybe-all-readline
35450 all-sim: maybe-configure-gdb
35451 all-fastjar: maybe-all-zlib
35452 all-fastjar: maybe-all-build-texinfo
35453 all-fastjar: maybe-all-libiberty
35454 all-autoconf: maybe-all-m4
35455 all-autoconf: maybe-all-build-texinfo
35456 all-automake: maybe-all-m4
35457 all-automake: maybe-all-build-texinfo
35458 all-automake: maybe-all-autoconf
35459 all-bison: maybe-all-intl
35460 all-bison: maybe-all-build-texinfo
35461 all-diff: maybe-all-intl
35462 all-diff: maybe-all-build-texinfo
35463 all-fileutils: maybe-all-intl
35464 all-fileutils: maybe-all-build-texinfo
35465 all-flex: maybe-all-build-bison
35466 all-flex: maybe-all-build-byacc
35467 all-flex: maybe-all-intl
35468 all-flex: maybe-all-m4
35469 all-flex: maybe-all-build-texinfo
35470 all-gzip: maybe-all-intl
35471 all-gzip: maybe-all-zlib
35472 all-gzip: maybe-all-build-texinfo
35473 all-hello: maybe-all-intl
35474 all-hello: maybe-all-build-texinfo
35475 all-m4: maybe-all-intl
35476 all-m4: maybe-all-build-texinfo
35477 all-make: maybe-all-intl
35478 all-make: maybe-all-build-texinfo
35479 all-patch: maybe-all-build-texinfo
35480 all-make: maybe-all-build-texinfo
35481 all-prms: maybe-all-libiberty
35482 all-recode: maybe-all-build-texinfo
35483 all-sed: maybe-all-build-texinfo
35484 all-send-pr: maybe-all-prms
35485 all-tar: maybe-all-build-texinfo
35486 all-uudecode: maybe-all-build-texinfo
35487 configure-target-boehm-gc: maybe-configure-target-qthreads
35488 configure-target-fastjar: maybe-configure-target-zlib
35489 all-target-fastjar: maybe-all-target-zlib
35490 all-target-fastjar: maybe-all-target-libiberty
35491 configure-target-libjava: maybe-configure-target-zlib
35492 configure-target-libjava: maybe-configure-target-boehm-gc
35493 configure-target-libjava: maybe-configure-target-qthreads
35494 configure-target-libjava: maybe-configure-target-libffi
35495 all-target-libjava: maybe-all-fastjar
35496 all-target-libjava: maybe-all-target-zlib
35497 all-target-libjava: maybe-all-target-boehm-gc
35498 all-target-libjava: maybe-all-target-qthreads
35499 all-target-libjava: maybe-all-target-libffi
35500 all-target-libobjc: maybe-all-target-libiberty
35501 all-target-libstdc++-v3: maybe-all-target-libiberty
35502 all-target-libgloss: maybe-configure-target-newlib
35503 all-target-winsup: maybe-all-target-libiberty
35504 all-target-winsup: maybe-all-target-libtermcap
35507 # Non-toplevel bootstrap rules must depend on several packages, to be built
35508 # before gcc. Another wart that will go away, hopefully soon.
35509 @if gcc-no-bootstrap
35511 all-prebootstrap: maybe-all-bfd
35512 all-prebootstrap: maybe-all-opcodes
35513 all-prebootstrap: maybe-all-binutils
35514 all-prebootstrap: maybe-all-gas
35515 all-prebootstrap: maybe-all-intl
35516 all-prebootstrap: maybe-all-ld
35517 all-prebootstrap: maybe-all-libcpp
35518 all-prebootstrap: maybe-all-libiberty
35519 all-prebootstrap: maybe-all-zlib
35520 @endif gcc-no-bootstrap
35523 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
35525 # Serialization dependencies. Host configures don't work well in parallel to
35526 # each other, due to contention over config.cache. Target configures and
35527 # build configures are similar.
35528 @serialization_dependencies@
35530 # --------------------------------
35531 # Regenerating top level configury
35532 # --------------------------------
35534 # Multilib.out tells target dirs what multilibs they should build.
35535 # There is really only one copy. We use the 'timestamp' method to
35536 # work around various timestamp bugs on some systems.
35537 # We use move-if-change so that it's only considered updated when it
35538 # actually changes, because it has to depend on a phony target.
35539 multilib.out: maybe-all-gcc
35540 @r=`${PWD_COMMAND}`; export r; \
35541 echo "Checking multilib configuration..."; \
35542 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
35543 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
35545 # Rebuilding Makefile.in, using autogen.
35547 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
35548 cd $(srcdir) && $(AUTOGEN) Makefile.def
35550 # Rebuilding Makefile.
35551 Makefile: $(srcdir)/Makefile.in config.status
35552 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
35554 config.status: configure $(gcc_version_trigger)
35555 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
35557 # Rebuilding configure.
35558 AUTOCONF = autoconf
35559 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
35560 cd $(srcdir) && $(AUTOCONF)
35562 # ------------------------------
35563 # Special directives to GNU Make
35564 # ------------------------------
35566 # Don't pass command-line variables to submakes.
35570 # end of Makefile.in