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="$(CPPFLAGS_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 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
556 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
557 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
558 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
559 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
560 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
561 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
562 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
563 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
564 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
565 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
566 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
567 "CONFIG_SHELL=$(SHELL)" \
568 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
570 # For any flags above that may contain shell code that varies from one
571 # target library to another. When doing recursive invocations of the
572 # top-level Makefile, we don't want the outer make to evaluate them,
573 # so we pass these variables down unchanged. They must not contain
574 # single nor double quotes.
576 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
577 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
579 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS)
581 # Flags to pass down to most sub-makes, in which we're building with
582 # the host environment.
588 'DLLTOOL=$(DLLTOOL)' \
594 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
596 # Flags that are concerned with the location of the X11 include files
599 # NOTE: until the top-level is getting the values via autoconf, it only
600 # causes problems to have this top-level Makefile overriding the autoconf-set
601 # values in child directories. Only variables that don't conflict with
602 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
604 X11_FLAGS_TO_PASS = \
605 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
606 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
608 # Flags to pass down to makes which are built with the target environment.
609 # The double $ decreases the length of the command line; the variables
610 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
611 EXTRA_TARGET_FLAGS = \
612 'AR=$$(AR_FOR_TARGET)' \
613 'AS=$$(AS_FOR_TARGET)' \
614 'CC=$$(CC_FOR_TARGET)' \
615 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
616 'CXX=$$(CXX_FOR_TARGET)' \
617 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
618 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
619 'LD=$$(LD_FOR_TARGET)' \
620 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
621 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
622 'NM=$$(NM_FOR_TARGET)' \
623 'RANLIB=$$(RANLIB_FOR_TARGET)' \
624 'WINDRES=$$(WINDRES_FOR_TARGET)'
626 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
628 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
629 # unfortunately needs the native compiler and the target ar and
631 # If any variables are added here, they must be added to do-*, below.
632 # The BUILD_* variables are a special case, which are used for the gcc
633 # cross-building scheme.
635 'BUILD_PREFIX=$(BUILD_PREFIX)' \
636 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
637 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
638 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
639 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
640 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
641 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
642 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
643 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
644 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
645 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
646 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
647 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
649 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
651 .PHONY: configure-host
653 maybe-configure-ash \
654 maybe-configure-autoconf \
655 maybe-configure-automake \
656 maybe-configure-bash \
657 maybe-configure-bfd \
658 maybe-configure-opcodes \
659 maybe-configure-binutils \
660 maybe-configure-bison \
661 maybe-configure-byacc \
662 maybe-configure-bzip2 \
663 maybe-configure-dejagnu \
664 maybe-configure-diff \
665 maybe-configure-dosutils \
666 maybe-configure-etc \
667 maybe-configure-fastjar \
668 maybe-configure-fileutils \
669 maybe-configure-findutils \
670 maybe-configure-find \
671 maybe-configure-fixincludes \
672 maybe-configure-flex \
673 maybe-configure-gas \
674 maybe-configure-gcc \
675 maybe-configure-gawk \
676 maybe-configure-gettext \
677 maybe-configure-gnuserv \
678 maybe-configure-gprof \
679 maybe-configure-gzip \
680 maybe-configure-hello \
681 maybe-configure-indent \
682 maybe-configure-intl \
683 maybe-configure-tcl \
684 maybe-configure-itcl \
686 maybe-configure-libcpp \
687 maybe-configure-libgui \
688 maybe-configure-libiberty \
689 maybe-configure-libtool \
691 maybe-configure-make \
692 maybe-configure-mmalloc \
693 maybe-configure-patch \
694 maybe-configure-perl \
695 maybe-configure-prms \
696 maybe-configure-rcs \
697 maybe-configure-readline \
698 maybe-configure-release \
699 maybe-configure-recode \
700 maybe-configure-sed \
701 maybe-configure-send-pr \
702 maybe-configure-shellutils \
703 maybe-configure-sid \
704 maybe-configure-sim \
705 maybe-configure-tar \
706 maybe-configure-texinfo \
707 maybe-configure-textutils \
708 maybe-configure-time \
709 maybe-configure-uudecode \
710 maybe-configure-wdiff \
711 maybe-configure-zip \
712 maybe-configure-zlib \
713 maybe-configure-gdb \
714 maybe-configure-expect \
715 maybe-configure-guile \
717 maybe-configure-libtermcap \
718 maybe-configure-utils
719 .PHONY: configure-target
721 maybe-configure-target-libstdc++-v3 \
722 maybe-configure-target-libmudflap \
723 maybe-configure-target-newlib \
724 maybe-configure-target-libgfortran \
725 maybe-configure-target-libobjc \
726 maybe-configure-target-libtermcap \
727 maybe-configure-target-winsup \
728 maybe-configure-target-libgloss \
729 maybe-configure-target-libiberty \
730 maybe-configure-target-gperf \
731 maybe-configure-target-examples \
732 maybe-configure-target-libffi \
733 maybe-configure-target-libjava \
734 maybe-configure-target-zlib \
735 maybe-configure-target-boehm-gc \
736 maybe-configure-target-qthreads \
737 maybe-configure-target-rda \
738 maybe-configure-target-libada
740 # The target built for a native non-bootstrap build.
742 all: unstage all-host all-target stage
746 maybe-all-build-libiberty \
747 maybe-all-build-bison \
748 maybe-all-build-byacc \
749 maybe-all-build-flex \
751 maybe-all-build-texinfo \
752 maybe-all-build-fixincludes
770 maybe-all-fileutils \
771 maybe-all-findutils \
773 maybe-all-fixincludes \
790 maybe-all-libiberty \
804 maybe-all-shellutils \
809 maybe-all-textutils \
819 maybe-all-libtermcap \
823 maybe-all-target-libstdc++-v3 \
824 maybe-all-target-libmudflap \
825 maybe-all-target-newlib \
826 maybe-all-target-libgfortran \
827 maybe-all-target-libobjc \
828 maybe-all-target-libtermcap \
829 maybe-all-target-winsup \
830 maybe-all-target-libgloss \
831 maybe-all-target-libiberty \
832 maybe-all-target-gperf \
833 maybe-all-target-examples \
834 maybe-all-target-libffi \
835 maybe-all-target-libjava \
836 maybe-all-target-zlib \
837 maybe-all-target-boehm-gc \
838 maybe-all-target-qthreads \
839 maybe-all-target-rda \
840 maybe-all-target-libada
842 # Do a target for all the subdirectories. A ``make do-X'' will do a
843 # ``make X'' in all subdirectories (because, in general, there is a
844 # dependency (below) of X upon do-X, a ``make X'' will also do this,
845 # but it may do additional work as well).
848 do-info: unstage info-host info-target stage
853 maybe-info-autoconf \
854 maybe-info-automake \
858 maybe-info-binutils \
864 maybe-info-dosutils \
867 maybe-info-fileutils \
868 maybe-info-findutils \
870 maybe-info-fixincludes \
887 maybe-info-libiberty \
896 maybe-info-readline \
901 maybe-info-shellutils \
906 maybe-info-textutils \
908 maybe-info-uudecode \
916 maybe-info-libtermcap \
921 maybe-info-target-libstdc++-v3 \
922 maybe-info-target-libmudflap \
923 maybe-info-target-newlib \
924 maybe-info-target-libgfortran \
925 maybe-info-target-libobjc \
926 maybe-info-target-libtermcap \
927 maybe-info-target-winsup \
928 maybe-info-target-libgloss \
929 maybe-info-target-libiberty \
930 maybe-info-target-gperf \
931 maybe-info-target-examples \
932 maybe-info-target-libffi \
933 maybe-info-target-libjava \
934 maybe-info-target-zlib \
935 maybe-info-target-boehm-gc \
936 maybe-info-target-qthreads \
937 maybe-info-target-rda \
938 maybe-info-target-libada
941 do-dvi: unstage dvi-host dvi-target stage
960 maybe-dvi-fileutils \
961 maybe-dvi-findutils \
963 maybe-dvi-fixincludes \
980 maybe-dvi-libiberty \
994 maybe-dvi-shellutils \
999 maybe-dvi-textutils \
1001 maybe-dvi-uudecode \
1009 maybe-dvi-libtermcap \
1014 maybe-dvi-target-libstdc++-v3 \
1015 maybe-dvi-target-libmudflap \
1016 maybe-dvi-target-newlib \
1017 maybe-dvi-target-libgfortran \
1018 maybe-dvi-target-libobjc \
1019 maybe-dvi-target-libtermcap \
1020 maybe-dvi-target-winsup \
1021 maybe-dvi-target-libgloss \
1022 maybe-dvi-target-libiberty \
1023 maybe-dvi-target-gperf \
1024 maybe-dvi-target-examples \
1025 maybe-dvi-target-libffi \
1026 maybe-dvi-target-libjava \
1027 maybe-dvi-target-zlib \
1028 maybe-dvi-target-boehm-gc \
1029 maybe-dvi-target-qthreads \
1030 maybe-dvi-target-rda \
1031 maybe-dvi-target-libada
1034 do-html: unstage html-host html-target stage
1039 maybe-html-autoconf \
1040 maybe-html-automake \
1043 maybe-html-opcodes \
1044 maybe-html-binutils \
1048 maybe-html-dejagnu \
1050 maybe-html-dosutils \
1052 maybe-html-fastjar \
1053 maybe-html-fileutils \
1054 maybe-html-findutils \
1056 maybe-html-fixincludes \
1061 maybe-html-gettext \
1062 maybe-html-gnuserv \
1073 maybe-html-libiberty \
1074 maybe-html-libtool \
1077 maybe-html-mmalloc \
1082 maybe-html-readline \
1083 maybe-html-release \
1086 maybe-html-send-pr \
1087 maybe-html-shellutils \
1091 maybe-html-texinfo \
1092 maybe-html-textutils \
1094 maybe-html-uudecode \
1102 maybe-html-libtermcap \
1107 maybe-html-target-libstdc++-v3 \
1108 maybe-html-target-libmudflap \
1109 maybe-html-target-newlib \
1110 maybe-html-target-libgfortran \
1111 maybe-html-target-libobjc \
1112 maybe-html-target-libtermcap \
1113 maybe-html-target-winsup \
1114 maybe-html-target-libgloss \
1115 maybe-html-target-libiberty \
1116 maybe-html-target-gperf \
1117 maybe-html-target-examples \
1118 maybe-html-target-libffi \
1119 maybe-html-target-libjava \
1120 maybe-html-target-zlib \
1121 maybe-html-target-boehm-gc \
1122 maybe-html-target-qthreads \
1123 maybe-html-target-rda \
1124 maybe-html-target-libada
1127 do-TAGS: unstage TAGS-host TAGS-target stage
1132 maybe-TAGS-autoconf \
1133 maybe-TAGS-automake \
1136 maybe-TAGS-opcodes \
1137 maybe-TAGS-binutils \
1141 maybe-TAGS-dejagnu \
1143 maybe-TAGS-dosutils \
1145 maybe-TAGS-fastjar \
1146 maybe-TAGS-fileutils \
1147 maybe-TAGS-findutils \
1149 maybe-TAGS-fixincludes \
1154 maybe-TAGS-gettext \
1155 maybe-TAGS-gnuserv \
1166 maybe-TAGS-libiberty \
1167 maybe-TAGS-libtool \
1170 maybe-TAGS-mmalloc \
1175 maybe-TAGS-readline \
1176 maybe-TAGS-release \
1179 maybe-TAGS-send-pr \
1180 maybe-TAGS-shellutils \
1184 maybe-TAGS-texinfo \
1185 maybe-TAGS-textutils \
1187 maybe-TAGS-uudecode \
1195 maybe-TAGS-libtermcap \
1200 maybe-TAGS-target-libstdc++-v3 \
1201 maybe-TAGS-target-libmudflap \
1202 maybe-TAGS-target-newlib \
1203 maybe-TAGS-target-libgfortran \
1204 maybe-TAGS-target-libobjc \
1205 maybe-TAGS-target-libtermcap \
1206 maybe-TAGS-target-winsup \
1207 maybe-TAGS-target-libgloss \
1208 maybe-TAGS-target-libiberty \
1209 maybe-TAGS-target-gperf \
1210 maybe-TAGS-target-examples \
1211 maybe-TAGS-target-libffi \
1212 maybe-TAGS-target-libjava \
1213 maybe-TAGS-target-zlib \
1214 maybe-TAGS-target-boehm-gc \
1215 maybe-TAGS-target-qthreads \
1216 maybe-TAGS-target-rda \
1217 maybe-TAGS-target-libada
1219 .PHONY: do-install-info
1220 do-install-info: unstage install-info-host install-info-target stage
1222 .PHONY: install-info-host
1223 install-info-host: \
1224 maybe-install-info-ash \
1225 maybe-install-info-autoconf \
1226 maybe-install-info-automake \
1227 maybe-install-info-bash \
1228 maybe-install-info-bfd \
1229 maybe-install-info-opcodes \
1230 maybe-install-info-binutils \
1231 maybe-install-info-bison \
1232 maybe-install-info-byacc \
1233 maybe-install-info-bzip2 \
1234 maybe-install-info-dejagnu \
1235 maybe-install-info-diff \
1236 maybe-install-info-dosutils \
1237 maybe-install-info-etc \
1238 maybe-install-info-fastjar \
1239 maybe-install-info-fileutils \
1240 maybe-install-info-findutils \
1241 maybe-install-info-find \
1242 maybe-install-info-fixincludes \
1243 maybe-install-info-flex \
1244 maybe-install-info-gas \
1245 maybe-install-info-gcc \
1246 maybe-install-info-gawk \
1247 maybe-install-info-gettext \
1248 maybe-install-info-gnuserv \
1249 maybe-install-info-gprof \
1250 maybe-install-info-gzip \
1251 maybe-install-info-hello \
1252 maybe-install-info-indent \
1253 maybe-install-info-intl \
1254 maybe-install-info-tcl \
1255 maybe-install-info-itcl \
1256 maybe-install-info-ld \
1257 maybe-install-info-libcpp \
1258 maybe-install-info-libgui \
1259 maybe-install-info-libiberty \
1260 maybe-install-info-libtool \
1261 maybe-install-info-m4 \
1262 maybe-install-info-make \
1263 maybe-install-info-mmalloc \
1264 maybe-install-info-patch \
1265 maybe-install-info-perl \
1266 maybe-install-info-prms \
1267 maybe-install-info-rcs \
1268 maybe-install-info-readline \
1269 maybe-install-info-release \
1270 maybe-install-info-recode \
1271 maybe-install-info-sed \
1272 maybe-install-info-send-pr \
1273 maybe-install-info-shellutils \
1274 maybe-install-info-sid \
1275 maybe-install-info-sim \
1276 maybe-install-info-tar \
1277 maybe-install-info-texinfo \
1278 maybe-install-info-textutils \
1279 maybe-install-info-time \
1280 maybe-install-info-uudecode \
1281 maybe-install-info-wdiff \
1282 maybe-install-info-zip \
1283 maybe-install-info-zlib \
1284 maybe-install-info-gdb \
1285 maybe-install-info-expect \
1286 maybe-install-info-guile \
1287 maybe-install-info-tk \
1288 maybe-install-info-libtermcap \
1289 maybe-install-info-utils
1291 .PHONY: install-info-target
1292 install-info-target: \
1293 maybe-install-info-target-libstdc++-v3 \
1294 maybe-install-info-target-libmudflap \
1295 maybe-install-info-target-newlib \
1296 maybe-install-info-target-libgfortran \
1297 maybe-install-info-target-libobjc \
1298 maybe-install-info-target-libtermcap \
1299 maybe-install-info-target-winsup \
1300 maybe-install-info-target-libgloss \
1301 maybe-install-info-target-libiberty \
1302 maybe-install-info-target-gperf \
1303 maybe-install-info-target-examples \
1304 maybe-install-info-target-libffi \
1305 maybe-install-info-target-libjava \
1306 maybe-install-info-target-zlib \
1307 maybe-install-info-target-boehm-gc \
1308 maybe-install-info-target-qthreads \
1309 maybe-install-info-target-rda \
1310 maybe-install-info-target-libada
1312 .PHONY: do-installcheck
1313 do-installcheck: unstage installcheck-host installcheck-target stage
1315 .PHONY: installcheck-host
1316 installcheck-host: \
1317 maybe-installcheck-ash \
1318 maybe-installcheck-autoconf \
1319 maybe-installcheck-automake \
1320 maybe-installcheck-bash \
1321 maybe-installcheck-bfd \
1322 maybe-installcheck-opcodes \
1323 maybe-installcheck-binutils \
1324 maybe-installcheck-bison \
1325 maybe-installcheck-byacc \
1326 maybe-installcheck-bzip2 \
1327 maybe-installcheck-dejagnu \
1328 maybe-installcheck-diff \
1329 maybe-installcheck-dosutils \
1330 maybe-installcheck-etc \
1331 maybe-installcheck-fastjar \
1332 maybe-installcheck-fileutils \
1333 maybe-installcheck-findutils \
1334 maybe-installcheck-find \
1335 maybe-installcheck-fixincludes \
1336 maybe-installcheck-flex \
1337 maybe-installcheck-gas \
1338 maybe-installcheck-gcc \
1339 maybe-installcheck-gawk \
1340 maybe-installcheck-gettext \
1341 maybe-installcheck-gnuserv \
1342 maybe-installcheck-gprof \
1343 maybe-installcheck-gzip \
1344 maybe-installcheck-hello \
1345 maybe-installcheck-indent \
1346 maybe-installcheck-intl \
1347 maybe-installcheck-tcl \
1348 maybe-installcheck-itcl \
1349 maybe-installcheck-ld \
1350 maybe-installcheck-libcpp \
1351 maybe-installcheck-libgui \
1352 maybe-installcheck-libiberty \
1353 maybe-installcheck-libtool \
1354 maybe-installcheck-m4 \
1355 maybe-installcheck-make \
1356 maybe-installcheck-mmalloc \
1357 maybe-installcheck-patch \
1358 maybe-installcheck-perl \
1359 maybe-installcheck-prms \
1360 maybe-installcheck-rcs \
1361 maybe-installcheck-readline \
1362 maybe-installcheck-release \
1363 maybe-installcheck-recode \
1364 maybe-installcheck-sed \
1365 maybe-installcheck-send-pr \
1366 maybe-installcheck-shellutils \
1367 maybe-installcheck-sid \
1368 maybe-installcheck-sim \
1369 maybe-installcheck-tar \
1370 maybe-installcheck-texinfo \
1371 maybe-installcheck-textutils \
1372 maybe-installcheck-time \
1373 maybe-installcheck-uudecode \
1374 maybe-installcheck-wdiff \
1375 maybe-installcheck-zip \
1376 maybe-installcheck-zlib \
1377 maybe-installcheck-gdb \
1378 maybe-installcheck-expect \
1379 maybe-installcheck-guile \
1380 maybe-installcheck-tk \
1381 maybe-installcheck-libtermcap \
1382 maybe-installcheck-utils
1384 .PHONY: installcheck-target
1385 installcheck-target: \
1386 maybe-installcheck-target-libstdc++-v3 \
1387 maybe-installcheck-target-libmudflap \
1388 maybe-installcheck-target-newlib \
1389 maybe-installcheck-target-libgfortran \
1390 maybe-installcheck-target-libobjc \
1391 maybe-installcheck-target-libtermcap \
1392 maybe-installcheck-target-winsup \
1393 maybe-installcheck-target-libgloss \
1394 maybe-installcheck-target-libiberty \
1395 maybe-installcheck-target-gperf \
1396 maybe-installcheck-target-examples \
1397 maybe-installcheck-target-libffi \
1398 maybe-installcheck-target-libjava \
1399 maybe-installcheck-target-zlib \
1400 maybe-installcheck-target-boehm-gc \
1401 maybe-installcheck-target-qthreads \
1402 maybe-installcheck-target-rda \
1403 maybe-installcheck-target-libada
1405 .PHONY: do-mostlyclean
1406 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1408 .PHONY: mostlyclean-host
1410 maybe-mostlyclean-ash \
1411 maybe-mostlyclean-autoconf \
1412 maybe-mostlyclean-automake \
1413 maybe-mostlyclean-bash \
1414 maybe-mostlyclean-bfd \
1415 maybe-mostlyclean-opcodes \
1416 maybe-mostlyclean-binutils \
1417 maybe-mostlyclean-bison \
1418 maybe-mostlyclean-byacc \
1419 maybe-mostlyclean-bzip2 \
1420 maybe-mostlyclean-dejagnu \
1421 maybe-mostlyclean-diff \
1422 maybe-mostlyclean-dosutils \
1423 maybe-mostlyclean-etc \
1424 maybe-mostlyclean-fastjar \
1425 maybe-mostlyclean-fileutils \
1426 maybe-mostlyclean-findutils \
1427 maybe-mostlyclean-find \
1428 maybe-mostlyclean-fixincludes \
1429 maybe-mostlyclean-flex \
1430 maybe-mostlyclean-gas \
1431 maybe-mostlyclean-gcc \
1432 maybe-mostlyclean-gawk \
1433 maybe-mostlyclean-gettext \
1434 maybe-mostlyclean-gnuserv \
1435 maybe-mostlyclean-gprof \
1436 maybe-mostlyclean-gzip \
1437 maybe-mostlyclean-hello \
1438 maybe-mostlyclean-indent \
1439 maybe-mostlyclean-intl \
1440 maybe-mostlyclean-tcl \
1441 maybe-mostlyclean-itcl \
1442 maybe-mostlyclean-ld \
1443 maybe-mostlyclean-libcpp \
1444 maybe-mostlyclean-libgui \
1445 maybe-mostlyclean-libiberty \
1446 maybe-mostlyclean-libtool \
1447 maybe-mostlyclean-m4 \
1448 maybe-mostlyclean-make \
1449 maybe-mostlyclean-mmalloc \
1450 maybe-mostlyclean-patch \
1451 maybe-mostlyclean-perl \
1452 maybe-mostlyclean-prms \
1453 maybe-mostlyclean-rcs \
1454 maybe-mostlyclean-readline \
1455 maybe-mostlyclean-release \
1456 maybe-mostlyclean-recode \
1457 maybe-mostlyclean-sed \
1458 maybe-mostlyclean-send-pr \
1459 maybe-mostlyclean-shellutils \
1460 maybe-mostlyclean-sid \
1461 maybe-mostlyclean-sim \
1462 maybe-mostlyclean-tar \
1463 maybe-mostlyclean-texinfo \
1464 maybe-mostlyclean-textutils \
1465 maybe-mostlyclean-time \
1466 maybe-mostlyclean-uudecode \
1467 maybe-mostlyclean-wdiff \
1468 maybe-mostlyclean-zip \
1469 maybe-mostlyclean-zlib \
1470 maybe-mostlyclean-gdb \
1471 maybe-mostlyclean-expect \
1472 maybe-mostlyclean-guile \
1473 maybe-mostlyclean-tk \
1474 maybe-mostlyclean-libtermcap \
1475 maybe-mostlyclean-utils
1477 .PHONY: mostlyclean-target
1478 mostlyclean-target: \
1479 maybe-mostlyclean-target-libstdc++-v3 \
1480 maybe-mostlyclean-target-libmudflap \
1481 maybe-mostlyclean-target-newlib \
1482 maybe-mostlyclean-target-libgfortran \
1483 maybe-mostlyclean-target-libobjc \
1484 maybe-mostlyclean-target-libtermcap \
1485 maybe-mostlyclean-target-winsup \
1486 maybe-mostlyclean-target-libgloss \
1487 maybe-mostlyclean-target-libiberty \
1488 maybe-mostlyclean-target-gperf \
1489 maybe-mostlyclean-target-examples \
1490 maybe-mostlyclean-target-libffi \
1491 maybe-mostlyclean-target-libjava \
1492 maybe-mostlyclean-target-zlib \
1493 maybe-mostlyclean-target-boehm-gc \
1494 maybe-mostlyclean-target-qthreads \
1495 maybe-mostlyclean-target-rda \
1496 maybe-mostlyclean-target-libada
1499 do-clean: unstage clean-host clean-target stage
1504 maybe-clean-autoconf \
1505 maybe-clean-automake \
1508 maybe-clean-opcodes \
1509 maybe-clean-binutils \
1513 maybe-clean-dejagnu \
1515 maybe-clean-dosutils \
1517 maybe-clean-fastjar \
1518 maybe-clean-fileutils \
1519 maybe-clean-findutils \
1521 maybe-clean-fixincludes \
1526 maybe-clean-gettext \
1527 maybe-clean-gnuserv \
1531 maybe-clean-indent \
1536 maybe-clean-libcpp \
1537 maybe-clean-libgui \
1538 maybe-clean-libiberty \
1539 maybe-clean-libtool \
1542 maybe-clean-mmalloc \
1547 maybe-clean-readline \
1548 maybe-clean-release \
1549 maybe-clean-recode \
1551 maybe-clean-send-pr \
1552 maybe-clean-shellutils \
1556 maybe-clean-texinfo \
1557 maybe-clean-textutils \
1559 maybe-clean-uudecode \
1564 maybe-clean-expect \
1567 maybe-clean-libtermcap \
1570 .PHONY: clean-target
1572 maybe-clean-target-libstdc++-v3 \
1573 maybe-clean-target-libmudflap \
1574 maybe-clean-target-newlib \
1575 maybe-clean-target-libgfortran \
1576 maybe-clean-target-libobjc \
1577 maybe-clean-target-libtermcap \
1578 maybe-clean-target-winsup \
1579 maybe-clean-target-libgloss \
1580 maybe-clean-target-libiberty \
1581 maybe-clean-target-gperf \
1582 maybe-clean-target-examples \
1583 maybe-clean-target-libffi \
1584 maybe-clean-target-libjava \
1585 maybe-clean-target-zlib \
1586 maybe-clean-target-boehm-gc \
1587 maybe-clean-target-qthreads \
1588 maybe-clean-target-rda \
1589 maybe-clean-target-libada
1591 .PHONY: do-distclean
1592 do-distclean: unstage distclean-host distclean-target stage
1594 .PHONY: distclean-host
1596 maybe-distclean-ash \
1597 maybe-distclean-autoconf \
1598 maybe-distclean-automake \
1599 maybe-distclean-bash \
1600 maybe-distclean-bfd \
1601 maybe-distclean-opcodes \
1602 maybe-distclean-binutils \
1603 maybe-distclean-bison \
1604 maybe-distclean-byacc \
1605 maybe-distclean-bzip2 \
1606 maybe-distclean-dejagnu \
1607 maybe-distclean-diff \
1608 maybe-distclean-dosutils \
1609 maybe-distclean-etc \
1610 maybe-distclean-fastjar \
1611 maybe-distclean-fileutils \
1612 maybe-distclean-findutils \
1613 maybe-distclean-find \
1614 maybe-distclean-fixincludes \
1615 maybe-distclean-flex \
1616 maybe-distclean-gas \
1617 maybe-distclean-gcc \
1618 maybe-distclean-gawk \
1619 maybe-distclean-gettext \
1620 maybe-distclean-gnuserv \
1621 maybe-distclean-gprof \
1622 maybe-distclean-gzip \
1623 maybe-distclean-hello \
1624 maybe-distclean-indent \
1625 maybe-distclean-intl \
1626 maybe-distclean-tcl \
1627 maybe-distclean-itcl \
1628 maybe-distclean-ld \
1629 maybe-distclean-libcpp \
1630 maybe-distclean-libgui \
1631 maybe-distclean-libiberty \
1632 maybe-distclean-libtool \
1633 maybe-distclean-m4 \
1634 maybe-distclean-make \
1635 maybe-distclean-mmalloc \
1636 maybe-distclean-patch \
1637 maybe-distclean-perl \
1638 maybe-distclean-prms \
1639 maybe-distclean-rcs \
1640 maybe-distclean-readline \
1641 maybe-distclean-release \
1642 maybe-distclean-recode \
1643 maybe-distclean-sed \
1644 maybe-distclean-send-pr \
1645 maybe-distclean-shellutils \
1646 maybe-distclean-sid \
1647 maybe-distclean-sim \
1648 maybe-distclean-tar \
1649 maybe-distclean-texinfo \
1650 maybe-distclean-textutils \
1651 maybe-distclean-time \
1652 maybe-distclean-uudecode \
1653 maybe-distclean-wdiff \
1654 maybe-distclean-zip \
1655 maybe-distclean-zlib \
1656 maybe-distclean-gdb \
1657 maybe-distclean-expect \
1658 maybe-distclean-guile \
1659 maybe-distclean-tk \
1660 maybe-distclean-libtermcap \
1661 maybe-distclean-utils
1663 .PHONY: distclean-target
1665 maybe-distclean-target-libstdc++-v3 \
1666 maybe-distclean-target-libmudflap \
1667 maybe-distclean-target-newlib \
1668 maybe-distclean-target-libgfortran \
1669 maybe-distclean-target-libobjc \
1670 maybe-distclean-target-libtermcap \
1671 maybe-distclean-target-winsup \
1672 maybe-distclean-target-libgloss \
1673 maybe-distclean-target-libiberty \
1674 maybe-distclean-target-gperf \
1675 maybe-distclean-target-examples \
1676 maybe-distclean-target-libffi \
1677 maybe-distclean-target-libjava \
1678 maybe-distclean-target-zlib \
1679 maybe-distclean-target-boehm-gc \
1680 maybe-distclean-target-qthreads \
1681 maybe-distclean-target-rda \
1682 maybe-distclean-target-libada
1684 .PHONY: do-maintainer-clean
1685 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1687 .PHONY: maintainer-clean-host
1688 maintainer-clean-host: \
1689 maybe-maintainer-clean-ash \
1690 maybe-maintainer-clean-autoconf \
1691 maybe-maintainer-clean-automake \
1692 maybe-maintainer-clean-bash \
1693 maybe-maintainer-clean-bfd \
1694 maybe-maintainer-clean-opcodes \
1695 maybe-maintainer-clean-binutils \
1696 maybe-maintainer-clean-bison \
1697 maybe-maintainer-clean-byacc \
1698 maybe-maintainer-clean-bzip2 \
1699 maybe-maintainer-clean-dejagnu \
1700 maybe-maintainer-clean-diff \
1701 maybe-maintainer-clean-dosutils \
1702 maybe-maintainer-clean-etc \
1703 maybe-maintainer-clean-fastjar \
1704 maybe-maintainer-clean-fileutils \
1705 maybe-maintainer-clean-findutils \
1706 maybe-maintainer-clean-find \
1707 maybe-maintainer-clean-fixincludes \
1708 maybe-maintainer-clean-flex \
1709 maybe-maintainer-clean-gas \
1710 maybe-maintainer-clean-gcc \
1711 maybe-maintainer-clean-gawk \
1712 maybe-maintainer-clean-gettext \
1713 maybe-maintainer-clean-gnuserv \
1714 maybe-maintainer-clean-gprof \
1715 maybe-maintainer-clean-gzip \
1716 maybe-maintainer-clean-hello \
1717 maybe-maintainer-clean-indent \
1718 maybe-maintainer-clean-intl \
1719 maybe-maintainer-clean-tcl \
1720 maybe-maintainer-clean-itcl \
1721 maybe-maintainer-clean-ld \
1722 maybe-maintainer-clean-libcpp \
1723 maybe-maintainer-clean-libgui \
1724 maybe-maintainer-clean-libiberty \
1725 maybe-maintainer-clean-libtool \
1726 maybe-maintainer-clean-m4 \
1727 maybe-maintainer-clean-make \
1728 maybe-maintainer-clean-mmalloc \
1729 maybe-maintainer-clean-patch \
1730 maybe-maintainer-clean-perl \
1731 maybe-maintainer-clean-prms \
1732 maybe-maintainer-clean-rcs \
1733 maybe-maintainer-clean-readline \
1734 maybe-maintainer-clean-release \
1735 maybe-maintainer-clean-recode \
1736 maybe-maintainer-clean-sed \
1737 maybe-maintainer-clean-send-pr \
1738 maybe-maintainer-clean-shellutils \
1739 maybe-maintainer-clean-sid \
1740 maybe-maintainer-clean-sim \
1741 maybe-maintainer-clean-tar \
1742 maybe-maintainer-clean-texinfo \
1743 maybe-maintainer-clean-textutils \
1744 maybe-maintainer-clean-time \
1745 maybe-maintainer-clean-uudecode \
1746 maybe-maintainer-clean-wdiff \
1747 maybe-maintainer-clean-zip \
1748 maybe-maintainer-clean-zlib \
1749 maybe-maintainer-clean-gdb \
1750 maybe-maintainer-clean-expect \
1751 maybe-maintainer-clean-guile \
1752 maybe-maintainer-clean-tk \
1753 maybe-maintainer-clean-libtermcap \
1754 maybe-maintainer-clean-utils
1756 .PHONY: maintainer-clean-target
1757 maintainer-clean-target: \
1758 maybe-maintainer-clean-target-libstdc++-v3 \
1759 maybe-maintainer-clean-target-libmudflap \
1760 maybe-maintainer-clean-target-newlib \
1761 maybe-maintainer-clean-target-libgfortran \
1762 maybe-maintainer-clean-target-libobjc \
1763 maybe-maintainer-clean-target-libtermcap \
1764 maybe-maintainer-clean-target-winsup \
1765 maybe-maintainer-clean-target-libgloss \
1766 maybe-maintainer-clean-target-libiberty \
1767 maybe-maintainer-clean-target-gperf \
1768 maybe-maintainer-clean-target-examples \
1769 maybe-maintainer-clean-target-libffi \
1770 maybe-maintainer-clean-target-libjava \
1771 maybe-maintainer-clean-target-zlib \
1772 maybe-maintainer-clean-target-boehm-gc \
1773 maybe-maintainer-clean-target-qthreads \
1774 maybe-maintainer-clean-target-rda \
1775 maybe-maintainer-clean-target-libada
1778 # Here are the targets which correspond to the do-X targets.
1780 .PHONY: info installcheck dvi html install-info
1781 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1782 .PHONY: local-clean local-distclean local-maintainer-clean
1784 installcheck: do-installcheck
1788 # Make sure makeinfo is built before we do a `make info', if we're
1789 # in fact building texinfo.
1790 do-info: maybe-all-texinfo
1792 install-info: do-install-info dir.info
1793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1794 if [ -f dir.info ] ; then \
1795 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1799 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1802 -rm -f Makefile config.status config.cache mh-frag mt-frag
1803 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1804 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1805 rm -rf $(TARGET_SUBDIR); \
1807 -rm -rf $(BUILD_SUBDIR)
1808 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1809 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1810 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1811 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1812 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1814 local-maintainer-clean:
1815 @echo "This command is intended for maintainers to use;"
1816 @echo "it deletes files that may require special tools to rebuild."
1818 clean: do-clean local-clean
1819 mostlyclean: do-mostlyclean local-clean
1820 distclean: do-distclean local-clean local-distclean
1821 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1822 maintainer-clean: local-distclean
1823 realclean: maintainer-clean
1825 # Extra dependency for clean-target, owing to the mixed nature of gcc
1826 clean-target: clean-target-libgcc
1827 clean-target-libgcc:
1828 test ! -d gcc/libgcc || \
1829 (cd gcc/libgcc && find . -type d -print) | \
1830 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1832 -rm -f gcc/stmp-dirs
1836 .PHONY: check do-check
1839 # Only include modules actually being configured and built.
1842 maybe-check-autoconf \
1843 maybe-check-automake \
1846 maybe-check-opcodes \
1847 maybe-check-binutils \
1851 maybe-check-dejagnu \
1853 maybe-check-dosutils \
1855 maybe-check-fastjar \
1856 maybe-check-fileutils \
1857 maybe-check-findutils \
1859 maybe-check-fixincludes \
1864 maybe-check-gettext \
1865 maybe-check-gnuserv \
1869 maybe-check-indent \
1874 maybe-check-libcpp \
1875 maybe-check-libgui \
1876 maybe-check-libiberty \
1877 maybe-check-libtool \
1880 maybe-check-mmalloc \
1885 maybe-check-readline \
1886 maybe-check-release \
1887 maybe-check-recode \
1889 maybe-check-send-pr \
1890 maybe-check-shellutils \
1894 maybe-check-texinfo \
1895 maybe-check-textutils \
1897 maybe-check-uudecode \
1902 maybe-check-expect \
1905 maybe-check-libtermcap \
1907 maybe-check-target-libstdc++-v3 \
1908 maybe-check-target-libmudflap \
1909 maybe-check-target-newlib \
1910 maybe-check-target-libgfortran \
1911 maybe-check-target-libobjc \
1912 maybe-check-target-libtermcap \
1913 maybe-check-target-winsup \
1914 maybe-check-target-libgloss \
1915 maybe-check-target-libiberty \
1916 maybe-check-target-gperf \
1917 maybe-check-target-examples \
1918 maybe-check-target-libffi \
1919 maybe-check-target-libjava \
1920 maybe-check-target-zlib \
1921 maybe-check-target-boehm-gc \
1922 maybe-check-target-qthreads \
1923 maybe-check-target-rda \
1924 maybe-check-target-libada stage
1926 # Automated reporting of test results.
1928 warning.log: build.log
1929 $(srcdir)/contrib/warn_summary build.log > $@
1932 if test x'$(BOOT_CFLAGS)' != x''; then \
1933 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1935 $(srcdir)/contrib/test_summary -t >$@
1937 echo If you really want to send e-mail, run ./$@ now
1939 mail-report-with-warnings.log: warning.log
1940 if test x'$(BOOT_CFLAGS)' != x''; then \
1941 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1943 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1945 echo If you really want to send e-mail, run ./$@ now
1947 # Installation targets.
1949 .PHONY: install uninstall
1950 install: installdirs install-host install-target
1952 .PHONY: install-host-nogcc
1953 install-host-nogcc: \
1955 maybe-install-autoconf \
1956 maybe-install-automake \
1957 maybe-install-bash \
1959 maybe-install-opcodes \
1960 maybe-install-binutils \
1961 maybe-install-bison \
1962 maybe-install-byacc \
1963 maybe-install-bzip2 \
1964 maybe-install-dejagnu \
1965 maybe-install-diff \
1966 maybe-install-dosutils \
1968 maybe-install-fastjar \
1969 maybe-install-fileutils \
1970 maybe-install-findutils \
1971 maybe-install-find \
1972 maybe-install-fixincludes \
1973 maybe-install-flex \
1975 maybe-install-gawk \
1976 maybe-install-gettext \
1977 maybe-install-gnuserv \
1978 maybe-install-gprof \
1979 maybe-install-gzip \
1980 maybe-install-hello \
1981 maybe-install-indent \
1982 maybe-install-intl \
1984 maybe-install-itcl \
1986 maybe-install-libcpp \
1987 maybe-install-libgui \
1988 maybe-install-libiberty \
1989 maybe-install-libtool \
1991 maybe-install-make \
1992 maybe-install-mmalloc \
1993 maybe-install-patch \
1994 maybe-install-perl \
1995 maybe-install-prms \
1997 maybe-install-readline \
1998 maybe-install-release \
1999 maybe-install-recode \
2001 maybe-install-send-pr \
2002 maybe-install-shellutils \
2006 maybe-install-texinfo \
2007 maybe-install-textutils \
2008 maybe-install-time \
2009 maybe-install-uudecode \
2010 maybe-install-wdiff \
2012 maybe-install-zlib \
2014 maybe-install-expect \
2015 maybe-install-guile \
2017 maybe-install-libtermcap \
2020 .PHONY: install-host
2023 maybe-install-autoconf \
2024 maybe-install-automake \
2025 maybe-install-bash \
2027 maybe-install-opcodes \
2028 maybe-install-binutils \
2029 maybe-install-bison \
2030 maybe-install-byacc \
2031 maybe-install-bzip2 \
2032 maybe-install-dejagnu \
2033 maybe-install-diff \
2034 maybe-install-dosutils \
2036 maybe-install-fastjar \
2037 maybe-install-fileutils \
2038 maybe-install-findutils \
2039 maybe-install-find \
2040 maybe-install-fixincludes \
2041 maybe-install-flex \
2044 maybe-install-gawk \
2045 maybe-install-gettext \
2046 maybe-install-gnuserv \
2047 maybe-install-gprof \
2048 maybe-install-gzip \
2049 maybe-install-hello \
2050 maybe-install-indent \
2051 maybe-install-intl \
2053 maybe-install-itcl \
2055 maybe-install-libcpp \
2056 maybe-install-libgui \
2057 maybe-install-libiberty \
2058 maybe-install-libtool \
2060 maybe-install-make \
2061 maybe-install-mmalloc \
2062 maybe-install-patch \
2063 maybe-install-perl \
2064 maybe-install-prms \
2066 maybe-install-readline \
2067 maybe-install-release \
2068 maybe-install-recode \
2070 maybe-install-send-pr \
2071 maybe-install-shellutils \
2075 maybe-install-texinfo \
2076 maybe-install-textutils \
2077 maybe-install-time \
2078 maybe-install-uudecode \
2079 maybe-install-wdiff \
2081 maybe-install-zlib \
2083 maybe-install-expect \
2084 maybe-install-guile \
2086 maybe-install-libtermcap \
2089 .PHONY: install-target
2091 maybe-install-target-libstdc++-v3 \
2092 maybe-install-target-libmudflap \
2093 maybe-install-target-newlib \
2094 maybe-install-target-libgfortran \
2095 maybe-install-target-libobjc \
2096 maybe-install-target-libtermcap \
2097 maybe-install-target-winsup \
2098 maybe-install-target-libgloss \
2099 maybe-install-target-libiberty \
2100 maybe-install-target-gperf \
2101 maybe-install-target-examples \
2102 maybe-install-target-libffi \
2103 maybe-install-target-libjava \
2104 maybe-install-target-zlib \
2105 maybe-install-target-boehm-gc \
2106 maybe-install-target-qthreads \
2107 maybe-install-target-rda \
2108 maybe-install-target-libada
2111 @echo "the uninstall target is not supported in this tree"
2114 install.all: install-no-fixedincludes
2115 @if [ -f ./gcc/Makefile ] ; then \
2116 r=`${PWD_COMMAND}` ; export r ; \
2120 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2125 # install-no-fixedincludes is used because Cygnus can not distribute
2126 # the fixed header files.
2127 .PHONY: install-no-fixedincludes
2128 install-no-fixedincludes: installdirs install-host-nogcc \
2129 install-target gcc-no-fixedincludes
2131 ### other supporting targets
2134 $(DESTDIR)$(prefix) \
2135 $(DESTDIR)$(exec_prefix)
2137 installdirs: mkinstalldirs
2138 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2140 dir.info: do-install-info
2141 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2142 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2143 mv -f dir.info.new dir.info ; \
2148 @echo "Building a full distribution of this tree isn't done"
2149 @echo "via 'make dist'. Check out the etc/ subdirectory"
2153 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2154 # ability to use several tags files at once, so there is probably no need
2155 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2156 # (if we felt like it) have this Makefile write a piece of elisp which
2157 # the user could load to tell emacs19 where all the TAGS files we just
2161 # --------------------------------------
2162 # Modules which run on the build machine
2163 # --------------------------------------
2165 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2166 maybe-configure-build-libiberty:
2168 maybe-configure-build-libiberty: configure-build-libiberty
2169 configure-build-libiberty:
2170 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2171 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2172 r=`${PWD_COMMAND}`; export r; \
2173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2175 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2176 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2178 /* | [A-Za-z]:[\\/]*) \
2179 topdir=$(srcdir) ;; \
2181 case "$(BUILD_SUBDIR)" in \
2182 .) topdir="../$(srcdir)" ;; \
2183 *) topdir="../../$(srcdir)" ;; \
2186 if [ "$(srcdir)" = "." ] ; then \
2187 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2188 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
2189 if [ -f Makefile ]; then \
2190 if $(MAKE) distclean; then \
2204 srcdiroption="--srcdir=."; \
2207 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2208 libsrcdir="$$s/libiberty"; \
2210 rm -f no-such-file || : ; \
2211 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2212 $(BUILD_CONFIGARGS) $${srcdiroption} \
2213 --with-build-subdir="$(BUILD_SUBDIR)" \
2215 @endif build-libiberty
2217 .PHONY: all-build-libiberty maybe-all-build-libiberty
2218 maybe-all-build-libiberty:
2220 TARGET-build-libiberty=all
2221 maybe-all-build-libiberty: all-build-libiberty
2222 all-build-libiberty: configure-build-libiberty
2223 @r=`${PWD_COMMAND}`; export r; \
2224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2226 (cd $(BUILD_SUBDIR)/libiberty && \
2227 $(MAKE) $(TARGET-build-libiberty))
2228 @endif build-libiberty
2230 .PHONY: configure-build-bison maybe-configure-build-bison
2231 maybe-configure-build-bison:
2233 maybe-configure-build-bison: configure-build-bison
2234 configure-build-bison:
2235 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2236 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2237 r=`${PWD_COMMAND}`; export r; \
2238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2240 echo Configuring in $(BUILD_SUBDIR)/bison; \
2241 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2243 /* | [A-Za-z]:[\\/]*) \
2244 topdir=$(srcdir) ;; \
2246 case "$(BUILD_SUBDIR)" in \
2247 .) topdir="../$(srcdir)" ;; \
2248 *) topdir="../../$(srcdir)" ;; \
2251 if [ "$(srcdir)" = "." ] ; then \
2252 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2253 if $(SHELL) $$s/symlink-tree $${topdir}/bison "no-such-file" ; then \
2254 if [ -f Makefile ]; then \
2255 if $(MAKE) distclean; then \
2269 srcdiroption="--srcdir=."; \
2272 srcdiroption="--srcdir=$${topdir}/bison"; \
2273 libsrcdir="$$s/bison"; \
2275 rm -f no-such-file || : ; \
2276 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2277 $(BUILD_CONFIGARGS) $${srcdiroption} \
2278 --with-build-subdir="$(BUILD_SUBDIR)" \
2282 .PHONY: all-build-bison maybe-all-build-bison
2283 maybe-all-build-bison:
2285 TARGET-build-bison=all
2286 maybe-all-build-bison: all-build-bison
2287 all-build-bison: configure-build-bison
2288 @r=`${PWD_COMMAND}`; export r; \
2289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2291 (cd $(BUILD_SUBDIR)/bison && \
2292 $(MAKE) $(TARGET-build-bison))
2295 .PHONY: configure-build-byacc maybe-configure-build-byacc
2296 maybe-configure-build-byacc:
2298 maybe-configure-build-byacc: configure-build-byacc
2299 configure-build-byacc:
2300 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2301 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2302 r=`${PWD_COMMAND}`; export r; \
2303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2305 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2306 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2308 /* | [A-Za-z]:[\\/]*) \
2309 topdir=$(srcdir) ;; \
2311 case "$(BUILD_SUBDIR)" in \
2312 .) topdir="../$(srcdir)" ;; \
2313 *) topdir="../../$(srcdir)" ;; \
2316 if [ "$(srcdir)" = "." ] ; then \
2317 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2318 if $(SHELL) $$s/symlink-tree $${topdir}/byacc "no-such-file" ; then \
2319 if [ -f Makefile ]; then \
2320 if $(MAKE) distclean; then \
2334 srcdiroption="--srcdir=."; \
2337 srcdiroption="--srcdir=$${topdir}/byacc"; \
2338 libsrcdir="$$s/byacc"; \
2340 rm -f no-such-file || : ; \
2341 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2342 $(BUILD_CONFIGARGS) $${srcdiroption} \
2343 --with-build-subdir="$(BUILD_SUBDIR)" \
2347 .PHONY: all-build-byacc maybe-all-build-byacc
2348 maybe-all-build-byacc:
2350 TARGET-build-byacc=all
2351 maybe-all-build-byacc: all-build-byacc
2352 all-build-byacc: configure-build-byacc
2353 @r=`${PWD_COMMAND}`; export r; \
2354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2356 (cd $(BUILD_SUBDIR)/byacc && \
2357 $(MAKE) $(TARGET-build-byacc))
2360 .PHONY: configure-build-flex maybe-configure-build-flex
2361 maybe-configure-build-flex:
2363 maybe-configure-build-flex: configure-build-flex
2364 configure-build-flex:
2365 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2366 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2367 r=`${PWD_COMMAND}`; export r; \
2368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2370 echo Configuring in $(BUILD_SUBDIR)/flex; \
2371 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2373 /* | [A-Za-z]:[\\/]*) \
2374 topdir=$(srcdir) ;; \
2376 case "$(BUILD_SUBDIR)" in \
2377 .) topdir="../$(srcdir)" ;; \
2378 *) topdir="../../$(srcdir)" ;; \
2381 if [ "$(srcdir)" = "." ] ; then \
2382 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2383 if $(SHELL) $$s/symlink-tree $${topdir}/flex "no-such-file" ; then \
2384 if [ -f Makefile ]; then \
2385 if $(MAKE) distclean; then \
2399 srcdiroption="--srcdir=."; \
2402 srcdiroption="--srcdir=$${topdir}/flex"; \
2403 libsrcdir="$$s/flex"; \
2405 rm -f no-such-file || : ; \
2406 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2407 $(BUILD_CONFIGARGS) $${srcdiroption} \
2408 --with-build-subdir="$(BUILD_SUBDIR)" \
2412 .PHONY: all-build-flex maybe-all-build-flex
2413 maybe-all-build-flex:
2415 TARGET-build-flex=all
2416 maybe-all-build-flex: all-build-flex
2417 all-build-flex: configure-build-flex
2418 @r=`${PWD_COMMAND}`; export r; \
2419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2421 (cd $(BUILD_SUBDIR)/flex && \
2422 $(MAKE) $(TARGET-build-flex))
2425 .PHONY: configure-build-m4 maybe-configure-build-m4
2426 maybe-configure-build-m4:
2428 maybe-configure-build-m4: configure-build-m4
2430 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2431 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2432 r=`${PWD_COMMAND}`; export r; \
2433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2435 echo Configuring in $(BUILD_SUBDIR)/m4; \
2436 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2438 /* | [A-Za-z]:[\\/]*) \
2439 topdir=$(srcdir) ;; \
2441 case "$(BUILD_SUBDIR)" in \
2442 .) topdir="../$(srcdir)" ;; \
2443 *) topdir="../../$(srcdir)" ;; \
2446 if [ "$(srcdir)" = "." ] ; then \
2447 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2448 if $(SHELL) $$s/symlink-tree $${topdir}/m4 "no-such-file" ; then \
2449 if [ -f Makefile ]; then \
2450 if $(MAKE) distclean; then \
2464 srcdiroption="--srcdir=."; \
2467 srcdiroption="--srcdir=$${topdir}/m4"; \
2468 libsrcdir="$$s/m4"; \
2470 rm -f no-such-file || : ; \
2471 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2472 $(BUILD_CONFIGARGS) $${srcdiroption} \
2473 --with-build-subdir="$(BUILD_SUBDIR)" \
2477 .PHONY: all-build-m4 maybe-all-build-m4
2481 maybe-all-build-m4: all-build-m4
2482 all-build-m4: configure-build-m4
2483 @r=`${PWD_COMMAND}`; export r; \
2484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2486 (cd $(BUILD_SUBDIR)/m4 && \
2487 $(MAKE) $(TARGET-build-m4))
2490 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2491 maybe-configure-build-texinfo:
2493 maybe-configure-build-texinfo: configure-build-texinfo
2494 configure-build-texinfo:
2495 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2496 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2497 r=`${PWD_COMMAND}`; export r; \
2498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2500 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2501 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2503 /* | [A-Za-z]:[\\/]*) \
2504 topdir=$(srcdir) ;; \
2506 case "$(BUILD_SUBDIR)" in \
2507 .) topdir="../$(srcdir)" ;; \
2508 *) topdir="../../$(srcdir)" ;; \
2511 if [ "$(srcdir)" = "." ] ; then \
2512 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2513 if $(SHELL) $$s/symlink-tree $${topdir}/texinfo "no-such-file" ; then \
2514 if [ -f Makefile ]; then \
2515 if $(MAKE) distclean; then \
2529 srcdiroption="--srcdir=."; \
2532 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2533 libsrcdir="$$s/texinfo"; \
2535 rm -f no-such-file || : ; \
2536 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2537 $(BUILD_CONFIGARGS) $${srcdiroption} \
2538 --with-build-subdir="$(BUILD_SUBDIR)" \
2540 @endif build-texinfo
2542 .PHONY: all-build-texinfo maybe-all-build-texinfo
2543 maybe-all-build-texinfo:
2545 TARGET-build-texinfo=all
2546 maybe-all-build-texinfo: all-build-texinfo
2547 all-build-texinfo: configure-build-texinfo
2548 @r=`${PWD_COMMAND}`; export r; \
2549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2551 (cd $(BUILD_SUBDIR)/texinfo && \
2552 $(MAKE) $(TARGET-build-texinfo))
2553 @endif build-texinfo
2555 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2556 maybe-configure-build-fixincludes:
2557 @if build-fixincludes
2558 maybe-configure-build-fixincludes: configure-build-fixincludes
2559 configure-build-fixincludes:
2560 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2561 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2562 r=`${PWD_COMMAND}`; export r; \
2563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2565 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2566 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2568 /* | [A-Za-z]:[\\/]*) \
2569 topdir=$(srcdir) ;; \
2571 case "$(BUILD_SUBDIR)" in \
2572 .) topdir="../$(srcdir)" ;; \
2573 *) topdir="../../$(srcdir)" ;; \
2576 if [ "$(srcdir)" = "." ] ; then \
2577 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2578 if $(SHELL) $$s/symlink-tree $${topdir}/fixincludes "no-such-file" ; then \
2579 if [ -f Makefile ]; then \
2580 if $(MAKE) distclean; then \
2594 srcdiroption="--srcdir=."; \
2597 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2598 libsrcdir="$$s/fixincludes"; \
2600 rm -f no-such-file || : ; \
2601 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2602 $(BUILD_CONFIGARGS) $${srcdiroption} \
2603 --with-build-subdir="$(BUILD_SUBDIR)" \
2605 @endif build-fixincludes
2607 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2608 maybe-all-build-fixincludes:
2609 @if build-fixincludes
2610 TARGET-build-fixincludes=all
2611 maybe-all-build-fixincludes: all-build-fixincludes
2612 all-build-fixincludes: configure-build-fixincludes
2613 @r=`${PWD_COMMAND}`; export r; \
2614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2616 (cd $(BUILD_SUBDIR)/fixincludes && \
2617 $(MAKE) $(TARGET-build-fixincludes))
2618 @endif build-fixincludes
2621 # --------------------------------------
2622 # Modules which run on the host machine
2623 # --------------------------------------
2625 .PHONY: configure-ash maybe-configure-ash
2626 maybe-configure-ash:
2628 maybe-configure-ash: configure-ash
2630 @test ! -f ash/Makefile || exit 0; \
2631 [ -d ash ] || mkdir ash; \
2632 r=`${PWD_COMMAND}`; export r; \
2633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2635 echo Configuring in ash; \
2639 srcdiroption="--srcdir=."; \
2641 /* | [A-Za-z]:[\\/]*) \
2642 srcdiroption="--srcdir=$(srcdir)/ash"; \
2643 libsrcdir="$$s/ash";; \
2645 srcdiroption="--srcdir=../$(srcdir)/ash"; \
2646 libsrcdir="$$s/ash";; \
2648 $(SHELL) $${libsrcdir}/configure \
2649 $(HOST_CONFIGARGS) $${srcdiroption} \
2653 .PHONY: all-ash maybe-all-ash
2657 maybe-all-ash: all-ash
2658 all-ash: configure-ash
2659 @r=`${PWD_COMMAND}`; export r; \
2660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2663 (cd ash && $(MAKE) $(FLAGS_TO_PASS) \
2667 .PHONY: check-ash maybe-check-ash
2670 maybe-check-ash: check-ash
2673 @r=`${PWD_COMMAND}`; export r; \
2674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2677 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2681 .PHONY: install-ash maybe-install-ash
2684 maybe-install-ash: install-ash
2686 install-ash: installdirs
2687 @r=`${PWD_COMMAND}`; export r; \
2688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2691 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2695 # Other targets (info, dvi, etc.)
2697 .PHONY: maybe-info-ash info-ash
2700 maybe-info-ash: info-ash
2704 @[ -f ./ash/Makefile ] || exit 0; \
2705 r=`${PWD_COMMAND}`; export r; \
2706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2709 for flag in $(EXTRA_HOST_FLAGS) ; do \
2710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2712 echo "Doing info in ash" ; \
2714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2716 "RANLIB=$${RANLIB}" \
2717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2723 .PHONY: maybe-dvi-ash dvi-ash
2726 maybe-dvi-ash: dvi-ash
2730 @[ -f ./ash/Makefile ] || exit 0; \
2731 r=`${PWD_COMMAND}`; export r; \
2732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2735 for flag in $(EXTRA_HOST_FLAGS) ; do \
2736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2738 echo "Doing dvi in ash" ; \
2740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2742 "RANLIB=$${RANLIB}" \
2743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2749 .PHONY: maybe-html-ash html-ash
2752 maybe-html-ash: html-ash
2756 @[ -f ./ash/Makefile ] || exit 0; \
2757 r=`${PWD_COMMAND}`; export r; \
2758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2761 for flag in $(EXTRA_HOST_FLAGS) ; do \
2762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2764 echo "Doing html in ash" ; \
2766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2768 "RANLIB=$${RANLIB}" \
2769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2775 .PHONY: maybe-TAGS-ash TAGS-ash
2778 maybe-TAGS-ash: TAGS-ash
2782 @[ -f ./ash/Makefile ] || exit 0; \
2783 r=`${PWD_COMMAND}`; export r; \
2784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2787 for flag in $(EXTRA_HOST_FLAGS) ; do \
2788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2790 echo "Doing TAGS in ash" ; \
2792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2794 "RANLIB=$${RANLIB}" \
2795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2801 .PHONY: maybe-install-info-ash install-info-ash
2802 maybe-install-info-ash:
2804 maybe-install-info-ash: install-info-ash
2809 @[ -f ./ash/Makefile ] || exit 0; \
2810 r=`${PWD_COMMAND}`; export r; \
2811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2814 for flag in $(EXTRA_HOST_FLAGS) ; do \
2815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2817 echo "Doing install-info in ash" ; \
2819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2821 "RANLIB=$${RANLIB}" \
2822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2828 .PHONY: maybe-installcheck-ash installcheck-ash
2829 maybe-installcheck-ash:
2831 maybe-installcheck-ash: installcheck-ash
2835 @[ -f ./ash/Makefile ] || exit 0; \
2836 r=`${PWD_COMMAND}`; export r; \
2837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2840 for flag in $(EXTRA_HOST_FLAGS) ; do \
2841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2843 echo "Doing installcheck in ash" ; \
2845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2847 "RANLIB=$${RANLIB}" \
2848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2854 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2855 maybe-mostlyclean-ash:
2857 maybe-mostlyclean-ash: mostlyclean-ash
2860 @[ -f ./ash/Makefile ] || exit 0; \
2861 r=`${PWD_COMMAND}`; export r; \
2862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2865 for flag in $(EXTRA_HOST_FLAGS) ; do \
2866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2868 echo "Doing mostlyclean in ash" ; \
2870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2872 "RANLIB=$${RANLIB}" \
2873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2879 .PHONY: maybe-clean-ash clean-ash
2882 maybe-clean-ash: clean-ash
2885 @[ -f ./ash/Makefile ] || exit 0; \
2886 r=`${PWD_COMMAND}`; export r; \
2887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2890 for flag in $(EXTRA_HOST_FLAGS) ; do \
2891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2893 echo "Doing clean in ash" ; \
2895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2897 "RANLIB=$${RANLIB}" \
2898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2904 .PHONY: maybe-distclean-ash distclean-ash
2905 maybe-distclean-ash:
2907 maybe-distclean-ash: distclean-ash
2910 @[ -f ./ash/Makefile ] || exit 0; \
2911 r=`${PWD_COMMAND}`; export r; \
2912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2915 for flag in $(EXTRA_HOST_FLAGS) ; do \
2916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2918 echo "Doing distclean in ash" ; \
2920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2922 "RANLIB=$${RANLIB}" \
2923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2929 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2930 maybe-maintainer-clean-ash:
2932 maybe-maintainer-clean-ash: maintainer-clean-ash
2934 maintainer-clean-ash:
2935 @[ -f ./ash/Makefile ] || exit 0; \
2936 r=`${PWD_COMMAND}`; export r; \
2937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2940 for flag in $(EXTRA_HOST_FLAGS) ; do \
2941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2943 echo "Doing maintainer-clean in ash" ; \
2945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2947 "RANLIB=$${RANLIB}" \
2948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2955 .PHONY: configure-autoconf maybe-configure-autoconf
2956 maybe-configure-autoconf:
2958 maybe-configure-autoconf: configure-autoconf
2960 @test ! -f autoconf/Makefile || exit 0; \
2961 [ -d autoconf ] || mkdir autoconf; \
2962 r=`${PWD_COMMAND}`; export r; \
2963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2965 echo Configuring in autoconf; \
2966 cd autoconf || exit 1; \
2969 srcdiroption="--srcdir=."; \
2971 /* | [A-Za-z]:[\\/]*) \
2972 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2973 libsrcdir="$$s/autoconf";; \
2975 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2976 libsrcdir="$$s/autoconf";; \
2978 $(SHELL) $${libsrcdir}/configure \
2979 $(HOST_CONFIGARGS) $${srcdiroption} \
2983 .PHONY: all-autoconf maybe-all-autoconf
2987 maybe-all-autoconf: all-autoconf
2988 all-autoconf: configure-autoconf
2989 @r=`${PWD_COMMAND}`; export r; \
2990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2993 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) \
2997 .PHONY: check-autoconf maybe-check-autoconf
2998 maybe-check-autoconf:
3000 maybe-check-autoconf: check-autoconf
3003 @r=`${PWD_COMMAND}`; export r; \
3004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3007 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
3011 .PHONY: install-autoconf maybe-install-autoconf
3012 maybe-install-autoconf:
3014 maybe-install-autoconf: install-autoconf
3016 install-autoconf: installdirs
3017 @r=`${PWD_COMMAND}`; export r; \
3018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3021 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
3025 # Other targets (info, dvi, etc.)
3027 .PHONY: maybe-info-autoconf info-autoconf
3028 maybe-info-autoconf:
3030 maybe-info-autoconf: info-autoconf
3034 @[ -f ./autoconf/Makefile ] || exit 0; \
3035 r=`${PWD_COMMAND}`; export r; \
3036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3039 for flag in $(EXTRA_HOST_FLAGS) ; do \
3040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3042 echo "Doing info in autoconf" ; \
3044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3046 "RANLIB=$${RANLIB}" \
3047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3053 .PHONY: maybe-dvi-autoconf dvi-autoconf
3056 maybe-dvi-autoconf: dvi-autoconf
3060 @[ -f ./autoconf/Makefile ] || exit 0; \
3061 r=`${PWD_COMMAND}`; export r; \
3062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3065 for flag in $(EXTRA_HOST_FLAGS) ; do \
3066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3068 echo "Doing dvi in autoconf" ; \
3070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3072 "RANLIB=$${RANLIB}" \
3073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3079 .PHONY: maybe-html-autoconf html-autoconf
3080 maybe-html-autoconf:
3082 maybe-html-autoconf: html-autoconf
3086 @[ -f ./autoconf/Makefile ] || exit 0; \
3087 r=`${PWD_COMMAND}`; export r; \
3088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3091 for flag in $(EXTRA_HOST_FLAGS) ; do \
3092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3094 echo "Doing html in autoconf" ; \
3096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3098 "RANLIB=$${RANLIB}" \
3099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3105 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3106 maybe-TAGS-autoconf:
3108 maybe-TAGS-autoconf: TAGS-autoconf
3112 @[ -f ./autoconf/Makefile ] || exit 0; \
3113 r=`${PWD_COMMAND}`; export r; \
3114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3117 for flag in $(EXTRA_HOST_FLAGS) ; do \
3118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3120 echo "Doing TAGS in autoconf" ; \
3122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3124 "RANLIB=$${RANLIB}" \
3125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3131 .PHONY: maybe-install-info-autoconf install-info-autoconf
3132 maybe-install-info-autoconf:
3134 maybe-install-info-autoconf: install-info-autoconf
3136 install-info-autoconf: \
3137 configure-autoconf \
3139 @[ -f ./autoconf/Makefile ] || exit 0; \
3140 r=`${PWD_COMMAND}`; export r; \
3141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3144 for flag in $(EXTRA_HOST_FLAGS) ; do \
3145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3147 echo "Doing install-info in autoconf" ; \
3149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3151 "RANLIB=$${RANLIB}" \
3152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3158 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3159 maybe-installcheck-autoconf:
3161 maybe-installcheck-autoconf: installcheck-autoconf
3163 installcheck-autoconf: \
3165 @[ -f ./autoconf/Makefile ] || exit 0; \
3166 r=`${PWD_COMMAND}`; export r; \
3167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3170 for flag in $(EXTRA_HOST_FLAGS) ; do \
3171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3173 echo "Doing installcheck in autoconf" ; \
3175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3177 "RANLIB=$${RANLIB}" \
3178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3184 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3185 maybe-mostlyclean-autoconf:
3187 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3189 mostlyclean-autoconf:
3190 @[ -f ./autoconf/Makefile ] || exit 0; \
3191 r=`${PWD_COMMAND}`; export r; \
3192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3195 for flag in $(EXTRA_HOST_FLAGS) ; do \
3196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3198 echo "Doing mostlyclean in autoconf" ; \
3200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3202 "RANLIB=$${RANLIB}" \
3203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3209 .PHONY: maybe-clean-autoconf clean-autoconf
3210 maybe-clean-autoconf:
3212 maybe-clean-autoconf: clean-autoconf
3215 @[ -f ./autoconf/Makefile ] || exit 0; \
3216 r=`${PWD_COMMAND}`; export r; \
3217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3220 for flag in $(EXTRA_HOST_FLAGS) ; do \
3221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3223 echo "Doing clean in autoconf" ; \
3225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3227 "RANLIB=$${RANLIB}" \
3228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3234 .PHONY: maybe-distclean-autoconf distclean-autoconf
3235 maybe-distclean-autoconf:
3237 maybe-distclean-autoconf: distclean-autoconf
3240 @[ -f ./autoconf/Makefile ] || exit 0; \
3241 r=`${PWD_COMMAND}`; export r; \
3242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3245 for flag in $(EXTRA_HOST_FLAGS) ; do \
3246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3248 echo "Doing distclean in autoconf" ; \
3250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3252 "RANLIB=$${RANLIB}" \
3253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3259 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3260 maybe-maintainer-clean-autoconf:
3262 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3264 maintainer-clean-autoconf:
3265 @[ -f ./autoconf/Makefile ] || exit 0; \
3266 r=`${PWD_COMMAND}`; export r; \
3267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3270 for flag in $(EXTRA_HOST_FLAGS) ; do \
3271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3273 echo "Doing maintainer-clean in autoconf" ; \
3275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3277 "RANLIB=$${RANLIB}" \
3278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3285 .PHONY: configure-automake maybe-configure-automake
3286 maybe-configure-automake:
3288 maybe-configure-automake: configure-automake
3290 @test ! -f automake/Makefile || exit 0; \
3291 [ -d automake ] || mkdir automake; \
3292 r=`${PWD_COMMAND}`; export r; \
3293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3295 echo Configuring in automake; \
3296 cd automake || exit 1; \
3299 srcdiroption="--srcdir=."; \
3301 /* | [A-Za-z]:[\\/]*) \
3302 srcdiroption="--srcdir=$(srcdir)/automake"; \
3303 libsrcdir="$$s/automake";; \
3305 srcdiroption="--srcdir=../$(srcdir)/automake"; \
3306 libsrcdir="$$s/automake";; \
3308 $(SHELL) $${libsrcdir}/configure \
3309 $(HOST_CONFIGARGS) $${srcdiroption} \
3313 .PHONY: all-automake maybe-all-automake
3317 maybe-all-automake: all-automake
3318 all-automake: configure-automake
3319 @r=`${PWD_COMMAND}`; export r; \
3320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3323 (cd automake && $(MAKE) $(FLAGS_TO_PASS) \
3327 .PHONY: check-automake maybe-check-automake
3328 maybe-check-automake:
3330 maybe-check-automake: check-automake
3333 @r=`${PWD_COMMAND}`; export r; \
3334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3337 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
3341 .PHONY: install-automake maybe-install-automake
3342 maybe-install-automake:
3344 maybe-install-automake: install-automake
3346 install-automake: installdirs
3347 @r=`${PWD_COMMAND}`; export r; \
3348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3351 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
3355 # Other targets (info, dvi, etc.)
3357 .PHONY: maybe-info-automake info-automake
3358 maybe-info-automake:
3360 maybe-info-automake: info-automake
3364 @[ -f ./automake/Makefile ] || exit 0; \
3365 r=`${PWD_COMMAND}`; export r; \
3366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3369 for flag in $(EXTRA_HOST_FLAGS) ; do \
3370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3372 echo "Doing info in automake" ; \
3374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3376 "RANLIB=$${RANLIB}" \
3377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3383 .PHONY: maybe-dvi-automake dvi-automake
3386 maybe-dvi-automake: dvi-automake
3390 @[ -f ./automake/Makefile ] || exit 0; \
3391 r=`${PWD_COMMAND}`; export r; \
3392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3395 for flag in $(EXTRA_HOST_FLAGS) ; do \
3396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3398 echo "Doing dvi in automake" ; \
3400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3402 "RANLIB=$${RANLIB}" \
3403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3409 .PHONY: maybe-html-automake html-automake
3410 maybe-html-automake:
3412 maybe-html-automake: html-automake
3416 @[ -f ./automake/Makefile ] || exit 0; \
3417 r=`${PWD_COMMAND}`; export r; \
3418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3421 for flag in $(EXTRA_HOST_FLAGS) ; do \
3422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3424 echo "Doing html in automake" ; \
3426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3428 "RANLIB=$${RANLIB}" \
3429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3435 .PHONY: maybe-TAGS-automake TAGS-automake
3436 maybe-TAGS-automake:
3438 maybe-TAGS-automake: TAGS-automake
3442 @[ -f ./automake/Makefile ] || exit 0; \
3443 r=`${PWD_COMMAND}`; export r; \
3444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3447 for flag in $(EXTRA_HOST_FLAGS) ; do \
3448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3450 echo "Doing TAGS in automake" ; \
3452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3454 "RANLIB=$${RANLIB}" \
3455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3461 .PHONY: maybe-install-info-automake install-info-automake
3462 maybe-install-info-automake:
3464 maybe-install-info-automake: install-info-automake
3466 install-info-automake: \
3467 configure-automake \
3469 @[ -f ./automake/Makefile ] || exit 0; \
3470 r=`${PWD_COMMAND}`; export r; \
3471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3474 for flag in $(EXTRA_HOST_FLAGS) ; do \
3475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3477 echo "Doing install-info in automake" ; \
3479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3481 "RANLIB=$${RANLIB}" \
3482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3488 .PHONY: maybe-installcheck-automake installcheck-automake
3489 maybe-installcheck-automake:
3491 maybe-installcheck-automake: installcheck-automake
3493 installcheck-automake: \
3495 @[ -f ./automake/Makefile ] || exit 0; \
3496 r=`${PWD_COMMAND}`; export r; \
3497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3500 for flag in $(EXTRA_HOST_FLAGS) ; do \
3501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3503 echo "Doing installcheck in automake" ; \
3505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3507 "RANLIB=$${RANLIB}" \
3508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3514 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3515 maybe-mostlyclean-automake:
3517 maybe-mostlyclean-automake: mostlyclean-automake
3519 mostlyclean-automake:
3520 @[ -f ./automake/Makefile ] || exit 0; \
3521 r=`${PWD_COMMAND}`; export r; \
3522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3525 for flag in $(EXTRA_HOST_FLAGS) ; do \
3526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3528 echo "Doing mostlyclean in automake" ; \
3530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3532 "RANLIB=$${RANLIB}" \
3533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3539 .PHONY: maybe-clean-automake clean-automake
3540 maybe-clean-automake:
3542 maybe-clean-automake: clean-automake
3545 @[ -f ./automake/Makefile ] || exit 0; \
3546 r=`${PWD_COMMAND}`; export r; \
3547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3550 for flag in $(EXTRA_HOST_FLAGS) ; do \
3551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3553 echo "Doing clean in automake" ; \
3555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3557 "RANLIB=$${RANLIB}" \
3558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3564 .PHONY: maybe-distclean-automake distclean-automake
3565 maybe-distclean-automake:
3567 maybe-distclean-automake: distclean-automake
3570 @[ -f ./automake/Makefile ] || exit 0; \
3571 r=`${PWD_COMMAND}`; export r; \
3572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3575 for flag in $(EXTRA_HOST_FLAGS) ; do \
3576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3578 echo "Doing distclean in automake" ; \
3580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3582 "RANLIB=$${RANLIB}" \
3583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3589 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3590 maybe-maintainer-clean-automake:
3592 maybe-maintainer-clean-automake: maintainer-clean-automake
3594 maintainer-clean-automake:
3595 @[ -f ./automake/Makefile ] || exit 0; \
3596 r=`${PWD_COMMAND}`; export r; \
3597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3600 for flag in $(EXTRA_HOST_FLAGS) ; do \
3601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3603 echo "Doing maintainer-clean in automake" ; \
3605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3607 "RANLIB=$${RANLIB}" \
3608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3615 .PHONY: configure-bash maybe-configure-bash
3616 maybe-configure-bash:
3618 maybe-configure-bash: configure-bash
3620 @test ! -f bash/Makefile || exit 0; \
3621 [ -d bash ] || mkdir bash; \
3622 r=`${PWD_COMMAND}`; export r; \
3623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3625 echo Configuring in bash; \
3626 cd bash || exit 1; \
3629 srcdiroption="--srcdir=."; \
3631 /* | [A-Za-z]:[\\/]*) \
3632 srcdiroption="--srcdir=$(srcdir)/bash"; \
3633 libsrcdir="$$s/bash";; \
3635 srcdiroption="--srcdir=../$(srcdir)/bash"; \
3636 libsrcdir="$$s/bash";; \
3638 $(SHELL) $${libsrcdir}/configure \
3639 $(HOST_CONFIGARGS) $${srcdiroption} \
3643 .PHONY: all-bash maybe-all-bash
3647 maybe-all-bash: all-bash
3648 all-bash: configure-bash
3649 @r=`${PWD_COMMAND}`; export r; \
3650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3653 (cd bash && $(MAKE) $(FLAGS_TO_PASS) \
3657 .PHONY: check-bash maybe-check-bash
3660 maybe-check-bash: check-bash
3663 @r=`${PWD_COMMAND}`; export r; \
3664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3667 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
3671 .PHONY: install-bash maybe-install-bash
3674 maybe-install-bash: install-bash
3676 install-bash: installdirs
3677 @r=`${PWD_COMMAND}`; export r; \
3678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3681 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
3685 # Other targets (info, dvi, etc.)
3687 .PHONY: maybe-info-bash info-bash
3690 maybe-info-bash: info-bash
3694 @[ -f ./bash/Makefile ] || exit 0; \
3695 r=`${PWD_COMMAND}`; export r; \
3696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3699 for flag in $(EXTRA_HOST_FLAGS) ; do \
3700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3702 echo "Doing info in bash" ; \
3704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3706 "RANLIB=$${RANLIB}" \
3707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3713 .PHONY: maybe-dvi-bash dvi-bash
3716 maybe-dvi-bash: dvi-bash
3720 @[ -f ./bash/Makefile ] || exit 0; \
3721 r=`${PWD_COMMAND}`; export r; \
3722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3725 for flag in $(EXTRA_HOST_FLAGS) ; do \
3726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3728 echo "Doing dvi in bash" ; \
3730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3732 "RANLIB=$${RANLIB}" \
3733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3739 .PHONY: maybe-html-bash html-bash
3742 maybe-html-bash: html-bash
3746 @[ -f ./bash/Makefile ] || exit 0; \
3747 r=`${PWD_COMMAND}`; export r; \
3748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3751 for flag in $(EXTRA_HOST_FLAGS) ; do \
3752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3754 echo "Doing html in bash" ; \
3756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3758 "RANLIB=$${RANLIB}" \
3759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3765 .PHONY: maybe-TAGS-bash TAGS-bash
3768 maybe-TAGS-bash: TAGS-bash
3772 @[ -f ./bash/Makefile ] || exit 0; \
3773 r=`${PWD_COMMAND}`; export r; \
3774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3777 for flag in $(EXTRA_HOST_FLAGS) ; do \
3778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3780 echo "Doing TAGS in bash" ; \
3782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3784 "RANLIB=$${RANLIB}" \
3785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3791 .PHONY: maybe-install-info-bash install-info-bash
3792 maybe-install-info-bash:
3794 maybe-install-info-bash: install-info-bash
3796 install-info-bash: \
3799 @[ -f ./bash/Makefile ] || exit 0; \
3800 r=`${PWD_COMMAND}`; export r; \
3801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3804 for flag in $(EXTRA_HOST_FLAGS) ; do \
3805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3807 echo "Doing install-info in bash" ; \
3809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3811 "RANLIB=$${RANLIB}" \
3812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3818 .PHONY: maybe-installcheck-bash installcheck-bash
3819 maybe-installcheck-bash:
3821 maybe-installcheck-bash: installcheck-bash
3823 installcheck-bash: \
3825 @[ -f ./bash/Makefile ] || exit 0; \
3826 r=`${PWD_COMMAND}`; export r; \
3827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3830 for flag in $(EXTRA_HOST_FLAGS) ; do \
3831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3833 echo "Doing installcheck in bash" ; \
3835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3837 "RANLIB=$${RANLIB}" \
3838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3844 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3845 maybe-mostlyclean-bash:
3847 maybe-mostlyclean-bash: mostlyclean-bash
3850 @[ -f ./bash/Makefile ] || exit 0; \
3851 r=`${PWD_COMMAND}`; export r; \
3852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3855 for flag in $(EXTRA_HOST_FLAGS) ; do \
3856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3858 echo "Doing mostlyclean in bash" ; \
3860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3862 "RANLIB=$${RANLIB}" \
3863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3869 .PHONY: maybe-clean-bash clean-bash
3872 maybe-clean-bash: clean-bash
3875 @[ -f ./bash/Makefile ] || exit 0; \
3876 r=`${PWD_COMMAND}`; export r; \
3877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3880 for flag in $(EXTRA_HOST_FLAGS) ; do \
3881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3883 echo "Doing clean in bash" ; \
3885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3887 "RANLIB=$${RANLIB}" \
3888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3894 .PHONY: maybe-distclean-bash distclean-bash
3895 maybe-distclean-bash:
3897 maybe-distclean-bash: distclean-bash
3900 @[ -f ./bash/Makefile ] || exit 0; \
3901 r=`${PWD_COMMAND}`; export r; \
3902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3905 for flag in $(EXTRA_HOST_FLAGS) ; do \
3906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3908 echo "Doing distclean in bash" ; \
3910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3912 "RANLIB=$${RANLIB}" \
3913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3919 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3920 maybe-maintainer-clean-bash:
3922 maybe-maintainer-clean-bash: maintainer-clean-bash
3924 maintainer-clean-bash:
3925 @[ -f ./bash/Makefile ] || exit 0; \
3926 r=`${PWD_COMMAND}`; export r; \
3927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3930 for flag in $(EXTRA_HOST_FLAGS) ; do \
3931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3933 echo "Doing maintainer-clean in bash" ; \
3935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3937 "RANLIB=$${RANLIB}" \
3938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3945 .PHONY: configure-bfd maybe-configure-bfd
3946 maybe-configure-bfd:
3948 maybe-configure-bfd: configure-bfd
3950 @test -f stage_last && exit 0; \
3951 test ! -f bfd/Makefile || exit 0; \
3952 [ -d bfd ] || mkdir bfd; \
3953 r=`${PWD_COMMAND}`; export r; \
3954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3956 echo Configuring in bfd; \
3960 srcdiroption="--srcdir=."; \
3962 /* | [A-Za-z]:[\\/]*) \
3963 srcdiroption="--srcdir=$(srcdir)/bfd"; \
3964 libsrcdir="$$s/bfd";; \
3966 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3967 libsrcdir="$$s/bfd";; \
3969 $(SHELL) $${libsrcdir}/configure \
3970 $(HOST_CONFIGARGS) $${srcdiroption} \
3974 .PHONY: all-bfd maybe-all-bfd
3978 maybe-all-bfd: all-bfd
3979 all-bfd: configure-bfd
3980 @test -f stage_last && exit 0; \
3981 r=`${PWD_COMMAND}`; export r; \
3982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3985 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) \
3989 .PHONY: check-bfd maybe-check-bfd
3992 maybe-check-bfd: check-bfd
3995 @r=`${PWD_COMMAND}`; export r; \
3996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3999 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
4003 .PHONY: install-bfd maybe-install-bfd
4006 maybe-install-bfd: install-bfd
4008 install-bfd: installdirs
4009 @r=`${PWD_COMMAND}`; export r; \
4010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4013 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
4017 # Other targets (info, dvi, etc.)
4019 .PHONY: maybe-info-bfd info-bfd
4022 maybe-info-bfd: info-bfd
4026 @[ -f ./bfd/Makefile ] || exit 0; \
4027 r=`${PWD_COMMAND}`; export r; \
4028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4031 for flag in $(EXTRA_HOST_FLAGS) ; do \
4032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4034 echo "Doing info in bfd" ; \
4036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4038 "RANLIB=$${RANLIB}" \
4039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4045 .PHONY: maybe-dvi-bfd dvi-bfd
4048 maybe-dvi-bfd: dvi-bfd
4052 @[ -f ./bfd/Makefile ] || exit 0; \
4053 r=`${PWD_COMMAND}`; export r; \
4054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4057 for flag in $(EXTRA_HOST_FLAGS) ; do \
4058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4060 echo "Doing dvi in bfd" ; \
4062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4064 "RANLIB=$${RANLIB}" \
4065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4071 .PHONY: maybe-html-bfd html-bfd
4074 maybe-html-bfd: html-bfd
4078 @[ -f ./bfd/Makefile ] || exit 0; \
4079 r=`${PWD_COMMAND}`; export r; \
4080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4083 for flag in $(EXTRA_HOST_FLAGS) ; do \
4084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4086 echo "Doing html in bfd" ; \
4088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4090 "RANLIB=$${RANLIB}" \
4091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4097 .PHONY: maybe-TAGS-bfd TAGS-bfd
4100 maybe-TAGS-bfd: TAGS-bfd
4104 @[ -f ./bfd/Makefile ] || exit 0; \
4105 r=`${PWD_COMMAND}`; export r; \
4106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4109 for flag in $(EXTRA_HOST_FLAGS) ; do \
4110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4112 echo "Doing TAGS in bfd" ; \
4114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4116 "RANLIB=$${RANLIB}" \
4117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4123 .PHONY: maybe-install-info-bfd install-info-bfd
4124 maybe-install-info-bfd:
4126 maybe-install-info-bfd: install-info-bfd
4131 @[ -f ./bfd/Makefile ] || exit 0; \
4132 r=`${PWD_COMMAND}`; export r; \
4133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4136 for flag in $(EXTRA_HOST_FLAGS) ; do \
4137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4139 echo "Doing install-info in bfd" ; \
4141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4143 "RANLIB=$${RANLIB}" \
4144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4150 .PHONY: maybe-installcheck-bfd installcheck-bfd
4151 maybe-installcheck-bfd:
4153 maybe-installcheck-bfd: installcheck-bfd
4157 @[ -f ./bfd/Makefile ] || exit 0; \
4158 r=`${PWD_COMMAND}`; export r; \
4159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4162 for flag in $(EXTRA_HOST_FLAGS) ; do \
4163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4165 echo "Doing installcheck in bfd" ; \
4167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4169 "RANLIB=$${RANLIB}" \
4170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4176 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4177 maybe-mostlyclean-bfd:
4179 maybe-mostlyclean-bfd: mostlyclean-bfd
4182 @[ -f ./bfd/Makefile ] || exit 0; \
4183 r=`${PWD_COMMAND}`; export r; \
4184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4187 for flag in $(EXTRA_HOST_FLAGS) ; do \
4188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4190 echo "Doing mostlyclean in bfd" ; \
4192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4194 "RANLIB=$${RANLIB}" \
4195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4201 .PHONY: maybe-clean-bfd clean-bfd
4204 maybe-clean-bfd: clean-bfd
4207 @[ -f ./bfd/Makefile ] || exit 0; \
4208 r=`${PWD_COMMAND}`; export r; \
4209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4212 for flag in $(EXTRA_HOST_FLAGS) ; do \
4213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4215 echo "Doing clean in bfd" ; \
4217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4219 "RANLIB=$${RANLIB}" \
4220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4226 .PHONY: maybe-distclean-bfd distclean-bfd
4227 maybe-distclean-bfd:
4229 maybe-distclean-bfd: distclean-bfd
4232 @[ -f ./bfd/Makefile ] || exit 0; \
4233 r=`${PWD_COMMAND}`; export r; \
4234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4237 for flag in $(EXTRA_HOST_FLAGS) ; do \
4238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4240 echo "Doing distclean in bfd" ; \
4242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4244 "RANLIB=$${RANLIB}" \
4245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4251 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4252 maybe-maintainer-clean-bfd:
4254 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4256 maintainer-clean-bfd:
4257 @[ -f ./bfd/Makefile ] || exit 0; \
4258 r=`${PWD_COMMAND}`; export r; \
4259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4262 for flag in $(EXTRA_HOST_FLAGS) ; do \
4263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4265 echo "Doing maintainer-clean in bfd" ; \
4267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4269 "RANLIB=$${RANLIB}" \
4270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4277 .PHONY: configure-opcodes maybe-configure-opcodes
4278 maybe-configure-opcodes:
4280 maybe-configure-opcodes: configure-opcodes
4282 @test -f stage_last && exit 0; \
4283 test ! -f opcodes/Makefile || exit 0; \
4284 [ -d opcodes ] || mkdir opcodes; \
4285 r=`${PWD_COMMAND}`; export r; \
4286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4288 echo Configuring in opcodes; \
4289 cd opcodes || exit 1; \
4292 srcdiroption="--srcdir=."; \
4294 /* | [A-Za-z]:[\\/]*) \
4295 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
4296 libsrcdir="$$s/opcodes";; \
4298 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
4299 libsrcdir="$$s/opcodes";; \
4301 $(SHELL) $${libsrcdir}/configure \
4302 $(HOST_CONFIGARGS) $${srcdiroption} \
4306 .PHONY: all-opcodes maybe-all-opcodes
4310 maybe-all-opcodes: all-opcodes
4311 all-opcodes: configure-opcodes
4312 @test -f stage_last && exit 0; \
4313 r=`${PWD_COMMAND}`; export r; \
4314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4317 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) \
4321 .PHONY: check-opcodes maybe-check-opcodes
4322 maybe-check-opcodes:
4324 maybe-check-opcodes: check-opcodes
4327 @r=`${PWD_COMMAND}`; export r; \
4328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4331 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
4335 .PHONY: install-opcodes maybe-install-opcodes
4336 maybe-install-opcodes:
4338 maybe-install-opcodes: install-opcodes
4340 install-opcodes: installdirs
4341 @r=`${PWD_COMMAND}`; export r; \
4342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4345 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
4349 # Other targets (info, dvi, etc.)
4351 .PHONY: maybe-info-opcodes info-opcodes
4354 maybe-info-opcodes: info-opcodes
4358 @[ -f ./opcodes/Makefile ] || exit 0; \
4359 r=`${PWD_COMMAND}`; export r; \
4360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4363 for flag in $(EXTRA_HOST_FLAGS) ; do \
4364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4366 echo "Doing info in opcodes" ; \
4368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4370 "RANLIB=$${RANLIB}" \
4371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4377 .PHONY: maybe-dvi-opcodes dvi-opcodes
4380 maybe-dvi-opcodes: dvi-opcodes
4384 @[ -f ./opcodes/Makefile ] || exit 0; \
4385 r=`${PWD_COMMAND}`; export r; \
4386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4389 for flag in $(EXTRA_HOST_FLAGS) ; do \
4390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4392 echo "Doing dvi in opcodes" ; \
4394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4396 "RANLIB=$${RANLIB}" \
4397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4403 .PHONY: maybe-html-opcodes html-opcodes
4406 maybe-html-opcodes: html-opcodes
4410 @[ -f ./opcodes/Makefile ] || exit 0; \
4411 r=`${PWD_COMMAND}`; export r; \
4412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4415 for flag in $(EXTRA_HOST_FLAGS) ; do \
4416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4418 echo "Doing html in opcodes" ; \
4420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4422 "RANLIB=$${RANLIB}" \
4423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4429 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4432 maybe-TAGS-opcodes: TAGS-opcodes
4436 @[ -f ./opcodes/Makefile ] || exit 0; \
4437 r=`${PWD_COMMAND}`; export r; \
4438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4441 for flag in $(EXTRA_HOST_FLAGS) ; do \
4442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4444 echo "Doing TAGS in opcodes" ; \
4446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4448 "RANLIB=$${RANLIB}" \
4449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4455 .PHONY: maybe-install-info-opcodes install-info-opcodes
4456 maybe-install-info-opcodes:
4458 maybe-install-info-opcodes: install-info-opcodes
4460 install-info-opcodes: \
4463 @[ -f ./opcodes/Makefile ] || exit 0; \
4464 r=`${PWD_COMMAND}`; export r; \
4465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4468 for flag in $(EXTRA_HOST_FLAGS) ; do \
4469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4471 echo "Doing install-info in opcodes" ; \
4473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4475 "RANLIB=$${RANLIB}" \
4476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4482 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4483 maybe-installcheck-opcodes:
4485 maybe-installcheck-opcodes: installcheck-opcodes
4487 installcheck-opcodes: \
4489 @[ -f ./opcodes/Makefile ] || exit 0; \
4490 r=`${PWD_COMMAND}`; export r; \
4491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4494 for flag in $(EXTRA_HOST_FLAGS) ; do \
4495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4497 echo "Doing installcheck in opcodes" ; \
4499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4501 "RANLIB=$${RANLIB}" \
4502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4508 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4509 maybe-mostlyclean-opcodes:
4511 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4513 mostlyclean-opcodes:
4514 @[ -f ./opcodes/Makefile ] || exit 0; \
4515 r=`${PWD_COMMAND}`; export r; \
4516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4519 for flag in $(EXTRA_HOST_FLAGS) ; do \
4520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4522 echo "Doing mostlyclean in opcodes" ; \
4524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4526 "RANLIB=$${RANLIB}" \
4527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4533 .PHONY: maybe-clean-opcodes clean-opcodes
4534 maybe-clean-opcodes:
4536 maybe-clean-opcodes: clean-opcodes
4539 @[ -f ./opcodes/Makefile ] || exit 0; \
4540 r=`${PWD_COMMAND}`; export r; \
4541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4544 for flag in $(EXTRA_HOST_FLAGS) ; do \
4545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4547 echo "Doing clean in opcodes" ; \
4549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4551 "RANLIB=$${RANLIB}" \
4552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4558 .PHONY: maybe-distclean-opcodes distclean-opcodes
4559 maybe-distclean-opcodes:
4561 maybe-distclean-opcodes: distclean-opcodes
4564 @[ -f ./opcodes/Makefile ] || exit 0; \
4565 r=`${PWD_COMMAND}`; export r; \
4566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4569 for flag in $(EXTRA_HOST_FLAGS) ; do \
4570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4572 echo "Doing distclean in opcodes" ; \
4574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4576 "RANLIB=$${RANLIB}" \
4577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4583 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4584 maybe-maintainer-clean-opcodes:
4586 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4588 maintainer-clean-opcodes:
4589 @[ -f ./opcodes/Makefile ] || exit 0; \
4590 r=`${PWD_COMMAND}`; export r; \
4591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4594 for flag in $(EXTRA_HOST_FLAGS) ; do \
4595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4597 echo "Doing maintainer-clean in opcodes" ; \
4599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4601 "RANLIB=$${RANLIB}" \
4602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4609 .PHONY: configure-binutils maybe-configure-binutils
4610 maybe-configure-binutils:
4612 maybe-configure-binutils: configure-binutils
4614 @test -f stage_last && exit 0; \
4615 test ! -f binutils/Makefile || exit 0; \
4616 [ -d binutils ] || mkdir binutils; \
4617 r=`${PWD_COMMAND}`; export r; \
4618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4620 echo Configuring in binutils; \
4621 cd binutils || exit 1; \
4624 srcdiroption="--srcdir=."; \
4626 /* | [A-Za-z]:[\\/]*) \
4627 srcdiroption="--srcdir=$(srcdir)/binutils"; \
4628 libsrcdir="$$s/binutils";; \
4630 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
4631 libsrcdir="$$s/binutils";; \
4633 $(SHELL) $${libsrcdir}/configure \
4634 $(HOST_CONFIGARGS) $${srcdiroption} \
4638 .PHONY: all-binutils maybe-all-binutils
4642 maybe-all-binutils: all-binutils
4643 all-binutils: configure-binutils
4644 @test -f stage_last && exit 0; \
4645 r=`${PWD_COMMAND}`; export r; \
4646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4649 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) \
4653 .PHONY: check-binutils maybe-check-binutils
4654 maybe-check-binutils:
4656 maybe-check-binutils: check-binutils
4659 @r=`${PWD_COMMAND}`; export r; \
4660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4663 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
4667 .PHONY: install-binutils maybe-install-binutils
4668 maybe-install-binutils:
4670 maybe-install-binutils: install-binutils
4672 install-binutils: installdirs
4673 @r=`${PWD_COMMAND}`; export r; \
4674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4677 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
4681 # Other targets (info, dvi, etc.)
4683 .PHONY: maybe-info-binutils info-binutils
4684 maybe-info-binutils:
4686 maybe-info-binutils: info-binutils
4690 @[ -f ./binutils/Makefile ] || exit 0; \
4691 r=`${PWD_COMMAND}`; export r; \
4692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4695 for flag in $(EXTRA_HOST_FLAGS) ; do \
4696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4698 echo "Doing info in binutils" ; \
4700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4702 "RANLIB=$${RANLIB}" \
4703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4709 .PHONY: maybe-dvi-binutils dvi-binutils
4712 maybe-dvi-binutils: dvi-binutils
4716 @[ -f ./binutils/Makefile ] || exit 0; \
4717 r=`${PWD_COMMAND}`; export r; \
4718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4721 for flag in $(EXTRA_HOST_FLAGS) ; do \
4722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4724 echo "Doing dvi in binutils" ; \
4726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4728 "RANLIB=$${RANLIB}" \
4729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4735 .PHONY: maybe-html-binutils html-binutils
4736 maybe-html-binutils:
4738 maybe-html-binutils: html-binutils
4742 @[ -f ./binutils/Makefile ] || exit 0; \
4743 r=`${PWD_COMMAND}`; export r; \
4744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4747 for flag in $(EXTRA_HOST_FLAGS) ; do \
4748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4750 echo "Doing html in binutils" ; \
4752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4754 "RANLIB=$${RANLIB}" \
4755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4761 .PHONY: maybe-TAGS-binutils TAGS-binutils
4762 maybe-TAGS-binutils:
4764 maybe-TAGS-binutils: TAGS-binutils
4768 @[ -f ./binutils/Makefile ] || exit 0; \
4769 r=`${PWD_COMMAND}`; export r; \
4770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4773 for flag in $(EXTRA_HOST_FLAGS) ; do \
4774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4776 echo "Doing TAGS in binutils" ; \
4778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4780 "RANLIB=$${RANLIB}" \
4781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4787 .PHONY: maybe-install-info-binutils install-info-binutils
4788 maybe-install-info-binutils:
4790 maybe-install-info-binutils: install-info-binutils
4792 install-info-binutils: \
4793 configure-binutils \
4795 @[ -f ./binutils/Makefile ] || exit 0; \
4796 r=`${PWD_COMMAND}`; export r; \
4797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4800 for flag in $(EXTRA_HOST_FLAGS) ; do \
4801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4803 echo "Doing install-info in binutils" ; \
4805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4807 "RANLIB=$${RANLIB}" \
4808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4814 .PHONY: maybe-installcheck-binutils installcheck-binutils
4815 maybe-installcheck-binutils:
4817 maybe-installcheck-binutils: installcheck-binutils
4819 installcheck-binutils: \
4821 @[ -f ./binutils/Makefile ] || exit 0; \
4822 r=`${PWD_COMMAND}`; export r; \
4823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4826 for flag in $(EXTRA_HOST_FLAGS) ; do \
4827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4829 echo "Doing installcheck in binutils" ; \
4831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4833 "RANLIB=$${RANLIB}" \
4834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4840 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4841 maybe-mostlyclean-binutils:
4843 maybe-mostlyclean-binutils: mostlyclean-binutils
4845 mostlyclean-binutils:
4846 @[ -f ./binutils/Makefile ] || exit 0; \
4847 r=`${PWD_COMMAND}`; export r; \
4848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4851 for flag in $(EXTRA_HOST_FLAGS) ; do \
4852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4854 echo "Doing mostlyclean in binutils" ; \
4856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4858 "RANLIB=$${RANLIB}" \
4859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4865 .PHONY: maybe-clean-binutils clean-binutils
4866 maybe-clean-binutils:
4868 maybe-clean-binutils: clean-binutils
4871 @[ -f ./binutils/Makefile ] || exit 0; \
4872 r=`${PWD_COMMAND}`; export r; \
4873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4876 for flag in $(EXTRA_HOST_FLAGS) ; do \
4877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4879 echo "Doing clean in binutils" ; \
4881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4883 "RANLIB=$${RANLIB}" \
4884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4890 .PHONY: maybe-distclean-binutils distclean-binutils
4891 maybe-distclean-binutils:
4893 maybe-distclean-binutils: distclean-binutils
4896 @[ -f ./binutils/Makefile ] || exit 0; \
4897 r=`${PWD_COMMAND}`; export r; \
4898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4901 for flag in $(EXTRA_HOST_FLAGS) ; do \
4902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4904 echo "Doing distclean in binutils" ; \
4906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4908 "RANLIB=$${RANLIB}" \
4909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4915 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4916 maybe-maintainer-clean-binutils:
4918 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4920 maintainer-clean-binutils:
4921 @[ -f ./binutils/Makefile ] || exit 0; \
4922 r=`${PWD_COMMAND}`; export r; \
4923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4926 for flag in $(EXTRA_HOST_FLAGS) ; do \
4927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4929 echo "Doing maintainer-clean in binutils" ; \
4931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4933 "RANLIB=$${RANLIB}" \
4934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4941 .PHONY: configure-bison maybe-configure-bison
4942 maybe-configure-bison:
4944 maybe-configure-bison: configure-bison
4946 @test ! -f bison/Makefile || exit 0; \
4947 [ -d bison ] || mkdir bison; \
4948 r=`${PWD_COMMAND}`; export r; \
4949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4951 echo Configuring in bison; \
4952 cd bison || exit 1; \
4955 srcdiroption="--srcdir=."; \
4957 /* | [A-Za-z]:[\\/]*) \
4958 srcdiroption="--srcdir=$(srcdir)/bison"; \
4959 libsrcdir="$$s/bison";; \
4961 srcdiroption="--srcdir=../$(srcdir)/bison"; \
4962 libsrcdir="$$s/bison";; \
4964 $(SHELL) $${libsrcdir}/configure \
4965 $(HOST_CONFIGARGS) $${srcdiroption} \
4969 .PHONY: all-bison maybe-all-bison
4973 maybe-all-bison: all-bison
4974 all-bison: configure-bison
4975 @r=`${PWD_COMMAND}`; export r; \
4976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4979 (cd bison && $(MAKE) $(FLAGS_TO_PASS) \
4983 .PHONY: check-bison maybe-check-bison
4986 maybe-check-bison: check-bison
4988 # This module is only tested in a native toolchain.
4990 @if [ '$(host)' = '$(target)' ] ; then \
4991 r=`${PWD_COMMAND}`; export r; \
4992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4995 (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
5000 .PHONY: install-bison maybe-install-bison
5001 maybe-install-bison:
5003 maybe-install-bison: install-bison
5005 install-bison: installdirs
5006 @r=`${PWD_COMMAND}`; export r; \
5007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5010 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
5014 # Other targets (info, dvi, etc.)
5016 .PHONY: maybe-info-bison info-bison
5019 maybe-info-bison: info-bison
5023 @[ -f ./bison/Makefile ] || exit 0; \
5024 r=`${PWD_COMMAND}`; export r; \
5025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5028 for flag in $(EXTRA_HOST_FLAGS) ; do \
5029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5031 echo "Doing info in bison" ; \
5033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5035 "RANLIB=$${RANLIB}" \
5036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5042 .PHONY: maybe-dvi-bison dvi-bison
5045 maybe-dvi-bison: dvi-bison
5049 @[ -f ./bison/Makefile ] || exit 0; \
5050 r=`${PWD_COMMAND}`; export r; \
5051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5054 for flag in $(EXTRA_HOST_FLAGS) ; do \
5055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5057 echo "Doing dvi in bison" ; \
5059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5061 "RANLIB=$${RANLIB}" \
5062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5068 .PHONY: maybe-html-bison html-bison
5071 maybe-html-bison: html-bison
5075 @[ -f ./bison/Makefile ] || exit 0; \
5076 r=`${PWD_COMMAND}`; export r; \
5077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5080 for flag in $(EXTRA_HOST_FLAGS) ; do \
5081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5083 echo "Doing html in bison" ; \
5085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5087 "RANLIB=$${RANLIB}" \
5088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5094 .PHONY: maybe-TAGS-bison TAGS-bison
5097 maybe-TAGS-bison: TAGS-bison
5101 @[ -f ./bison/Makefile ] || exit 0; \
5102 r=`${PWD_COMMAND}`; export r; \
5103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5106 for flag in $(EXTRA_HOST_FLAGS) ; do \
5107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5109 echo "Doing TAGS in bison" ; \
5111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5113 "RANLIB=$${RANLIB}" \
5114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5120 .PHONY: maybe-install-info-bison install-info-bison
5121 maybe-install-info-bison:
5123 maybe-install-info-bison: install-info-bison
5125 install-info-bison: \
5128 @[ -f ./bison/Makefile ] || exit 0; \
5129 r=`${PWD_COMMAND}`; export r; \
5130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5133 for flag in $(EXTRA_HOST_FLAGS) ; do \
5134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5136 echo "Doing install-info in bison" ; \
5138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5140 "RANLIB=$${RANLIB}" \
5141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5147 .PHONY: maybe-installcheck-bison installcheck-bison
5148 maybe-installcheck-bison:
5150 maybe-installcheck-bison: installcheck-bison
5152 installcheck-bison: \
5154 @[ -f ./bison/Makefile ] || exit 0; \
5155 r=`${PWD_COMMAND}`; export r; \
5156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5159 for flag in $(EXTRA_HOST_FLAGS) ; do \
5160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5162 echo "Doing installcheck in bison" ; \
5164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5166 "RANLIB=$${RANLIB}" \
5167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5173 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5174 maybe-mostlyclean-bison:
5176 maybe-mostlyclean-bison: mostlyclean-bison
5179 @[ -f ./bison/Makefile ] || exit 0; \
5180 r=`${PWD_COMMAND}`; export r; \
5181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5184 for flag in $(EXTRA_HOST_FLAGS) ; do \
5185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5187 echo "Doing mostlyclean in bison" ; \
5189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5191 "RANLIB=$${RANLIB}" \
5192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5198 .PHONY: maybe-clean-bison clean-bison
5201 maybe-clean-bison: clean-bison
5204 @[ -f ./bison/Makefile ] || exit 0; \
5205 r=`${PWD_COMMAND}`; export r; \
5206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5209 for flag in $(EXTRA_HOST_FLAGS) ; do \
5210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5212 echo "Doing clean in bison" ; \
5214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5216 "RANLIB=$${RANLIB}" \
5217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5223 .PHONY: maybe-distclean-bison distclean-bison
5224 maybe-distclean-bison:
5226 maybe-distclean-bison: distclean-bison
5229 @[ -f ./bison/Makefile ] || exit 0; \
5230 r=`${PWD_COMMAND}`; export r; \
5231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5234 for flag in $(EXTRA_HOST_FLAGS) ; do \
5235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5237 echo "Doing distclean in bison" ; \
5239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5241 "RANLIB=$${RANLIB}" \
5242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5248 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
5249 maybe-maintainer-clean-bison:
5251 maybe-maintainer-clean-bison: maintainer-clean-bison
5253 maintainer-clean-bison:
5254 @[ -f ./bison/Makefile ] || exit 0; \
5255 r=`${PWD_COMMAND}`; export r; \
5256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5259 for flag in $(EXTRA_HOST_FLAGS) ; do \
5260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5262 echo "Doing maintainer-clean in bison" ; \
5264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5266 "RANLIB=$${RANLIB}" \
5267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5274 .PHONY: configure-byacc maybe-configure-byacc
5275 maybe-configure-byacc:
5277 maybe-configure-byacc: configure-byacc
5279 @test ! -f byacc/Makefile || exit 0; \
5280 [ -d byacc ] || mkdir byacc; \
5281 r=`${PWD_COMMAND}`; export r; \
5282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5284 echo Configuring in byacc; \
5285 cd byacc || exit 1; \
5288 srcdiroption="--srcdir=."; \
5290 /* | [A-Za-z]:[\\/]*) \
5291 srcdiroption="--srcdir=$(srcdir)/byacc"; \
5292 libsrcdir="$$s/byacc";; \
5294 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
5295 libsrcdir="$$s/byacc";; \
5297 $(SHELL) $${libsrcdir}/configure \
5298 $(HOST_CONFIGARGS) $${srcdiroption} \
5302 .PHONY: all-byacc maybe-all-byacc
5306 maybe-all-byacc: all-byacc
5307 all-byacc: configure-byacc
5308 @r=`${PWD_COMMAND}`; export r; \
5309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5312 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) \
5316 .PHONY: check-byacc maybe-check-byacc
5319 maybe-check-byacc: check-byacc
5321 # This module is only tested in a native toolchain.
5323 @if [ '$(host)' = '$(target)' ] ; then \
5324 r=`${PWD_COMMAND}`; export r; \
5325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5328 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \
5333 .PHONY: install-byacc maybe-install-byacc
5334 maybe-install-byacc:
5336 maybe-install-byacc: install-byacc
5338 install-byacc: installdirs
5339 @r=`${PWD_COMMAND}`; export r; \
5340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5343 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
5347 # Other targets (info, dvi, etc.)
5349 .PHONY: maybe-info-byacc info-byacc
5352 maybe-info-byacc: info-byacc
5356 @[ -f ./byacc/Makefile ] || exit 0; \
5357 r=`${PWD_COMMAND}`; export r; \
5358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5361 for flag in $(EXTRA_HOST_FLAGS) ; do \
5362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5364 echo "Doing info in byacc" ; \
5366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5368 "RANLIB=$${RANLIB}" \
5369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5375 .PHONY: maybe-dvi-byacc dvi-byacc
5378 maybe-dvi-byacc: dvi-byacc
5382 @[ -f ./byacc/Makefile ] || exit 0; \
5383 r=`${PWD_COMMAND}`; export r; \
5384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5387 for flag in $(EXTRA_HOST_FLAGS) ; do \
5388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5390 echo "Doing dvi in byacc" ; \
5392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5394 "RANLIB=$${RANLIB}" \
5395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5401 .PHONY: maybe-html-byacc html-byacc
5404 maybe-html-byacc: html-byacc
5408 @[ -f ./byacc/Makefile ] || exit 0; \
5409 r=`${PWD_COMMAND}`; export r; \
5410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5413 for flag in $(EXTRA_HOST_FLAGS) ; do \
5414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5416 echo "Doing html in byacc" ; \
5418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5420 "RANLIB=$${RANLIB}" \
5421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5427 .PHONY: maybe-TAGS-byacc TAGS-byacc
5430 maybe-TAGS-byacc: TAGS-byacc
5434 @[ -f ./byacc/Makefile ] || exit 0; \
5435 r=`${PWD_COMMAND}`; export r; \
5436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5439 for flag in $(EXTRA_HOST_FLAGS) ; do \
5440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5442 echo "Doing TAGS in byacc" ; \
5444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5446 "RANLIB=$${RANLIB}" \
5447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5453 .PHONY: maybe-install-info-byacc install-info-byacc
5454 maybe-install-info-byacc:
5456 maybe-install-info-byacc: install-info-byacc
5458 install-info-byacc: \
5461 @[ -f ./byacc/Makefile ] || exit 0; \
5462 r=`${PWD_COMMAND}`; export r; \
5463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5466 for flag in $(EXTRA_HOST_FLAGS) ; do \
5467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5469 echo "Doing install-info in byacc" ; \
5471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5473 "RANLIB=$${RANLIB}" \
5474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5480 .PHONY: maybe-installcheck-byacc installcheck-byacc
5481 maybe-installcheck-byacc:
5483 maybe-installcheck-byacc: installcheck-byacc
5485 installcheck-byacc: \
5487 @[ -f ./byacc/Makefile ] || exit 0; \
5488 r=`${PWD_COMMAND}`; export r; \
5489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5492 for flag in $(EXTRA_HOST_FLAGS) ; do \
5493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5495 echo "Doing installcheck in byacc" ; \
5497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5499 "RANLIB=$${RANLIB}" \
5500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5506 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
5507 maybe-mostlyclean-byacc:
5509 maybe-mostlyclean-byacc: mostlyclean-byacc
5512 @[ -f ./byacc/Makefile ] || exit 0; \
5513 r=`${PWD_COMMAND}`; export r; \
5514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5517 for flag in $(EXTRA_HOST_FLAGS) ; do \
5518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5520 echo "Doing mostlyclean in byacc" ; \
5522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5524 "RANLIB=$${RANLIB}" \
5525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5531 .PHONY: maybe-clean-byacc clean-byacc
5534 maybe-clean-byacc: clean-byacc
5537 @[ -f ./byacc/Makefile ] || exit 0; \
5538 r=`${PWD_COMMAND}`; export r; \
5539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5542 for flag in $(EXTRA_HOST_FLAGS) ; do \
5543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5545 echo "Doing clean in byacc" ; \
5547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5549 "RANLIB=$${RANLIB}" \
5550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5556 .PHONY: maybe-distclean-byacc distclean-byacc
5557 maybe-distclean-byacc:
5559 maybe-distclean-byacc: distclean-byacc
5562 @[ -f ./byacc/Makefile ] || exit 0; \
5563 r=`${PWD_COMMAND}`; export r; \
5564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5567 for flag in $(EXTRA_HOST_FLAGS) ; do \
5568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5570 echo "Doing distclean in byacc" ; \
5572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5574 "RANLIB=$${RANLIB}" \
5575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5581 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
5582 maybe-maintainer-clean-byacc:
5584 maybe-maintainer-clean-byacc: maintainer-clean-byacc
5586 maintainer-clean-byacc:
5587 @[ -f ./byacc/Makefile ] || exit 0; \
5588 r=`${PWD_COMMAND}`; export r; \
5589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5592 for flag in $(EXTRA_HOST_FLAGS) ; do \
5593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5595 echo "Doing maintainer-clean in byacc" ; \
5597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5599 "RANLIB=$${RANLIB}" \
5600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5607 .PHONY: configure-bzip2 maybe-configure-bzip2
5608 maybe-configure-bzip2:
5610 maybe-configure-bzip2: configure-bzip2
5612 @test ! -f bzip2/Makefile || exit 0; \
5613 [ -d bzip2 ] || mkdir bzip2; \
5614 r=`${PWD_COMMAND}`; export r; \
5615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5617 echo Configuring in bzip2; \
5618 cd bzip2 || exit 1; \
5621 srcdiroption="--srcdir=."; \
5623 /* | [A-Za-z]:[\\/]*) \
5624 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
5625 libsrcdir="$$s/bzip2";; \
5627 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
5628 libsrcdir="$$s/bzip2";; \
5630 $(SHELL) $${libsrcdir}/configure \
5631 $(HOST_CONFIGARGS) $${srcdiroption} \
5635 .PHONY: all-bzip2 maybe-all-bzip2
5639 maybe-all-bzip2: all-bzip2
5640 all-bzip2: configure-bzip2
5641 @r=`${PWD_COMMAND}`; export r; \
5642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5645 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) \
5649 .PHONY: check-bzip2 maybe-check-bzip2
5652 maybe-check-bzip2: check-bzip2
5655 @r=`${PWD_COMMAND}`; export r; \
5656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5659 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
5663 .PHONY: install-bzip2 maybe-install-bzip2
5664 maybe-install-bzip2:
5666 maybe-install-bzip2: install-bzip2
5668 install-bzip2: installdirs
5669 @r=`${PWD_COMMAND}`; export r; \
5670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5673 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
5677 # Other targets (info, dvi, etc.)
5679 .PHONY: maybe-info-bzip2 info-bzip2
5682 maybe-info-bzip2: info-bzip2
5686 @[ -f ./bzip2/Makefile ] || exit 0; \
5687 r=`${PWD_COMMAND}`; export r; \
5688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5691 for flag in $(EXTRA_HOST_FLAGS) ; do \
5692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5694 echo "Doing info in bzip2" ; \
5696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5698 "RANLIB=$${RANLIB}" \
5699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5705 .PHONY: maybe-dvi-bzip2 dvi-bzip2
5708 maybe-dvi-bzip2: dvi-bzip2
5712 @[ -f ./bzip2/Makefile ] || exit 0; \
5713 r=`${PWD_COMMAND}`; export r; \
5714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5717 for flag in $(EXTRA_HOST_FLAGS) ; do \
5718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5720 echo "Doing dvi in bzip2" ; \
5722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5724 "RANLIB=$${RANLIB}" \
5725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5731 .PHONY: maybe-html-bzip2 html-bzip2
5734 maybe-html-bzip2: html-bzip2
5738 @[ -f ./bzip2/Makefile ] || exit 0; \
5739 r=`${PWD_COMMAND}`; export r; \
5740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5743 for flag in $(EXTRA_HOST_FLAGS) ; do \
5744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5746 echo "Doing html in bzip2" ; \
5748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5750 "RANLIB=$${RANLIB}" \
5751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5757 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
5760 maybe-TAGS-bzip2: TAGS-bzip2
5764 @[ -f ./bzip2/Makefile ] || exit 0; \
5765 r=`${PWD_COMMAND}`; export r; \
5766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5769 for flag in $(EXTRA_HOST_FLAGS) ; do \
5770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5772 echo "Doing TAGS in bzip2" ; \
5774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5776 "RANLIB=$${RANLIB}" \
5777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5783 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5784 maybe-install-info-bzip2:
5786 maybe-install-info-bzip2: install-info-bzip2
5788 install-info-bzip2: \
5791 @[ -f ./bzip2/Makefile ] || exit 0; \
5792 r=`${PWD_COMMAND}`; export r; \
5793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5796 for flag in $(EXTRA_HOST_FLAGS) ; do \
5797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5799 echo "Doing install-info in bzip2" ; \
5801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5803 "RANLIB=$${RANLIB}" \
5804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5810 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5811 maybe-installcheck-bzip2:
5813 maybe-installcheck-bzip2: installcheck-bzip2
5815 installcheck-bzip2: \
5817 @[ -f ./bzip2/Makefile ] || exit 0; \
5818 r=`${PWD_COMMAND}`; export r; \
5819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5822 for flag in $(EXTRA_HOST_FLAGS) ; do \
5823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5825 echo "Doing installcheck in bzip2" ; \
5827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5829 "RANLIB=$${RANLIB}" \
5830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5836 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5837 maybe-mostlyclean-bzip2:
5839 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5842 @[ -f ./bzip2/Makefile ] || exit 0; \
5843 r=`${PWD_COMMAND}`; export r; \
5844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5847 for flag in $(EXTRA_HOST_FLAGS) ; do \
5848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5850 echo "Doing mostlyclean in bzip2" ; \
5852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5854 "RANLIB=$${RANLIB}" \
5855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5861 .PHONY: maybe-clean-bzip2 clean-bzip2
5864 maybe-clean-bzip2: clean-bzip2
5867 @[ -f ./bzip2/Makefile ] || exit 0; \
5868 r=`${PWD_COMMAND}`; export r; \
5869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5872 for flag in $(EXTRA_HOST_FLAGS) ; do \
5873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5875 echo "Doing clean in bzip2" ; \
5877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5879 "RANLIB=$${RANLIB}" \
5880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5886 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5887 maybe-distclean-bzip2:
5889 maybe-distclean-bzip2: distclean-bzip2
5892 @[ -f ./bzip2/Makefile ] || exit 0; \
5893 r=`${PWD_COMMAND}`; export r; \
5894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5897 for flag in $(EXTRA_HOST_FLAGS) ; do \
5898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5900 echo "Doing distclean in bzip2" ; \
5902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5904 "RANLIB=$${RANLIB}" \
5905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5911 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5912 maybe-maintainer-clean-bzip2:
5914 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5916 maintainer-clean-bzip2:
5917 @[ -f ./bzip2/Makefile ] || exit 0; \
5918 r=`${PWD_COMMAND}`; export r; \
5919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5922 for flag in $(EXTRA_HOST_FLAGS) ; do \
5923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5925 echo "Doing maintainer-clean in bzip2" ; \
5927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5929 "RANLIB=$${RANLIB}" \
5930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5937 .PHONY: configure-dejagnu maybe-configure-dejagnu
5938 maybe-configure-dejagnu:
5940 maybe-configure-dejagnu: configure-dejagnu
5942 @test ! -f dejagnu/Makefile || exit 0; \
5943 [ -d dejagnu ] || mkdir dejagnu; \
5944 r=`${PWD_COMMAND}`; export r; \
5945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5947 echo Configuring in dejagnu; \
5948 cd dejagnu || exit 1; \
5951 srcdiroption="--srcdir=."; \
5953 /* | [A-Za-z]:[\\/]*) \
5954 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
5955 libsrcdir="$$s/dejagnu";; \
5957 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
5958 libsrcdir="$$s/dejagnu";; \
5960 $(SHELL) $${libsrcdir}/configure \
5961 $(HOST_CONFIGARGS) $${srcdiroption} \
5965 .PHONY: all-dejagnu maybe-all-dejagnu
5969 maybe-all-dejagnu: all-dejagnu
5970 all-dejagnu: configure-dejagnu
5971 @r=`${PWD_COMMAND}`; export r; \
5972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5975 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) \
5979 .PHONY: check-dejagnu maybe-check-dejagnu
5980 maybe-check-dejagnu:
5982 maybe-check-dejagnu: check-dejagnu
5985 @r=`${PWD_COMMAND}`; export r; \
5986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5989 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
5993 .PHONY: install-dejagnu maybe-install-dejagnu
5994 maybe-install-dejagnu:
5996 maybe-install-dejagnu: install-dejagnu
5998 install-dejagnu: installdirs
5999 @r=`${PWD_COMMAND}`; export r; \
6000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6003 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
6007 # Other targets (info, dvi, etc.)
6009 .PHONY: maybe-info-dejagnu info-dejagnu
6012 maybe-info-dejagnu: info-dejagnu
6016 @[ -f ./dejagnu/Makefile ] || exit 0; \
6017 r=`${PWD_COMMAND}`; export r; \
6018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6021 for flag in $(EXTRA_HOST_FLAGS) ; do \
6022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6024 echo "Doing info in dejagnu" ; \
6026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6028 "RANLIB=$${RANLIB}" \
6029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6035 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6038 maybe-dvi-dejagnu: dvi-dejagnu
6042 @[ -f ./dejagnu/Makefile ] || exit 0; \
6043 r=`${PWD_COMMAND}`; export r; \
6044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6047 for flag in $(EXTRA_HOST_FLAGS) ; do \
6048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6050 echo "Doing dvi in dejagnu" ; \
6052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6054 "RANLIB=$${RANLIB}" \
6055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6061 .PHONY: maybe-html-dejagnu html-dejagnu
6064 maybe-html-dejagnu: html-dejagnu
6068 @[ -f ./dejagnu/Makefile ] || exit 0; \
6069 r=`${PWD_COMMAND}`; export r; \
6070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6073 for flag in $(EXTRA_HOST_FLAGS) ; do \
6074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6076 echo "Doing html in dejagnu" ; \
6078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6080 "RANLIB=$${RANLIB}" \
6081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6087 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6090 maybe-TAGS-dejagnu: TAGS-dejagnu
6094 @[ -f ./dejagnu/Makefile ] || exit 0; \
6095 r=`${PWD_COMMAND}`; export r; \
6096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6099 for flag in $(EXTRA_HOST_FLAGS) ; do \
6100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6102 echo "Doing TAGS in dejagnu" ; \
6104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6106 "RANLIB=$${RANLIB}" \
6107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6113 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6114 maybe-install-info-dejagnu:
6116 maybe-install-info-dejagnu: install-info-dejagnu
6118 install-info-dejagnu: \
6121 @[ -f ./dejagnu/Makefile ] || exit 0; \
6122 r=`${PWD_COMMAND}`; export r; \
6123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6126 for flag in $(EXTRA_HOST_FLAGS) ; do \
6127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6129 echo "Doing install-info in dejagnu" ; \
6131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6133 "RANLIB=$${RANLIB}" \
6134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6140 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6141 maybe-installcheck-dejagnu:
6143 maybe-installcheck-dejagnu: installcheck-dejagnu
6145 installcheck-dejagnu: \
6147 @[ -f ./dejagnu/Makefile ] || exit 0; \
6148 r=`${PWD_COMMAND}`; export r; \
6149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6152 for flag in $(EXTRA_HOST_FLAGS) ; do \
6153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6155 echo "Doing installcheck in dejagnu" ; \
6157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6159 "RANLIB=$${RANLIB}" \
6160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6166 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6167 maybe-mostlyclean-dejagnu:
6169 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6171 mostlyclean-dejagnu:
6172 @[ -f ./dejagnu/Makefile ] || exit 0; \
6173 r=`${PWD_COMMAND}`; export r; \
6174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6177 for flag in $(EXTRA_HOST_FLAGS) ; do \
6178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6180 echo "Doing mostlyclean in dejagnu" ; \
6182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6184 "RANLIB=$${RANLIB}" \
6185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6191 .PHONY: maybe-clean-dejagnu clean-dejagnu
6192 maybe-clean-dejagnu:
6194 maybe-clean-dejagnu: clean-dejagnu
6197 @[ -f ./dejagnu/Makefile ] || exit 0; \
6198 r=`${PWD_COMMAND}`; export r; \
6199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6202 for flag in $(EXTRA_HOST_FLAGS) ; do \
6203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6205 echo "Doing clean in dejagnu" ; \
6207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6209 "RANLIB=$${RANLIB}" \
6210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6216 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6217 maybe-distclean-dejagnu:
6219 maybe-distclean-dejagnu: distclean-dejagnu
6222 @[ -f ./dejagnu/Makefile ] || exit 0; \
6223 r=`${PWD_COMMAND}`; export r; \
6224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6227 for flag in $(EXTRA_HOST_FLAGS) ; do \
6228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6230 echo "Doing distclean in dejagnu" ; \
6232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6234 "RANLIB=$${RANLIB}" \
6235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6241 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6242 maybe-maintainer-clean-dejagnu:
6244 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6246 maintainer-clean-dejagnu:
6247 @[ -f ./dejagnu/Makefile ] || exit 0; \
6248 r=`${PWD_COMMAND}`; export r; \
6249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6252 for flag in $(EXTRA_HOST_FLAGS) ; do \
6253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6255 echo "Doing maintainer-clean in dejagnu" ; \
6257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6259 "RANLIB=$${RANLIB}" \
6260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6267 .PHONY: configure-diff maybe-configure-diff
6268 maybe-configure-diff:
6270 maybe-configure-diff: configure-diff
6272 @test ! -f diff/Makefile || exit 0; \
6273 [ -d diff ] || mkdir diff; \
6274 r=`${PWD_COMMAND}`; export r; \
6275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6277 echo Configuring in diff; \
6278 cd diff || exit 1; \
6281 srcdiroption="--srcdir=."; \
6283 /* | [A-Za-z]:[\\/]*) \
6284 srcdiroption="--srcdir=$(srcdir)/diff"; \
6285 libsrcdir="$$s/diff";; \
6287 srcdiroption="--srcdir=../$(srcdir)/diff"; \
6288 libsrcdir="$$s/diff";; \
6290 $(SHELL) $${libsrcdir}/configure \
6291 $(HOST_CONFIGARGS) $${srcdiroption} \
6295 .PHONY: all-diff maybe-all-diff
6299 maybe-all-diff: all-diff
6300 all-diff: configure-diff
6301 @r=`${PWD_COMMAND}`; export r; \
6302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6305 (cd diff && $(MAKE) $(FLAGS_TO_PASS) \
6309 .PHONY: check-diff maybe-check-diff
6312 maybe-check-diff: check-diff
6315 @r=`${PWD_COMMAND}`; export r; \
6316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6319 (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
6323 .PHONY: install-diff maybe-install-diff
6326 maybe-install-diff: install-diff
6328 install-diff: installdirs
6329 @r=`${PWD_COMMAND}`; export r; \
6330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6333 (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
6337 # Other targets (info, dvi, etc.)
6339 .PHONY: maybe-info-diff info-diff
6342 maybe-info-diff: info-diff
6346 @[ -f ./diff/Makefile ] || exit 0; \
6347 r=`${PWD_COMMAND}`; export r; \
6348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6351 for flag in $(EXTRA_HOST_FLAGS) ; do \
6352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6354 echo "Doing info in diff" ; \
6356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6358 "RANLIB=$${RANLIB}" \
6359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6365 .PHONY: maybe-dvi-diff dvi-diff
6368 maybe-dvi-diff: dvi-diff
6372 @[ -f ./diff/Makefile ] || exit 0; \
6373 r=`${PWD_COMMAND}`; export r; \
6374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6377 for flag in $(EXTRA_HOST_FLAGS) ; do \
6378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6380 echo "Doing dvi in diff" ; \
6382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6384 "RANLIB=$${RANLIB}" \
6385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6391 .PHONY: maybe-html-diff html-diff
6394 maybe-html-diff: html-diff
6398 @[ -f ./diff/Makefile ] || exit 0; \
6399 r=`${PWD_COMMAND}`; export r; \
6400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6403 for flag in $(EXTRA_HOST_FLAGS) ; do \
6404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6406 echo "Doing html in diff" ; \
6408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6410 "RANLIB=$${RANLIB}" \
6411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6417 .PHONY: maybe-TAGS-diff TAGS-diff
6420 maybe-TAGS-diff: TAGS-diff
6424 @[ -f ./diff/Makefile ] || exit 0; \
6425 r=`${PWD_COMMAND}`; export r; \
6426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6429 for flag in $(EXTRA_HOST_FLAGS) ; do \
6430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6432 echo "Doing TAGS in diff" ; \
6434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6436 "RANLIB=$${RANLIB}" \
6437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6443 .PHONY: maybe-install-info-diff install-info-diff
6444 maybe-install-info-diff:
6446 maybe-install-info-diff: install-info-diff
6448 install-info-diff: \
6451 @[ -f ./diff/Makefile ] || exit 0; \
6452 r=`${PWD_COMMAND}`; export r; \
6453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6456 for flag in $(EXTRA_HOST_FLAGS) ; do \
6457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6459 echo "Doing install-info in diff" ; \
6461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6463 "RANLIB=$${RANLIB}" \
6464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6470 .PHONY: maybe-installcheck-diff installcheck-diff
6471 maybe-installcheck-diff:
6473 maybe-installcheck-diff: installcheck-diff
6475 installcheck-diff: \
6477 @[ -f ./diff/Makefile ] || exit 0; \
6478 r=`${PWD_COMMAND}`; export r; \
6479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6482 for flag in $(EXTRA_HOST_FLAGS) ; do \
6483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6485 echo "Doing installcheck in diff" ; \
6487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6489 "RANLIB=$${RANLIB}" \
6490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6496 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
6497 maybe-mostlyclean-diff:
6499 maybe-mostlyclean-diff: mostlyclean-diff
6502 @[ -f ./diff/Makefile ] || exit 0; \
6503 r=`${PWD_COMMAND}`; export r; \
6504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6507 for flag in $(EXTRA_HOST_FLAGS) ; do \
6508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6510 echo "Doing mostlyclean in diff" ; \
6512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6514 "RANLIB=$${RANLIB}" \
6515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6521 .PHONY: maybe-clean-diff clean-diff
6524 maybe-clean-diff: clean-diff
6527 @[ -f ./diff/Makefile ] || exit 0; \
6528 r=`${PWD_COMMAND}`; export r; \
6529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6532 for flag in $(EXTRA_HOST_FLAGS) ; do \
6533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6535 echo "Doing clean in diff" ; \
6537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6539 "RANLIB=$${RANLIB}" \
6540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6546 .PHONY: maybe-distclean-diff distclean-diff
6547 maybe-distclean-diff:
6549 maybe-distclean-diff: distclean-diff
6552 @[ -f ./diff/Makefile ] || exit 0; \
6553 r=`${PWD_COMMAND}`; export r; \
6554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6557 for flag in $(EXTRA_HOST_FLAGS) ; do \
6558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6560 echo "Doing distclean in diff" ; \
6562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6564 "RANLIB=$${RANLIB}" \
6565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6571 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
6572 maybe-maintainer-clean-diff:
6574 maybe-maintainer-clean-diff: maintainer-clean-diff
6576 maintainer-clean-diff:
6577 @[ -f ./diff/Makefile ] || exit 0; \
6578 r=`${PWD_COMMAND}`; export r; \
6579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6582 for flag in $(EXTRA_HOST_FLAGS) ; do \
6583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6585 echo "Doing maintainer-clean in diff" ; \
6587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6589 "RANLIB=$${RANLIB}" \
6590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6597 .PHONY: configure-dosutils maybe-configure-dosutils
6598 maybe-configure-dosutils:
6600 maybe-configure-dosutils: configure-dosutils
6602 @test ! -f dosutils/Makefile || exit 0; \
6603 [ -d dosutils ] || mkdir dosutils; \
6604 r=`${PWD_COMMAND}`; export r; \
6605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6607 echo Configuring in dosutils; \
6608 cd dosutils || exit 1; \
6611 srcdiroption="--srcdir=."; \
6613 /* | [A-Za-z]:[\\/]*) \
6614 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
6615 libsrcdir="$$s/dosutils";; \
6617 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
6618 libsrcdir="$$s/dosutils";; \
6620 $(SHELL) $${libsrcdir}/configure \
6621 $(HOST_CONFIGARGS) $${srcdiroption} \
6625 .PHONY: all-dosutils maybe-all-dosutils
6629 maybe-all-dosutils: all-dosutils
6630 all-dosutils: configure-dosutils
6631 @r=`${PWD_COMMAND}`; export r; \
6632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6635 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) \
6639 .PHONY: check-dosutils maybe-check-dosutils
6640 maybe-check-dosutils:
6642 maybe-check-dosutils: check-dosutils
6648 .PHONY: install-dosutils maybe-install-dosutils
6649 maybe-install-dosutils:
6651 maybe-install-dosutils: install-dosutils
6653 install-dosutils: installdirs
6654 @r=`${PWD_COMMAND}`; export r; \
6655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6658 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
6662 # Other targets (info, dvi, etc.)
6664 .PHONY: maybe-info-dosutils info-dosutils
6665 maybe-info-dosutils:
6667 maybe-info-dosutils: info-dosutils
6671 @[ -f ./dosutils/Makefile ] || exit 0; \
6672 r=`${PWD_COMMAND}`; export r; \
6673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6676 for flag in $(EXTRA_HOST_FLAGS) ; do \
6677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6679 echo "Doing info in dosutils" ; \
6681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6683 "RANLIB=$${RANLIB}" \
6684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6690 .PHONY: maybe-dvi-dosutils dvi-dosutils
6693 maybe-dvi-dosutils: dvi-dosutils
6697 @[ -f ./dosutils/Makefile ] || exit 0; \
6698 r=`${PWD_COMMAND}`; export r; \
6699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6702 for flag in $(EXTRA_HOST_FLAGS) ; do \
6703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6705 echo "Doing dvi in dosutils" ; \
6707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6709 "RANLIB=$${RANLIB}" \
6710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6716 .PHONY: maybe-html-dosutils html-dosutils
6717 maybe-html-dosutils:
6719 maybe-html-dosutils: html-dosutils
6723 @[ -f ./dosutils/Makefile ] || exit 0; \
6724 r=`${PWD_COMMAND}`; export r; \
6725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6728 for flag in $(EXTRA_HOST_FLAGS) ; do \
6729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6731 echo "Doing html in dosutils" ; \
6733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6735 "RANLIB=$${RANLIB}" \
6736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6742 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
6743 maybe-TAGS-dosutils:
6745 maybe-TAGS-dosutils: TAGS-dosutils
6749 @[ -f ./dosutils/Makefile ] || exit 0; \
6750 r=`${PWD_COMMAND}`; export r; \
6751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6754 for flag in $(EXTRA_HOST_FLAGS) ; do \
6755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6757 echo "Doing TAGS in dosutils" ; \
6759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6761 "RANLIB=$${RANLIB}" \
6762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6768 .PHONY: maybe-install-info-dosutils install-info-dosutils
6769 maybe-install-info-dosutils:
6771 maybe-install-info-dosutils: install-info-dosutils
6773 install-info-dosutils: \
6774 configure-dosutils \
6776 @[ -f ./dosutils/Makefile ] || exit 0; \
6777 r=`${PWD_COMMAND}`; export r; \
6778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6781 for flag in $(EXTRA_HOST_FLAGS) ; do \
6782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6784 echo "Doing install-info in dosutils" ; \
6786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6788 "RANLIB=$${RANLIB}" \
6789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6795 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
6796 maybe-installcheck-dosutils:
6798 maybe-installcheck-dosutils: installcheck-dosutils
6800 installcheck-dosutils: \
6802 @[ -f ./dosutils/Makefile ] || exit 0; \
6803 r=`${PWD_COMMAND}`; export r; \
6804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6807 for flag in $(EXTRA_HOST_FLAGS) ; do \
6808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6810 echo "Doing installcheck in dosutils" ; \
6812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6814 "RANLIB=$${RANLIB}" \
6815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6821 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
6822 maybe-mostlyclean-dosutils:
6824 maybe-mostlyclean-dosutils: mostlyclean-dosutils
6826 mostlyclean-dosutils:
6827 @[ -f ./dosutils/Makefile ] || exit 0; \
6828 r=`${PWD_COMMAND}`; export r; \
6829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6832 for flag in $(EXTRA_HOST_FLAGS) ; do \
6833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6835 echo "Doing mostlyclean in dosutils" ; \
6837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6839 "RANLIB=$${RANLIB}" \
6840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6846 .PHONY: maybe-clean-dosutils clean-dosutils
6847 maybe-clean-dosutils:
6849 maybe-clean-dosutils: clean-dosutils
6852 @[ -f ./dosutils/Makefile ] || exit 0; \
6853 r=`${PWD_COMMAND}`; export r; \
6854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6857 for flag in $(EXTRA_HOST_FLAGS) ; do \
6858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6860 echo "Doing clean in dosutils" ; \
6862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6864 "RANLIB=$${RANLIB}" \
6865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6871 .PHONY: maybe-distclean-dosutils distclean-dosutils
6872 maybe-distclean-dosutils:
6874 maybe-distclean-dosutils: distclean-dosutils
6877 @[ -f ./dosutils/Makefile ] || exit 0; \
6878 r=`${PWD_COMMAND}`; export r; \
6879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6882 for flag in $(EXTRA_HOST_FLAGS) ; do \
6883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6885 echo "Doing distclean in dosutils" ; \
6887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6889 "RANLIB=$${RANLIB}" \
6890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6896 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6897 maybe-maintainer-clean-dosutils:
6899 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6901 maintainer-clean-dosutils:
6902 @[ -f ./dosutils/Makefile ] || exit 0; \
6903 r=`${PWD_COMMAND}`; export r; \
6904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6907 for flag in $(EXTRA_HOST_FLAGS) ; do \
6908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6910 echo "Doing maintainer-clean in dosutils" ; \
6912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6914 "RANLIB=$${RANLIB}" \
6915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6922 .PHONY: configure-etc maybe-configure-etc
6923 maybe-configure-etc:
6925 maybe-configure-etc: configure-etc
6927 @test ! -f etc/Makefile || exit 0; \
6928 [ -d etc ] || mkdir etc; \
6929 r=`${PWD_COMMAND}`; export r; \
6930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6932 echo Configuring in etc; \
6936 srcdiroption="--srcdir=."; \
6938 /* | [A-Za-z]:[\\/]*) \
6939 srcdiroption="--srcdir=$(srcdir)/etc"; \
6940 libsrcdir="$$s/etc";; \
6942 srcdiroption="--srcdir=../$(srcdir)/etc"; \
6943 libsrcdir="$$s/etc";; \
6945 $(SHELL) $${libsrcdir}/configure \
6946 $(HOST_CONFIGARGS) $${srcdiroption} \
6950 .PHONY: all-etc maybe-all-etc
6954 maybe-all-etc: all-etc
6955 all-etc: configure-etc
6956 @r=`${PWD_COMMAND}`; export r; \
6957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6960 (cd etc && $(MAKE) $(FLAGS_TO_PASS) \
6964 .PHONY: check-etc maybe-check-etc
6967 maybe-check-etc: check-etc
6970 @r=`${PWD_COMMAND}`; export r; \
6971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6974 (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
6978 .PHONY: install-etc maybe-install-etc
6981 maybe-install-etc: install-etc
6983 install-etc: installdirs
6984 @r=`${PWD_COMMAND}`; export r; \
6985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6988 (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
6992 # Other targets (info, dvi, etc.)
6994 .PHONY: maybe-info-etc info-etc
6997 maybe-info-etc: info-etc
7001 @[ -f ./etc/Makefile ] || exit 0; \
7002 r=`${PWD_COMMAND}`; export r; \
7003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7006 for flag in $(EXTRA_HOST_FLAGS) ; do \
7007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7009 echo "Doing info in etc" ; \
7011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7013 "RANLIB=$${RANLIB}" \
7014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7020 .PHONY: maybe-dvi-etc dvi-etc
7023 maybe-dvi-etc: dvi-etc
7027 @[ -f ./etc/Makefile ] || exit 0; \
7028 r=`${PWD_COMMAND}`; export r; \
7029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7032 for flag in $(EXTRA_HOST_FLAGS) ; do \
7033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7035 echo "Doing dvi in etc" ; \
7037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7039 "RANLIB=$${RANLIB}" \
7040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7046 .PHONY: maybe-html-etc html-etc
7049 maybe-html-etc: html-etc
7053 @[ -f ./etc/Makefile ] || exit 0; \
7054 r=`${PWD_COMMAND}`; export r; \
7055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7058 for flag in $(EXTRA_HOST_FLAGS) ; do \
7059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7061 echo "Doing html in etc" ; \
7063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7065 "RANLIB=$${RANLIB}" \
7066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7072 .PHONY: maybe-TAGS-etc TAGS-etc
7075 maybe-TAGS-etc: TAGS-etc
7079 @[ -f ./etc/Makefile ] || exit 0; \
7080 r=`${PWD_COMMAND}`; export r; \
7081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7084 for flag in $(EXTRA_HOST_FLAGS) ; do \
7085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7087 echo "Doing TAGS in etc" ; \
7089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7091 "RANLIB=$${RANLIB}" \
7092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7098 .PHONY: maybe-install-info-etc install-info-etc
7099 maybe-install-info-etc:
7101 maybe-install-info-etc: install-info-etc
7106 @[ -f ./etc/Makefile ] || exit 0; \
7107 r=`${PWD_COMMAND}`; export r; \
7108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7111 for flag in $(EXTRA_HOST_FLAGS) ; do \
7112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7114 echo "Doing install-info in etc" ; \
7116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7118 "RANLIB=$${RANLIB}" \
7119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7125 .PHONY: maybe-installcheck-etc installcheck-etc
7126 maybe-installcheck-etc:
7128 maybe-installcheck-etc: installcheck-etc
7132 @[ -f ./etc/Makefile ] || exit 0; \
7133 r=`${PWD_COMMAND}`; export r; \
7134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7137 for flag in $(EXTRA_HOST_FLAGS) ; do \
7138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7140 echo "Doing installcheck in etc" ; \
7142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7144 "RANLIB=$${RANLIB}" \
7145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7151 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7152 maybe-mostlyclean-etc:
7154 maybe-mostlyclean-etc: mostlyclean-etc
7157 @[ -f ./etc/Makefile ] || exit 0; \
7158 r=`${PWD_COMMAND}`; export r; \
7159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7162 for flag in $(EXTRA_HOST_FLAGS) ; do \
7163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7165 echo "Doing mostlyclean in etc" ; \
7167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7169 "RANLIB=$${RANLIB}" \
7170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7176 .PHONY: maybe-clean-etc clean-etc
7179 maybe-clean-etc: clean-etc
7182 @[ -f ./etc/Makefile ] || exit 0; \
7183 r=`${PWD_COMMAND}`; export r; \
7184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7187 for flag in $(EXTRA_HOST_FLAGS) ; do \
7188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7190 echo "Doing clean in etc" ; \
7192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7194 "RANLIB=$${RANLIB}" \
7195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7201 .PHONY: maybe-distclean-etc distclean-etc
7202 maybe-distclean-etc:
7204 maybe-distclean-etc: distclean-etc
7207 @[ -f ./etc/Makefile ] || exit 0; \
7208 r=`${PWD_COMMAND}`; export r; \
7209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7212 for flag in $(EXTRA_HOST_FLAGS) ; do \
7213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7215 echo "Doing distclean in etc" ; \
7217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7219 "RANLIB=$${RANLIB}" \
7220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7226 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7227 maybe-maintainer-clean-etc:
7229 maybe-maintainer-clean-etc: maintainer-clean-etc
7231 maintainer-clean-etc:
7232 @[ -f ./etc/Makefile ] || exit 0; \
7233 r=`${PWD_COMMAND}`; export r; \
7234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7237 for flag in $(EXTRA_HOST_FLAGS) ; do \
7238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7240 echo "Doing maintainer-clean in etc" ; \
7242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7244 "RANLIB=$${RANLIB}" \
7245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7252 .PHONY: configure-fastjar maybe-configure-fastjar
7253 maybe-configure-fastjar:
7255 maybe-configure-fastjar: configure-fastjar
7257 @test ! -f fastjar/Makefile || exit 0; \
7258 [ -d fastjar ] || mkdir fastjar; \
7259 r=`${PWD_COMMAND}`; export r; \
7260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7262 echo Configuring in fastjar; \
7263 cd fastjar || exit 1; \
7266 srcdiroption="--srcdir=."; \
7268 /* | [A-Za-z]:[\\/]*) \
7269 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
7270 libsrcdir="$$s/fastjar";; \
7272 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
7273 libsrcdir="$$s/fastjar";; \
7275 $(SHELL) $${libsrcdir}/configure \
7276 $(HOST_CONFIGARGS) $${srcdiroption} \
7280 .PHONY: all-fastjar maybe-all-fastjar
7284 maybe-all-fastjar: all-fastjar
7285 all-fastjar: configure-fastjar
7286 @r=`${PWD_COMMAND}`; export r; \
7287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7290 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) \
7294 .PHONY: check-fastjar maybe-check-fastjar
7295 maybe-check-fastjar:
7297 maybe-check-fastjar: check-fastjar
7299 # This module is only tested in a native toolchain.
7301 @if [ '$(host)' = '$(target)' ] ; then \
7302 r=`${PWD_COMMAND}`; export r; \
7303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7306 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \
7311 .PHONY: install-fastjar maybe-install-fastjar
7312 maybe-install-fastjar:
7314 maybe-install-fastjar: install-fastjar
7316 install-fastjar: installdirs
7317 @r=`${PWD_COMMAND}`; export r; \
7318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7321 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
7325 # Other targets (info, dvi, etc.)
7327 .PHONY: maybe-info-fastjar info-fastjar
7330 maybe-info-fastjar: info-fastjar
7334 @[ -f ./fastjar/Makefile ] || exit 0; \
7335 r=`${PWD_COMMAND}`; export r; \
7336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7339 for flag in $(EXTRA_HOST_FLAGS) ; do \
7340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7342 echo "Doing info in fastjar" ; \
7344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7346 "RANLIB=$${RANLIB}" \
7347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7353 .PHONY: maybe-dvi-fastjar dvi-fastjar
7356 maybe-dvi-fastjar: dvi-fastjar
7360 @[ -f ./fastjar/Makefile ] || exit 0; \
7361 r=`${PWD_COMMAND}`; export r; \
7362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7365 for flag in $(EXTRA_HOST_FLAGS) ; do \
7366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7368 echo "Doing dvi in fastjar" ; \
7370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7372 "RANLIB=$${RANLIB}" \
7373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7379 .PHONY: maybe-html-fastjar html-fastjar
7382 maybe-html-fastjar: html-fastjar
7386 @[ -f ./fastjar/Makefile ] || exit 0; \
7387 r=`${PWD_COMMAND}`; export r; \
7388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7391 for flag in $(EXTRA_HOST_FLAGS) ; do \
7392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7394 echo "Doing html in fastjar" ; \
7396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7398 "RANLIB=$${RANLIB}" \
7399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7405 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7408 maybe-TAGS-fastjar: TAGS-fastjar
7412 @[ -f ./fastjar/Makefile ] || exit 0; \
7413 r=`${PWD_COMMAND}`; export r; \
7414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7417 for flag in $(EXTRA_HOST_FLAGS) ; do \
7418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7420 echo "Doing TAGS in fastjar" ; \
7422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7424 "RANLIB=$${RANLIB}" \
7425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7431 .PHONY: maybe-install-info-fastjar install-info-fastjar
7432 maybe-install-info-fastjar:
7434 maybe-install-info-fastjar: install-info-fastjar
7436 install-info-fastjar: \
7439 @[ -f ./fastjar/Makefile ] || exit 0; \
7440 r=`${PWD_COMMAND}`; export r; \
7441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7444 for flag in $(EXTRA_HOST_FLAGS) ; do \
7445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7447 echo "Doing install-info in fastjar" ; \
7449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7451 "RANLIB=$${RANLIB}" \
7452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7458 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7459 maybe-installcheck-fastjar:
7461 maybe-installcheck-fastjar: installcheck-fastjar
7463 installcheck-fastjar: \
7465 @[ -f ./fastjar/Makefile ] || exit 0; \
7466 r=`${PWD_COMMAND}`; export r; \
7467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7470 for flag in $(EXTRA_HOST_FLAGS) ; do \
7471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7473 echo "Doing installcheck in fastjar" ; \
7475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7477 "RANLIB=$${RANLIB}" \
7478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7484 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7485 maybe-mostlyclean-fastjar:
7487 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7489 mostlyclean-fastjar:
7490 @[ -f ./fastjar/Makefile ] || exit 0; \
7491 r=`${PWD_COMMAND}`; export r; \
7492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7495 for flag in $(EXTRA_HOST_FLAGS) ; do \
7496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7498 echo "Doing mostlyclean in fastjar" ; \
7500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7502 "RANLIB=$${RANLIB}" \
7503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7509 .PHONY: maybe-clean-fastjar clean-fastjar
7510 maybe-clean-fastjar:
7512 maybe-clean-fastjar: clean-fastjar
7515 @[ -f ./fastjar/Makefile ] || exit 0; \
7516 r=`${PWD_COMMAND}`; export r; \
7517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7520 for flag in $(EXTRA_HOST_FLAGS) ; do \
7521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7523 echo "Doing clean in fastjar" ; \
7525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7527 "RANLIB=$${RANLIB}" \
7528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7534 .PHONY: maybe-distclean-fastjar distclean-fastjar
7535 maybe-distclean-fastjar:
7537 maybe-distclean-fastjar: distclean-fastjar
7540 @[ -f ./fastjar/Makefile ] || exit 0; \
7541 r=`${PWD_COMMAND}`; export r; \
7542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7545 for flag in $(EXTRA_HOST_FLAGS) ; do \
7546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7548 echo "Doing distclean in fastjar" ; \
7550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7552 "RANLIB=$${RANLIB}" \
7553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7559 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7560 maybe-maintainer-clean-fastjar:
7562 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7564 maintainer-clean-fastjar:
7565 @[ -f ./fastjar/Makefile ] || exit 0; \
7566 r=`${PWD_COMMAND}`; export r; \
7567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7570 for flag in $(EXTRA_HOST_FLAGS) ; do \
7571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7573 echo "Doing maintainer-clean in fastjar" ; \
7575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7577 "RANLIB=$${RANLIB}" \
7578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7585 .PHONY: configure-fileutils maybe-configure-fileutils
7586 maybe-configure-fileutils:
7588 maybe-configure-fileutils: configure-fileutils
7589 configure-fileutils:
7590 @test ! -f fileutils/Makefile || exit 0; \
7591 [ -d fileutils ] || mkdir fileutils; \
7592 r=`${PWD_COMMAND}`; export r; \
7593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7595 echo Configuring in fileutils; \
7596 cd fileutils || exit 1; \
7599 srcdiroption="--srcdir=."; \
7601 /* | [A-Za-z]:[\\/]*) \
7602 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
7603 libsrcdir="$$s/fileutils";; \
7605 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
7606 libsrcdir="$$s/fileutils";; \
7608 $(SHELL) $${libsrcdir}/configure \
7609 $(HOST_CONFIGARGS) $${srcdiroption} \
7613 .PHONY: all-fileutils maybe-all-fileutils
7614 maybe-all-fileutils:
7616 TARGET-fileutils=all
7617 maybe-all-fileutils: all-fileutils
7618 all-fileutils: configure-fileutils
7619 @r=`${PWD_COMMAND}`; export r; \
7620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7623 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) \
7624 $(TARGET-fileutils))
7627 .PHONY: check-fileutils maybe-check-fileutils
7628 maybe-check-fileutils:
7630 maybe-check-fileutils: check-fileutils
7633 @r=`${PWD_COMMAND}`; export r; \
7634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7637 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
7641 .PHONY: install-fileutils maybe-install-fileutils
7642 maybe-install-fileutils:
7644 maybe-install-fileutils: install-fileutils
7646 install-fileutils: installdirs
7647 @r=`${PWD_COMMAND}`; export r; \
7648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7651 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
7655 # Other targets (info, dvi, etc.)
7657 .PHONY: maybe-info-fileutils info-fileutils
7658 maybe-info-fileutils:
7660 maybe-info-fileutils: info-fileutils
7664 @[ -f ./fileutils/Makefile ] || exit 0; \
7665 r=`${PWD_COMMAND}`; export r; \
7666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7669 for flag in $(EXTRA_HOST_FLAGS) ; do \
7670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7672 echo "Doing info in fileutils" ; \
7674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7676 "RANLIB=$${RANLIB}" \
7677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7683 .PHONY: maybe-dvi-fileutils dvi-fileutils
7684 maybe-dvi-fileutils:
7686 maybe-dvi-fileutils: dvi-fileutils
7690 @[ -f ./fileutils/Makefile ] || exit 0; \
7691 r=`${PWD_COMMAND}`; export r; \
7692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7695 for flag in $(EXTRA_HOST_FLAGS) ; do \
7696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7698 echo "Doing dvi in fileutils" ; \
7700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7702 "RANLIB=$${RANLIB}" \
7703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7709 .PHONY: maybe-html-fileutils html-fileutils
7710 maybe-html-fileutils:
7712 maybe-html-fileutils: html-fileutils
7716 @[ -f ./fileutils/Makefile ] || exit 0; \
7717 r=`${PWD_COMMAND}`; export r; \
7718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7721 for flag in $(EXTRA_HOST_FLAGS) ; do \
7722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7724 echo "Doing html in fileutils" ; \
7726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7728 "RANLIB=$${RANLIB}" \
7729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7735 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
7736 maybe-TAGS-fileutils:
7738 maybe-TAGS-fileutils: TAGS-fileutils
7742 @[ -f ./fileutils/Makefile ] || exit 0; \
7743 r=`${PWD_COMMAND}`; export r; \
7744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7747 for flag in $(EXTRA_HOST_FLAGS) ; do \
7748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7750 echo "Doing TAGS in fileutils" ; \
7752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7754 "RANLIB=$${RANLIB}" \
7755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7761 .PHONY: maybe-install-info-fileutils install-info-fileutils
7762 maybe-install-info-fileutils:
7764 maybe-install-info-fileutils: install-info-fileutils
7766 install-info-fileutils: \
7767 configure-fileutils \
7769 @[ -f ./fileutils/Makefile ] || exit 0; \
7770 r=`${PWD_COMMAND}`; export r; \
7771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7774 for flag in $(EXTRA_HOST_FLAGS) ; do \
7775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7777 echo "Doing install-info in fileutils" ; \
7779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7781 "RANLIB=$${RANLIB}" \
7782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7788 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
7789 maybe-installcheck-fileutils:
7791 maybe-installcheck-fileutils: installcheck-fileutils
7793 installcheck-fileutils: \
7795 @[ -f ./fileutils/Makefile ] || exit 0; \
7796 r=`${PWD_COMMAND}`; export r; \
7797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7800 for flag in $(EXTRA_HOST_FLAGS) ; do \
7801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7803 echo "Doing installcheck in fileutils" ; \
7805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7807 "RANLIB=$${RANLIB}" \
7808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7814 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
7815 maybe-mostlyclean-fileutils:
7817 maybe-mostlyclean-fileutils: mostlyclean-fileutils
7819 mostlyclean-fileutils:
7820 @[ -f ./fileutils/Makefile ] || exit 0; \
7821 r=`${PWD_COMMAND}`; export r; \
7822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7825 for flag in $(EXTRA_HOST_FLAGS) ; do \
7826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7828 echo "Doing mostlyclean in fileutils" ; \
7830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7832 "RANLIB=$${RANLIB}" \
7833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7839 .PHONY: maybe-clean-fileutils clean-fileutils
7840 maybe-clean-fileutils:
7842 maybe-clean-fileutils: clean-fileutils
7845 @[ -f ./fileutils/Makefile ] || exit 0; \
7846 r=`${PWD_COMMAND}`; export r; \
7847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7850 for flag in $(EXTRA_HOST_FLAGS) ; do \
7851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7853 echo "Doing clean in fileutils" ; \
7855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7857 "RANLIB=$${RANLIB}" \
7858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7864 .PHONY: maybe-distclean-fileutils distclean-fileutils
7865 maybe-distclean-fileutils:
7867 maybe-distclean-fileutils: distclean-fileutils
7869 distclean-fileutils:
7870 @[ -f ./fileutils/Makefile ] || exit 0; \
7871 r=`${PWD_COMMAND}`; export r; \
7872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7875 for flag in $(EXTRA_HOST_FLAGS) ; do \
7876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7878 echo "Doing distclean in fileutils" ; \
7880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7882 "RANLIB=$${RANLIB}" \
7883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7889 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
7890 maybe-maintainer-clean-fileutils:
7892 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
7894 maintainer-clean-fileutils:
7895 @[ -f ./fileutils/Makefile ] || exit 0; \
7896 r=`${PWD_COMMAND}`; export r; \
7897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7900 for flag in $(EXTRA_HOST_FLAGS) ; do \
7901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7903 echo "Doing maintainer-clean in fileutils" ; \
7905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7907 "RANLIB=$${RANLIB}" \
7908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7915 .PHONY: configure-findutils maybe-configure-findutils
7916 maybe-configure-findutils:
7918 maybe-configure-findutils: configure-findutils
7919 configure-findutils:
7920 @test ! -f findutils/Makefile || exit 0; \
7921 [ -d findutils ] || mkdir findutils; \
7922 r=`${PWD_COMMAND}`; export r; \
7923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7925 echo Configuring in findutils; \
7926 cd findutils || exit 1; \
7929 srcdiroption="--srcdir=."; \
7931 /* | [A-Za-z]:[\\/]*) \
7932 srcdiroption="--srcdir=$(srcdir)/findutils"; \
7933 libsrcdir="$$s/findutils";; \
7935 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
7936 libsrcdir="$$s/findutils";; \
7938 $(SHELL) $${libsrcdir}/configure \
7939 $(HOST_CONFIGARGS) $${srcdiroption} \
7943 .PHONY: all-findutils maybe-all-findutils
7944 maybe-all-findutils:
7946 TARGET-findutils=all
7947 maybe-all-findutils: all-findutils
7948 all-findutils: configure-findutils
7949 @r=`${PWD_COMMAND}`; export r; \
7950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7953 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) \
7954 $(TARGET-findutils))
7957 .PHONY: check-findutils maybe-check-findutils
7958 maybe-check-findutils:
7960 maybe-check-findutils: check-findutils
7963 @r=`${PWD_COMMAND}`; export r; \
7964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7967 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
7971 .PHONY: install-findutils maybe-install-findutils
7972 maybe-install-findutils:
7974 maybe-install-findutils: install-findutils
7976 install-findutils: installdirs
7977 @r=`${PWD_COMMAND}`; export r; \
7978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7981 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
7985 # Other targets (info, dvi, etc.)
7987 .PHONY: maybe-info-findutils info-findutils
7988 maybe-info-findutils:
7990 maybe-info-findutils: info-findutils
7994 @[ -f ./findutils/Makefile ] || exit 0; \
7995 r=`${PWD_COMMAND}`; export r; \
7996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7999 for flag in $(EXTRA_HOST_FLAGS) ; do \
8000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8002 echo "Doing info in findutils" ; \
8004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8006 "RANLIB=$${RANLIB}" \
8007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8013 .PHONY: maybe-dvi-findutils dvi-findutils
8014 maybe-dvi-findutils:
8016 maybe-dvi-findutils: dvi-findutils
8020 @[ -f ./findutils/Makefile ] || exit 0; \
8021 r=`${PWD_COMMAND}`; export r; \
8022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8025 for flag in $(EXTRA_HOST_FLAGS) ; do \
8026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8028 echo "Doing dvi in findutils" ; \
8030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8032 "RANLIB=$${RANLIB}" \
8033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8039 .PHONY: maybe-html-findutils html-findutils
8040 maybe-html-findutils:
8042 maybe-html-findutils: html-findutils
8046 @[ -f ./findutils/Makefile ] || exit 0; \
8047 r=`${PWD_COMMAND}`; export r; \
8048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8051 for flag in $(EXTRA_HOST_FLAGS) ; do \
8052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8054 echo "Doing html in findutils" ; \
8056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8058 "RANLIB=$${RANLIB}" \
8059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8065 .PHONY: maybe-TAGS-findutils TAGS-findutils
8066 maybe-TAGS-findutils:
8068 maybe-TAGS-findutils: TAGS-findutils
8072 @[ -f ./findutils/Makefile ] || exit 0; \
8073 r=`${PWD_COMMAND}`; export r; \
8074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8077 for flag in $(EXTRA_HOST_FLAGS) ; do \
8078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8080 echo "Doing TAGS in findutils" ; \
8082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8084 "RANLIB=$${RANLIB}" \
8085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8091 .PHONY: maybe-install-info-findutils install-info-findutils
8092 maybe-install-info-findutils:
8094 maybe-install-info-findutils: install-info-findutils
8096 install-info-findutils: \
8097 configure-findutils \
8099 @[ -f ./findutils/Makefile ] || exit 0; \
8100 r=`${PWD_COMMAND}`; export r; \
8101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8104 for flag in $(EXTRA_HOST_FLAGS) ; do \
8105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8107 echo "Doing install-info in findutils" ; \
8109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8111 "RANLIB=$${RANLIB}" \
8112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8118 .PHONY: maybe-installcheck-findutils installcheck-findutils
8119 maybe-installcheck-findutils:
8121 maybe-installcheck-findutils: installcheck-findutils
8123 installcheck-findutils: \
8125 @[ -f ./findutils/Makefile ] || exit 0; \
8126 r=`${PWD_COMMAND}`; export r; \
8127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8130 for flag in $(EXTRA_HOST_FLAGS) ; do \
8131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8133 echo "Doing installcheck in findutils" ; \
8135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8137 "RANLIB=$${RANLIB}" \
8138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8144 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
8145 maybe-mostlyclean-findutils:
8147 maybe-mostlyclean-findutils: mostlyclean-findutils
8149 mostlyclean-findutils:
8150 @[ -f ./findutils/Makefile ] || exit 0; \
8151 r=`${PWD_COMMAND}`; export r; \
8152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8155 for flag in $(EXTRA_HOST_FLAGS) ; do \
8156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8158 echo "Doing mostlyclean in findutils" ; \
8160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8162 "RANLIB=$${RANLIB}" \
8163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8169 .PHONY: maybe-clean-findutils clean-findutils
8170 maybe-clean-findutils:
8172 maybe-clean-findutils: clean-findutils
8175 @[ -f ./findutils/Makefile ] || exit 0; \
8176 r=`${PWD_COMMAND}`; export r; \
8177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8180 for flag in $(EXTRA_HOST_FLAGS) ; do \
8181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8183 echo "Doing clean in findutils" ; \
8185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8187 "RANLIB=$${RANLIB}" \
8188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8194 .PHONY: maybe-distclean-findutils distclean-findutils
8195 maybe-distclean-findutils:
8197 maybe-distclean-findutils: distclean-findutils
8199 distclean-findutils:
8200 @[ -f ./findutils/Makefile ] || exit 0; \
8201 r=`${PWD_COMMAND}`; export r; \
8202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8205 for flag in $(EXTRA_HOST_FLAGS) ; do \
8206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8208 echo "Doing distclean in findutils" ; \
8210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8212 "RANLIB=$${RANLIB}" \
8213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8219 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
8220 maybe-maintainer-clean-findutils:
8222 maybe-maintainer-clean-findutils: maintainer-clean-findutils
8224 maintainer-clean-findutils:
8225 @[ -f ./findutils/Makefile ] || exit 0; \
8226 r=`${PWD_COMMAND}`; export r; \
8227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8230 for flag in $(EXTRA_HOST_FLAGS) ; do \
8231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8233 echo "Doing maintainer-clean in findutils" ; \
8235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8237 "RANLIB=$${RANLIB}" \
8238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8245 .PHONY: configure-find maybe-configure-find
8246 maybe-configure-find:
8248 maybe-configure-find: configure-find
8250 @test ! -f find/Makefile || exit 0; \
8251 [ -d find ] || mkdir find; \
8252 r=`${PWD_COMMAND}`; export r; \
8253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8255 echo Configuring in find; \
8256 cd find || exit 1; \
8259 srcdiroption="--srcdir=."; \
8261 /* | [A-Za-z]:[\\/]*) \
8262 srcdiroption="--srcdir=$(srcdir)/find"; \
8263 libsrcdir="$$s/find";; \
8265 srcdiroption="--srcdir=../$(srcdir)/find"; \
8266 libsrcdir="$$s/find";; \
8268 $(SHELL) $${libsrcdir}/configure \
8269 $(HOST_CONFIGARGS) $${srcdiroption} \
8273 .PHONY: all-find maybe-all-find
8277 maybe-all-find: all-find
8278 all-find: configure-find
8279 @r=`${PWD_COMMAND}`; export r; \
8280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8283 (cd find && $(MAKE) $(FLAGS_TO_PASS) \
8287 .PHONY: check-find maybe-check-find
8290 maybe-check-find: check-find
8293 @r=`${PWD_COMMAND}`; export r; \
8294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8297 (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
8301 .PHONY: install-find maybe-install-find
8304 maybe-install-find: install-find
8306 install-find: installdirs
8307 @r=`${PWD_COMMAND}`; export r; \
8308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8311 (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
8315 # Other targets (info, dvi, etc.)
8317 .PHONY: maybe-info-find info-find
8320 maybe-info-find: info-find
8324 @[ -f ./find/Makefile ] || exit 0; \
8325 r=`${PWD_COMMAND}`; export r; \
8326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8329 for flag in $(EXTRA_HOST_FLAGS) ; do \
8330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8332 echo "Doing info in find" ; \
8334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8336 "RANLIB=$${RANLIB}" \
8337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8343 .PHONY: maybe-dvi-find dvi-find
8346 maybe-dvi-find: dvi-find
8350 @[ -f ./find/Makefile ] || exit 0; \
8351 r=`${PWD_COMMAND}`; export r; \
8352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8355 for flag in $(EXTRA_HOST_FLAGS) ; do \
8356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8358 echo "Doing dvi in find" ; \
8360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8362 "RANLIB=$${RANLIB}" \
8363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8369 .PHONY: maybe-html-find html-find
8372 maybe-html-find: html-find
8376 @[ -f ./find/Makefile ] || exit 0; \
8377 r=`${PWD_COMMAND}`; export r; \
8378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8381 for flag in $(EXTRA_HOST_FLAGS) ; do \
8382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8384 echo "Doing html in find" ; \
8386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8388 "RANLIB=$${RANLIB}" \
8389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8395 .PHONY: maybe-TAGS-find TAGS-find
8398 maybe-TAGS-find: TAGS-find
8402 @[ -f ./find/Makefile ] || exit 0; \
8403 r=`${PWD_COMMAND}`; export r; \
8404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8407 for flag in $(EXTRA_HOST_FLAGS) ; do \
8408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8410 echo "Doing TAGS in find" ; \
8412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8414 "RANLIB=$${RANLIB}" \
8415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8421 .PHONY: maybe-install-info-find install-info-find
8422 maybe-install-info-find:
8424 maybe-install-info-find: install-info-find
8426 install-info-find: \
8429 @[ -f ./find/Makefile ] || exit 0; \
8430 r=`${PWD_COMMAND}`; export r; \
8431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8434 for flag in $(EXTRA_HOST_FLAGS) ; do \
8435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8437 echo "Doing install-info in find" ; \
8439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8441 "RANLIB=$${RANLIB}" \
8442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8448 .PHONY: maybe-installcheck-find installcheck-find
8449 maybe-installcheck-find:
8451 maybe-installcheck-find: installcheck-find
8453 installcheck-find: \
8455 @[ -f ./find/Makefile ] || exit 0; \
8456 r=`${PWD_COMMAND}`; export r; \
8457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8460 for flag in $(EXTRA_HOST_FLAGS) ; do \
8461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8463 echo "Doing installcheck in find" ; \
8465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8467 "RANLIB=$${RANLIB}" \
8468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8474 .PHONY: maybe-mostlyclean-find mostlyclean-find
8475 maybe-mostlyclean-find:
8477 maybe-mostlyclean-find: mostlyclean-find
8480 @[ -f ./find/Makefile ] || exit 0; \
8481 r=`${PWD_COMMAND}`; export r; \
8482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8485 for flag in $(EXTRA_HOST_FLAGS) ; do \
8486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8488 echo "Doing mostlyclean in find" ; \
8490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8492 "RANLIB=$${RANLIB}" \
8493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8499 .PHONY: maybe-clean-find clean-find
8502 maybe-clean-find: clean-find
8505 @[ -f ./find/Makefile ] || exit 0; \
8506 r=`${PWD_COMMAND}`; export r; \
8507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8510 for flag in $(EXTRA_HOST_FLAGS) ; do \
8511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8513 echo "Doing clean in find" ; \
8515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8517 "RANLIB=$${RANLIB}" \
8518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8524 .PHONY: maybe-distclean-find distclean-find
8525 maybe-distclean-find:
8527 maybe-distclean-find: distclean-find
8530 @[ -f ./find/Makefile ] || exit 0; \
8531 r=`${PWD_COMMAND}`; export r; \
8532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8535 for flag in $(EXTRA_HOST_FLAGS) ; do \
8536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8538 echo "Doing distclean in find" ; \
8540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8542 "RANLIB=$${RANLIB}" \
8543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8549 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
8550 maybe-maintainer-clean-find:
8552 maybe-maintainer-clean-find: maintainer-clean-find
8554 maintainer-clean-find:
8555 @[ -f ./find/Makefile ] || exit 0; \
8556 r=`${PWD_COMMAND}`; export r; \
8557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8560 for flag in $(EXTRA_HOST_FLAGS) ; do \
8561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8563 echo "Doing maintainer-clean in find" ; \
8565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8567 "RANLIB=$${RANLIB}" \
8568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8575 .PHONY: configure-fixincludes maybe-configure-fixincludes
8576 maybe-configure-fixincludes:
8578 maybe-configure-fixincludes: configure-fixincludes
8579 configure-fixincludes:
8580 @test ! -f fixincludes/Makefile || exit 0; \
8581 [ -d fixincludes ] || mkdir fixincludes; \
8582 r=`${PWD_COMMAND}`; export r; \
8583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8585 echo Configuring in fixincludes; \
8586 cd fixincludes || exit 1; \
8589 srcdiroption="--srcdir=."; \
8591 /* | [A-Za-z]:[\\/]*) \
8592 srcdiroption="--srcdir=$(srcdir)/fixincludes"; \
8593 libsrcdir="$$s/fixincludes";; \
8595 srcdiroption="--srcdir=../$(srcdir)/fixincludes"; \
8596 libsrcdir="$$s/fixincludes";; \
8598 $(SHELL) $${libsrcdir}/configure \
8599 $(HOST_CONFIGARGS) $${srcdiroption} \
8603 .PHONY: all-fixincludes maybe-all-fixincludes
8604 maybe-all-fixincludes:
8606 TARGET-fixincludes=all
8607 maybe-all-fixincludes: all-fixincludes
8608 all-fixincludes: configure-fixincludes
8609 @r=`${PWD_COMMAND}`; export r; \
8610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8613 (cd fixincludes && $(MAKE) $(FLAGS_TO_PASS) \
8614 $(TARGET-fixincludes))
8617 .PHONY: check-fixincludes maybe-check-fixincludes
8618 maybe-check-fixincludes:
8620 maybe-check-fixincludes: check-fixincludes
8623 @r=`${PWD_COMMAND}`; export r; \
8624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8627 (cd fixincludes && $(MAKE) $(FLAGS_TO_PASS) check)
8631 .PHONY: install-fixincludes maybe-install-fixincludes
8632 maybe-install-fixincludes:
8634 maybe-install-fixincludes: install-fixincludes
8636 install-fixincludes: installdirs
8637 @r=`${PWD_COMMAND}`; export r; \
8638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8641 (cd fixincludes && $(MAKE) $(FLAGS_TO_PASS) install)
8645 # Other targets (info, dvi, etc.)
8647 .PHONY: maybe-info-fixincludes info-fixincludes
8648 maybe-info-fixincludes:
8650 maybe-info-fixincludes: info-fixincludes
8652 # fixincludes doesn't support info.
8657 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
8658 maybe-dvi-fixincludes:
8660 maybe-dvi-fixincludes: dvi-fixincludes
8662 # fixincludes doesn't support dvi.
8667 .PHONY: maybe-html-fixincludes html-fixincludes
8668 maybe-html-fixincludes:
8670 maybe-html-fixincludes: html-fixincludes
8673 configure-fixincludes
8674 @[ -f ./fixincludes/Makefile ] || exit 0; \
8675 r=`${PWD_COMMAND}`; export r; \
8676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8679 for flag in $(EXTRA_HOST_FLAGS) ; do \
8680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8682 echo "Doing html in fixincludes" ; \
8683 (cd fixincludes && \
8684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8686 "RANLIB=$${RANLIB}" \
8687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8693 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
8694 maybe-TAGS-fixincludes:
8696 maybe-TAGS-fixincludes: TAGS-fixincludes
8698 # fixincludes doesn't support TAGS.
8703 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
8704 maybe-install-info-fixincludes:
8706 maybe-install-info-fixincludes: install-info-fixincludes
8708 # fixincludes doesn't support install-info.
8709 install-info-fixincludes:
8713 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8714 maybe-installcheck-fixincludes:
8716 maybe-installcheck-fixincludes: installcheck-fixincludes
8718 # fixincludes doesn't support installcheck.
8719 installcheck-fixincludes:
8723 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8724 maybe-mostlyclean-fixincludes:
8726 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8728 mostlyclean-fixincludes:
8729 @[ -f ./fixincludes/Makefile ] || exit 0; \
8730 r=`${PWD_COMMAND}`; export r; \
8731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8734 for flag in $(EXTRA_HOST_FLAGS) ; do \
8735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8737 echo "Doing mostlyclean in fixincludes" ; \
8738 (cd fixincludes && \
8739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8741 "RANLIB=$${RANLIB}" \
8742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8748 .PHONY: maybe-clean-fixincludes clean-fixincludes
8749 maybe-clean-fixincludes:
8751 maybe-clean-fixincludes: clean-fixincludes
8754 @[ -f ./fixincludes/Makefile ] || exit 0; \
8755 r=`${PWD_COMMAND}`; export r; \
8756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8759 for flag in $(EXTRA_HOST_FLAGS) ; do \
8760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8762 echo "Doing clean in fixincludes" ; \
8763 (cd fixincludes && \
8764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8766 "RANLIB=$${RANLIB}" \
8767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8773 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8774 maybe-distclean-fixincludes:
8776 maybe-distclean-fixincludes: distclean-fixincludes
8778 distclean-fixincludes:
8779 @[ -f ./fixincludes/Makefile ] || exit 0; \
8780 r=`${PWD_COMMAND}`; export r; \
8781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8784 for flag in $(EXTRA_HOST_FLAGS) ; do \
8785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8787 echo "Doing distclean in fixincludes" ; \
8788 (cd fixincludes && \
8789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8791 "RANLIB=$${RANLIB}" \
8792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8798 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8799 maybe-maintainer-clean-fixincludes:
8801 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8803 maintainer-clean-fixincludes:
8804 @[ -f ./fixincludes/Makefile ] || exit 0; \
8805 r=`${PWD_COMMAND}`; export r; \
8806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8809 for flag in $(EXTRA_HOST_FLAGS) ; do \
8810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8812 echo "Doing maintainer-clean in fixincludes" ; \
8813 (cd fixincludes && \
8814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8816 "RANLIB=$${RANLIB}" \
8817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8824 .PHONY: configure-flex maybe-configure-flex
8825 maybe-configure-flex:
8827 maybe-configure-flex: configure-flex
8829 @test ! -f flex/Makefile || exit 0; \
8830 [ -d flex ] || mkdir flex; \
8831 r=`${PWD_COMMAND}`; export r; \
8832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8834 echo Configuring in flex; \
8835 cd flex || exit 1; \
8838 srcdiroption="--srcdir=."; \
8840 /* | [A-Za-z]:[\\/]*) \
8841 srcdiroption="--srcdir=$(srcdir)/flex"; \
8842 libsrcdir="$$s/flex";; \
8844 srcdiroption="--srcdir=../$(srcdir)/flex"; \
8845 libsrcdir="$$s/flex";; \
8847 $(SHELL) $${libsrcdir}/configure \
8848 $(HOST_CONFIGARGS) $${srcdiroption} \
8852 .PHONY: all-flex maybe-all-flex
8856 maybe-all-flex: all-flex
8857 all-flex: configure-flex
8858 @r=`${PWD_COMMAND}`; export r; \
8859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8862 (cd flex && $(MAKE) $(FLAGS_TO_PASS) \
8866 .PHONY: check-flex maybe-check-flex
8869 maybe-check-flex: check-flex
8871 # This module is only tested in a native toolchain.
8873 @if [ '$(host)' = '$(target)' ] ; then \
8874 r=`${PWD_COMMAND}`; export r; \
8875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8878 (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \
8883 .PHONY: install-flex maybe-install-flex
8886 maybe-install-flex: install-flex
8888 install-flex: installdirs
8889 @r=`${PWD_COMMAND}`; export r; \
8890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8893 (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
8897 # Other targets (info, dvi, etc.)
8899 .PHONY: maybe-info-flex info-flex
8902 maybe-info-flex: info-flex
8906 @[ -f ./flex/Makefile ] || exit 0; \
8907 r=`${PWD_COMMAND}`; export r; \
8908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8911 for flag in $(EXTRA_HOST_FLAGS) ; do \
8912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8914 echo "Doing info in flex" ; \
8916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8918 "RANLIB=$${RANLIB}" \
8919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8925 .PHONY: maybe-dvi-flex dvi-flex
8928 maybe-dvi-flex: dvi-flex
8932 @[ -f ./flex/Makefile ] || exit 0; \
8933 r=`${PWD_COMMAND}`; export r; \
8934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8937 for flag in $(EXTRA_HOST_FLAGS) ; do \
8938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8940 echo "Doing dvi in flex" ; \
8942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8944 "RANLIB=$${RANLIB}" \
8945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8951 .PHONY: maybe-html-flex html-flex
8954 maybe-html-flex: html-flex
8958 @[ -f ./flex/Makefile ] || exit 0; \
8959 r=`${PWD_COMMAND}`; export r; \
8960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8963 for flag in $(EXTRA_HOST_FLAGS) ; do \
8964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8966 echo "Doing html in flex" ; \
8968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8970 "RANLIB=$${RANLIB}" \
8971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8977 .PHONY: maybe-TAGS-flex TAGS-flex
8980 maybe-TAGS-flex: TAGS-flex
8984 @[ -f ./flex/Makefile ] || exit 0; \
8985 r=`${PWD_COMMAND}`; export r; \
8986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8989 for flag in $(EXTRA_HOST_FLAGS) ; do \
8990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8992 echo "Doing TAGS in flex" ; \
8994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8996 "RANLIB=$${RANLIB}" \
8997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9003 .PHONY: maybe-install-info-flex install-info-flex
9004 maybe-install-info-flex:
9006 maybe-install-info-flex: install-info-flex
9008 install-info-flex: \
9011 @[ -f ./flex/Makefile ] || exit 0; \
9012 r=`${PWD_COMMAND}`; export r; \
9013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9016 for flag in $(EXTRA_HOST_FLAGS) ; do \
9017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9019 echo "Doing install-info in flex" ; \
9021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9023 "RANLIB=$${RANLIB}" \
9024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9030 .PHONY: maybe-installcheck-flex installcheck-flex
9031 maybe-installcheck-flex:
9033 maybe-installcheck-flex: installcheck-flex
9035 installcheck-flex: \
9037 @[ -f ./flex/Makefile ] || exit 0; \
9038 r=`${PWD_COMMAND}`; export r; \
9039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9042 for flag in $(EXTRA_HOST_FLAGS) ; do \
9043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9045 echo "Doing installcheck in flex" ; \
9047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9049 "RANLIB=$${RANLIB}" \
9050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9056 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
9057 maybe-mostlyclean-flex:
9059 maybe-mostlyclean-flex: mostlyclean-flex
9062 @[ -f ./flex/Makefile ] || exit 0; \
9063 r=`${PWD_COMMAND}`; export r; \
9064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9067 for flag in $(EXTRA_HOST_FLAGS) ; do \
9068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9070 echo "Doing mostlyclean in flex" ; \
9072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9074 "RANLIB=$${RANLIB}" \
9075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9081 .PHONY: maybe-clean-flex clean-flex
9084 maybe-clean-flex: clean-flex
9087 @[ -f ./flex/Makefile ] || exit 0; \
9088 r=`${PWD_COMMAND}`; export r; \
9089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9092 for flag in $(EXTRA_HOST_FLAGS) ; do \
9093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9095 echo "Doing clean in flex" ; \
9097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9099 "RANLIB=$${RANLIB}" \
9100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9106 .PHONY: maybe-distclean-flex distclean-flex
9107 maybe-distclean-flex:
9109 maybe-distclean-flex: distclean-flex
9112 @[ -f ./flex/Makefile ] || exit 0; \
9113 r=`${PWD_COMMAND}`; export r; \
9114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9117 for flag in $(EXTRA_HOST_FLAGS) ; do \
9118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9120 echo "Doing distclean in flex" ; \
9122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9124 "RANLIB=$${RANLIB}" \
9125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9131 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
9132 maybe-maintainer-clean-flex:
9134 maybe-maintainer-clean-flex: maintainer-clean-flex
9136 maintainer-clean-flex:
9137 @[ -f ./flex/Makefile ] || exit 0; \
9138 r=`${PWD_COMMAND}`; export r; \
9139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9142 for flag in $(EXTRA_HOST_FLAGS) ; do \
9143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9145 echo "Doing maintainer-clean in flex" ; \
9147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9149 "RANLIB=$${RANLIB}" \
9150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9157 .PHONY: configure-gas maybe-configure-gas
9158 maybe-configure-gas:
9160 maybe-configure-gas: configure-gas
9162 @test -f stage_last && exit 0; \
9163 test ! -f gas/Makefile || exit 0; \
9164 [ -d gas ] || mkdir gas; \
9165 r=`${PWD_COMMAND}`; export r; \
9166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9168 echo Configuring in gas; \
9172 srcdiroption="--srcdir=."; \
9174 /* | [A-Za-z]:[\\/]*) \
9175 srcdiroption="--srcdir=$(srcdir)/gas"; \
9176 libsrcdir="$$s/gas";; \
9178 srcdiroption="--srcdir=../$(srcdir)/gas"; \
9179 libsrcdir="$$s/gas";; \
9181 $(SHELL) $${libsrcdir}/configure \
9182 $(HOST_CONFIGARGS) $${srcdiroption} \
9186 .PHONY: all-gas maybe-all-gas
9190 maybe-all-gas: all-gas
9191 all-gas: configure-gas
9192 @test -f stage_last && exit 0; \
9193 r=`${PWD_COMMAND}`; export r; \
9194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9197 (cd gas && $(MAKE) $(FLAGS_TO_PASS) \
9201 .PHONY: check-gas maybe-check-gas
9204 maybe-check-gas: check-gas
9207 @r=`${PWD_COMMAND}`; export r; \
9208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9211 (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
9215 .PHONY: install-gas maybe-install-gas
9218 maybe-install-gas: install-gas
9220 install-gas: installdirs
9221 @r=`${PWD_COMMAND}`; export r; \
9222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9225 (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
9229 # Other targets (info, dvi, etc.)
9231 .PHONY: maybe-info-gas info-gas
9234 maybe-info-gas: info-gas
9238 @[ -f ./gas/Makefile ] || exit 0; \
9239 r=`${PWD_COMMAND}`; export r; \
9240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9243 for flag in $(EXTRA_HOST_FLAGS) ; do \
9244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9246 echo "Doing info in gas" ; \
9248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9250 "RANLIB=$${RANLIB}" \
9251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9257 .PHONY: maybe-dvi-gas dvi-gas
9260 maybe-dvi-gas: dvi-gas
9264 @[ -f ./gas/Makefile ] || exit 0; \
9265 r=`${PWD_COMMAND}`; export r; \
9266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9269 for flag in $(EXTRA_HOST_FLAGS) ; do \
9270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9272 echo "Doing dvi in gas" ; \
9274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9276 "RANLIB=$${RANLIB}" \
9277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9283 .PHONY: maybe-html-gas html-gas
9286 maybe-html-gas: html-gas
9290 @[ -f ./gas/Makefile ] || exit 0; \
9291 r=`${PWD_COMMAND}`; export r; \
9292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9295 for flag in $(EXTRA_HOST_FLAGS) ; do \
9296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9298 echo "Doing html in gas" ; \
9300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9302 "RANLIB=$${RANLIB}" \
9303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9309 .PHONY: maybe-TAGS-gas TAGS-gas
9312 maybe-TAGS-gas: TAGS-gas
9316 @[ -f ./gas/Makefile ] || exit 0; \
9317 r=`${PWD_COMMAND}`; export r; \
9318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9321 for flag in $(EXTRA_HOST_FLAGS) ; do \
9322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9324 echo "Doing TAGS in gas" ; \
9326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9328 "RANLIB=$${RANLIB}" \
9329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9335 .PHONY: maybe-install-info-gas install-info-gas
9336 maybe-install-info-gas:
9338 maybe-install-info-gas: install-info-gas
9343 @[ -f ./gas/Makefile ] || exit 0; \
9344 r=`${PWD_COMMAND}`; export r; \
9345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9348 for flag in $(EXTRA_HOST_FLAGS) ; do \
9349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9351 echo "Doing install-info in gas" ; \
9353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9355 "RANLIB=$${RANLIB}" \
9356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9362 .PHONY: maybe-installcheck-gas installcheck-gas
9363 maybe-installcheck-gas:
9365 maybe-installcheck-gas: installcheck-gas
9369 @[ -f ./gas/Makefile ] || exit 0; \
9370 r=`${PWD_COMMAND}`; export r; \
9371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9374 for flag in $(EXTRA_HOST_FLAGS) ; do \
9375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9377 echo "Doing installcheck in gas" ; \
9379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9381 "RANLIB=$${RANLIB}" \
9382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9388 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9389 maybe-mostlyclean-gas:
9391 maybe-mostlyclean-gas: mostlyclean-gas
9394 @[ -f ./gas/Makefile ] || exit 0; \
9395 r=`${PWD_COMMAND}`; export r; \
9396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9399 for flag in $(EXTRA_HOST_FLAGS) ; do \
9400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9402 echo "Doing mostlyclean in gas" ; \
9404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9406 "RANLIB=$${RANLIB}" \
9407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9413 .PHONY: maybe-clean-gas clean-gas
9416 maybe-clean-gas: clean-gas
9419 @[ -f ./gas/Makefile ] || exit 0; \
9420 r=`${PWD_COMMAND}`; export r; \
9421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9424 for flag in $(EXTRA_HOST_FLAGS) ; do \
9425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9427 echo "Doing clean in gas" ; \
9429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9431 "RANLIB=$${RANLIB}" \
9432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9438 .PHONY: maybe-distclean-gas distclean-gas
9439 maybe-distclean-gas:
9441 maybe-distclean-gas: distclean-gas
9444 @[ -f ./gas/Makefile ] || exit 0; \
9445 r=`${PWD_COMMAND}`; export r; \
9446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9449 for flag in $(EXTRA_HOST_FLAGS) ; do \
9450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9452 echo "Doing distclean in gas" ; \
9454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9456 "RANLIB=$${RANLIB}" \
9457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9463 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9464 maybe-maintainer-clean-gas:
9466 maybe-maintainer-clean-gas: maintainer-clean-gas
9468 maintainer-clean-gas:
9469 @[ -f ./gas/Makefile ] || exit 0; \
9470 r=`${PWD_COMMAND}`; export r; \
9471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9474 for flag in $(EXTRA_HOST_FLAGS) ; do \
9475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9477 echo "Doing maintainer-clean in gas" ; \
9479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9481 "RANLIB=$${RANLIB}" \
9482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9489 .PHONY: configure-gcc maybe-configure-gcc
9490 maybe-configure-gcc:
9492 maybe-configure-gcc: configure-gcc
9494 @test -f stage_last && exit 0; \
9495 test ! -f gcc/Makefile || exit 0; \
9496 [ -d gcc ] || mkdir gcc; \
9497 r=`${PWD_COMMAND}`; export r; \
9498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9500 echo Configuring in gcc; \
9504 srcdiroption="--srcdir=."; \
9506 /* | [A-Za-z]:[\\/]*) \
9507 srcdiroption="--srcdir=$(srcdir)/gcc"; \
9508 libsrcdir="$$s/gcc";; \
9510 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
9511 libsrcdir="$$s/gcc";; \
9513 $(SHELL) $${libsrcdir}/configure \
9514 $(HOST_CONFIGARGS) $${srcdiroption} \
9518 .PHONY: all-gcc maybe-all-gcc
9521 TARGET-gcc=`if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi`
9522 maybe-all-gcc: all-gcc
9523 all-gcc: configure-gcc
9524 @test -f stage_last && exit 0; \
9525 r=`${PWD_COMMAND}`; export r; \
9526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9529 (cd gcc && $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
9533 .PHONY: check-gcc maybe-check-gcc
9536 maybe-check-gcc: check-gcc
9539 @r=`${PWD_COMMAND}`; export r; \
9540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9543 (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) check)
9547 .PHONY: install-gcc maybe-install-gcc
9550 maybe-install-gcc: install-gcc
9552 install-gcc: installdirs
9553 @r=`${PWD_COMMAND}`; export r; \
9554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9557 (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) install)
9561 # Other targets (info, dvi, etc.)
9563 .PHONY: maybe-info-gcc info-gcc
9566 maybe-info-gcc: info-gcc
9570 @[ -f ./gcc/Makefile ] || exit 0; \
9571 r=`${PWD_COMMAND}`; export r; \
9572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9575 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9578 echo "Doing info in gcc" ; \
9580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9582 "RANLIB=$${RANLIB}" \
9583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9589 .PHONY: maybe-dvi-gcc dvi-gcc
9592 maybe-dvi-gcc: dvi-gcc
9596 @[ -f ./gcc/Makefile ] || exit 0; \
9597 r=`${PWD_COMMAND}`; export r; \
9598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9601 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9604 echo "Doing dvi in gcc" ; \
9606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9608 "RANLIB=$${RANLIB}" \
9609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9615 .PHONY: maybe-html-gcc html-gcc
9618 maybe-html-gcc: html-gcc
9622 @[ -f ./gcc/Makefile ] || exit 0; \
9623 r=`${PWD_COMMAND}`; export r; \
9624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9627 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9630 echo "Doing html in gcc" ; \
9632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9634 "RANLIB=$${RANLIB}" \
9635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9641 .PHONY: maybe-TAGS-gcc TAGS-gcc
9644 maybe-TAGS-gcc: TAGS-gcc
9648 @[ -f ./gcc/Makefile ] || exit 0; \
9649 r=`${PWD_COMMAND}`; export r; \
9650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9653 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9656 echo "Doing TAGS in gcc" ; \
9658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9660 "RANLIB=$${RANLIB}" \
9661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9667 .PHONY: maybe-install-info-gcc install-info-gcc
9668 maybe-install-info-gcc:
9670 maybe-install-info-gcc: install-info-gcc
9675 @[ -f ./gcc/Makefile ] || exit 0; \
9676 r=`${PWD_COMMAND}`; export r; \
9677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9680 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9683 echo "Doing install-info in gcc" ; \
9685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9687 "RANLIB=$${RANLIB}" \
9688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9694 .PHONY: maybe-installcheck-gcc installcheck-gcc
9695 maybe-installcheck-gcc:
9697 maybe-installcheck-gcc: installcheck-gcc
9701 @[ -f ./gcc/Makefile ] || exit 0; \
9702 r=`${PWD_COMMAND}`; export r; \
9703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9706 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9709 echo "Doing installcheck in gcc" ; \
9711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9713 "RANLIB=$${RANLIB}" \
9714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9720 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
9721 maybe-mostlyclean-gcc:
9723 maybe-mostlyclean-gcc: mostlyclean-gcc
9726 @[ -f ./gcc/Makefile ] || exit 0; \
9727 r=`${PWD_COMMAND}`; export r; \
9728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9731 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9734 echo "Doing mostlyclean in gcc" ; \
9736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9738 "RANLIB=$${RANLIB}" \
9739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9745 .PHONY: maybe-clean-gcc clean-gcc
9748 maybe-clean-gcc: clean-gcc
9751 @[ -f ./gcc/Makefile ] || exit 0; \
9752 r=`${PWD_COMMAND}`; export r; \
9753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9756 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9759 echo "Doing clean in gcc" ; \
9761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9763 "RANLIB=$${RANLIB}" \
9764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9770 .PHONY: maybe-distclean-gcc distclean-gcc
9771 maybe-distclean-gcc:
9773 maybe-distclean-gcc: distclean-gcc
9776 @[ -f ./gcc/Makefile ] || exit 0; \
9777 r=`${PWD_COMMAND}`; export r; \
9778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9781 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9784 echo "Doing distclean in gcc" ; \
9786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9788 "RANLIB=$${RANLIB}" \
9789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9795 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
9796 maybe-maintainer-clean-gcc:
9798 maybe-maintainer-clean-gcc: maintainer-clean-gcc
9800 maintainer-clean-gcc:
9801 @[ -f ./gcc/Makefile ] || exit 0; \
9802 r=`${PWD_COMMAND}`; export r; \
9803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9806 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9809 echo "Doing maintainer-clean in gcc" ; \
9811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9813 "RANLIB=$${RANLIB}" \
9814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9821 .PHONY: configure-gawk maybe-configure-gawk
9822 maybe-configure-gawk:
9824 maybe-configure-gawk: configure-gawk
9826 @test ! -f gawk/Makefile || exit 0; \
9827 [ -d gawk ] || mkdir gawk; \
9828 r=`${PWD_COMMAND}`; export r; \
9829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9831 echo Configuring in gawk; \
9832 cd gawk || exit 1; \
9835 srcdiroption="--srcdir=."; \
9837 /* | [A-Za-z]:[\\/]*) \
9838 srcdiroption="--srcdir=$(srcdir)/gawk"; \
9839 libsrcdir="$$s/gawk";; \
9841 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
9842 libsrcdir="$$s/gawk";; \
9844 $(SHELL) $${libsrcdir}/configure \
9845 $(HOST_CONFIGARGS) $${srcdiroption} \
9849 .PHONY: all-gawk maybe-all-gawk
9853 maybe-all-gawk: all-gawk
9854 all-gawk: configure-gawk
9855 @r=`${PWD_COMMAND}`; export r; \
9856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9859 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) \
9863 .PHONY: check-gawk maybe-check-gawk
9866 maybe-check-gawk: check-gawk
9869 @r=`${PWD_COMMAND}`; export r; \
9870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9873 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
9877 .PHONY: install-gawk maybe-install-gawk
9880 maybe-install-gawk: install-gawk
9882 install-gawk: installdirs
9883 @r=`${PWD_COMMAND}`; export r; \
9884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9887 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
9891 # Other targets (info, dvi, etc.)
9893 .PHONY: maybe-info-gawk info-gawk
9896 maybe-info-gawk: info-gawk
9900 @[ -f ./gawk/Makefile ] || exit 0; \
9901 r=`${PWD_COMMAND}`; export r; \
9902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9905 for flag in $(EXTRA_HOST_FLAGS) ; do \
9906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9908 echo "Doing info in gawk" ; \
9910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9912 "RANLIB=$${RANLIB}" \
9913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9919 .PHONY: maybe-dvi-gawk dvi-gawk
9922 maybe-dvi-gawk: dvi-gawk
9926 @[ -f ./gawk/Makefile ] || exit 0; \
9927 r=`${PWD_COMMAND}`; export r; \
9928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9931 for flag in $(EXTRA_HOST_FLAGS) ; do \
9932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9934 echo "Doing dvi in gawk" ; \
9936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9938 "RANLIB=$${RANLIB}" \
9939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9945 .PHONY: maybe-html-gawk html-gawk
9948 maybe-html-gawk: html-gawk
9952 @[ -f ./gawk/Makefile ] || exit 0; \
9953 r=`${PWD_COMMAND}`; export r; \
9954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9957 for flag in $(EXTRA_HOST_FLAGS) ; do \
9958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9960 echo "Doing html in gawk" ; \
9962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9964 "RANLIB=$${RANLIB}" \
9965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9971 .PHONY: maybe-TAGS-gawk TAGS-gawk
9974 maybe-TAGS-gawk: TAGS-gawk
9978 @[ -f ./gawk/Makefile ] || exit 0; \
9979 r=`${PWD_COMMAND}`; export r; \
9980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9983 for flag in $(EXTRA_HOST_FLAGS) ; do \
9984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9986 echo "Doing TAGS in gawk" ; \
9988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9990 "RANLIB=$${RANLIB}" \
9991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9997 .PHONY: maybe-install-info-gawk install-info-gawk
9998 maybe-install-info-gawk:
10000 maybe-install-info-gawk: install-info-gawk
10002 install-info-gawk: \
10005 @[ -f ./gawk/Makefile ] || exit 0; \
10006 r=`${PWD_COMMAND}`; export r; \
10007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10010 for flag in $(EXTRA_HOST_FLAGS) ; do \
10011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10013 echo "Doing install-info in gawk" ; \
10015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10017 "RANLIB=$${RANLIB}" \
10018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10024 .PHONY: maybe-installcheck-gawk installcheck-gawk
10025 maybe-installcheck-gawk:
10027 maybe-installcheck-gawk: installcheck-gawk
10029 installcheck-gawk: \
10031 @[ -f ./gawk/Makefile ] || exit 0; \
10032 r=`${PWD_COMMAND}`; export r; \
10033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10036 for flag in $(EXTRA_HOST_FLAGS) ; do \
10037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10039 echo "Doing installcheck in gawk" ; \
10041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10043 "RANLIB=$${RANLIB}" \
10044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10050 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
10051 maybe-mostlyclean-gawk:
10053 maybe-mostlyclean-gawk: mostlyclean-gawk
10056 @[ -f ./gawk/Makefile ] || exit 0; \
10057 r=`${PWD_COMMAND}`; export r; \
10058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10061 for flag in $(EXTRA_HOST_FLAGS) ; do \
10062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10064 echo "Doing mostlyclean in gawk" ; \
10066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10068 "RANLIB=$${RANLIB}" \
10069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10075 .PHONY: maybe-clean-gawk clean-gawk
10078 maybe-clean-gawk: clean-gawk
10081 @[ -f ./gawk/Makefile ] || exit 0; \
10082 r=`${PWD_COMMAND}`; export r; \
10083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10086 for flag in $(EXTRA_HOST_FLAGS) ; do \
10087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10089 echo "Doing clean in gawk" ; \
10091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10093 "RANLIB=$${RANLIB}" \
10094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10100 .PHONY: maybe-distclean-gawk distclean-gawk
10101 maybe-distclean-gawk:
10103 maybe-distclean-gawk: distclean-gawk
10106 @[ -f ./gawk/Makefile ] || exit 0; \
10107 r=`${PWD_COMMAND}`; export r; \
10108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10111 for flag in $(EXTRA_HOST_FLAGS) ; do \
10112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10114 echo "Doing distclean in gawk" ; \
10116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10118 "RANLIB=$${RANLIB}" \
10119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10125 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
10126 maybe-maintainer-clean-gawk:
10128 maybe-maintainer-clean-gawk: maintainer-clean-gawk
10130 maintainer-clean-gawk:
10131 @[ -f ./gawk/Makefile ] || exit 0; \
10132 r=`${PWD_COMMAND}`; export r; \
10133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10136 for flag in $(EXTRA_HOST_FLAGS) ; do \
10137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10139 echo "Doing maintainer-clean in gawk" ; \
10141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10143 "RANLIB=$${RANLIB}" \
10144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10145 maintainer-clean) \
10151 .PHONY: configure-gettext maybe-configure-gettext
10152 maybe-configure-gettext:
10154 maybe-configure-gettext: configure-gettext
10156 @test ! -f gettext/Makefile || exit 0; \
10157 [ -d gettext ] || mkdir gettext; \
10158 r=`${PWD_COMMAND}`; export r; \
10159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10161 echo Configuring in gettext; \
10162 cd gettext || exit 1; \
10163 case $(srcdir) in \
10165 srcdiroption="--srcdir=."; \
10167 /* | [A-Za-z]:[\\/]*) \
10168 srcdiroption="--srcdir=$(srcdir)/gettext"; \
10169 libsrcdir="$$s/gettext";; \
10171 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
10172 libsrcdir="$$s/gettext";; \
10174 $(SHELL) $${libsrcdir}/configure \
10175 $(HOST_CONFIGARGS) $${srcdiroption} \
10179 .PHONY: all-gettext maybe-all-gettext
10183 maybe-all-gettext: all-gettext
10184 all-gettext: configure-gettext
10185 @r=`${PWD_COMMAND}`; export r; \
10186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10189 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) \
10193 .PHONY: check-gettext maybe-check-gettext
10194 maybe-check-gettext:
10196 maybe-check-gettext: check-gettext
10199 @r=`${PWD_COMMAND}`; export r; \
10200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10203 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
10207 .PHONY: install-gettext maybe-install-gettext
10208 maybe-install-gettext:
10210 maybe-install-gettext: install-gettext
10212 install-gettext: installdirs
10213 @r=`${PWD_COMMAND}`; export r; \
10214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10217 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
10221 # Other targets (info, dvi, etc.)
10223 .PHONY: maybe-info-gettext info-gettext
10224 maybe-info-gettext:
10226 maybe-info-gettext: info-gettext
10230 @[ -f ./gettext/Makefile ] || exit 0; \
10231 r=`${PWD_COMMAND}`; export r; \
10232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10235 for flag in $(EXTRA_HOST_FLAGS) ; do \
10236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10238 echo "Doing info in gettext" ; \
10240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10242 "RANLIB=$${RANLIB}" \
10243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10249 .PHONY: maybe-dvi-gettext dvi-gettext
10252 maybe-dvi-gettext: dvi-gettext
10256 @[ -f ./gettext/Makefile ] || exit 0; \
10257 r=`${PWD_COMMAND}`; export r; \
10258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10261 for flag in $(EXTRA_HOST_FLAGS) ; do \
10262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10264 echo "Doing dvi in gettext" ; \
10266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10268 "RANLIB=$${RANLIB}" \
10269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10275 .PHONY: maybe-html-gettext html-gettext
10276 maybe-html-gettext:
10278 maybe-html-gettext: html-gettext
10282 @[ -f ./gettext/Makefile ] || exit 0; \
10283 r=`${PWD_COMMAND}`; export r; \
10284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10287 for flag in $(EXTRA_HOST_FLAGS) ; do \
10288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10290 echo "Doing html in gettext" ; \
10292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10294 "RANLIB=$${RANLIB}" \
10295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10301 .PHONY: maybe-TAGS-gettext TAGS-gettext
10302 maybe-TAGS-gettext:
10304 maybe-TAGS-gettext: TAGS-gettext
10308 @[ -f ./gettext/Makefile ] || exit 0; \
10309 r=`${PWD_COMMAND}`; export r; \
10310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10313 for flag in $(EXTRA_HOST_FLAGS) ; do \
10314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10316 echo "Doing TAGS in gettext" ; \
10318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10320 "RANLIB=$${RANLIB}" \
10321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10327 .PHONY: maybe-install-info-gettext install-info-gettext
10328 maybe-install-info-gettext:
10330 maybe-install-info-gettext: install-info-gettext
10332 install-info-gettext: \
10333 configure-gettext \
10335 @[ -f ./gettext/Makefile ] || exit 0; \
10336 r=`${PWD_COMMAND}`; export r; \
10337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10340 for flag in $(EXTRA_HOST_FLAGS) ; do \
10341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10343 echo "Doing install-info in gettext" ; \
10345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10347 "RANLIB=$${RANLIB}" \
10348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10354 .PHONY: maybe-installcheck-gettext installcheck-gettext
10355 maybe-installcheck-gettext:
10357 maybe-installcheck-gettext: installcheck-gettext
10359 installcheck-gettext: \
10361 @[ -f ./gettext/Makefile ] || exit 0; \
10362 r=`${PWD_COMMAND}`; export r; \
10363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10366 for flag in $(EXTRA_HOST_FLAGS) ; do \
10367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10369 echo "Doing installcheck in gettext" ; \
10371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10373 "RANLIB=$${RANLIB}" \
10374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10380 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
10381 maybe-mostlyclean-gettext:
10383 maybe-mostlyclean-gettext: mostlyclean-gettext
10385 mostlyclean-gettext:
10386 @[ -f ./gettext/Makefile ] || exit 0; \
10387 r=`${PWD_COMMAND}`; export r; \
10388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10391 for flag in $(EXTRA_HOST_FLAGS) ; do \
10392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10394 echo "Doing mostlyclean in gettext" ; \
10396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10398 "RANLIB=$${RANLIB}" \
10399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10405 .PHONY: maybe-clean-gettext clean-gettext
10406 maybe-clean-gettext:
10408 maybe-clean-gettext: clean-gettext
10411 @[ -f ./gettext/Makefile ] || exit 0; \
10412 r=`${PWD_COMMAND}`; export r; \
10413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10416 for flag in $(EXTRA_HOST_FLAGS) ; do \
10417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10419 echo "Doing clean in gettext" ; \
10421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10423 "RANLIB=$${RANLIB}" \
10424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10430 .PHONY: maybe-distclean-gettext distclean-gettext
10431 maybe-distclean-gettext:
10433 maybe-distclean-gettext: distclean-gettext
10436 @[ -f ./gettext/Makefile ] || exit 0; \
10437 r=`${PWD_COMMAND}`; export r; \
10438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10441 for flag in $(EXTRA_HOST_FLAGS) ; do \
10442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10444 echo "Doing distclean in gettext" ; \
10446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10448 "RANLIB=$${RANLIB}" \
10449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10455 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
10456 maybe-maintainer-clean-gettext:
10458 maybe-maintainer-clean-gettext: maintainer-clean-gettext
10460 maintainer-clean-gettext:
10461 @[ -f ./gettext/Makefile ] || exit 0; \
10462 r=`${PWD_COMMAND}`; export r; \
10463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10466 for flag in $(EXTRA_HOST_FLAGS) ; do \
10467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10469 echo "Doing maintainer-clean in gettext" ; \
10471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10473 "RANLIB=$${RANLIB}" \
10474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10475 maintainer-clean) \
10481 .PHONY: configure-gnuserv maybe-configure-gnuserv
10482 maybe-configure-gnuserv:
10484 maybe-configure-gnuserv: configure-gnuserv
10486 @test ! -f gnuserv/Makefile || exit 0; \
10487 [ -d gnuserv ] || mkdir gnuserv; \
10488 r=`${PWD_COMMAND}`; export r; \
10489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10491 echo Configuring in gnuserv; \
10492 cd gnuserv || exit 1; \
10493 case $(srcdir) in \
10495 srcdiroption="--srcdir=."; \
10497 /* | [A-Za-z]:[\\/]*) \
10498 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
10499 libsrcdir="$$s/gnuserv";; \
10501 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
10502 libsrcdir="$$s/gnuserv";; \
10504 $(SHELL) $${libsrcdir}/configure \
10505 $(HOST_CONFIGARGS) $${srcdiroption} \
10509 .PHONY: all-gnuserv maybe-all-gnuserv
10513 maybe-all-gnuserv: all-gnuserv
10514 all-gnuserv: configure-gnuserv
10515 @r=`${PWD_COMMAND}`; export r; \
10516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10519 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) \
10523 .PHONY: check-gnuserv maybe-check-gnuserv
10524 maybe-check-gnuserv:
10526 maybe-check-gnuserv: check-gnuserv
10529 @r=`${PWD_COMMAND}`; export r; \
10530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10533 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
10537 .PHONY: install-gnuserv maybe-install-gnuserv
10538 maybe-install-gnuserv:
10540 maybe-install-gnuserv: install-gnuserv
10542 install-gnuserv: installdirs
10543 @r=`${PWD_COMMAND}`; export r; \
10544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10547 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
10551 # Other targets (info, dvi, etc.)
10553 .PHONY: maybe-info-gnuserv info-gnuserv
10554 maybe-info-gnuserv:
10556 maybe-info-gnuserv: info-gnuserv
10560 @[ -f ./gnuserv/Makefile ] || exit 0; \
10561 r=`${PWD_COMMAND}`; export r; \
10562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10565 for flag in $(EXTRA_HOST_FLAGS) ; do \
10566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10568 echo "Doing info in gnuserv" ; \
10570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10572 "RANLIB=$${RANLIB}" \
10573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10579 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
10582 maybe-dvi-gnuserv: dvi-gnuserv
10586 @[ -f ./gnuserv/Makefile ] || exit 0; \
10587 r=`${PWD_COMMAND}`; export r; \
10588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10591 for flag in $(EXTRA_HOST_FLAGS) ; do \
10592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10594 echo "Doing dvi in gnuserv" ; \
10596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10598 "RANLIB=$${RANLIB}" \
10599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10605 .PHONY: maybe-html-gnuserv html-gnuserv
10606 maybe-html-gnuserv:
10608 maybe-html-gnuserv: html-gnuserv
10612 @[ -f ./gnuserv/Makefile ] || exit 0; \
10613 r=`${PWD_COMMAND}`; export r; \
10614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10617 for flag in $(EXTRA_HOST_FLAGS) ; do \
10618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10620 echo "Doing html in gnuserv" ; \
10622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10624 "RANLIB=$${RANLIB}" \
10625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10631 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
10632 maybe-TAGS-gnuserv:
10634 maybe-TAGS-gnuserv: TAGS-gnuserv
10638 @[ -f ./gnuserv/Makefile ] || exit 0; \
10639 r=`${PWD_COMMAND}`; export r; \
10640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10643 for flag in $(EXTRA_HOST_FLAGS) ; do \
10644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10646 echo "Doing TAGS in gnuserv" ; \
10648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10650 "RANLIB=$${RANLIB}" \
10651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10657 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
10658 maybe-install-info-gnuserv:
10660 maybe-install-info-gnuserv: install-info-gnuserv
10662 install-info-gnuserv: \
10663 configure-gnuserv \
10665 @[ -f ./gnuserv/Makefile ] || exit 0; \
10666 r=`${PWD_COMMAND}`; export r; \
10667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10670 for flag in $(EXTRA_HOST_FLAGS) ; do \
10671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10673 echo "Doing install-info in gnuserv" ; \
10675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10677 "RANLIB=$${RANLIB}" \
10678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10684 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
10685 maybe-installcheck-gnuserv:
10687 maybe-installcheck-gnuserv: installcheck-gnuserv
10689 installcheck-gnuserv: \
10691 @[ -f ./gnuserv/Makefile ] || exit 0; \
10692 r=`${PWD_COMMAND}`; export r; \
10693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10696 for flag in $(EXTRA_HOST_FLAGS) ; do \
10697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10699 echo "Doing installcheck in gnuserv" ; \
10701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10703 "RANLIB=$${RANLIB}" \
10704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10710 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
10711 maybe-mostlyclean-gnuserv:
10713 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
10715 mostlyclean-gnuserv:
10716 @[ -f ./gnuserv/Makefile ] || exit 0; \
10717 r=`${PWD_COMMAND}`; export r; \
10718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10721 for flag in $(EXTRA_HOST_FLAGS) ; do \
10722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10724 echo "Doing mostlyclean in gnuserv" ; \
10726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10728 "RANLIB=$${RANLIB}" \
10729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10735 .PHONY: maybe-clean-gnuserv clean-gnuserv
10736 maybe-clean-gnuserv:
10738 maybe-clean-gnuserv: clean-gnuserv
10741 @[ -f ./gnuserv/Makefile ] || exit 0; \
10742 r=`${PWD_COMMAND}`; export r; \
10743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10746 for flag in $(EXTRA_HOST_FLAGS) ; do \
10747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10749 echo "Doing clean in gnuserv" ; \
10751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10753 "RANLIB=$${RANLIB}" \
10754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10760 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
10761 maybe-distclean-gnuserv:
10763 maybe-distclean-gnuserv: distclean-gnuserv
10766 @[ -f ./gnuserv/Makefile ] || exit 0; \
10767 r=`${PWD_COMMAND}`; export r; \
10768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10771 for flag in $(EXTRA_HOST_FLAGS) ; do \
10772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10774 echo "Doing distclean in gnuserv" ; \
10776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10778 "RANLIB=$${RANLIB}" \
10779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10785 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
10786 maybe-maintainer-clean-gnuserv:
10788 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
10790 maintainer-clean-gnuserv:
10791 @[ -f ./gnuserv/Makefile ] || exit 0; \
10792 r=`${PWD_COMMAND}`; export r; \
10793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10796 for flag in $(EXTRA_HOST_FLAGS) ; do \
10797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10799 echo "Doing maintainer-clean in gnuserv" ; \
10801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10803 "RANLIB=$${RANLIB}" \
10804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10805 maintainer-clean) \
10811 .PHONY: configure-gprof maybe-configure-gprof
10812 maybe-configure-gprof:
10814 maybe-configure-gprof: configure-gprof
10816 @test ! -f gprof/Makefile || exit 0; \
10817 [ -d gprof ] || mkdir gprof; \
10818 r=`${PWD_COMMAND}`; export r; \
10819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10821 echo Configuring in gprof; \
10822 cd gprof || exit 1; \
10823 case $(srcdir) in \
10825 srcdiroption="--srcdir=."; \
10827 /* | [A-Za-z]:[\\/]*) \
10828 srcdiroption="--srcdir=$(srcdir)/gprof"; \
10829 libsrcdir="$$s/gprof";; \
10831 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
10832 libsrcdir="$$s/gprof";; \
10834 $(SHELL) $${libsrcdir}/configure \
10835 $(HOST_CONFIGARGS) $${srcdiroption} \
10839 .PHONY: all-gprof maybe-all-gprof
10843 maybe-all-gprof: all-gprof
10844 all-gprof: configure-gprof
10845 @r=`${PWD_COMMAND}`; export r; \
10846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10849 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) \
10853 .PHONY: check-gprof maybe-check-gprof
10856 maybe-check-gprof: check-gprof
10859 @r=`${PWD_COMMAND}`; export r; \
10860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10863 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
10867 .PHONY: install-gprof maybe-install-gprof
10868 maybe-install-gprof:
10870 maybe-install-gprof: install-gprof
10872 install-gprof: installdirs
10873 @r=`${PWD_COMMAND}`; export r; \
10874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10877 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
10881 # Other targets (info, dvi, etc.)
10883 .PHONY: maybe-info-gprof info-gprof
10886 maybe-info-gprof: info-gprof
10890 @[ -f ./gprof/Makefile ] || exit 0; \
10891 r=`${PWD_COMMAND}`; export r; \
10892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10895 for flag in $(EXTRA_HOST_FLAGS) ; do \
10896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10898 echo "Doing info in gprof" ; \
10900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10902 "RANLIB=$${RANLIB}" \
10903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10909 .PHONY: maybe-dvi-gprof dvi-gprof
10912 maybe-dvi-gprof: dvi-gprof
10916 @[ -f ./gprof/Makefile ] || exit 0; \
10917 r=`${PWD_COMMAND}`; export r; \
10918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10921 for flag in $(EXTRA_HOST_FLAGS) ; do \
10922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10924 echo "Doing dvi in gprof" ; \
10926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10928 "RANLIB=$${RANLIB}" \
10929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10935 .PHONY: maybe-html-gprof html-gprof
10938 maybe-html-gprof: html-gprof
10942 @[ -f ./gprof/Makefile ] || exit 0; \
10943 r=`${PWD_COMMAND}`; export r; \
10944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10947 for flag in $(EXTRA_HOST_FLAGS) ; do \
10948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10950 echo "Doing html in gprof" ; \
10952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10954 "RANLIB=$${RANLIB}" \
10955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10961 .PHONY: maybe-TAGS-gprof TAGS-gprof
10964 maybe-TAGS-gprof: TAGS-gprof
10968 @[ -f ./gprof/Makefile ] || exit 0; \
10969 r=`${PWD_COMMAND}`; export r; \
10970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10973 for flag in $(EXTRA_HOST_FLAGS) ; do \
10974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10976 echo "Doing TAGS in gprof" ; \
10978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10980 "RANLIB=$${RANLIB}" \
10981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10987 .PHONY: maybe-install-info-gprof install-info-gprof
10988 maybe-install-info-gprof:
10990 maybe-install-info-gprof: install-info-gprof
10992 install-info-gprof: \
10995 @[ -f ./gprof/Makefile ] || exit 0; \
10996 r=`${PWD_COMMAND}`; export r; \
10997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11000 for flag in $(EXTRA_HOST_FLAGS) ; do \
11001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11003 echo "Doing install-info in gprof" ; \
11005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11007 "RANLIB=$${RANLIB}" \
11008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11014 .PHONY: maybe-installcheck-gprof installcheck-gprof
11015 maybe-installcheck-gprof:
11017 maybe-installcheck-gprof: installcheck-gprof
11019 installcheck-gprof: \
11021 @[ -f ./gprof/Makefile ] || exit 0; \
11022 r=`${PWD_COMMAND}`; export r; \
11023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11026 for flag in $(EXTRA_HOST_FLAGS) ; do \
11027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11029 echo "Doing installcheck in gprof" ; \
11031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11033 "RANLIB=$${RANLIB}" \
11034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11040 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
11041 maybe-mostlyclean-gprof:
11043 maybe-mostlyclean-gprof: mostlyclean-gprof
11046 @[ -f ./gprof/Makefile ] || exit 0; \
11047 r=`${PWD_COMMAND}`; export r; \
11048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11051 for flag in $(EXTRA_HOST_FLAGS) ; do \
11052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11054 echo "Doing mostlyclean in gprof" ; \
11056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11058 "RANLIB=$${RANLIB}" \
11059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11065 .PHONY: maybe-clean-gprof clean-gprof
11068 maybe-clean-gprof: clean-gprof
11071 @[ -f ./gprof/Makefile ] || exit 0; \
11072 r=`${PWD_COMMAND}`; export r; \
11073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11076 for flag in $(EXTRA_HOST_FLAGS) ; do \
11077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11079 echo "Doing clean in gprof" ; \
11081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11083 "RANLIB=$${RANLIB}" \
11084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11090 .PHONY: maybe-distclean-gprof distclean-gprof
11091 maybe-distclean-gprof:
11093 maybe-distclean-gprof: distclean-gprof
11096 @[ -f ./gprof/Makefile ] || exit 0; \
11097 r=`${PWD_COMMAND}`; export r; \
11098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11101 for flag in $(EXTRA_HOST_FLAGS) ; do \
11102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11104 echo "Doing distclean in gprof" ; \
11106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11108 "RANLIB=$${RANLIB}" \
11109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11115 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
11116 maybe-maintainer-clean-gprof:
11118 maybe-maintainer-clean-gprof: maintainer-clean-gprof
11120 maintainer-clean-gprof:
11121 @[ -f ./gprof/Makefile ] || exit 0; \
11122 r=`${PWD_COMMAND}`; export r; \
11123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11126 for flag in $(EXTRA_HOST_FLAGS) ; do \
11127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11129 echo "Doing maintainer-clean in gprof" ; \
11131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11133 "RANLIB=$${RANLIB}" \
11134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11135 maintainer-clean) \
11141 .PHONY: configure-gzip maybe-configure-gzip
11142 maybe-configure-gzip:
11144 maybe-configure-gzip: configure-gzip
11146 @test ! -f gzip/Makefile || exit 0; \
11147 [ -d gzip ] || mkdir gzip; \
11148 r=`${PWD_COMMAND}`; export r; \
11149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11151 echo Configuring in gzip; \
11152 cd gzip || exit 1; \
11153 case $(srcdir) in \
11155 srcdiroption="--srcdir=."; \
11157 /* | [A-Za-z]:[\\/]*) \
11158 srcdiroption="--srcdir=$(srcdir)/gzip"; \
11159 libsrcdir="$$s/gzip";; \
11161 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
11162 libsrcdir="$$s/gzip";; \
11164 $(SHELL) $${libsrcdir}/configure \
11165 $(HOST_CONFIGARGS) $${srcdiroption} \
11169 .PHONY: all-gzip maybe-all-gzip
11173 maybe-all-gzip: all-gzip
11174 all-gzip: configure-gzip
11175 @r=`${PWD_COMMAND}`; export r; \
11176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11179 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) \
11183 .PHONY: check-gzip maybe-check-gzip
11186 maybe-check-gzip: check-gzip
11189 @r=`${PWD_COMMAND}`; export r; \
11190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11193 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
11197 .PHONY: install-gzip maybe-install-gzip
11198 maybe-install-gzip:
11200 maybe-install-gzip: install-gzip
11202 install-gzip: installdirs
11203 @r=`${PWD_COMMAND}`; export r; \
11204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11207 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
11211 # Other targets (info, dvi, etc.)
11213 .PHONY: maybe-info-gzip info-gzip
11216 maybe-info-gzip: info-gzip
11220 @[ -f ./gzip/Makefile ] || exit 0; \
11221 r=`${PWD_COMMAND}`; export r; \
11222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11225 for flag in $(EXTRA_HOST_FLAGS) ; do \
11226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11228 echo "Doing info in gzip" ; \
11230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11232 "RANLIB=$${RANLIB}" \
11233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11239 .PHONY: maybe-dvi-gzip dvi-gzip
11242 maybe-dvi-gzip: dvi-gzip
11246 @[ -f ./gzip/Makefile ] || exit 0; \
11247 r=`${PWD_COMMAND}`; export r; \
11248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11251 for flag in $(EXTRA_HOST_FLAGS) ; do \
11252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11254 echo "Doing dvi in gzip" ; \
11256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11258 "RANLIB=$${RANLIB}" \
11259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11265 .PHONY: maybe-html-gzip html-gzip
11268 maybe-html-gzip: html-gzip
11272 @[ -f ./gzip/Makefile ] || exit 0; \
11273 r=`${PWD_COMMAND}`; export r; \
11274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11277 for flag in $(EXTRA_HOST_FLAGS) ; do \
11278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11280 echo "Doing html in gzip" ; \
11282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11284 "RANLIB=$${RANLIB}" \
11285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11291 .PHONY: maybe-TAGS-gzip TAGS-gzip
11294 maybe-TAGS-gzip: TAGS-gzip
11298 @[ -f ./gzip/Makefile ] || exit 0; \
11299 r=`${PWD_COMMAND}`; export r; \
11300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11303 for flag in $(EXTRA_HOST_FLAGS) ; do \
11304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11306 echo "Doing TAGS in gzip" ; \
11308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11310 "RANLIB=$${RANLIB}" \
11311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11317 .PHONY: maybe-install-info-gzip install-info-gzip
11318 maybe-install-info-gzip:
11320 maybe-install-info-gzip: install-info-gzip
11322 install-info-gzip: \
11325 @[ -f ./gzip/Makefile ] || exit 0; \
11326 r=`${PWD_COMMAND}`; export r; \
11327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11330 for flag in $(EXTRA_HOST_FLAGS) ; do \
11331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11333 echo "Doing install-info in gzip" ; \
11335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11337 "RANLIB=$${RANLIB}" \
11338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11344 .PHONY: maybe-installcheck-gzip installcheck-gzip
11345 maybe-installcheck-gzip:
11347 maybe-installcheck-gzip: installcheck-gzip
11349 installcheck-gzip: \
11351 @[ -f ./gzip/Makefile ] || exit 0; \
11352 r=`${PWD_COMMAND}`; export r; \
11353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11356 for flag in $(EXTRA_HOST_FLAGS) ; do \
11357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11359 echo "Doing installcheck in gzip" ; \
11361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11363 "RANLIB=$${RANLIB}" \
11364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11370 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
11371 maybe-mostlyclean-gzip:
11373 maybe-mostlyclean-gzip: mostlyclean-gzip
11376 @[ -f ./gzip/Makefile ] || exit 0; \
11377 r=`${PWD_COMMAND}`; export r; \
11378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11381 for flag in $(EXTRA_HOST_FLAGS) ; do \
11382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11384 echo "Doing mostlyclean in gzip" ; \
11386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11388 "RANLIB=$${RANLIB}" \
11389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11395 .PHONY: maybe-clean-gzip clean-gzip
11398 maybe-clean-gzip: clean-gzip
11401 @[ -f ./gzip/Makefile ] || exit 0; \
11402 r=`${PWD_COMMAND}`; export r; \
11403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11406 for flag in $(EXTRA_HOST_FLAGS) ; do \
11407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11409 echo "Doing clean in gzip" ; \
11411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11413 "RANLIB=$${RANLIB}" \
11414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11420 .PHONY: maybe-distclean-gzip distclean-gzip
11421 maybe-distclean-gzip:
11423 maybe-distclean-gzip: distclean-gzip
11426 @[ -f ./gzip/Makefile ] || exit 0; \
11427 r=`${PWD_COMMAND}`; export r; \
11428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11431 for flag in $(EXTRA_HOST_FLAGS) ; do \
11432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11434 echo "Doing distclean in gzip" ; \
11436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11438 "RANLIB=$${RANLIB}" \
11439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11445 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
11446 maybe-maintainer-clean-gzip:
11448 maybe-maintainer-clean-gzip: maintainer-clean-gzip
11450 maintainer-clean-gzip:
11451 @[ -f ./gzip/Makefile ] || exit 0; \
11452 r=`${PWD_COMMAND}`; export r; \
11453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11456 for flag in $(EXTRA_HOST_FLAGS) ; do \
11457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11459 echo "Doing maintainer-clean in gzip" ; \
11461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11463 "RANLIB=$${RANLIB}" \
11464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11465 maintainer-clean) \
11471 .PHONY: configure-hello maybe-configure-hello
11472 maybe-configure-hello:
11474 maybe-configure-hello: configure-hello
11476 @test ! -f hello/Makefile || exit 0; \
11477 [ -d hello ] || mkdir hello; \
11478 r=`${PWD_COMMAND}`; export r; \
11479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11481 echo Configuring in hello; \
11482 cd hello || exit 1; \
11483 case $(srcdir) in \
11485 srcdiroption="--srcdir=."; \
11487 /* | [A-Za-z]:[\\/]*) \
11488 srcdiroption="--srcdir=$(srcdir)/hello"; \
11489 libsrcdir="$$s/hello";; \
11491 srcdiroption="--srcdir=../$(srcdir)/hello"; \
11492 libsrcdir="$$s/hello";; \
11494 $(SHELL) $${libsrcdir}/configure \
11495 $(HOST_CONFIGARGS) $${srcdiroption} \
11499 .PHONY: all-hello maybe-all-hello
11503 maybe-all-hello: all-hello
11504 all-hello: configure-hello
11505 @r=`${PWD_COMMAND}`; export r; \
11506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11509 (cd hello && $(MAKE) $(FLAGS_TO_PASS) \
11513 .PHONY: check-hello maybe-check-hello
11516 maybe-check-hello: check-hello
11519 @r=`${PWD_COMMAND}`; export r; \
11520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11523 (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
11527 .PHONY: install-hello maybe-install-hello
11528 maybe-install-hello:
11530 maybe-install-hello: install-hello
11532 install-hello: installdirs
11533 @r=`${PWD_COMMAND}`; export r; \
11534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11537 (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
11541 # Other targets (info, dvi, etc.)
11543 .PHONY: maybe-info-hello info-hello
11546 maybe-info-hello: info-hello
11550 @[ -f ./hello/Makefile ] || exit 0; \
11551 r=`${PWD_COMMAND}`; export r; \
11552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11555 for flag in $(EXTRA_HOST_FLAGS) ; do \
11556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11558 echo "Doing info in hello" ; \
11560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11562 "RANLIB=$${RANLIB}" \
11563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11569 .PHONY: maybe-dvi-hello dvi-hello
11572 maybe-dvi-hello: dvi-hello
11576 @[ -f ./hello/Makefile ] || exit 0; \
11577 r=`${PWD_COMMAND}`; export r; \
11578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11581 for flag in $(EXTRA_HOST_FLAGS) ; do \
11582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11584 echo "Doing dvi in hello" ; \
11586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11588 "RANLIB=$${RANLIB}" \
11589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11595 .PHONY: maybe-html-hello html-hello
11598 maybe-html-hello: html-hello
11602 @[ -f ./hello/Makefile ] || exit 0; \
11603 r=`${PWD_COMMAND}`; export r; \
11604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11607 for flag in $(EXTRA_HOST_FLAGS) ; do \
11608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11610 echo "Doing html in hello" ; \
11612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11614 "RANLIB=$${RANLIB}" \
11615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11621 .PHONY: maybe-TAGS-hello TAGS-hello
11624 maybe-TAGS-hello: TAGS-hello
11628 @[ -f ./hello/Makefile ] || exit 0; \
11629 r=`${PWD_COMMAND}`; export r; \
11630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11633 for flag in $(EXTRA_HOST_FLAGS) ; do \
11634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11636 echo "Doing TAGS in hello" ; \
11638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11640 "RANLIB=$${RANLIB}" \
11641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11647 .PHONY: maybe-install-info-hello install-info-hello
11648 maybe-install-info-hello:
11650 maybe-install-info-hello: install-info-hello
11652 install-info-hello: \
11655 @[ -f ./hello/Makefile ] || exit 0; \
11656 r=`${PWD_COMMAND}`; export r; \
11657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11660 for flag in $(EXTRA_HOST_FLAGS) ; do \
11661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11663 echo "Doing install-info in hello" ; \
11665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11667 "RANLIB=$${RANLIB}" \
11668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11674 .PHONY: maybe-installcheck-hello installcheck-hello
11675 maybe-installcheck-hello:
11677 maybe-installcheck-hello: installcheck-hello
11679 installcheck-hello: \
11681 @[ -f ./hello/Makefile ] || exit 0; \
11682 r=`${PWD_COMMAND}`; export r; \
11683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11686 for flag in $(EXTRA_HOST_FLAGS) ; do \
11687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11689 echo "Doing installcheck in hello" ; \
11691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11693 "RANLIB=$${RANLIB}" \
11694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11700 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
11701 maybe-mostlyclean-hello:
11703 maybe-mostlyclean-hello: mostlyclean-hello
11706 @[ -f ./hello/Makefile ] || exit 0; \
11707 r=`${PWD_COMMAND}`; export r; \
11708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11711 for flag in $(EXTRA_HOST_FLAGS) ; do \
11712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11714 echo "Doing mostlyclean in hello" ; \
11716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11718 "RANLIB=$${RANLIB}" \
11719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11725 .PHONY: maybe-clean-hello clean-hello
11728 maybe-clean-hello: clean-hello
11731 @[ -f ./hello/Makefile ] || exit 0; \
11732 r=`${PWD_COMMAND}`; export r; \
11733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11736 for flag in $(EXTRA_HOST_FLAGS) ; do \
11737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11739 echo "Doing clean in hello" ; \
11741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11743 "RANLIB=$${RANLIB}" \
11744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11750 .PHONY: maybe-distclean-hello distclean-hello
11751 maybe-distclean-hello:
11753 maybe-distclean-hello: distclean-hello
11756 @[ -f ./hello/Makefile ] || exit 0; \
11757 r=`${PWD_COMMAND}`; export r; \
11758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11761 for flag in $(EXTRA_HOST_FLAGS) ; do \
11762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11764 echo "Doing distclean in hello" ; \
11766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11768 "RANLIB=$${RANLIB}" \
11769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11775 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
11776 maybe-maintainer-clean-hello:
11778 maybe-maintainer-clean-hello: maintainer-clean-hello
11780 maintainer-clean-hello:
11781 @[ -f ./hello/Makefile ] || exit 0; \
11782 r=`${PWD_COMMAND}`; export r; \
11783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11786 for flag in $(EXTRA_HOST_FLAGS) ; do \
11787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11789 echo "Doing maintainer-clean in hello" ; \
11791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11793 "RANLIB=$${RANLIB}" \
11794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11795 maintainer-clean) \
11801 .PHONY: configure-indent maybe-configure-indent
11802 maybe-configure-indent:
11804 maybe-configure-indent: configure-indent
11806 @test ! -f indent/Makefile || exit 0; \
11807 [ -d indent ] || mkdir indent; \
11808 r=`${PWD_COMMAND}`; export r; \
11809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11811 echo Configuring in indent; \
11812 cd indent || exit 1; \
11813 case $(srcdir) in \
11815 srcdiroption="--srcdir=."; \
11817 /* | [A-Za-z]:[\\/]*) \
11818 srcdiroption="--srcdir=$(srcdir)/indent"; \
11819 libsrcdir="$$s/indent";; \
11821 srcdiroption="--srcdir=../$(srcdir)/indent"; \
11822 libsrcdir="$$s/indent";; \
11824 $(SHELL) $${libsrcdir}/configure \
11825 $(HOST_CONFIGARGS) $${srcdiroption} \
11829 .PHONY: all-indent maybe-all-indent
11833 maybe-all-indent: all-indent
11834 all-indent: configure-indent
11835 @r=`${PWD_COMMAND}`; export r; \
11836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11839 (cd indent && $(MAKE) $(FLAGS_TO_PASS) \
11843 .PHONY: check-indent maybe-check-indent
11844 maybe-check-indent:
11846 maybe-check-indent: check-indent
11849 @r=`${PWD_COMMAND}`; export r; \
11850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11853 (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
11857 .PHONY: install-indent maybe-install-indent
11858 maybe-install-indent:
11860 maybe-install-indent: install-indent
11862 install-indent: installdirs
11863 @r=`${PWD_COMMAND}`; export r; \
11864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11867 (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
11871 # Other targets (info, dvi, etc.)
11873 .PHONY: maybe-info-indent info-indent
11876 maybe-info-indent: info-indent
11880 @[ -f ./indent/Makefile ] || exit 0; \
11881 r=`${PWD_COMMAND}`; export r; \
11882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11885 for flag in $(EXTRA_HOST_FLAGS) ; do \
11886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11888 echo "Doing info in indent" ; \
11890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11892 "RANLIB=$${RANLIB}" \
11893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11899 .PHONY: maybe-dvi-indent dvi-indent
11902 maybe-dvi-indent: dvi-indent
11906 @[ -f ./indent/Makefile ] || exit 0; \
11907 r=`${PWD_COMMAND}`; export r; \
11908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11911 for flag in $(EXTRA_HOST_FLAGS) ; do \
11912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11914 echo "Doing dvi in indent" ; \
11916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11918 "RANLIB=$${RANLIB}" \
11919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11925 .PHONY: maybe-html-indent html-indent
11928 maybe-html-indent: html-indent
11932 @[ -f ./indent/Makefile ] || exit 0; \
11933 r=`${PWD_COMMAND}`; export r; \
11934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11937 for flag in $(EXTRA_HOST_FLAGS) ; do \
11938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11940 echo "Doing html in indent" ; \
11942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11944 "RANLIB=$${RANLIB}" \
11945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11951 .PHONY: maybe-TAGS-indent TAGS-indent
11954 maybe-TAGS-indent: TAGS-indent
11958 @[ -f ./indent/Makefile ] || exit 0; \
11959 r=`${PWD_COMMAND}`; export r; \
11960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11963 for flag in $(EXTRA_HOST_FLAGS) ; do \
11964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11966 echo "Doing TAGS in indent" ; \
11968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11970 "RANLIB=$${RANLIB}" \
11971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11977 .PHONY: maybe-install-info-indent install-info-indent
11978 maybe-install-info-indent:
11980 maybe-install-info-indent: install-info-indent
11982 install-info-indent: \
11985 @[ -f ./indent/Makefile ] || exit 0; \
11986 r=`${PWD_COMMAND}`; export r; \
11987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11990 for flag in $(EXTRA_HOST_FLAGS) ; do \
11991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11993 echo "Doing install-info in indent" ; \
11995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11997 "RANLIB=$${RANLIB}" \
11998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12004 .PHONY: maybe-installcheck-indent installcheck-indent
12005 maybe-installcheck-indent:
12007 maybe-installcheck-indent: installcheck-indent
12009 installcheck-indent: \
12011 @[ -f ./indent/Makefile ] || exit 0; \
12012 r=`${PWD_COMMAND}`; export r; \
12013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12016 for flag in $(EXTRA_HOST_FLAGS) ; do \
12017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12019 echo "Doing installcheck in indent" ; \
12021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12023 "RANLIB=$${RANLIB}" \
12024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12030 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
12031 maybe-mostlyclean-indent:
12033 maybe-mostlyclean-indent: mostlyclean-indent
12035 mostlyclean-indent:
12036 @[ -f ./indent/Makefile ] || exit 0; \
12037 r=`${PWD_COMMAND}`; export r; \
12038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12041 for flag in $(EXTRA_HOST_FLAGS) ; do \
12042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12044 echo "Doing mostlyclean in indent" ; \
12046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12048 "RANLIB=$${RANLIB}" \
12049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12055 .PHONY: maybe-clean-indent clean-indent
12056 maybe-clean-indent:
12058 maybe-clean-indent: clean-indent
12061 @[ -f ./indent/Makefile ] || exit 0; \
12062 r=`${PWD_COMMAND}`; export r; \
12063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12066 for flag in $(EXTRA_HOST_FLAGS) ; do \
12067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12069 echo "Doing clean in indent" ; \
12071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12073 "RANLIB=$${RANLIB}" \
12074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12080 .PHONY: maybe-distclean-indent distclean-indent
12081 maybe-distclean-indent:
12083 maybe-distclean-indent: distclean-indent
12086 @[ -f ./indent/Makefile ] || exit 0; \
12087 r=`${PWD_COMMAND}`; export r; \
12088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12091 for flag in $(EXTRA_HOST_FLAGS) ; do \
12092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12094 echo "Doing distclean in indent" ; \
12096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12098 "RANLIB=$${RANLIB}" \
12099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12105 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
12106 maybe-maintainer-clean-indent:
12108 maybe-maintainer-clean-indent: maintainer-clean-indent
12110 maintainer-clean-indent:
12111 @[ -f ./indent/Makefile ] || exit 0; \
12112 r=`${PWD_COMMAND}`; export r; \
12113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12116 for flag in $(EXTRA_HOST_FLAGS) ; do \
12117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12119 echo "Doing maintainer-clean in indent" ; \
12121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12123 "RANLIB=$${RANLIB}" \
12124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12125 maintainer-clean) \
12131 .PHONY: configure-intl maybe-configure-intl
12132 maybe-configure-intl:
12134 maybe-configure-intl: configure-intl
12136 @test -f stage_last && exit 0; \
12137 test ! -f intl/Makefile || exit 0; \
12138 [ -d intl ] || mkdir intl; \
12139 r=`${PWD_COMMAND}`; export r; \
12140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12142 echo Configuring in intl; \
12143 cd intl || exit 1; \
12144 case $(srcdir) in \
12146 srcdiroption="--srcdir=."; \
12148 /* | [A-Za-z]:[\\/]*) \
12149 srcdiroption="--srcdir=$(srcdir)/intl"; \
12150 libsrcdir="$$s/intl";; \
12152 srcdiroption="--srcdir=../$(srcdir)/intl"; \
12153 libsrcdir="$$s/intl";; \
12155 $(SHELL) $${libsrcdir}/configure \
12156 $(HOST_CONFIGARGS) $${srcdiroption} \
12160 .PHONY: all-intl maybe-all-intl
12164 maybe-all-intl: all-intl
12165 all-intl: configure-intl
12166 @test -f stage_last && exit 0; \
12167 r=`${PWD_COMMAND}`; export r; \
12168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12171 (cd intl && $(MAKE) $(FLAGS_TO_PASS) \
12175 .PHONY: check-intl maybe-check-intl
12178 maybe-check-intl: check-intl
12181 @r=`${PWD_COMMAND}`; export r; \
12182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12185 (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
12189 .PHONY: install-intl maybe-install-intl
12190 maybe-install-intl:
12192 maybe-install-intl: install-intl
12194 install-intl: installdirs
12195 @r=`${PWD_COMMAND}`; export r; \
12196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12199 (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
12203 # Other targets (info, dvi, etc.)
12205 .PHONY: maybe-info-intl info-intl
12208 maybe-info-intl: info-intl
12212 @[ -f ./intl/Makefile ] || exit 0; \
12213 r=`${PWD_COMMAND}`; export r; \
12214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12217 for flag in $(EXTRA_HOST_FLAGS) ; do \
12218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12220 echo "Doing info in intl" ; \
12222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12224 "RANLIB=$${RANLIB}" \
12225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12231 .PHONY: maybe-dvi-intl dvi-intl
12234 maybe-dvi-intl: dvi-intl
12238 @[ -f ./intl/Makefile ] || exit 0; \
12239 r=`${PWD_COMMAND}`; export r; \
12240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12243 for flag in $(EXTRA_HOST_FLAGS) ; do \
12244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12246 echo "Doing dvi in intl" ; \
12248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12250 "RANLIB=$${RANLIB}" \
12251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12257 .PHONY: maybe-html-intl html-intl
12260 maybe-html-intl: html-intl
12264 @[ -f ./intl/Makefile ] || exit 0; \
12265 r=`${PWD_COMMAND}`; export r; \
12266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12269 for flag in $(EXTRA_HOST_FLAGS) ; do \
12270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12272 echo "Doing html in intl" ; \
12274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12276 "RANLIB=$${RANLIB}" \
12277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12283 .PHONY: maybe-TAGS-intl TAGS-intl
12286 maybe-TAGS-intl: TAGS-intl
12290 @[ -f ./intl/Makefile ] || exit 0; \
12291 r=`${PWD_COMMAND}`; export r; \
12292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12295 for flag in $(EXTRA_HOST_FLAGS) ; do \
12296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12298 echo "Doing TAGS in intl" ; \
12300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12302 "RANLIB=$${RANLIB}" \
12303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12309 .PHONY: maybe-install-info-intl install-info-intl
12310 maybe-install-info-intl:
12312 maybe-install-info-intl: install-info-intl
12314 install-info-intl: \
12317 @[ -f ./intl/Makefile ] || exit 0; \
12318 r=`${PWD_COMMAND}`; export r; \
12319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12322 for flag in $(EXTRA_HOST_FLAGS) ; do \
12323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12325 echo "Doing install-info in intl" ; \
12327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12329 "RANLIB=$${RANLIB}" \
12330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12336 .PHONY: maybe-installcheck-intl installcheck-intl
12337 maybe-installcheck-intl:
12339 maybe-installcheck-intl: installcheck-intl
12341 installcheck-intl: \
12343 @[ -f ./intl/Makefile ] || exit 0; \
12344 r=`${PWD_COMMAND}`; export r; \
12345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12348 for flag in $(EXTRA_HOST_FLAGS) ; do \
12349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12351 echo "Doing installcheck in intl" ; \
12353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12355 "RANLIB=$${RANLIB}" \
12356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12362 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
12363 maybe-mostlyclean-intl:
12365 maybe-mostlyclean-intl: mostlyclean-intl
12368 @[ -f ./intl/Makefile ] || exit 0; \
12369 r=`${PWD_COMMAND}`; export r; \
12370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12373 for flag in $(EXTRA_HOST_FLAGS) ; do \
12374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12376 echo "Doing mostlyclean in intl" ; \
12378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12380 "RANLIB=$${RANLIB}" \
12381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12387 .PHONY: maybe-clean-intl clean-intl
12390 maybe-clean-intl: clean-intl
12393 @[ -f ./intl/Makefile ] || exit 0; \
12394 r=`${PWD_COMMAND}`; export r; \
12395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12398 for flag in $(EXTRA_HOST_FLAGS) ; do \
12399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12401 echo "Doing clean in intl" ; \
12403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12405 "RANLIB=$${RANLIB}" \
12406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12412 .PHONY: maybe-distclean-intl distclean-intl
12413 maybe-distclean-intl:
12415 maybe-distclean-intl: distclean-intl
12418 @[ -f ./intl/Makefile ] || exit 0; \
12419 r=`${PWD_COMMAND}`; export r; \
12420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12423 for flag in $(EXTRA_HOST_FLAGS) ; do \
12424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12426 echo "Doing distclean in intl" ; \
12428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12430 "RANLIB=$${RANLIB}" \
12431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12437 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
12438 maybe-maintainer-clean-intl:
12440 maybe-maintainer-clean-intl: maintainer-clean-intl
12442 maintainer-clean-intl:
12443 @[ -f ./intl/Makefile ] || exit 0; \
12444 r=`${PWD_COMMAND}`; export r; \
12445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12448 for flag in $(EXTRA_HOST_FLAGS) ; do \
12449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12451 echo "Doing maintainer-clean in intl" ; \
12453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12455 "RANLIB=$${RANLIB}" \
12456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12457 maintainer-clean) \
12463 .PHONY: configure-tcl maybe-configure-tcl
12464 maybe-configure-tcl:
12466 maybe-configure-tcl: configure-tcl
12468 @test ! -f tcl/Makefile || exit 0; \
12469 [ -d tcl ] || mkdir tcl; \
12470 r=`${PWD_COMMAND}`; export r; \
12471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12473 echo Configuring in tcl; \
12474 cd tcl || exit 1; \
12475 case $(srcdir) in \
12477 srcdiroption="--srcdir=."; \
12479 /* | [A-Za-z]:[\\/]*) \
12480 srcdiroption="--srcdir=$(srcdir)/tcl"; \
12481 libsrcdir="$$s/tcl";; \
12483 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
12484 libsrcdir="$$s/tcl";; \
12486 $(SHELL) $${libsrcdir}/configure \
12487 $(HOST_CONFIGARGS) $${srcdiroption} \
12491 .PHONY: all-tcl maybe-all-tcl
12495 maybe-all-tcl: all-tcl
12496 all-tcl: configure-tcl
12497 @r=`${PWD_COMMAND}`; export r; \
12498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12501 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) \
12505 .PHONY: check-tcl maybe-check-tcl
12508 maybe-check-tcl: check-tcl
12511 @r=`${PWD_COMMAND}`; export r; \
12512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12515 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
12519 .PHONY: install-tcl maybe-install-tcl
12522 maybe-install-tcl: install-tcl
12524 install-tcl: installdirs
12525 @r=`${PWD_COMMAND}`; export r; \
12526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12529 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
12533 # Other targets (info, dvi, etc.)
12535 .PHONY: maybe-info-tcl info-tcl
12538 maybe-info-tcl: info-tcl
12542 @[ -f ./tcl/Makefile ] || exit 0; \
12543 r=`${PWD_COMMAND}`; export r; \
12544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12547 for flag in $(EXTRA_HOST_FLAGS) ; do \
12548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12550 echo "Doing info in tcl" ; \
12552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12554 "RANLIB=$${RANLIB}" \
12555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12561 .PHONY: maybe-dvi-tcl dvi-tcl
12564 maybe-dvi-tcl: dvi-tcl
12568 @[ -f ./tcl/Makefile ] || exit 0; \
12569 r=`${PWD_COMMAND}`; export r; \
12570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12573 for flag in $(EXTRA_HOST_FLAGS) ; do \
12574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12576 echo "Doing dvi in tcl" ; \
12578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12580 "RANLIB=$${RANLIB}" \
12581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12587 .PHONY: maybe-html-tcl html-tcl
12590 maybe-html-tcl: html-tcl
12594 @[ -f ./tcl/Makefile ] || exit 0; \
12595 r=`${PWD_COMMAND}`; export r; \
12596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12599 for flag in $(EXTRA_HOST_FLAGS) ; do \
12600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12602 echo "Doing html in tcl" ; \
12604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12606 "RANLIB=$${RANLIB}" \
12607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12613 .PHONY: maybe-TAGS-tcl TAGS-tcl
12616 maybe-TAGS-tcl: TAGS-tcl
12620 @[ -f ./tcl/Makefile ] || exit 0; \
12621 r=`${PWD_COMMAND}`; export r; \
12622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12625 for flag in $(EXTRA_HOST_FLAGS) ; do \
12626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12628 echo "Doing TAGS in tcl" ; \
12630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12632 "RANLIB=$${RANLIB}" \
12633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12639 .PHONY: maybe-install-info-tcl install-info-tcl
12640 maybe-install-info-tcl:
12642 maybe-install-info-tcl: install-info-tcl
12644 install-info-tcl: \
12647 @[ -f ./tcl/Makefile ] || exit 0; \
12648 r=`${PWD_COMMAND}`; export r; \
12649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12652 for flag in $(EXTRA_HOST_FLAGS) ; do \
12653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12655 echo "Doing install-info in tcl" ; \
12657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12659 "RANLIB=$${RANLIB}" \
12660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12666 .PHONY: maybe-installcheck-tcl installcheck-tcl
12667 maybe-installcheck-tcl:
12669 maybe-installcheck-tcl: installcheck-tcl
12671 installcheck-tcl: \
12673 @[ -f ./tcl/Makefile ] || exit 0; \
12674 r=`${PWD_COMMAND}`; export r; \
12675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12678 for flag in $(EXTRA_HOST_FLAGS) ; do \
12679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12681 echo "Doing installcheck in tcl" ; \
12683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12685 "RANLIB=$${RANLIB}" \
12686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12692 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
12693 maybe-mostlyclean-tcl:
12695 maybe-mostlyclean-tcl: mostlyclean-tcl
12697 # tcl doesn't support mostlyclean.
12702 .PHONY: maybe-clean-tcl clean-tcl
12705 maybe-clean-tcl: clean-tcl
12708 @[ -f ./tcl/Makefile ] || exit 0; \
12709 r=`${PWD_COMMAND}`; export r; \
12710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12713 for flag in $(EXTRA_HOST_FLAGS) ; do \
12714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12716 echo "Doing clean in tcl" ; \
12718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12720 "RANLIB=$${RANLIB}" \
12721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12727 .PHONY: maybe-distclean-tcl distclean-tcl
12728 maybe-distclean-tcl:
12730 maybe-distclean-tcl: distclean-tcl
12733 @[ -f ./tcl/Makefile ] || exit 0; \
12734 r=`${PWD_COMMAND}`; export r; \
12735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12738 for flag in $(EXTRA_HOST_FLAGS) ; do \
12739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12741 echo "Doing distclean in tcl" ; \
12743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12745 "RANLIB=$${RANLIB}" \
12746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12752 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
12753 maybe-maintainer-clean-tcl:
12755 maybe-maintainer-clean-tcl: maintainer-clean-tcl
12757 maintainer-clean-tcl:
12758 @[ -f ./tcl/Makefile ] || exit 0; \
12759 r=`${PWD_COMMAND}`; export r; \
12760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12763 for flag in $(EXTRA_HOST_FLAGS) ; do \
12764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12766 echo "Doing maintainer-clean in tcl" ; \
12768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12770 "RANLIB=$${RANLIB}" \
12771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12772 maintainer-clean) \
12778 .PHONY: configure-itcl maybe-configure-itcl
12779 maybe-configure-itcl:
12781 maybe-configure-itcl: configure-itcl
12783 @test ! -f itcl/Makefile || exit 0; \
12784 [ -d itcl ] || mkdir itcl; \
12785 r=`${PWD_COMMAND}`; export r; \
12786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12788 echo Configuring in itcl; \
12789 cd itcl || exit 1; \
12790 case $(srcdir) in \
12792 srcdiroption="--srcdir=."; \
12794 /* | [A-Za-z]:[\\/]*) \
12795 srcdiroption="--srcdir=$(srcdir)/itcl"; \
12796 libsrcdir="$$s/itcl";; \
12798 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
12799 libsrcdir="$$s/itcl";; \
12801 $(SHELL) $${libsrcdir}/configure \
12802 $(HOST_CONFIGARGS) $${srcdiroption} \
12806 .PHONY: all-itcl maybe-all-itcl
12810 maybe-all-itcl: all-itcl
12811 all-itcl: configure-itcl
12812 @r=`${PWD_COMMAND}`; export r; \
12813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12816 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) \
12820 .PHONY: check-itcl maybe-check-itcl
12823 maybe-check-itcl: check-itcl
12826 @r=`${PWD_COMMAND}`; export r; \
12827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12830 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
12834 .PHONY: install-itcl maybe-install-itcl
12835 maybe-install-itcl:
12837 maybe-install-itcl: install-itcl
12839 install-itcl: installdirs
12840 @r=`${PWD_COMMAND}`; export r; \
12841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12844 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
12848 # Other targets (info, dvi, etc.)
12850 .PHONY: maybe-info-itcl info-itcl
12853 maybe-info-itcl: info-itcl
12857 @[ -f ./itcl/Makefile ] || exit 0; \
12858 r=`${PWD_COMMAND}`; export r; \
12859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12862 for flag in $(EXTRA_HOST_FLAGS) ; do \
12863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12865 echo "Doing info in itcl" ; \
12867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12869 "RANLIB=$${RANLIB}" \
12870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12876 .PHONY: maybe-dvi-itcl dvi-itcl
12879 maybe-dvi-itcl: dvi-itcl
12883 @[ -f ./itcl/Makefile ] || exit 0; \
12884 r=`${PWD_COMMAND}`; export r; \
12885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12888 for flag in $(EXTRA_HOST_FLAGS) ; do \
12889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12891 echo "Doing dvi in itcl" ; \
12893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12895 "RANLIB=$${RANLIB}" \
12896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12902 .PHONY: maybe-html-itcl html-itcl
12905 maybe-html-itcl: html-itcl
12909 @[ -f ./itcl/Makefile ] || exit 0; \
12910 r=`${PWD_COMMAND}`; export r; \
12911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12914 for flag in $(EXTRA_HOST_FLAGS) ; do \
12915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12917 echo "Doing html in itcl" ; \
12919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12921 "RANLIB=$${RANLIB}" \
12922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12928 .PHONY: maybe-TAGS-itcl TAGS-itcl
12931 maybe-TAGS-itcl: TAGS-itcl
12935 @[ -f ./itcl/Makefile ] || exit 0; \
12936 r=`${PWD_COMMAND}`; export r; \
12937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12940 for flag in $(EXTRA_HOST_FLAGS) ; do \
12941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12943 echo "Doing TAGS in itcl" ; \
12945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12947 "RANLIB=$${RANLIB}" \
12948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12954 .PHONY: maybe-install-info-itcl install-info-itcl
12955 maybe-install-info-itcl:
12957 maybe-install-info-itcl: install-info-itcl
12959 install-info-itcl: \
12962 @[ -f ./itcl/Makefile ] || exit 0; \
12963 r=`${PWD_COMMAND}`; export r; \
12964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12967 for flag in $(EXTRA_HOST_FLAGS) ; do \
12968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12970 echo "Doing install-info in itcl" ; \
12972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12974 "RANLIB=$${RANLIB}" \
12975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12981 .PHONY: maybe-installcheck-itcl installcheck-itcl
12982 maybe-installcheck-itcl:
12984 maybe-installcheck-itcl: installcheck-itcl
12986 installcheck-itcl: \
12988 @[ -f ./itcl/Makefile ] || exit 0; \
12989 r=`${PWD_COMMAND}`; export r; \
12990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12993 for flag in $(EXTRA_HOST_FLAGS) ; do \
12994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12996 echo "Doing installcheck in itcl" ; \
12998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13000 "RANLIB=$${RANLIB}" \
13001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13007 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
13008 maybe-mostlyclean-itcl:
13010 maybe-mostlyclean-itcl: mostlyclean-itcl
13013 @[ -f ./itcl/Makefile ] || exit 0; \
13014 r=`${PWD_COMMAND}`; export r; \
13015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13018 for flag in $(EXTRA_HOST_FLAGS) ; do \
13019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13021 echo "Doing mostlyclean in itcl" ; \
13023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13025 "RANLIB=$${RANLIB}" \
13026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13032 .PHONY: maybe-clean-itcl clean-itcl
13035 maybe-clean-itcl: clean-itcl
13038 @[ -f ./itcl/Makefile ] || exit 0; \
13039 r=`${PWD_COMMAND}`; export r; \
13040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13043 for flag in $(EXTRA_HOST_FLAGS) ; do \
13044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13046 echo "Doing clean in itcl" ; \
13048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13050 "RANLIB=$${RANLIB}" \
13051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13057 .PHONY: maybe-distclean-itcl distclean-itcl
13058 maybe-distclean-itcl:
13060 maybe-distclean-itcl: distclean-itcl
13063 @[ -f ./itcl/Makefile ] || exit 0; \
13064 r=`${PWD_COMMAND}`; export r; \
13065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13068 for flag in $(EXTRA_HOST_FLAGS) ; do \
13069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13071 echo "Doing distclean in itcl" ; \
13073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13075 "RANLIB=$${RANLIB}" \
13076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13082 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
13083 maybe-maintainer-clean-itcl:
13085 maybe-maintainer-clean-itcl: maintainer-clean-itcl
13087 maintainer-clean-itcl:
13088 @[ -f ./itcl/Makefile ] || exit 0; \
13089 r=`${PWD_COMMAND}`; export r; \
13090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13093 for flag in $(EXTRA_HOST_FLAGS) ; do \
13094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13096 echo "Doing maintainer-clean in itcl" ; \
13098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13100 "RANLIB=$${RANLIB}" \
13101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13102 maintainer-clean) \
13108 .PHONY: configure-ld maybe-configure-ld
13109 maybe-configure-ld:
13111 maybe-configure-ld: configure-ld
13113 @test -f stage_last && exit 0; \
13114 test ! -f ld/Makefile || exit 0; \
13115 [ -d ld ] || mkdir ld; \
13116 r=`${PWD_COMMAND}`; export r; \
13117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13119 echo Configuring in ld; \
13121 case $(srcdir) in \
13123 srcdiroption="--srcdir=."; \
13125 /* | [A-Za-z]:[\\/]*) \
13126 srcdiroption="--srcdir=$(srcdir)/ld"; \
13127 libsrcdir="$$s/ld";; \
13129 srcdiroption="--srcdir=../$(srcdir)/ld"; \
13130 libsrcdir="$$s/ld";; \
13132 $(SHELL) $${libsrcdir}/configure \
13133 $(HOST_CONFIGARGS) $${srcdiroption} \
13137 .PHONY: all-ld maybe-all-ld
13141 maybe-all-ld: all-ld
13142 all-ld: configure-ld
13143 @test -f stage_last && exit 0; \
13144 r=`${PWD_COMMAND}`; export r; \
13145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13148 (cd ld && $(MAKE) $(FLAGS_TO_PASS) \
13152 .PHONY: check-ld maybe-check-ld
13155 maybe-check-ld: check-ld
13158 @r=`${PWD_COMMAND}`; export r; \
13159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13162 (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
13166 .PHONY: install-ld maybe-install-ld
13169 maybe-install-ld: install-ld
13171 install-ld: installdirs
13172 @r=`${PWD_COMMAND}`; export r; \
13173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13176 (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
13180 # Other targets (info, dvi, etc.)
13182 .PHONY: maybe-info-ld info-ld
13185 maybe-info-ld: info-ld
13189 @[ -f ./ld/Makefile ] || exit 0; \
13190 r=`${PWD_COMMAND}`; export r; \
13191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13194 for flag in $(EXTRA_HOST_FLAGS) ; do \
13195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13197 echo "Doing info in ld" ; \
13199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13201 "RANLIB=$${RANLIB}" \
13202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13208 .PHONY: maybe-dvi-ld dvi-ld
13211 maybe-dvi-ld: dvi-ld
13215 @[ -f ./ld/Makefile ] || exit 0; \
13216 r=`${PWD_COMMAND}`; export r; \
13217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13220 for flag in $(EXTRA_HOST_FLAGS) ; do \
13221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13223 echo "Doing dvi in ld" ; \
13225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13227 "RANLIB=$${RANLIB}" \
13228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13234 .PHONY: maybe-html-ld html-ld
13237 maybe-html-ld: html-ld
13241 @[ -f ./ld/Makefile ] || exit 0; \
13242 r=`${PWD_COMMAND}`; export r; \
13243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13246 for flag in $(EXTRA_HOST_FLAGS) ; do \
13247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13249 echo "Doing html in ld" ; \
13251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13253 "RANLIB=$${RANLIB}" \
13254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13260 .PHONY: maybe-TAGS-ld TAGS-ld
13263 maybe-TAGS-ld: TAGS-ld
13267 @[ -f ./ld/Makefile ] || exit 0; \
13268 r=`${PWD_COMMAND}`; export r; \
13269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13272 for flag in $(EXTRA_HOST_FLAGS) ; do \
13273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13275 echo "Doing TAGS in ld" ; \
13277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13279 "RANLIB=$${RANLIB}" \
13280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13286 .PHONY: maybe-install-info-ld install-info-ld
13287 maybe-install-info-ld:
13289 maybe-install-info-ld: install-info-ld
13294 @[ -f ./ld/Makefile ] || exit 0; \
13295 r=`${PWD_COMMAND}`; export r; \
13296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13299 for flag in $(EXTRA_HOST_FLAGS) ; do \
13300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13302 echo "Doing install-info in ld" ; \
13304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13306 "RANLIB=$${RANLIB}" \
13307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13313 .PHONY: maybe-installcheck-ld installcheck-ld
13314 maybe-installcheck-ld:
13316 maybe-installcheck-ld: installcheck-ld
13320 @[ -f ./ld/Makefile ] || exit 0; \
13321 r=`${PWD_COMMAND}`; export r; \
13322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13325 for flag in $(EXTRA_HOST_FLAGS) ; do \
13326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13328 echo "Doing installcheck in ld" ; \
13330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13332 "RANLIB=$${RANLIB}" \
13333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13339 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
13340 maybe-mostlyclean-ld:
13342 maybe-mostlyclean-ld: mostlyclean-ld
13345 @[ -f ./ld/Makefile ] || exit 0; \
13346 r=`${PWD_COMMAND}`; export r; \
13347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13350 for flag in $(EXTRA_HOST_FLAGS) ; do \
13351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13353 echo "Doing mostlyclean in ld" ; \
13355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13357 "RANLIB=$${RANLIB}" \
13358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13364 .PHONY: maybe-clean-ld clean-ld
13367 maybe-clean-ld: clean-ld
13370 @[ -f ./ld/Makefile ] || exit 0; \
13371 r=`${PWD_COMMAND}`; export r; \
13372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13375 for flag in $(EXTRA_HOST_FLAGS) ; do \
13376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13378 echo "Doing clean in ld" ; \
13380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13382 "RANLIB=$${RANLIB}" \
13383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13389 .PHONY: maybe-distclean-ld distclean-ld
13390 maybe-distclean-ld:
13392 maybe-distclean-ld: distclean-ld
13395 @[ -f ./ld/Makefile ] || exit 0; \
13396 r=`${PWD_COMMAND}`; export r; \
13397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13400 for flag in $(EXTRA_HOST_FLAGS) ; do \
13401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13403 echo "Doing distclean in ld" ; \
13405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13407 "RANLIB=$${RANLIB}" \
13408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13414 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
13415 maybe-maintainer-clean-ld:
13417 maybe-maintainer-clean-ld: maintainer-clean-ld
13419 maintainer-clean-ld:
13420 @[ -f ./ld/Makefile ] || exit 0; \
13421 r=`${PWD_COMMAND}`; export r; \
13422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13425 for flag in $(EXTRA_HOST_FLAGS) ; do \
13426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13428 echo "Doing maintainer-clean in ld" ; \
13430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13432 "RANLIB=$${RANLIB}" \
13433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13434 maintainer-clean) \
13440 .PHONY: configure-libcpp maybe-configure-libcpp
13441 maybe-configure-libcpp:
13443 maybe-configure-libcpp: configure-libcpp
13445 @test -f stage_last && exit 0; \
13446 test ! -f libcpp/Makefile || exit 0; \
13447 [ -d libcpp ] || mkdir libcpp; \
13448 r=`${PWD_COMMAND}`; export r; \
13449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13451 echo Configuring in libcpp; \
13452 cd libcpp || exit 1; \
13453 case $(srcdir) in \
13455 srcdiroption="--srcdir=."; \
13457 /* | [A-Za-z]:[\\/]*) \
13458 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
13459 libsrcdir="$$s/libcpp";; \
13461 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
13462 libsrcdir="$$s/libcpp";; \
13464 $(SHELL) $${libsrcdir}/configure \
13465 $(HOST_CONFIGARGS) $${srcdiroption} \
13469 .PHONY: all-libcpp maybe-all-libcpp
13473 maybe-all-libcpp: all-libcpp
13474 all-libcpp: configure-libcpp
13475 @test -f stage_last && exit 0; \
13476 r=`${PWD_COMMAND}`; export r; \
13477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13480 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) \
13484 .PHONY: check-libcpp maybe-check-libcpp
13485 maybe-check-libcpp:
13487 maybe-check-libcpp: check-libcpp
13490 @r=`${PWD_COMMAND}`; export r; \
13491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13494 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) check)
13498 .PHONY: install-libcpp maybe-install-libcpp
13499 maybe-install-libcpp:
13501 maybe-install-libcpp: install-libcpp
13503 install-libcpp: installdirs
13504 @r=`${PWD_COMMAND}`; export r; \
13505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13508 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) install)
13512 # Other targets (info, dvi, etc.)
13514 .PHONY: maybe-info-libcpp info-libcpp
13517 maybe-info-libcpp: info-libcpp
13521 @[ -f ./libcpp/Makefile ] || exit 0; \
13522 r=`${PWD_COMMAND}`; export r; \
13523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13526 for flag in $(EXTRA_HOST_FLAGS) ; do \
13527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13529 echo "Doing info in libcpp" ; \
13531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13533 "RANLIB=$${RANLIB}" \
13534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13540 .PHONY: maybe-dvi-libcpp dvi-libcpp
13543 maybe-dvi-libcpp: dvi-libcpp
13547 @[ -f ./libcpp/Makefile ] || exit 0; \
13548 r=`${PWD_COMMAND}`; export r; \
13549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13552 for flag in $(EXTRA_HOST_FLAGS) ; do \
13553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13555 echo "Doing dvi in libcpp" ; \
13557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13559 "RANLIB=$${RANLIB}" \
13560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13566 .PHONY: maybe-html-libcpp html-libcpp
13569 maybe-html-libcpp: html-libcpp
13573 @[ -f ./libcpp/Makefile ] || exit 0; \
13574 r=`${PWD_COMMAND}`; export r; \
13575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13578 for flag in $(EXTRA_HOST_FLAGS) ; do \
13579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13581 echo "Doing html in libcpp" ; \
13583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13585 "RANLIB=$${RANLIB}" \
13586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13592 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
13595 maybe-TAGS-libcpp: TAGS-libcpp
13599 @[ -f ./libcpp/Makefile ] || exit 0; \
13600 r=`${PWD_COMMAND}`; export r; \
13601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13604 for flag in $(EXTRA_HOST_FLAGS) ; do \
13605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13607 echo "Doing TAGS in libcpp" ; \
13609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13611 "RANLIB=$${RANLIB}" \
13612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13618 .PHONY: maybe-install-info-libcpp install-info-libcpp
13619 maybe-install-info-libcpp:
13621 maybe-install-info-libcpp: install-info-libcpp
13623 install-info-libcpp: \
13626 @[ -f ./libcpp/Makefile ] || exit 0; \
13627 r=`${PWD_COMMAND}`; export r; \
13628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13631 for flag in $(EXTRA_HOST_FLAGS) ; do \
13632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13634 echo "Doing install-info in libcpp" ; \
13636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13638 "RANLIB=$${RANLIB}" \
13639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13645 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
13646 maybe-installcheck-libcpp:
13648 maybe-installcheck-libcpp: installcheck-libcpp
13650 installcheck-libcpp: \
13652 @[ -f ./libcpp/Makefile ] || exit 0; \
13653 r=`${PWD_COMMAND}`; export r; \
13654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13657 for flag in $(EXTRA_HOST_FLAGS) ; do \
13658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13660 echo "Doing installcheck in libcpp" ; \
13662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13664 "RANLIB=$${RANLIB}" \
13665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13671 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
13672 maybe-mostlyclean-libcpp:
13674 maybe-mostlyclean-libcpp: mostlyclean-libcpp
13676 mostlyclean-libcpp:
13677 @[ -f ./libcpp/Makefile ] || exit 0; \
13678 r=`${PWD_COMMAND}`; export r; \
13679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13682 for flag in $(EXTRA_HOST_FLAGS) ; do \
13683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13685 echo "Doing mostlyclean in libcpp" ; \
13687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13689 "RANLIB=$${RANLIB}" \
13690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13696 .PHONY: maybe-clean-libcpp clean-libcpp
13697 maybe-clean-libcpp:
13699 maybe-clean-libcpp: clean-libcpp
13702 @[ -f ./libcpp/Makefile ] || exit 0; \
13703 r=`${PWD_COMMAND}`; export r; \
13704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13707 for flag in $(EXTRA_HOST_FLAGS) ; do \
13708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13710 echo "Doing clean in libcpp" ; \
13712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13714 "RANLIB=$${RANLIB}" \
13715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13721 .PHONY: maybe-distclean-libcpp distclean-libcpp
13722 maybe-distclean-libcpp:
13724 maybe-distclean-libcpp: distclean-libcpp
13727 @[ -f ./libcpp/Makefile ] || exit 0; \
13728 r=`${PWD_COMMAND}`; export r; \
13729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13732 for flag in $(EXTRA_HOST_FLAGS) ; do \
13733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13735 echo "Doing distclean in libcpp" ; \
13737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13739 "RANLIB=$${RANLIB}" \
13740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13746 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
13747 maybe-maintainer-clean-libcpp:
13749 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
13751 maintainer-clean-libcpp:
13752 @[ -f ./libcpp/Makefile ] || exit 0; \
13753 r=`${PWD_COMMAND}`; export r; \
13754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13757 for flag in $(EXTRA_HOST_FLAGS) ; do \
13758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13760 echo "Doing maintainer-clean in libcpp" ; \
13762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13764 "RANLIB=$${RANLIB}" \
13765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13766 maintainer-clean) \
13772 .PHONY: configure-libgui maybe-configure-libgui
13773 maybe-configure-libgui:
13775 maybe-configure-libgui: configure-libgui
13777 @test ! -f libgui/Makefile || exit 0; \
13778 [ -d libgui ] || mkdir libgui; \
13779 r=`${PWD_COMMAND}`; export r; \
13780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13782 echo Configuring in libgui; \
13783 cd libgui || exit 1; \
13784 case $(srcdir) in \
13786 srcdiroption="--srcdir=."; \
13788 /* | [A-Za-z]:[\\/]*) \
13789 srcdiroption="--srcdir=$(srcdir)/libgui"; \
13790 libsrcdir="$$s/libgui";; \
13792 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
13793 libsrcdir="$$s/libgui";; \
13795 $(SHELL) $${libsrcdir}/configure \
13796 $(HOST_CONFIGARGS) $${srcdiroption} \
13800 .PHONY: all-libgui maybe-all-libgui
13804 maybe-all-libgui: all-libgui
13805 all-libgui: configure-libgui
13806 @r=`${PWD_COMMAND}`; export r; \
13807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13810 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) \
13814 .PHONY: check-libgui maybe-check-libgui
13815 maybe-check-libgui:
13817 maybe-check-libgui: check-libgui
13820 @r=`${PWD_COMMAND}`; export r; \
13821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13824 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
13828 .PHONY: install-libgui maybe-install-libgui
13829 maybe-install-libgui:
13831 maybe-install-libgui: install-libgui
13833 install-libgui: installdirs
13834 @r=`${PWD_COMMAND}`; export r; \
13835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13838 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
13842 # Other targets (info, dvi, etc.)
13844 .PHONY: maybe-info-libgui info-libgui
13847 maybe-info-libgui: info-libgui
13851 @[ -f ./libgui/Makefile ] || exit 0; \
13852 r=`${PWD_COMMAND}`; export r; \
13853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13856 for flag in $(EXTRA_HOST_FLAGS) ; do \
13857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13859 echo "Doing info in libgui" ; \
13861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13863 "RANLIB=$${RANLIB}" \
13864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13870 .PHONY: maybe-dvi-libgui dvi-libgui
13873 maybe-dvi-libgui: dvi-libgui
13877 @[ -f ./libgui/Makefile ] || exit 0; \
13878 r=`${PWD_COMMAND}`; export r; \
13879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13882 for flag in $(EXTRA_HOST_FLAGS) ; do \
13883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13885 echo "Doing dvi in libgui" ; \
13887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13889 "RANLIB=$${RANLIB}" \
13890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13896 .PHONY: maybe-html-libgui html-libgui
13899 maybe-html-libgui: html-libgui
13903 @[ -f ./libgui/Makefile ] || exit 0; \
13904 r=`${PWD_COMMAND}`; export r; \
13905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13908 for flag in $(EXTRA_HOST_FLAGS) ; do \
13909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13911 echo "Doing html in libgui" ; \
13913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13915 "RANLIB=$${RANLIB}" \
13916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13922 .PHONY: maybe-TAGS-libgui TAGS-libgui
13925 maybe-TAGS-libgui: TAGS-libgui
13929 @[ -f ./libgui/Makefile ] || exit 0; \
13930 r=`${PWD_COMMAND}`; export r; \
13931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13934 for flag in $(EXTRA_HOST_FLAGS) ; do \
13935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13937 echo "Doing TAGS in libgui" ; \
13939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13941 "RANLIB=$${RANLIB}" \
13942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13948 .PHONY: maybe-install-info-libgui install-info-libgui
13949 maybe-install-info-libgui:
13951 maybe-install-info-libgui: install-info-libgui
13953 install-info-libgui: \
13956 @[ -f ./libgui/Makefile ] || exit 0; \
13957 r=`${PWD_COMMAND}`; export r; \
13958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13961 for flag in $(EXTRA_HOST_FLAGS) ; do \
13962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13964 echo "Doing install-info in libgui" ; \
13966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13968 "RANLIB=$${RANLIB}" \
13969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13975 .PHONY: maybe-installcheck-libgui installcheck-libgui
13976 maybe-installcheck-libgui:
13978 maybe-installcheck-libgui: installcheck-libgui
13980 installcheck-libgui: \
13982 @[ -f ./libgui/Makefile ] || exit 0; \
13983 r=`${PWD_COMMAND}`; export r; \
13984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13987 for flag in $(EXTRA_HOST_FLAGS) ; do \
13988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13990 echo "Doing installcheck in libgui" ; \
13992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13994 "RANLIB=$${RANLIB}" \
13995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14001 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
14002 maybe-mostlyclean-libgui:
14004 maybe-mostlyclean-libgui: mostlyclean-libgui
14006 mostlyclean-libgui:
14007 @[ -f ./libgui/Makefile ] || exit 0; \
14008 r=`${PWD_COMMAND}`; export r; \
14009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14012 for flag in $(EXTRA_HOST_FLAGS) ; do \
14013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14015 echo "Doing mostlyclean in libgui" ; \
14017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14019 "RANLIB=$${RANLIB}" \
14020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14026 .PHONY: maybe-clean-libgui clean-libgui
14027 maybe-clean-libgui:
14029 maybe-clean-libgui: clean-libgui
14032 @[ -f ./libgui/Makefile ] || exit 0; \
14033 r=`${PWD_COMMAND}`; export r; \
14034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14037 for flag in $(EXTRA_HOST_FLAGS) ; do \
14038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14040 echo "Doing clean in libgui" ; \
14042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14044 "RANLIB=$${RANLIB}" \
14045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14051 .PHONY: maybe-distclean-libgui distclean-libgui
14052 maybe-distclean-libgui:
14054 maybe-distclean-libgui: distclean-libgui
14057 @[ -f ./libgui/Makefile ] || exit 0; \
14058 r=`${PWD_COMMAND}`; export r; \
14059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14062 for flag in $(EXTRA_HOST_FLAGS) ; do \
14063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14065 echo "Doing distclean in libgui" ; \
14067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14069 "RANLIB=$${RANLIB}" \
14070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14076 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
14077 maybe-maintainer-clean-libgui:
14079 maybe-maintainer-clean-libgui: maintainer-clean-libgui
14081 maintainer-clean-libgui:
14082 @[ -f ./libgui/Makefile ] || exit 0; \
14083 r=`${PWD_COMMAND}`; export r; \
14084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14087 for flag in $(EXTRA_HOST_FLAGS) ; do \
14088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14090 echo "Doing maintainer-clean in libgui" ; \
14092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14094 "RANLIB=$${RANLIB}" \
14095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14096 maintainer-clean) \
14102 .PHONY: configure-libiberty maybe-configure-libiberty
14103 maybe-configure-libiberty:
14105 maybe-configure-libiberty: configure-libiberty
14106 configure-libiberty:
14107 @test -f stage_last && exit 0; \
14108 test ! -f libiberty/Makefile || exit 0; \
14109 [ -d libiberty ] || mkdir libiberty; \
14110 r=`${PWD_COMMAND}`; export r; \
14111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14113 echo Configuring in libiberty; \
14114 cd libiberty || exit 1; \
14115 case $(srcdir) in \
14117 srcdiroption="--srcdir=."; \
14119 /* | [A-Za-z]:[\\/]*) \
14120 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
14121 libsrcdir="$$s/libiberty";; \
14123 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
14124 libsrcdir="$$s/libiberty";; \
14126 $(SHELL) $${libsrcdir}/configure \
14127 $(HOST_CONFIGARGS) $${srcdiroption} \
14131 .PHONY: all-libiberty maybe-all-libiberty
14132 maybe-all-libiberty:
14134 TARGET-libiberty=all
14135 maybe-all-libiberty: all-libiberty
14136 all-libiberty: configure-libiberty
14137 @test -f stage_last && exit 0; \
14138 r=`${PWD_COMMAND}`; export r; \
14139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14142 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) \
14143 $(TARGET-libiberty))
14146 .PHONY: check-libiberty maybe-check-libiberty
14147 maybe-check-libiberty:
14149 maybe-check-libiberty: check-libiberty
14152 @r=`${PWD_COMMAND}`; export r; \
14153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14156 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
14160 .PHONY: install-libiberty maybe-install-libiberty
14161 maybe-install-libiberty:
14163 maybe-install-libiberty: install-libiberty
14165 install-libiberty: installdirs
14166 @r=`${PWD_COMMAND}`; export r; \
14167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14170 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
14174 # Other targets (info, dvi, etc.)
14176 .PHONY: maybe-info-libiberty info-libiberty
14177 maybe-info-libiberty:
14179 maybe-info-libiberty: info-libiberty
14182 configure-libiberty
14183 @[ -f ./libiberty/Makefile ] || exit 0; \
14184 r=`${PWD_COMMAND}`; export r; \
14185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14188 for flag in $(EXTRA_HOST_FLAGS) ; do \
14189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14191 echo "Doing info in libiberty" ; \
14193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14195 "RANLIB=$${RANLIB}" \
14196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14202 .PHONY: maybe-dvi-libiberty dvi-libiberty
14203 maybe-dvi-libiberty:
14205 maybe-dvi-libiberty: dvi-libiberty
14208 configure-libiberty
14209 @[ -f ./libiberty/Makefile ] || exit 0; \
14210 r=`${PWD_COMMAND}`; export r; \
14211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14214 for flag in $(EXTRA_HOST_FLAGS) ; do \
14215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14217 echo "Doing dvi in libiberty" ; \
14219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14221 "RANLIB=$${RANLIB}" \
14222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14228 .PHONY: maybe-html-libiberty html-libiberty
14229 maybe-html-libiberty:
14231 maybe-html-libiberty: html-libiberty
14234 configure-libiberty
14235 @[ -f ./libiberty/Makefile ] || exit 0; \
14236 r=`${PWD_COMMAND}`; export r; \
14237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14240 for flag in $(EXTRA_HOST_FLAGS) ; do \
14241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14243 echo "Doing html in libiberty" ; \
14245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14247 "RANLIB=$${RANLIB}" \
14248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14254 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
14255 maybe-TAGS-libiberty:
14257 maybe-TAGS-libiberty: TAGS-libiberty
14260 configure-libiberty
14261 @[ -f ./libiberty/Makefile ] || exit 0; \
14262 r=`${PWD_COMMAND}`; export r; \
14263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14266 for flag in $(EXTRA_HOST_FLAGS) ; do \
14267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14269 echo "Doing TAGS in libiberty" ; \
14271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14273 "RANLIB=$${RANLIB}" \
14274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14280 .PHONY: maybe-install-info-libiberty install-info-libiberty
14281 maybe-install-info-libiberty:
14283 maybe-install-info-libiberty: install-info-libiberty
14285 install-info-libiberty: \
14286 configure-libiberty \
14288 @[ -f ./libiberty/Makefile ] || exit 0; \
14289 r=`${PWD_COMMAND}`; export r; \
14290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14293 for flag in $(EXTRA_HOST_FLAGS) ; do \
14294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14296 echo "Doing install-info in libiberty" ; \
14298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14300 "RANLIB=$${RANLIB}" \
14301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14307 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
14308 maybe-installcheck-libiberty:
14310 maybe-installcheck-libiberty: installcheck-libiberty
14312 installcheck-libiberty: \
14313 configure-libiberty
14314 @[ -f ./libiberty/Makefile ] || exit 0; \
14315 r=`${PWD_COMMAND}`; export r; \
14316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14319 for flag in $(EXTRA_HOST_FLAGS) ; do \
14320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14322 echo "Doing installcheck in libiberty" ; \
14324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14326 "RANLIB=$${RANLIB}" \
14327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14333 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
14334 maybe-mostlyclean-libiberty:
14336 maybe-mostlyclean-libiberty: mostlyclean-libiberty
14338 mostlyclean-libiberty:
14339 @[ -f ./libiberty/Makefile ] || exit 0; \
14340 r=`${PWD_COMMAND}`; export r; \
14341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14344 for flag in $(EXTRA_HOST_FLAGS) ; do \
14345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14347 echo "Doing mostlyclean in libiberty" ; \
14349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14351 "RANLIB=$${RANLIB}" \
14352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14358 .PHONY: maybe-clean-libiberty clean-libiberty
14359 maybe-clean-libiberty:
14361 maybe-clean-libiberty: clean-libiberty
14364 @[ -f ./libiberty/Makefile ] || exit 0; \
14365 r=`${PWD_COMMAND}`; export r; \
14366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14369 for flag in $(EXTRA_HOST_FLAGS) ; do \
14370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14372 echo "Doing clean in libiberty" ; \
14374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14376 "RANLIB=$${RANLIB}" \
14377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14383 .PHONY: maybe-distclean-libiberty distclean-libiberty
14384 maybe-distclean-libiberty:
14386 maybe-distclean-libiberty: distclean-libiberty
14388 distclean-libiberty:
14389 @[ -f ./libiberty/Makefile ] || exit 0; \
14390 r=`${PWD_COMMAND}`; export r; \
14391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14394 for flag in $(EXTRA_HOST_FLAGS) ; do \
14395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14397 echo "Doing distclean in libiberty" ; \
14399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14401 "RANLIB=$${RANLIB}" \
14402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14408 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
14409 maybe-maintainer-clean-libiberty:
14411 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
14413 maintainer-clean-libiberty:
14414 @[ -f ./libiberty/Makefile ] || exit 0; \
14415 r=`${PWD_COMMAND}`; export r; \
14416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14419 for flag in $(EXTRA_HOST_FLAGS) ; do \
14420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14422 echo "Doing maintainer-clean in libiberty" ; \
14424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14426 "RANLIB=$${RANLIB}" \
14427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14428 maintainer-clean) \
14434 .PHONY: configure-libtool maybe-configure-libtool
14435 maybe-configure-libtool:
14437 maybe-configure-libtool: configure-libtool
14439 @test ! -f libtool/Makefile || exit 0; \
14440 [ -d libtool ] || mkdir libtool; \
14441 r=`${PWD_COMMAND}`; export r; \
14442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14444 echo Configuring in libtool; \
14445 cd libtool || exit 1; \
14446 case $(srcdir) in \
14448 srcdiroption="--srcdir=."; \
14450 /* | [A-Za-z]:[\\/]*) \
14451 srcdiroption="--srcdir=$(srcdir)/libtool"; \
14452 libsrcdir="$$s/libtool";; \
14454 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
14455 libsrcdir="$$s/libtool";; \
14457 $(SHELL) $${libsrcdir}/configure \
14458 $(HOST_CONFIGARGS) $${srcdiroption} \
14462 .PHONY: all-libtool maybe-all-libtool
14466 maybe-all-libtool: all-libtool
14467 all-libtool: configure-libtool
14468 @r=`${PWD_COMMAND}`; export r; \
14469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14472 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) \
14476 .PHONY: check-libtool maybe-check-libtool
14477 maybe-check-libtool:
14479 maybe-check-libtool: check-libtool
14482 @r=`${PWD_COMMAND}`; export r; \
14483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14486 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
14490 .PHONY: install-libtool maybe-install-libtool
14491 maybe-install-libtool:
14493 maybe-install-libtool: install-libtool
14495 install-libtool: installdirs
14496 @r=`${PWD_COMMAND}`; export r; \
14497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14500 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
14504 # Other targets (info, dvi, etc.)
14506 .PHONY: maybe-info-libtool info-libtool
14507 maybe-info-libtool:
14509 maybe-info-libtool: info-libtool
14513 @[ -f ./libtool/Makefile ] || exit 0; \
14514 r=`${PWD_COMMAND}`; export r; \
14515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14518 for flag in $(EXTRA_HOST_FLAGS) ; do \
14519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14521 echo "Doing info in libtool" ; \
14523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14525 "RANLIB=$${RANLIB}" \
14526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14532 .PHONY: maybe-dvi-libtool dvi-libtool
14535 maybe-dvi-libtool: dvi-libtool
14539 @[ -f ./libtool/Makefile ] || exit 0; \
14540 r=`${PWD_COMMAND}`; export r; \
14541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14544 for flag in $(EXTRA_HOST_FLAGS) ; do \
14545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14547 echo "Doing dvi in libtool" ; \
14549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14551 "RANLIB=$${RANLIB}" \
14552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14558 .PHONY: maybe-html-libtool html-libtool
14559 maybe-html-libtool:
14561 maybe-html-libtool: html-libtool
14565 @[ -f ./libtool/Makefile ] || exit 0; \
14566 r=`${PWD_COMMAND}`; export r; \
14567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14570 for flag in $(EXTRA_HOST_FLAGS) ; do \
14571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14573 echo "Doing html in libtool" ; \
14575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14577 "RANLIB=$${RANLIB}" \
14578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14584 .PHONY: maybe-TAGS-libtool TAGS-libtool
14585 maybe-TAGS-libtool:
14587 maybe-TAGS-libtool: TAGS-libtool
14591 @[ -f ./libtool/Makefile ] || exit 0; \
14592 r=`${PWD_COMMAND}`; export r; \
14593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14596 for flag in $(EXTRA_HOST_FLAGS) ; do \
14597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14599 echo "Doing TAGS in libtool" ; \
14601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14603 "RANLIB=$${RANLIB}" \
14604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14610 .PHONY: maybe-install-info-libtool install-info-libtool
14611 maybe-install-info-libtool:
14613 maybe-install-info-libtool: install-info-libtool
14615 install-info-libtool: \
14616 configure-libtool \
14618 @[ -f ./libtool/Makefile ] || exit 0; \
14619 r=`${PWD_COMMAND}`; export r; \
14620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14623 for flag in $(EXTRA_HOST_FLAGS) ; do \
14624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14626 echo "Doing install-info in libtool" ; \
14628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14630 "RANLIB=$${RANLIB}" \
14631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14637 .PHONY: maybe-installcheck-libtool installcheck-libtool
14638 maybe-installcheck-libtool:
14640 maybe-installcheck-libtool: installcheck-libtool
14642 installcheck-libtool: \
14644 @[ -f ./libtool/Makefile ] || exit 0; \
14645 r=`${PWD_COMMAND}`; export r; \
14646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14649 for flag in $(EXTRA_HOST_FLAGS) ; do \
14650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14652 echo "Doing installcheck in libtool" ; \
14654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14656 "RANLIB=$${RANLIB}" \
14657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14663 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
14664 maybe-mostlyclean-libtool:
14666 maybe-mostlyclean-libtool: mostlyclean-libtool
14668 mostlyclean-libtool:
14669 @[ -f ./libtool/Makefile ] || exit 0; \
14670 r=`${PWD_COMMAND}`; export r; \
14671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14674 for flag in $(EXTRA_HOST_FLAGS) ; do \
14675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14677 echo "Doing mostlyclean in libtool" ; \
14679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14681 "RANLIB=$${RANLIB}" \
14682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14688 .PHONY: maybe-clean-libtool clean-libtool
14689 maybe-clean-libtool:
14691 maybe-clean-libtool: clean-libtool
14694 @[ -f ./libtool/Makefile ] || exit 0; \
14695 r=`${PWD_COMMAND}`; export r; \
14696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14699 for flag in $(EXTRA_HOST_FLAGS) ; do \
14700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14702 echo "Doing clean in libtool" ; \
14704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14706 "RANLIB=$${RANLIB}" \
14707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14713 .PHONY: maybe-distclean-libtool distclean-libtool
14714 maybe-distclean-libtool:
14716 maybe-distclean-libtool: distclean-libtool
14719 @[ -f ./libtool/Makefile ] || exit 0; \
14720 r=`${PWD_COMMAND}`; export r; \
14721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14724 for flag in $(EXTRA_HOST_FLAGS) ; do \
14725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14727 echo "Doing distclean in libtool" ; \
14729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14731 "RANLIB=$${RANLIB}" \
14732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14738 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
14739 maybe-maintainer-clean-libtool:
14741 maybe-maintainer-clean-libtool: maintainer-clean-libtool
14743 maintainer-clean-libtool:
14744 @[ -f ./libtool/Makefile ] || exit 0; \
14745 r=`${PWD_COMMAND}`; export r; \
14746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14749 for flag in $(EXTRA_HOST_FLAGS) ; do \
14750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14752 echo "Doing maintainer-clean in libtool" ; \
14754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14756 "RANLIB=$${RANLIB}" \
14757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14758 maintainer-clean) \
14764 .PHONY: configure-m4 maybe-configure-m4
14765 maybe-configure-m4:
14767 maybe-configure-m4: configure-m4
14769 @test ! -f m4/Makefile || exit 0; \
14770 [ -d m4 ] || mkdir m4; \
14771 r=`${PWD_COMMAND}`; export r; \
14772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14774 echo Configuring in m4; \
14776 case $(srcdir) in \
14778 srcdiroption="--srcdir=."; \
14780 /* | [A-Za-z]:[\\/]*) \
14781 srcdiroption="--srcdir=$(srcdir)/m4"; \
14782 libsrcdir="$$s/m4";; \
14784 srcdiroption="--srcdir=../$(srcdir)/m4"; \
14785 libsrcdir="$$s/m4";; \
14787 $(SHELL) $${libsrcdir}/configure \
14788 $(HOST_CONFIGARGS) $${srcdiroption} \
14792 .PHONY: all-m4 maybe-all-m4
14796 maybe-all-m4: all-m4
14797 all-m4: configure-m4
14798 @r=`${PWD_COMMAND}`; export r; \
14799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14802 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) \
14806 .PHONY: check-m4 maybe-check-m4
14809 maybe-check-m4: check-m4
14812 @r=`${PWD_COMMAND}`; export r; \
14813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14816 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
14820 .PHONY: install-m4 maybe-install-m4
14823 maybe-install-m4: install-m4
14825 install-m4: installdirs
14826 @r=`${PWD_COMMAND}`; export r; \
14827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14830 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
14834 # Other targets (info, dvi, etc.)
14836 .PHONY: maybe-info-m4 info-m4
14839 maybe-info-m4: info-m4
14843 @[ -f ./m4/Makefile ] || exit 0; \
14844 r=`${PWD_COMMAND}`; export r; \
14845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14848 for flag in $(EXTRA_HOST_FLAGS) ; do \
14849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14851 echo "Doing info in m4" ; \
14853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14855 "RANLIB=$${RANLIB}" \
14856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14862 .PHONY: maybe-dvi-m4 dvi-m4
14865 maybe-dvi-m4: dvi-m4
14869 @[ -f ./m4/Makefile ] || exit 0; \
14870 r=`${PWD_COMMAND}`; export r; \
14871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14874 for flag in $(EXTRA_HOST_FLAGS) ; do \
14875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14877 echo "Doing dvi in m4" ; \
14879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14881 "RANLIB=$${RANLIB}" \
14882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14888 .PHONY: maybe-html-m4 html-m4
14891 maybe-html-m4: html-m4
14895 @[ -f ./m4/Makefile ] || exit 0; \
14896 r=`${PWD_COMMAND}`; export r; \
14897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14900 for flag in $(EXTRA_HOST_FLAGS) ; do \
14901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14903 echo "Doing html in m4" ; \
14905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14907 "RANLIB=$${RANLIB}" \
14908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14914 .PHONY: maybe-TAGS-m4 TAGS-m4
14917 maybe-TAGS-m4: TAGS-m4
14921 @[ -f ./m4/Makefile ] || exit 0; \
14922 r=`${PWD_COMMAND}`; export r; \
14923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14926 for flag in $(EXTRA_HOST_FLAGS) ; do \
14927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14929 echo "Doing TAGS in m4" ; \
14931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14933 "RANLIB=$${RANLIB}" \
14934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14940 .PHONY: maybe-install-info-m4 install-info-m4
14941 maybe-install-info-m4:
14943 maybe-install-info-m4: install-info-m4
14948 @[ -f ./m4/Makefile ] || exit 0; \
14949 r=`${PWD_COMMAND}`; export r; \
14950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14953 for flag in $(EXTRA_HOST_FLAGS) ; do \
14954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14956 echo "Doing install-info in m4" ; \
14958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14960 "RANLIB=$${RANLIB}" \
14961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14967 .PHONY: maybe-installcheck-m4 installcheck-m4
14968 maybe-installcheck-m4:
14970 maybe-installcheck-m4: installcheck-m4
14974 @[ -f ./m4/Makefile ] || exit 0; \
14975 r=`${PWD_COMMAND}`; export r; \
14976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14979 for flag in $(EXTRA_HOST_FLAGS) ; do \
14980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14982 echo "Doing installcheck in m4" ; \
14984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14986 "RANLIB=$${RANLIB}" \
14987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14993 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
14994 maybe-mostlyclean-m4:
14996 maybe-mostlyclean-m4: mostlyclean-m4
14999 @[ -f ./m4/Makefile ] || exit 0; \
15000 r=`${PWD_COMMAND}`; export r; \
15001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15004 for flag in $(EXTRA_HOST_FLAGS) ; do \
15005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15007 echo "Doing mostlyclean in m4" ; \
15009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15011 "RANLIB=$${RANLIB}" \
15012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15018 .PHONY: maybe-clean-m4 clean-m4
15021 maybe-clean-m4: clean-m4
15024 @[ -f ./m4/Makefile ] || exit 0; \
15025 r=`${PWD_COMMAND}`; export r; \
15026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15029 for flag in $(EXTRA_HOST_FLAGS) ; do \
15030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15032 echo "Doing clean in m4" ; \
15034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15036 "RANLIB=$${RANLIB}" \
15037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15043 .PHONY: maybe-distclean-m4 distclean-m4
15044 maybe-distclean-m4:
15046 maybe-distclean-m4: distclean-m4
15049 @[ -f ./m4/Makefile ] || exit 0; \
15050 r=`${PWD_COMMAND}`; export r; \
15051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15054 for flag in $(EXTRA_HOST_FLAGS) ; do \
15055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15057 echo "Doing distclean in m4" ; \
15059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15061 "RANLIB=$${RANLIB}" \
15062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15068 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
15069 maybe-maintainer-clean-m4:
15071 maybe-maintainer-clean-m4: maintainer-clean-m4
15073 maintainer-clean-m4:
15074 @[ -f ./m4/Makefile ] || exit 0; \
15075 r=`${PWD_COMMAND}`; export r; \
15076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15079 for flag in $(EXTRA_HOST_FLAGS) ; do \
15080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15082 echo "Doing maintainer-clean in m4" ; \
15084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15086 "RANLIB=$${RANLIB}" \
15087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15088 maintainer-clean) \
15094 .PHONY: configure-make maybe-configure-make
15095 maybe-configure-make:
15097 maybe-configure-make: configure-make
15099 @test ! -f make/Makefile || exit 0; \
15100 [ -d make ] || mkdir make; \
15101 r=`${PWD_COMMAND}`; export r; \
15102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15104 echo Configuring in make; \
15105 cd make || exit 1; \
15106 case $(srcdir) in \
15108 srcdiroption="--srcdir=."; \
15110 /* | [A-Za-z]:[\\/]*) \
15111 srcdiroption="--srcdir=$(srcdir)/make"; \
15112 libsrcdir="$$s/make";; \
15114 srcdiroption="--srcdir=../$(srcdir)/make"; \
15115 libsrcdir="$$s/make";; \
15117 $(SHELL) $${libsrcdir}/configure \
15118 $(HOST_CONFIGARGS) $${srcdiroption} \
15122 .PHONY: all-make maybe-all-make
15126 maybe-all-make: all-make
15127 all-make: configure-make
15128 @r=`${PWD_COMMAND}`; export r; \
15129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15132 (cd make && $(MAKE) $(FLAGS_TO_PASS) \
15136 .PHONY: check-make maybe-check-make
15139 maybe-check-make: check-make
15142 @r=`${PWD_COMMAND}`; export r; \
15143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15146 (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
15150 .PHONY: install-make maybe-install-make
15151 maybe-install-make:
15153 maybe-install-make: install-make
15155 install-make: installdirs
15156 @r=`${PWD_COMMAND}`; export r; \
15157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15160 (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
15164 # Other targets (info, dvi, etc.)
15166 .PHONY: maybe-info-make info-make
15169 maybe-info-make: info-make
15173 @[ -f ./make/Makefile ] || exit 0; \
15174 r=`${PWD_COMMAND}`; export r; \
15175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15178 for flag in $(EXTRA_HOST_FLAGS) ; do \
15179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15181 echo "Doing info in make" ; \
15183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15185 "RANLIB=$${RANLIB}" \
15186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15192 .PHONY: maybe-dvi-make dvi-make
15195 maybe-dvi-make: dvi-make
15199 @[ -f ./make/Makefile ] || exit 0; \
15200 r=`${PWD_COMMAND}`; export r; \
15201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15204 for flag in $(EXTRA_HOST_FLAGS) ; do \
15205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15207 echo "Doing dvi in make" ; \
15209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15211 "RANLIB=$${RANLIB}" \
15212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15218 .PHONY: maybe-html-make html-make
15221 maybe-html-make: html-make
15225 @[ -f ./make/Makefile ] || exit 0; \
15226 r=`${PWD_COMMAND}`; export r; \
15227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15230 for flag in $(EXTRA_HOST_FLAGS) ; do \
15231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15233 echo "Doing html in make" ; \
15235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15237 "RANLIB=$${RANLIB}" \
15238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15244 .PHONY: maybe-TAGS-make TAGS-make
15247 maybe-TAGS-make: TAGS-make
15251 @[ -f ./make/Makefile ] || exit 0; \
15252 r=`${PWD_COMMAND}`; export r; \
15253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15256 for flag in $(EXTRA_HOST_FLAGS) ; do \
15257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15259 echo "Doing TAGS in make" ; \
15261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15263 "RANLIB=$${RANLIB}" \
15264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15270 .PHONY: maybe-install-info-make install-info-make
15271 maybe-install-info-make:
15273 maybe-install-info-make: install-info-make
15275 install-info-make: \
15278 @[ -f ./make/Makefile ] || exit 0; \
15279 r=`${PWD_COMMAND}`; export r; \
15280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15283 for flag in $(EXTRA_HOST_FLAGS) ; do \
15284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15286 echo "Doing install-info in make" ; \
15288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15290 "RANLIB=$${RANLIB}" \
15291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15297 .PHONY: maybe-installcheck-make installcheck-make
15298 maybe-installcheck-make:
15300 maybe-installcheck-make: installcheck-make
15302 installcheck-make: \
15304 @[ -f ./make/Makefile ] || exit 0; \
15305 r=`${PWD_COMMAND}`; export r; \
15306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15309 for flag in $(EXTRA_HOST_FLAGS) ; do \
15310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15312 echo "Doing installcheck in make" ; \
15314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15316 "RANLIB=$${RANLIB}" \
15317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15323 .PHONY: maybe-mostlyclean-make mostlyclean-make
15324 maybe-mostlyclean-make:
15326 maybe-mostlyclean-make: mostlyclean-make
15329 @[ -f ./make/Makefile ] || exit 0; \
15330 r=`${PWD_COMMAND}`; export r; \
15331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15334 for flag in $(EXTRA_HOST_FLAGS) ; do \
15335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15337 echo "Doing mostlyclean in make" ; \
15339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15341 "RANLIB=$${RANLIB}" \
15342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15348 .PHONY: maybe-clean-make clean-make
15351 maybe-clean-make: clean-make
15354 @[ -f ./make/Makefile ] || exit 0; \
15355 r=`${PWD_COMMAND}`; export r; \
15356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15359 for flag in $(EXTRA_HOST_FLAGS) ; do \
15360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15362 echo "Doing clean in make" ; \
15364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15366 "RANLIB=$${RANLIB}" \
15367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15373 .PHONY: maybe-distclean-make distclean-make
15374 maybe-distclean-make:
15376 maybe-distclean-make: distclean-make
15379 @[ -f ./make/Makefile ] || exit 0; \
15380 r=`${PWD_COMMAND}`; export r; \
15381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15384 for flag in $(EXTRA_HOST_FLAGS) ; do \
15385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15387 echo "Doing distclean in make" ; \
15389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15391 "RANLIB=$${RANLIB}" \
15392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15398 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
15399 maybe-maintainer-clean-make:
15401 maybe-maintainer-clean-make: maintainer-clean-make
15403 maintainer-clean-make:
15404 @[ -f ./make/Makefile ] || exit 0; \
15405 r=`${PWD_COMMAND}`; export r; \
15406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15409 for flag in $(EXTRA_HOST_FLAGS) ; do \
15410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15412 echo "Doing maintainer-clean in make" ; \
15414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15416 "RANLIB=$${RANLIB}" \
15417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15418 maintainer-clean) \
15424 .PHONY: configure-mmalloc maybe-configure-mmalloc
15425 maybe-configure-mmalloc:
15427 maybe-configure-mmalloc: configure-mmalloc
15429 @test ! -f mmalloc/Makefile || exit 0; \
15430 [ -d mmalloc ] || mkdir mmalloc; \
15431 r=`${PWD_COMMAND}`; export r; \
15432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15434 echo Configuring in mmalloc; \
15435 cd mmalloc || exit 1; \
15436 case $(srcdir) in \
15438 srcdiroption="--srcdir=."; \
15440 /* | [A-Za-z]:[\\/]*) \
15441 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
15442 libsrcdir="$$s/mmalloc";; \
15444 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
15445 libsrcdir="$$s/mmalloc";; \
15447 $(SHELL) $${libsrcdir}/configure \
15448 $(HOST_CONFIGARGS) $${srcdiroption} \
15452 .PHONY: all-mmalloc maybe-all-mmalloc
15456 maybe-all-mmalloc: all-mmalloc
15457 all-mmalloc: configure-mmalloc
15458 @r=`${PWD_COMMAND}`; export r; \
15459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15462 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) \
15466 .PHONY: check-mmalloc maybe-check-mmalloc
15467 maybe-check-mmalloc:
15469 maybe-check-mmalloc: check-mmalloc
15475 .PHONY: install-mmalloc maybe-install-mmalloc
15476 maybe-install-mmalloc:
15478 maybe-install-mmalloc: install-mmalloc
15480 install-mmalloc: installdirs
15481 @r=`${PWD_COMMAND}`; export r; \
15482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15485 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
15489 # Other targets (info, dvi, etc.)
15491 .PHONY: maybe-info-mmalloc info-mmalloc
15492 maybe-info-mmalloc:
15494 maybe-info-mmalloc: info-mmalloc
15498 @[ -f ./mmalloc/Makefile ] || exit 0; \
15499 r=`${PWD_COMMAND}`; export r; \
15500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15503 for flag in $(EXTRA_HOST_FLAGS) ; do \
15504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15506 echo "Doing info in mmalloc" ; \
15508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15510 "RANLIB=$${RANLIB}" \
15511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15517 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
15520 maybe-dvi-mmalloc: dvi-mmalloc
15524 @[ -f ./mmalloc/Makefile ] || exit 0; \
15525 r=`${PWD_COMMAND}`; export r; \
15526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15529 for flag in $(EXTRA_HOST_FLAGS) ; do \
15530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15532 echo "Doing dvi in mmalloc" ; \
15534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15536 "RANLIB=$${RANLIB}" \
15537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15543 .PHONY: maybe-html-mmalloc html-mmalloc
15544 maybe-html-mmalloc:
15546 maybe-html-mmalloc: html-mmalloc
15550 @[ -f ./mmalloc/Makefile ] || exit 0; \
15551 r=`${PWD_COMMAND}`; export r; \
15552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15555 for flag in $(EXTRA_HOST_FLAGS) ; do \
15556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15558 echo "Doing html in mmalloc" ; \
15560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15562 "RANLIB=$${RANLIB}" \
15563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15569 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
15570 maybe-TAGS-mmalloc:
15572 maybe-TAGS-mmalloc: TAGS-mmalloc
15576 @[ -f ./mmalloc/Makefile ] || exit 0; \
15577 r=`${PWD_COMMAND}`; export r; \
15578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15581 for flag in $(EXTRA_HOST_FLAGS) ; do \
15582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15584 echo "Doing TAGS in mmalloc" ; \
15586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15588 "RANLIB=$${RANLIB}" \
15589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15595 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
15596 maybe-install-info-mmalloc:
15598 maybe-install-info-mmalloc: install-info-mmalloc
15600 install-info-mmalloc: \
15601 configure-mmalloc \
15603 @[ -f ./mmalloc/Makefile ] || exit 0; \
15604 r=`${PWD_COMMAND}`; export r; \
15605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15608 for flag in $(EXTRA_HOST_FLAGS) ; do \
15609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15611 echo "Doing install-info in mmalloc" ; \
15613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15615 "RANLIB=$${RANLIB}" \
15616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15622 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
15623 maybe-installcheck-mmalloc:
15625 maybe-installcheck-mmalloc: installcheck-mmalloc
15627 installcheck-mmalloc: \
15629 @[ -f ./mmalloc/Makefile ] || exit 0; \
15630 r=`${PWD_COMMAND}`; export r; \
15631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15634 for flag in $(EXTRA_HOST_FLAGS) ; do \
15635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15637 echo "Doing installcheck in mmalloc" ; \
15639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15641 "RANLIB=$${RANLIB}" \
15642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15648 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
15649 maybe-mostlyclean-mmalloc:
15651 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
15653 mostlyclean-mmalloc:
15654 @[ -f ./mmalloc/Makefile ] || exit 0; \
15655 r=`${PWD_COMMAND}`; export r; \
15656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15659 for flag in $(EXTRA_HOST_FLAGS) ; do \
15660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15662 echo "Doing mostlyclean in mmalloc" ; \
15664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15666 "RANLIB=$${RANLIB}" \
15667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15673 .PHONY: maybe-clean-mmalloc clean-mmalloc
15674 maybe-clean-mmalloc:
15676 maybe-clean-mmalloc: clean-mmalloc
15679 @[ -f ./mmalloc/Makefile ] || exit 0; \
15680 r=`${PWD_COMMAND}`; export r; \
15681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15684 for flag in $(EXTRA_HOST_FLAGS) ; do \
15685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15687 echo "Doing clean in mmalloc" ; \
15689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15691 "RANLIB=$${RANLIB}" \
15692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15698 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
15699 maybe-distclean-mmalloc:
15701 maybe-distclean-mmalloc: distclean-mmalloc
15704 @[ -f ./mmalloc/Makefile ] || exit 0; \
15705 r=`${PWD_COMMAND}`; export r; \
15706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15709 for flag in $(EXTRA_HOST_FLAGS) ; do \
15710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15712 echo "Doing distclean in mmalloc" ; \
15714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15716 "RANLIB=$${RANLIB}" \
15717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15723 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
15724 maybe-maintainer-clean-mmalloc:
15726 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
15728 maintainer-clean-mmalloc:
15729 @[ -f ./mmalloc/Makefile ] || exit 0; \
15730 r=`${PWD_COMMAND}`; export r; \
15731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15734 for flag in $(EXTRA_HOST_FLAGS) ; do \
15735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15737 echo "Doing maintainer-clean in mmalloc" ; \
15739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15741 "RANLIB=$${RANLIB}" \
15742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15743 maintainer-clean) \
15749 .PHONY: configure-patch maybe-configure-patch
15750 maybe-configure-patch:
15752 maybe-configure-patch: configure-patch
15754 @test ! -f patch/Makefile || exit 0; \
15755 [ -d patch ] || mkdir patch; \
15756 r=`${PWD_COMMAND}`; export r; \
15757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15759 echo Configuring in patch; \
15760 cd patch || exit 1; \
15761 case $(srcdir) in \
15763 srcdiroption="--srcdir=."; \
15765 /* | [A-Za-z]:[\\/]*) \
15766 srcdiroption="--srcdir=$(srcdir)/patch"; \
15767 libsrcdir="$$s/patch";; \
15769 srcdiroption="--srcdir=../$(srcdir)/patch"; \
15770 libsrcdir="$$s/patch";; \
15772 $(SHELL) $${libsrcdir}/configure \
15773 $(HOST_CONFIGARGS) $${srcdiroption} \
15777 .PHONY: all-patch maybe-all-patch
15781 maybe-all-patch: all-patch
15782 all-patch: configure-patch
15783 @r=`${PWD_COMMAND}`; export r; \
15784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15787 (cd patch && $(MAKE) $(FLAGS_TO_PASS) \
15791 .PHONY: check-patch maybe-check-patch
15794 maybe-check-patch: check-patch
15797 @r=`${PWD_COMMAND}`; export r; \
15798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15801 (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
15805 .PHONY: install-patch maybe-install-patch
15806 maybe-install-patch:
15808 maybe-install-patch: install-patch
15810 install-patch: installdirs
15811 @r=`${PWD_COMMAND}`; export r; \
15812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15815 (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
15819 # Other targets (info, dvi, etc.)
15821 .PHONY: maybe-info-patch info-patch
15824 maybe-info-patch: info-patch
15828 @[ -f ./patch/Makefile ] || exit 0; \
15829 r=`${PWD_COMMAND}`; export r; \
15830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15833 for flag in $(EXTRA_HOST_FLAGS) ; do \
15834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15836 echo "Doing info in patch" ; \
15838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15840 "RANLIB=$${RANLIB}" \
15841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15847 .PHONY: maybe-dvi-patch dvi-patch
15850 maybe-dvi-patch: dvi-patch
15854 @[ -f ./patch/Makefile ] || exit 0; \
15855 r=`${PWD_COMMAND}`; export r; \
15856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15859 for flag in $(EXTRA_HOST_FLAGS) ; do \
15860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15862 echo "Doing dvi in patch" ; \
15864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15866 "RANLIB=$${RANLIB}" \
15867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15873 .PHONY: maybe-html-patch html-patch
15876 maybe-html-patch: html-patch
15880 @[ -f ./patch/Makefile ] || exit 0; \
15881 r=`${PWD_COMMAND}`; export r; \
15882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15885 for flag in $(EXTRA_HOST_FLAGS) ; do \
15886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15888 echo "Doing html in patch" ; \
15890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15892 "RANLIB=$${RANLIB}" \
15893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15899 .PHONY: maybe-TAGS-patch TAGS-patch
15902 maybe-TAGS-patch: TAGS-patch
15906 @[ -f ./patch/Makefile ] || exit 0; \
15907 r=`${PWD_COMMAND}`; export r; \
15908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15911 for flag in $(EXTRA_HOST_FLAGS) ; do \
15912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15914 echo "Doing TAGS in patch" ; \
15916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15918 "RANLIB=$${RANLIB}" \
15919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15925 .PHONY: maybe-install-info-patch install-info-patch
15926 maybe-install-info-patch:
15928 maybe-install-info-patch: install-info-patch
15930 install-info-patch: \
15933 @[ -f ./patch/Makefile ] || exit 0; \
15934 r=`${PWD_COMMAND}`; export r; \
15935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15938 for flag in $(EXTRA_HOST_FLAGS) ; do \
15939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15941 echo "Doing install-info in patch" ; \
15943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15945 "RANLIB=$${RANLIB}" \
15946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15952 .PHONY: maybe-installcheck-patch installcheck-patch
15953 maybe-installcheck-patch:
15955 maybe-installcheck-patch: installcheck-patch
15957 installcheck-patch: \
15959 @[ -f ./patch/Makefile ] || exit 0; \
15960 r=`${PWD_COMMAND}`; export r; \
15961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15964 for flag in $(EXTRA_HOST_FLAGS) ; do \
15965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15967 echo "Doing installcheck in patch" ; \
15969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15971 "RANLIB=$${RANLIB}" \
15972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15978 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
15979 maybe-mostlyclean-patch:
15981 maybe-mostlyclean-patch: mostlyclean-patch
15984 @[ -f ./patch/Makefile ] || exit 0; \
15985 r=`${PWD_COMMAND}`; export r; \
15986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15989 for flag in $(EXTRA_HOST_FLAGS) ; do \
15990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15992 echo "Doing mostlyclean in patch" ; \
15994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15996 "RANLIB=$${RANLIB}" \
15997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16003 .PHONY: maybe-clean-patch clean-patch
16006 maybe-clean-patch: clean-patch
16009 @[ -f ./patch/Makefile ] || exit 0; \
16010 r=`${PWD_COMMAND}`; export r; \
16011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16014 for flag in $(EXTRA_HOST_FLAGS) ; do \
16015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16017 echo "Doing clean in patch" ; \
16019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16021 "RANLIB=$${RANLIB}" \
16022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16028 .PHONY: maybe-distclean-patch distclean-patch
16029 maybe-distclean-patch:
16031 maybe-distclean-patch: distclean-patch
16034 @[ -f ./patch/Makefile ] || exit 0; \
16035 r=`${PWD_COMMAND}`; export r; \
16036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16039 for flag in $(EXTRA_HOST_FLAGS) ; do \
16040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16042 echo "Doing distclean in patch" ; \
16044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16046 "RANLIB=$${RANLIB}" \
16047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16053 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
16054 maybe-maintainer-clean-patch:
16056 maybe-maintainer-clean-patch: maintainer-clean-patch
16058 maintainer-clean-patch:
16059 @[ -f ./patch/Makefile ] || exit 0; \
16060 r=`${PWD_COMMAND}`; export r; \
16061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16064 for flag in $(EXTRA_HOST_FLAGS) ; do \
16065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16067 echo "Doing maintainer-clean in patch" ; \
16069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16071 "RANLIB=$${RANLIB}" \
16072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16073 maintainer-clean) \
16079 .PHONY: configure-perl maybe-configure-perl
16080 maybe-configure-perl:
16082 maybe-configure-perl: configure-perl
16084 @test ! -f perl/Makefile || exit 0; \
16085 [ -d perl ] || mkdir perl; \
16086 r=`${PWD_COMMAND}`; export r; \
16087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16089 echo Configuring in perl; \
16090 cd perl || exit 1; \
16091 case $(srcdir) in \
16093 srcdiroption="--srcdir=."; \
16095 /* | [A-Za-z]:[\\/]*) \
16096 srcdiroption="--srcdir=$(srcdir)/perl"; \
16097 libsrcdir="$$s/perl";; \
16099 srcdiroption="--srcdir=../$(srcdir)/perl"; \
16100 libsrcdir="$$s/perl";; \
16102 $(SHELL) $${libsrcdir}/configure \
16103 $(HOST_CONFIGARGS) $${srcdiroption} \
16107 .PHONY: all-perl maybe-all-perl
16111 maybe-all-perl: all-perl
16112 all-perl: configure-perl
16113 @r=`${PWD_COMMAND}`; export r; \
16114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16117 (cd perl && $(MAKE) $(FLAGS_TO_PASS) \
16121 .PHONY: check-perl maybe-check-perl
16124 maybe-check-perl: check-perl
16127 @r=`${PWD_COMMAND}`; export r; \
16128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16131 (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
16135 .PHONY: install-perl maybe-install-perl
16136 maybe-install-perl:
16138 maybe-install-perl: install-perl
16140 install-perl: installdirs
16141 @r=`${PWD_COMMAND}`; export r; \
16142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16145 (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
16149 # Other targets (info, dvi, etc.)
16151 .PHONY: maybe-info-perl info-perl
16154 maybe-info-perl: info-perl
16158 @[ -f ./perl/Makefile ] || exit 0; \
16159 r=`${PWD_COMMAND}`; export r; \
16160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16163 for flag in $(EXTRA_HOST_FLAGS) ; do \
16164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16166 echo "Doing info in perl" ; \
16168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16170 "RANLIB=$${RANLIB}" \
16171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16177 .PHONY: maybe-dvi-perl dvi-perl
16180 maybe-dvi-perl: dvi-perl
16184 @[ -f ./perl/Makefile ] || exit 0; \
16185 r=`${PWD_COMMAND}`; export r; \
16186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16189 for flag in $(EXTRA_HOST_FLAGS) ; do \
16190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16192 echo "Doing dvi in perl" ; \
16194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16196 "RANLIB=$${RANLIB}" \
16197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16203 .PHONY: maybe-html-perl html-perl
16206 maybe-html-perl: html-perl
16210 @[ -f ./perl/Makefile ] || exit 0; \
16211 r=`${PWD_COMMAND}`; export r; \
16212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16215 for flag in $(EXTRA_HOST_FLAGS) ; do \
16216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16218 echo "Doing html in perl" ; \
16220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16222 "RANLIB=$${RANLIB}" \
16223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16229 .PHONY: maybe-TAGS-perl TAGS-perl
16232 maybe-TAGS-perl: TAGS-perl
16236 @[ -f ./perl/Makefile ] || exit 0; \
16237 r=`${PWD_COMMAND}`; export r; \
16238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16241 for flag in $(EXTRA_HOST_FLAGS) ; do \
16242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16244 echo "Doing TAGS in perl" ; \
16246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16248 "RANLIB=$${RANLIB}" \
16249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16255 .PHONY: maybe-install-info-perl install-info-perl
16256 maybe-install-info-perl:
16258 maybe-install-info-perl: install-info-perl
16260 install-info-perl: \
16263 @[ -f ./perl/Makefile ] || exit 0; \
16264 r=`${PWD_COMMAND}`; export r; \
16265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16268 for flag in $(EXTRA_HOST_FLAGS) ; do \
16269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16271 echo "Doing install-info in perl" ; \
16273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16275 "RANLIB=$${RANLIB}" \
16276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16282 .PHONY: maybe-installcheck-perl installcheck-perl
16283 maybe-installcheck-perl:
16285 maybe-installcheck-perl: installcheck-perl
16287 installcheck-perl: \
16289 @[ -f ./perl/Makefile ] || exit 0; \
16290 r=`${PWD_COMMAND}`; export r; \
16291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16294 for flag in $(EXTRA_HOST_FLAGS) ; do \
16295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16297 echo "Doing installcheck in perl" ; \
16299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16301 "RANLIB=$${RANLIB}" \
16302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16308 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
16309 maybe-mostlyclean-perl:
16311 maybe-mostlyclean-perl: mostlyclean-perl
16314 @[ -f ./perl/Makefile ] || exit 0; \
16315 r=`${PWD_COMMAND}`; export r; \
16316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16319 for flag in $(EXTRA_HOST_FLAGS) ; do \
16320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16322 echo "Doing mostlyclean in perl" ; \
16324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16326 "RANLIB=$${RANLIB}" \
16327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16333 .PHONY: maybe-clean-perl clean-perl
16336 maybe-clean-perl: clean-perl
16339 @[ -f ./perl/Makefile ] || exit 0; \
16340 r=`${PWD_COMMAND}`; export r; \
16341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16344 for flag in $(EXTRA_HOST_FLAGS) ; do \
16345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16347 echo "Doing clean in perl" ; \
16349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16351 "RANLIB=$${RANLIB}" \
16352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16358 .PHONY: maybe-distclean-perl distclean-perl
16359 maybe-distclean-perl:
16361 maybe-distclean-perl: distclean-perl
16364 @[ -f ./perl/Makefile ] || exit 0; \
16365 r=`${PWD_COMMAND}`; export r; \
16366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16369 for flag in $(EXTRA_HOST_FLAGS) ; do \
16370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16372 echo "Doing distclean in perl" ; \
16374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16376 "RANLIB=$${RANLIB}" \
16377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16383 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
16384 maybe-maintainer-clean-perl:
16386 maybe-maintainer-clean-perl: maintainer-clean-perl
16388 maintainer-clean-perl:
16389 @[ -f ./perl/Makefile ] || exit 0; \
16390 r=`${PWD_COMMAND}`; export r; \
16391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16394 for flag in $(EXTRA_HOST_FLAGS) ; do \
16395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16397 echo "Doing maintainer-clean in perl" ; \
16399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16401 "RANLIB=$${RANLIB}" \
16402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16403 maintainer-clean) \
16409 .PHONY: configure-prms maybe-configure-prms
16410 maybe-configure-prms:
16412 maybe-configure-prms: configure-prms
16414 @test ! -f prms/Makefile || exit 0; \
16415 [ -d prms ] || mkdir prms; \
16416 r=`${PWD_COMMAND}`; export r; \
16417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16419 echo Configuring in prms; \
16420 cd prms || exit 1; \
16421 case $(srcdir) in \
16423 srcdiroption="--srcdir=."; \
16425 /* | [A-Za-z]:[\\/]*) \
16426 srcdiroption="--srcdir=$(srcdir)/prms"; \
16427 libsrcdir="$$s/prms";; \
16429 srcdiroption="--srcdir=../$(srcdir)/prms"; \
16430 libsrcdir="$$s/prms";; \
16432 $(SHELL) $${libsrcdir}/configure \
16433 $(HOST_CONFIGARGS) $${srcdiroption} \
16437 .PHONY: all-prms maybe-all-prms
16441 maybe-all-prms: all-prms
16442 all-prms: configure-prms
16443 @r=`${PWD_COMMAND}`; export r; \
16444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16447 (cd prms && $(MAKE) $(FLAGS_TO_PASS) \
16451 .PHONY: check-prms maybe-check-prms
16454 maybe-check-prms: check-prms
16457 @r=`${PWD_COMMAND}`; export r; \
16458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16461 (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
16465 .PHONY: install-prms maybe-install-prms
16466 maybe-install-prms:
16468 maybe-install-prms: install-prms
16470 install-prms: installdirs
16471 @r=`${PWD_COMMAND}`; export r; \
16472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16475 (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
16479 # Other targets (info, dvi, etc.)
16481 .PHONY: maybe-info-prms info-prms
16484 maybe-info-prms: info-prms
16488 @[ -f ./prms/Makefile ] || exit 0; \
16489 r=`${PWD_COMMAND}`; export r; \
16490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16493 for flag in $(EXTRA_HOST_FLAGS) ; do \
16494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16496 echo "Doing info in prms" ; \
16498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16500 "RANLIB=$${RANLIB}" \
16501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16507 .PHONY: maybe-dvi-prms dvi-prms
16510 maybe-dvi-prms: dvi-prms
16514 @[ -f ./prms/Makefile ] || exit 0; \
16515 r=`${PWD_COMMAND}`; export r; \
16516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16519 for flag in $(EXTRA_HOST_FLAGS) ; do \
16520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16522 echo "Doing dvi in prms" ; \
16524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16526 "RANLIB=$${RANLIB}" \
16527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16533 .PHONY: maybe-html-prms html-prms
16536 maybe-html-prms: html-prms
16540 @[ -f ./prms/Makefile ] || exit 0; \
16541 r=`${PWD_COMMAND}`; export r; \
16542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16545 for flag in $(EXTRA_HOST_FLAGS) ; do \
16546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16548 echo "Doing html in prms" ; \
16550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16552 "RANLIB=$${RANLIB}" \
16553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16559 .PHONY: maybe-TAGS-prms TAGS-prms
16562 maybe-TAGS-prms: TAGS-prms
16566 @[ -f ./prms/Makefile ] || exit 0; \
16567 r=`${PWD_COMMAND}`; export r; \
16568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16571 for flag in $(EXTRA_HOST_FLAGS) ; do \
16572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16574 echo "Doing TAGS in prms" ; \
16576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16578 "RANLIB=$${RANLIB}" \
16579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16585 .PHONY: maybe-install-info-prms install-info-prms
16586 maybe-install-info-prms:
16588 maybe-install-info-prms: install-info-prms
16590 install-info-prms: \
16593 @[ -f ./prms/Makefile ] || exit 0; \
16594 r=`${PWD_COMMAND}`; export r; \
16595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16598 for flag in $(EXTRA_HOST_FLAGS) ; do \
16599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16601 echo "Doing install-info in prms" ; \
16603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16605 "RANLIB=$${RANLIB}" \
16606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16612 .PHONY: maybe-installcheck-prms installcheck-prms
16613 maybe-installcheck-prms:
16615 maybe-installcheck-prms: installcheck-prms
16617 installcheck-prms: \
16619 @[ -f ./prms/Makefile ] || exit 0; \
16620 r=`${PWD_COMMAND}`; export r; \
16621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16624 for flag in $(EXTRA_HOST_FLAGS) ; do \
16625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16627 echo "Doing installcheck in prms" ; \
16629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16631 "RANLIB=$${RANLIB}" \
16632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16638 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
16639 maybe-mostlyclean-prms:
16641 maybe-mostlyclean-prms: mostlyclean-prms
16644 @[ -f ./prms/Makefile ] || exit 0; \
16645 r=`${PWD_COMMAND}`; export r; \
16646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16649 for flag in $(EXTRA_HOST_FLAGS) ; do \
16650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16652 echo "Doing mostlyclean in prms" ; \
16654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16656 "RANLIB=$${RANLIB}" \
16657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16663 .PHONY: maybe-clean-prms clean-prms
16666 maybe-clean-prms: clean-prms
16669 @[ -f ./prms/Makefile ] || exit 0; \
16670 r=`${PWD_COMMAND}`; export r; \
16671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16674 for flag in $(EXTRA_HOST_FLAGS) ; do \
16675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16677 echo "Doing clean in prms" ; \
16679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16681 "RANLIB=$${RANLIB}" \
16682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16688 .PHONY: maybe-distclean-prms distclean-prms
16689 maybe-distclean-prms:
16691 maybe-distclean-prms: distclean-prms
16694 @[ -f ./prms/Makefile ] || exit 0; \
16695 r=`${PWD_COMMAND}`; export r; \
16696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16699 for flag in $(EXTRA_HOST_FLAGS) ; do \
16700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16702 echo "Doing distclean in prms" ; \
16704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16706 "RANLIB=$${RANLIB}" \
16707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16713 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
16714 maybe-maintainer-clean-prms:
16716 maybe-maintainer-clean-prms: maintainer-clean-prms
16718 maintainer-clean-prms:
16719 @[ -f ./prms/Makefile ] || exit 0; \
16720 r=`${PWD_COMMAND}`; export r; \
16721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16724 for flag in $(EXTRA_HOST_FLAGS) ; do \
16725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16727 echo "Doing maintainer-clean in prms" ; \
16729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16731 "RANLIB=$${RANLIB}" \
16732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16733 maintainer-clean) \
16739 .PHONY: configure-rcs maybe-configure-rcs
16740 maybe-configure-rcs:
16742 maybe-configure-rcs: configure-rcs
16744 @test ! -f rcs/Makefile || exit 0; \
16745 [ -d rcs ] || mkdir rcs; \
16746 r=`${PWD_COMMAND}`; export r; \
16747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16749 echo Configuring in rcs; \
16750 cd rcs || exit 1; \
16751 case $(srcdir) in \
16753 srcdiroption="--srcdir=."; \
16755 /* | [A-Za-z]:[\\/]*) \
16756 srcdiroption="--srcdir=$(srcdir)/rcs"; \
16757 libsrcdir="$$s/rcs";; \
16759 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
16760 libsrcdir="$$s/rcs";; \
16762 $(SHELL) $${libsrcdir}/configure \
16763 $(HOST_CONFIGARGS) $${srcdiroption} \
16767 .PHONY: all-rcs maybe-all-rcs
16771 maybe-all-rcs: all-rcs
16772 all-rcs: configure-rcs
16773 @r=`${PWD_COMMAND}`; export r; \
16774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16777 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) \
16781 .PHONY: check-rcs maybe-check-rcs
16784 maybe-check-rcs: check-rcs
16787 @r=`${PWD_COMMAND}`; export r; \
16788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16791 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
16795 .PHONY: install-rcs maybe-install-rcs
16798 maybe-install-rcs: install-rcs
16800 install-rcs: installdirs
16801 @r=`${PWD_COMMAND}`; export r; \
16802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16805 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
16809 # Other targets (info, dvi, etc.)
16811 .PHONY: maybe-info-rcs info-rcs
16814 maybe-info-rcs: info-rcs
16818 @[ -f ./rcs/Makefile ] || exit 0; \
16819 r=`${PWD_COMMAND}`; export r; \
16820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16823 for flag in $(EXTRA_HOST_FLAGS) ; do \
16824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16826 echo "Doing info in rcs" ; \
16828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16830 "RANLIB=$${RANLIB}" \
16831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16837 .PHONY: maybe-dvi-rcs dvi-rcs
16840 maybe-dvi-rcs: dvi-rcs
16844 @[ -f ./rcs/Makefile ] || exit 0; \
16845 r=`${PWD_COMMAND}`; export r; \
16846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16849 for flag in $(EXTRA_HOST_FLAGS) ; do \
16850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16852 echo "Doing dvi in rcs" ; \
16854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16856 "RANLIB=$${RANLIB}" \
16857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16863 .PHONY: maybe-html-rcs html-rcs
16866 maybe-html-rcs: html-rcs
16870 @[ -f ./rcs/Makefile ] || exit 0; \
16871 r=`${PWD_COMMAND}`; export r; \
16872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16875 for flag in $(EXTRA_HOST_FLAGS) ; do \
16876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16878 echo "Doing html in rcs" ; \
16880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16882 "RANLIB=$${RANLIB}" \
16883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16889 .PHONY: maybe-TAGS-rcs TAGS-rcs
16892 maybe-TAGS-rcs: TAGS-rcs
16896 @[ -f ./rcs/Makefile ] || exit 0; \
16897 r=`${PWD_COMMAND}`; export r; \
16898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16901 for flag in $(EXTRA_HOST_FLAGS) ; do \
16902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16904 echo "Doing TAGS in rcs" ; \
16906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16908 "RANLIB=$${RANLIB}" \
16909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16915 .PHONY: maybe-install-info-rcs install-info-rcs
16916 maybe-install-info-rcs:
16918 maybe-install-info-rcs: install-info-rcs
16920 install-info-rcs: \
16923 @[ -f ./rcs/Makefile ] || exit 0; \
16924 r=`${PWD_COMMAND}`; export r; \
16925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16928 for flag in $(EXTRA_HOST_FLAGS) ; do \
16929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16931 echo "Doing install-info in rcs" ; \
16933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16935 "RANLIB=$${RANLIB}" \
16936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16942 .PHONY: maybe-installcheck-rcs installcheck-rcs
16943 maybe-installcheck-rcs:
16945 maybe-installcheck-rcs: installcheck-rcs
16947 installcheck-rcs: \
16949 @[ -f ./rcs/Makefile ] || exit 0; \
16950 r=`${PWD_COMMAND}`; export r; \
16951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16954 for flag in $(EXTRA_HOST_FLAGS) ; do \
16955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16957 echo "Doing installcheck in rcs" ; \
16959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16961 "RANLIB=$${RANLIB}" \
16962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16968 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
16969 maybe-mostlyclean-rcs:
16971 maybe-mostlyclean-rcs: mostlyclean-rcs
16974 @[ -f ./rcs/Makefile ] || exit 0; \
16975 r=`${PWD_COMMAND}`; export r; \
16976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16979 for flag in $(EXTRA_HOST_FLAGS) ; do \
16980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16982 echo "Doing mostlyclean in rcs" ; \
16984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16986 "RANLIB=$${RANLIB}" \
16987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16993 .PHONY: maybe-clean-rcs clean-rcs
16996 maybe-clean-rcs: clean-rcs
16999 @[ -f ./rcs/Makefile ] || exit 0; \
17000 r=`${PWD_COMMAND}`; export r; \
17001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17004 for flag in $(EXTRA_HOST_FLAGS) ; do \
17005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17007 echo "Doing clean in rcs" ; \
17009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17011 "RANLIB=$${RANLIB}" \
17012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17018 .PHONY: maybe-distclean-rcs distclean-rcs
17019 maybe-distclean-rcs:
17021 maybe-distclean-rcs: distclean-rcs
17024 @[ -f ./rcs/Makefile ] || exit 0; \
17025 r=`${PWD_COMMAND}`; export r; \
17026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17029 for flag in $(EXTRA_HOST_FLAGS) ; do \
17030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17032 echo "Doing distclean in rcs" ; \
17034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17036 "RANLIB=$${RANLIB}" \
17037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17043 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
17044 maybe-maintainer-clean-rcs:
17046 maybe-maintainer-clean-rcs: maintainer-clean-rcs
17048 maintainer-clean-rcs:
17049 @[ -f ./rcs/Makefile ] || exit 0; \
17050 r=`${PWD_COMMAND}`; export r; \
17051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17054 for flag in $(EXTRA_HOST_FLAGS) ; do \
17055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17057 echo "Doing maintainer-clean in rcs" ; \
17059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17061 "RANLIB=$${RANLIB}" \
17062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17063 maintainer-clean) \
17069 .PHONY: configure-readline maybe-configure-readline
17070 maybe-configure-readline:
17072 maybe-configure-readline: configure-readline
17073 configure-readline:
17074 @test ! -f readline/Makefile || exit 0; \
17075 [ -d readline ] || mkdir readline; \
17076 r=`${PWD_COMMAND}`; export r; \
17077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17079 echo Configuring in readline; \
17080 cd readline || exit 1; \
17081 case $(srcdir) in \
17083 srcdiroption="--srcdir=."; \
17085 /* | [A-Za-z]:[\\/]*) \
17086 srcdiroption="--srcdir=$(srcdir)/readline"; \
17087 libsrcdir="$$s/readline";; \
17089 srcdiroption="--srcdir=../$(srcdir)/readline"; \
17090 libsrcdir="$$s/readline";; \
17092 $(SHELL) $${libsrcdir}/configure \
17093 $(HOST_CONFIGARGS) $${srcdiroption} \
17097 .PHONY: all-readline maybe-all-readline
17098 maybe-all-readline:
17100 TARGET-readline=all
17101 maybe-all-readline: all-readline
17102 all-readline: configure-readline
17103 @r=`${PWD_COMMAND}`; export r; \
17104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17107 (cd readline && $(MAKE) $(FLAGS_TO_PASS) \
17108 $(TARGET-readline))
17111 .PHONY: check-readline maybe-check-readline
17112 maybe-check-readline:
17114 maybe-check-readline: check-readline
17117 @r=`${PWD_COMMAND}`; export r; \
17118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17121 (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
17125 .PHONY: install-readline maybe-install-readline
17126 maybe-install-readline:
17128 maybe-install-readline: install-readline
17130 install-readline: installdirs
17131 @r=`${PWD_COMMAND}`; export r; \
17132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17135 (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
17139 # Other targets (info, dvi, etc.)
17141 .PHONY: maybe-info-readline info-readline
17142 maybe-info-readline:
17144 maybe-info-readline: info-readline
17148 @[ -f ./readline/Makefile ] || exit 0; \
17149 r=`${PWD_COMMAND}`; export r; \
17150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17153 for flag in $(EXTRA_HOST_FLAGS) ; do \
17154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17156 echo "Doing info in readline" ; \
17158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17160 "RANLIB=$${RANLIB}" \
17161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17167 .PHONY: maybe-dvi-readline dvi-readline
17168 maybe-dvi-readline:
17170 maybe-dvi-readline: dvi-readline
17174 @[ -f ./readline/Makefile ] || exit 0; \
17175 r=`${PWD_COMMAND}`; export r; \
17176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17179 for flag in $(EXTRA_HOST_FLAGS) ; do \
17180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17182 echo "Doing dvi in readline" ; \
17184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17186 "RANLIB=$${RANLIB}" \
17187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17193 .PHONY: maybe-html-readline html-readline
17194 maybe-html-readline:
17196 maybe-html-readline: html-readline
17200 @[ -f ./readline/Makefile ] || exit 0; \
17201 r=`${PWD_COMMAND}`; export r; \
17202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17205 for flag in $(EXTRA_HOST_FLAGS) ; do \
17206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17208 echo "Doing html in readline" ; \
17210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17212 "RANLIB=$${RANLIB}" \
17213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17219 .PHONY: maybe-TAGS-readline TAGS-readline
17220 maybe-TAGS-readline:
17222 maybe-TAGS-readline: TAGS-readline
17226 @[ -f ./readline/Makefile ] || exit 0; \
17227 r=`${PWD_COMMAND}`; export r; \
17228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17231 for flag in $(EXTRA_HOST_FLAGS) ; do \
17232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17234 echo "Doing TAGS in readline" ; \
17236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17238 "RANLIB=$${RANLIB}" \
17239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17245 .PHONY: maybe-install-info-readline install-info-readline
17246 maybe-install-info-readline:
17248 maybe-install-info-readline: install-info-readline
17250 install-info-readline: \
17251 configure-readline \
17253 @[ -f ./readline/Makefile ] || exit 0; \
17254 r=`${PWD_COMMAND}`; export r; \
17255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17258 for flag in $(EXTRA_HOST_FLAGS) ; do \
17259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17261 echo "Doing install-info in readline" ; \
17263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17265 "RANLIB=$${RANLIB}" \
17266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17272 .PHONY: maybe-installcheck-readline installcheck-readline
17273 maybe-installcheck-readline:
17275 maybe-installcheck-readline: installcheck-readline
17277 installcheck-readline: \
17279 @[ -f ./readline/Makefile ] || exit 0; \
17280 r=`${PWD_COMMAND}`; export r; \
17281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17284 for flag in $(EXTRA_HOST_FLAGS) ; do \
17285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17287 echo "Doing installcheck in readline" ; \
17289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17291 "RANLIB=$${RANLIB}" \
17292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17298 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
17299 maybe-mostlyclean-readline:
17301 maybe-mostlyclean-readline: mostlyclean-readline
17303 mostlyclean-readline:
17304 @[ -f ./readline/Makefile ] || exit 0; \
17305 r=`${PWD_COMMAND}`; export r; \
17306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17309 for flag in $(EXTRA_HOST_FLAGS) ; do \
17310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17312 echo "Doing mostlyclean in readline" ; \
17314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17316 "RANLIB=$${RANLIB}" \
17317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17323 .PHONY: maybe-clean-readline clean-readline
17324 maybe-clean-readline:
17326 maybe-clean-readline: clean-readline
17329 @[ -f ./readline/Makefile ] || exit 0; \
17330 r=`${PWD_COMMAND}`; export r; \
17331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17334 for flag in $(EXTRA_HOST_FLAGS) ; do \
17335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17337 echo "Doing clean in readline" ; \
17339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17341 "RANLIB=$${RANLIB}" \
17342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17348 .PHONY: maybe-distclean-readline distclean-readline
17349 maybe-distclean-readline:
17351 maybe-distclean-readline: distclean-readline
17353 distclean-readline:
17354 @[ -f ./readline/Makefile ] || exit 0; \
17355 r=`${PWD_COMMAND}`; export r; \
17356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17359 for flag in $(EXTRA_HOST_FLAGS) ; do \
17360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17362 echo "Doing distclean in readline" ; \
17364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17366 "RANLIB=$${RANLIB}" \
17367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17373 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
17374 maybe-maintainer-clean-readline:
17376 maybe-maintainer-clean-readline: maintainer-clean-readline
17378 maintainer-clean-readline:
17379 @[ -f ./readline/Makefile ] || exit 0; \
17380 r=`${PWD_COMMAND}`; export r; \
17381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17384 for flag in $(EXTRA_HOST_FLAGS) ; do \
17385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17387 echo "Doing maintainer-clean in readline" ; \
17389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17391 "RANLIB=$${RANLIB}" \
17392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17393 maintainer-clean) \
17399 .PHONY: configure-release maybe-configure-release
17400 maybe-configure-release:
17402 maybe-configure-release: configure-release
17404 @test ! -f release/Makefile || exit 0; \
17405 [ -d release ] || mkdir release; \
17406 r=`${PWD_COMMAND}`; export r; \
17407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17409 echo Configuring in release; \
17410 cd release || exit 1; \
17411 case $(srcdir) in \
17413 srcdiroption="--srcdir=."; \
17415 /* | [A-Za-z]:[\\/]*) \
17416 srcdiroption="--srcdir=$(srcdir)/release"; \
17417 libsrcdir="$$s/release";; \
17419 srcdiroption="--srcdir=../$(srcdir)/release"; \
17420 libsrcdir="$$s/release";; \
17422 $(SHELL) $${libsrcdir}/configure \
17423 $(HOST_CONFIGARGS) $${srcdiroption} \
17427 .PHONY: all-release maybe-all-release
17431 maybe-all-release: all-release
17432 all-release: configure-release
17433 @r=`${PWD_COMMAND}`; export r; \
17434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17437 (cd release && $(MAKE) $(FLAGS_TO_PASS) \
17441 .PHONY: check-release maybe-check-release
17442 maybe-check-release:
17444 maybe-check-release: check-release
17450 .PHONY: install-release maybe-install-release
17451 maybe-install-release:
17453 maybe-install-release: install-release
17459 # Other targets (info, dvi, etc.)
17461 .PHONY: maybe-info-release info-release
17462 maybe-info-release:
17464 maybe-info-release: info-release
17468 @[ -f ./release/Makefile ] || exit 0; \
17469 r=`${PWD_COMMAND}`; export r; \
17470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17473 for flag in $(EXTRA_HOST_FLAGS) ; do \
17474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17476 echo "Doing info in release" ; \
17478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17480 "RANLIB=$${RANLIB}" \
17481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17487 .PHONY: maybe-dvi-release dvi-release
17490 maybe-dvi-release: dvi-release
17494 @[ -f ./release/Makefile ] || exit 0; \
17495 r=`${PWD_COMMAND}`; export r; \
17496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17499 for flag in $(EXTRA_HOST_FLAGS) ; do \
17500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17502 echo "Doing dvi in release" ; \
17504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17506 "RANLIB=$${RANLIB}" \
17507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17513 .PHONY: maybe-html-release html-release
17514 maybe-html-release:
17516 maybe-html-release: html-release
17520 @[ -f ./release/Makefile ] || exit 0; \
17521 r=`${PWD_COMMAND}`; export r; \
17522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17525 for flag in $(EXTRA_HOST_FLAGS) ; do \
17526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17528 echo "Doing html in release" ; \
17530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17532 "RANLIB=$${RANLIB}" \
17533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17539 .PHONY: maybe-TAGS-release TAGS-release
17540 maybe-TAGS-release:
17542 maybe-TAGS-release: TAGS-release
17546 @[ -f ./release/Makefile ] || exit 0; \
17547 r=`${PWD_COMMAND}`; export r; \
17548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17551 for flag in $(EXTRA_HOST_FLAGS) ; do \
17552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17554 echo "Doing TAGS in release" ; \
17556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17558 "RANLIB=$${RANLIB}" \
17559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17565 .PHONY: maybe-install-info-release install-info-release
17566 maybe-install-info-release:
17568 maybe-install-info-release: install-info-release
17570 install-info-release: \
17571 configure-release \
17573 @[ -f ./release/Makefile ] || exit 0; \
17574 r=`${PWD_COMMAND}`; export r; \
17575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17578 for flag in $(EXTRA_HOST_FLAGS) ; do \
17579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17581 echo "Doing install-info in release" ; \
17583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17585 "RANLIB=$${RANLIB}" \
17586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17592 .PHONY: maybe-installcheck-release installcheck-release
17593 maybe-installcheck-release:
17595 maybe-installcheck-release: installcheck-release
17597 installcheck-release: \
17599 @[ -f ./release/Makefile ] || exit 0; \
17600 r=`${PWD_COMMAND}`; export r; \
17601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17604 for flag in $(EXTRA_HOST_FLAGS) ; do \
17605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17607 echo "Doing installcheck in release" ; \
17609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17611 "RANLIB=$${RANLIB}" \
17612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17618 .PHONY: maybe-mostlyclean-release mostlyclean-release
17619 maybe-mostlyclean-release:
17621 maybe-mostlyclean-release: mostlyclean-release
17623 mostlyclean-release:
17624 @[ -f ./release/Makefile ] || exit 0; \
17625 r=`${PWD_COMMAND}`; export r; \
17626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17629 for flag in $(EXTRA_HOST_FLAGS) ; do \
17630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17632 echo "Doing mostlyclean in release" ; \
17634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17636 "RANLIB=$${RANLIB}" \
17637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17643 .PHONY: maybe-clean-release clean-release
17644 maybe-clean-release:
17646 maybe-clean-release: clean-release
17649 @[ -f ./release/Makefile ] || exit 0; \
17650 r=`${PWD_COMMAND}`; export r; \
17651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17654 for flag in $(EXTRA_HOST_FLAGS) ; do \
17655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17657 echo "Doing clean in release" ; \
17659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17661 "RANLIB=$${RANLIB}" \
17662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17668 .PHONY: maybe-distclean-release distclean-release
17669 maybe-distclean-release:
17671 maybe-distclean-release: distclean-release
17674 @[ -f ./release/Makefile ] || exit 0; \
17675 r=`${PWD_COMMAND}`; export r; \
17676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17679 for flag in $(EXTRA_HOST_FLAGS) ; do \
17680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17682 echo "Doing distclean in release" ; \
17684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17686 "RANLIB=$${RANLIB}" \
17687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17693 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
17694 maybe-maintainer-clean-release:
17696 maybe-maintainer-clean-release: maintainer-clean-release
17698 maintainer-clean-release:
17699 @[ -f ./release/Makefile ] || exit 0; \
17700 r=`${PWD_COMMAND}`; export r; \
17701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17704 for flag in $(EXTRA_HOST_FLAGS) ; do \
17705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17707 echo "Doing maintainer-clean in release" ; \
17709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17711 "RANLIB=$${RANLIB}" \
17712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17713 maintainer-clean) \
17719 .PHONY: configure-recode maybe-configure-recode
17720 maybe-configure-recode:
17722 maybe-configure-recode: configure-recode
17724 @test ! -f recode/Makefile || exit 0; \
17725 [ -d recode ] || mkdir recode; \
17726 r=`${PWD_COMMAND}`; export r; \
17727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17729 echo Configuring in recode; \
17730 cd recode || exit 1; \
17731 case $(srcdir) in \
17733 srcdiroption="--srcdir=."; \
17735 /* | [A-Za-z]:[\\/]*) \
17736 srcdiroption="--srcdir=$(srcdir)/recode"; \
17737 libsrcdir="$$s/recode";; \
17739 srcdiroption="--srcdir=../$(srcdir)/recode"; \
17740 libsrcdir="$$s/recode";; \
17742 $(SHELL) $${libsrcdir}/configure \
17743 $(HOST_CONFIGARGS) $${srcdiroption} \
17747 .PHONY: all-recode maybe-all-recode
17751 maybe-all-recode: all-recode
17752 all-recode: configure-recode
17753 @r=`${PWD_COMMAND}`; export r; \
17754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17757 (cd recode && $(MAKE) $(FLAGS_TO_PASS) \
17761 .PHONY: check-recode maybe-check-recode
17762 maybe-check-recode:
17764 maybe-check-recode: check-recode
17767 @r=`${PWD_COMMAND}`; export r; \
17768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17771 (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
17775 .PHONY: install-recode maybe-install-recode
17776 maybe-install-recode:
17778 maybe-install-recode: install-recode
17780 install-recode: installdirs
17781 @r=`${PWD_COMMAND}`; export r; \
17782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17785 (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
17789 # Other targets (info, dvi, etc.)
17791 .PHONY: maybe-info-recode info-recode
17794 maybe-info-recode: info-recode
17798 @[ -f ./recode/Makefile ] || exit 0; \
17799 r=`${PWD_COMMAND}`; export r; \
17800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17803 for flag in $(EXTRA_HOST_FLAGS) ; do \
17804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17806 echo "Doing info in recode" ; \
17808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17810 "RANLIB=$${RANLIB}" \
17811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17817 .PHONY: maybe-dvi-recode dvi-recode
17820 maybe-dvi-recode: dvi-recode
17824 @[ -f ./recode/Makefile ] || exit 0; \
17825 r=`${PWD_COMMAND}`; export r; \
17826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17829 for flag in $(EXTRA_HOST_FLAGS) ; do \
17830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17832 echo "Doing dvi in recode" ; \
17834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17836 "RANLIB=$${RANLIB}" \
17837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17843 .PHONY: maybe-html-recode html-recode
17846 maybe-html-recode: html-recode
17850 @[ -f ./recode/Makefile ] || exit 0; \
17851 r=`${PWD_COMMAND}`; export r; \
17852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17855 for flag in $(EXTRA_HOST_FLAGS) ; do \
17856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17858 echo "Doing html in recode" ; \
17860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17862 "RANLIB=$${RANLIB}" \
17863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17869 .PHONY: maybe-TAGS-recode TAGS-recode
17872 maybe-TAGS-recode: TAGS-recode
17876 @[ -f ./recode/Makefile ] || exit 0; \
17877 r=`${PWD_COMMAND}`; export r; \
17878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17881 for flag in $(EXTRA_HOST_FLAGS) ; do \
17882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17884 echo "Doing TAGS in recode" ; \
17886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17888 "RANLIB=$${RANLIB}" \
17889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17895 .PHONY: maybe-install-info-recode install-info-recode
17896 maybe-install-info-recode:
17898 maybe-install-info-recode: install-info-recode
17900 install-info-recode: \
17903 @[ -f ./recode/Makefile ] || exit 0; \
17904 r=`${PWD_COMMAND}`; export r; \
17905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17908 for flag in $(EXTRA_HOST_FLAGS) ; do \
17909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17911 echo "Doing install-info in recode" ; \
17913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17915 "RANLIB=$${RANLIB}" \
17916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17922 .PHONY: maybe-installcheck-recode installcheck-recode
17923 maybe-installcheck-recode:
17925 maybe-installcheck-recode: installcheck-recode
17927 installcheck-recode: \
17929 @[ -f ./recode/Makefile ] || exit 0; \
17930 r=`${PWD_COMMAND}`; export r; \
17931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17934 for flag in $(EXTRA_HOST_FLAGS) ; do \
17935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17937 echo "Doing installcheck in recode" ; \
17939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17941 "RANLIB=$${RANLIB}" \
17942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17948 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
17949 maybe-mostlyclean-recode:
17951 maybe-mostlyclean-recode: mostlyclean-recode
17953 mostlyclean-recode:
17954 @[ -f ./recode/Makefile ] || exit 0; \
17955 r=`${PWD_COMMAND}`; export r; \
17956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17959 for flag in $(EXTRA_HOST_FLAGS) ; do \
17960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17962 echo "Doing mostlyclean in recode" ; \
17964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17966 "RANLIB=$${RANLIB}" \
17967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17973 .PHONY: maybe-clean-recode clean-recode
17974 maybe-clean-recode:
17976 maybe-clean-recode: clean-recode
17979 @[ -f ./recode/Makefile ] || exit 0; \
17980 r=`${PWD_COMMAND}`; export r; \
17981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17984 for flag in $(EXTRA_HOST_FLAGS) ; do \
17985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17987 echo "Doing clean in recode" ; \
17989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17991 "RANLIB=$${RANLIB}" \
17992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17998 .PHONY: maybe-distclean-recode distclean-recode
17999 maybe-distclean-recode:
18001 maybe-distclean-recode: distclean-recode
18004 @[ -f ./recode/Makefile ] || exit 0; \
18005 r=`${PWD_COMMAND}`; export r; \
18006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18009 for flag in $(EXTRA_HOST_FLAGS) ; do \
18010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18012 echo "Doing distclean in recode" ; \
18014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18016 "RANLIB=$${RANLIB}" \
18017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18023 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
18024 maybe-maintainer-clean-recode:
18026 maybe-maintainer-clean-recode: maintainer-clean-recode
18028 maintainer-clean-recode:
18029 @[ -f ./recode/Makefile ] || exit 0; \
18030 r=`${PWD_COMMAND}`; export r; \
18031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18034 for flag in $(EXTRA_HOST_FLAGS) ; do \
18035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18037 echo "Doing maintainer-clean in recode" ; \
18039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18041 "RANLIB=$${RANLIB}" \
18042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18043 maintainer-clean) \
18049 .PHONY: configure-sed maybe-configure-sed
18050 maybe-configure-sed:
18052 maybe-configure-sed: configure-sed
18054 @test ! -f sed/Makefile || exit 0; \
18055 [ -d sed ] || mkdir sed; \
18056 r=`${PWD_COMMAND}`; export r; \
18057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18059 echo Configuring in sed; \
18060 cd sed || exit 1; \
18061 case $(srcdir) in \
18063 srcdiroption="--srcdir=."; \
18065 /* | [A-Za-z]:[\\/]*) \
18066 srcdiroption="--srcdir=$(srcdir)/sed"; \
18067 libsrcdir="$$s/sed";; \
18069 srcdiroption="--srcdir=../$(srcdir)/sed"; \
18070 libsrcdir="$$s/sed";; \
18072 $(SHELL) $${libsrcdir}/configure \
18073 $(HOST_CONFIGARGS) $${srcdiroption} \
18077 .PHONY: all-sed maybe-all-sed
18081 maybe-all-sed: all-sed
18082 all-sed: configure-sed
18083 @r=`${PWD_COMMAND}`; export r; \
18084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18087 (cd sed && $(MAKE) $(FLAGS_TO_PASS) \
18091 .PHONY: check-sed maybe-check-sed
18094 maybe-check-sed: check-sed
18097 @r=`${PWD_COMMAND}`; export r; \
18098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18101 (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
18105 .PHONY: install-sed maybe-install-sed
18108 maybe-install-sed: install-sed
18110 install-sed: installdirs
18111 @r=`${PWD_COMMAND}`; export r; \
18112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18115 (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
18119 # Other targets (info, dvi, etc.)
18121 .PHONY: maybe-info-sed info-sed
18124 maybe-info-sed: info-sed
18128 @[ -f ./sed/Makefile ] || exit 0; \
18129 r=`${PWD_COMMAND}`; export r; \
18130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18133 for flag in $(EXTRA_HOST_FLAGS) ; do \
18134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18136 echo "Doing info in sed" ; \
18138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18140 "RANLIB=$${RANLIB}" \
18141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18147 .PHONY: maybe-dvi-sed dvi-sed
18150 maybe-dvi-sed: dvi-sed
18154 @[ -f ./sed/Makefile ] || exit 0; \
18155 r=`${PWD_COMMAND}`; export r; \
18156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18159 for flag in $(EXTRA_HOST_FLAGS) ; do \
18160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18162 echo "Doing dvi in sed" ; \
18164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18166 "RANLIB=$${RANLIB}" \
18167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18173 .PHONY: maybe-html-sed html-sed
18176 maybe-html-sed: html-sed
18180 @[ -f ./sed/Makefile ] || exit 0; \
18181 r=`${PWD_COMMAND}`; export r; \
18182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18185 for flag in $(EXTRA_HOST_FLAGS) ; do \
18186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18188 echo "Doing html in sed" ; \
18190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18192 "RANLIB=$${RANLIB}" \
18193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18199 .PHONY: maybe-TAGS-sed TAGS-sed
18202 maybe-TAGS-sed: TAGS-sed
18206 @[ -f ./sed/Makefile ] || exit 0; \
18207 r=`${PWD_COMMAND}`; export r; \
18208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18211 for flag in $(EXTRA_HOST_FLAGS) ; do \
18212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18214 echo "Doing TAGS in sed" ; \
18216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18218 "RANLIB=$${RANLIB}" \
18219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18225 .PHONY: maybe-install-info-sed install-info-sed
18226 maybe-install-info-sed:
18228 maybe-install-info-sed: install-info-sed
18230 install-info-sed: \
18233 @[ -f ./sed/Makefile ] || exit 0; \
18234 r=`${PWD_COMMAND}`; export r; \
18235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18238 for flag in $(EXTRA_HOST_FLAGS) ; do \
18239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18241 echo "Doing install-info in sed" ; \
18243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18245 "RANLIB=$${RANLIB}" \
18246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18252 .PHONY: maybe-installcheck-sed installcheck-sed
18253 maybe-installcheck-sed:
18255 maybe-installcheck-sed: installcheck-sed
18257 installcheck-sed: \
18259 @[ -f ./sed/Makefile ] || exit 0; \
18260 r=`${PWD_COMMAND}`; export r; \
18261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18264 for flag in $(EXTRA_HOST_FLAGS) ; do \
18265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18267 echo "Doing installcheck in sed" ; \
18269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18271 "RANLIB=$${RANLIB}" \
18272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18278 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
18279 maybe-mostlyclean-sed:
18281 maybe-mostlyclean-sed: mostlyclean-sed
18284 @[ -f ./sed/Makefile ] || exit 0; \
18285 r=`${PWD_COMMAND}`; export r; \
18286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18289 for flag in $(EXTRA_HOST_FLAGS) ; do \
18290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18292 echo "Doing mostlyclean in sed" ; \
18294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18296 "RANLIB=$${RANLIB}" \
18297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18303 .PHONY: maybe-clean-sed clean-sed
18306 maybe-clean-sed: clean-sed
18309 @[ -f ./sed/Makefile ] || exit 0; \
18310 r=`${PWD_COMMAND}`; export r; \
18311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18314 for flag in $(EXTRA_HOST_FLAGS) ; do \
18315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18317 echo "Doing clean in sed" ; \
18319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18321 "RANLIB=$${RANLIB}" \
18322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18328 .PHONY: maybe-distclean-sed distclean-sed
18329 maybe-distclean-sed:
18331 maybe-distclean-sed: distclean-sed
18334 @[ -f ./sed/Makefile ] || exit 0; \
18335 r=`${PWD_COMMAND}`; export r; \
18336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18339 for flag in $(EXTRA_HOST_FLAGS) ; do \
18340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18342 echo "Doing distclean in sed" ; \
18344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18346 "RANLIB=$${RANLIB}" \
18347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18353 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
18354 maybe-maintainer-clean-sed:
18356 maybe-maintainer-clean-sed: maintainer-clean-sed
18358 maintainer-clean-sed:
18359 @[ -f ./sed/Makefile ] || exit 0; \
18360 r=`${PWD_COMMAND}`; export r; \
18361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18364 for flag in $(EXTRA_HOST_FLAGS) ; do \
18365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18367 echo "Doing maintainer-clean in sed" ; \
18369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18371 "RANLIB=$${RANLIB}" \
18372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18373 maintainer-clean) \
18379 .PHONY: configure-send-pr maybe-configure-send-pr
18380 maybe-configure-send-pr:
18382 maybe-configure-send-pr: configure-send-pr
18384 @test ! -f send-pr/Makefile || exit 0; \
18385 [ -d send-pr ] || mkdir send-pr; \
18386 r=`${PWD_COMMAND}`; export r; \
18387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18389 echo Configuring in send-pr; \
18390 cd send-pr || exit 1; \
18391 case $(srcdir) in \
18393 srcdiroption="--srcdir=."; \
18395 /* | [A-Za-z]:[\\/]*) \
18396 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
18397 libsrcdir="$$s/send-pr";; \
18399 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
18400 libsrcdir="$$s/send-pr";; \
18402 $(SHELL) $${libsrcdir}/configure \
18403 $(HOST_CONFIGARGS) $${srcdiroption} \
18407 .PHONY: all-send-pr maybe-all-send-pr
18411 maybe-all-send-pr: all-send-pr
18412 all-send-pr: configure-send-pr
18413 @r=`${PWD_COMMAND}`; export r; \
18414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18417 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) \
18421 .PHONY: check-send-pr maybe-check-send-pr
18422 maybe-check-send-pr:
18424 maybe-check-send-pr: check-send-pr
18427 @r=`${PWD_COMMAND}`; export r; \
18428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18431 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
18435 .PHONY: install-send-pr maybe-install-send-pr
18436 maybe-install-send-pr:
18438 maybe-install-send-pr: install-send-pr
18440 install-send-pr: installdirs
18441 @r=`${PWD_COMMAND}`; export r; \
18442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18445 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
18449 # Other targets (info, dvi, etc.)
18451 .PHONY: maybe-info-send-pr info-send-pr
18452 maybe-info-send-pr:
18454 maybe-info-send-pr: info-send-pr
18458 @[ -f ./send-pr/Makefile ] || exit 0; \
18459 r=`${PWD_COMMAND}`; export r; \
18460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18463 for flag in $(EXTRA_HOST_FLAGS) ; do \
18464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18466 echo "Doing info in send-pr" ; \
18468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18470 "RANLIB=$${RANLIB}" \
18471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18477 .PHONY: maybe-dvi-send-pr dvi-send-pr
18480 maybe-dvi-send-pr: dvi-send-pr
18484 @[ -f ./send-pr/Makefile ] || exit 0; \
18485 r=`${PWD_COMMAND}`; export r; \
18486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18489 for flag in $(EXTRA_HOST_FLAGS) ; do \
18490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18492 echo "Doing dvi in send-pr" ; \
18494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18496 "RANLIB=$${RANLIB}" \
18497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18503 .PHONY: maybe-html-send-pr html-send-pr
18504 maybe-html-send-pr:
18506 maybe-html-send-pr: html-send-pr
18510 @[ -f ./send-pr/Makefile ] || exit 0; \
18511 r=`${PWD_COMMAND}`; export r; \
18512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18515 for flag in $(EXTRA_HOST_FLAGS) ; do \
18516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18518 echo "Doing html in send-pr" ; \
18520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18522 "RANLIB=$${RANLIB}" \
18523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18529 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
18530 maybe-TAGS-send-pr:
18532 maybe-TAGS-send-pr: TAGS-send-pr
18536 @[ -f ./send-pr/Makefile ] || exit 0; \
18537 r=`${PWD_COMMAND}`; export r; \
18538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18541 for flag in $(EXTRA_HOST_FLAGS) ; do \
18542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18544 echo "Doing TAGS in send-pr" ; \
18546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18548 "RANLIB=$${RANLIB}" \
18549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18555 .PHONY: maybe-install-info-send-pr install-info-send-pr
18556 maybe-install-info-send-pr:
18558 maybe-install-info-send-pr: install-info-send-pr
18560 install-info-send-pr: \
18561 configure-send-pr \
18563 @[ -f ./send-pr/Makefile ] || exit 0; \
18564 r=`${PWD_COMMAND}`; export r; \
18565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18568 for flag in $(EXTRA_HOST_FLAGS) ; do \
18569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18571 echo "Doing install-info in send-pr" ; \
18573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18575 "RANLIB=$${RANLIB}" \
18576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18582 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
18583 maybe-installcheck-send-pr:
18585 maybe-installcheck-send-pr: installcheck-send-pr
18587 installcheck-send-pr: \
18589 @[ -f ./send-pr/Makefile ] || exit 0; \
18590 r=`${PWD_COMMAND}`; export r; \
18591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18594 for flag in $(EXTRA_HOST_FLAGS) ; do \
18595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18597 echo "Doing installcheck in send-pr" ; \
18599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18601 "RANLIB=$${RANLIB}" \
18602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18608 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
18609 maybe-mostlyclean-send-pr:
18611 maybe-mostlyclean-send-pr: mostlyclean-send-pr
18613 mostlyclean-send-pr:
18614 @[ -f ./send-pr/Makefile ] || exit 0; \
18615 r=`${PWD_COMMAND}`; export r; \
18616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18619 for flag in $(EXTRA_HOST_FLAGS) ; do \
18620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18622 echo "Doing mostlyclean in send-pr" ; \
18624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18626 "RANLIB=$${RANLIB}" \
18627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18633 .PHONY: maybe-clean-send-pr clean-send-pr
18634 maybe-clean-send-pr:
18636 maybe-clean-send-pr: clean-send-pr
18639 @[ -f ./send-pr/Makefile ] || exit 0; \
18640 r=`${PWD_COMMAND}`; export r; \
18641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18644 for flag in $(EXTRA_HOST_FLAGS) ; do \
18645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18647 echo "Doing clean in send-pr" ; \
18649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18651 "RANLIB=$${RANLIB}" \
18652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18658 .PHONY: maybe-distclean-send-pr distclean-send-pr
18659 maybe-distclean-send-pr:
18661 maybe-distclean-send-pr: distclean-send-pr
18664 @[ -f ./send-pr/Makefile ] || exit 0; \
18665 r=`${PWD_COMMAND}`; export r; \
18666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18669 for flag in $(EXTRA_HOST_FLAGS) ; do \
18670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18672 echo "Doing distclean in send-pr" ; \
18674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18676 "RANLIB=$${RANLIB}" \
18677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18683 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
18684 maybe-maintainer-clean-send-pr:
18686 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
18688 maintainer-clean-send-pr:
18689 @[ -f ./send-pr/Makefile ] || exit 0; \
18690 r=`${PWD_COMMAND}`; export r; \
18691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18694 for flag in $(EXTRA_HOST_FLAGS) ; do \
18695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18697 echo "Doing maintainer-clean in send-pr" ; \
18699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18701 "RANLIB=$${RANLIB}" \
18702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18703 maintainer-clean) \
18709 .PHONY: configure-shellutils maybe-configure-shellutils
18710 maybe-configure-shellutils:
18712 maybe-configure-shellutils: configure-shellutils
18713 configure-shellutils:
18714 @test ! -f shellutils/Makefile || exit 0; \
18715 [ -d shellutils ] || mkdir shellutils; \
18716 r=`${PWD_COMMAND}`; export r; \
18717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18719 echo Configuring in shellutils; \
18720 cd shellutils || exit 1; \
18721 case $(srcdir) in \
18723 srcdiroption="--srcdir=."; \
18725 /* | [A-Za-z]:[\\/]*) \
18726 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
18727 libsrcdir="$$s/shellutils";; \
18729 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
18730 libsrcdir="$$s/shellutils";; \
18732 $(SHELL) $${libsrcdir}/configure \
18733 $(HOST_CONFIGARGS) $${srcdiroption} \
18737 .PHONY: all-shellutils maybe-all-shellutils
18738 maybe-all-shellutils:
18740 TARGET-shellutils=all
18741 maybe-all-shellutils: all-shellutils
18742 all-shellutils: configure-shellutils
18743 @r=`${PWD_COMMAND}`; export r; \
18744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18747 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) \
18748 $(TARGET-shellutils))
18751 .PHONY: check-shellutils maybe-check-shellutils
18752 maybe-check-shellutils:
18754 maybe-check-shellutils: check-shellutils
18757 @r=`${PWD_COMMAND}`; export r; \
18758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18761 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
18765 .PHONY: install-shellutils maybe-install-shellutils
18766 maybe-install-shellutils:
18768 maybe-install-shellutils: install-shellutils
18770 install-shellutils: installdirs
18771 @r=`${PWD_COMMAND}`; export r; \
18772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18775 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
18779 # Other targets (info, dvi, etc.)
18781 .PHONY: maybe-info-shellutils info-shellutils
18782 maybe-info-shellutils:
18784 maybe-info-shellutils: info-shellutils
18787 configure-shellutils
18788 @[ -f ./shellutils/Makefile ] || exit 0; \
18789 r=`${PWD_COMMAND}`; export r; \
18790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18793 for flag in $(EXTRA_HOST_FLAGS) ; do \
18794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18796 echo "Doing info in shellutils" ; \
18797 (cd shellutils && \
18798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18800 "RANLIB=$${RANLIB}" \
18801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18807 .PHONY: maybe-dvi-shellutils dvi-shellutils
18808 maybe-dvi-shellutils:
18810 maybe-dvi-shellutils: dvi-shellutils
18813 configure-shellutils
18814 @[ -f ./shellutils/Makefile ] || exit 0; \
18815 r=`${PWD_COMMAND}`; export r; \
18816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18819 for flag in $(EXTRA_HOST_FLAGS) ; do \
18820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18822 echo "Doing dvi in shellutils" ; \
18823 (cd shellutils && \
18824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18826 "RANLIB=$${RANLIB}" \
18827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18833 .PHONY: maybe-html-shellutils html-shellutils
18834 maybe-html-shellutils:
18836 maybe-html-shellutils: html-shellutils
18839 configure-shellutils
18840 @[ -f ./shellutils/Makefile ] || exit 0; \
18841 r=`${PWD_COMMAND}`; export r; \
18842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18845 for flag in $(EXTRA_HOST_FLAGS) ; do \
18846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18848 echo "Doing html in shellutils" ; \
18849 (cd shellutils && \
18850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18852 "RANLIB=$${RANLIB}" \
18853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18859 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
18860 maybe-TAGS-shellutils:
18862 maybe-TAGS-shellutils: TAGS-shellutils
18865 configure-shellutils
18866 @[ -f ./shellutils/Makefile ] || exit 0; \
18867 r=`${PWD_COMMAND}`; export r; \
18868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18871 for flag in $(EXTRA_HOST_FLAGS) ; do \
18872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18874 echo "Doing TAGS in shellutils" ; \
18875 (cd shellutils && \
18876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18878 "RANLIB=$${RANLIB}" \
18879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18885 .PHONY: maybe-install-info-shellutils install-info-shellutils
18886 maybe-install-info-shellutils:
18888 maybe-install-info-shellutils: install-info-shellutils
18890 install-info-shellutils: \
18891 configure-shellutils \
18893 @[ -f ./shellutils/Makefile ] || exit 0; \
18894 r=`${PWD_COMMAND}`; export r; \
18895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18898 for flag in $(EXTRA_HOST_FLAGS) ; do \
18899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18901 echo "Doing install-info in shellutils" ; \
18902 (cd shellutils && \
18903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18905 "RANLIB=$${RANLIB}" \
18906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18912 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
18913 maybe-installcheck-shellutils:
18915 maybe-installcheck-shellutils: installcheck-shellutils
18917 installcheck-shellutils: \
18918 configure-shellutils
18919 @[ -f ./shellutils/Makefile ] || exit 0; \
18920 r=`${PWD_COMMAND}`; export r; \
18921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18924 for flag in $(EXTRA_HOST_FLAGS) ; do \
18925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18927 echo "Doing installcheck in shellutils" ; \
18928 (cd shellutils && \
18929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18931 "RANLIB=$${RANLIB}" \
18932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18938 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
18939 maybe-mostlyclean-shellutils:
18941 maybe-mostlyclean-shellutils: mostlyclean-shellutils
18943 mostlyclean-shellutils:
18944 @[ -f ./shellutils/Makefile ] || exit 0; \
18945 r=`${PWD_COMMAND}`; export r; \
18946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18949 for flag in $(EXTRA_HOST_FLAGS) ; do \
18950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18952 echo "Doing mostlyclean in shellutils" ; \
18953 (cd shellutils && \
18954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18956 "RANLIB=$${RANLIB}" \
18957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18963 .PHONY: maybe-clean-shellutils clean-shellutils
18964 maybe-clean-shellutils:
18966 maybe-clean-shellutils: clean-shellutils
18969 @[ -f ./shellutils/Makefile ] || exit 0; \
18970 r=`${PWD_COMMAND}`; export r; \
18971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18974 for flag in $(EXTRA_HOST_FLAGS) ; do \
18975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18977 echo "Doing clean in shellutils" ; \
18978 (cd shellutils && \
18979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18981 "RANLIB=$${RANLIB}" \
18982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18988 .PHONY: maybe-distclean-shellutils distclean-shellutils
18989 maybe-distclean-shellutils:
18991 maybe-distclean-shellutils: distclean-shellutils
18993 distclean-shellutils:
18994 @[ -f ./shellutils/Makefile ] || exit 0; \
18995 r=`${PWD_COMMAND}`; export r; \
18996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18999 for flag in $(EXTRA_HOST_FLAGS) ; do \
19000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19002 echo "Doing distclean in shellutils" ; \
19003 (cd shellutils && \
19004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19006 "RANLIB=$${RANLIB}" \
19007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19013 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
19014 maybe-maintainer-clean-shellutils:
19016 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
19018 maintainer-clean-shellutils:
19019 @[ -f ./shellutils/Makefile ] || exit 0; \
19020 r=`${PWD_COMMAND}`; export r; \
19021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19024 for flag in $(EXTRA_HOST_FLAGS) ; do \
19025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19027 echo "Doing maintainer-clean in shellutils" ; \
19028 (cd shellutils && \
19029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19031 "RANLIB=$${RANLIB}" \
19032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19033 maintainer-clean) \
19039 .PHONY: configure-sid maybe-configure-sid
19040 maybe-configure-sid:
19042 maybe-configure-sid: configure-sid
19044 @test ! -f sid/Makefile || exit 0; \
19045 [ -d sid ] || mkdir sid; \
19046 r=`${PWD_COMMAND}`; export r; \
19047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19049 echo Configuring in sid; \
19050 cd sid || exit 1; \
19051 case $(srcdir) in \
19053 srcdiroption="--srcdir=."; \
19055 /* | [A-Za-z]:[\\/]*) \
19056 srcdiroption="--srcdir=$(srcdir)/sid"; \
19057 libsrcdir="$$s/sid";; \
19059 srcdiroption="--srcdir=../$(srcdir)/sid"; \
19060 libsrcdir="$$s/sid";; \
19062 $(SHELL) $${libsrcdir}/configure \
19063 $(HOST_CONFIGARGS) $${srcdiroption} \
19067 .PHONY: all-sid maybe-all-sid
19071 maybe-all-sid: all-sid
19072 all-sid: configure-sid
19073 @r=`${PWD_COMMAND}`; export r; \
19074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19077 (cd sid && $(MAKE) $(FLAGS_TO_PASS) \
19081 .PHONY: check-sid maybe-check-sid
19084 maybe-check-sid: check-sid
19087 @r=`${PWD_COMMAND}`; export r; \
19088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19091 (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
19095 .PHONY: install-sid maybe-install-sid
19098 maybe-install-sid: install-sid
19100 install-sid: installdirs
19101 @r=`${PWD_COMMAND}`; export r; \
19102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19105 (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
19109 # Other targets (info, dvi, etc.)
19111 .PHONY: maybe-info-sid info-sid
19114 maybe-info-sid: info-sid
19118 @[ -f ./sid/Makefile ] || exit 0; \
19119 r=`${PWD_COMMAND}`; export r; \
19120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19123 for flag in $(EXTRA_HOST_FLAGS) ; do \
19124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19126 echo "Doing info in sid" ; \
19128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19130 "RANLIB=$${RANLIB}" \
19131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19137 .PHONY: maybe-dvi-sid dvi-sid
19140 maybe-dvi-sid: dvi-sid
19144 @[ -f ./sid/Makefile ] || exit 0; \
19145 r=`${PWD_COMMAND}`; export r; \
19146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19149 for flag in $(EXTRA_HOST_FLAGS) ; do \
19150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19152 echo "Doing dvi in sid" ; \
19154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19156 "RANLIB=$${RANLIB}" \
19157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19163 .PHONY: maybe-html-sid html-sid
19166 maybe-html-sid: html-sid
19170 @[ -f ./sid/Makefile ] || exit 0; \
19171 r=`${PWD_COMMAND}`; export r; \
19172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19175 for flag in $(EXTRA_HOST_FLAGS) ; do \
19176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19178 echo "Doing html in sid" ; \
19180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19182 "RANLIB=$${RANLIB}" \
19183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19189 .PHONY: maybe-TAGS-sid TAGS-sid
19192 maybe-TAGS-sid: TAGS-sid
19196 @[ -f ./sid/Makefile ] || exit 0; \
19197 r=`${PWD_COMMAND}`; export r; \
19198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19201 for flag in $(EXTRA_HOST_FLAGS) ; do \
19202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19204 echo "Doing TAGS in sid" ; \
19206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19208 "RANLIB=$${RANLIB}" \
19209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19215 .PHONY: maybe-install-info-sid install-info-sid
19216 maybe-install-info-sid:
19218 maybe-install-info-sid: install-info-sid
19220 install-info-sid: \
19223 @[ -f ./sid/Makefile ] || exit 0; \
19224 r=`${PWD_COMMAND}`; export r; \
19225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19228 for flag in $(EXTRA_HOST_FLAGS) ; do \
19229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19231 echo "Doing install-info in sid" ; \
19233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19235 "RANLIB=$${RANLIB}" \
19236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19242 .PHONY: maybe-installcheck-sid installcheck-sid
19243 maybe-installcheck-sid:
19245 maybe-installcheck-sid: installcheck-sid
19247 installcheck-sid: \
19249 @[ -f ./sid/Makefile ] || exit 0; \
19250 r=`${PWD_COMMAND}`; export r; \
19251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19254 for flag in $(EXTRA_HOST_FLAGS) ; do \
19255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19257 echo "Doing installcheck in sid" ; \
19259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19261 "RANLIB=$${RANLIB}" \
19262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19268 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
19269 maybe-mostlyclean-sid:
19271 maybe-mostlyclean-sid: mostlyclean-sid
19274 @[ -f ./sid/Makefile ] || exit 0; \
19275 r=`${PWD_COMMAND}`; export r; \
19276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19279 for flag in $(EXTRA_HOST_FLAGS) ; do \
19280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19282 echo "Doing mostlyclean in sid" ; \
19284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19286 "RANLIB=$${RANLIB}" \
19287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19293 .PHONY: maybe-clean-sid clean-sid
19296 maybe-clean-sid: clean-sid
19299 @[ -f ./sid/Makefile ] || exit 0; \
19300 r=`${PWD_COMMAND}`; export r; \
19301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19304 for flag in $(EXTRA_HOST_FLAGS) ; do \
19305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19307 echo "Doing clean in sid" ; \
19309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19311 "RANLIB=$${RANLIB}" \
19312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19318 .PHONY: maybe-distclean-sid distclean-sid
19319 maybe-distclean-sid:
19321 maybe-distclean-sid: distclean-sid
19324 @[ -f ./sid/Makefile ] || exit 0; \
19325 r=`${PWD_COMMAND}`; export r; \
19326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19329 for flag in $(EXTRA_HOST_FLAGS) ; do \
19330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19332 echo "Doing distclean in sid" ; \
19334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19336 "RANLIB=$${RANLIB}" \
19337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19343 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
19344 maybe-maintainer-clean-sid:
19346 maybe-maintainer-clean-sid: maintainer-clean-sid
19348 maintainer-clean-sid:
19349 @[ -f ./sid/Makefile ] || exit 0; \
19350 r=`${PWD_COMMAND}`; export r; \
19351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19354 for flag in $(EXTRA_HOST_FLAGS) ; do \
19355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19357 echo "Doing maintainer-clean in sid" ; \
19359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19361 "RANLIB=$${RANLIB}" \
19362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19363 maintainer-clean) \
19369 .PHONY: configure-sim maybe-configure-sim
19370 maybe-configure-sim:
19372 maybe-configure-sim: configure-sim
19374 @test ! -f sim/Makefile || exit 0; \
19375 [ -d sim ] || mkdir sim; \
19376 r=`${PWD_COMMAND}`; export r; \
19377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19379 echo Configuring in sim; \
19380 cd sim || exit 1; \
19381 case $(srcdir) in \
19383 srcdiroption="--srcdir=."; \
19385 /* | [A-Za-z]:[\\/]*) \
19386 srcdiroption="--srcdir=$(srcdir)/sim"; \
19387 libsrcdir="$$s/sim";; \
19389 srcdiroption="--srcdir=../$(srcdir)/sim"; \
19390 libsrcdir="$$s/sim";; \
19392 $(SHELL) $${libsrcdir}/configure \
19393 $(HOST_CONFIGARGS) $${srcdiroption} \
19397 .PHONY: all-sim maybe-all-sim
19401 maybe-all-sim: all-sim
19402 all-sim: configure-sim
19403 @r=`${PWD_COMMAND}`; export r; \
19404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19407 (cd sim && $(MAKE) $(FLAGS_TO_PASS) \
19411 .PHONY: check-sim maybe-check-sim
19414 maybe-check-sim: check-sim
19417 @r=`${PWD_COMMAND}`; export r; \
19418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19421 (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
19425 .PHONY: install-sim maybe-install-sim
19428 maybe-install-sim: install-sim
19430 install-sim: installdirs
19431 @r=`${PWD_COMMAND}`; export r; \
19432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19435 (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
19439 # Other targets (info, dvi, etc.)
19441 .PHONY: maybe-info-sim info-sim
19444 maybe-info-sim: info-sim
19448 @[ -f ./sim/Makefile ] || exit 0; \
19449 r=`${PWD_COMMAND}`; export r; \
19450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19453 for flag in $(EXTRA_HOST_FLAGS) ; do \
19454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19456 echo "Doing info in sim" ; \
19458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19460 "RANLIB=$${RANLIB}" \
19461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19467 .PHONY: maybe-dvi-sim dvi-sim
19470 maybe-dvi-sim: dvi-sim
19474 @[ -f ./sim/Makefile ] || exit 0; \
19475 r=`${PWD_COMMAND}`; export r; \
19476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19479 for flag in $(EXTRA_HOST_FLAGS) ; do \
19480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19482 echo "Doing dvi in sim" ; \
19484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19486 "RANLIB=$${RANLIB}" \
19487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19493 .PHONY: maybe-html-sim html-sim
19496 maybe-html-sim: html-sim
19500 @[ -f ./sim/Makefile ] || exit 0; \
19501 r=`${PWD_COMMAND}`; export r; \
19502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19505 for flag in $(EXTRA_HOST_FLAGS) ; do \
19506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19508 echo "Doing html in sim" ; \
19510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19512 "RANLIB=$${RANLIB}" \
19513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19519 .PHONY: maybe-TAGS-sim TAGS-sim
19522 maybe-TAGS-sim: TAGS-sim
19526 @[ -f ./sim/Makefile ] || exit 0; \
19527 r=`${PWD_COMMAND}`; export r; \
19528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19531 for flag in $(EXTRA_HOST_FLAGS) ; do \
19532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19534 echo "Doing TAGS in sim" ; \
19536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19538 "RANLIB=$${RANLIB}" \
19539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19545 .PHONY: maybe-install-info-sim install-info-sim
19546 maybe-install-info-sim:
19548 maybe-install-info-sim: install-info-sim
19550 install-info-sim: \
19553 @[ -f ./sim/Makefile ] || exit 0; \
19554 r=`${PWD_COMMAND}`; export r; \
19555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19558 for flag in $(EXTRA_HOST_FLAGS) ; do \
19559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19561 echo "Doing install-info in sim" ; \
19563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19565 "RANLIB=$${RANLIB}" \
19566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19572 .PHONY: maybe-installcheck-sim installcheck-sim
19573 maybe-installcheck-sim:
19575 maybe-installcheck-sim: installcheck-sim
19577 installcheck-sim: \
19579 @[ -f ./sim/Makefile ] || exit 0; \
19580 r=`${PWD_COMMAND}`; export r; \
19581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19584 for flag in $(EXTRA_HOST_FLAGS) ; do \
19585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19587 echo "Doing installcheck in sim" ; \
19589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19591 "RANLIB=$${RANLIB}" \
19592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19598 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
19599 maybe-mostlyclean-sim:
19601 maybe-mostlyclean-sim: mostlyclean-sim
19604 @[ -f ./sim/Makefile ] || exit 0; \
19605 r=`${PWD_COMMAND}`; export r; \
19606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19609 for flag in $(EXTRA_HOST_FLAGS) ; do \
19610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19612 echo "Doing mostlyclean in sim" ; \
19614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19616 "RANLIB=$${RANLIB}" \
19617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19623 .PHONY: maybe-clean-sim clean-sim
19626 maybe-clean-sim: clean-sim
19629 @[ -f ./sim/Makefile ] || exit 0; \
19630 r=`${PWD_COMMAND}`; export r; \
19631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19634 for flag in $(EXTRA_HOST_FLAGS) ; do \
19635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19637 echo "Doing clean in sim" ; \
19639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19641 "RANLIB=$${RANLIB}" \
19642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19648 .PHONY: maybe-distclean-sim distclean-sim
19649 maybe-distclean-sim:
19651 maybe-distclean-sim: distclean-sim
19654 @[ -f ./sim/Makefile ] || exit 0; \
19655 r=`${PWD_COMMAND}`; export r; \
19656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19659 for flag in $(EXTRA_HOST_FLAGS) ; do \
19660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19662 echo "Doing distclean in sim" ; \
19664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19666 "RANLIB=$${RANLIB}" \
19667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19673 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
19674 maybe-maintainer-clean-sim:
19676 maybe-maintainer-clean-sim: maintainer-clean-sim
19678 maintainer-clean-sim:
19679 @[ -f ./sim/Makefile ] || exit 0; \
19680 r=`${PWD_COMMAND}`; export r; \
19681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19684 for flag in $(EXTRA_HOST_FLAGS) ; do \
19685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19687 echo "Doing maintainer-clean in sim" ; \
19689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19691 "RANLIB=$${RANLIB}" \
19692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19693 maintainer-clean) \
19699 .PHONY: configure-tar maybe-configure-tar
19700 maybe-configure-tar:
19702 maybe-configure-tar: configure-tar
19704 @test ! -f tar/Makefile || exit 0; \
19705 [ -d tar ] || mkdir tar; \
19706 r=`${PWD_COMMAND}`; export r; \
19707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19709 echo Configuring in tar; \
19710 cd tar || exit 1; \
19711 case $(srcdir) in \
19713 srcdiroption="--srcdir=."; \
19715 /* | [A-Za-z]:[\\/]*) \
19716 srcdiroption="--srcdir=$(srcdir)/tar"; \
19717 libsrcdir="$$s/tar";; \
19719 srcdiroption="--srcdir=../$(srcdir)/tar"; \
19720 libsrcdir="$$s/tar";; \
19722 $(SHELL) $${libsrcdir}/configure \
19723 $(HOST_CONFIGARGS) $${srcdiroption} \
19727 .PHONY: all-tar maybe-all-tar
19731 maybe-all-tar: all-tar
19732 all-tar: configure-tar
19733 @r=`${PWD_COMMAND}`; export r; \
19734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19737 (cd tar && $(MAKE) $(FLAGS_TO_PASS) \
19741 .PHONY: check-tar maybe-check-tar
19744 maybe-check-tar: check-tar
19747 @r=`${PWD_COMMAND}`; export r; \
19748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19751 (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
19755 .PHONY: install-tar maybe-install-tar
19758 maybe-install-tar: install-tar
19760 install-tar: installdirs
19761 @r=`${PWD_COMMAND}`; export r; \
19762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19765 (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
19769 # Other targets (info, dvi, etc.)
19771 .PHONY: maybe-info-tar info-tar
19774 maybe-info-tar: info-tar
19778 @[ -f ./tar/Makefile ] || exit 0; \
19779 r=`${PWD_COMMAND}`; export r; \
19780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19783 for flag in $(EXTRA_HOST_FLAGS) ; do \
19784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19786 echo "Doing info in tar" ; \
19788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19790 "RANLIB=$${RANLIB}" \
19791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19797 .PHONY: maybe-dvi-tar dvi-tar
19800 maybe-dvi-tar: dvi-tar
19804 @[ -f ./tar/Makefile ] || exit 0; \
19805 r=`${PWD_COMMAND}`; export r; \
19806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19809 for flag in $(EXTRA_HOST_FLAGS) ; do \
19810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19812 echo "Doing dvi in tar" ; \
19814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19816 "RANLIB=$${RANLIB}" \
19817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19823 .PHONY: maybe-html-tar html-tar
19826 maybe-html-tar: html-tar
19830 @[ -f ./tar/Makefile ] || exit 0; \
19831 r=`${PWD_COMMAND}`; export r; \
19832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19835 for flag in $(EXTRA_HOST_FLAGS) ; do \
19836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19838 echo "Doing html in tar" ; \
19840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19842 "RANLIB=$${RANLIB}" \
19843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19849 .PHONY: maybe-TAGS-tar TAGS-tar
19852 maybe-TAGS-tar: TAGS-tar
19856 @[ -f ./tar/Makefile ] || exit 0; \
19857 r=`${PWD_COMMAND}`; export r; \
19858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19861 for flag in $(EXTRA_HOST_FLAGS) ; do \
19862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19864 echo "Doing TAGS in tar" ; \
19866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19868 "RANLIB=$${RANLIB}" \
19869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19875 .PHONY: maybe-install-info-tar install-info-tar
19876 maybe-install-info-tar:
19878 maybe-install-info-tar: install-info-tar
19880 install-info-tar: \
19883 @[ -f ./tar/Makefile ] || exit 0; \
19884 r=`${PWD_COMMAND}`; export r; \
19885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19888 for flag in $(EXTRA_HOST_FLAGS) ; do \
19889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19891 echo "Doing install-info in tar" ; \
19893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19895 "RANLIB=$${RANLIB}" \
19896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19902 .PHONY: maybe-installcheck-tar installcheck-tar
19903 maybe-installcheck-tar:
19905 maybe-installcheck-tar: installcheck-tar
19907 installcheck-tar: \
19909 @[ -f ./tar/Makefile ] || exit 0; \
19910 r=`${PWD_COMMAND}`; export r; \
19911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19914 for flag in $(EXTRA_HOST_FLAGS) ; do \
19915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19917 echo "Doing installcheck in tar" ; \
19919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19921 "RANLIB=$${RANLIB}" \
19922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19928 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
19929 maybe-mostlyclean-tar:
19931 maybe-mostlyclean-tar: mostlyclean-tar
19934 @[ -f ./tar/Makefile ] || exit 0; \
19935 r=`${PWD_COMMAND}`; export r; \
19936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19939 for flag in $(EXTRA_HOST_FLAGS) ; do \
19940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19942 echo "Doing mostlyclean in tar" ; \
19944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19946 "RANLIB=$${RANLIB}" \
19947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19953 .PHONY: maybe-clean-tar clean-tar
19956 maybe-clean-tar: clean-tar
19959 @[ -f ./tar/Makefile ] || exit 0; \
19960 r=`${PWD_COMMAND}`; export r; \
19961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19964 for flag in $(EXTRA_HOST_FLAGS) ; do \
19965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19967 echo "Doing clean in tar" ; \
19969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19971 "RANLIB=$${RANLIB}" \
19972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19978 .PHONY: maybe-distclean-tar distclean-tar
19979 maybe-distclean-tar:
19981 maybe-distclean-tar: distclean-tar
19984 @[ -f ./tar/Makefile ] || exit 0; \
19985 r=`${PWD_COMMAND}`; export r; \
19986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19989 for flag in $(EXTRA_HOST_FLAGS) ; do \
19990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19992 echo "Doing distclean in tar" ; \
19994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19996 "RANLIB=$${RANLIB}" \
19997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20003 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
20004 maybe-maintainer-clean-tar:
20006 maybe-maintainer-clean-tar: maintainer-clean-tar
20008 maintainer-clean-tar:
20009 @[ -f ./tar/Makefile ] || exit 0; \
20010 r=`${PWD_COMMAND}`; export r; \
20011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20014 for flag in $(EXTRA_HOST_FLAGS) ; do \
20015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20017 echo "Doing maintainer-clean in tar" ; \
20019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20021 "RANLIB=$${RANLIB}" \
20022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20023 maintainer-clean) \
20029 .PHONY: configure-texinfo maybe-configure-texinfo
20030 maybe-configure-texinfo:
20032 maybe-configure-texinfo: configure-texinfo
20034 @test ! -f texinfo/Makefile || exit 0; \
20035 [ -d texinfo ] || mkdir texinfo; \
20036 r=`${PWD_COMMAND}`; export r; \
20037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20039 echo Configuring in texinfo; \
20040 cd texinfo || exit 1; \
20041 case $(srcdir) in \
20043 srcdiroption="--srcdir=."; \
20045 /* | [A-Za-z]:[\\/]*) \
20046 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
20047 libsrcdir="$$s/texinfo";; \
20049 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
20050 libsrcdir="$$s/texinfo";; \
20052 $(SHELL) $${libsrcdir}/configure \
20053 $(HOST_CONFIGARGS) $${srcdiroption} \
20057 .PHONY: all-texinfo maybe-all-texinfo
20061 maybe-all-texinfo: all-texinfo
20062 all-texinfo: configure-texinfo
20063 @r=`${PWD_COMMAND}`; export r; \
20064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20067 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) \
20071 .PHONY: check-texinfo maybe-check-texinfo
20072 maybe-check-texinfo:
20074 maybe-check-texinfo: check-texinfo
20077 @r=`${PWD_COMMAND}`; export r; \
20078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20081 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
20085 .PHONY: install-texinfo maybe-install-texinfo
20086 maybe-install-texinfo:
20088 maybe-install-texinfo: install-texinfo
20094 # Other targets (info, dvi, etc.)
20096 .PHONY: maybe-info-texinfo info-texinfo
20097 maybe-info-texinfo:
20099 maybe-info-texinfo: info-texinfo
20103 @[ -f ./texinfo/Makefile ] || exit 0; \
20104 r=`${PWD_COMMAND}`; export r; \
20105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20108 for flag in $(EXTRA_HOST_FLAGS) ; do \
20109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20111 echo "Doing info in texinfo" ; \
20113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20115 "RANLIB=$${RANLIB}" \
20116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20122 .PHONY: maybe-dvi-texinfo dvi-texinfo
20125 maybe-dvi-texinfo: dvi-texinfo
20129 @[ -f ./texinfo/Makefile ] || exit 0; \
20130 r=`${PWD_COMMAND}`; export r; \
20131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20134 for flag in $(EXTRA_HOST_FLAGS) ; do \
20135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20137 echo "Doing dvi in texinfo" ; \
20139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20141 "RANLIB=$${RANLIB}" \
20142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20148 .PHONY: maybe-html-texinfo html-texinfo
20149 maybe-html-texinfo:
20151 maybe-html-texinfo: html-texinfo
20155 @[ -f ./texinfo/Makefile ] || exit 0; \
20156 r=`${PWD_COMMAND}`; export r; \
20157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20160 for flag in $(EXTRA_HOST_FLAGS) ; do \
20161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20163 echo "Doing html in texinfo" ; \
20165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20167 "RANLIB=$${RANLIB}" \
20168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20174 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
20175 maybe-TAGS-texinfo:
20177 maybe-TAGS-texinfo: TAGS-texinfo
20181 @[ -f ./texinfo/Makefile ] || exit 0; \
20182 r=`${PWD_COMMAND}`; export r; \
20183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20186 for flag in $(EXTRA_HOST_FLAGS) ; do \
20187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20189 echo "Doing TAGS in texinfo" ; \
20191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20193 "RANLIB=$${RANLIB}" \
20194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20200 .PHONY: maybe-install-info-texinfo install-info-texinfo
20201 maybe-install-info-texinfo:
20203 maybe-install-info-texinfo: install-info-texinfo
20205 install-info-texinfo: \
20206 configure-texinfo \
20208 @[ -f ./texinfo/Makefile ] || exit 0; \
20209 r=`${PWD_COMMAND}`; export r; \
20210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20213 for flag in $(EXTRA_HOST_FLAGS) ; do \
20214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20216 echo "Doing install-info in texinfo" ; \
20218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20220 "RANLIB=$${RANLIB}" \
20221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20227 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
20228 maybe-installcheck-texinfo:
20230 maybe-installcheck-texinfo: installcheck-texinfo
20232 installcheck-texinfo: \
20234 @[ -f ./texinfo/Makefile ] || exit 0; \
20235 r=`${PWD_COMMAND}`; export r; \
20236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20239 for flag in $(EXTRA_HOST_FLAGS) ; do \
20240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20242 echo "Doing installcheck in texinfo" ; \
20244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20246 "RANLIB=$${RANLIB}" \
20247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20253 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
20254 maybe-mostlyclean-texinfo:
20256 maybe-mostlyclean-texinfo: mostlyclean-texinfo
20258 mostlyclean-texinfo:
20259 @[ -f ./texinfo/Makefile ] || exit 0; \
20260 r=`${PWD_COMMAND}`; export r; \
20261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20264 for flag in $(EXTRA_HOST_FLAGS) ; do \
20265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20267 echo "Doing mostlyclean in texinfo" ; \
20269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20271 "RANLIB=$${RANLIB}" \
20272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20278 .PHONY: maybe-clean-texinfo clean-texinfo
20279 maybe-clean-texinfo:
20281 maybe-clean-texinfo: clean-texinfo
20284 @[ -f ./texinfo/Makefile ] || exit 0; \
20285 r=`${PWD_COMMAND}`; export r; \
20286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20289 for flag in $(EXTRA_HOST_FLAGS) ; do \
20290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20292 echo "Doing clean in texinfo" ; \
20294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20296 "RANLIB=$${RANLIB}" \
20297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20303 .PHONY: maybe-distclean-texinfo distclean-texinfo
20304 maybe-distclean-texinfo:
20306 maybe-distclean-texinfo: distclean-texinfo
20309 @[ -f ./texinfo/Makefile ] || exit 0; \
20310 r=`${PWD_COMMAND}`; export r; \
20311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20314 for flag in $(EXTRA_HOST_FLAGS) ; do \
20315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20317 echo "Doing distclean in texinfo" ; \
20319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20321 "RANLIB=$${RANLIB}" \
20322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20328 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
20329 maybe-maintainer-clean-texinfo:
20331 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
20333 maintainer-clean-texinfo:
20334 @[ -f ./texinfo/Makefile ] || exit 0; \
20335 r=`${PWD_COMMAND}`; export r; \
20336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20339 for flag in $(EXTRA_HOST_FLAGS) ; do \
20340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20342 echo "Doing maintainer-clean in texinfo" ; \
20344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20346 "RANLIB=$${RANLIB}" \
20347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20348 maintainer-clean) \
20354 .PHONY: configure-textutils maybe-configure-textutils
20355 maybe-configure-textutils:
20357 maybe-configure-textutils: configure-textutils
20358 configure-textutils:
20359 @test ! -f textutils/Makefile || exit 0; \
20360 [ -d textutils ] || mkdir textutils; \
20361 r=`${PWD_COMMAND}`; export r; \
20362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20364 echo Configuring in textutils; \
20365 cd textutils || exit 1; \
20366 case $(srcdir) in \
20368 srcdiroption="--srcdir=."; \
20370 /* | [A-Za-z]:[\\/]*) \
20371 srcdiroption="--srcdir=$(srcdir)/textutils"; \
20372 libsrcdir="$$s/textutils";; \
20374 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
20375 libsrcdir="$$s/textutils";; \
20377 $(SHELL) $${libsrcdir}/configure \
20378 $(HOST_CONFIGARGS) $${srcdiroption} \
20382 .PHONY: all-textutils maybe-all-textutils
20383 maybe-all-textutils:
20385 TARGET-textutils=all
20386 maybe-all-textutils: all-textutils
20387 all-textutils: configure-textutils
20388 @r=`${PWD_COMMAND}`; export r; \
20389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20392 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) \
20393 $(TARGET-textutils))
20396 .PHONY: check-textutils maybe-check-textutils
20397 maybe-check-textutils:
20399 maybe-check-textutils: check-textutils
20402 @r=`${PWD_COMMAND}`; export r; \
20403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20406 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
20410 .PHONY: install-textutils maybe-install-textutils
20411 maybe-install-textutils:
20413 maybe-install-textutils: install-textutils
20415 install-textutils: installdirs
20416 @r=`${PWD_COMMAND}`; export r; \
20417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20420 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
20424 # Other targets (info, dvi, etc.)
20426 .PHONY: maybe-info-textutils info-textutils
20427 maybe-info-textutils:
20429 maybe-info-textutils: info-textutils
20432 configure-textutils
20433 @[ -f ./textutils/Makefile ] || exit 0; \
20434 r=`${PWD_COMMAND}`; export r; \
20435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20438 for flag in $(EXTRA_HOST_FLAGS) ; do \
20439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20441 echo "Doing info in textutils" ; \
20443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20445 "RANLIB=$${RANLIB}" \
20446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20452 .PHONY: maybe-dvi-textutils dvi-textutils
20453 maybe-dvi-textutils:
20455 maybe-dvi-textutils: dvi-textutils
20458 configure-textutils
20459 @[ -f ./textutils/Makefile ] || exit 0; \
20460 r=`${PWD_COMMAND}`; export r; \
20461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20464 for flag in $(EXTRA_HOST_FLAGS) ; do \
20465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20467 echo "Doing dvi in textutils" ; \
20469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20471 "RANLIB=$${RANLIB}" \
20472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20478 .PHONY: maybe-html-textutils html-textutils
20479 maybe-html-textutils:
20481 maybe-html-textutils: html-textutils
20484 configure-textutils
20485 @[ -f ./textutils/Makefile ] || exit 0; \
20486 r=`${PWD_COMMAND}`; export r; \
20487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20490 for flag in $(EXTRA_HOST_FLAGS) ; do \
20491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20493 echo "Doing html in textutils" ; \
20495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20497 "RANLIB=$${RANLIB}" \
20498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20504 .PHONY: maybe-TAGS-textutils TAGS-textutils
20505 maybe-TAGS-textutils:
20507 maybe-TAGS-textutils: TAGS-textutils
20510 configure-textutils
20511 @[ -f ./textutils/Makefile ] || exit 0; \
20512 r=`${PWD_COMMAND}`; export r; \
20513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20516 for flag in $(EXTRA_HOST_FLAGS) ; do \
20517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20519 echo "Doing TAGS in textutils" ; \
20521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20523 "RANLIB=$${RANLIB}" \
20524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20530 .PHONY: maybe-install-info-textutils install-info-textutils
20531 maybe-install-info-textutils:
20533 maybe-install-info-textutils: install-info-textutils
20535 install-info-textutils: \
20536 configure-textutils \
20538 @[ -f ./textutils/Makefile ] || exit 0; \
20539 r=`${PWD_COMMAND}`; export r; \
20540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20543 for flag in $(EXTRA_HOST_FLAGS) ; do \
20544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20546 echo "Doing install-info in textutils" ; \
20548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20550 "RANLIB=$${RANLIB}" \
20551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20557 .PHONY: maybe-installcheck-textutils installcheck-textutils
20558 maybe-installcheck-textutils:
20560 maybe-installcheck-textutils: installcheck-textutils
20562 installcheck-textutils: \
20563 configure-textutils
20564 @[ -f ./textutils/Makefile ] || exit 0; \
20565 r=`${PWD_COMMAND}`; export r; \
20566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20569 for flag in $(EXTRA_HOST_FLAGS) ; do \
20570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20572 echo "Doing installcheck in textutils" ; \
20574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20576 "RANLIB=$${RANLIB}" \
20577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20583 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
20584 maybe-mostlyclean-textutils:
20586 maybe-mostlyclean-textutils: mostlyclean-textutils
20588 mostlyclean-textutils:
20589 @[ -f ./textutils/Makefile ] || exit 0; \
20590 r=`${PWD_COMMAND}`; export r; \
20591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20594 for flag in $(EXTRA_HOST_FLAGS) ; do \
20595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20597 echo "Doing mostlyclean in textutils" ; \
20599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20601 "RANLIB=$${RANLIB}" \
20602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20608 .PHONY: maybe-clean-textutils clean-textutils
20609 maybe-clean-textutils:
20611 maybe-clean-textutils: clean-textutils
20614 @[ -f ./textutils/Makefile ] || exit 0; \
20615 r=`${PWD_COMMAND}`; export r; \
20616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20619 for flag in $(EXTRA_HOST_FLAGS) ; do \
20620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20622 echo "Doing clean in textutils" ; \
20624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20626 "RANLIB=$${RANLIB}" \
20627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20633 .PHONY: maybe-distclean-textutils distclean-textutils
20634 maybe-distclean-textutils:
20636 maybe-distclean-textutils: distclean-textutils
20638 distclean-textutils:
20639 @[ -f ./textutils/Makefile ] || exit 0; \
20640 r=`${PWD_COMMAND}`; export r; \
20641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20644 for flag in $(EXTRA_HOST_FLAGS) ; do \
20645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20647 echo "Doing distclean in textutils" ; \
20649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20651 "RANLIB=$${RANLIB}" \
20652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20658 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
20659 maybe-maintainer-clean-textutils:
20661 maybe-maintainer-clean-textutils: maintainer-clean-textutils
20663 maintainer-clean-textutils:
20664 @[ -f ./textutils/Makefile ] || exit 0; \
20665 r=`${PWD_COMMAND}`; export r; \
20666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20669 for flag in $(EXTRA_HOST_FLAGS) ; do \
20670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20672 echo "Doing maintainer-clean in textutils" ; \
20674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20676 "RANLIB=$${RANLIB}" \
20677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20678 maintainer-clean) \
20684 .PHONY: configure-time maybe-configure-time
20685 maybe-configure-time:
20687 maybe-configure-time: configure-time
20689 @test ! -f time/Makefile || exit 0; \
20690 [ -d time ] || mkdir time; \
20691 r=`${PWD_COMMAND}`; export r; \
20692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20694 echo Configuring in time; \
20695 cd time || exit 1; \
20696 case $(srcdir) in \
20698 srcdiroption="--srcdir=."; \
20700 /* | [A-Za-z]:[\\/]*) \
20701 srcdiroption="--srcdir=$(srcdir)/time"; \
20702 libsrcdir="$$s/time";; \
20704 srcdiroption="--srcdir=../$(srcdir)/time"; \
20705 libsrcdir="$$s/time";; \
20707 $(SHELL) $${libsrcdir}/configure \
20708 $(HOST_CONFIGARGS) $${srcdiroption} \
20712 .PHONY: all-time maybe-all-time
20716 maybe-all-time: all-time
20717 all-time: configure-time
20718 @r=`${PWD_COMMAND}`; export r; \
20719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20722 (cd time && $(MAKE) $(FLAGS_TO_PASS) \
20726 .PHONY: check-time maybe-check-time
20729 maybe-check-time: check-time
20732 @r=`${PWD_COMMAND}`; export r; \
20733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20736 (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
20740 .PHONY: install-time maybe-install-time
20741 maybe-install-time:
20743 maybe-install-time: install-time
20745 install-time: installdirs
20746 @r=`${PWD_COMMAND}`; export r; \
20747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20750 (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
20754 # Other targets (info, dvi, etc.)
20756 .PHONY: maybe-info-time info-time
20759 maybe-info-time: info-time
20763 @[ -f ./time/Makefile ] || exit 0; \
20764 r=`${PWD_COMMAND}`; export r; \
20765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20768 for flag in $(EXTRA_HOST_FLAGS) ; do \
20769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20771 echo "Doing info in time" ; \
20773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20775 "RANLIB=$${RANLIB}" \
20776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20782 .PHONY: maybe-dvi-time dvi-time
20785 maybe-dvi-time: dvi-time
20789 @[ -f ./time/Makefile ] || exit 0; \
20790 r=`${PWD_COMMAND}`; export r; \
20791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20794 for flag in $(EXTRA_HOST_FLAGS) ; do \
20795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20797 echo "Doing dvi in time" ; \
20799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20801 "RANLIB=$${RANLIB}" \
20802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20808 .PHONY: maybe-html-time html-time
20811 maybe-html-time: html-time
20815 @[ -f ./time/Makefile ] || exit 0; \
20816 r=`${PWD_COMMAND}`; export r; \
20817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20820 for flag in $(EXTRA_HOST_FLAGS) ; do \
20821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20823 echo "Doing html in time" ; \
20825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20827 "RANLIB=$${RANLIB}" \
20828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20834 .PHONY: maybe-TAGS-time TAGS-time
20837 maybe-TAGS-time: TAGS-time
20841 @[ -f ./time/Makefile ] || exit 0; \
20842 r=`${PWD_COMMAND}`; export r; \
20843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20846 for flag in $(EXTRA_HOST_FLAGS) ; do \
20847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20849 echo "Doing TAGS in time" ; \
20851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20853 "RANLIB=$${RANLIB}" \
20854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20860 .PHONY: maybe-install-info-time install-info-time
20861 maybe-install-info-time:
20863 maybe-install-info-time: install-info-time
20865 install-info-time: \
20868 @[ -f ./time/Makefile ] || exit 0; \
20869 r=`${PWD_COMMAND}`; export r; \
20870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20873 for flag in $(EXTRA_HOST_FLAGS) ; do \
20874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20876 echo "Doing install-info in time" ; \
20878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20880 "RANLIB=$${RANLIB}" \
20881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20887 .PHONY: maybe-installcheck-time installcheck-time
20888 maybe-installcheck-time:
20890 maybe-installcheck-time: installcheck-time
20892 installcheck-time: \
20894 @[ -f ./time/Makefile ] || exit 0; \
20895 r=`${PWD_COMMAND}`; export r; \
20896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20899 for flag in $(EXTRA_HOST_FLAGS) ; do \
20900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20902 echo "Doing installcheck in time" ; \
20904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20906 "RANLIB=$${RANLIB}" \
20907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20913 .PHONY: maybe-mostlyclean-time mostlyclean-time
20914 maybe-mostlyclean-time:
20916 maybe-mostlyclean-time: mostlyclean-time
20919 @[ -f ./time/Makefile ] || exit 0; \
20920 r=`${PWD_COMMAND}`; export r; \
20921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20924 for flag in $(EXTRA_HOST_FLAGS) ; do \
20925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20927 echo "Doing mostlyclean in time" ; \
20929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20931 "RANLIB=$${RANLIB}" \
20932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20938 .PHONY: maybe-clean-time clean-time
20941 maybe-clean-time: clean-time
20944 @[ -f ./time/Makefile ] || exit 0; \
20945 r=`${PWD_COMMAND}`; export r; \
20946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20949 for flag in $(EXTRA_HOST_FLAGS) ; do \
20950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20952 echo "Doing clean in time" ; \
20954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20956 "RANLIB=$${RANLIB}" \
20957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20963 .PHONY: maybe-distclean-time distclean-time
20964 maybe-distclean-time:
20966 maybe-distclean-time: distclean-time
20969 @[ -f ./time/Makefile ] || exit 0; \
20970 r=`${PWD_COMMAND}`; export r; \
20971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20974 for flag in $(EXTRA_HOST_FLAGS) ; do \
20975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20977 echo "Doing distclean in time" ; \
20979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20981 "RANLIB=$${RANLIB}" \
20982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20988 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
20989 maybe-maintainer-clean-time:
20991 maybe-maintainer-clean-time: maintainer-clean-time
20993 maintainer-clean-time:
20994 @[ -f ./time/Makefile ] || exit 0; \
20995 r=`${PWD_COMMAND}`; export r; \
20996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20999 for flag in $(EXTRA_HOST_FLAGS) ; do \
21000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21002 echo "Doing maintainer-clean in time" ; \
21004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21006 "RANLIB=$${RANLIB}" \
21007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21008 maintainer-clean) \
21014 .PHONY: configure-uudecode maybe-configure-uudecode
21015 maybe-configure-uudecode:
21017 maybe-configure-uudecode: configure-uudecode
21018 configure-uudecode:
21019 @test ! -f uudecode/Makefile || exit 0; \
21020 [ -d uudecode ] || mkdir uudecode; \
21021 r=`${PWD_COMMAND}`; export r; \
21022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21024 echo Configuring in uudecode; \
21025 cd uudecode || exit 1; \
21026 case $(srcdir) in \
21028 srcdiroption="--srcdir=."; \
21030 /* | [A-Za-z]:[\\/]*) \
21031 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
21032 libsrcdir="$$s/uudecode";; \
21034 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
21035 libsrcdir="$$s/uudecode";; \
21037 $(SHELL) $${libsrcdir}/configure \
21038 $(HOST_CONFIGARGS) $${srcdiroption} \
21042 .PHONY: all-uudecode maybe-all-uudecode
21043 maybe-all-uudecode:
21045 TARGET-uudecode=all
21046 maybe-all-uudecode: all-uudecode
21047 all-uudecode: configure-uudecode
21048 @r=`${PWD_COMMAND}`; export r; \
21049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21052 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) \
21053 $(TARGET-uudecode))
21056 .PHONY: check-uudecode maybe-check-uudecode
21057 maybe-check-uudecode:
21059 maybe-check-uudecode: check-uudecode
21062 @r=`${PWD_COMMAND}`; export r; \
21063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21066 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
21070 .PHONY: install-uudecode maybe-install-uudecode
21071 maybe-install-uudecode:
21073 maybe-install-uudecode: install-uudecode
21075 install-uudecode: installdirs
21076 @r=`${PWD_COMMAND}`; export r; \
21077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21080 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
21084 # Other targets (info, dvi, etc.)
21086 .PHONY: maybe-info-uudecode info-uudecode
21087 maybe-info-uudecode:
21089 maybe-info-uudecode: info-uudecode
21093 @[ -f ./uudecode/Makefile ] || exit 0; \
21094 r=`${PWD_COMMAND}`; export r; \
21095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21098 for flag in $(EXTRA_HOST_FLAGS) ; do \
21099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21101 echo "Doing info in uudecode" ; \
21103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21105 "RANLIB=$${RANLIB}" \
21106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21112 .PHONY: maybe-dvi-uudecode dvi-uudecode
21113 maybe-dvi-uudecode:
21115 maybe-dvi-uudecode: dvi-uudecode
21119 @[ -f ./uudecode/Makefile ] || exit 0; \
21120 r=`${PWD_COMMAND}`; export r; \
21121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21124 for flag in $(EXTRA_HOST_FLAGS) ; do \
21125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21127 echo "Doing dvi in uudecode" ; \
21129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21131 "RANLIB=$${RANLIB}" \
21132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21138 .PHONY: maybe-html-uudecode html-uudecode
21139 maybe-html-uudecode:
21141 maybe-html-uudecode: html-uudecode
21145 @[ -f ./uudecode/Makefile ] || exit 0; \
21146 r=`${PWD_COMMAND}`; export r; \
21147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21150 for flag in $(EXTRA_HOST_FLAGS) ; do \
21151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21153 echo "Doing html in uudecode" ; \
21155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21157 "RANLIB=$${RANLIB}" \
21158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21164 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
21165 maybe-TAGS-uudecode:
21167 maybe-TAGS-uudecode: TAGS-uudecode
21171 @[ -f ./uudecode/Makefile ] || exit 0; \
21172 r=`${PWD_COMMAND}`; export r; \
21173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21176 for flag in $(EXTRA_HOST_FLAGS) ; do \
21177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21179 echo "Doing TAGS in uudecode" ; \
21181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21183 "RANLIB=$${RANLIB}" \
21184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21190 .PHONY: maybe-install-info-uudecode install-info-uudecode
21191 maybe-install-info-uudecode:
21193 maybe-install-info-uudecode: install-info-uudecode
21195 install-info-uudecode: \
21196 configure-uudecode \
21198 @[ -f ./uudecode/Makefile ] || exit 0; \
21199 r=`${PWD_COMMAND}`; export r; \
21200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21203 for flag in $(EXTRA_HOST_FLAGS) ; do \
21204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21206 echo "Doing install-info in uudecode" ; \
21208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21210 "RANLIB=$${RANLIB}" \
21211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21217 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
21218 maybe-installcheck-uudecode:
21220 maybe-installcheck-uudecode: installcheck-uudecode
21222 installcheck-uudecode: \
21224 @[ -f ./uudecode/Makefile ] || exit 0; \
21225 r=`${PWD_COMMAND}`; export r; \
21226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21229 for flag in $(EXTRA_HOST_FLAGS) ; do \
21230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21232 echo "Doing installcheck in uudecode" ; \
21234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21236 "RANLIB=$${RANLIB}" \
21237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21243 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
21244 maybe-mostlyclean-uudecode:
21246 maybe-mostlyclean-uudecode: mostlyclean-uudecode
21248 mostlyclean-uudecode:
21249 @[ -f ./uudecode/Makefile ] || exit 0; \
21250 r=`${PWD_COMMAND}`; export r; \
21251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21254 for flag in $(EXTRA_HOST_FLAGS) ; do \
21255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21257 echo "Doing mostlyclean in uudecode" ; \
21259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21261 "RANLIB=$${RANLIB}" \
21262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21268 .PHONY: maybe-clean-uudecode clean-uudecode
21269 maybe-clean-uudecode:
21271 maybe-clean-uudecode: clean-uudecode
21274 @[ -f ./uudecode/Makefile ] || exit 0; \
21275 r=`${PWD_COMMAND}`; export r; \
21276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21279 for flag in $(EXTRA_HOST_FLAGS) ; do \
21280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21282 echo "Doing clean in uudecode" ; \
21284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21286 "RANLIB=$${RANLIB}" \
21287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21293 .PHONY: maybe-distclean-uudecode distclean-uudecode
21294 maybe-distclean-uudecode:
21296 maybe-distclean-uudecode: distclean-uudecode
21298 distclean-uudecode:
21299 @[ -f ./uudecode/Makefile ] || exit 0; \
21300 r=`${PWD_COMMAND}`; export r; \
21301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21304 for flag in $(EXTRA_HOST_FLAGS) ; do \
21305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21307 echo "Doing distclean in uudecode" ; \
21309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21311 "RANLIB=$${RANLIB}" \
21312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21318 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
21319 maybe-maintainer-clean-uudecode:
21321 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
21323 maintainer-clean-uudecode:
21324 @[ -f ./uudecode/Makefile ] || exit 0; \
21325 r=`${PWD_COMMAND}`; export r; \
21326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21329 for flag in $(EXTRA_HOST_FLAGS) ; do \
21330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21332 echo "Doing maintainer-clean in uudecode" ; \
21334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21336 "RANLIB=$${RANLIB}" \
21337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21338 maintainer-clean) \
21344 .PHONY: configure-wdiff maybe-configure-wdiff
21345 maybe-configure-wdiff:
21347 maybe-configure-wdiff: configure-wdiff
21349 @test ! -f wdiff/Makefile || exit 0; \
21350 [ -d wdiff ] || mkdir wdiff; \
21351 r=`${PWD_COMMAND}`; export r; \
21352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21354 echo Configuring in wdiff; \
21355 cd wdiff || exit 1; \
21356 case $(srcdir) in \
21358 srcdiroption="--srcdir=."; \
21360 /* | [A-Za-z]:[\\/]*) \
21361 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
21362 libsrcdir="$$s/wdiff";; \
21364 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
21365 libsrcdir="$$s/wdiff";; \
21367 $(SHELL) $${libsrcdir}/configure \
21368 $(HOST_CONFIGARGS) $${srcdiroption} \
21372 .PHONY: all-wdiff maybe-all-wdiff
21376 maybe-all-wdiff: all-wdiff
21377 all-wdiff: configure-wdiff
21378 @r=`${PWD_COMMAND}`; export r; \
21379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21382 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) \
21386 .PHONY: check-wdiff maybe-check-wdiff
21389 maybe-check-wdiff: check-wdiff
21392 @r=`${PWD_COMMAND}`; export r; \
21393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21396 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
21400 .PHONY: install-wdiff maybe-install-wdiff
21401 maybe-install-wdiff:
21403 maybe-install-wdiff: install-wdiff
21405 install-wdiff: installdirs
21406 @r=`${PWD_COMMAND}`; export r; \
21407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21410 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
21414 # Other targets (info, dvi, etc.)
21416 .PHONY: maybe-info-wdiff info-wdiff
21419 maybe-info-wdiff: info-wdiff
21423 @[ -f ./wdiff/Makefile ] || exit 0; \
21424 r=`${PWD_COMMAND}`; export r; \
21425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21428 for flag in $(EXTRA_HOST_FLAGS) ; do \
21429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21431 echo "Doing info in wdiff" ; \
21433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21435 "RANLIB=$${RANLIB}" \
21436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21442 .PHONY: maybe-dvi-wdiff dvi-wdiff
21445 maybe-dvi-wdiff: dvi-wdiff
21449 @[ -f ./wdiff/Makefile ] || exit 0; \
21450 r=`${PWD_COMMAND}`; export r; \
21451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21454 for flag in $(EXTRA_HOST_FLAGS) ; do \
21455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21457 echo "Doing dvi in wdiff" ; \
21459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21461 "RANLIB=$${RANLIB}" \
21462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21468 .PHONY: maybe-html-wdiff html-wdiff
21471 maybe-html-wdiff: html-wdiff
21475 @[ -f ./wdiff/Makefile ] || exit 0; \
21476 r=`${PWD_COMMAND}`; export r; \
21477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21480 for flag in $(EXTRA_HOST_FLAGS) ; do \
21481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21483 echo "Doing html in wdiff" ; \
21485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21487 "RANLIB=$${RANLIB}" \
21488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21494 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
21497 maybe-TAGS-wdiff: TAGS-wdiff
21501 @[ -f ./wdiff/Makefile ] || exit 0; \
21502 r=`${PWD_COMMAND}`; export r; \
21503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21506 for flag in $(EXTRA_HOST_FLAGS) ; do \
21507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21509 echo "Doing TAGS in wdiff" ; \
21511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21513 "RANLIB=$${RANLIB}" \
21514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21520 .PHONY: maybe-install-info-wdiff install-info-wdiff
21521 maybe-install-info-wdiff:
21523 maybe-install-info-wdiff: install-info-wdiff
21525 install-info-wdiff: \
21528 @[ -f ./wdiff/Makefile ] || exit 0; \
21529 r=`${PWD_COMMAND}`; export r; \
21530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21533 for flag in $(EXTRA_HOST_FLAGS) ; do \
21534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21536 echo "Doing install-info in wdiff" ; \
21538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21540 "RANLIB=$${RANLIB}" \
21541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21547 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
21548 maybe-installcheck-wdiff:
21550 maybe-installcheck-wdiff: installcheck-wdiff
21552 installcheck-wdiff: \
21554 @[ -f ./wdiff/Makefile ] || exit 0; \
21555 r=`${PWD_COMMAND}`; export r; \
21556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21559 for flag in $(EXTRA_HOST_FLAGS) ; do \
21560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21562 echo "Doing installcheck in wdiff" ; \
21564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21566 "RANLIB=$${RANLIB}" \
21567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21573 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
21574 maybe-mostlyclean-wdiff:
21576 maybe-mostlyclean-wdiff: mostlyclean-wdiff
21579 @[ -f ./wdiff/Makefile ] || exit 0; \
21580 r=`${PWD_COMMAND}`; export r; \
21581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21584 for flag in $(EXTRA_HOST_FLAGS) ; do \
21585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21587 echo "Doing mostlyclean in wdiff" ; \
21589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21591 "RANLIB=$${RANLIB}" \
21592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21598 .PHONY: maybe-clean-wdiff clean-wdiff
21601 maybe-clean-wdiff: clean-wdiff
21604 @[ -f ./wdiff/Makefile ] || exit 0; \
21605 r=`${PWD_COMMAND}`; export r; \
21606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21609 for flag in $(EXTRA_HOST_FLAGS) ; do \
21610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21612 echo "Doing clean in wdiff" ; \
21614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21616 "RANLIB=$${RANLIB}" \
21617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21623 .PHONY: maybe-distclean-wdiff distclean-wdiff
21624 maybe-distclean-wdiff:
21626 maybe-distclean-wdiff: distclean-wdiff
21629 @[ -f ./wdiff/Makefile ] || exit 0; \
21630 r=`${PWD_COMMAND}`; export r; \
21631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21634 for flag in $(EXTRA_HOST_FLAGS) ; do \
21635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21637 echo "Doing distclean in wdiff" ; \
21639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21641 "RANLIB=$${RANLIB}" \
21642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21648 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
21649 maybe-maintainer-clean-wdiff:
21651 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
21653 maintainer-clean-wdiff:
21654 @[ -f ./wdiff/Makefile ] || exit 0; \
21655 r=`${PWD_COMMAND}`; export r; \
21656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21659 for flag in $(EXTRA_HOST_FLAGS) ; do \
21660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21662 echo "Doing maintainer-clean in wdiff" ; \
21664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21666 "RANLIB=$${RANLIB}" \
21667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21668 maintainer-clean) \
21674 .PHONY: configure-zip maybe-configure-zip
21675 maybe-configure-zip:
21677 maybe-configure-zip: configure-zip
21679 @test ! -f zip/Makefile || exit 0; \
21680 [ -d zip ] || mkdir zip; \
21681 r=`${PWD_COMMAND}`; export r; \
21682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21684 echo Configuring in zip; \
21685 cd zip || exit 1; \
21686 case $(srcdir) in \
21688 srcdiroption="--srcdir=."; \
21690 /* | [A-Za-z]:[\\/]*) \
21691 srcdiroption="--srcdir=$(srcdir)/zip"; \
21692 libsrcdir="$$s/zip";; \
21694 srcdiroption="--srcdir=../$(srcdir)/zip"; \
21695 libsrcdir="$$s/zip";; \
21697 $(SHELL) $${libsrcdir}/configure \
21698 $(HOST_CONFIGARGS) $${srcdiroption} \
21702 .PHONY: all-zip maybe-all-zip
21706 maybe-all-zip: all-zip
21707 all-zip: configure-zip
21708 @r=`${PWD_COMMAND}`; export r; \
21709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21712 (cd zip && $(MAKE) $(FLAGS_TO_PASS) \
21716 .PHONY: check-zip maybe-check-zip
21719 maybe-check-zip: check-zip
21721 # This module is only tested in a native toolchain.
21723 @if [ '$(host)' = '$(target)' ] ; then \
21724 r=`${PWD_COMMAND}`; export r; \
21725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21728 (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \
21733 .PHONY: install-zip maybe-install-zip
21736 maybe-install-zip: install-zip
21738 install-zip: installdirs
21739 @r=`${PWD_COMMAND}`; export r; \
21740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21743 (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
21747 # Other targets (info, dvi, etc.)
21749 .PHONY: maybe-info-zip info-zip
21752 maybe-info-zip: info-zip
21756 @[ -f ./zip/Makefile ] || exit 0; \
21757 r=`${PWD_COMMAND}`; export r; \
21758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21761 for flag in $(EXTRA_HOST_FLAGS) ; do \
21762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21764 echo "Doing info in zip" ; \
21766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21768 "RANLIB=$${RANLIB}" \
21769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21775 .PHONY: maybe-dvi-zip dvi-zip
21778 maybe-dvi-zip: dvi-zip
21782 @[ -f ./zip/Makefile ] || exit 0; \
21783 r=`${PWD_COMMAND}`; export r; \
21784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21787 for flag in $(EXTRA_HOST_FLAGS) ; do \
21788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21790 echo "Doing dvi in zip" ; \
21792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21794 "RANLIB=$${RANLIB}" \
21795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21801 .PHONY: maybe-html-zip html-zip
21804 maybe-html-zip: html-zip
21808 @[ -f ./zip/Makefile ] || exit 0; \
21809 r=`${PWD_COMMAND}`; export r; \
21810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21813 for flag in $(EXTRA_HOST_FLAGS) ; do \
21814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21816 echo "Doing html in zip" ; \
21818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21820 "RANLIB=$${RANLIB}" \
21821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21827 .PHONY: maybe-TAGS-zip TAGS-zip
21830 maybe-TAGS-zip: TAGS-zip
21834 @[ -f ./zip/Makefile ] || exit 0; \
21835 r=`${PWD_COMMAND}`; export r; \
21836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21839 for flag in $(EXTRA_HOST_FLAGS) ; do \
21840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21842 echo "Doing TAGS in zip" ; \
21844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21846 "RANLIB=$${RANLIB}" \
21847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21853 .PHONY: maybe-install-info-zip install-info-zip
21854 maybe-install-info-zip:
21856 maybe-install-info-zip: install-info-zip
21858 install-info-zip: \
21861 @[ -f ./zip/Makefile ] || exit 0; \
21862 r=`${PWD_COMMAND}`; export r; \
21863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21866 for flag in $(EXTRA_HOST_FLAGS) ; do \
21867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21869 echo "Doing install-info in zip" ; \
21871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21873 "RANLIB=$${RANLIB}" \
21874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21880 .PHONY: maybe-installcheck-zip installcheck-zip
21881 maybe-installcheck-zip:
21883 maybe-installcheck-zip: installcheck-zip
21885 installcheck-zip: \
21887 @[ -f ./zip/Makefile ] || exit 0; \
21888 r=`${PWD_COMMAND}`; export r; \
21889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21892 for flag in $(EXTRA_HOST_FLAGS) ; do \
21893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21895 echo "Doing installcheck in zip" ; \
21897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21899 "RANLIB=$${RANLIB}" \
21900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21906 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
21907 maybe-mostlyclean-zip:
21909 maybe-mostlyclean-zip: mostlyclean-zip
21912 @[ -f ./zip/Makefile ] || exit 0; \
21913 r=`${PWD_COMMAND}`; export r; \
21914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21917 for flag in $(EXTRA_HOST_FLAGS) ; do \
21918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21920 echo "Doing mostlyclean in zip" ; \
21922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21924 "RANLIB=$${RANLIB}" \
21925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21931 .PHONY: maybe-clean-zip clean-zip
21934 maybe-clean-zip: clean-zip
21937 @[ -f ./zip/Makefile ] || exit 0; \
21938 r=`${PWD_COMMAND}`; export r; \
21939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21942 for flag in $(EXTRA_HOST_FLAGS) ; do \
21943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21945 echo "Doing clean in zip" ; \
21947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21949 "RANLIB=$${RANLIB}" \
21950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21956 .PHONY: maybe-distclean-zip distclean-zip
21957 maybe-distclean-zip:
21959 maybe-distclean-zip: distclean-zip
21962 @[ -f ./zip/Makefile ] || exit 0; \
21963 r=`${PWD_COMMAND}`; export r; \
21964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21967 for flag in $(EXTRA_HOST_FLAGS) ; do \
21968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21970 echo "Doing distclean in zip" ; \
21972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21974 "RANLIB=$${RANLIB}" \
21975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21981 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
21982 maybe-maintainer-clean-zip:
21984 maybe-maintainer-clean-zip: maintainer-clean-zip
21986 maintainer-clean-zip:
21987 @[ -f ./zip/Makefile ] || exit 0; \
21988 r=`${PWD_COMMAND}`; export r; \
21989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21992 for flag in $(EXTRA_HOST_FLAGS) ; do \
21993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21995 echo "Doing maintainer-clean in zip" ; \
21997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21999 "RANLIB=$${RANLIB}" \
22000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22001 maintainer-clean) \
22007 .PHONY: configure-zlib maybe-configure-zlib
22008 maybe-configure-zlib:
22010 maybe-configure-zlib: configure-zlib
22012 @test -f stage_last && exit 0; \
22013 test ! -f zlib/Makefile || exit 0; \
22014 [ -d zlib ] || mkdir zlib; \
22015 r=`${PWD_COMMAND}`; export r; \
22016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22018 echo Configuring in zlib; \
22019 cd zlib || exit 1; \
22020 case $(srcdir) in \
22022 srcdiroption="--srcdir=."; \
22024 /* | [A-Za-z]:[\\/]*) \
22025 srcdiroption="--srcdir=$(srcdir)/zlib"; \
22026 libsrcdir="$$s/zlib";; \
22028 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
22029 libsrcdir="$$s/zlib";; \
22031 $(SHELL) $${libsrcdir}/configure \
22032 $(HOST_CONFIGARGS) $${srcdiroption} \
22036 .PHONY: all-zlib maybe-all-zlib
22040 maybe-all-zlib: all-zlib
22041 all-zlib: configure-zlib
22042 @test -f stage_last && exit 0; \
22043 r=`${PWD_COMMAND}`; export r; \
22044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22047 (cd zlib && $(MAKE) $(FLAGS_TO_PASS) \
22051 .PHONY: check-zlib maybe-check-zlib
22054 maybe-check-zlib: check-zlib
22060 .PHONY: install-zlib maybe-install-zlib
22061 maybe-install-zlib:
22063 maybe-install-zlib: install-zlib
22069 # Other targets (info, dvi, etc.)
22071 .PHONY: maybe-info-zlib info-zlib
22074 maybe-info-zlib: info-zlib
22078 @[ -f ./zlib/Makefile ] || exit 0; \
22079 r=`${PWD_COMMAND}`; export r; \
22080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22083 for flag in $(EXTRA_HOST_FLAGS) ; do \
22084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22086 echo "Doing info in zlib" ; \
22088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22090 "RANLIB=$${RANLIB}" \
22091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22097 .PHONY: maybe-dvi-zlib dvi-zlib
22100 maybe-dvi-zlib: dvi-zlib
22104 @[ -f ./zlib/Makefile ] || exit 0; \
22105 r=`${PWD_COMMAND}`; export r; \
22106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22109 for flag in $(EXTRA_HOST_FLAGS) ; do \
22110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22112 echo "Doing dvi in zlib" ; \
22114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22116 "RANLIB=$${RANLIB}" \
22117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22123 .PHONY: maybe-html-zlib html-zlib
22126 maybe-html-zlib: html-zlib
22130 @[ -f ./zlib/Makefile ] || exit 0; \
22131 r=`${PWD_COMMAND}`; export r; \
22132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22135 for flag in $(EXTRA_HOST_FLAGS) ; do \
22136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22138 echo "Doing html in zlib" ; \
22140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22142 "RANLIB=$${RANLIB}" \
22143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22149 .PHONY: maybe-TAGS-zlib TAGS-zlib
22152 maybe-TAGS-zlib: TAGS-zlib
22156 @[ -f ./zlib/Makefile ] || exit 0; \
22157 r=`${PWD_COMMAND}`; export r; \
22158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22161 for flag in $(EXTRA_HOST_FLAGS) ; do \
22162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22164 echo "Doing TAGS in zlib" ; \
22166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22168 "RANLIB=$${RANLIB}" \
22169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22175 .PHONY: maybe-install-info-zlib install-info-zlib
22176 maybe-install-info-zlib:
22178 maybe-install-info-zlib: install-info-zlib
22180 install-info-zlib: \
22183 @[ -f ./zlib/Makefile ] || exit 0; \
22184 r=`${PWD_COMMAND}`; export r; \
22185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22188 for flag in $(EXTRA_HOST_FLAGS) ; do \
22189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22191 echo "Doing install-info in zlib" ; \
22193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22195 "RANLIB=$${RANLIB}" \
22196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22202 .PHONY: maybe-installcheck-zlib installcheck-zlib
22203 maybe-installcheck-zlib:
22205 maybe-installcheck-zlib: installcheck-zlib
22207 installcheck-zlib: \
22209 @[ -f ./zlib/Makefile ] || exit 0; \
22210 r=`${PWD_COMMAND}`; export r; \
22211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22214 for flag in $(EXTRA_HOST_FLAGS) ; do \
22215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22217 echo "Doing installcheck in zlib" ; \
22219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22221 "RANLIB=$${RANLIB}" \
22222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22228 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
22229 maybe-mostlyclean-zlib:
22231 maybe-mostlyclean-zlib: mostlyclean-zlib
22234 @[ -f ./zlib/Makefile ] || exit 0; \
22235 r=`${PWD_COMMAND}`; export r; \
22236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22239 for flag in $(EXTRA_HOST_FLAGS) ; do \
22240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22242 echo "Doing mostlyclean in zlib" ; \
22244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22246 "RANLIB=$${RANLIB}" \
22247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22253 .PHONY: maybe-clean-zlib clean-zlib
22256 maybe-clean-zlib: clean-zlib
22259 @[ -f ./zlib/Makefile ] || exit 0; \
22260 r=`${PWD_COMMAND}`; export r; \
22261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22264 for flag in $(EXTRA_HOST_FLAGS) ; do \
22265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22267 echo "Doing clean in zlib" ; \
22269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22271 "RANLIB=$${RANLIB}" \
22272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22278 .PHONY: maybe-distclean-zlib distclean-zlib
22279 maybe-distclean-zlib:
22281 maybe-distclean-zlib: distclean-zlib
22284 @[ -f ./zlib/Makefile ] || exit 0; \
22285 r=`${PWD_COMMAND}`; export r; \
22286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22289 for flag in $(EXTRA_HOST_FLAGS) ; do \
22290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22292 echo "Doing distclean in zlib" ; \
22294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22296 "RANLIB=$${RANLIB}" \
22297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22303 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
22304 maybe-maintainer-clean-zlib:
22306 maybe-maintainer-clean-zlib: maintainer-clean-zlib
22308 maintainer-clean-zlib:
22309 @[ -f ./zlib/Makefile ] || exit 0; \
22310 r=`${PWD_COMMAND}`; export r; \
22311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22314 for flag in $(EXTRA_HOST_FLAGS) ; do \
22315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22317 echo "Doing maintainer-clean in zlib" ; \
22319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22321 "RANLIB=$${RANLIB}" \
22322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22323 maintainer-clean) \
22329 .PHONY: configure-gdb maybe-configure-gdb
22330 maybe-configure-gdb:
22332 maybe-configure-gdb: configure-gdb
22334 @test ! -f gdb/Makefile || exit 0; \
22335 [ -d gdb ] || mkdir gdb; \
22336 r=`${PWD_COMMAND}`; export r; \
22337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22339 echo Configuring in gdb; \
22340 cd gdb || exit 1; \
22341 case $(srcdir) in \
22343 srcdiroption="--srcdir=."; \
22345 /* | [A-Za-z]:[\\/]*) \
22346 srcdiroption="--srcdir=$(srcdir)/gdb"; \
22347 libsrcdir="$$s/gdb";; \
22349 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
22350 libsrcdir="$$s/gdb";; \
22352 $(SHELL) $${libsrcdir}/configure \
22353 $(HOST_CONFIGARGS) $${srcdiroption} \
22357 .PHONY: all-gdb maybe-all-gdb
22361 maybe-all-gdb: all-gdb
22362 all-gdb: configure-gdb
22363 @r=`${PWD_COMMAND}`; export r; \
22364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22367 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
22371 .PHONY: check-gdb maybe-check-gdb
22374 maybe-check-gdb: check-gdb
22377 @r=`${PWD_COMMAND}`; export r; \
22378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22381 (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
22385 .PHONY: install-gdb maybe-install-gdb
22388 maybe-install-gdb: install-gdb
22390 install-gdb: installdirs
22391 @r=`${PWD_COMMAND}`; export r; \
22392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22395 (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
22399 # Other targets (info, dvi, etc.)
22401 .PHONY: maybe-info-gdb info-gdb
22404 maybe-info-gdb: info-gdb
22408 @[ -f ./gdb/Makefile ] || exit 0; \
22409 r=`${PWD_COMMAND}`; export r; \
22410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22413 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22416 echo "Doing info in gdb" ; \
22418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22420 "RANLIB=$${RANLIB}" \
22421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22427 .PHONY: maybe-dvi-gdb dvi-gdb
22430 maybe-dvi-gdb: dvi-gdb
22434 @[ -f ./gdb/Makefile ] || exit 0; \
22435 r=`${PWD_COMMAND}`; export r; \
22436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22439 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22442 echo "Doing dvi in gdb" ; \
22444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22446 "RANLIB=$${RANLIB}" \
22447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22453 .PHONY: maybe-html-gdb html-gdb
22456 maybe-html-gdb: html-gdb
22460 @[ -f ./gdb/Makefile ] || exit 0; \
22461 r=`${PWD_COMMAND}`; export r; \
22462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22465 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22468 echo "Doing html in gdb" ; \
22470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22472 "RANLIB=$${RANLIB}" \
22473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22479 .PHONY: maybe-TAGS-gdb TAGS-gdb
22482 maybe-TAGS-gdb: TAGS-gdb
22486 @[ -f ./gdb/Makefile ] || exit 0; \
22487 r=`${PWD_COMMAND}`; export r; \
22488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22491 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22494 echo "Doing TAGS in gdb" ; \
22496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22498 "RANLIB=$${RANLIB}" \
22499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22505 .PHONY: maybe-install-info-gdb install-info-gdb
22506 maybe-install-info-gdb:
22508 maybe-install-info-gdb: install-info-gdb
22510 install-info-gdb: \
22513 @[ -f ./gdb/Makefile ] || exit 0; \
22514 r=`${PWD_COMMAND}`; export r; \
22515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22518 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22521 echo "Doing install-info in gdb" ; \
22523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22525 "RANLIB=$${RANLIB}" \
22526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22532 .PHONY: maybe-installcheck-gdb installcheck-gdb
22533 maybe-installcheck-gdb:
22535 maybe-installcheck-gdb: installcheck-gdb
22537 installcheck-gdb: \
22539 @[ -f ./gdb/Makefile ] || exit 0; \
22540 r=`${PWD_COMMAND}`; export r; \
22541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22544 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22547 echo "Doing installcheck in gdb" ; \
22549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22551 "RANLIB=$${RANLIB}" \
22552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22558 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
22559 maybe-mostlyclean-gdb:
22561 maybe-mostlyclean-gdb: mostlyclean-gdb
22564 @[ -f ./gdb/Makefile ] || exit 0; \
22565 r=`${PWD_COMMAND}`; export r; \
22566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22569 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22572 echo "Doing mostlyclean in gdb" ; \
22574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22576 "RANLIB=$${RANLIB}" \
22577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22583 .PHONY: maybe-clean-gdb clean-gdb
22586 maybe-clean-gdb: clean-gdb
22589 @[ -f ./gdb/Makefile ] || exit 0; \
22590 r=`${PWD_COMMAND}`; export r; \
22591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22594 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22597 echo "Doing clean in gdb" ; \
22599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22601 "RANLIB=$${RANLIB}" \
22602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22608 .PHONY: maybe-distclean-gdb distclean-gdb
22609 maybe-distclean-gdb:
22611 maybe-distclean-gdb: distclean-gdb
22614 @[ -f ./gdb/Makefile ] || exit 0; \
22615 r=`${PWD_COMMAND}`; export r; \
22616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22619 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22622 echo "Doing distclean in gdb" ; \
22624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22626 "RANLIB=$${RANLIB}" \
22627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22633 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
22634 maybe-maintainer-clean-gdb:
22636 maybe-maintainer-clean-gdb: maintainer-clean-gdb
22638 maintainer-clean-gdb:
22639 @[ -f ./gdb/Makefile ] || exit 0; \
22640 r=`${PWD_COMMAND}`; export r; \
22641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22644 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22647 echo "Doing maintainer-clean in gdb" ; \
22649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22651 "RANLIB=$${RANLIB}" \
22652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22653 maintainer-clean) \
22659 .PHONY: configure-expect maybe-configure-expect
22660 maybe-configure-expect:
22662 maybe-configure-expect: configure-expect
22664 @test ! -f expect/Makefile || exit 0; \
22665 [ -d expect ] || mkdir expect; \
22666 r=`${PWD_COMMAND}`; export r; \
22667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22669 echo Configuring in expect; \
22670 cd expect || exit 1; \
22671 case $(srcdir) in \
22673 srcdiroption="--srcdir=."; \
22675 /* | [A-Za-z]:[\\/]*) \
22676 srcdiroption="--srcdir=$(srcdir)/expect"; \
22677 libsrcdir="$$s/expect";; \
22679 srcdiroption="--srcdir=../$(srcdir)/expect"; \
22680 libsrcdir="$$s/expect";; \
22682 $(SHELL) $${libsrcdir}/configure \
22683 $(HOST_CONFIGARGS) $${srcdiroption} \
22687 .PHONY: all-expect maybe-all-expect
22691 maybe-all-expect: all-expect
22692 all-expect: configure-expect
22693 @r=`${PWD_COMMAND}`; export r; \
22694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22697 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
22701 .PHONY: check-expect maybe-check-expect
22702 maybe-check-expect:
22704 maybe-check-expect: check-expect
22707 @r=`${PWD_COMMAND}`; export r; \
22708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22711 (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
22715 .PHONY: install-expect maybe-install-expect
22716 maybe-install-expect:
22718 maybe-install-expect: install-expect
22720 install-expect: installdirs
22721 @r=`${PWD_COMMAND}`; export r; \
22722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22725 (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
22729 # Other targets (info, dvi, etc.)
22731 .PHONY: maybe-info-expect info-expect
22734 maybe-info-expect: info-expect
22738 @[ -f ./expect/Makefile ] || exit 0; \
22739 r=`${PWD_COMMAND}`; export r; \
22740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22743 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22746 echo "Doing info in expect" ; \
22748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22750 "RANLIB=$${RANLIB}" \
22751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22757 .PHONY: maybe-dvi-expect dvi-expect
22760 maybe-dvi-expect: dvi-expect
22764 @[ -f ./expect/Makefile ] || exit 0; \
22765 r=`${PWD_COMMAND}`; export r; \
22766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22769 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22772 echo "Doing dvi in expect" ; \
22774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22776 "RANLIB=$${RANLIB}" \
22777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22783 .PHONY: maybe-html-expect html-expect
22786 maybe-html-expect: html-expect
22790 @[ -f ./expect/Makefile ] || exit 0; \
22791 r=`${PWD_COMMAND}`; export r; \
22792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22795 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22798 echo "Doing html in expect" ; \
22800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22802 "RANLIB=$${RANLIB}" \
22803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22809 .PHONY: maybe-TAGS-expect TAGS-expect
22812 maybe-TAGS-expect: TAGS-expect
22816 @[ -f ./expect/Makefile ] || exit 0; \
22817 r=`${PWD_COMMAND}`; export r; \
22818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22821 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22824 echo "Doing TAGS in expect" ; \
22826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22828 "RANLIB=$${RANLIB}" \
22829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22835 .PHONY: maybe-install-info-expect install-info-expect
22836 maybe-install-info-expect:
22838 maybe-install-info-expect: install-info-expect
22840 install-info-expect: \
22843 @[ -f ./expect/Makefile ] || exit 0; \
22844 r=`${PWD_COMMAND}`; export r; \
22845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22848 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22851 echo "Doing install-info in expect" ; \
22853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22855 "RANLIB=$${RANLIB}" \
22856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22862 .PHONY: maybe-installcheck-expect installcheck-expect
22863 maybe-installcheck-expect:
22865 maybe-installcheck-expect: installcheck-expect
22867 installcheck-expect: \
22869 @[ -f ./expect/Makefile ] || exit 0; \
22870 r=`${PWD_COMMAND}`; export r; \
22871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22874 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22877 echo "Doing installcheck in expect" ; \
22879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22881 "RANLIB=$${RANLIB}" \
22882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22888 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
22889 maybe-mostlyclean-expect:
22891 maybe-mostlyclean-expect: mostlyclean-expect
22893 mostlyclean-expect:
22894 @[ -f ./expect/Makefile ] || exit 0; \
22895 r=`${PWD_COMMAND}`; export r; \
22896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22899 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22902 echo "Doing mostlyclean in expect" ; \
22904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22906 "RANLIB=$${RANLIB}" \
22907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22913 .PHONY: maybe-clean-expect clean-expect
22914 maybe-clean-expect:
22916 maybe-clean-expect: clean-expect
22919 @[ -f ./expect/Makefile ] || exit 0; \
22920 r=`${PWD_COMMAND}`; export r; \
22921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22924 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22927 echo "Doing clean in expect" ; \
22929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22931 "RANLIB=$${RANLIB}" \
22932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22938 .PHONY: maybe-distclean-expect distclean-expect
22939 maybe-distclean-expect:
22941 maybe-distclean-expect: distclean-expect
22944 @[ -f ./expect/Makefile ] || exit 0; \
22945 r=`${PWD_COMMAND}`; export r; \
22946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22949 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22952 echo "Doing distclean in expect" ; \
22954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22956 "RANLIB=$${RANLIB}" \
22957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22963 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
22964 maybe-maintainer-clean-expect:
22966 maybe-maintainer-clean-expect: maintainer-clean-expect
22968 maintainer-clean-expect:
22969 @[ -f ./expect/Makefile ] || exit 0; \
22970 r=`${PWD_COMMAND}`; export r; \
22971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22974 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22977 echo "Doing maintainer-clean in expect" ; \
22979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22981 "RANLIB=$${RANLIB}" \
22982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22983 maintainer-clean) \
22989 .PHONY: configure-guile maybe-configure-guile
22990 maybe-configure-guile:
22992 maybe-configure-guile: configure-guile
22994 @test ! -f guile/Makefile || exit 0; \
22995 [ -d guile ] || mkdir guile; \
22996 r=`${PWD_COMMAND}`; export r; \
22997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22999 echo Configuring in guile; \
23000 cd guile || exit 1; \
23001 case $(srcdir) in \
23003 srcdiroption="--srcdir=."; \
23005 /* | [A-Za-z]:[\\/]*) \
23006 srcdiroption="--srcdir=$(srcdir)/guile"; \
23007 libsrcdir="$$s/guile";; \
23009 srcdiroption="--srcdir=../$(srcdir)/guile"; \
23010 libsrcdir="$$s/guile";; \
23012 $(SHELL) $${libsrcdir}/configure \
23013 $(HOST_CONFIGARGS) $${srcdiroption} \
23017 .PHONY: all-guile maybe-all-guile
23021 maybe-all-guile: all-guile
23022 all-guile: configure-guile
23023 @r=`${PWD_COMMAND}`; export r; \
23024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23027 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
23031 .PHONY: check-guile maybe-check-guile
23034 maybe-check-guile: check-guile
23037 @r=`${PWD_COMMAND}`; export r; \
23038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23041 (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
23045 .PHONY: install-guile maybe-install-guile
23046 maybe-install-guile:
23048 maybe-install-guile: install-guile
23050 install-guile: installdirs
23051 @r=`${PWD_COMMAND}`; export r; \
23052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23055 (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
23059 # Other targets (info, dvi, etc.)
23061 .PHONY: maybe-info-guile info-guile
23064 maybe-info-guile: info-guile
23068 @[ -f ./guile/Makefile ] || exit 0; \
23069 r=`${PWD_COMMAND}`; export r; \
23070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23073 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23076 echo "Doing info in guile" ; \
23078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23080 "RANLIB=$${RANLIB}" \
23081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23087 .PHONY: maybe-dvi-guile dvi-guile
23090 maybe-dvi-guile: dvi-guile
23094 @[ -f ./guile/Makefile ] || exit 0; \
23095 r=`${PWD_COMMAND}`; export r; \
23096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23099 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23102 echo "Doing dvi in guile" ; \
23104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23106 "RANLIB=$${RANLIB}" \
23107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23113 .PHONY: maybe-html-guile html-guile
23116 maybe-html-guile: html-guile
23120 @[ -f ./guile/Makefile ] || exit 0; \
23121 r=`${PWD_COMMAND}`; export r; \
23122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23125 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23128 echo "Doing html in guile" ; \
23130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23132 "RANLIB=$${RANLIB}" \
23133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23139 .PHONY: maybe-TAGS-guile TAGS-guile
23142 maybe-TAGS-guile: TAGS-guile
23146 @[ -f ./guile/Makefile ] || exit 0; \
23147 r=`${PWD_COMMAND}`; export r; \
23148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23151 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23154 echo "Doing TAGS in guile" ; \
23156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23158 "RANLIB=$${RANLIB}" \
23159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23165 .PHONY: maybe-install-info-guile install-info-guile
23166 maybe-install-info-guile:
23168 maybe-install-info-guile: install-info-guile
23170 install-info-guile: \
23173 @[ -f ./guile/Makefile ] || exit 0; \
23174 r=`${PWD_COMMAND}`; export r; \
23175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23178 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23181 echo "Doing install-info in guile" ; \
23183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23185 "RANLIB=$${RANLIB}" \
23186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23192 .PHONY: maybe-installcheck-guile installcheck-guile
23193 maybe-installcheck-guile:
23195 maybe-installcheck-guile: installcheck-guile
23197 installcheck-guile: \
23199 @[ -f ./guile/Makefile ] || exit 0; \
23200 r=`${PWD_COMMAND}`; export r; \
23201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23204 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23207 echo "Doing installcheck in guile" ; \
23209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23211 "RANLIB=$${RANLIB}" \
23212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23218 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
23219 maybe-mostlyclean-guile:
23221 maybe-mostlyclean-guile: mostlyclean-guile
23224 @[ -f ./guile/Makefile ] || exit 0; \
23225 r=`${PWD_COMMAND}`; export r; \
23226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23229 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23232 echo "Doing mostlyclean in guile" ; \
23234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23236 "RANLIB=$${RANLIB}" \
23237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23243 .PHONY: maybe-clean-guile clean-guile
23246 maybe-clean-guile: clean-guile
23249 @[ -f ./guile/Makefile ] || exit 0; \
23250 r=`${PWD_COMMAND}`; export r; \
23251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23254 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23257 echo "Doing clean in guile" ; \
23259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23261 "RANLIB=$${RANLIB}" \
23262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23268 .PHONY: maybe-distclean-guile distclean-guile
23269 maybe-distclean-guile:
23271 maybe-distclean-guile: distclean-guile
23274 @[ -f ./guile/Makefile ] || exit 0; \
23275 r=`${PWD_COMMAND}`; export r; \
23276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23279 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23282 echo "Doing distclean in guile" ; \
23284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23286 "RANLIB=$${RANLIB}" \
23287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23293 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
23294 maybe-maintainer-clean-guile:
23296 maybe-maintainer-clean-guile: maintainer-clean-guile
23298 maintainer-clean-guile:
23299 @[ -f ./guile/Makefile ] || exit 0; \
23300 r=`${PWD_COMMAND}`; export r; \
23301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23304 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23307 echo "Doing maintainer-clean in guile" ; \
23309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23311 "RANLIB=$${RANLIB}" \
23312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23313 maintainer-clean) \
23319 .PHONY: configure-tk maybe-configure-tk
23320 maybe-configure-tk:
23322 maybe-configure-tk: configure-tk
23324 @test ! -f tk/Makefile || exit 0; \
23325 [ -d tk ] || mkdir tk; \
23326 r=`${PWD_COMMAND}`; export r; \
23327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23329 echo Configuring in tk; \
23331 case $(srcdir) in \
23333 srcdiroption="--srcdir=."; \
23335 /* | [A-Za-z]:[\\/]*) \
23336 srcdiroption="--srcdir=$(srcdir)/tk"; \
23337 libsrcdir="$$s/tk";; \
23339 srcdiroption="--srcdir=../$(srcdir)/tk"; \
23340 libsrcdir="$$s/tk";; \
23342 $(SHELL) $${libsrcdir}/configure \
23343 $(HOST_CONFIGARGS) $${srcdiroption} \
23347 .PHONY: all-tk maybe-all-tk
23351 maybe-all-tk: all-tk
23352 all-tk: configure-tk
23353 @r=`${PWD_COMMAND}`; export r; \
23354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23357 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) \
23361 .PHONY: check-tk maybe-check-tk
23364 maybe-check-tk: check-tk
23367 @r=`${PWD_COMMAND}`; export r; \
23368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23371 (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
23375 .PHONY: install-tk maybe-install-tk
23378 maybe-install-tk: install-tk
23380 install-tk: installdirs
23381 @r=`${PWD_COMMAND}`; export r; \
23382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23385 (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
23389 # Other targets (info, dvi, etc.)
23391 .PHONY: maybe-info-tk info-tk
23394 maybe-info-tk: info-tk
23398 @[ -f ./tk/Makefile ] || exit 0; \
23399 r=`${PWD_COMMAND}`; export r; \
23400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23403 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23406 echo "Doing info in tk" ; \
23408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23410 "RANLIB=$${RANLIB}" \
23411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23417 .PHONY: maybe-dvi-tk dvi-tk
23420 maybe-dvi-tk: dvi-tk
23424 @[ -f ./tk/Makefile ] || exit 0; \
23425 r=`${PWD_COMMAND}`; export r; \
23426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23429 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23432 echo "Doing dvi in tk" ; \
23434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23436 "RANLIB=$${RANLIB}" \
23437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23443 .PHONY: maybe-html-tk html-tk
23446 maybe-html-tk: html-tk
23450 @[ -f ./tk/Makefile ] || exit 0; \
23451 r=`${PWD_COMMAND}`; export r; \
23452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23455 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23458 echo "Doing html in tk" ; \
23460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23462 "RANLIB=$${RANLIB}" \
23463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23469 .PHONY: maybe-TAGS-tk TAGS-tk
23472 maybe-TAGS-tk: TAGS-tk
23476 @[ -f ./tk/Makefile ] || exit 0; \
23477 r=`${PWD_COMMAND}`; export r; \
23478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23481 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23484 echo "Doing TAGS in tk" ; \
23486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23488 "RANLIB=$${RANLIB}" \
23489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23495 .PHONY: maybe-install-info-tk install-info-tk
23496 maybe-install-info-tk:
23498 maybe-install-info-tk: install-info-tk
23503 @[ -f ./tk/Makefile ] || exit 0; \
23504 r=`${PWD_COMMAND}`; export r; \
23505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23508 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23511 echo "Doing install-info in tk" ; \
23513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23515 "RANLIB=$${RANLIB}" \
23516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23522 .PHONY: maybe-installcheck-tk installcheck-tk
23523 maybe-installcheck-tk:
23525 maybe-installcheck-tk: installcheck-tk
23529 @[ -f ./tk/Makefile ] || exit 0; \
23530 r=`${PWD_COMMAND}`; export r; \
23531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23534 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23537 echo "Doing installcheck in tk" ; \
23539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23541 "RANLIB=$${RANLIB}" \
23542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23548 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
23549 maybe-mostlyclean-tk:
23551 maybe-mostlyclean-tk: mostlyclean-tk
23554 @[ -f ./tk/Makefile ] || exit 0; \
23555 r=`${PWD_COMMAND}`; export r; \
23556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23559 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23562 echo "Doing mostlyclean in tk" ; \
23564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23566 "RANLIB=$${RANLIB}" \
23567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23573 .PHONY: maybe-clean-tk clean-tk
23576 maybe-clean-tk: clean-tk
23579 @[ -f ./tk/Makefile ] || exit 0; \
23580 r=`${PWD_COMMAND}`; export r; \
23581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23584 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23587 echo "Doing clean in tk" ; \
23589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23591 "RANLIB=$${RANLIB}" \
23592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23598 .PHONY: maybe-distclean-tk distclean-tk
23599 maybe-distclean-tk:
23601 maybe-distclean-tk: distclean-tk
23604 @[ -f ./tk/Makefile ] || exit 0; \
23605 r=`${PWD_COMMAND}`; export r; \
23606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23609 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23612 echo "Doing distclean in tk" ; \
23614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23616 "RANLIB=$${RANLIB}" \
23617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23623 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
23624 maybe-maintainer-clean-tk:
23626 maybe-maintainer-clean-tk: maintainer-clean-tk
23628 maintainer-clean-tk:
23629 @[ -f ./tk/Makefile ] || exit 0; \
23630 r=`${PWD_COMMAND}`; export r; \
23631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23634 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23637 echo "Doing maintainer-clean in tk" ; \
23639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23641 "RANLIB=$${RANLIB}" \
23642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23643 maintainer-clean) \
23649 .PHONY: configure-libtermcap maybe-configure-libtermcap
23650 maybe-configure-libtermcap:
23652 maybe-configure-libtermcap: configure-libtermcap
23653 configure-libtermcap:
23654 @test ! -f libtermcap/Makefile || exit 0; \
23655 [ -d libtermcap ] || mkdir libtermcap; \
23656 r=`${PWD_COMMAND}`; export r; \
23657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23659 echo Configuring in libtermcap; \
23660 cd libtermcap || exit 1; \
23661 case $(srcdir) in \
23663 srcdiroption="--srcdir=."; \
23665 /* | [A-Za-z]:[\\/]*) \
23666 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
23667 libsrcdir="$$s/libtermcap";; \
23669 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
23670 libsrcdir="$$s/libtermcap";; \
23672 $(SHELL) $${libsrcdir}/configure \
23673 $(HOST_CONFIGARGS) $${srcdiroption} \
23677 .PHONY: all-libtermcap maybe-all-libtermcap
23678 maybe-all-libtermcap:
23680 TARGET-libtermcap=all
23681 maybe-all-libtermcap: all-libtermcap
23682 all-libtermcap: configure-libtermcap
23683 @r=`${PWD_COMMAND}`; export r; \
23684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23687 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) \
23688 $(TARGET-libtermcap))
23691 .PHONY: check-libtermcap maybe-check-libtermcap
23692 maybe-check-libtermcap:
23694 maybe-check-libtermcap: check-libtermcap
23700 .PHONY: install-libtermcap maybe-install-libtermcap
23701 maybe-install-libtermcap:
23703 maybe-install-libtermcap: install-libtermcap
23705 install-libtermcap: installdirs
23706 @r=`${PWD_COMMAND}`; export r; \
23707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23710 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
23714 # Other targets (info, dvi, etc.)
23716 .PHONY: maybe-info-libtermcap info-libtermcap
23717 maybe-info-libtermcap:
23719 maybe-info-libtermcap: info-libtermcap
23722 configure-libtermcap
23723 @[ -f ./libtermcap/Makefile ] || exit 0; \
23724 r=`${PWD_COMMAND}`; export r; \
23725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23728 for flag in $(EXTRA_HOST_FLAGS) ; do \
23729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23731 echo "Doing info in libtermcap" ; \
23732 (cd libtermcap && \
23733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23735 "RANLIB=$${RANLIB}" \
23736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23742 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
23743 maybe-dvi-libtermcap:
23745 maybe-dvi-libtermcap: dvi-libtermcap
23748 configure-libtermcap
23749 @[ -f ./libtermcap/Makefile ] || exit 0; \
23750 r=`${PWD_COMMAND}`; export r; \
23751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23754 for flag in $(EXTRA_HOST_FLAGS) ; do \
23755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23757 echo "Doing dvi in libtermcap" ; \
23758 (cd libtermcap && \
23759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23761 "RANLIB=$${RANLIB}" \
23762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23768 .PHONY: maybe-html-libtermcap html-libtermcap
23769 maybe-html-libtermcap:
23771 maybe-html-libtermcap: html-libtermcap
23774 configure-libtermcap
23775 @[ -f ./libtermcap/Makefile ] || exit 0; \
23776 r=`${PWD_COMMAND}`; export r; \
23777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23780 for flag in $(EXTRA_HOST_FLAGS) ; do \
23781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23783 echo "Doing html in libtermcap" ; \
23784 (cd libtermcap && \
23785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23787 "RANLIB=$${RANLIB}" \
23788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23794 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
23795 maybe-TAGS-libtermcap:
23797 maybe-TAGS-libtermcap: TAGS-libtermcap
23800 configure-libtermcap
23801 @[ -f ./libtermcap/Makefile ] || exit 0; \
23802 r=`${PWD_COMMAND}`; export r; \
23803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23806 for flag in $(EXTRA_HOST_FLAGS) ; do \
23807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23809 echo "Doing TAGS in libtermcap" ; \
23810 (cd libtermcap && \
23811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23813 "RANLIB=$${RANLIB}" \
23814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23820 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
23821 maybe-install-info-libtermcap:
23823 maybe-install-info-libtermcap: install-info-libtermcap
23825 install-info-libtermcap: \
23826 configure-libtermcap \
23828 @[ -f ./libtermcap/Makefile ] || exit 0; \
23829 r=`${PWD_COMMAND}`; export r; \
23830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23833 for flag in $(EXTRA_HOST_FLAGS) ; do \
23834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23836 echo "Doing install-info in libtermcap" ; \
23837 (cd libtermcap && \
23838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23840 "RANLIB=$${RANLIB}" \
23841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23847 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
23848 maybe-installcheck-libtermcap:
23850 maybe-installcheck-libtermcap: installcheck-libtermcap
23852 installcheck-libtermcap: \
23853 configure-libtermcap
23854 @[ -f ./libtermcap/Makefile ] || exit 0; \
23855 r=`${PWD_COMMAND}`; export r; \
23856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23859 for flag in $(EXTRA_HOST_FLAGS) ; do \
23860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23862 echo "Doing installcheck in libtermcap" ; \
23863 (cd libtermcap && \
23864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23866 "RANLIB=$${RANLIB}" \
23867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23873 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
23874 maybe-mostlyclean-libtermcap:
23876 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
23878 # libtermcap doesn't support mostlyclean.
23879 mostlyclean-libtermcap:
23883 .PHONY: maybe-clean-libtermcap clean-libtermcap
23884 maybe-clean-libtermcap:
23886 maybe-clean-libtermcap: clean-libtermcap
23888 # libtermcap doesn't support clean.
23893 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
23894 maybe-distclean-libtermcap:
23896 maybe-distclean-libtermcap: distclean-libtermcap
23898 # libtermcap doesn't support distclean.
23899 distclean-libtermcap:
23903 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
23904 maybe-maintainer-clean-libtermcap:
23906 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
23908 # libtermcap doesn't support maintainer-clean.
23909 maintainer-clean-libtermcap:
23914 .PHONY: configure-utils maybe-configure-utils
23915 maybe-configure-utils:
23917 maybe-configure-utils: configure-utils
23919 @test ! -f utils/Makefile || exit 0; \
23920 [ -d utils ] || mkdir utils; \
23921 r=`${PWD_COMMAND}`; export r; \
23922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23924 echo Configuring in utils; \
23925 cd utils || exit 1; \
23926 case $(srcdir) in \
23928 srcdiroption="--srcdir=."; \
23930 /* | [A-Za-z]:[\\/]*) \
23931 srcdiroption="--srcdir=$(srcdir)/utils"; \
23932 libsrcdir="$$s/utils";; \
23934 srcdiroption="--srcdir=../$(srcdir)/utils"; \
23935 libsrcdir="$$s/utils";; \
23937 $(SHELL) $${libsrcdir}/configure \
23938 $(HOST_CONFIGARGS) $${srcdiroption} \
23942 .PHONY: all-utils maybe-all-utils
23946 maybe-all-utils: all-utils
23947 all-utils: configure-utils
23948 @r=`${PWD_COMMAND}`; export r; \
23949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23952 (cd utils && $(MAKE) $(FLAGS_TO_PASS) \
23956 .PHONY: check-utils maybe-check-utils
23959 maybe-check-utils: check-utils
23965 .PHONY: install-utils maybe-install-utils
23966 maybe-install-utils:
23968 maybe-install-utils: install-utils
23970 install-utils: installdirs
23971 @r=`${PWD_COMMAND}`; export r; \
23972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23975 (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
23979 # Other targets (info, dvi, etc.)
23981 .PHONY: maybe-info-utils info-utils
23984 maybe-info-utils: info-utils
23988 @[ -f ./utils/Makefile ] || exit 0; \
23989 r=`${PWD_COMMAND}`; export r; \
23990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23993 for flag in $(EXTRA_HOST_FLAGS) ; do \
23994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23996 echo "Doing info in utils" ; \
23998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24000 "RANLIB=$${RANLIB}" \
24001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24007 .PHONY: maybe-dvi-utils dvi-utils
24010 maybe-dvi-utils: dvi-utils
24014 @[ -f ./utils/Makefile ] || exit 0; \
24015 r=`${PWD_COMMAND}`; export r; \
24016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24019 for flag in $(EXTRA_HOST_FLAGS) ; do \
24020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24022 echo "Doing dvi in utils" ; \
24024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24026 "RANLIB=$${RANLIB}" \
24027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24033 .PHONY: maybe-html-utils html-utils
24036 maybe-html-utils: html-utils
24040 @[ -f ./utils/Makefile ] || exit 0; \
24041 r=`${PWD_COMMAND}`; export r; \
24042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24045 for flag in $(EXTRA_HOST_FLAGS) ; do \
24046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24048 echo "Doing html in utils" ; \
24050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24052 "RANLIB=$${RANLIB}" \
24053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24059 .PHONY: maybe-TAGS-utils TAGS-utils
24062 maybe-TAGS-utils: TAGS-utils
24066 @[ -f ./utils/Makefile ] || exit 0; \
24067 r=`${PWD_COMMAND}`; export r; \
24068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24071 for flag in $(EXTRA_HOST_FLAGS) ; do \
24072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24074 echo "Doing TAGS in utils" ; \
24076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24078 "RANLIB=$${RANLIB}" \
24079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24085 .PHONY: maybe-install-info-utils install-info-utils
24086 maybe-install-info-utils:
24088 maybe-install-info-utils: install-info-utils
24090 install-info-utils: \
24093 @[ -f ./utils/Makefile ] || exit 0; \
24094 r=`${PWD_COMMAND}`; export r; \
24095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24098 for flag in $(EXTRA_HOST_FLAGS) ; do \
24099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24101 echo "Doing install-info in utils" ; \
24103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24105 "RANLIB=$${RANLIB}" \
24106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24112 .PHONY: maybe-installcheck-utils installcheck-utils
24113 maybe-installcheck-utils:
24115 maybe-installcheck-utils: installcheck-utils
24117 installcheck-utils: \
24119 @[ -f ./utils/Makefile ] || exit 0; \
24120 r=`${PWD_COMMAND}`; export r; \
24121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24124 for flag in $(EXTRA_HOST_FLAGS) ; do \
24125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24127 echo "Doing installcheck in utils" ; \
24129 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24130 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24131 "RANLIB=$${RANLIB}" \
24132 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24138 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
24139 maybe-mostlyclean-utils:
24141 maybe-mostlyclean-utils: mostlyclean-utils
24144 @[ -f ./utils/Makefile ] || exit 0; \
24145 r=`${PWD_COMMAND}`; export r; \
24146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24149 for flag in $(EXTRA_HOST_FLAGS) ; do \
24150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24152 echo "Doing mostlyclean in utils" ; \
24154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24156 "RANLIB=$${RANLIB}" \
24157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24163 .PHONY: maybe-clean-utils clean-utils
24166 maybe-clean-utils: clean-utils
24169 @[ -f ./utils/Makefile ] || exit 0; \
24170 r=`${PWD_COMMAND}`; export r; \
24171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24174 for flag in $(EXTRA_HOST_FLAGS) ; do \
24175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24177 echo "Doing clean in utils" ; \
24179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24181 "RANLIB=$${RANLIB}" \
24182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24188 .PHONY: maybe-distclean-utils distclean-utils
24189 maybe-distclean-utils:
24191 maybe-distclean-utils: distclean-utils
24194 @[ -f ./utils/Makefile ] || exit 0; \
24195 r=`${PWD_COMMAND}`; export r; \
24196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24199 for flag in $(EXTRA_HOST_FLAGS) ; do \
24200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24202 echo "Doing distclean in utils" ; \
24204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24206 "RANLIB=$${RANLIB}" \
24207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24213 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
24214 maybe-maintainer-clean-utils:
24216 maybe-maintainer-clean-utils: maintainer-clean-utils
24218 maintainer-clean-utils:
24219 @[ -f ./utils/Makefile ] || exit 0; \
24220 r=`${PWD_COMMAND}`; export r; \
24221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24224 for flag in $(EXTRA_HOST_FLAGS) ; do \
24225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24227 echo "Doing maintainer-clean in utils" ; \
24229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24231 "RANLIB=$${RANLIB}" \
24232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24233 maintainer-clean) \
24240 # ---------------------------------------
24241 # Modules which run on the target machine
24242 # ---------------------------------------
24244 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
24245 maybe-configure-target-libstdc++-v3:
24246 @if target-libstdc++-v3
24247 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
24249 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24250 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
24251 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
24252 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
24253 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
24255 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
24256 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
24257 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
24258 r=`${PWD_COMMAND}`; export r; \
24259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24261 $(RAW_CXX_TARGET_EXPORTS) \
24262 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
24263 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
24264 case $(srcdir) in \
24265 /* | [A-Za-z]:[\\/]*) \
24266 topdir=$(srcdir) ;; \
24268 case "$(TARGET_SUBDIR)" in \
24269 .) topdir="../$(srcdir)" ;; \
24270 *) topdir="../../$(srcdir)" ;; \
24273 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
24274 libsrcdir="$$s/libstdc++-v3"; \
24275 rm -f no-such-file || : ; \
24276 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24277 $(TARGET_CONFIGARGS) $${srcdiroption} \
24278 --with-target-subdir="$(TARGET_SUBDIR)" \
24280 @endif target-libstdc++-v3
24282 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
24283 maybe-all-target-libstdc++-v3:
24284 @if target-libstdc++-v3
24285 TARGET-target-libstdc++-v3=all
24286 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
24287 all-target-libstdc++-v3: configure-target-libstdc++-v3
24288 @r=`${PWD_COMMAND}`; export r; \
24289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24291 $(RAW_CXX_TARGET_EXPORTS) \
24292 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24293 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
24294 @endif target-libstdc++-v3
24296 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
24297 maybe-check-target-libstdc++-v3:
24298 @if target-libstdc++-v3
24299 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
24301 check-target-libstdc++-v3:
24302 @r=`${PWD_COMMAND}`; export r; \
24303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24305 $(RAW_CXX_TARGET_EXPORTS) \
24306 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24307 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
24309 @endif target-libstdc++-v3
24311 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
24312 maybe-install-target-libstdc++-v3:
24313 @if target-libstdc++-v3
24314 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
24316 install-target-libstdc++-v3: installdirs
24317 @r=`${PWD_COMMAND}`; export r; \
24318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24320 $(RAW_CXX_TARGET_EXPORTS) \
24321 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24322 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24324 @endif target-libstdc++-v3
24326 # Other targets (info, dvi, etc.)
24328 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
24329 maybe-info-target-libstdc++-v3:
24330 @if target-libstdc++-v3
24331 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
24333 info-target-libstdc++-v3: \
24334 configure-target-libstdc++-v3
24335 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24336 r=`${PWD_COMMAND}`; export r; \
24337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24339 $(RAW_CXX_TARGET_EXPORTS) \
24340 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24341 for flag in $(EXTRA_TARGET_FLAGS); do \
24342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24344 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24347 "RANLIB=$${RANLIB}" \
24348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24352 @endif target-libstdc++-v3
24354 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
24355 maybe-dvi-target-libstdc++-v3:
24356 @if target-libstdc++-v3
24357 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
24359 dvi-target-libstdc++-v3: \
24360 configure-target-libstdc++-v3
24361 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24362 r=`${PWD_COMMAND}`; export r; \
24363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24365 $(RAW_CXX_TARGET_EXPORTS) \
24366 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24367 for flag in $(EXTRA_TARGET_FLAGS); do \
24368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24370 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24373 "RANLIB=$${RANLIB}" \
24374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24378 @endif target-libstdc++-v3
24380 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
24381 maybe-html-target-libstdc++-v3:
24382 @if target-libstdc++-v3
24383 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
24385 html-target-libstdc++-v3: \
24386 configure-target-libstdc++-v3
24387 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24388 r=`${PWD_COMMAND}`; export r; \
24389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24391 $(RAW_CXX_TARGET_EXPORTS) \
24392 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24393 for flag in $(EXTRA_TARGET_FLAGS); do \
24394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24396 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24399 "RANLIB=$${RANLIB}" \
24400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24404 @endif target-libstdc++-v3
24406 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
24407 maybe-TAGS-target-libstdc++-v3:
24408 @if target-libstdc++-v3
24409 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
24411 TAGS-target-libstdc++-v3: \
24412 configure-target-libstdc++-v3
24413 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24414 r=`${PWD_COMMAND}`; export r; \
24415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24417 $(RAW_CXX_TARGET_EXPORTS) \
24418 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24419 for flag in $(EXTRA_TARGET_FLAGS); do \
24420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24422 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24425 "RANLIB=$${RANLIB}" \
24426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24430 @endif target-libstdc++-v3
24432 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
24433 maybe-install-info-target-libstdc++-v3:
24434 @if target-libstdc++-v3
24435 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
24437 install-info-target-libstdc++-v3: \
24438 configure-target-libstdc++-v3 \
24439 info-target-libstdc++-v3
24440 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24441 r=`${PWD_COMMAND}`; export r; \
24442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24444 $(RAW_CXX_TARGET_EXPORTS) \
24445 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24446 for flag in $(EXTRA_TARGET_FLAGS); do \
24447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24449 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24452 "RANLIB=$${RANLIB}" \
24453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24457 @endif target-libstdc++-v3
24459 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
24460 maybe-installcheck-target-libstdc++-v3:
24461 @if target-libstdc++-v3
24462 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
24464 installcheck-target-libstdc++-v3: \
24465 configure-target-libstdc++-v3
24466 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24467 r=`${PWD_COMMAND}`; export r; \
24468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24470 $(RAW_CXX_TARGET_EXPORTS) \
24471 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24472 for flag in $(EXTRA_TARGET_FLAGS); do \
24473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24475 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24478 "RANLIB=$${RANLIB}" \
24479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24483 @endif target-libstdc++-v3
24485 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
24486 maybe-mostlyclean-target-libstdc++-v3:
24487 @if target-libstdc++-v3
24488 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
24490 mostlyclean-target-libstdc++-v3:
24491 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24492 r=`${PWD_COMMAND}`; export r; \
24493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24495 $(RAW_CXX_TARGET_EXPORTS) \
24496 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24497 for flag in $(EXTRA_TARGET_FLAGS); do \
24498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24500 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24503 "RANLIB=$${RANLIB}" \
24504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24508 @endif target-libstdc++-v3
24510 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
24511 maybe-clean-target-libstdc++-v3:
24512 @if target-libstdc++-v3
24513 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
24515 clean-target-libstdc++-v3:
24516 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24517 r=`${PWD_COMMAND}`; export r; \
24518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24520 $(RAW_CXX_TARGET_EXPORTS) \
24521 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24522 for flag in $(EXTRA_TARGET_FLAGS); do \
24523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24525 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24528 "RANLIB=$${RANLIB}" \
24529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24533 @endif target-libstdc++-v3
24535 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
24536 maybe-distclean-target-libstdc++-v3:
24537 @if target-libstdc++-v3
24538 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
24540 distclean-target-libstdc++-v3:
24541 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24542 r=`${PWD_COMMAND}`; export r; \
24543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24545 $(RAW_CXX_TARGET_EXPORTS) \
24546 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24547 for flag in $(EXTRA_TARGET_FLAGS); do \
24548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24550 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24553 "RANLIB=$${RANLIB}" \
24554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24558 @endif target-libstdc++-v3
24560 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
24561 maybe-maintainer-clean-target-libstdc++-v3:
24562 @if target-libstdc++-v3
24563 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
24565 maintainer-clean-target-libstdc++-v3:
24566 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24567 r=`${PWD_COMMAND}`; export r; \
24568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24570 $(RAW_CXX_TARGET_EXPORTS) \
24571 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24572 for flag in $(EXTRA_TARGET_FLAGS); do \
24573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24575 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24578 "RANLIB=$${RANLIB}" \
24579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24580 maintainer-clean) \
24583 @endif target-libstdc++-v3
24586 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
24587 maybe-configure-target-libmudflap:
24588 @if target-libmudflap
24589 maybe-configure-target-libmudflap: configure-target-libmudflap
24591 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24592 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
24593 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
24594 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
24595 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
24597 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
24598 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
24599 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
24600 r=`${PWD_COMMAND}`; export r; \
24601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24603 $(NORMAL_TARGET_EXPORTS) \
24604 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
24605 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
24606 case $(srcdir) in \
24607 /* | [A-Za-z]:[\\/]*) \
24608 topdir=$(srcdir) ;; \
24610 case "$(TARGET_SUBDIR)" in \
24611 .) topdir="../$(srcdir)" ;; \
24612 *) topdir="../../$(srcdir)" ;; \
24615 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
24616 libsrcdir="$$s/libmudflap"; \
24617 rm -f no-such-file || : ; \
24618 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24619 $(TARGET_CONFIGARGS) $${srcdiroption} \
24620 --with-target-subdir="$(TARGET_SUBDIR)" \
24622 @endif target-libmudflap
24624 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
24625 maybe-all-target-libmudflap:
24626 @if target-libmudflap
24627 TARGET-target-libmudflap=all
24628 maybe-all-target-libmudflap: all-target-libmudflap
24629 all-target-libmudflap: configure-target-libmudflap
24630 @r=`${PWD_COMMAND}`; export r; \
24631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24633 $(NORMAL_TARGET_EXPORTS) \
24634 (cd $(TARGET_SUBDIR)/libmudflap && \
24635 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
24636 @endif target-libmudflap
24638 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
24639 maybe-check-target-libmudflap:
24640 @if target-libmudflap
24641 maybe-check-target-libmudflap: check-target-libmudflap
24643 check-target-libmudflap:
24644 @r=`${PWD_COMMAND}`; export r; \
24645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24647 $(NORMAL_TARGET_EXPORTS) \
24648 (cd $(TARGET_SUBDIR)/libmudflap && \
24649 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24651 @endif target-libmudflap
24653 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
24654 maybe-install-target-libmudflap:
24655 @if target-libmudflap
24656 maybe-install-target-libmudflap: install-target-libmudflap
24658 install-target-libmudflap: installdirs
24659 @r=`${PWD_COMMAND}`; export r; \
24660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24662 $(NORMAL_TARGET_EXPORTS) \
24663 (cd $(TARGET_SUBDIR)/libmudflap && \
24664 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24666 @endif target-libmudflap
24668 # Other targets (info, dvi, etc.)
24670 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
24671 maybe-info-target-libmudflap:
24672 @if target-libmudflap
24673 maybe-info-target-libmudflap: info-target-libmudflap
24675 info-target-libmudflap: \
24676 configure-target-libmudflap
24677 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24678 r=`${PWD_COMMAND}`; export r; \
24679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24681 $(NORMAL_TARGET_EXPORTS) \
24682 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
24683 for flag in $(EXTRA_TARGET_FLAGS); do \
24684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24686 (cd $(TARGET_SUBDIR)/libmudflap && \
24687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24689 "RANLIB=$${RANLIB}" \
24690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24694 @endif target-libmudflap
24696 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
24697 maybe-dvi-target-libmudflap:
24698 @if target-libmudflap
24699 maybe-dvi-target-libmudflap: dvi-target-libmudflap
24701 dvi-target-libmudflap: \
24702 configure-target-libmudflap
24703 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24704 r=`${PWD_COMMAND}`; export r; \
24705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24707 $(NORMAL_TARGET_EXPORTS) \
24708 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
24709 for flag in $(EXTRA_TARGET_FLAGS); do \
24710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24712 (cd $(TARGET_SUBDIR)/libmudflap && \
24713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24715 "RANLIB=$${RANLIB}" \
24716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24720 @endif target-libmudflap
24722 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
24723 maybe-html-target-libmudflap:
24724 @if target-libmudflap
24725 maybe-html-target-libmudflap: html-target-libmudflap
24727 html-target-libmudflap: \
24728 configure-target-libmudflap
24729 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24730 r=`${PWD_COMMAND}`; export r; \
24731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24733 $(NORMAL_TARGET_EXPORTS) \
24734 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
24735 for flag in $(EXTRA_TARGET_FLAGS); do \
24736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24738 (cd $(TARGET_SUBDIR)/libmudflap && \
24739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24741 "RANLIB=$${RANLIB}" \
24742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24746 @endif target-libmudflap
24748 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
24749 maybe-TAGS-target-libmudflap:
24750 @if target-libmudflap
24751 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
24753 TAGS-target-libmudflap: \
24754 configure-target-libmudflap
24755 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24756 r=`${PWD_COMMAND}`; export r; \
24757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24759 $(NORMAL_TARGET_EXPORTS) \
24760 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
24761 for flag in $(EXTRA_TARGET_FLAGS); do \
24762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24764 (cd $(TARGET_SUBDIR)/libmudflap && \
24765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24767 "RANLIB=$${RANLIB}" \
24768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24772 @endif target-libmudflap
24774 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
24775 maybe-install-info-target-libmudflap:
24776 @if target-libmudflap
24777 maybe-install-info-target-libmudflap: install-info-target-libmudflap
24779 install-info-target-libmudflap: \
24780 configure-target-libmudflap \
24781 info-target-libmudflap
24782 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24783 r=`${PWD_COMMAND}`; export r; \
24784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24786 $(NORMAL_TARGET_EXPORTS) \
24787 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
24788 for flag in $(EXTRA_TARGET_FLAGS); do \
24789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24791 (cd $(TARGET_SUBDIR)/libmudflap && \
24792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24794 "RANLIB=$${RANLIB}" \
24795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24799 @endif target-libmudflap
24801 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
24802 maybe-installcheck-target-libmudflap:
24803 @if target-libmudflap
24804 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
24806 installcheck-target-libmudflap: \
24807 configure-target-libmudflap
24808 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24809 r=`${PWD_COMMAND}`; export r; \
24810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24812 $(NORMAL_TARGET_EXPORTS) \
24813 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
24814 for flag in $(EXTRA_TARGET_FLAGS); do \
24815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24817 (cd $(TARGET_SUBDIR)/libmudflap && \
24818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24820 "RANLIB=$${RANLIB}" \
24821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24825 @endif target-libmudflap
24827 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
24828 maybe-mostlyclean-target-libmudflap:
24829 @if target-libmudflap
24830 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
24832 mostlyclean-target-libmudflap:
24833 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24834 r=`${PWD_COMMAND}`; export r; \
24835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24837 $(NORMAL_TARGET_EXPORTS) \
24838 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
24839 for flag in $(EXTRA_TARGET_FLAGS); do \
24840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24842 (cd $(TARGET_SUBDIR)/libmudflap && \
24843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24845 "RANLIB=$${RANLIB}" \
24846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24850 @endif target-libmudflap
24852 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
24853 maybe-clean-target-libmudflap:
24854 @if target-libmudflap
24855 maybe-clean-target-libmudflap: clean-target-libmudflap
24857 clean-target-libmudflap:
24858 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24859 r=`${PWD_COMMAND}`; export r; \
24860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24862 $(NORMAL_TARGET_EXPORTS) \
24863 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
24864 for flag in $(EXTRA_TARGET_FLAGS); do \
24865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24867 (cd $(TARGET_SUBDIR)/libmudflap && \
24868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24870 "RANLIB=$${RANLIB}" \
24871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24875 @endif target-libmudflap
24877 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
24878 maybe-distclean-target-libmudflap:
24879 @if target-libmudflap
24880 maybe-distclean-target-libmudflap: distclean-target-libmudflap
24882 distclean-target-libmudflap:
24883 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24884 r=`${PWD_COMMAND}`; export r; \
24885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24887 $(NORMAL_TARGET_EXPORTS) \
24888 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
24889 for flag in $(EXTRA_TARGET_FLAGS); do \
24890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24892 (cd $(TARGET_SUBDIR)/libmudflap && \
24893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24895 "RANLIB=$${RANLIB}" \
24896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24900 @endif target-libmudflap
24902 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
24903 maybe-maintainer-clean-target-libmudflap:
24904 @if target-libmudflap
24905 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
24907 maintainer-clean-target-libmudflap:
24908 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24909 r=`${PWD_COMMAND}`; export r; \
24910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24912 $(NORMAL_TARGET_EXPORTS) \
24913 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
24914 for flag in $(EXTRA_TARGET_FLAGS); do \
24915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24917 (cd $(TARGET_SUBDIR)/libmudflap && \
24918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24920 "RANLIB=$${RANLIB}" \
24921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24922 maintainer-clean) \
24925 @endif target-libmudflap
24928 .PHONY: configure-target-newlib maybe-configure-target-newlib
24929 maybe-configure-target-newlib:
24931 maybe-configure-target-newlib: configure-target-newlib
24933 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24934 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
24935 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
24936 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
24937 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
24939 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
24940 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
24941 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
24942 r=`${PWD_COMMAND}`; export r; \
24943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24945 $(NORMAL_TARGET_EXPORTS) \
24946 echo Configuring in $(TARGET_SUBDIR)/newlib; \
24947 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
24948 case $(srcdir) in \
24949 /* | [A-Za-z]:[\\/]*) \
24950 topdir=$(srcdir) ;; \
24952 case "$(TARGET_SUBDIR)" in \
24953 .) topdir="../$(srcdir)" ;; \
24954 *) topdir="../../$(srcdir)" ;; \
24957 srcdiroption="--srcdir=$${topdir}/newlib"; \
24958 libsrcdir="$$s/newlib"; \
24959 rm -f no-such-file || : ; \
24960 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24961 $(TARGET_CONFIGARGS) $${srcdiroption} \
24962 --with-target-subdir="$(TARGET_SUBDIR)" \
24964 @endif target-newlib
24966 .PHONY: all-target-newlib maybe-all-target-newlib
24967 maybe-all-target-newlib:
24969 TARGET-target-newlib=all
24970 maybe-all-target-newlib: all-target-newlib
24971 all-target-newlib: configure-target-newlib
24972 @r=`${PWD_COMMAND}`; export r; \
24973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24975 $(NORMAL_TARGET_EXPORTS) \
24976 (cd $(TARGET_SUBDIR)/newlib && \
24977 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
24978 @endif target-newlib
24980 .PHONY: check-target-newlib maybe-check-target-newlib
24981 maybe-check-target-newlib:
24983 maybe-check-target-newlib: check-target-newlib
24985 check-target-newlib:
24986 @r=`${PWD_COMMAND}`; export r; \
24987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24989 $(NORMAL_TARGET_EXPORTS) \
24990 (cd $(TARGET_SUBDIR)/newlib && \
24991 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24993 @endif target-newlib
24995 .PHONY: install-target-newlib maybe-install-target-newlib
24996 maybe-install-target-newlib:
24998 maybe-install-target-newlib: install-target-newlib
25000 install-target-newlib: installdirs
25001 @r=`${PWD_COMMAND}`; export r; \
25002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25004 $(NORMAL_TARGET_EXPORTS) \
25005 (cd $(TARGET_SUBDIR)/newlib && \
25006 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25008 @endif target-newlib
25010 # Other targets (info, dvi, etc.)
25012 .PHONY: maybe-info-target-newlib info-target-newlib
25013 maybe-info-target-newlib:
25015 maybe-info-target-newlib: info-target-newlib
25017 info-target-newlib: \
25018 configure-target-newlib
25019 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25020 r=`${PWD_COMMAND}`; export r; \
25021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25023 $(NORMAL_TARGET_EXPORTS) \
25024 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
25025 for flag in $(EXTRA_TARGET_FLAGS); do \
25026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25028 (cd $(TARGET_SUBDIR)/newlib && \
25029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25031 "RANLIB=$${RANLIB}" \
25032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25036 @endif target-newlib
25038 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
25039 maybe-dvi-target-newlib:
25041 maybe-dvi-target-newlib: dvi-target-newlib
25043 dvi-target-newlib: \
25044 configure-target-newlib
25045 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25046 r=`${PWD_COMMAND}`; export r; \
25047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25049 $(NORMAL_TARGET_EXPORTS) \
25050 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
25051 for flag in $(EXTRA_TARGET_FLAGS); do \
25052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25054 (cd $(TARGET_SUBDIR)/newlib && \
25055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25057 "RANLIB=$${RANLIB}" \
25058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25062 @endif target-newlib
25064 .PHONY: maybe-html-target-newlib html-target-newlib
25065 maybe-html-target-newlib:
25067 maybe-html-target-newlib: html-target-newlib
25069 html-target-newlib: \
25070 configure-target-newlib
25071 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25072 r=`${PWD_COMMAND}`; export r; \
25073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25075 $(NORMAL_TARGET_EXPORTS) \
25076 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
25077 for flag in $(EXTRA_TARGET_FLAGS); do \
25078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25080 (cd $(TARGET_SUBDIR)/newlib && \
25081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25083 "RANLIB=$${RANLIB}" \
25084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25088 @endif target-newlib
25090 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
25091 maybe-TAGS-target-newlib:
25093 maybe-TAGS-target-newlib: TAGS-target-newlib
25095 TAGS-target-newlib: \
25096 configure-target-newlib
25097 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25098 r=`${PWD_COMMAND}`; export r; \
25099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25101 $(NORMAL_TARGET_EXPORTS) \
25102 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
25103 for flag in $(EXTRA_TARGET_FLAGS); do \
25104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25106 (cd $(TARGET_SUBDIR)/newlib && \
25107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25109 "RANLIB=$${RANLIB}" \
25110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25114 @endif target-newlib
25116 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
25117 maybe-install-info-target-newlib:
25119 maybe-install-info-target-newlib: install-info-target-newlib
25121 install-info-target-newlib: \
25122 configure-target-newlib \
25124 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25125 r=`${PWD_COMMAND}`; export r; \
25126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25128 $(NORMAL_TARGET_EXPORTS) \
25129 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
25130 for flag in $(EXTRA_TARGET_FLAGS); do \
25131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25133 (cd $(TARGET_SUBDIR)/newlib && \
25134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25136 "RANLIB=$${RANLIB}" \
25137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25141 @endif target-newlib
25143 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
25144 maybe-installcheck-target-newlib:
25146 maybe-installcheck-target-newlib: installcheck-target-newlib
25148 installcheck-target-newlib: \
25149 configure-target-newlib
25150 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25151 r=`${PWD_COMMAND}`; export r; \
25152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25154 $(NORMAL_TARGET_EXPORTS) \
25155 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
25156 for flag in $(EXTRA_TARGET_FLAGS); do \
25157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25159 (cd $(TARGET_SUBDIR)/newlib && \
25160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25162 "RANLIB=$${RANLIB}" \
25163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25167 @endif target-newlib
25169 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
25170 maybe-mostlyclean-target-newlib:
25172 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
25174 mostlyclean-target-newlib:
25175 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25176 r=`${PWD_COMMAND}`; export r; \
25177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25179 $(NORMAL_TARGET_EXPORTS) \
25180 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
25181 for flag in $(EXTRA_TARGET_FLAGS); do \
25182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25184 (cd $(TARGET_SUBDIR)/newlib && \
25185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25187 "RANLIB=$${RANLIB}" \
25188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25192 @endif target-newlib
25194 .PHONY: maybe-clean-target-newlib clean-target-newlib
25195 maybe-clean-target-newlib:
25197 maybe-clean-target-newlib: clean-target-newlib
25199 clean-target-newlib:
25200 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25201 r=`${PWD_COMMAND}`; export r; \
25202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25204 $(NORMAL_TARGET_EXPORTS) \
25205 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
25206 for flag in $(EXTRA_TARGET_FLAGS); do \
25207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25209 (cd $(TARGET_SUBDIR)/newlib && \
25210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25212 "RANLIB=$${RANLIB}" \
25213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25217 @endif target-newlib
25219 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
25220 maybe-distclean-target-newlib:
25222 maybe-distclean-target-newlib: distclean-target-newlib
25224 distclean-target-newlib:
25225 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25226 r=`${PWD_COMMAND}`; export r; \
25227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25229 $(NORMAL_TARGET_EXPORTS) \
25230 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
25231 for flag in $(EXTRA_TARGET_FLAGS); do \
25232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25234 (cd $(TARGET_SUBDIR)/newlib && \
25235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25237 "RANLIB=$${RANLIB}" \
25238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25242 @endif target-newlib
25244 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
25245 maybe-maintainer-clean-target-newlib:
25247 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
25249 maintainer-clean-target-newlib:
25250 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25251 r=`${PWD_COMMAND}`; export r; \
25252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25254 $(NORMAL_TARGET_EXPORTS) \
25255 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
25256 for flag in $(EXTRA_TARGET_FLAGS); do \
25257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25259 (cd $(TARGET_SUBDIR)/newlib && \
25260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25262 "RANLIB=$${RANLIB}" \
25263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25264 maintainer-clean) \
25267 @endif target-newlib
25270 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
25271 maybe-configure-target-libgfortran:
25272 @if target-libgfortran
25273 maybe-configure-target-libgfortran: configure-target-libgfortran
25275 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25276 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
25277 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
25278 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
25279 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
25281 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
25282 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
25283 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
25284 r=`${PWD_COMMAND}`; export r; \
25285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25287 $(NORMAL_TARGET_EXPORTS) \
25288 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
25289 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
25290 case $(srcdir) in \
25291 /* | [A-Za-z]:[\\/]*) \
25292 topdir=$(srcdir) ;; \
25294 case "$(TARGET_SUBDIR)" in \
25295 .) topdir="../$(srcdir)" ;; \
25296 *) topdir="../../$(srcdir)" ;; \
25299 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
25300 libsrcdir="$$s/libgfortran"; \
25301 rm -f no-such-file || : ; \
25302 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25303 $(TARGET_CONFIGARGS) $${srcdiroption} \
25304 --with-target-subdir="$(TARGET_SUBDIR)" \
25306 @endif target-libgfortran
25308 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
25309 maybe-all-target-libgfortran:
25310 @if target-libgfortran
25311 TARGET-target-libgfortran=all
25312 maybe-all-target-libgfortran: all-target-libgfortran
25313 all-target-libgfortran: configure-target-libgfortran
25314 @r=`${PWD_COMMAND}`; export r; \
25315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25317 $(NORMAL_TARGET_EXPORTS) \
25318 (cd $(TARGET_SUBDIR)/libgfortran && \
25319 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
25320 @endif target-libgfortran
25322 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
25323 maybe-check-target-libgfortran:
25324 @if target-libgfortran
25325 maybe-check-target-libgfortran: check-target-libgfortran
25327 check-target-libgfortran:
25328 @r=`${PWD_COMMAND}`; export r; \
25329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25331 $(NORMAL_TARGET_EXPORTS) \
25332 (cd $(TARGET_SUBDIR)/libgfortran && \
25333 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25335 @endif target-libgfortran
25337 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
25338 maybe-install-target-libgfortran:
25339 @if target-libgfortran
25340 maybe-install-target-libgfortran: install-target-libgfortran
25342 install-target-libgfortran: installdirs
25343 @r=`${PWD_COMMAND}`; export r; \
25344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25346 $(NORMAL_TARGET_EXPORTS) \
25347 (cd $(TARGET_SUBDIR)/libgfortran && \
25348 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25350 @endif target-libgfortran
25352 # Other targets (info, dvi, etc.)
25354 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
25355 maybe-info-target-libgfortran:
25356 @if target-libgfortran
25357 maybe-info-target-libgfortran: info-target-libgfortran
25359 info-target-libgfortran: \
25360 configure-target-libgfortran
25361 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25362 r=`${PWD_COMMAND}`; export r; \
25363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25365 $(NORMAL_TARGET_EXPORTS) \
25366 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
25367 for flag in $(EXTRA_TARGET_FLAGS); do \
25368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25370 (cd $(TARGET_SUBDIR)/libgfortran && \
25371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25373 "RANLIB=$${RANLIB}" \
25374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25378 @endif target-libgfortran
25380 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
25381 maybe-dvi-target-libgfortran:
25382 @if target-libgfortran
25383 maybe-dvi-target-libgfortran: dvi-target-libgfortran
25385 dvi-target-libgfortran: \
25386 configure-target-libgfortran
25387 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25388 r=`${PWD_COMMAND}`; export r; \
25389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25391 $(NORMAL_TARGET_EXPORTS) \
25392 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
25393 for flag in $(EXTRA_TARGET_FLAGS); do \
25394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25396 (cd $(TARGET_SUBDIR)/libgfortran && \
25397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25399 "RANLIB=$${RANLIB}" \
25400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25404 @endif target-libgfortran
25406 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
25407 maybe-html-target-libgfortran:
25408 @if target-libgfortran
25409 maybe-html-target-libgfortran: html-target-libgfortran
25411 html-target-libgfortran: \
25412 configure-target-libgfortran
25413 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25414 r=`${PWD_COMMAND}`; export r; \
25415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25417 $(NORMAL_TARGET_EXPORTS) \
25418 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
25419 for flag in $(EXTRA_TARGET_FLAGS); do \
25420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25422 (cd $(TARGET_SUBDIR)/libgfortran && \
25423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25425 "RANLIB=$${RANLIB}" \
25426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25430 @endif target-libgfortran
25432 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
25433 maybe-TAGS-target-libgfortran:
25434 @if target-libgfortran
25435 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
25437 TAGS-target-libgfortran: \
25438 configure-target-libgfortran
25439 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25440 r=`${PWD_COMMAND}`; export r; \
25441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25443 $(NORMAL_TARGET_EXPORTS) \
25444 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
25445 for flag in $(EXTRA_TARGET_FLAGS); do \
25446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25448 (cd $(TARGET_SUBDIR)/libgfortran && \
25449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25451 "RANLIB=$${RANLIB}" \
25452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25456 @endif target-libgfortran
25458 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
25459 maybe-install-info-target-libgfortran:
25460 @if target-libgfortran
25461 maybe-install-info-target-libgfortran: install-info-target-libgfortran
25463 install-info-target-libgfortran: \
25464 configure-target-libgfortran \
25465 info-target-libgfortran
25466 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25467 r=`${PWD_COMMAND}`; export r; \
25468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25470 $(NORMAL_TARGET_EXPORTS) \
25471 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
25472 for flag in $(EXTRA_TARGET_FLAGS); do \
25473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25475 (cd $(TARGET_SUBDIR)/libgfortran && \
25476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25478 "RANLIB=$${RANLIB}" \
25479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25483 @endif target-libgfortran
25485 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
25486 maybe-installcheck-target-libgfortran:
25487 @if target-libgfortran
25488 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
25490 installcheck-target-libgfortran: \
25491 configure-target-libgfortran
25492 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25493 r=`${PWD_COMMAND}`; export r; \
25494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25496 $(NORMAL_TARGET_EXPORTS) \
25497 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
25498 for flag in $(EXTRA_TARGET_FLAGS); do \
25499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25501 (cd $(TARGET_SUBDIR)/libgfortran && \
25502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25504 "RANLIB=$${RANLIB}" \
25505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25509 @endif target-libgfortran
25511 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
25512 maybe-mostlyclean-target-libgfortran:
25513 @if target-libgfortran
25514 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
25516 mostlyclean-target-libgfortran:
25517 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25518 r=`${PWD_COMMAND}`; export r; \
25519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25521 $(NORMAL_TARGET_EXPORTS) \
25522 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
25523 for flag in $(EXTRA_TARGET_FLAGS); do \
25524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25526 (cd $(TARGET_SUBDIR)/libgfortran && \
25527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25529 "RANLIB=$${RANLIB}" \
25530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25534 @endif target-libgfortran
25536 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
25537 maybe-clean-target-libgfortran:
25538 @if target-libgfortran
25539 maybe-clean-target-libgfortran: clean-target-libgfortran
25541 clean-target-libgfortran:
25542 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25543 r=`${PWD_COMMAND}`; export r; \
25544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25546 $(NORMAL_TARGET_EXPORTS) \
25547 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
25548 for flag in $(EXTRA_TARGET_FLAGS); do \
25549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25551 (cd $(TARGET_SUBDIR)/libgfortran && \
25552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25554 "RANLIB=$${RANLIB}" \
25555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25559 @endif target-libgfortran
25561 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
25562 maybe-distclean-target-libgfortran:
25563 @if target-libgfortran
25564 maybe-distclean-target-libgfortran: distclean-target-libgfortran
25566 distclean-target-libgfortran:
25567 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25568 r=`${PWD_COMMAND}`; export r; \
25569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25571 $(NORMAL_TARGET_EXPORTS) \
25572 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
25573 for flag in $(EXTRA_TARGET_FLAGS); do \
25574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25576 (cd $(TARGET_SUBDIR)/libgfortran && \
25577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25579 "RANLIB=$${RANLIB}" \
25580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25584 @endif target-libgfortran
25586 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
25587 maybe-maintainer-clean-target-libgfortran:
25588 @if target-libgfortran
25589 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
25591 maintainer-clean-target-libgfortran:
25592 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25593 r=`${PWD_COMMAND}`; export r; \
25594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25596 $(NORMAL_TARGET_EXPORTS) \
25597 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
25598 for flag in $(EXTRA_TARGET_FLAGS); do \
25599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25601 (cd $(TARGET_SUBDIR)/libgfortran && \
25602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25604 "RANLIB=$${RANLIB}" \
25605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25606 maintainer-clean) \
25609 @endif target-libgfortran
25612 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
25613 maybe-configure-target-libobjc:
25615 maybe-configure-target-libobjc: configure-target-libobjc
25617 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25618 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
25619 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
25620 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
25621 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
25623 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
25624 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
25625 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
25626 r=`${PWD_COMMAND}`; export r; \
25627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25629 $(NORMAL_TARGET_EXPORTS) \
25630 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
25631 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
25632 case $(srcdir) in \
25633 /* | [A-Za-z]:[\\/]*) \
25634 topdir=$(srcdir) ;; \
25636 case "$(TARGET_SUBDIR)" in \
25637 .) topdir="../$(srcdir)" ;; \
25638 *) topdir="../../$(srcdir)" ;; \
25641 srcdiroption="--srcdir=$${topdir}/libobjc"; \
25642 libsrcdir="$$s/libobjc"; \
25643 rm -f no-such-file || : ; \
25644 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25645 $(TARGET_CONFIGARGS) $${srcdiroption} \
25646 --with-target-subdir="$(TARGET_SUBDIR)" \
25648 @endif target-libobjc
25650 .PHONY: all-target-libobjc maybe-all-target-libobjc
25651 maybe-all-target-libobjc:
25653 TARGET-target-libobjc=all
25654 maybe-all-target-libobjc: all-target-libobjc
25655 all-target-libobjc: configure-target-libobjc
25656 @r=`${PWD_COMMAND}`; export r; \
25657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25659 $(NORMAL_TARGET_EXPORTS) \
25660 (cd $(TARGET_SUBDIR)/libobjc && \
25661 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
25662 @endif target-libobjc
25664 .PHONY: check-target-libobjc maybe-check-target-libobjc
25665 maybe-check-target-libobjc:
25667 maybe-check-target-libobjc: check-target-libobjc
25669 check-target-libobjc:
25670 @r=`${PWD_COMMAND}`; export r; \
25671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25673 $(NORMAL_TARGET_EXPORTS) \
25674 (cd $(TARGET_SUBDIR)/libobjc && \
25675 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25677 @endif target-libobjc
25679 .PHONY: install-target-libobjc maybe-install-target-libobjc
25680 maybe-install-target-libobjc:
25682 maybe-install-target-libobjc: install-target-libobjc
25684 install-target-libobjc: installdirs
25685 @r=`${PWD_COMMAND}`; export r; \
25686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25688 $(NORMAL_TARGET_EXPORTS) \
25689 (cd $(TARGET_SUBDIR)/libobjc && \
25690 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25692 @endif target-libobjc
25694 # Other targets (info, dvi, etc.)
25696 .PHONY: maybe-info-target-libobjc info-target-libobjc
25697 maybe-info-target-libobjc:
25699 maybe-info-target-libobjc: info-target-libobjc
25701 info-target-libobjc: \
25702 configure-target-libobjc
25703 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25704 r=`${PWD_COMMAND}`; export r; \
25705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25707 $(NORMAL_TARGET_EXPORTS) \
25708 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
25709 for flag in $(EXTRA_TARGET_FLAGS); do \
25710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25712 (cd $(TARGET_SUBDIR)/libobjc && \
25713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25715 "RANLIB=$${RANLIB}" \
25716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25720 @endif target-libobjc
25722 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
25723 maybe-dvi-target-libobjc:
25725 maybe-dvi-target-libobjc: dvi-target-libobjc
25727 dvi-target-libobjc: \
25728 configure-target-libobjc
25729 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25730 r=`${PWD_COMMAND}`; export r; \
25731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25733 $(NORMAL_TARGET_EXPORTS) \
25734 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
25735 for flag in $(EXTRA_TARGET_FLAGS); do \
25736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25738 (cd $(TARGET_SUBDIR)/libobjc && \
25739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25741 "RANLIB=$${RANLIB}" \
25742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25746 @endif target-libobjc
25748 .PHONY: maybe-html-target-libobjc html-target-libobjc
25749 maybe-html-target-libobjc:
25751 maybe-html-target-libobjc: html-target-libobjc
25753 html-target-libobjc: \
25754 configure-target-libobjc
25755 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25756 r=`${PWD_COMMAND}`; export r; \
25757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25759 $(NORMAL_TARGET_EXPORTS) \
25760 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
25761 for flag in $(EXTRA_TARGET_FLAGS); do \
25762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25764 (cd $(TARGET_SUBDIR)/libobjc && \
25765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25767 "RANLIB=$${RANLIB}" \
25768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25772 @endif target-libobjc
25774 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
25775 maybe-TAGS-target-libobjc:
25777 maybe-TAGS-target-libobjc: TAGS-target-libobjc
25779 TAGS-target-libobjc: \
25780 configure-target-libobjc
25781 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25782 r=`${PWD_COMMAND}`; export r; \
25783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25785 $(NORMAL_TARGET_EXPORTS) \
25786 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
25787 for flag in $(EXTRA_TARGET_FLAGS); do \
25788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25790 (cd $(TARGET_SUBDIR)/libobjc && \
25791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25793 "RANLIB=$${RANLIB}" \
25794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25798 @endif target-libobjc
25800 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
25801 maybe-install-info-target-libobjc:
25803 maybe-install-info-target-libobjc: install-info-target-libobjc
25805 install-info-target-libobjc: \
25806 configure-target-libobjc \
25807 info-target-libobjc
25808 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25809 r=`${PWD_COMMAND}`; export r; \
25810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25812 $(NORMAL_TARGET_EXPORTS) \
25813 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
25814 for flag in $(EXTRA_TARGET_FLAGS); do \
25815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25817 (cd $(TARGET_SUBDIR)/libobjc && \
25818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25820 "RANLIB=$${RANLIB}" \
25821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25825 @endif target-libobjc
25827 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
25828 maybe-installcheck-target-libobjc:
25830 maybe-installcheck-target-libobjc: installcheck-target-libobjc
25832 installcheck-target-libobjc: \
25833 configure-target-libobjc
25834 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25835 r=`${PWD_COMMAND}`; export r; \
25836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25838 $(NORMAL_TARGET_EXPORTS) \
25839 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
25840 for flag in $(EXTRA_TARGET_FLAGS); do \
25841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25843 (cd $(TARGET_SUBDIR)/libobjc && \
25844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25846 "RANLIB=$${RANLIB}" \
25847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25851 @endif target-libobjc
25853 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
25854 maybe-mostlyclean-target-libobjc:
25856 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
25858 mostlyclean-target-libobjc:
25859 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25860 r=`${PWD_COMMAND}`; export r; \
25861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25863 $(NORMAL_TARGET_EXPORTS) \
25864 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
25865 for flag in $(EXTRA_TARGET_FLAGS); do \
25866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25868 (cd $(TARGET_SUBDIR)/libobjc && \
25869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25871 "RANLIB=$${RANLIB}" \
25872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25876 @endif target-libobjc
25878 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
25879 maybe-clean-target-libobjc:
25881 maybe-clean-target-libobjc: clean-target-libobjc
25883 clean-target-libobjc:
25884 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25885 r=`${PWD_COMMAND}`; export r; \
25886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25888 $(NORMAL_TARGET_EXPORTS) \
25889 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
25890 for flag in $(EXTRA_TARGET_FLAGS); do \
25891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25893 (cd $(TARGET_SUBDIR)/libobjc && \
25894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25896 "RANLIB=$${RANLIB}" \
25897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25901 @endif target-libobjc
25903 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
25904 maybe-distclean-target-libobjc:
25906 maybe-distclean-target-libobjc: distclean-target-libobjc
25908 distclean-target-libobjc:
25909 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25910 r=`${PWD_COMMAND}`; export r; \
25911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25913 $(NORMAL_TARGET_EXPORTS) \
25914 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
25915 for flag in $(EXTRA_TARGET_FLAGS); do \
25916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25918 (cd $(TARGET_SUBDIR)/libobjc && \
25919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25921 "RANLIB=$${RANLIB}" \
25922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25926 @endif target-libobjc
25928 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
25929 maybe-maintainer-clean-target-libobjc:
25931 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
25933 maintainer-clean-target-libobjc:
25934 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25935 r=`${PWD_COMMAND}`; export r; \
25936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25938 $(NORMAL_TARGET_EXPORTS) \
25939 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
25940 for flag in $(EXTRA_TARGET_FLAGS); do \
25941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25943 (cd $(TARGET_SUBDIR)/libobjc && \
25944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25946 "RANLIB=$${RANLIB}" \
25947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25948 maintainer-clean) \
25951 @endif target-libobjc
25954 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
25955 maybe-configure-target-libtermcap:
25956 @if target-libtermcap
25957 maybe-configure-target-libtermcap: configure-target-libtermcap
25959 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25960 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
25961 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
25962 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
25963 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
25965 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
25966 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
25967 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
25968 r=`${PWD_COMMAND}`; export r; \
25969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25971 $(NORMAL_TARGET_EXPORTS) \
25972 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
25973 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
25974 case $(srcdir) in \
25975 /* | [A-Za-z]:[\\/]*) \
25976 topdir=$(srcdir) ;; \
25978 case "$(TARGET_SUBDIR)" in \
25979 .) topdir="../$(srcdir)" ;; \
25980 *) topdir="../../$(srcdir)" ;; \
25983 if [ "$(srcdir)" = "." ] ; then \
25984 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
25985 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
25986 if [ -f Makefile ]; then \
25987 if $(MAKE) distclean; then \
26001 srcdiroption="--srcdir=."; \
26004 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
26005 libsrcdir="$$s/libtermcap"; \
26007 rm -f no-such-file || : ; \
26008 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26009 $(TARGET_CONFIGARGS) $${srcdiroption} \
26010 --with-target-subdir="$(TARGET_SUBDIR)" \
26012 @endif target-libtermcap
26014 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
26015 maybe-all-target-libtermcap:
26016 @if target-libtermcap
26017 TARGET-target-libtermcap=all
26018 maybe-all-target-libtermcap: all-target-libtermcap
26019 all-target-libtermcap: configure-target-libtermcap
26020 @r=`${PWD_COMMAND}`; export r; \
26021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26023 $(NORMAL_TARGET_EXPORTS) \
26024 (cd $(TARGET_SUBDIR)/libtermcap && \
26025 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
26026 @endif target-libtermcap
26028 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
26029 maybe-check-target-libtermcap:
26030 @if target-libtermcap
26031 maybe-check-target-libtermcap: check-target-libtermcap
26033 # Dummy target for uncheckable module.
26034 check-target-libtermcap:
26036 @endif target-libtermcap
26038 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
26039 maybe-install-target-libtermcap:
26040 @if target-libtermcap
26041 maybe-install-target-libtermcap: install-target-libtermcap
26043 install-target-libtermcap: installdirs
26044 @r=`${PWD_COMMAND}`; export r; \
26045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26047 $(NORMAL_TARGET_EXPORTS) \
26048 (cd $(TARGET_SUBDIR)/libtermcap && \
26049 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26051 @endif target-libtermcap
26053 # Other targets (info, dvi, etc.)
26055 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
26056 maybe-info-target-libtermcap:
26057 @if target-libtermcap
26058 maybe-info-target-libtermcap: info-target-libtermcap
26060 info-target-libtermcap: \
26061 configure-target-libtermcap
26062 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26063 r=`${PWD_COMMAND}`; export r; \
26064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26066 $(NORMAL_TARGET_EXPORTS) \
26067 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
26068 for flag in $(EXTRA_TARGET_FLAGS); do \
26069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26071 (cd $(TARGET_SUBDIR)/libtermcap && \
26072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26074 "RANLIB=$${RANLIB}" \
26075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26079 @endif target-libtermcap
26081 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
26082 maybe-dvi-target-libtermcap:
26083 @if target-libtermcap
26084 maybe-dvi-target-libtermcap: dvi-target-libtermcap
26086 dvi-target-libtermcap: \
26087 configure-target-libtermcap
26088 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26089 r=`${PWD_COMMAND}`; export r; \
26090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26092 $(NORMAL_TARGET_EXPORTS) \
26093 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
26094 for flag in $(EXTRA_TARGET_FLAGS); do \
26095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26097 (cd $(TARGET_SUBDIR)/libtermcap && \
26098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26100 "RANLIB=$${RANLIB}" \
26101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26105 @endif target-libtermcap
26107 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
26108 maybe-html-target-libtermcap:
26109 @if target-libtermcap
26110 maybe-html-target-libtermcap: html-target-libtermcap
26112 html-target-libtermcap: \
26113 configure-target-libtermcap
26114 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26115 r=`${PWD_COMMAND}`; export r; \
26116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26118 $(NORMAL_TARGET_EXPORTS) \
26119 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
26120 for flag in $(EXTRA_TARGET_FLAGS); do \
26121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26123 (cd $(TARGET_SUBDIR)/libtermcap && \
26124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26126 "RANLIB=$${RANLIB}" \
26127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26131 @endif target-libtermcap
26133 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
26134 maybe-TAGS-target-libtermcap:
26135 @if target-libtermcap
26136 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
26138 TAGS-target-libtermcap: \
26139 configure-target-libtermcap
26140 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26141 r=`${PWD_COMMAND}`; export r; \
26142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26144 $(NORMAL_TARGET_EXPORTS) \
26145 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
26146 for flag in $(EXTRA_TARGET_FLAGS); do \
26147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26149 (cd $(TARGET_SUBDIR)/libtermcap && \
26150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26152 "RANLIB=$${RANLIB}" \
26153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26157 @endif target-libtermcap
26159 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
26160 maybe-install-info-target-libtermcap:
26161 @if target-libtermcap
26162 maybe-install-info-target-libtermcap: install-info-target-libtermcap
26164 install-info-target-libtermcap: \
26165 configure-target-libtermcap \
26166 info-target-libtermcap
26167 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26168 r=`${PWD_COMMAND}`; export r; \
26169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26171 $(NORMAL_TARGET_EXPORTS) \
26172 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
26173 for flag in $(EXTRA_TARGET_FLAGS); do \
26174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26176 (cd $(TARGET_SUBDIR)/libtermcap && \
26177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26179 "RANLIB=$${RANLIB}" \
26180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26184 @endif target-libtermcap
26186 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
26187 maybe-installcheck-target-libtermcap:
26188 @if target-libtermcap
26189 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
26191 installcheck-target-libtermcap: \
26192 configure-target-libtermcap
26193 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26194 r=`${PWD_COMMAND}`; export r; \
26195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26197 $(NORMAL_TARGET_EXPORTS) \
26198 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
26199 for flag in $(EXTRA_TARGET_FLAGS); do \
26200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26202 (cd $(TARGET_SUBDIR)/libtermcap && \
26203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26205 "RANLIB=$${RANLIB}" \
26206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26210 @endif target-libtermcap
26212 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
26213 maybe-mostlyclean-target-libtermcap:
26214 @if target-libtermcap
26215 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
26217 # libtermcap doesn't support mostlyclean.
26218 mostlyclean-target-libtermcap:
26220 @endif target-libtermcap
26222 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
26223 maybe-clean-target-libtermcap:
26224 @if target-libtermcap
26225 maybe-clean-target-libtermcap: clean-target-libtermcap
26227 # libtermcap doesn't support clean.
26228 clean-target-libtermcap:
26230 @endif target-libtermcap
26232 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
26233 maybe-distclean-target-libtermcap:
26234 @if target-libtermcap
26235 maybe-distclean-target-libtermcap: distclean-target-libtermcap
26237 # libtermcap doesn't support distclean.
26238 distclean-target-libtermcap:
26240 @endif target-libtermcap
26242 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
26243 maybe-maintainer-clean-target-libtermcap:
26244 @if target-libtermcap
26245 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
26247 # libtermcap doesn't support maintainer-clean.
26248 maintainer-clean-target-libtermcap:
26250 @endif target-libtermcap
26253 .PHONY: configure-target-winsup maybe-configure-target-winsup
26254 maybe-configure-target-winsup:
26256 maybe-configure-target-winsup: configure-target-winsup
26258 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26259 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
26260 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
26261 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
26262 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
26264 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
26265 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
26266 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
26267 r=`${PWD_COMMAND}`; export r; \
26268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26270 $(NORMAL_TARGET_EXPORTS) \
26271 echo Configuring in $(TARGET_SUBDIR)/winsup; \
26272 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
26273 case $(srcdir) in \
26274 /* | [A-Za-z]:[\\/]*) \
26275 topdir=$(srcdir) ;; \
26277 case "$(TARGET_SUBDIR)" in \
26278 .) topdir="../$(srcdir)" ;; \
26279 *) topdir="../../$(srcdir)" ;; \
26282 srcdiroption="--srcdir=$${topdir}/winsup"; \
26283 libsrcdir="$$s/winsup"; \
26284 rm -f no-such-file || : ; \
26285 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26286 $(TARGET_CONFIGARGS) $${srcdiroption} \
26287 --with-target-subdir="$(TARGET_SUBDIR)" \
26289 @endif target-winsup
26291 .PHONY: all-target-winsup maybe-all-target-winsup
26292 maybe-all-target-winsup:
26294 TARGET-target-winsup=all
26295 maybe-all-target-winsup: all-target-winsup
26296 all-target-winsup: configure-target-winsup
26297 @r=`${PWD_COMMAND}`; export r; \
26298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26300 $(NORMAL_TARGET_EXPORTS) \
26301 (cd $(TARGET_SUBDIR)/winsup && \
26302 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
26303 @endif target-winsup
26305 .PHONY: check-target-winsup maybe-check-target-winsup
26306 maybe-check-target-winsup:
26308 maybe-check-target-winsup: check-target-winsup
26310 check-target-winsup:
26311 @r=`${PWD_COMMAND}`; export r; \
26312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26314 $(NORMAL_TARGET_EXPORTS) \
26315 (cd $(TARGET_SUBDIR)/winsup && \
26316 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26318 @endif target-winsup
26320 .PHONY: install-target-winsup maybe-install-target-winsup
26321 maybe-install-target-winsup:
26323 maybe-install-target-winsup: install-target-winsup
26325 install-target-winsup: installdirs
26326 @r=`${PWD_COMMAND}`; export r; \
26327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26329 $(NORMAL_TARGET_EXPORTS) \
26330 (cd $(TARGET_SUBDIR)/winsup && \
26331 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26333 @endif target-winsup
26335 # Other targets (info, dvi, etc.)
26337 .PHONY: maybe-info-target-winsup info-target-winsup
26338 maybe-info-target-winsup:
26340 maybe-info-target-winsup: info-target-winsup
26342 info-target-winsup: \
26343 configure-target-winsup
26344 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26345 r=`${PWD_COMMAND}`; export r; \
26346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26348 $(NORMAL_TARGET_EXPORTS) \
26349 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
26350 for flag in $(EXTRA_TARGET_FLAGS); do \
26351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26353 (cd $(TARGET_SUBDIR)/winsup && \
26354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26356 "RANLIB=$${RANLIB}" \
26357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26361 @endif target-winsup
26363 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
26364 maybe-dvi-target-winsup:
26366 maybe-dvi-target-winsup: dvi-target-winsup
26368 dvi-target-winsup: \
26369 configure-target-winsup
26370 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26371 r=`${PWD_COMMAND}`; export r; \
26372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26374 $(NORMAL_TARGET_EXPORTS) \
26375 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
26376 for flag in $(EXTRA_TARGET_FLAGS); do \
26377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26379 (cd $(TARGET_SUBDIR)/winsup && \
26380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26382 "RANLIB=$${RANLIB}" \
26383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26387 @endif target-winsup
26389 .PHONY: maybe-html-target-winsup html-target-winsup
26390 maybe-html-target-winsup:
26392 maybe-html-target-winsup: html-target-winsup
26394 html-target-winsup: \
26395 configure-target-winsup
26396 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26397 r=`${PWD_COMMAND}`; export r; \
26398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26400 $(NORMAL_TARGET_EXPORTS) \
26401 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
26402 for flag in $(EXTRA_TARGET_FLAGS); do \
26403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26405 (cd $(TARGET_SUBDIR)/winsup && \
26406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26408 "RANLIB=$${RANLIB}" \
26409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26413 @endif target-winsup
26415 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
26416 maybe-TAGS-target-winsup:
26418 maybe-TAGS-target-winsup: TAGS-target-winsup
26420 TAGS-target-winsup: \
26421 configure-target-winsup
26422 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26423 r=`${PWD_COMMAND}`; export r; \
26424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26426 $(NORMAL_TARGET_EXPORTS) \
26427 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
26428 for flag in $(EXTRA_TARGET_FLAGS); do \
26429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26431 (cd $(TARGET_SUBDIR)/winsup && \
26432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26434 "RANLIB=$${RANLIB}" \
26435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26439 @endif target-winsup
26441 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
26442 maybe-install-info-target-winsup:
26444 maybe-install-info-target-winsup: install-info-target-winsup
26446 install-info-target-winsup: \
26447 configure-target-winsup \
26449 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26450 r=`${PWD_COMMAND}`; export r; \
26451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26453 $(NORMAL_TARGET_EXPORTS) \
26454 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
26455 for flag in $(EXTRA_TARGET_FLAGS); do \
26456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26458 (cd $(TARGET_SUBDIR)/winsup && \
26459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26461 "RANLIB=$${RANLIB}" \
26462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26466 @endif target-winsup
26468 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
26469 maybe-installcheck-target-winsup:
26471 maybe-installcheck-target-winsup: installcheck-target-winsup
26473 installcheck-target-winsup: \
26474 configure-target-winsup
26475 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26476 r=`${PWD_COMMAND}`; export r; \
26477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26479 $(NORMAL_TARGET_EXPORTS) \
26480 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
26481 for flag in $(EXTRA_TARGET_FLAGS); do \
26482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26484 (cd $(TARGET_SUBDIR)/winsup && \
26485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26487 "RANLIB=$${RANLIB}" \
26488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26492 @endif target-winsup
26494 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
26495 maybe-mostlyclean-target-winsup:
26497 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
26499 mostlyclean-target-winsup:
26500 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26501 r=`${PWD_COMMAND}`; export r; \
26502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26504 $(NORMAL_TARGET_EXPORTS) \
26505 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
26506 for flag in $(EXTRA_TARGET_FLAGS); do \
26507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26509 (cd $(TARGET_SUBDIR)/winsup && \
26510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26512 "RANLIB=$${RANLIB}" \
26513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26517 @endif target-winsup
26519 .PHONY: maybe-clean-target-winsup clean-target-winsup
26520 maybe-clean-target-winsup:
26522 maybe-clean-target-winsup: clean-target-winsup
26524 clean-target-winsup:
26525 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26526 r=`${PWD_COMMAND}`; export r; \
26527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26529 $(NORMAL_TARGET_EXPORTS) \
26530 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
26531 for flag in $(EXTRA_TARGET_FLAGS); do \
26532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26534 (cd $(TARGET_SUBDIR)/winsup && \
26535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26537 "RANLIB=$${RANLIB}" \
26538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26542 @endif target-winsup
26544 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
26545 maybe-distclean-target-winsup:
26547 maybe-distclean-target-winsup: distclean-target-winsup
26549 distclean-target-winsup:
26550 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26551 r=`${PWD_COMMAND}`; export r; \
26552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26554 $(NORMAL_TARGET_EXPORTS) \
26555 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
26556 for flag in $(EXTRA_TARGET_FLAGS); do \
26557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26559 (cd $(TARGET_SUBDIR)/winsup && \
26560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26562 "RANLIB=$${RANLIB}" \
26563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26567 @endif target-winsup
26569 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
26570 maybe-maintainer-clean-target-winsup:
26572 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
26574 maintainer-clean-target-winsup:
26575 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26576 r=`${PWD_COMMAND}`; export r; \
26577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26579 $(NORMAL_TARGET_EXPORTS) \
26580 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
26581 for flag in $(EXTRA_TARGET_FLAGS); do \
26582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26584 (cd $(TARGET_SUBDIR)/winsup && \
26585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26587 "RANLIB=$${RANLIB}" \
26588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26589 maintainer-clean) \
26592 @endif target-winsup
26595 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
26596 maybe-configure-target-libgloss:
26597 @if target-libgloss
26598 maybe-configure-target-libgloss: configure-target-libgloss
26600 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26601 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
26602 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
26603 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
26604 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
26606 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
26607 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
26608 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
26609 r=`${PWD_COMMAND}`; export r; \
26610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26612 $(NORMAL_TARGET_EXPORTS) \
26613 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
26614 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
26615 case $(srcdir) in \
26616 /* | [A-Za-z]:[\\/]*) \
26617 topdir=$(srcdir) ;; \
26619 case "$(TARGET_SUBDIR)" in \
26620 .) topdir="../$(srcdir)" ;; \
26621 *) topdir="../../$(srcdir)" ;; \
26624 srcdiroption="--srcdir=$${topdir}/libgloss"; \
26625 libsrcdir="$$s/libgloss"; \
26626 rm -f no-such-file || : ; \
26627 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26628 $(TARGET_CONFIGARGS) $${srcdiroption} \
26629 --with-target-subdir="$(TARGET_SUBDIR)" \
26631 @endif target-libgloss
26633 .PHONY: all-target-libgloss maybe-all-target-libgloss
26634 maybe-all-target-libgloss:
26635 @if target-libgloss
26636 TARGET-target-libgloss=all
26637 maybe-all-target-libgloss: all-target-libgloss
26638 all-target-libgloss: configure-target-libgloss
26639 @r=`${PWD_COMMAND}`; export r; \
26640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26642 $(NORMAL_TARGET_EXPORTS) \
26643 (cd $(TARGET_SUBDIR)/libgloss && \
26644 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
26645 @endif target-libgloss
26647 .PHONY: check-target-libgloss maybe-check-target-libgloss
26648 maybe-check-target-libgloss:
26649 @if target-libgloss
26650 maybe-check-target-libgloss: check-target-libgloss
26652 # Dummy target for uncheckable module.
26653 check-target-libgloss:
26655 @endif target-libgloss
26657 .PHONY: install-target-libgloss maybe-install-target-libgloss
26658 maybe-install-target-libgloss:
26659 @if target-libgloss
26660 maybe-install-target-libgloss: install-target-libgloss
26662 install-target-libgloss: installdirs
26663 @r=`${PWD_COMMAND}`; export r; \
26664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26666 $(NORMAL_TARGET_EXPORTS) \
26667 (cd $(TARGET_SUBDIR)/libgloss && \
26668 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26670 @endif target-libgloss
26672 # Other targets (info, dvi, etc.)
26674 .PHONY: maybe-info-target-libgloss info-target-libgloss
26675 maybe-info-target-libgloss:
26676 @if target-libgloss
26677 maybe-info-target-libgloss: info-target-libgloss
26679 info-target-libgloss: \
26680 configure-target-libgloss
26681 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26682 r=`${PWD_COMMAND}`; export r; \
26683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26685 $(NORMAL_TARGET_EXPORTS) \
26686 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
26687 for flag in $(EXTRA_TARGET_FLAGS); do \
26688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26690 (cd $(TARGET_SUBDIR)/libgloss && \
26691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26693 "RANLIB=$${RANLIB}" \
26694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26698 @endif target-libgloss
26700 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
26701 maybe-dvi-target-libgloss:
26702 @if target-libgloss
26703 maybe-dvi-target-libgloss: dvi-target-libgloss
26705 dvi-target-libgloss: \
26706 configure-target-libgloss
26707 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26708 r=`${PWD_COMMAND}`; export r; \
26709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26711 $(NORMAL_TARGET_EXPORTS) \
26712 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
26713 for flag in $(EXTRA_TARGET_FLAGS); do \
26714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26716 (cd $(TARGET_SUBDIR)/libgloss && \
26717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26719 "RANLIB=$${RANLIB}" \
26720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26724 @endif target-libgloss
26726 .PHONY: maybe-html-target-libgloss html-target-libgloss
26727 maybe-html-target-libgloss:
26728 @if target-libgloss
26729 maybe-html-target-libgloss: html-target-libgloss
26731 html-target-libgloss: \
26732 configure-target-libgloss
26733 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26734 r=`${PWD_COMMAND}`; export r; \
26735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26737 $(NORMAL_TARGET_EXPORTS) \
26738 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
26739 for flag in $(EXTRA_TARGET_FLAGS); do \
26740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26742 (cd $(TARGET_SUBDIR)/libgloss && \
26743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26745 "RANLIB=$${RANLIB}" \
26746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26750 @endif target-libgloss
26752 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
26753 maybe-TAGS-target-libgloss:
26754 @if target-libgloss
26755 maybe-TAGS-target-libgloss: TAGS-target-libgloss
26757 TAGS-target-libgloss: \
26758 configure-target-libgloss
26759 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26760 r=`${PWD_COMMAND}`; export r; \
26761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26763 $(NORMAL_TARGET_EXPORTS) \
26764 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
26765 for flag in $(EXTRA_TARGET_FLAGS); do \
26766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26768 (cd $(TARGET_SUBDIR)/libgloss && \
26769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26771 "RANLIB=$${RANLIB}" \
26772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26776 @endif target-libgloss
26778 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
26779 maybe-install-info-target-libgloss:
26780 @if target-libgloss
26781 maybe-install-info-target-libgloss: install-info-target-libgloss
26783 install-info-target-libgloss: \
26784 configure-target-libgloss \
26785 info-target-libgloss
26786 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26787 r=`${PWD_COMMAND}`; export r; \
26788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26790 $(NORMAL_TARGET_EXPORTS) \
26791 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
26792 for flag in $(EXTRA_TARGET_FLAGS); do \
26793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26795 (cd $(TARGET_SUBDIR)/libgloss && \
26796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26798 "RANLIB=$${RANLIB}" \
26799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26803 @endif target-libgloss
26805 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
26806 maybe-installcheck-target-libgloss:
26807 @if target-libgloss
26808 maybe-installcheck-target-libgloss: installcheck-target-libgloss
26810 installcheck-target-libgloss: \
26811 configure-target-libgloss
26812 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26813 r=`${PWD_COMMAND}`; export r; \
26814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26816 $(NORMAL_TARGET_EXPORTS) \
26817 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
26818 for flag in $(EXTRA_TARGET_FLAGS); do \
26819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26821 (cd $(TARGET_SUBDIR)/libgloss && \
26822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26824 "RANLIB=$${RANLIB}" \
26825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26829 @endif target-libgloss
26831 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
26832 maybe-mostlyclean-target-libgloss:
26833 @if target-libgloss
26834 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
26836 mostlyclean-target-libgloss:
26837 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26838 r=`${PWD_COMMAND}`; export r; \
26839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26841 $(NORMAL_TARGET_EXPORTS) \
26842 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
26843 for flag in $(EXTRA_TARGET_FLAGS); do \
26844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26846 (cd $(TARGET_SUBDIR)/libgloss && \
26847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26849 "RANLIB=$${RANLIB}" \
26850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26854 @endif target-libgloss
26856 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
26857 maybe-clean-target-libgloss:
26858 @if target-libgloss
26859 maybe-clean-target-libgloss: clean-target-libgloss
26861 clean-target-libgloss:
26862 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26863 r=`${PWD_COMMAND}`; export r; \
26864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26866 $(NORMAL_TARGET_EXPORTS) \
26867 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
26868 for flag in $(EXTRA_TARGET_FLAGS); do \
26869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26871 (cd $(TARGET_SUBDIR)/libgloss && \
26872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26874 "RANLIB=$${RANLIB}" \
26875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26879 @endif target-libgloss
26881 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
26882 maybe-distclean-target-libgloss:
26883 @if target-libgloss
26884 maybe-distclean-target-libgloss: distclean-target-libgloss
26886 distclean-target-libgloss:
26887 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26888 r=`${PWD_COMMAND}`; export r; \
26889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26891 $(NORMAL_TARGET_EXPORTS) \
26892 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
26893 for flag in $(EXTRA_TARGET_FLAGS); do \
26894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26896 (cd $(TARGET_SUBDIR)/libgloss && \
26897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26899 "RANLIB=$${RANLIB}" \
26900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26904 @endif target-libgloss
26906 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
26907 maybe-maintainer-clean-target-libgloss:
26908 @if target-libgloss
26909 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
26911 maintainer-clean-target-libgloss:
26912 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26913 r=`${PWD_COMMAND}`; export r; \
26914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26916 $(NORMAL_TARGET_EXPORTS) \
26917 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
26918 for flag in $(EXTRA_TARGET_FLAGS); do \
26919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26921 (cd $(TARGET_SUBDIR)/libgloss && \
26922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26924 "RANLIB=$${RANLIB}" \
26925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26926 maintainer-clean) \
26929 @endif target-libgloss
26932 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
26933 maybe-configure-target-libiberty:
26934 @if target-libiberty
26935 maybe-configure-target-libiberty: configure-target-libiberty
26937 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26938 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
26939 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
26940 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
26941 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
26943 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
26944 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
26945 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
26946 r=`${PWD_COMMAND}`; export r; \
26947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26949 $(NORMAL_TARGET_EXPORTS) \
26950 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
26951 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
26952 case $(srcdir) in \
26953 /* | [A-Za-z]:[\\/]*) \
26954 topdir=$(srcdir) ;; \
26956 case "$(TARGET_SUBDIR)" in \
26957 .) topdir="../$(srcdir)" ;; \
26958 *) topdir="../../$(srcdir)" ;; \
26961 srcdiroption="--srcdir=$${topdir}/libiberty"; \
26962 libsrcdir="$$s/libiberty"; \
26963 rm -f no-such-file || : ; \
26964 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26965 $(TARGET_CONFIGARGS) $${srcdiroption} \
26966 --with-target-subdir="$(TARGET_SUBDIR)" \
26968 @endif target-libiberty
26970 .PHONY: all-target-libiberty maybe-all-target-libiberty
26971 maybe-all-target-libiberty:
26972 @if target-libiberty
26973 TARGET-target-libiberty=all
26974 maybe-all-target-libiberty: all-target-libiberty
26975 all-target-libiberty: configure-target-libiberty
26976 @r=`${PWD_COMMAND}`; export r; \
26977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26979 $(NORMAL_TARGET_EXPORTS) \
26980 (cd $(TARGET_SUBDIR)/libiberty && \
26981 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
26982 @endif target-libiberty
26984 .PHONY: check-target-libiberty maybe-check-target-libiberty
26985 maybe-check-target-libiberty:
26986 @if target-libiberty
26987 maybe-check-target-libiberty: check-target-libiberty
26989 check-target-libiberty:
26990 @r=`${PWD_COMMAND}`; export r; \
26991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26993 $(NORMAL_TARGET_EXPORTS) \
26994 (cd $(TARGET_SUBDIR)/libiberty && \
26995 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26997 @endif target-libiberty
26999 .PHONY: install-target-libiberty maybe-install-target-libiberty
27000 maybe-install-target-libiberty:
27001 @if target-libiberty
27002 maybe-install-target-libiberty: install-target-libiberty
27004 install-target-libiberty: installdirs
27005 @r=`${PWD_COMMAND}`; export r; \
27006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27008 $(NORMAL_TARGET_EXPORTS) \
27009 (cd $(TARGET_SUBDIR)/libiberty && \
27010 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27012 @endif target-libiberty
27014 # Other targets (info, dvi, etc.)
27016 .PHONY: maybe-info-target-libiberty info-target-libiberty
27017 maybe-info-target-libiberty:
27018 @if target-libiberty
27019 maybe-info-target-libiberty: info-target-libiberty
27021 info-target-libiberty: \
27022 configure-target-libiberty
27023 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27024 r=`${PWD_COMMAND}`; export r; \
27025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27027 $(NORMAL_TARGET_EXPORTS) \
27028 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
27029 for flag in $(EXTRA_TARGET_FLAGS); do \
27030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27032 (cd $(TARGET_SUBDIR)/libiberty && \
27033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27035 "RANLIB=$${RANLIB}" \
27036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27040 @endif target-libiberty
27042 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
27043 maybe-dvi-target-libiberty:
27044 @if target-libiberty
27045 maybe-dvi-target-libiberty: dvi-target-libiberty
27047 dvi-target-libiberty: \
27048 configure-target-libiberty
27049 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27050 r=`${PWD_COMMAND}`; export r; \
27051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27053 $(NORMAL_TARGET_EXPORTS) \
27054 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
27055 for flag in $(EXTRA_TARGET_FLAGS); do \
27056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27058 (cd $(TARGET_SUBDIR)/libiberty && \
27059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27061 "RANLIB=$${RANLIB}" \
27062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27066 @endif target-libiberty
27068 .PHONY: maybe-html-target-libiberty html-target-libiberty
27069 maybe-html-target-libiberty:
27070 @if target-libiberty
27071 maybe-html-target-libiberty: html-target-libiberty
27073 html-target-libiberty: \
27074 configure-target-libiberty
27075 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27076 r=`${PWD_COMMAND}`; export r; \
27077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27079 $(NORMAL_TARGET_EXPORTS) \
27080 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
27081 for flag in $(EXTRA_TARGET_FLAGS); do \
27082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27084 (cd $(TARGET_SUBDIR)/libiberty && \
27085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27087 "RANLIB=$${RANLIB}" \
27088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27092 @endif target-libiberty
27094 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
27095 maybe-TAGS-target-libiberty:
27096 @if target-libiberty
27097 maybe-TAGS-target-libiberty: TAGS-target-libiberty
27099 TAGS-target-libiberty: \
27100 configure-target-libiberty
27101 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27102 r=`${PWD_COMMAND}`; export r; \
27103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27105 $(NORMAL_TARGET_EXPORTS) \
27106 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
27107 for flag in $(EXTRA_TARGET_FLAGS); do \
27108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27110 (cd $(TARGET_SUBDIR)/libiberty && \
27111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27113 "RANLIB=$${RANLIB}" \
27114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27118 @endif target-libiberty
27120 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
27121 maybe-install-info-target-libiberty:
27122 @if target-libiberty
27123 maybe-install-info-target-libiberty: install-info-target-libiberty
27125 install-info-target-libiberty: \
27126 configure-target-libiberty \
27127 info-target-libiberty
27128 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27129 r=`${PWD_COMMAND}`; export r; \
27130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27132 $(NORMAL_TARGET_EXPORTS) \
27133 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
27134 for flag in $(EXTRA_TARGET_FLAGS); do \
27135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27137 (cd $(TARGET_SUBDIR)/libiberty && \
27138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27140 "RANLIB=$${RANLIB}" \
27141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27145 @endif target-libiberty
27147 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
27148 maybe-installcheck-target-libiberty:
27149 @if target-libiberty
27150 maybe-installcheck-target-libiberty: installcheck-target-libiberty
27152 installcheck-target-libiberty: \
27153 configure-target-libiberty
27154 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27155 r=`${PWD_COMMAND}`; export r; \
27156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27158 $(NORMAL_TARGET_EXPORTS) \
27159 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
27160 for flag in $(EXTRA_TARGET_FLAGS); do \
27161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27163 (cd $(TARGET_SUBDIR)/libiberty && \
27164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27166 "RANLIB=$${RANLIB}" \
27167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27171 @endif target-libiberty
27173 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
27174 maybe-mostlyclean-target-libiberty:
27175 @if target-libiberty
27176 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
27178 mostlyclean-target-libiberty:
27179 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27180 r=`${PWD_COMMAND}`; export r; \
27181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27183 $(NORMAL_TARGET_EXPORTS) \
27184 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
27185 for flag in $(EXTRA_TARGET_FLAGS); do \
27186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27188 (cd $(TARGET_SUBDIR)/libiberty && \
27189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27191 "RANLIB=$${RANLIB}" \
27192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27196 @endif target-libiberty
27198 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
27199 maybe-clean-target-libiberty:
27200 @if target-libiberty
27201 maybe-clean-target-libiberty: clean-target-libiberty
27203 clean-target-libiberty:
27204 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27205 r=`${PWD_COMMAND}`; export r; \
27206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27208 $(NORMAL_TARGET_EXPORTS) \
27209 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
27210 for flag in $(EXTRA_TARGET_FLAGS); do \
27211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27213 (cd $(TARGET_SUBDIR)/libiberty && \
27214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27216 "RANLIB=$${RANLIB}" \
27217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27221 @endif target-libiberty
27223 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
27224 maybe-distclean-target-libiberty:
27225 @if target-libiberty
27226 maybe-distclean-target-libiberty: distclean-target-libiberty
27228 distclean-target-libiberty:
27229 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27230 r=`${PWD_COMMAND}`; export r; \
27231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27233 $(NORMAL_TARGET_EXPORTS) \
27234 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
27235 for flag in $(EXTRA_TARGET_FLAGS); do \
27236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27238 (cd $(TARGET_SUBDIR)/libiberty && \
27239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27241 "RANLIB=$${RANLIB}" \
27242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27246 @endif target-libiberty
27248 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
27249 maybe-maintainer-clean-target-libiberty:
27250 @if target-libiberty
27251 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
27253 maintainer-clean-target-libiberty:
27254 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27255 r=`${PWD_COMMAND}`; export r; \
27256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27258 $(NORMAL_TARGET_EXPORTS) \
27259 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
27260 for flag in $(EXTRA_TARGET_FLAGS); do \
27261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27263 (cd $(TARGET_SUBDIR)/libiberty && \
27264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27266 "RANLIB=$${RANLIB}" \
27267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27268 maintainer-clean) \
27271 @endif target-libiberty
27274 .PHONY: configure-target-gperf maybe-configure-target-gperf
27275 maybe-configure-target-gperf:
27277 maybe-configure-target-gperf: configure-target-gperf
27279 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27280 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
27281 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
27282 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
27283 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
27285 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
27286 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
27287 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
27288 r=`${PWD_COMMAND}`; export r; \
27289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27291 $(NORMAL_TARGET_EXPORTS) \
27292 echo Configuring in $(TARGET_SUBDIR)/gperf; \
27293 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
27294 case $(srcdir) in \
27295 /* | [A-Za-z]:[\\/]*) \
27296 topdir=$(srcdir) ;; \
27298 case "$(TARGET_SUBDIR)" in \
27299 .) topdir="../$(srcdir)" ;; \
27300 *) topdir="../../$(srcdir)" ;; \
27303 srcdiroption="--srcdir=$${topdir}/gperf"; \
27304 libsrcdir="$$s/gperf"; \
27305 rm -f no-such-file || : ; \
27306 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27307 $(TARGET_CONFIGARGS) $${srcdiroption} \
27308 --with-target-subdir="$(TARGET_SUBDIR)" \
27310 @endif target-gperf
27312 .PHONY: all-target-gperf maybe-all-target-gperf
27313 maybe-all-target-gperf:
27315 TARGET-target-gperf=all
27316 maybe-all-target-gperf: all-target-gperf
27317 all-target-gperf: configure-target-gperf
27318 @r=`${PWD_COMMAND}`; export r; \
27319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27321 $(NORMAL_TARGET_EXPORTS) \
27322 (cd $(TARGET_SUBDIR)/gperf && \
27323 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
27324 @endif target-gperf
27326 .PHONY: check-target-gperf maybe-check-target-gperf
27327 maybe-check-target-gperf:
27329 maybe-check-target-gperf: check-target-gperf
27331 check-target-gperf:
27332 @r=`${PWD_COMMAND}`; export r; \
27333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27335 $(NORMAL_TARGET_EXPORTS) \
27336 (cd $(TARGET_SUBDIR)/gperf && \
27337 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27339 @endif target-gperf
27341 .PHONY: install-target-gperf maybe-install-target-gperf
27342 maybe-install-target-gperf:
27344 maybe-install-target-gperf: install-target-gperf
27346 install-target-gperf: installdirs
27347 @r=`${PWD_COMMAND}`; export r; \
27348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27350 $(NORMAL_TARGET_EXPORTS) \
27351 (cd $(TARGET_SUBDIR)/gperf && \
27352 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27354 @endif target-gperf
27356 # Other targets (info, dvi, etc.)
27358 .PHONY: maybe-info-target-gperf info-target-gperf
27359 maybe-info-target-gperf:
27361 maybe-info-target-gperf: info-target-gperf
27363 info-target-gperf: \
27364 configure-target-gperf
27365 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27366 r=`${PWD_COMMAND}`; export r; \
27367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27369 $(NORMAL_TARGET_EXPORTS) \
27370 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
27371 for flag in $(EXTRA_TARGET_FLAGS); do \
27372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27374 (cd $(TARGET_SUBDIR)/gperf && \
27375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27377 "RANLIB=$${RANLIB}" \
27378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27382 @endif target-gperf
27384 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
27385 maybe-dvi-target-gperf:
27387 maybe-dvi-target-gperf: dvi-target-gperf
27389 dvi-target-gperf: \
27390 configure-target-gperf
27391 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27392 r=`${PWD_COMMAND}`; export r; \
27393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27395 $(NORMAL_TARGET_EXPORTS) \
27396 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
27397 for flag in $(EXTRA_TARGET_FLAGS); do \
27398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27400 (cd $(TARGET_SUBDIR)/gperf && \
27401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27403 "RANLIB=$${RANLIB}" \
27404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27408 @endif target-gperf
27410 .PHONY: maybe-html-target-gperf html-target-gperf
27411 maybe-html-target-gperf:
27413 maybe-html-target-gperf: html-target-gperf
27415 html-target-gperf: \
27416 configure-target-gperf
27417 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27418 r=`${PWD_COMMAND}`; export r; \
27419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27421 $(NORMAL_TARGET_EXPORTS) \
27422 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
27423 for flag in $(EXTRA_TARGET_FLAGS); do \
27424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27426 (cd $(TARGET_SUBDIR)/gperf && \
27427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27429 "RANLIB=$${RANLIB}" \
27430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27434 @endif target-gperf
27436 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
27437 maybe-TAGS-target-gperf:
27439 maybe-TAGS-target-gperf: TAGS-target-gperf
27441 TAGS-target-gperf: \
27442 configure-target-gperf
27443 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27444 r=`${PWD_COMMAND}`; export r; \
27445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27447 $(NORMAL_TARGET_EXPORTS) \
27448 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
27449 for flag in $(EXTRA_TARGET_FLAGS); do \
27450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27452 (cd $(TARGET_SUBDIR)/gperf && \
27453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27455 "RANLIB=$${RANLIB}" \
27456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27460 @endif target-gperf
27462 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
27463 maybe-install-info-target-gperf:
27465 maybe-install-info-target-gperf: install-info-target-gperf
27467 install-info-target-gperf: \
27468 configure-target-gperf \
27470 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27471 r=`${PWD_COMMAND}`; export r; \
27472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27474 $(NORMAL_TARGET_EXPORTS) \
27475 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
27476 for flag in $(EXTRA_TARGET_FLAGS); do \
27477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27479 (cd $(TARGET_SUBDIR)/gperf && \
27480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27482 "RANLIB=$${RANLIB}" \
27483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27487 @endif target-gperf
27489 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
27490 maybe-installcheck-target-gperf:
27492 maybe-installcheck-target-gperf: installcheck-target-gperf
27494 installcheck-target-gperf: \
27495 configure-target-gperf
27496 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27497 r=`${PWD_COMMAND}`; export r; \
27498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27500 $(NORMAL_TARGET_EXPORTS) \
27501 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
27502 for flag in $(EXTRA_TARGET_FLAGS); do \
27503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27505 (cd $(TARGET_SUBDIR)/gperf && \
27506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27508 "RANLIB=$${RANLIB}" \
27509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27513 @endif target-gperf
27515 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
27516 maybe-mostlyclean-target-gperf:
27518 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
27520 mostlyclean-target-gperf:
27521 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27522 r=`${PWD_COMMAND}`; export r; \
27523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27525 $(NORMAL_TARGET_EXPORTS) \
27526 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
27527 for flag in $(EXTRA_TARGET_FLAGS); do \
27528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27530 (cd $(TARGET_SUBDIR)/gperf && \
27531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27533 "RANLIB=$${RANLIB}" \
27534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27538 @endif target-gperf
27540 .PHONY: maybe-clean-target-gperf clean-target-gperf
27541 maybe-clean-target-gperf:
27543 maybe-clean-target-gperf: clean-target-gperf
27545 clean-target-gperf:
27546 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27547 r=`${PWD_COMMAND}`; export r; \
27548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27550 $(NORMAL_TARGET_EXPORTS) \
27551 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
27552 for flag in $(EXTRA_TARGET_FLAGS); do \
27553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27555 (cd $(TARGET_SUBDIR)/gperf && \
27556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27558 "RANLIB=$${RANLIB}" \
27559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27563 @endif target-gperf
27565 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
27566 maybe-distclean-target-gperf:
27568 maybe-distclean-target-gperf: distclean-target-gperf
27570 distclean-target-gperf:
27571 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27572 r=`${PWD_COMMAND}`; export r; \
27573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27575 $(NORMAL_TARGET_EXPORTS) \
27576 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
27577 for flag in $(EXTRA_TARGET_FLAGS); do \
27578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27580 (cd $(TARGET_SUBDIR)/gperf && \
27581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27583 "RANLIB=$${RANLIB}" \
27584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27588 @endif target-gperf
27590 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
27591 maybe-maintainer-clean-target-gperf:
27593 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
27595 maintainer-clean-target-gperf:
27596 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27597 r=`${PWD_COMMAND}`; export r; \
27598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27600 $(NORMAL_TARGET_EXPORTS) \
27601 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
27602 for flag in $(EXTRA_TARGET_FLAGS); do \
27603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27605 (cd $(TARGET_SUBDIR)/gperf && \
27606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27608 "RANLIB=$${RANLIB}" \
27609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27610 maintainer-clean) \
27613 @endif target-gperf
27616 .PHONY: configure-target-examples maybe-configure-target-examples
27617 maybe-configure-target-examples:
27618 @if target-examples
27619 maybe-configure-target-examples: configure-target-examples
27621 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27622 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
27623 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
27624 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
27625 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
27627 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
27628 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
27629 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
27630 r=`${PWD_COMMAND}`; export r; \
27631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27633 $(NORMAL_TARGET_EXPORTS) \
27634 echo Configuring in $(TARGET_SUBDIR)/examples; \
27635 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
27636 case $(srcdir) in \
27637 /* | [A-Za-z]:[\\/]*) \
27638 topdir=$(srcdir) ;; \
27640 case "$(TARGET_SUBDIR)" in \
27641 .) topdir="../$(srcdir)" ;; \
27642 *) topdir="../../$(srcdir)" ;; \
27645 srcdiroption="--srcdir=$${topdir}/examples"; \
27646 libsrcdir="$$s/examples"; \
27647 rm -f no-such-file || : ; \
27648 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27649 $(TARGET_CONFIGARGS) $${srcdiroption} \
27650 --with-target-subdir="$(TARGET_SUBDIR)" \
27652 @endif target-examples
27654 .PHONY: all-target-examples maybe-all-target-examples
27655 maybe-all-target-examples:
27656 @if target-examples
27657 TARGET-target-examples=all
27658 maybe-all-target-examples: all-target-examples
27659 all-target-examples: configure-target-examples
27660 @r=`${PWD_COMMAND}`; export r; \
27661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27663 $(NORMAL_TARGET_EXPORTS) \
27664 (cd $(TARGET_SUBDIR)/examples && \
27665 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
27666 @endif target-examples
27668 .PHONY: check-target-examples maybe-check-target-examples
27669 maybe-check-target-examples:
27670 @if target-examples
27671 maybe-check-target-examples: check-target-examples
27673 # Dummy target for uncheckable module.
27674 check-target-examples:
27676 @endif target-examples
27678 .PHONY: install-target-examples maybe-install-target-examples
27679 maybe-install-target-examples:
27680 @if target-examples
27681 maybe-install-target-examples: install-target-examples
27683 # Dummy target for uninstallable.
27684 install-target-examples:
27686 @endif target-examples
27688 # Other targets (info, dvi, etc.)
27690 .PHONY: maybe-info-target-examples info-target-examples
27691 maybe-info-target-examples:
27692 @if target-examples
27693 maybe-info-target-examples: info-target-examples
27695 info-target-examples: \
27696 configure-target-examples
27697 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27698 r=`${PWD_COMMAND}`; export r; \
27699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27701 $(NORMAL_TARGET_EXPORTS) \
27702 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
27703 for flag in $(EXTRA_TARGET_FLAGS); do \
27704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27706 (cd $(TARGET_SUBDIR)/examples && \
27707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27709 "RANLIB=$${RANLIB}" \
27710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27714 @endif target-examples
27716 .PHONY: maybe-dvi-target-examples dvi-target-examples
27717 maybe-dvi-target-examples:
27718 @if target-examples
27719 maybe-dvi-target-examples: dvi-target-examples
27721 dvi-target-examples: \
27722 configure-target-examples
27723 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27724 r=`${PWD_COMMAND}`; export r; \
27725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27727 $(NORMAL_TARGET_EXPORTS) \
27728 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
27729 for flag in $(EXTRA_TARGET_FLAGS); do \
27730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27732 (cd $(TARGET_SUBDIR)/examples && \
27733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27735 "RANLIB=$${RANLIB}" \
27736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27740 @endif target-examples
27742 .PHONY: maybe-html-target-examples html-target-examples
27743 maybe-html-target-examples:
27744 @if target-examples
27745 maybe-html-target-examples: html-target-examples
27747 html-target-examples: \
27748 configure-target-examples
27749 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27750 r=`${PWD_COMMAND}`; export r; \
27751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27753 $(NORMAL_TARGET_EXPORTS) \
27754 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
27755 for flag in $(EXTRA_TARGET_FLAGS); do \
27756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27758 (cd $(TARGET_SUBDIR)/examples && \
27759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27761 "RANLIB=$${RANLIB}" \
27762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27766 @endif target-examples
27768 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
27769 maybe-TAGS-target-examples:
27770 @if target-examples
27771 maybe-TAGS-target-examples: TAGS-target-examples
27773 TAGS-target-examples: \
27774 configure-target-examples
27775 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27776 r=`${PWD_COMMAND}`; export r; \
27777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27779 $(NORMAL_TARGET_EXPORTS) \
27780 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
27781 for flag in $(EXTRA_TARGET_FLAGS); do \
27782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27784 (cd $(TARGET_SUBDIR)/examples && \
27785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27787 "RANLIB=$${RANLIB}" \
27788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27792 @endif target-examples
27794 .PHONY: maybe-install-info-target-examples install-info-target-examples
27795 maybe-install-info-target-examples:
27796 @if target-examples
27797 maybe-install-info-target-examples: install-info-target-examples
27799 install-info-target-examples: \
27800 configure-target-examples \
27801 info-target-examples
27802 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27803 r=`${PWD_COMMAND}`; export r; \
27804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27806 $(NORMAL_TARGET_EXPORTS) \
27807 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
27808 for flag in $(EXTRA_TARGET_FLAGS); do \
27809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27811 (cd $(TARGET_SUBDIR)/examples && \
27812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27814 "RANLIB=$${RANLIB}" \
27815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27819 @endif target-examples
27821 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
27822 maybe-installcheck-target-examples:
27823 @if target-examples
27824 maybe-installcheck-target-examples: installcheck-target-examples
27826 installcheck-target-examples: \
27827 configure-target-examples
27828 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27829 r=`${PWD_COMMAND}`; export r; \
27830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27832 $(NORMAL_TARGET_EXPORTS) \
27833 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
27834 for flag in $(EXTRA_TARGET_FLAGS); do \
27835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27837 (cd $(TARGET_SUBDIR)/examples && \
27838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27840 "RANLIB=$${RANLIB}" \
27841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27845 @endif target-examples
27847 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
27848 maybe-mostlyclean-target-examples:
27849 @if target-examples
27850 maybe-mostlyclean-target-examples: mostlyclean-target-examples
27852 mostlyclean-target-examples:
27853 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27854 r=`${PWD_COMMAND}`; export r; \
27855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27857 $(NORMAL_TARGET_EXPORTS) \
27858 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
27859 for flag in $(EXTRA_TARGET_FLAGS); do \
27860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27862 (cd $(TARGET_SUBDIR)/examples && \
27863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27865 "RANLIB=$${RANLIB}" \
27866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27870 @endif target-examples
27872 .PHONY: maybe-clean-target-examples clean-target-examples
27873 maybe-clean-target-examples:
27874 @if target-examples
27875 maybe-clean-target-examples: clean-target-examples
27877 clean-target-examples:
27878 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27879 r=`${PWD_COMMAND}`; export r; \
27880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27882 $(NORMAL_TARGET_EXPORTS) \
27883 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
27884 for flag in $(EXTRA_TARGET_FLAGS); do \
27885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27887 (cd $(TARGET_SUBDIR)/examples && \
27888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27890 "RANLIB=$${RANLIB}" \
27891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27895 @endif target-examples
27897 .PHONY: maybe-distclean-target-examples distclean-target-examples
27898 maybe-distclean-target-examples:
27899 @if target-examples
27900 maybe-distclean-target-examples: distclean-target-examples
27902 distclean-target-examples:
27903 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27904 r=`${PWD_COMMAND}`; export r; \
27905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27907 $(NORMAL_TARGET_EXPORTS) \
27908 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
27909 for flag in $(EXTRA_TARGET_FLAGS); do \
27910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27912 (cd $(TARGET_SUBDIR)/examples && \
27913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27915 "RANLIB=$${RANLIB}" \
27916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27920 @endif target-examples
27922 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
27923 maybe-maintainer-clean-target-examples:
27924 @if target-examples
27925 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
27927 maintainer-clean-target-examples:
27928 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27929 r=`${PWD_COMMAND}`; export r; \
27930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27932 $(NORMAL_TARGET_EXPORTS) \
27933 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
27934 for flag in $(EXTRA_TARGET_FLAGS); do \
27935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27937 (cd $(TARGET_SUBDIR)/examples && \
27938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27940 "RANLIB=$${RANLIB}" \
27941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27942 maintainer-clean) \
27945 @endif target-examples
27948 .PHONY: configure-target-libffi maybe-configure-target-libffi
27949 maybe-configure-target-libffi:
27951 maybe-configure-target-libffi: configure-target-libffi
27953 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27954 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
27955 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
27956 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
27957 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
27959 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
27960 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
27961 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
27962 r=`${PWD_COMMAND}`; export r; \
27963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27965 $(NORMAL_TARGET_EXPORTS) \
27966 echo Configuring in $(TARGET_SUBDIR)/libffi; \
27967 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
27968 case $(srcdir) in \
27969 /* | [A-Za-z]:[\\/]*) \
27970 topdir=$(srcdir) ;; \
27972 case "$(TARGET_SUBDIR)" in \
27973 .) topdir="../$(srcdir)" ;; \
27974 *) topdir="../../$(srcdir)" ;; \
27977 srcdiroption="--srcdir=$${topdir}/libffi"; \
27978 libsrcdir="$$s/libffi"; \
27979 rm -f no-such-file || : ; \
27980 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27981 $(TARGET_CONFIGARGS) $${srcdiroption} \
27982 --with-target-subdir="$(TARGET_SUBDIR)" \
27984 @endif target-libffi
27986 .PHONY: all-target-libffi maybe-all-target-libffi
27987 maybe-all-target-libffi:
27989 TARGET-target-libffi=all
27990 maybe-all-target-libffi: all-target-libffi
27991 all-target-libffi: configure-target-libffi
27992 @r=`${PWD_COMMAND}`; export r; \
27993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27995 $(NORMAL_TARGET_EXPORTS) \
27996 (cd $(TARGET_SUBDIR)/libffi && \
27997 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
27998 @endif target-libffi
28000 .PHONY: check-target-libffi maybe-check-target-libffi
28001 maybe-check-target-libffi:
28003 maybe-check-target-libffi: check-target-libffi
28005 check-target-libffi:
28006 @r=`${PWD_COMMAND}`; export r; \
28007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28009 $(NORMAL_TARGET_EXPORTS) \
28010 (cd $(TARGET_SUBDIR)/libffi && \
28011 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28013 @endif target-libffi
28015 .PHONY: install-target-libffi maybe-install-target-libffi
28016 maybe-install-target-libffi:
28018 maybe-install-target-libffi: install-target-libffi
28020 install-target-libffi: installdirs
28021 @r=`${PWD_COMMAND}`; export r; \
28022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28024 $(NORMAL_TARGET_EXPORTS) \
28025 (cd $(TARGET_SUBDIR)/libffi && \
28026 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28028 @endif target-libffi
28030 # Other targets (info, dvi, etc.)
28032 .PHONY: maybe-info-target-libffi info-target-libffi
28033 maybe-info-target-libffi:
28035 maybe-info-target-libffi: info-target-libffi
28037 info-target-libffi: \
28038 configure-target-libffi
28039 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28040 r=`${PWD_COMMAND}`; export r; \
28041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28043 $(NORMAL_TARGET_EXPORTS) \
28044 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
28045 for flag in $(EXTRA_TARGET_FLAGS); do \
28046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28048 (cd $(TARGET_SUBDIR)/libffi && \
28049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28051 "RANLIB=$${RANLIB}" \
28052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28056 @endif target-libffi
28058 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
28059 maybe-dvi-target-libffi:
28061 maybe-dvi-target-libffi: dvi-target-libffi
28063 dvi-target-libffi: \
28064 configure-target-libffi
28065 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28066 r=`${PWD_COMMAND}`; export r; \
28067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28069 $(NORMAL_TARGET_EXPORTS) \
28070 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
28071 for flag in $(EXTRA_TARGET_FLAGS); do \
28072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28074 (cd $(TARGET_SUBDIR)/libffi && \
28075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28077 "RANLIB=$${RANLIB}" \
28078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28082 @endif target-libffi
28084 .PHONY: maybe-html-target-libffi html-target-libffi
28085 maybe-html-target-libffi:
28087 maybe-html-target-libffi: html-target-libffi
28089 html-target-libffi: \
28090 configure-target-libffi
28091 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28092 r=`${PWD_COMMAND}`; export r; \
28093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28095 $(NORMAL_TARGET_EXPORTS) \
28096 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
28097 for flag in $(EXTRA_TARGET_FLAGS); do \
28098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28100 (cd $(TARGET_SUBDIR)/libffi && \
28101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28103 "RANLIB=$${RANLIB}" \
28104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28108 @endif target-libffi
28110 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
28111 maybe-TAGS-target-libffi:
28113 maybe-TAGS-target-libffi: TAGS-target-libffi
28115 TAGS-target-libffi: \
28116 configure-target-libffi
28117 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28118 r=`${PWD_COMMAND}`; export r; \
28119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28121 $(NORMAL_TARGET_EXPORTS) \
28122 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
28123 for flag in $(EXTRA_TARGET_FLAGS); do \
28124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28126 (cd $(TARGET_SUBDIR)/libffi && \
28127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28129 "RANLIB=$${RANLIB}" \
28130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28134 @endif target-libffi
28136 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
28137 maybe-install-info-target-libffi:
28139 maybe-install-info-target-libffi: install-info-target-libffi
28141 install-info-target-libffi: \
28142 configure-target-libffi \
28144 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28145 r=`${PWD_COMMAND}`; export r; \
28146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28148 $(NORMAL_TARGET_EXPORTS) \
28149 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
28150 for flag in $(EXTRA_TARGET_FLAGS); do \
28151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28153 (cd $(TARGET_SUBDIR)/libffi && \
28154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28156 "RANLIB=$${RANLIB}" \
28157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28161 @endif target-libffi
28163 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
28164 maybe-installcheck-target-libffi:
28166 maybe-installcheck-target-libffi: installcheck-target-libffi
28168 installcheck-target-libffi: \
28169 configure-target-libffi
28170 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28171 r=`${PWD_COMMAND}`; export r; \
28172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28174 $(NORMAL_TARGET_EXPORTS) \
28175 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
28176 for flag in $(EXTRA_TARGET_FLAGS); do \
28177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28179 (cd $(TARGET_SUBDIR)/libffi && \
28180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28182 "RANLIB=$${RANLIB}" \
28183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28187 @endif target-libffi
28189 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
28190 maybe-mostlyclean-target-libffi:
28192 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
28194 mostlyclean-target-libffi:
28195 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28196 r=`${PWD_COMMAND}`; export r; \
28197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28199 $(NORMAL_TARGET_EXPORTS) \
28200 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
28201 for flag in $(EXTRA_TARGET_FLAGS); do \
28202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28204 (cd $(TARGET_SUBDIR)/libffi && \
28205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28207 "RANLIB=$${RANLIB}" \
28208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28212 @endif target-libffi
28214 .PHONY: maybe-clean-target-libffi clean-target-libffi
28215 maybe-clean-target-libffi:
28217 maybe-clean-target-libffi: clean-target-libffi
28219 clean-target-libffi:
28220 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28221 r=`${PWD_COMMAND}`; export r; \
28222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28224 $(NORMAL_TARGET_EXPORTS) \
28225 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
28226 for flag in $(EXTRA_TARGET_FLAGS); do \
28227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28229 (cd $(TARGET_SUBDIR)/libffi && \
28230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28232 "RANLIB=$${RANLIB}" \
28233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28237 @endif target-libffi
28239 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
28240 maybe-distclean-target-libffi:
28242 maybe-distclean-target-libffi: distclean-target-libffi
28244 distclean-target-libffi:
28245 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28246 r=`${PWD_COMMAND}`; export r; \
28247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28249 $(NORMAL_TARGET_EXPORTS) \
28250 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
28251 for flag in $(EXTRA_TARGET_FLAGS); do \
28252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28254 (cd $(TARGET_SUBDIR)/libffi && \
28255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28257 "RANLIB=$${RANLIB}" \
28258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28262 @endif target-libffi
28264 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
28265 maybe-maintainer-clean-target-libffi:
28267 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
28269 maintainer-clean-target-libffi:
28270 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28271 r=`${PWD_COMMAND}`; export r; \
28272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28274 $(NORMAL_TARGET_EXPORTS) \
28275 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
28276 for flag in $(EXTRA_TARGET_FLAGS); do \
28277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28279 (cd $(TARGET_SUBDIR)/libffi && \
28280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28282 "RANLIB=$${RANLIB}" \
28283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28284 maintainer-clean) \
28287 @endif target-libffi
28290 .PHONY: configure-target-libjava maybe-configure-target-libjava
28291 maybe-configure-target-libjava:
28293 maybe-configure-target-libjava: configure-target-libjava
28295 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28296 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
28297 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
28298 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
28299 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
28301 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
28302 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
28303 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
28304 r=`${PWD_COMMAND}`; export r; \
28305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28307 $(RAW_CXX_TARGET_EXPORTS) \
28308 echo Configuring in $(TARGET_SUBDIR)/libjava; \
28309 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
28310 case $(srcdir) in \
28311 /* | [A-Za-z]:[\\/]*) \
28312 topdir=$(srcdir) ;; \
28314 case "$(TARGET_SUBDIR)" in \
28315 .) topdir="../$(srcdir)" ;; \
28316 *) topdir="../../$(srcdir)" ;; \
28319 srcdiroption="--srcdir=$${topdir}/libjava"; \
28320 libsrcdir="$$s/libjava"; \
28321 rm -f no-such-file || : ; \
28322 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28323 $(TARGET_CONFIGARGS) $${srcdiroption} \
28324 --with-target-subdir="$(TARGET_SUBDIR)" \
28326 @endif target-libjava
28328 .PHONY: all-target-libjava maybe-all-target-libjava
28329 maybe-all-target-libjava:
28331 TARGET-target-libjava=all
28332 maybe-all-target-libjava: all-target-libjava
28333 all-target-libjava: configure-target-libjava
28334 @r=`${PWD_COMMAND}`; export r; \
28335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28337 $(RAW_CXX_TARGET_EXPORTS) \
28338 (cd $(TARGET_SUBDIR)/libjava && \
28339 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
28340 @endif target-libjava
28342 .PHONY: check-target-libjava maybe-check-target-libjava
28343 maybe-check-target-libjava:
28345 maybe-check-target-libjava: check-target-libjava
28347 check-target-libjava:
28348 @r=`${PWD_COMMAND}`; export r; \
28349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28351 $(RAW_CXX_TARGET_EXPORTS) \
28352 (cd $(TARGET_SUBDIR)/libjava && \
28353 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
28355 @endif target-libjava
28357 .PHONY: install-target-libjava maybe-install-target-libjava
28358 maybe-install-target-libjava:
28360 maybe-install-target-libjava: install-target-libjava
28362 install-target-libjava: installdirs
28363 @r=`${PWD_COMMAND}`; export r; \
28364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28366 $(RAW_CXX_TARGET_EXPORTS) \
28367 (cd $(TARGET_SUBDIR)/libjava && \
28368 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28370 @endif target-libjava
28372 # Other targets (info, dvi, etc.)
28374 .PHONY: maybe-info-target-libjava info-target-libjava
28375 maybe-info-target-libjava:
28377 maybe-info-target-libjava: info-target-libjava
28379 info-target-libjava: \
28380 configure-target-libjava
28381 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28382 r=`${PWD_COMMAND}`; export r; \
28383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28385 $(RAW_CXX_TARGET_EXPORTS) \
28386 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
28387 for flag in $(EXTRA_TARGET_FLAGS); do \
28388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28390 (cd $(TARGET_SUBDIR)/libjava && \
28391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28393 "RANLIB=$${RANLIB}" \
28394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28398 @endif target-libjava
28400 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
28401 maybe-dvi-target-libjava:
28403 maybe-dvi-target-libjava: dvi-target-libjava
28405 dvi-target-libjava: \
28406 configure-target-libjava
28407 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28408 r=`${PWD_COMMAND}`; export r; \
28409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28411 $(RAW_CXX_TARGET_EXPORTS) \
28412 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
28413 for flag in $(EXTRA_TARGET_FLAGS); do \
28414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28416 (cd $(TARGET_SUBDIR)/libjava && \
28417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28419 "RANLIB=$${RANLIB}" \
28420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28424 @endif target-libjava
28426 .PHONY: maybe-html-target-libjava html-target-libjava
28427 maybe-html-target-libjava:
28429 maybe-html-target-libjava: html-target-libjava
28431 html-target-libjava: \
28432 configure-target-libjava
28433 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28434 r=`${PWD_COMMAND}`; export r; \
28435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28437 $(RAW_CXX_TARGET_EXPORTS) \
28438 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
28439 for flag in $(EXTRA_TARGET_FLAGS); do \
28440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28442 (cd $(TARGET_SUBDIR)/libjava && \
28443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28445 "RANLIB=$${RANLIB}" \
28446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28450 @endif target-libjava
28452 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
28453 maybe-TAGS-target-libjava:
28455 maybe-TAGS-target-libjava: TAGS-target-libjava
28457 TAGS-target-libjava: \
28458 configure-target-libjava
28459 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28460 r=`${PWD_COMMAND}`; export r; \
28461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28463 $(RAW_CXX_TARGET_EXPORTS) \
28464 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
28465 for flag in $(EXTRA_TARGET_FLAGS); do \
28466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28468 (cd $(TARGET_SUBDIR)/libjava && \
28469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28471 "RANLIB=$${RANLIB}" \
28472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28476 @endif target-libjava
28478 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
28479 maybe-install-info-target-libjava:
28481 maybe-install-info-target-libjava: install-info-target-libjava
28483 install-info-target-libjava: \
28484 configure-target-libjava \
28485 info-target-libjava
28486 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28487 r=`${PWD_COMMAND}`; export r; \
28488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28490 $(RAW_CXX_TARGET_EXPORTS) \
28491 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
28492 for flag in $(EXTRA_TARGET_FLAGS); do \
28493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28495 (cd $(TARGET_SUBDIR)/libjava && \
28496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28498 "RANLIB=$${RANLIB}" \
28499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28503 @endif target-libjava
28505 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
28506 maybe-installcheck-target-libjava:
28508 maybe-installcheck-target-libjava: installcheck-target-libjava
28510 installcheck-target-libjava: \
28511 configure-target-libjava
28512 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28513 r=`${PWD_COMMAND}`; export r; \
28514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28516 $(RAW_CXX_TARGET_EXPORTS) \
28517 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
28518 for flag in $(EXTRA_TARGET_FLAGS); do \
28519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28521 (cd $(TARGET_SUBDIR)/libjava && \
28522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28524 "RANLIB=$${RANLIB}" \
28525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28529 @endif target-libjava
28531 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
28532 maybe-mostlyclean-target-libjava:
28534 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
28536 mostlyclean-target-libjava:
28537 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28538 r=`${PWD_COMMAND}`; export r; \
28539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28541 $(RAW_CXX_TARGET_EXPORTS) \
28542 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
28543 for flag in $(EXTRA_TARGET_FLAGS); do \
28544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28546 (cd $(TARGET_SUBDIR)/libjava && \
28547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28549 "RANLIB=$${RANLIB}" \
28550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28554 @endif target-libjava
28556 .PHONY: maybe-clean-target-libjava clean-target-libjava
28557 maybe-clean-target-libjava:
28559 maybe-clean-target-libjava: clean-target-libjava
28561 clean-target-libjava:
28562 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28563 r=`${PWD_COMMAND}`; export r; \
28564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28566 $(RAW_CXX_TARGET_EXPORTS) \
28567 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
28568 for flag in $(EXTRA_TARGET_FLAGS); do \
28569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28571 (cd $(TARGET_SUBDIR)/libjava && \
28572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28574 "RANLIB=$${RANLIB}" \
28575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28579 @endif target-libjava
28581 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
28582 maybe-distclean-target-libjava:
28584 maybe-distclean-target-libjava: distclean-target-libjava
28586 distclean-target-libjava:
28587 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28588 r=`${PWD_COMMAND}`; export r; \
28589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28591 $(RAW_CXX_TARGET_EXPORTS) \
28592 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
28593 for flag in $(EXTRA_TARGET_FLAGS); do \
28594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28596 (cd $(TARGET_SUBDIR)/libjava && \
28597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28599 "RANLIB=$${RANLIB}" \
28600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28604 @endif target-libjava
28606 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
28607 maybe-maintainer-clean-target-libjava:
28609 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
28611 maintainer-clean-target-libjava:
28612 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28613 r=`${PWD_COMMAND}`; export r; \
28614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28616 $(RAW_CXX_TARGET_EXPORTS) \
28617 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
28618 for flag in $(EXTRA_TARGET_FLAGS); do \
28619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28621 (cd $(TARGET_SUBDIR)/libjava && \
28622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28624 "RANLIB=$${RANLIB}" \
28625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28626 maintainer-clean) \
28629 @endif target-libjava
28632 .PHONY: configure-target-zlib maybe-configure-target-zlib
28633 maybe-configure-target-zlib:
28635 maybe-configure-target-zlib: configure-target-zlib
28637 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28638 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
28639 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
28640 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
28641 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
28643 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
28644 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
28645 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
28646 r=`${PWD_COMMAND}`; export r; \
28647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28649 $(NORMAL_TARGET_EXPORTS) \
28650 echo Configuring in $(TARGET_SUBDIR)/zlib; \
28651 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
28652 case $(srcdir) in \
28653 /* | [A-Za-z]:[\\/]*) \
28654 topdir=$(srcdir) ;; \
28656 case "$(TARGET_SUBDIR)" in \
28657 .) topdir="../$(srcdir)" ;; \
28658 *) topdir="../../$(srcdir)" ;; \
28661 if [ "$(srcdir)" = "." ] ; then \
28662 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
28663 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
28664 if [ -f Makefile ]; then \
28665 if $(MAKE) distclean; then \
28679 srcdiroption="--srcdir=."; \
28682 srcdiroption="--srcdir=$${topdir}/zlib"; \
28683 libsrcdir="$$s/zlib"; \
28685 rm -f no-such-file || : ; \
28686 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28687 $(TARGET_CONFIGARGS) $${srcdiroption} \
28688 --with-target-subdir="$(TARGET_SUBDIR)" \
28692 .PHONY: all-target-zlib maybe-all-target-zlib
28693 maybe-all-target-zlib:
28695 TARGET-target-zlib=all
28696 maybe-all-target-zlib: all-target-zlib
28697 all-target-zlib: configure-target-zlib
28698 @r=`${PWD_COMMAND}`; export r; \
28699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28701 $(NORMAL_TARGET_EXPORTS) \
28702 (cd $(TARGET_SUBDIR)/zlib && \
28703 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
28706 .PHONY: check-target-zlib maybe-check-target-zlib
28707 maybe-check-target-zlib:
28709 maybe-check-target-zlib: check-target-zlib
28712 @r=`${PWD_COMMAND}`; export r; \
28713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28715 $(NORMAL_TARGET_EXPORTS) \
28716 (cd $(TARGET_SUBDIR)/zlib && \
28717 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28721 .PHONY: install-target-zlib maybe-install-target-zlib
28722 maybe-install-target-zlib:
28724 maybe-install-target-zlib: install-target-zlib
28726 install-target-zlib: installdirs
28727 @r=`${PWD_COMMAND}`; export r; \
28728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28730 $(NORMAL_TARGET_EXPORTS) \
28731 (cd $(TARGET_SUBDIR)/zlib && \
28732 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28736 # Other targets (info, dvi, etc.)
28738 .PHONY: maybe-info-target-zlib info-target-zlib
28739 maybe-info-target-zlib:
28741 maybe-info-target-zlib: info-target-zlib
28743 info-target-zlib: \
28744 configure-target-zlib
28745 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28746 r=`${PWD_COMMAND}`; export r; \
28747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28749 $(NORMAL_TARGET_EXPORTS) \
28750 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
28751 for flag in $(EXTRA_TARGET_FLAGS); do \
28752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28754 (cd $(TARGET_SUBDIR)/zlib && \
28755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28757 "RANLIB=$${RANLIB}" \
28758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28764 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
28765 maybe-dvi-target-zlib:
28767 maybe-dvi-target-zlib: dvi-target-zlib
28770 configure-target-zlib
28771 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28772 r=`${PWD_COMMAND}`; export r; \
28773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28775 $(NORMAL_TARGET_EXPORTS) \
28776 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
28777 for flag in $(EXTRA_TARGET_FLAGS); do \
28778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28780 (cd $(TARGET_SUBDIR)/zlib && \
28781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28783 "RANLIB=$${RANLIB}" \
28784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28790 .PHONY: maybe-html-target-zlib html-target-zlib
28791 maybe-html-target-zlib:
28793 maybe-html-target-zlib: html-target-zlib
28795 html-target-zlib: \
28796 configure-target-zlib
28797 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28798 r=`${PWD_COMMAND}`; export r; \
28799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28801 $(NORMAL_TARGET_EXPORTS) \
28802 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
28803 for flag in $(EXTRA_TARGET_FLAGS); do \
28804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28806 (cd $(TARGET_SUBDIR)/zlib && \
28807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28809 "RANLIB=$${RANLIB}" \
28810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28816 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
28817 maybe-TAGS-target-zlib:
28819 maybe-TAGS-target-zlib: TAGS-target-zlib
28821 TAGS-target-zlib: \
28822 configure-target-zlib
28823 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28824 r=`${PWD_COMMAND}`; export r; \
28825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28827 $(NORMAL_TARGET_EXPORTS) \
28828 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
28829 for flag in $(EXTRA_TARGET_FLAGS); do \
28830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28832 (cd $(TARGET_SUBDIR)/zlib && \
28833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28835 "RANLIB=$${RANLIB}" \
28836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28842 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
28843 maybe-install-info-target-zlib:
28845 maybe-install-info-target-zlib: install-info-target-zlib
28847 install-info-target-zlib: \
28848 configure-target-zlib \
28850 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28851 r=`${PWD_COMMAND}`; export r; \
28852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28854 $(NORMAL_TARGET_EXPORTS) \
28855 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
28856 for flag in $(EXTRA_TARGET_FLAGS); do \
28857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28859 (cd $(TARGET_SUBDIR)/zlib && \
28860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28862 "RANLIB=$${RANLIB}" \
28863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28869 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
28870 maybe-installcheck-target-zlib:
28872 maybe-installcheck-target-zlib: installcheck-target-zlib
28874 installcheck-target-zlib: \
28875 configure-target-zlib
28876 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28877 r=`${PWD_COMMAND}`; export r; \
28878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28880 $(NORMAL_TARGET_EXPORTS) \
28881 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
28882 for flag in $(EXTRA_TARGET_FLAGS); do \
28883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28885 (cd $(TARGET_SUBDIR)/zlib && \
28886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28888 "RANLIB=$${RANLIB}" \
28889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28895 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
28896 maybe-mostlyclean-target-zlib:
28898 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
28900 mostlyclean-target-zlib:
28901 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28902 r=`${PWD_COMMAND}`; export r; \
28903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28905 $(NORMAL_TARGET_EXPORTS) \
28906 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
28907 for flag in $(EXTRA_TARGET_FLAGS); do \
28908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28910 (cd $(TARGET_SUBDIR)/zlib && \
28911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28913 "RANLIB=$${RANLIB}" \
28914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28920 .PHONY: maybe-clean-target-zlib clean-target-zlib
28921 maybe-clean-target-zlib:
28923 maybe-clean-target-zlib: clean-target-zlib
28926 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28927 r=`${PWD_COMMAND}`; export r; \
28928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28930 $(NORMAL_TARGET_EXPORTS) \
28931 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
28932 for flag in $(EXTRA_TARGET_FLAGS); do \
28933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28935 (cd $(TARGET_SUBDIR)/zlib && \
28936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28938 "RANLIB=$${RANLIB}" \
28939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28945 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
28946 maybe-distclean-target-zlib:
28948 maybe-distclean-target-zlib: distclean-target-zlib
28950 distclean-target-zlib:
28951 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28952 r=`${PWD_COMMAND}`; export r; \
28953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28955 $(NORMAL_TARGET_EXPORTS) \
28956 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
28957 for flag in $(EXTRA_TARGET_FLAGS); do \
28958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28960 (cd $(TARGET_SUBDIR)/zlib && \
28961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28963 "RANLIB=$${RANLIB}" \
28964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28970 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
28971 maybe-maintainer-clean-target-zlib:
28973 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
28975 maintainer-clean-target-zlib:
28976 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28977 r=`${PWD_COMMAND}`; export r; \
28978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28980 $(NORMAL_TARGET_EXPORTS) \
28981 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
28982 for flag in $(EXTRA_TARGET_FLAGS); do \
28983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28985 (cd $(TARGET_SUBDIR)/zlib && \
28986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28988 "RANLIB=$${RANLIB}" \
28989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28990 maintainer-clean) \
28996 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
28997 maybe-configure-target-boehm-gc:
28998 @if target-boehm-gc
28999 maybe-configure-target-boehm-gc: configure-target-boehm-gc
29001 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29002 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
29003 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
29004 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
29005 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
29007 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
29008 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
29009 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
29010 r=`${PWD_COMMAND}`; export r; \
29011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29013 $(NORMAL_TARGET_EXPORTS) \
29014 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
29015 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
29016 case $(srcdir) in \
29017 /* | [A-Za-z]:[\\/]*) \
29018 topdir=$(srcdir) ;; \
29020 case "$(TARGET_SUBDIR)" in \
29021 .) topdir="../$(srcdir)" ;; \
29022 *) topdir="../../$(srcdir)" ;; \
29025 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
29026 libsrcdir="$$s/boehm-gc"; \
29027 rm -f no-such-file || : ; \
29028 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29029 $(TARGET_CONFIGARGS) $${srcdiroption} \
29030 --with-target-subdir="$(TARGET_SUBDIR)" \
29032 @endif target-boehm-gc
29034 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
29035 maybe-all-target-boehm-gc:
29036 @if target-boehm-gc
29037 TARGET-target-boehm-gc=all
29038 maybe-all-target-boehm-gc: all-target-boehm-gc
29039 all-target-boehm-gc: configure-target-boehm-gc
29040 @r=`${PWD_COMMAND}`; export r; \
29041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29043 $(NORMAL_TARGET_EXPORTS) \
29044 (cd $(TARGET_SUBDIR)/boehm-gc && \
29045 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
29046 @endif target-boehm-gc
29048 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
29049 maybe-check-target-boehm-gc:
29050 @if target-boehm-gc
29051 maybe-check-target-boehm-gc: check-target-boehm-gc
29053 check-target-boehm-gc:
29054 @r=`${PWD_COMMAND}`; export r; \
29055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29057 $(NORMAL_TARGET_EXPORTS) \
29058 (cd $(TARGET_SUBDIR)/boehm-gc && \
29059 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29061 @endif target-boehm-gc
29063 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
29064 maybe-install-target-boehm-gc:
29065 @if target-boehm-gc
29066 maybe-install-target-boehm-gc: install-target-boehm-gc
29068 install-target-boehm-gc: installdirs
29069 @r=`${PWD_COMMAND}`; export r; \
29070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29072 $(NORMAL_TARGET_EXPORTS) \
29073 (cd $(TARGET_SUBDIR)/boehm-gc && \
29074 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29076 @endif target-boehm-gc
29078 # Other targets (info, dvi, etc.)
29080 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
29081 maybe-info-target-boehm-gc:
29082 @if target-boehm-gc
29083 maybe-info-target-boehm-gc: info-target-boehm-gc
29085 info-target-boehm-gc: \
29086 configure-target-boehm-gc
29087 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29088 r=`${PWD_COMMAND}`; export r; \
29089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29091 $(NORMAL_TARGET_EXPORTS) \
29092 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
29093 for flag in $(EXTRA_TARGET_FLAGS); do \
29094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29096 (cd $(TARGET_SUBDIR)/boehm-gc && \
29097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29099 "RANLIB=$${RANLIB}" \
29100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29104 @endif target-boehm-gc
29106 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
29107 maybe-dvi-target-boehm-gc:
29108 @if target-boehm-gc
29109 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
29111 dvi-target-boehm-gc: \
29112 configure-target-boehm-gc
29113 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29114 r=`${PWD_COMMAND}`; export r; \
29115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29117 $(NORMAL_TARGET_EXPORTS) \
29118 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
29119 for flag in $(EXTRA_TARGET_FLAGS); do \
29120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29122 (cd $(TARGET_SUBDIR)/boehm-gc && \
29123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29125 "RANLIB=$${RANLIB}" \
29126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29130 @endif target-boehm-gc
29132 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
29133 maybe-html-target-boehm-gc:
29134 @if target-boehm-gc
29135 maybe-html-target-boehm-gc: html-target-boehm-gc
29137 html-target-boehm-gc: \
29138 configure-target-boehm-gc
29139 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29140 r=`${PWD_COMMAND}`; export r; \
29141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29143 $(NORMAL_TARGET_EXPORTS) \
29144 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
29145 for flag in $(EXTRA_TARGET_FLAGS); do \
29146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29148 (cd $(TARGET_SUBDIR)/boehm-gc && \
29149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29151 "RANLIB=$${RANLIB}" \
29152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29156 @endif target-boehm-gc
29158 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
29159 maybe-TAGS-target-boehm-gc:
29160 @if target-boehm-gc
29161 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
29163 TAGS-target-boehm-gc: \
29164 configure-target-boehm-gc
29165 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29166 r=`${PWD_COMMAND}`; export r; \
29167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29169 $(NORMAL_TARGET_EXPORTS) \
29170 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
29171 for flag in $(EXTRA_TARGET_FLAGS); do \
29172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29174 (cd $(TARGET_SUBDIR)/boehm-gc && \
29175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29177 "RANLIB=$${RANLIB}" \
29178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29182 @endif target-boehm-gc
29184 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
29185 maybe-install-info-target-boehm-gc:
29186 @if target-boehm-gc
29187 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
29189 install-info-target-boehm-gc: \
29190 configure-target-boehm-gc \
29191 info-target-boehm-gc
29192 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29193 r=`${PWD_COMMAND}`; export r; \
29194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29196 $(NORMAL_TARGET_EXPORTS) \
29197 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
29198 for flag in $(EXTRA_TARGET_FLAGS); do \
29199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29201 (cd $(TARGET_SUBDIR)/boehm-gc && \
29202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29204 "RANLIB=$${RANLIB}" \
29205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29209 @endif target-boehm-gc
29211 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
29212 maybe-installcheck-target-boehm-gc:
29213 @if target-boehm-gc
29214 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
29216 installcheck-target-boehm-gc: \
29217 configure-target-boehm-gc
29218 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29219 r=`${PWD_COMMAND}`; export r; \
29220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29222 $(NORMAL_TARGET_EXPORTS) \
29223 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
29224 for flag in $(EXTRA_TARGET_FLAGS); do \
29225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29227 (cd $(TARGET_SUBDIR)/boehm-gc && \
29228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29230 "RANLIB=$${RANLIB}" \
29231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29235 @endif target-boehm-gc
29237 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
29238 maybe-mostlyclean-target-boehm-gc:
29239 @if target-boehm-gc
29240 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
29242 mostlyclean-target-boehm-gc:
29243 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29244 r=`${PWD_COMMAND}`; export r; \
29245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29247 $(NORMAL_TARGET_EXPORTS) \
29248 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
29249 for flag in $(EXTRA_TARGET_FLAGS); do \
29250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29252 (cd $(TARGET_SUBDIR)/boehm-gc && \
29253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29255 "RANLIB=$${RANLIB}" \
29256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29260 @endif target-boehm-gc
29262 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
29263 maybe-clean-target-boehm-gc:
29264 @if target-boehm-gc
29265 maybe-clean-target-boehm-gc: clean-target-boehm-gc
29267 clean-target-boehm-gc:
29268 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29269 r=`${PWD_COMMAND}`; export r; \
29270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29272 $(NORMAL_TARGET_EXPORTS) \
29273 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
29274 for flag in $(EXTRA_TARGET_FLAGS); do \
29275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29277 (cd $(TARGET_SUBDIR)/boehm-gc && \
29278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29280 "RANLIB=$${RANLIB}" \
29281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29285 @endif target-boehm-gc
29287 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
29288 maybe-distclean-target-boehm-gc:
29289 @if target-boehm-gc
29290 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
29292 distclean-target-boehm-gc:
29293 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29294 r=`${PWD_COMMAND}`; export r; \
29295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29297 $(NORMAL_TARGET_EXPORTS) \
29298 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
29299 for flag in $(EXTRA_TARGET_FLAGS); do \
29300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29302 (cd $(TARGET_SUBDIR)/boehm-gc && \
29303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29305 "RANLIB=$${RANLIB}" \
29306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29310 @endif target-boehm-gc
29312 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
29313 maybe-maintainer-clean-target-boehm-gc:
29314 @if target-boehm-gc
29315 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
29317 maintainer-clean-target-boehm-gc:
29318 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29319 r=`${PWD_COMMAND}`; export r; \
29320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29322 $(NORMAL_TARGET_EXPORTS) \
29323 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
29324 for flag in $(EXTRA_TARGET_FLAGS); do \
29325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29327 (cd $(TARGET_SUBDIR)/boehm-gc && \
29328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29330 "RANLIB=$${RANLIB}" \
29331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29332 maintainer-clean) \
29335 @endif target-boehm-gc
29338 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
29339 maybe-configure-target-qthreads:
29340 @if target-qthreads
29341 maybe-configure-target-qthreads: configure-target-qthreads
29343 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29344 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
29345 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
29346 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
29347 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
29349 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
29350 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
29351 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
29352 r=`${PWD_COMMAND}`; export r; \
29353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29355 $(NORMAL_TARGET_EXPORTS) \
29356 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
29357 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
29358 case $(srcdir) in \
29359 /* | [A-Za-z]:[\\/]*) \
29360 topdir=$(srcdir) ;; \
29362 case "$(TARGET_SUBDIR)" in \
29363 .) topdir="../$(srcdir)" ;; \
29364 *) topdir="../../$(srcdir)" ;; \
29367 srcdiroption="--srcdir=$${topdir}/qthreads"; \
29368 libsrcdir="$$s/qthreads"; \
29369 rm -f no-such-file || : ; \
29370 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29371 $(TARGET_CONFIGARGS) $${srcdiroption} \
29372 --with-target-subdir="$(TARGET_SUBDIR)" \
29374 @endif target-qthreads
29376 .PHONY: all-target-qthreads maybe-all-target-qthreads
29377 maybe-all-target-qthreads:
29378 @if target-qthreads
29379 TARGET-target-qthreads=all
29380 maybe-all-target-qthreads: all-target-qthreads
29381 all-target-qthreads: configure-target-qthreads
29382 @r=`${PWD_COMMAND}`; export r; \
29383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29385 $(NORMAL_TARGET_EXPORTS) \
29386 (cd $(TARGET_SUBDIR)/qthreads && \
29387 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
29388 @endif target-qthreads
29390 .PHONY: check-target-qthreads maybe-check-target-qthreads
29391 maybe-check-target-qthreads:
29392 @if target-qthreads
29393 maybe-check-target-qthreads: check-target-qthreads
29395 check-target-qthreads:
29396 @r=`${PWD_COMMAND}`; export r; \
29397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29399 $(NORMAL_TARGET_EXPORTS) \
29400 (cd $(TARGET_SUBDIR)/qthreads && \
29401 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29403 @endif target-qthreads
29405 .PHONY: install-target-qthreads maybe-install-target-qthreads
29406 maybe-install-target-qthreads:
29407 @if target-qthreads
29408 maybe-install-target-qthreads: install-target-qthreads
29410 install-target-qthreads: installdirs
29411 @r=`${PWD_COMMAND}`; export r; \
29412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29414 $(NORMAL_TARGET_EXPORTS) \
29415 (cd $(TARGET_SUBDIR)/qthreads && \
29416 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29418 @endif target-qthreads
29420 # Other targets (info, dvi, etc.)
29422 .PHONY: maybe-info-target-qthreads info-target-qthreads
29423 maybe-info-target-qthreads:
29424 @if target-qthreads
29425 maybe-info-target-qthreads: info-target-qthreads
29427 info-target-qthreads: \
29428 configure-target-qthreads
29429 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29430 r=`${PWD_COMMAND}`; export r; \
29431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29433 $(NORMAL_TARGET_EXPORTS) \
29434 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
29435 for flag in $(EXTRA_TARGET_FLAGS); do \
29436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29438 (cd $(TARGET_SUBDIR)/qthreads && \
29439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29441 "RANLIB=$${RANLIB}" \
29442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29446 @endif target-qthreads
29448 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
29449 maybe-dvi-target-qthreads:
29450 @if target-qthreads
29451 maybe-dvi-target-qthreads: dvi-target-qthreads
29453 dvi-target-qthreads: \
29454 configure-target-qthreads
29455 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29456 r=`${PWD_COMMAND}`; export r; \
29457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29459 $(NORMAL_TARGET_EXPORTS) \
29460 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
29461 for flag in $(EXTRA_TARGET_FLAGS); do \
29462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29464 (cd $(TARGET_SUBDIR)/qthreads && \
29465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29467 "RANLIB=$${RANLIB}" \
29468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29472 @endif target-qthreads
29474 .PHONY: maybe-html-target-qthreads html-target-qthreads
29475 maybe-html-target-qthreads:
29476 @if target-qthreads
29477 maybe-html-target-qthreads: html-target-qthreads
29479 html-target-qthreads: \
29480 configure-target-qthreads
29481 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29482 r=`${PWD_COMMAND}`; export r; \
29483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29485 $(NORMAL_TARGET_EXPORTS) \
29486 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
29487 for flag in $(EXTRA_TARGET_FLAGS); do \
29488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29490 (cd $(TARGET_SUBDIR)/qthreads && \
29491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29493 "RANLIB=$${RANLIB}" \
29494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29498 @endif target-qthreads
29500 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
29501 maybe-TAGS-target-qthreads:
29502 @if target-qthreads
29503 maybe-TAGS-target-qthreads: TAGS-target-qthreads
29505 TAGS-target-qthreads: \
29506 configure-target-qthreads
29507 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29508 r=`${PWD_COMMAND}`; export r; \
29509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29511 $(NORMAL_TARGET_EXPORTS) \
29512 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
29513 for flag in $(EXTRA_TARGET_FLAGS); do \
29514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29516 (cd $(TARGET_SUBDIR)/qthreads && \
29517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29519 "RANLIB=$${RANLIB}" \
29520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29524 @endif target-qthreads
29526 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
29527 maybe-install-info-target-qthreads:
29528 @if target-qthreads
29529 maybe-install-info-target-qthreads: install-info-target-qthreads
29531 install-info-target-qthreads: \
29532 configure-target-qthreads \
29533 info-target-qthreads
29534 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29535 r=`${PWD_COMMAND}`; export r; \
29536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29538 $(NORMAL_TARGET_EXPORTS) \
29539 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
29540 for flag in $(EXTRA_TARGET_FLAGS); do \
29541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29543 (cd $(TARGET_SUBDIR)/qthreads && \
29544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29546 "RANLIB=$${RANLIB}" \
29547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29551 @endif target-qthreads
29553 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
29554 maybe-installcheck-target-qthreads:
29555 @if target-qthreads
29556 maybe-installcheck-target-qthreads: installcheck-target-qthreads
29558 installcheck-target-qthreads: \
29559 configure-target-qthreads
29560 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29561 r=`${PWD_COMMAND}`; export r; \
29562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29564 $(NORMAL_TARGET_EXPORTS) \
29565 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
29566 for flag in $(EXTRA_TARGET_FLAGS); do \
29567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29569 (cd $(TARGET_SUBDIR)/qthreads && \
29570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29572 "RANLIB=$${RANLIB}" \
29573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29577 @endif target-qthreads
29579 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
29580 maybe-mostlyclean-target-qthreads:
29581 @if target-qthreads
29582 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
29584 mostlyclean-target-qthreads:
29585 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29586 r=`${PWD_COMMAND}`; export r; \
29587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29589 $(NORMAL_TARGET_EXPORTS) \
29590 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
29591 for flag in $(EXTRA_TARGET_FLAGS); do \
29592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29594 (cd $(TARGET_SUBDIR)/qthreads && \
29595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29597 "RANLIB=$${RANLIB}" \
29598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29602 @endif target-qthreads
29604 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
29605 maybe-clean-target-qthreads:
29606 @if target-qthreads
29607 maybe-clean-target-qthreads: clean-target-qthreads
29609 clean-target-qthreads:
29610 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29611 r=`${PWD_COMMAND}`; export r; \
29612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29614 $(NORMAL_TARGET_EXPORTS) \
29615 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
29616 for flag in $(EXTRA_TARGET_FLAGS); do \
29617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29619 (cd $(TARGET_SUBDIR)/qthreads && \
29620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29622 "RANLIB=$${RANLIB}" \
29623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29627 @endif target-qthreads
29629 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
29630 maybe-distclean-target-qthreads:
29631 @if target-qthreads
29632 maybe-distclean-target-qthreads: distclean-target-qthreads
29634 distclean-target-qthreads:
29635 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29636 r=`${PWD_COMMAND}`; export r; \
29637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29639 $(NORMAL_TARGET_EXPORTS) \
29640 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
29641 for flag in $(EXTRA_TARGET_FLAGS); do \
29642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29644 (cd $(TARGET_SUBDIR)/qthreads && \
29645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29647 "RANLIB=$${RANLIB}" \
29648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29652 @endif target-qthreads
29654 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
29655 maybe-maintainer-clean-target-qthreads:
29656 @if target-qthreads
29657 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
29659 maintainer-clean-target-qthreads:
29660 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29661 r=`${PWD_COMMAND}`; export r; \
29662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29664 $(NORMAL_TARGET_EXPORTS) \
29665 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
29666 for flag in $(EXTRA_TARGET_FLAGS); do \
29667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29669 (cd $(TARGET_SUBDIR)/qthreads && \
29670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29672 "RANLIB=$${RANLIB}" \
29673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29674 maintainer-clean) \
29677 @endif target-qthreads
29680 .PHONY: configure-target-rda maybe-configure-target-rda
29681 maybe-configure-target-rda:
29683 maybe-configure-target-rda: configure-target-rda
29685 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29686 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
29687 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
29688 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
29689 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
29691 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
29692 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
29693 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
29694 r=`${PWD_COMMAND}`; export r; \
29695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29697 $(NORMAL_TARGET_EXPORTS) \
29698 echo Configuring in $(TARGET_SUBDIR)/rda; \
29699 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
29700 case $(srcdir) in \
29701 /* | [A-Za-z]:[\\/]*) \
29702 topdir=$(srcdir) ;; \
29704 case "$(TARGET_SUBDIR)" in \
29705 .) topdir="../$(srcdir)" ;; \
29706 *) topdir="../../$(srcdir)" ;; \
29709 srcdiroption="--srcdir=$${topdir}/rda"; \
29710 libsrcdir="$$s/rda"; \
29711 rm -f no-such-file || : ; \
29712 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29713 $(TARGET_CONFIGARGS) $${srcdiroption} \
29714 --with-target-subdir="$(TARGET_SUBDIR)" \
29718 .PHONY: all-target-rda maybe-all-target-rda
29719 maybe-all-target-rda:
29721 TARGET-target-rda=all
29722 maybe-all-target-rda: all-target-rda
29723 all-target-rda: configure-target-rda
29724 @r=`${PWD_COMMAND}`; export r; \
29725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29727 $(NORMAL_TARGET_EXPORTS) \
29728 (cd $(TARGET_SUBDIR)/rda && \
29729 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
29732 .PHONY: check-target-rda maybe-check-target-rda
29733 maybe-check-target-rda:
29735 maybe-check-target-rda: check-target-rda
29738 @r=`${PWD_COMMAND}`; export r; \
29739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29741 $(NORMAL_TARGET_EXPORTS) \
29742 (cd $(TARGET_SUBDIR)/rda && \
29743 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29747 .PHONY: install-target-rda maybe-install-target-rda
29748 maybe-install-target-rda:
29750 maybe-install-target-rda: install-target-rda
29752 install-target-rda: installdirs
29753 @r=`${PWD_COMMAND}`; export r; \
29754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29756 $(NORMAL_TARGET_EXPORTS) \
29757 (cd $(TARGET_SUBDIR)/rda && \
29758 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29762 # Other targets (info, dvi, etc.)
29764 .PHONY: maybe-info-target-rda info-target-rda
29765 maybe-info-target-rda:
29767 maybe-info-target-rda: info-target-rda
29770 configure-target-rda
29771 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29772 r=`${PWD_COMMAND}`; export r; \
29773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29775 $(NORMAL_TARGET_EXPORTS) \
29776 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
29777 for flag in $(EXTRA_TARGET_FLAGS); do \
29778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29780 (cd $(TARGET_SUBDIR)/rda && \
29781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29783 "RANLIB=$${RANLIB}" \
29784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29790 .PHONY: maybe-dvi-target-rda dvi-target-rda
29791 maybe-dvi-target-rda:
29793 maybe-dvi-target-rda: dvi-target-rda
29796 configure-target-rda
29797 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29798 r=`${PWD_COMMAND}`; export r; \
29799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29801 $(NORMAL_TARGET_EXPORTS) \
29802 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
29803 for flag in $(EXTRA_TARGET_FLAGS); do \
29804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29806 (cd $(TARGET_SUBDIR)/rda && \
29807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29809 "RANLIB=$${RANLIB}" \
29810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29816 .PHONY: maybe-html-target-rda html-target-rda
29817 maybe-html-target-rda:
29819 maybe-html-target-rda: html-target-rda
29822 configure-target-rda
29823 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29824 r=`${PWD_COMMAND}`; export r; \
29825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29827 $(NORMAL_TARGET_EXPORTS) \
29828 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
29829 for flag in $(EXTRA_TARGET_FLAGS); do \
29830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29832 (cd $(TARGET_SUBDIR)/rda && \
29833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29835 "RANLIB=$${RANLIB}" \
29836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29842 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
29843 maybe-TAGS-target-rda:
29845 maybe-TAGS-target-rda: TAGS-target-rda
29848 configure-target-rda
29849 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29850 r=`${PWD_COMMAND}`; export r; \
29851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29853 $(NORMAL_TARGET_EXPORTS) \
29854 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
29855 for flag in $(EXTRA_TARGET_FLAGS); do \
29856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29858 (cd $(TARGET_SUBDIR)/rda && \
29859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29861 "RANLIB=$${RANLIB}" \
29862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29868 .PHONY: maybe-install-info-target-rda install-info-target-rda
29869 maybe-install-info-target-rda:
29871 maybe-install-info-target-rda: install-info-target-rda
29873 install-info-target-rda: \
29874 configure-target-rda \
29876 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29877 r=`${PWD_COMMAND}`; export r; \
29878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29880 $(NORMAL_TARGET_EXPORTS) \
29881 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
29882 for flag in $(EXTRA_TARGET_FLAGS); do \
29883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29885 (cd $(TARGET_SUBDIR)/rda && \
29886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29888 "RANLIB=$${RANLIB}" \
29889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29895 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
29896 maybe-installcheck-target-rda:
29898 maybe-installcheck-target-rda: installcheck-target-rda
29900 installcheck-target-rda: \
29901 configure-target-rda
29902 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29903 r=`${PWD_COMMAND}`; export r; \
29904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29906 $(NORMAL_TARGET_EXPORTS) \
29907 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
29908 for flag in $(EXTRA_TARGET_FLAGS); do \
29909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29911 (cd $(TARGET_SUBDIR)/rda && \
29912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29914 "RANLIB=$${RANLIB}" \
29915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29921 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
29922 maybe-mostlyclean-target-rda:
29924 maybe-mostlyclean-target-rda: mostlyclean-target-rda
29926 mostlyclean-target-rda:
29927 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29928 r=`${PWD_COMMAND}`; export r; \
29929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29931 $(NORMAL_TARGET_EXPORTS) \
29932 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
29933 for flag in $(EXTRA_TARGET_FLAGS); do \
29934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29936 (cd $(TARGET_SUBDIR)/rda && \
29937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29939 "RANLIB=$${RANLIB}" \
29940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29946 .PHONY: maybe-clean-target-rda clean-target-rda
29947 maybe-clean-target-rda:
29949 maybe-clean-target-rda: clean-target-rda
29952 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29953 r=`${PWD_COMMAND}`; export r; \
29954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29956 $(NORMAL_TARGET_EXPORTS) \
29957 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
29958 for flag in $(EXTRA_TARGET_FLAGS); do \
29959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29961 (cd $(TARGET_SUBDIR)/rda && \
29962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29964 "RANLIB=$${RANLIB}" \
29965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29971 .PHONY: maybe-distclean-target-rda distclean-target-rda
29972 maybe-distclean-target-rda:
29974 maybe-distclean-target-rda: distclean-target-rda
29976 distclean-target-rda:
29977 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29978 r=`${PWD_COMMAND}`; export r; \
29979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29981 $(NORMAL_TARGET_EXPORTS) \
29982 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
29983 for flag in $(EXTRA_TARGET_FLAGS); do \
29984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29986 (cd $(TARGET_SUBDIR)/rda && \
29987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29989 "RANLIB=$${RANLIB}" \
29990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29996 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
29997 maybe-maintainer-clean-target-rda:
29999 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
30001 maintainer-clean-target-rda:
30002 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
30003 r=`${PWD_COMMAND}`; export r; \
30004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30006 $(NORMAL_TARGET_EXPORTS) \
30007 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
30008 for flag in $(EXTRA_TARGET_FLAGS); do \
30009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30011 (cd $(TARGET_SUBDIR)/rda && \
30012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30014 "RANLIB=$${RANLIB}" \
30015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30016 maintainer-clean) \
30022 .PHONY: configure-target-libada maybe-configure-target-libada
30023 maybe-configure-target-libada:
30025 maybe-configure-target-libada: configure-target-libada
30027 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30028 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
30029 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
30030 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
30031 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
30033 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
30034 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
30035 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
30036 r=`${PWD_COMMAND}`; export r; \
30037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30039 $(NORMAL_TARGET_EXPORTS) \
30040 echo Configuring in $(TARGET_SUBDIR)/libada; \
30041 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
30042 case $(srcdir) in \
30043 /* | [A-Za-z]:[\\/]*) \
30044 topdir=$(srcdir) ;; \
30046 case "$(TARGET_SUBDIR)" in \
30047 .) topdir="../$(srcdir)" ;; \
30048 *) topdir="../../$(srcdir)" ;; \
30051 srcdiroption="--srcdir=$${topdir}/libada"; \
30052 libsrcdir="$$s/libada"; \
30053 rm -f no-such-file || : ; \
30054 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30055 $(TARGET_CONFIGARGS) $${srcdiroption} \
30056 --with-target-subdir="$(TARGET_SUBDIR)" \
30058 @endif target-libada
30060 .PHONY: all-target-libada maybe-all-target-libada
30061 maybe-all-target-libada:
30063 TARGET-target-libada=all
30064 maybe-all-target-libada: all-target-libada
30065 all-target-libada: configure-target-libada
30066 @r=`${PWD_COMMAND}`; export r; \
30067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30069 $(NORMAL_TARGET_EXPORTS) \
30070 (cd $(TARGET_SUBDIR)/libada && \
30071 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
30072 @endif target-libada
30074 .PHONY: check-target-libada maybe-check-target-libada
30075 maybe-check-target-libada:
30077 maybe-check-target-libada: check-target-libada
30079 check-target-libada:
30080 @r=`${PWD_COMMAND}`; export r; \
30081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30083 $(NORMAL_TARGET_EXPORTS) \
30084 (cd $(TARGET_SUBDIR)/libada && \
30085 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30087 @endif target-libada
30089 .PHONY: install-target-libada maybe-install-target-libada
30090 maybe-install-target-libada:
30092 maybe-install-target-libada: install-target-libada
30094 install-target-libada: installdirs
30095 @r=`${PWD_COMMAND}`; export r; \
30096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30098 $(NORMAL_TARGET_EXPORTS) \
30099 (cd $(TARGET_SUBDIR)/libada && \
30100 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30102 @endif target-libada
30104 # Other targets (info, dvi, etc.)
30106 .PHONY: maybe-info-target-libada info-target-libada
30107 maybe-info-target-libada:
30109 maybe-info-target-libada: info-target-libada
30111 info-target-libada: \
30112 configure-target-libada
30113 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30114 r=`${PWD_COMMAND}`; export r; \
30115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30117 $(NORMAL_TARGET_EXPORTS) \
30118 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
30119 for flag in $(EXTRA_TARGET_FLAGS); do \
30120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30122 (cd $(TARGET_SUBDIR)/libada && \
30123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30125 "RANLIB=$${RANLIB}" \
30126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30130 @endif target-libada
30132 .PHONY: maybe-dvi-target-libada dvi-target-libada
30133 maybe-dvi-target-libada:
30135 maybe-dvi-target-libada: dvi-target-libada
30137 dvi-target-libada: \
30138 configure-target-libada
30139 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30140 r=`${PWD_COMMAND}`; export r; \
30141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30143 $(NORMAL_TARGET_EXPORTS) \
30144 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
30145 for flag in $(EXTRA_TARGET_FLAGS); do \
30146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30148 (cd $(TARGET_SUBDIR)/libada && \
30149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30151 "RANLIB=$${RANLIB}" \
30152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30156 @endif target-libada
30158 .PHONY: maybe-html-target-libada html-target-libada
30159 maybe-html-target-libada:
30161 maybe-html-target-libada: html-target-libada
30163 html-target-libada: \
30164 configure-target-libada
30165 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30166 r=`${PWD_COMMAND}`; export r; \
30167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30169 $(NORMAL_TARGET_EXPORTS) \
30170 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
30171 for flag in $(EXTRA_TARGET_FLAGS); do \
30172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30174 (cd $(TARGET_SUBDIR)/libada && \
30175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30177 "RANLIB=$${RANLIB}" \
30178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30182 @endif target-libada
30184 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
30185 maybe-TAGS-target-libada:
30187 maybe-TAGS-target-libada: TAGS-target-libada
30189 TAGS-target-libada: \
30190 configure-target-libada
30191 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30192 r=`${PWD_COMMAND}`; export r; \
30193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30195 $(NORMAL_TARGET_EXPORTS) \
30196 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
30197 for flag in $(EXTRA_TARGET_FLAGS); do \
30198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30200 (cd $(TARGET_SUBDIR)/libada && \
30201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30203 "RANLIB=$${RANLIB}" \
30204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30208 @endif target-libada
30210 .PHONY: maybe-install-info-target-libada install-info-target-libada
30211 maybe-install-info-target-libada:
30213 maybe-install-info-target-libada: install-info-target-libada
30215 install-info-target-libada: \
30216 configure-target-libada \
30218 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30219 r=`${PWD_COMMAND}`; export r; \
30220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30222 $(NORMAL_TARGET_EXPORTS) \
30223 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
30224 for flag in $(EXTRA_TARGET_FLAGS); do \
30225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30227 (cd $(TARGET_SUBDIR)/libada && \
30228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30230 "RANLIB=$${RANLIB}" \
30231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30235 @endif target-libada
30237 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
30238 maybe-installcheck-target-libada:
30240 maybe-installcheck-target-libada: installcheck-target-libada
30242 installcheck-target-libada: \
30243 configure-target-libada
30244 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30245 r=`${PWD_COMMAND}`; export r; \
30246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30248 $(NORMAL_TARGET_EXPORTS) \
30249 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
30250 for flag in $(EXTRA_TARGET_FLAGS); do \
30251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30253 (cd $(TARGET_SUBDIR)/libada && \
30254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30256 "RANLIB=$${RANLIB}" \
30257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30261 @endif target-libada
30263 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
30264 maybe-mostlyclean-target-libada:
30266 maybe-mostlyclean-target-libada: mostlyclean-target-libada
30268 mostlyclean-target-libada:
30269 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30270 r=`${PWD_COMMAND}`; export r; \
30271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30273 $(NORMAL_TARGET_EXPORTS) \
30274 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
30275 for flag in $(EXTRA_TARGET_FLAGS); do \
30276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30278 (cd $(TARGET_SUBDIR)/libada && \
30279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30281 "RANLIB=$${RANLIB}" \
30282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30286 @endif target-libada
30288 .PHONY: maybe-clean-target-libada clean-target-libada
30289 maybe-clean-target-libada:
30291 maybe-clean-target-libada: clean-target-libada
30293 clean-target-libada:
30294 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30295 r=`${PWD_COMMAND}`; export r; \
30296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30298 $(NORMAL_TARGET_EXPORTS) \
30299 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
30300 for flag in $(EXTRA_TARGET_FLAGS); do \
30301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30303 (cd $(TARGET_SUBDIR)/libada && \
30304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30306 "RANLIB=$${RANLIB}" \
30307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30311 @endif target-libada
30313 .PHONY: maybe-distclean-target-libada distclean-target-libada
30314 maybe-distclean-target-libada:
30316 maybe-distclean-target-libada: distclean-target-libada
30318 distclean-target-libada:
30319 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30320 r=`${PWD_COMMAND}`; export r; \
30321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30323 $(NORMAL_TARGET_EXPORTS) \
30324 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
30325 for flag in $(EXTRA_TARGET_FLAGS); do \
30326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30328 (cd $(TARGET_SUBDIR)/libada && \
30329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30331 "RANLIB=$${RANLIB}" \
30332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30336 @endif target-libada
30338 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
30339 maybe-maintainer-clean-target-libada:
30341 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
30343 maintainer-clean-target-libada:
30344 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30345 r=`${PWD_COMMAND}`; export r; \
30346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30348 $(NORMAL_TARGET_EXPORTS) \
30349 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
30350 for flag in $(EXTRA_TARGET_FLAGS); do \
30351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30353 (cd $(TARGET_SUBDIR)/libada && \
30354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30356 "RANLIB=$${RANLIB}" \
30357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30358 maintainer-clean) \
30361 @endif target-libada
30369 @if gcc-no-bootstrap
30370 # GCC has some more recursive targets, which trigger the old
30371 # (but still current, until the toplevel bootstrap project
30372 # is finished) compiler bootstrapping rules.
30374 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
30375 .PHONY: $(GCC_STRAP_TARGETS)
30376 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
30377 @r=`${PWD_COMMAND}`; export r; \
30378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30381 echo "Bootstrapping the compiler"; \
30382 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
30383 @r=`${PWD_COMMAND}`; export r; \
30384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30386 *bootstrap4-lean ) \
30387 msg="Comparing stage3 and stage4 of the compiler"; \
30388 compare=compare3-lean ;; \
30390 msg="Comparing stage3 and stage4 of the compiler"; \
30391 compare=compare3 ;; \
30393 msg="Comparing stage2 and stage3 of the compiler"; \
30394 compare=compare-lean ;; \
30396 msg="Comparing stage2 and stage3 of the compiler"; \
30397 compare=compare ;; \
30402 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
30403 @r=`${PWD_COMMAND}`; export r; \
30404 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30406 echo "Building runtime libraries"; \
30407 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
30409 profiledbootstrap: all-prebootstrap configure-gcc
30410 @r=`${PWD_COMMAND}`; export r; \
30411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30414 echo "Bootstrapping training compiler"; \
30415 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
30416 @r=`${PWD_COMMAND}`; export r; \
30417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30420 echo "Building feedback based compiler"; \
30421 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
30422 @r=`${PWD_COMMAND}`; export r; \
30423 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30425 echo "Building runtime libraries"; \
30426 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
30429 cross: all-build all-gas all-ld
30430 @r=`${PWD_COMMAND}`; export r; \
30431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30434 echo "Building the C and C++ compiler"; \
30435 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
30436 @r=`${PWD_COMMAND}`; export r; \
30437 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30439 echo "Building runtime libraries"; \
30440 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
30441 @endif gcc-no-bootstrap
30444 .PHONY: check-gcc-c++
30446 @if [ -f ./gcc/Makefile ] ; then \
30447 r=`${PWD_COMMAND}`; export r; \
30448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30451 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
30457 check-c++: check-target-libstdc++-v3 check-gcc-c++
30459 # Install the gcc headers files, but not the fixed include files,
30460 # which Cygnus is not allowed to distribute. This rule is very
30461 # dependent on the workings of the gcc Makefile.in.
30462 .PHONY: gcc-no-fixedincludes
30463 gcc-no-fixedincludes:
30464 @if [ -f ./gcc/Makefile ]; then \
30465 rm -rf gcc/tmp-include; \
30466 mv gcc/include gcc/tmp-include 2>/dev/null; \
30467 mkdir gcc/include; \
30468 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
30469 touch gcc/stmp-fixinc gcc/include/fixed; \
30470 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
30471 r=`${PWD_COMMAND}`; export r; \
30472 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30476 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
30477 rm -rf gcc/include; \
30478 mv gcc/tmp-include gcc/include 2>/dev/null; \
30482 # ---------------------
30483 # GCC bootstrap support
30484 # ---------------------
30486 # We track the current stage (the one in 'gcc') in the stage_current file.
30487 # stage_last instead tracks the stage that was built last. These targets
30488 # are dummy when toplevel bootstrap is not active.
30493 @[ -f stage_current ] || $(MAKE) `cat stage_last`-start
30494 @endif gcc-bootstrap
30499 @$(MAKE) `cat stage_current`-end
30500 @endif gcc-bootstrap
30502 # We name the build directories for the various stages "stage1-gcc",
30503 # "stage2-gcc","stage3-gcc", etc.
30505 # Since the 'compare' process will fail (on debugging information) if any
30506 # directory names are different, we need to link the gcc directory for
30507 # the previous stage to a constant name ('gcc-prev'), and to make the name of
30508 # the build directories constant as well. For the latter, we use naked names
30509 # like 'gcc', because the scripts in that directory assume it. We use
30510 # mv on platforms where symlinks to directories do not work or are not
30513 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
30514 # be kept, so that libraries can find it. Ick!
30516 # It would be best to preinstall gcc into a staging area (and in the
30517 # future, gather there all prebootstrap packages). This would allow
30518 # assemblers and linkers can be bootstrapped as well as the compiler
30519 # (both in a combined tree, or separately). This however requires some
30520 # change to the gcc driver, again in order to avoid comparison failures.
30522 # Bugs: This is crippled when doing parallel make, the `make all-host'
30523 # and `make all-target' phases can be parallelized.
30526 # 'touch' doesn't work right on some platforms.
30527 STAMP = echo timestamp >
30529 # Only build the C compiler for stage1, because that is the only one that
30530 # we can guarantee will build with the native compiler, and also it is the
30531 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
30532 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
30533 # overrideable (for a bootstrap build stage1 also builds gcc.info).
30535 STAGE1_CFLAGS=@stage1_cflags@
30536 STAGE1_LANGUAGES=@stage1_languages@
30538 # We only want to compare .o files, so set this!
30541 # Flags to pass to stage2 and later makes.
30542 POSTSTAGE1_FLAGS_TO_PASS = \
30543 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
30544 STAGE_PREFIX=$$r/stage-gcc/ \
30545 CFLAGS="$(BOOT_CFLAGS)" \
30549 # * We force-disable intermodule optimizations, even if
30550 # --enable-intermodule was passed, since the installed compiler probably
30551 # can't handle them. Luckily, autoconf always respects
30552 # the last argument when conflicting --enable arguments are passed.
30553 # * Likewise, we force-disable coverage flags, since the installed compiler
30554 # probably has never heard of them.
30555 # * We build only C (and possibly Ada).
30558 .PHONY: stage1-start stage1-end
30561 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30562 echo stage1 > stage_current ; \
30563 echo stage1 > stage_last
30565 @[ -d stage1-bfd ] || mkdir stage1-bfd; \
30566 set stage1-bfd bfd ; @CREATE_LINK_TO_DIR@
30569 @[ -d stage1-opcodes ] || mkdir stage1-opcodes; \
30570 set stage1-opcodes opcodes ; @CREATE_LINK_TO_DIR@
30573 @[ -d stage1-binutils ] || mkdir stage1-binutils; \
30574 set stage1-binutils binutils ; @CREATE_LINK_TO_DIR@
30577 @[ -d stage1-gas ] || mkdir stage1-gas; \
30578 set stage1-gas gas ; @CREATE_LINK_TO_DIR@
30581 @[ -d stage1-gcc ] || mkdir stage1-gcc; \
30582 set stage1-gcc gcc ; @CREATE_LINK_TO_DIR@
30585 @[ -d stage1-intl ] || mkdir stage1-intl; \
30586 set stage1-intl intl ; @CREATE_LINK_TO_DIR@
30589 @[ -d stage1-ld ] || mkdir stage1-ld; \
30590 set stage1-ld ld ; @CREATE_LINK_TO_DIR@
30593 @[ -d stage1-libcpp ] || mkdir stage1-libcpp; \
30594 set stage1-libcpp libcpp ; @CREATE_LINK_TO_DIR@
30597 @[ -d stage1-libiberty ] || mkdir stage1-libiberty; \
30598 set stage1-libiberty libiberty ; @CREATE_LINK_TO_DIR@
30601 @[ -d stage1-zlib ] || mkdir stage1-zlib; \
30602 set stage1-zlib zlib ; @CREATE_LINK_TO_DIR@
30606 @rm -f stage_current
30608 @set bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
30611 @set opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
30614 @set binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
30617 @set gas stage1-gas ; @UNDO_LINK_TO_DIR@
30620 @set gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
30623 @set intl stage1-intl ; @UNDO_LINK_TO_DIR@
30626 @set ld stage1-ld ; @UNDO_LINK_TO_DIR@
30629 @set libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
30632 @set libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
30635 @set zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
30638 # Bubble a bugfix through all the stages up to stage 1. They
30639 # are remade, but not reconfigured. The next stage (if any) will not
30640 # be reconfigured as well.
30641 .PHONY: stage1-bubble
30643 @if test -f stage1-lean ; then \
30644 echo Skipping rebuild of stage1 ; \
30646 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage1; \
30649 .PHONY: all-stage1 clean-stage1
30651 maybe-all-stage1-bfd \
30652 maybe-all-stage1-opcodes \
30653 maybe-all-stage1-binutils \
30654 maybe-all-stage1-gas \
30655 maybe-all-stage1-gcc \
30656 maybe-all-stage1-intl \
30657 maybe-all-stage1-ld \
30658 maybe-all-stage1-libcpp \
30659 maybe-all-stage1-libiberty \
30660 maybe-all-stage1-zlib
30662 do-clean: clean-stage1
30664 maybe-clean-stage1-bfd \
30665 maybe-clean-stage1-opcodes \
30666 maybe-clean-stage1-binutils \
30667 maybe-clean-stage1-gas \
30668 maybe-clean-stage1-gcc \
30669 maybe-clean-stage1-intl \
30670 maybe-clean-stage1-ld \
30671 maybe-clean-stage1-libcpp \
30672 maybe-clean-stage1-libiberty \
30673 maybe-clean-stage1-zlib
30676 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
30677 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
30678 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
30680 maybe-configure-stage1-bfd:
30681 maybe-all-stage1-bfd:
30682 maybe-clean-stage1-bfd:
30685 maybe-configure-stage1-bfd: configure-stage1-bfd
30686 configure-stage1-bfd:
30687 @$(MAKE) stage1-start
30688 @[ -f bfd/Makefile ] && exit 0 || : ; \
30689 r=`${PWD_COMMAND}`; export r; \
30690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30692 echo Configuring stage 1 in bfd ; \
30693 cd bfd || exit 1; \
30694 case $(srcdir) in \
30696 srcdiroption="--srcdir=."; \
30698 /* | [A-Za-z]:[\\/]*) \
30699 srcdiroption="--srcdir=$(srcdir)/bfd"; \
30700 libsrcdir="$$s/bfd";; \
30702 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
30703 libsrcdir="$$s/bfd";; \
30705 $(SHELL) $${libsrcdir}/configure \
30706 $(HOST_CONFIGARGS) $${srcdiroption} \
30707 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30709 maybe-all-stage1-bfd: all-stage1-bfd
30710 all-stage1-bfd: configure-stage1-bfd
30711 @$(MAKE) stage1-start
30712 @r=`${PWD_COMMAND}`; export r; \
30713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30716 $(MAKE) $(FLAGS_TO_PASS) \
30717 CFLAGS="$(STAGE1_CFLAGS)"
30719 maybe-clean-stage1-bfd: clean-stage1-bfd
30721 @[ -f bfd/Makefile ] || [ -f stage1-bfd/Makefile ] \
30723 [ -f bfd/Makefile ] || $(MAKE) stage1-start ; \
30725 $(MAKE) $(FLAGS_TO_PASS) \
30726 CFLAGS="$(STAGE1_CFLAGS)" clean
30727 @endif bfd-bootstrap
30730 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
30731 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
30732 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
30734 maybe-configure-stage1-opcodes:
30735 maybe-all-stage1-opcodes:
30736 maybe-clean-stage1-opcodes:
30738 @if opcodes-bootstrap
30739 maybe-configure-stage1-opcodes: configure-stage1-opcodes
30740 configure-stage1-opcodes:
30741 @$(MAKE) stage1-start
30742 @[ -f opcodes/Makefile ] && exit 0 || : ; \
30743 r=`${PWD_COMMAND}`; export r; \
30744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30746 echo Configuring stage 1 in opcodes ; \
30747 cd opcodes || exit 1; \
30748 case $(srcdir) in \
30750 srcdiroption="--srcdir=."; \
30752 /* | [A-Za-z]:[\\/]*) \
30753 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
30754 libsrcdir="$$s/opcodes";; \
30756 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
30757 libsrcdir="$$s/opcodes";; \
30759 $(SHELL) $${libsrcdir}/configure \
30760 $(HOST_CONFIGARGS) $${srcdiroption} \
30761 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30763 maybe-all-stage1-opcodes: all-stage1-opcodes
30764 all-stage1-opcodes: configure-stage1-opcodes
30765 @$(MAKE) stage1-start
30766 @r=`${PWD_COMMAND}`; export r; \
30767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30770 $(MAKE) $(FLAGS_TO_PASS) \
30771 CFLAGS="$(STAGE1_CFLAGS)"
30773 maybe-clean-stage1-opcodes: clean-stage1-opcodes
30774 clean-stage1-opcodes:
30775 @[ -f opcodes/Makefile ] || [ -f stage1-opcodes/Makefile ] \
30777 [ -f opcodes/Makefile ] || $(MAKE) stage1-start ; \
30779 $(MAKE) $(FLAGS_TO_PASS) \
30780 CFLAGS="$(STAGE1_CFLAGS)" clean
30781 @endif opcodes-bootstrap
30784 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
30785 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
30786 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
30788 maybe-configure-stage1-binutils:
30789 maybe-all-stage1-binutils:
30790 maybe-clean-stage1-binutils:
30792 @if binutils-bootstrap
30793 maybe-configure-stage1-binutils: configure-stage1-binutils
30794 configure-stage1-binutils:
30795 @$(MAKE) stage1-start
30796 @[ -f binutils/Makefile ] && exit 0 || : ; \
30797 r=`${PWD_COMMAND}`; export r; \
30798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30800 echo Configuring stage 1 in binutils ; \
30801 cd binutils || exit 1; \
30802 case $(srcdir) in \
30804 srcdiroption="--srcdir=."; \
30806 /* | [A-Za-z]:[\\/]*) \
30807 srcdiroption="--srcdir=$(srcdir)/binutils"; \
30808 libsrcdir="$$s/binutils";; \
30810 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
30811 libsrcdir="$$s/binutils";; \
30813 $(SHELL) $${libsrcdir}/configure \
30814 $(HOST_CONFIGARGS) $${srcdiroption} \
30815 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30817 maybe-all-stage1-binutils: all-stage1-binutils
30818 all-stage1-binutils: configure-stage1-binutils
30819 @$(MAKE) stage1-start
30820 @r=`${PWD_COMMAND}`; export r; \
30821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30824 $(MAKE) $(FLAGS_TO_PASS) \
30825 CFLAGS="$(STAGE1_CFLAGS)"
30827 maybe-clean-stage1-binutils: clean-stage1-binutils
30828 clean-stage1-binutils:
30829 @[ -f binutils/Makefile ] || [ -f stage1-binutils/Makefile ] \
30831 [ -f binutils/Makefile ] || $(MAKE) stage1-start ; \
30833 $(MAKE) $(FLAGS_TO_PASS) \
30834 CFLAGS="$(STAGE1_CFLAGS)" clean
30835 @endif binutils-bootstrap
30838 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
30839 .PHONY: all-stage1-gas maybe-all-stage1-gas
30840 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
30842 maybe-configure-stage1-gas:
30843 maybe-all-stage1-gas:
30844 maybe-clean-stage1-gas:
30847 maybe-configure-stage1-gas: configure-stage1-gas
30848 configure-stage1-gas:
30849 @$(MAKE) stage1-start
30850 @[ -f gas/Makefile ] && exit 0 || : ; \
30851 r=`${PWD_COMMAND}`; export r; \
30852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30854 echo Configuring stage 1 in gas ; \
30855 cd gas || exit 1; \
30856 case $(srcdir) in \
30858 srcdiroption="--srcdir=."; \
30860 /* | [A-Za-z]:[\\/]*) \
30861 srcdiroption="--srcdir=$(srcdir)/gas"; \
30862 libsrcdir="$$s/gas";; \
30864 srcdiroption="--srcdir=../$(srcdir)/gas"; \
30865 libsrcdir="$$s/gas";; \
30867 $(SHELL) $${libsrcdir}/configure \
30868 $(HOST_CONFIGARGS) $${srcdiroption} \
30869 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30871 maybe-all-stage1-gas: all-stage1-gas
30872 all-stage1-gas: configure-stage1-gas
30873 @$(MAKE) stage1-start
30874 @r=`${PWD_COMMAND}`; export r; \
30875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30878 $(MAKE) $(FLAGS_TO_PASS) \
30879 CFLAGS="$(STAGE1_CFLAGS)"
30881 maybe-clean-stage1-gas: clean-stage1-gas
30883 @[ -f gas/Makefile ] || [ -f stage1-gas/Makefile ] \
30885 [ -f gas/Makefile ] || $(MAKE) stage1-start ; \
30887 $(MAKE) $(FLAGS_TO_PASS) \
30888 CFLAGS="$(STAGE1_CFLAGS)" clean
30889 @endif gas-bootstrap
30892 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
30893 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
30894 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
30896 maybe-configure-stage1-gcc:
30897 maybe-all-stage1-gcc:
30898 maybe-clean-stage1-gcc:
30901 maybe-configure-stage1-gcc: configure-stage1-gcc
30902 configure-stage1-gcc:
30903 @$(MAKE) stage1-start
30904 @[ -f gcc/Makefile ] && exit 0 || : ; \
30905 r=`${PWD_COMMAND}`; export r; \
30906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30908 echo Configuring stage 1 in gcc ; \
30909 cd gcc || exit 1; \
30910 case $(srcdir) in \
30912 srcdiroption="--srcdir=."; \
30914 /* | [A-Za-z]:[\\/]*) \
30915 srcdiroption="--srcdir=$(srcdir)/gcc"; \
30916 libsrcdir="$$s/gcc";; \
30918 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
30919 libsrcdir="$$s/gcc";; \
30921 $(SHELL) $${libsrcdir}/configure \
30922 $(HOST_CONFIGARGS) $${srcdiroption} \
30923 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30925 maybe-all-stage1-gcc: all-stage1-gcc
30926 all-stage1-gcc: configure-stage1-gcc
30927 @$(MAKE) stage1-start
30928 @r=`${PWD_COMMAND}`; export r; \
30929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30932 $(MAKE) $(FLAGS_TO_PASS) \
30933 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS)
30935 maybe-clean-stage1-gcc: clean-stage1-gcc
30937 @[ -f gcc/Makefile ] || [ -f stage1-gcc/Makefile ] \
30939 [ -f gcc/Makefile ] || $(MAKE) stage1-start ; \
30941 $(MAKE) $(FLAGS_TO_PASS) \
30942 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
30943 @endif gcc-bootstrap
30946 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
30947 .PHONY: all-stage1-intl maybe-all-stage1-intl
30948 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
30950 maybe-configure-stage1-intl:
30951 maybe-all-stage1-intl:
30952 maybe-clean-stage1-intl:
30955 maybe-configure-stage1-intl: configure-stage1-intl
30956 configure-stage1-intl:
30957 @$(MAKE) stage1-start
30958 @[ -f intl/Makefile ] && exit 0 || : ; \
30959 r=`${PWD_COMMAND}`; export r; \
30960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30962 echo Configuring stage 1 in intl ; \
30963 cd intl || exit 1; \
30964 case $(srcdir) in \
30966 srcdiroption="--srcdir=."; \
30968 /* | [A-Za-z]:[\\/]*) \
30969 srcdiroption="--srcdir=$(srcdir)/intl"; \
30970 libsrcdir="$$s/intl";; \
30972 srcdiroption="--srcdir=../$(srcdir)/intl"; \
30973 libsrcdir="$$s/intl";; \
30975 $(SHELL) $${libsrcdir}/configure \
30976 $(HOST_CONFIGARGS) $${srcdiroption} \
30977 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30979 maybe-all-stage1-intl: all-stage1-intl
30980 all-stage1-intl: configure-stage1-intl
30981 @$(MAKE) stage1-start
30982 @r=`${PWD_COMMAND}`; export r; \
30983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30986 $(MAKE) $(FLAGS_TO_PASS) \
30987 CFLAGS="$(STAGE1_CFLAGS)"
30989 maybe-clean-stage1-intl: clean-stage1-intl
30991 @[ -f intl/Makefile ] || [ -f stage1-intl/Makefile ] \
30993 [ -f intl/Makefile ] || $(MAKE) stage1-start ; \
30995 $(MAKE) $(FLAGS_TO_PASS) \
30996 CFLAGS="$(STAGE1_CFLAGS)" clean
30997 @endif intl-bootstrap
31000 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
31001 .PHONY: all-stage1-ld maybe-all-stage1-ld
31002 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
31004 maybe-configure-stage1-ld:
31005 maybe-all-stage1-ld:
31006 maybe-clean-stage1-ld:
31009 maybe-configure-stage1-ld: configure-stage1-ld
31010 configure-stage1-ld:
31011 @$(MAKE) stage1-start
31012 @[ -f ld/Makefile ] && exit 0 || : ; \
31013 r=`${PWD_COMMAND}`; export r; \
31014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31016 echo Configuring stage 1 in ld ; \
31018 case $(srcdir) in \
31020 srcdiroption="--srcdir=."; \
31022 /* | [A-Za-z]:[\\/]*) \
31023 srcdiroption="--srcdir=$(srcdir)/ld"; \
31024 libsrcdir="$$s/ld";; \
31026 srcdiroption="--srcdir=../$(srcdir)/ld"; \
31027 libsrcdir="$$s/ld";; \
31029 $(SHELL) $${libsrcdir}/configure \
31030 $(HOST_CONFIGARGS) $${srcdiroption} \
31031 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31033 maybe-all-stage1-ld: all-stage1-ld
31034 all-stage1-ld: configure-stage1-ld
31035 @$(MAKE) stage1-start
31036 @r=`${PWD_COMMAND}`; export r; \
31037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31040 $(MAKE) $(FLAGS_TO_PASS) \
31041 CFLAGS="$(STAGE1_CFLAGS)"
31043 maybe-clean-stage1-ld: clean-stage1-ld
31045 @[ -f ld/Makefile ] || [ -f stage1-ld/Makefile ] \
31047 [ -f ld/Makefile ] || $(MAKE) stage1-start ; \
31049 $(MAKE) $(FLAGS_TO_PASS) \
31050 CFLAGS="$(STAGE1_CFLAGS)" clean
31051 @endif ld-bootstrap
31054 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
31055 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
31056 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
31058 maybe-configure-stage1-libcpp:
31059 maybe-all-stage1-libcpp:
31060 maybe-clean-stage1-libcpp:
31062 @if libcpp-bootstrap
31063 maybe-configure-stage1-libcpp: configure-stage1-libcpp
31064 configure-stage1-libcpp:
31065 @$(MAKE) stage1-start
31066 @[ -f libcpp/Makefile ] && exit 0 || : ; \
31067 r=`${PWD_COMMAND}`; export r; \
31068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31070 echo Configuring stage 1 in libcpp ; \
31071 cd libcpp || exit 1; \
31072 case $(srcdir) in \
31074 srcdiroption="--srcdir=."; \
31076 /* | [A-Za-z]:[\\/]*) \
31077 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
31078 libsrcdir="$$s/libcpp";; \
31080 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
31081 libsrcdir="$$s/libcpp";; \
31083 $(SHELL) $${libsrcdir}/configure \
31084 $(HOST_CONFIGARGS) $${srcdiroption} \
31085 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31087 maybe-all-stage1-libcpp: all-stage1-libcpp
31088 all-stage1-libcpp: configure-stage1-libcpp
31089 @$(MAKE) stage1-start
31090 @r=`${PWD_COMMAND}`; export r; \
31091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31094 $(MAKE) $(FLAGS_TO_PASS) \
31095 CFLAGS="$(STAGE1_CFLAGS)"
31097 maybe-clean-stage1-libcpp: clean-stage1-libcpp
31098 clean-stage1-libcpp:
31099 @[ -f libcpp/Makefile ] || [ -f stage1-libcpp/Makefile ] \
31101 [ -f libcpp/Makefile ] || $(MAKE) stage1-start ; \
31103 $(MAKE) $(FLAGS_TO_PASS) \
31104 CFLAGS="$(STAGE1_CFLAGS)" clean
31105 @endif libcpp-bootstrap
31108 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
31109 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
31110 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
31112 maybe-configure-stage1-libiberty:
31113 maybe-all-stage1-libiberty:
31114 maybe-clean-stage1-libiberty:
31116 @if libiberty-bootstrap
31117 maybe-configure-stage1-libiberty: configure-stage1-libiberty
31118 configure-stage1-libiberty:
31119 @$(MAKE) stage1-start
31120 @[ -f libiberty/Makefile ] && exit 0 || : ; \
31121 r=`${PWD_COMMAND}`; export r; \
31122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31124 echo Configuring stage 1 in libiberty ; \
31125 cd libiberty || exit 1; \
31126 case $(srcdir) in \
31128 srcdiroption="--srcdir=."; \
31130 /* | [A-Za-z]:[\\/]*) \
31131 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
31132 libsrcdir="$$s/libiberty";; \
31134 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
31135 libsrcdir="$$s/libiberty";; \
31137 $(SHELL) $${libsrcdir}/configure \
31138 $(HOST_CONFIGARGS) $${srcdiroption} \
31139 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31141 maybe-all-stage1-libiberty: all-stage1-libiberty
31142 all-stage1-libiberty: configure-stage1-libiberty
31143 @$(MAKE) stage1-start
31144 @r=`${PWD_COMMAND}`; export r; \
31145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31148 $(MAKE) $(FLAGS_TO_PASS) \
31149 CFLAGS="$(STAGE1_CFLAGS)"
31151 maybe-clean-stage1-libiberty: clean-stage1-libiberty
31152 clean-stage1-libiberty:
31153 @[ -f libiberty/Makefile ] || [ -f stage1-libiberty/Makefile ] \
31155 [ -f libiberty/Makefile ] || $(MAKE) stage1-start ; \
31157 $(MAKE) $(FLAGS_TO_PASS) \
31158 CFLAGS="$(STAGE1_CFLAGS)" clean
31159 @endif libiberty-bootstrap
31162 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
31163 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
31164 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
31166 maybe-configure-stage1-zlib:
31167 maybe-all-stage1-zlib:
31168 maybe-clean-stage1-zlib:
31171 maybe-configure-stage1-zlib: configure-stage1-zlib
31172 configure-stage1-zlib:
31173 @$(MAKE) stage1-start
31174 @[ -f zlib/Makefile ] && exit 0 || : ; \
31175 r=`${PWD_COMMAND}`; export r; \
31176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31178 echo Configuring stage 1 in zlib ; \
31179 cd zlib || exit 1; \
31180 case $(srcdir) in \
31182 srcdiroption="--srcdir=."; \
31184 /* | [A-Za-z]:[\\/]*) \
31185 srcdiroption="--srcdir=$(srcdir)/zlib"; \
31186 libsrcdir="$$s/zlib";; \
31188 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
31189 libsrcdir="$$s/zlib";; \
31191 $(SHELL) $${libsrcdir}/configure \
31192 $(HOST_CONFIGARGS) $${srcdiroption} \
31193 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31195 maybe-all-stage1-zlib: all-stage1-zlib
31196 all-stage1-zlib: configure-stage1-zlib
31197 @$(MAKE) stage1-start
31198 @r=`${PWD_COMMAND}`; export r; \
31199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31202 $(MAKE) $(FLAGS_TO_PASS) \
31203 CFLAGS="$(STAGE1_CFLAGS)"
31205 maybe-clean-stage1-zlib: clean-stage1-zlib
31207 @[ -f zlib/Makefile ] || [ -f stage1-zlib/Makefile ] \
31209 [ -f zlib/Makefile ] || $(MAKE) stage1-start ; \
31211 $(MAKE) $(FLAGS_TO_PASS) \
31212 CFLAGS="$(STAGE1_CFLAGS)" clean
31213 @endif zlib-bootstrap
31217 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31218 # only possibility, but now it conflicts with no-bootstrap rules
31224 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31226 .PHONY: distclean-stage1
31228 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31232 @endif gcc-bootstrap
31235 .PHONY: stage2-start stage2-end
31238 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31239 echo stage2 > stage_current ; \
31240 echo stage2 > stage_last
31242 @[ -d stage2-bfd ] || mkdir stage2-bfd; \
31243 set stage2-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
31244 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
31247 @[ -d stage2-opcodes ] || mkdir stage2-opcodes; \
31248 set stage2-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
31249 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
31252 @[ -d stage2-binutils ] || mkdir stage2-binutils; \
31253 set stage2-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
31254 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
31257 @[ -d stage2-gas ] || mkdir stage2-gas; \
31258 set stage2-gas gas ; @CREATE_LINK_TO_DIR@ ; \
31259 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
31262 @[ -d stage2-gcc ] || mkdir stage2-gcc; \
31263 set stage2-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
31264 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
31267 @[ -d stage2-intl ] || mkdir stage2-intl; \
31268 set stage2-intl intl ; @CREATE_LINK_TO_DIR@ ; \
31269 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
31272 @[ -d stage2-ld ] || mkdir stage2-ld; \
31273 set stage2-ld ld ; @CREATE_LINK_TO_DIR@ ; \
31274 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
31277 @[ -d stage2-libcpp ] || mkdir stage2-libcpp; \
31278 set stage2-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
31279 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
31282 @[ -d stage2-libiberty ] || mkdir stage2-libiberty; \
31283 set stage2-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
31284 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
31287 @[ -d stage2-zlib ] || mkdir stage2-zlib; \
31288 set stage2-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
31289 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
31293 @rm -f stage_current
31295 @set bfd stage2-bfd ; @UNDO_LINK_TO_DIR@ ; \
31296 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
31299 @set opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@ ; \
31300 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
31303 @set binutils stage2-binutils ; @UNDO_LINK_TO_DIR@ ; \
31304 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
31307 @set gas stage2-gas ; @UNDO_LINK_TO_DIR@ ; \
31308 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
31311 @set gcc stage2-gcc ; @UNDO_LINK_TO_DIR@ ; \
31312 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
31315 @set intl stage2-intl ; @UNDO_LINK_TO_DIR@ ; \
31316 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
31319 @set ld stage2-ld ; @UNDO_LINK_TO_DIR@ ; \
31320 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
31323 @set libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@ ; \
31324 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
31327 @set libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@ ; \
31328 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
31331 @set zlib stage2-zlib ; @UNDO_LINK_TO_DIR@ ; \
31332 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
31335 # Bubble a bugfix through all the stages up to stage 2. They
31336 # are remade, but not reconfigured. The next stage (if any) will not
31337 # be reconfigured as well.
31338 .PHONY: stage2-bubble
31339 stage2-bubble:: stage1-bubble
31340 @if test -f stage2-lean || test -f stage1-lean ; then \
31341 echo Skipping rebuild of stage2 ; \
31343 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage2; \
31346 .PHONY: all-stage2 clean-stage2
31348 maybe-all-stage2-bfd \
31349 maybe-all-stage2-opcodes \
31350 maybe-all-stage2-binutils \
31351 maybe-all-stage2-gas \
31352 maybe-all-stage2-gcc \
31353 maybe-all-stage2-intl \
31354 maybe-all-stage2-ld \
31355 maybe-all-stage2-libcpp \
31356 maybe-all-stage2-libiberty \
31357 maybe-all-stage2-zlib
31359 do-clean: clean-stage2
31361 maybe-clean-stage2-bfd \
31362 maybe-clean-stage2-opcodes \
31363 maybe-clean-stage2-binutils \
31364 maybe-clean-stage2-gas \
31365 maybe-clean-stage2-gcc \
31366 maybe-clean-stage2-intl \
31367 maybe-clean-stage2-ld \
31368 maybe-clean-stage2-libcpp \
31369 maybe-clean-stage2-libiberty \
31370 maybe-clean-stage2-zlib
31373 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
31374 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
31375 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
31377 maybe-configure-stage2-bfd:
31378 maybe-all-stage2-bfd:
31379 maybe-clean-stage2-bfd:
31382 maybe-configure-stage2-bfd: configure-stage2-bfd
31383 configure-stage2-bfd:
31384 @$(MAKE) stage2-start
31385 @[ -f bfd/Makefile ] && exit 0 || : ; \
31386 r=`${PWD_COMMAND}`; export r; \
31387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31388 $(STAGE_HOST_EXPORTS) \
31389 echo Configuring stage 2 in bfd ; \
31390 cd bfd || exit 1; \
31391 case $(srcdir) in \
31393 srcdiroption="--srcdir=."; \
31395 /* | [A-Za-z]:[\\/]*) \
31396 srcdiroption="--srcdir=$(srcdir)/bfd"; \
31397 libsrcdir="$$s/bfd";; \
31399 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
31400 libsrcdir="$$s/bfd";; \
31402 $(SHELL) $${libsrcdir}/configure \
31403 $(HOST_CONFIGARGS) $${srcdiroption} \
31404 @stage2_werror_flag@
31406 maybe-all-stage2-bfd: all-stage2-bfd
31407 all-stage2-bfd: configure-stage2-bfd
31408 @$(MAKE) stage2-start
31409 @r=`${PWD_COMMAND}`; export r; \
31410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31411 $(STAGE_HOST_EXPORTS) \
31413 $(MAKE) $(FLAGS_TO_PASS) \
31414 $(POSTSTAGE1_FLAGS_TO_PASS) \
31417 maybe-clean-stage2-bfd: clean-stage2-bfd
31419 @[ -f bfd/Makefile ] || [ -f stage2-bfd/Makefile ] \
31421 [ -f bfd/Makefile ] || $(MAKE) stage2-start ; \
31423 $(MAKE) $(FLAGS_TO_PASS) \
31424 $(POSTSTAGE1_FLAGS_TO_PASS) \
31426 @endif bfd-bootstrap
31429 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
31430 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
31431 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
31433 maybe-configure-stage2-opcodes:
31434 maybe-all-stage2-opcodes:
31435 maybe-clean-stage2-opcodes:
31437 @if opcodes-bootstrap
31438 maybe-configure-stage2-opcodes: configure-stage2-opcodes
31439 configure-stage2-opcodes:
31440 @$(MAKE) stage2-start
31441 @[ -f opcodes/Makefile ] && exit 0 || : ; \
31442 r=`${PWD_COMMAND}`; export r; \
31443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31444 $(STAGE_HOST_EXPORTS) \
31445 echo Configuring stage 2 in opcodes ; \
31446 cd opcodes || exit 1; \
31447 case $(srcdir) in \
31449 srcdiroption="--srcdir=."; \
31451 /* | [A-Za-z]:[\\/]*) \
31452 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
31453 libsrcdir="$$s/opcodes";; \
31455 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
31456 libsrcdir="$$s/opcodes";; \
31458 $(SHELL) $${libsrcdir}/configure \
31459 $(HOST_CONFIGARGS) $${srcdiroption} \
31460 @stage2_werror_flag@
31462 maybe-all-stage2-opcodes: all-stage2-opcodes
31463 all-stage2-opcodes: configure-stage2-opcodes
31464 @$(MAKE) stage2-start
31465 @r=`${PWD_COMMAND}`; export r; \
31466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31467 $(STAGE_HOST_EXPORTS) \
31469 $(MAKE) $(FLAGS_TO_PASS) \
31470 $(POSTSTAGE1_FLAGS_TO_PASS) \
31473 maybe-clean-stage2-opcodes: clean-stage2-opcodes
31474 clean-stage2-opcodes:
31475 @[ -f opcodes/Makefile ] || [ -f stage2-opcodes/Makefile ] \
31477 [ -f opcodes/Makefile ] || $(MAKE) stage2-start ; \
31479 $(MAKE) $(FLAGS_TO_PASS) \
31480 $(POSTSTAGE1_FLAGS_TO_PASS) \
31482 @endif opcodes-bootstrap
31485 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
31486 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
31487 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
31489 maybe-configure-stage2-binutils:
31490 maybe-all-stage2-binutils:
31491 maybe-clean-stage2-binutils:
31493 @if binutils-bootstrap
31494 maybe-configure-stage2-binutils: configure-stage2-binutils
31495 configure-stage2-binutils:
31496 @$(MAKE) stage2-start
31497 @[ -f binutils/Makefile ] && exit 0 || : ; \
31498 r=`${PWD_COMMAND}`; export r; \
31499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31500 $(STAGE_HOST_EXPORTS) \
31501 echo Configuring stage 2 in binutils ; \
31502 cd binutils || exit 1; \
31503 case $(srcdir) in \
31505 srcdiroption="--srcdir=."; \
31507 /* | [A-Za-z]:[\\/]*) \
31508 srcdiroption="--srcdir=$(srcdir)/binutils"; \
31509 libsrcdir="$$s/binutils";; \
31511 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
31512 libsrcdir="$$s/binutils";; \
31514 $(SHELL) $${libsrcdir}/configure \
31515 $(HOST_CONFIGARGS) $${srcdiroption} \
31516 @stage2_werror_flag@
31518 maybe-all-stage2-binutils: all-stage2-binutils
31519 all-stage2-binutils: configure-stage2-binutils
31520 @$(MAKE) stage2-start
31521 @r=`${PWD_COMMAND}`; export r; \
31522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31523 $(STAGE_HOST_EXPORTS) \
31525 $(MAKE) $(FLAGS_TO_PASS) \
31526 $(POSTSTAGE1_FLAGS_TO_PASS) \
31529 maybe-clean-stage2-binutils: clean-stage2-binutils
31530 clean-stage2-binutils:
31531 @[ -f binutils/Makefile ] || [ -f stage2-binutils/Makefile ] \
31533 [ -f binutils/Makefile ] || $(MAKE) stage2-start ; \
31535 $(MAKE) $(FLAGS_TO_PASS) \
31536 $(POSTSTAGE1_FLAGS_TO_PASS) \
31538 @endif binutils-bootstrap
31541 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
31542 .PHONY: all-stage2-gas maybe-all-stage2-gas
31543 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
31545 maybe-configure-stage2-gas:
31546 maybe-all-stage2-gas:
31547 maybe-clean-stage2-gas:
31550 maybe-configure-stage2-gas: configure-stage2-gas
31551 configure-stage2-gas:
31552 @$(MAKE) stage2-start
31553 @[ -f gas/Makefile ] && exit 0 || : ; \
31554 r=`${PWD_COMMAND}`; export r; \
31555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31556 $(STAGE_HOST_EXPORTS) \
31557 echo Configuring stage 2 in gas ; \
31558 cd gas || exit 1; \
31559 case $(srcdir) in \
31561 srcdiroption="--srcdir=."; \
31563 /* | [A-Za-z]:[\\/]*) \
31564 srcdiroption="--srcdir=$(srcdir)/gas"; \
31565 libsrcdir="$$s/gas";; \
31567 srcdiroption="--srcdir=../$(srcdir)/gas"; \
31568 libsrcdir="$$s/gas";; \
31570 $(SHELL) $${libsrcdir}/configure \
31571 $(HOST_CONFIGARGS) $${srcdiroption} \
31572 @stage2_werror_flag@
31574 maybe-all-stage2-gas: all-stage2-gas
31575 all-stage2-gas: configure-stage2-gas
31576 @$(MAKE) stage2-start
31577 @r=`${PWD_COMMAND}`; export r; \
31578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31579 $(STAGE_HOST_EXPORTS) \
31581 $(MAKE) $(FLAGS_TO_PASS) \
31582 $(POSTSTAGE1_FLAGS_TO_PASS) \
31585 maybe-clean-stage2-gas: clean-stage2-gas
31587 @[ -f gas/Makefile ] || [ -f stage2-gas/Makefile ] \
31589 [ -f gas/Makefile ] || $(MAKE) stage2-start ; \
31591 $(MAKE) $(FLAGS_TO_PASS) \
31592 $(POSTSTAGE1_FLAGS_TO_PASS) \
31594 @endif gas-bootstrap
31597 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
31598 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
31599 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
31601 maybe-configure-stage2-gcc:
31602 maybe-all-stage2-gcc:
31603 maybe-clean-stage2-gcc:
31606 maybe-configure-stage2-gcc: configure-stage2-gcc
31607 configure-stage2-gcc:
31608 @$(MAKE) stage2-start
31609 @[ -f gcc/Makefile ] && exit 0 || : ; \
31610 r=`${PWD_COMMAND}`; export r; \
31611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31612 $(STAGE_HOST_EXPORTS) \
31613 echo Configuring stage 2 in gcc ; \
31614 cd gcc || exit 1; \
31615 case $(srcdir) in \
31617 srcdiroption="--srcdir=."; \
31619 /* | [A-Za-z]:[\\/]*) \
31620 srcdiroption="--srcdir=$(srcdir)/gcc"; \
31621 libsrcdir="$$s/gcc";; \
31623 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
31624 libsrcdir="$$s/gcc";; \
31626 $(SHELL) $${libsrcdir}/configure \
31627 $(HOST_CONFIGARGS) $${srcdiroption} \
31628 @stage2_werror_flag@
31630 maybe-all-stage2-gcc: all-stage2-gcc
31631 all-stage2-gcc: configure-stage2-gcc
31632 @$(MAKE) stage2-start
31633 @r=`${PWD_COMMAND}`; export r; \
31634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31635 $(STAGE_HOST_EXPORTS) \
31637 $(MAKE) $(FLAGS_TO_PASS) \
31638 $(POSTSTAGE1_FLAGS_TO_PASS) \
31641 maybe-clean-stage2-gcc: clean-stage2-gcc
31643 @[ -f gcc/Makefile ] || [ -f stage2-gcc/Makefile ] \
31645 [ -f gcc/Makefile ] || $(MAKE) stage2-start ; \
31647 $(MAKE) $(FLAGS_TO_PASS) \
31648 $(POSTSTAGE1_FLAGS_TO_PASS) \
31649 $(EXTRA_GCC_FLAGS) clean
31650 @endif gcc-bootstrap
31653 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
31654 .PHONY: all-stage2-intl maybe-all-stage2-intl
31655 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
31657 maybe-configure-stage2-intl:
31658 maybe-all-stage2-intl:
31659 maybe-clean-stage2-intl:
31662 maybe-configure-stage2-intl: configure-stage2-intl
31663 configure-stage2-intl:
31664 @$(MAKE) stage2-start
31665 @[ -f intl/Makefile ] && exit 0 || : ; \
31666 r=`${PWD_COMMAND}`; export r; \
31667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31668 $(STAGE_HOST_EXPORTS) \
31669 echo Configuring stage 2 in intl ; \
31670 cd intl || exit 1; \
31671 case $(srcdir) in \
31673 srcdiroption="--srcdir=."; \
31675 /* | [A-Za-z]:[\\/]*) \
31676 srcdiroption="--srcdir=$(srcdir)/intl"; \
31677 libsrcdir="$$s/intl";; \
31679 srcdiroption="--srcdir=../$(srcdir)/intl"; \
31680 libsrcdir="$$s/intl";; \
31682 $(SHELL) $${libsrcdir}/configure \
31683 $(HOST_CONFIGARGS) $${srcdiroption} \
31684 @stage2_werror_flag@
31686 maybe-all-stage2-intl: all-stage2-intl
31687 all-stage2-intl: configure-stage2-intl
31688 @$(MAKE) stage2-start
31689 @r=`${PWD_COMMAND}`; export r; \
31690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31691 $(STAGE_HOST_EXPORTS) \
31693 $(MAKE) $(FLAGS_TO_PASS) \
31694 $(POSTSTAGE1_FLAGS_TO_PASS) \
31697 maybe-clean-stage2-intl: clean-stage2-intl
31699 @[ -f intl/Makefile ] || [ -f stage2-intl/Makefile ] \
31701 [ -f intl/Makefile ] || $(MAKE) stage2-start ; \
31703 $(MAKE) $(FLAGS_TO_PASS) \
31704 $(POSTSTAGE1_FLAGS_TO_PASS) \
31706 @endif intl-bootstrap
31709 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
31710 .PHONY: all-stage2-ld maybe-all-stage2-ld
31711 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
31713 maybe-configure-stage2-ld:
31714 maybe-all-stage2-ld:
31715 maybe-clean-stage2-ld:
31718 maybe-configure-stage2-ld: configure-stage2-ld
31719 configure-stage2-ld:
31720 @$(MAKE) stage2-start
31721 @[ -f ld/Makefile ] && exit 0 || : ; \
31722 r=`${PWD_COMMAND}`; export r; \
31723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31724 $(STAGE_HOST_EXPORTS) \
31725 echo Configuring stage 2 in ld ; \
31727 case $(srcdir) in \
31729 srcdiroption="--srcdir=."; \
31731 /* | [A-Za-z]:[\\/]*) \
31732 srcdiroption="--srcdir=$(srcdir)/ld"; \
31733 libsrcdir="$$s/ld";; \
31735 srcdiroption="--srcdir=../$(srcdir)/ld"; \
31736 libsrcdir="$$s/ld";; \
31738 $(SHELL) $${libsrcdir}/configure \
31739 $(HOST_CONFIGARGS) $${srcdiroption} \
31740 @stage2_werror_flag@
31742 maybe-all-stage2-ld: all-stage2-ld
31743 all-stage2-ld: configure-stage2-ld
31744 @$(MAKE) stage2-start
31745 @r=`${PWD_COMMAND}`; export r; \
31746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31747 $(STAGE_HOST_EXPORTS) \
31749 $(MAKE) $(FLAGS_TO_PASS) \
31750 $(POSTSTAGE1_FLAGS_TO_PASS) \
31753 maybe-clean-stage2-ld: clean-stage2-ld
31755 @[ -f ld/Makefile ] || [ -f stage2-ld/Makefile ] \
31757 [ -f ld/Makefile ] || $(MAKE) stage2-start ; \
31759 $(MAKE) $(FLAGS_TO_PASS) \
31760 $(POSTSTAGE1_FLAGS_TO_PASS) \
31762 @endif ld-bootstrap
31765 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
31766 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
31767 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
31769 maybe-configure-stage2-libcpp:
31770 maybe-all-stage2-libcpp:
31771 maybe-clean-stage2-libcpp:
31773 @if libcpp-bootstrap
31774 maybe-configure-stage2-libcpp: configure-stage2-libcpp
31775 configure-stage2-libcpp:
31776 @$(MAKE) stage2-start
31777 @[ -f libcpp/Makefile ] && exit 0 || : ; \
31778 r=`${PWD_COMMAND}`; export r; \
31779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31780 $(STAGE_HOST_EXPORTS) \
31781 echo Configuring stage 2 in libcpp ; \
31782 cd libcpp || exit 1; \
31783 case $(srcdir) in \
31785 srcdiroption="--srcdir=."; \
31787 /* | [A-Za-z]:[\\/]*) \
31788 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
31789 libsrcdir="$$s/libcpp";; \
31791 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
31792 libsrcdir="$$s/libcpp";; \
31794 $(SHELL) $${libsrcdir}/configure \
31795 $(HOST_CONFIGARGS) $${srcdiroption} \
31796 @stage2_werror_flag@
31798 maybe-all-stage2-libcpp: all-stage2-libcpp
31799 all-stage2-libcpp: configure-stage2-libcpp
31800 @$(MAKE) stage2-start
31801 @r=`${PWD_COMMAND}`; export r; \
31802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31803 $(STAGE_HOST_EXPORTS) \
31805 $(MAKE) $(FLAGS_TO_PASS) \
31806 $(POSTSTAGE1_FLAGS_TO_PASS) \
31809 maybe-clean-stage2-libcpp: clean-stage2-libcpp
31810 clean-stage2-libcpp:
31811 @[ -f libcpp/Makefile ] || [ -f stage2-libcpp/Makefile ] \
31813 [ -f libcpp/Makefile ] || $(MAKE) stage2-start ; \
31815 $(MAKE) $(FLAGS_TO_PASS) \
31816 $(POSTSTAGE1_FLAGS_TO_PASS) \
31818 @endif libcpp-bootstrap
31821 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
31822 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
31823 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
31825 maybe-configure-stage2-libiberty:
31826 maybe-all-stage2-libiberty:
31827 maybe-clean-stage2-libiberty:
31829 @if libiberty-bootstrap
31830 maybe-configure-stage2-libiberty: configure-stage2-libiberty
31831 configure-stage2-libiberty:
31832 @$(MAKE) stage2-start
31833 @[ -f libiberty/Makefile ] && exit 0 || : ; \
31834 r=`${PWD_COMMAND}`; export r; \
31835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31836 $(STAGE_HOST_EXPORTS) \
31837 echo Configuring stage 2 in libiberty ; \
31838 cd libiberty || exit 1; \
31839 case $(srcdir) in \
31841 srcdiroption="--srcdir=."; \
31843 /* | [A-Za-z]:[\\/]*) \
31844 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
31845 libsrcdir="$$s/libiberty";; \
31847 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
31848 libsrcdir="$$s/libiberty";; \
31850 $(SHELL) $${libsrcdir}/configure \
31851 $(HOST_CONFIGARGS) $${srcdiroption} \
31852 @stage2_werror_flag@
31854 maybe-all-stage2-libiberty: all-stage2-libiberty
31855 all-stage2-libiberty: configure-stage2-libiberty
31856 @$(MAKE) stage2-start
31857 @r=`${PWD_COMMAND}`; export r; \
31858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31859 $(STAGE_HOST_EXPORTS) \
31861 $(MAKE) $(FLAGS_TO_PASS) \
31862 $(POSTSTAGE1_FLAGS_TO_PASS) \
31865 maybe-clean-stage2-libiberty: clean-stage2-libiberty
31866 clean-stage2-libiberty:
31867 @[ -f libiberty/Makefile ] || [ -f stage2-libiberty/Makefile ] \
31869 [ -f libiberty/Makefile ] || $(MAKE) stage2-start ; \
31871 $(MAKE) $(FLAGS_TO_PASS) \
31872 $(POSTSTAGE1_FLAGS_TO_PASS) \
31874 @endif libiberty-bootstrap
31877 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
31878 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
31879 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
31881 maybe-configure-stage2-zlib:
31882 maybe-all-stage2-zlib:
31883 maybe-clean-stage2-zlib:
31886 maybe-configure-stage2-zlib: configure-stage2-zlib
31887 configure-stage2-zlib:
31888 @$(MAKE) stage2-start
31889 @[ -f zlib/Makefile ] && exit 0 || : ; \
31890 r=`${PWD_COMMAND}`; export r; \
31891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31892 $(STAGE_HOST_EXPORTS) \
31893 echo Configuring stage 2 in zlib ; \
31894 cd zlib || exit 1; \
31895 case $(srcdir) in \
31897 srcdiroption="--srcdir=."; \
31899 /* | [A-Za-z]:[\\/]*) \
31900 srcdiroption="--srcdir=$(srcdir)/zlib"; \
31901 libsrcdir="$$s/zlib";; \
31903 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
31904 libsrcdir="$$s/zlib";; \
31906 $(SHELL) $${libsrcdir}/configure \
31907 $(HOST_CONFIGARGS) $${srcdiroption} \
31908 @stage2_werror_flag@
31910 maybe-all-stage2-zlib: all-stage2-zlib
31911 all-stage2-zlib: configure-stage2-zlib
31912 @$(MAKE) stage2-start
31913 @r=`${PWD_COMMAND}`; export r; \
31914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31915 $(STAGE_HOST_EXPORTS) \
31917 $(MAKE) $(FLAGS_TO_PASS) \
31918 $(POSTSTAGE1_FLAGS_TO_PASS) \
31921 maybe-clean-stage2-zlib: clean-stage2-zlib
31923 @[ -f zlib/Makefile ] || [ -f stage2-zlib/Makefile ] \
31925 [ -f zlib/Makefile ] || $(MAKE) stage2-start ; \
31927 $(MAKE) $(FLAGS_TO_PASS) \
31928 $(POSTSTAGE1_FLAGS_TO_PASS) \
31930 @endif zlib-bootstrap
31934 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31935 # only possibility, but now it conflicts with no-bootstrap rules
31941 bootstrap2: stage2-bubble all
31944 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31945 distclean-stage1:: distclean-stage2
31946 .PHONY: distclean-stage2
31948 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31952 @endif gcc-bootstrap
31955 .PHONY: stage3-start stage3-end
31958 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31959 echo stage3 > stage_current ; \
31960 echo stage3 > stage_last
31962 @[ -d stage3-bfd ] || mkdir stage3-bfd; \
31963 set stage3-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
31964 set stage2-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
31967 @[ -d stage3-opcodes ] || mkdir stage3-opcodes; \
31968 set stage3-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
31969 set stage2-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
31972 @[ -d stage3-binutils ] || mkdir stage3-binutils; \
31973 set stage3-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
31974 set stage2-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
31977 @[ -d stage3-gas ] || mkdir stage3-gas; \
31978 set stage3-gas gas ; @CREATE_LINK_TO_DIR@ ; \
31979 set stage2-gas prev-gas ; @CREATE_LINK_TO_DIR@
31982 @[ -d stage3-gcc ] || mkdir stage3-gcc; \
31983 set stage3-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
31984 set stage2-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
31987 @[ -d stage3-intl ] || mkdir stage3-intl; \
31988 set stage3-intl intl ; @CREATE_LINK_TO_DIR@ ; \
31989 set stage2-intl prev-intl ; @CREATE_LINK_TO_DIR@
31992 @[ -d stage3-ld ] || mkdir stage3-ld; \
31993 set stage3-ld ld ; @CREATE_LINK_TO_DIR@ ; \
31994 set stage2-ld prev-ld ; @CREATE_LINK_TO_DIR@
31997 @[ -d stage3-libcpp ] || mkdir stage3-libcpp; \
31998 set stage3-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
31999 set stage2-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
32002 @[ -d stage3-libiberty ] || mkdir stage3-libiberty; \
32003 set stage3-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
32004 set stage2-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
32007 @[ -d stage3-zlib ] || mkdir stage3-zlib; \
32008 set stage3-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
32009 set stage2-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
32013 @rm -f stage_current
32015 @set bfd stage3-bfd ; @UNDO_LINK_TO_DIR@ ; \
32016 set prev-bfd stage2-bfd ; @UNDO_LINK_TO_DIR@
32019 @set opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@ ; \
32020 set prev-opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@
32023 @set binutils stage3-binutils ; @UNDO_LINK_TO_DIR@ ; \
32024 set prev-binutils stage2-binutils ; @UNDO_LINK_TO_DIR@
32027 @set gas stage3-gas ; @UNDO_LINK_TO_DIR@ ; \
32028 set prev-gas stage2-gas ; @UNDO_LINK_TO_DIR@
32031 @set gcc stage3-gcc ; @UNDO_LINK_TO_DIR@ ; \
32032 set prev-gcc stage2-gcc ; @UNDO_LINK_TO_DIR@
32035 @set intl stage3-intl ; @UNDO_LINK_TO_DIR@ ; \
32036 set prev-intl stage2-intl ; @UNDO_LINK_TO_DIR@
32039 @set ld stage3-ld ; @UNDO_LINK_TO_DIR@ ; \
32040 set prev-ld stage2-ld ; @UNDO_LINK_TO_DIR@
32043 @set libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@ ; \
32044 set prev-libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@
32047 @set libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@ ; \
32048 set prev-libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@
32051 @set zlib stage3-zlib ; @UNDO_LINK_TO_DIR@ ; \
32052 set prev-zlib stage2-zlib ; @UNDO_LINK_TO_DIR@
32055 # Bubble a bugfix through all the stages up to stage 3. They
32056 # are remade, but not reconfigured. The next stage (if any) will not
32057 # be reconfigured as well.
32058 .PHONY: stage3-bubble
32059 stage3-bubble:: stage2-bubble
32060 @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
32061 @if test -f stage3-lean || test -f stage2-lean ; then \
32062 echo Skipping rebuild of stage3 ; \
32064 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage3; \
32067 .PHONY: all-stage3 clean-stage3
32069 maybe-all-stage3-bfd \
32070 maybe-all-stage3-opcodes \
32071 maybe-all-stage3-binutils \
32072 maybe-all-stage3-gas \
32073 maybe-all-stage3-gcc \
32074 maybe-all-stage3-intl \
32075 maybe-all-stage3-ld \
32076 maybe-all-stage3-libcpp \
32077 maybe-all-stage3-libiberty \
32078 maybe-all-stage3-zlib
32080 do-clean: clean-stage3
32082 maybe-clean-stage3-bfd \
32083 maybe-clean-stage3-opcodes \
32084 maybe-clean-stage3-binutils \
32085 maybe-clean-stage3-gas \
32086 maybe-clean-stage3-gcc \
32087 maybe-clean-stage3-intl \
32088 maybe-clean-stage3-ld \
32089 maybe-clean-stage3-libcpp \
32090 maybe-clean-stage3-libiberty \
32091 maybe-clean-stage3-zlib
32094 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
32095 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
32096 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
32098 maybe-configure-stage3-bfd:
32099 maybe-all-stage3-bfd:
32100 maybe-clean-stage3-bfd:
32103 maybe-configure-stage3-bfd: configure-stage3-bfd
32104 configure-stage3-bfd:
32105 @$(MAKE) stage3-start
32106 @[ -f bfd/Makefile ] && exit 0 || : ; \
32107 r=`${PWD_COMMAND}`; export r; \
32108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32109 $(STAGE_HOST_EXPORTS) \
32110 echo Configuring stage 3 in bfd ; \
32111 cd bfd || exit 1; \
32112 case $(srcdir) in \
32114 srcdiroption="--srcdir=."; \
32116 /* | [A-Za-z]:[\\/]*) \
32117 srcdiroption="--srcdir=$(srcdir)/bfd"; \
32118 libsrcdir="$$s/bfd";; \
32120 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
32121 libsrcdir="$$s/bfd";; \
32123 $(SHELL) $${libsrcdir}/configure \
32124 $(HOST_CONFIGARGS) $${srcdiroption} \
32125 @stage2_werror_flag@
32127 maybe-all-stage3-bfd: all-stage3-bfd
32128 all-stage3-bfd: configure-stage3-bfd
32129 @$(MAKE) stage3-start
32130 @r=`${PWD_COMMAND}`; export r; \
32131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32132 $(STAGE_HOST_EXPORTS) \
32134 $(MAKE) $(FLAGS_TO_PASS) \
32135 $(POSTSTAGE1_FLAGS_TO_PASS) \
32138 maybe-clean-stage3-bfd: clean-stage3-bfd
32140 @[ -f bfd/Makefile ] || [ -f stage3-bfd/Makefile ] \
32142 [ -f bfd/Makefile ] || $(MAKE) stage3-start ; \
32144 $(MAKE) $(FLAGS_TO_PASS) \
32145 $(POSTSTAGE1_FLAGS_TO_PASS) \
32147 @endif bfd-bootstrap
32150 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
32151 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
32152 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
32154 maybe-configure-stage3-opcodes:
32155 maybe-all-stage3-opcodes:
32156 maybe-clean-stage3-opcodes:
32158 @if opcodes-bootstrap
32159 maybe-configure-stage3-opcodes: configure-stage3-opcodes
32160 configure-stage3-opcodes:
32161 @$(MAKE) stage3-start
32162 @[ -f opcodes/Makefile ] && exit 0 || : ; \
32163 r=`${PWD_COMMAND}`; export r; \
32164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32165 $(STAGE_HOST_EXPORTS) \
32166 echo Configuring stage 3 in opcodes ; \
32167 cd opcodes || exit 1; \
32168 case $(srcdir) in \
32170 srcdiroption="--srcdir=."; \
32172 /* | [A-Za-z]:[\\/]*) \
32173 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
32174 libsrcdir="$$s/opcodes";; \
32176 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
32177 libsrcdir="$$s/opcodes";; \
32179 $(SHELL) $${libsrcdir}/configure \
32180 $(HOST_CONFIGARGS) $${srcdiroption} \
32181 @stage2_werror_flag@
32183 maybe-all-stage3-opcodes: all-stage3-opcodes
32184 all-stage3-opcodes: configure-stage3-opcodes
32185 @$(MAKE) stage3-start
32186 @r=`${PWD_COMMAND}`; export r; \
32187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32188 $(STAGE_HOST_EXPORTS) \
32190 $(MAKE) $(FLAGS_TO_PASS) \
32191 $(POSTSTAGE1_FLAGS_TO_PASS) \
32194 maybe-clean-stage3-opcodes: clean-stage3-opcodes
32195 clean-stage3-opcodes:
32196 @[ -f opcodes/Makefile ] || [ -f stage3-opcodes/Makefile ] \
32198 [ -f opcodes/Makefile ] || $(MAKE) stage3-start ; \
32200 $(MAKE) $(FLAGS_TO_PASS) \
32201 $(POSTSTAGE1_FLAGS_TO_PASS) \
32203 @endif opcodes-bootstrap
32206 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
32207 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
32208 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
32210 maybe-configure-stage3-binutils:
32211 maybe-all-stage3-binutils:
32212 maybe-clean-stage3-binutils:
32214 @if binutils-bootstrap
32215 maybe-configure-stage3-binutils: configure-stage3-binutils
32216 configure-stage3-binutils:
32217 @$(MAKE) stage3-start
32218 @[ -f binutils/Makefile ] && exit 0 || : ; \
32219 r=`${PWD_COMMAND}`; export r; \
32220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32221 $(STAGE_HOST_EXPORTS) \
32222 echo Configuring stage 3 in binutils ; \
32223 cd binutils || exit 1; \
32224 case $(srcdir) in \
32226 srcdiroption="--srcdir=."; \
32228 /* | [A-Za-z]:[\\/]*) \
32229 srcdiroption="--srcdir=$(srcdir)/binutils"; \
32230 libsrcdir="$$s/binutils";; \
32232 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
32233 libsrcdir="$$s/binutils";; \
32235 $(SHELL) $${libsrcdir}/configure \
32236 $(HOST_CONFIGARGS) $${srcdiroption} \
32237 @stage2_werror_flag@
32239 maybe-all-stage3-binutils: all-stage3-binutils
32240 all-stage3-binutils: configure-stage3-binutils
32241 @$(MAKE) stage3-start
32242 @r=`${PWD_COMMAND}`; export r; \
32243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32244 $(STAGE_HOST_EXPORTS) \
32246 $(MAKE) $(FLAGS_TO_PASS) \
32247 $(POSTSTAGE1_FLAGS_TO_PASS) \
32250 maybe-clean-stage3-binutils: clean-stage3-binutils
32251 clean-stage3-binutils:
32252 @[ -f binutils/Makefile ] || [ -f stage3-binutils/Makefile ] \
32254 [ -f binutils/Makefile ] || $(MAKE) stage3-start ; \
32256 $(MAKE) $(FLAGS_TO_PASS) \
32257 $(POSTSTAGE1_FLAGS_TO_PASS) \
32259 @endif binutils-bootstrap
32262 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
32263 .PHONY: all-stage3-gas maybe-all-stage3-gas
32264 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
32266 maybe-configure-stage3-gas:
32267 maybe-all-stage3-gas:
32268 maybe-clean-stage3-gas:
32271 maybe-configure-stage3-gas: configure-stage3-gas
32272 configure-stage3-gas:
32273 @$(MAKE) stage3-start
32274 @[ -f gas/Makefile ] && exit 0 || : ; \
32275 r=`${PWD_COMMAND}`; export r; \
32276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32277 $(STAGE_HOST_EXPORTS) \
32278 echo Configuring stage 3 in gas ; \
32279 cd gas || exit 1; \
32280 case $(srcdir) in \
32282 srcdiroption="--srcdir=."; \
32284 /* | [A-Za-z]:[\\/]*) \
32285 srcdiroption="--srcdir=$(srcdir)/gas"; \
32286 libsrcdir="$$s/gas";; \
32288 srcdiroption="--srcdir=../$(srcdir)/gas"; \
32289 libsrcdir="$$s/gas";; \
32291 $(SHELL) $${libsrcdir}/configure \
32292 $(HOST_CONFIGARGS) $${srcdiroption} \
32293 @stage2_werror_flag@
32295 maybe-all-stage3-gas: all-stage3-gas
32296 all-stage3-gas: configure-stage3-gas
32297 @$(MAKE) stage3-start
32298 @r=`${PWD_COMMAND}`; export r; \
32299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32300 $(STAGE_HOST_EXPORTS) \
32302 $(MAKE) $(FLAGS_TO_PASS) \
32303 $(POSTSTAGE1_FLAGS_TO_PASS) \
32306 maybe-clean-stage3-gas: clean-stage3-gas
32308 @[ -f gas/Makefile ] || [ -f stage3-gas/Makefile ] \
32310 [ -f gas/Makefile ] || $(MAKE) stage3-start ; \
32312 $(MAKE) $(FLAGS_TO_PASS) \
32313 $(POSTSTAGE1_FLAGS_TO_PASS) \
32315 @endif gas-bootstrap
32318 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
32319 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
32320 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
32322 maybe-configure-stage3-gcc:
32323 maybe-all-stage3-gcc:
32324 maybe-clean-stage3-gcc:
32327 maybe-configure-stage3-gcc: configure-stage3-gcc
32328 configure-stage3-gcc:
32329 @$(MAKE) stage3-start
32330 @[ -f gcc/Makefile ] && exit 0 || : ; \
32331 r=`${PWD_COMMAND}`; export r; \
32332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32333 $(STAGE_HOST_EXPORTS) \
32334 echo Configuring stage 3 in gcc ; \
32335 cd gcc || exit 1; \
32336 case $(srcdir) in \
32338 srcdiroption="--srcdir=."; \
32340 /* | [A-Za-z]:[\\/]*) \
32341 srcdiroption="--srcdir=$(srcdir)/gcc"; \
32342 libsrcdir="$$s/gcc";; \
32344 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
32345 libsrcdir="$$s/gcc";; \
32347 $(SHELL) $${libsrcdir}/configure \
32348 $(HOST_CONFIGARGS) $${srcdiroption} \
32349 @stage2_werror_flag@
32351 maybe-all-stage3-gcc: all-stage3-gcc
32352 all-stage3-gcc: configure-stage3-gcc
32353 @$(MAKE) stage3-start
32354 @r=`${PWD_COMMAND}`; export r; \
32355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32356 $(STAGE_HOST_EXPORTS) \
32358 $(MAKE) $(FLAGS_TO_PASS) \
32359 $(POSTSTAGE1_FLAGS_TO_PASS) \
32362 maybe-clean-stage3-gcc: clean-stage3-gcc
32364 @[ -f gcc/Makefile ] || [ -f stage3-gcc/Makefile ] \
32366 [ -f gcc/Makefile ] || $(MAKE) stage3-start ; \
32368 $(MAKE) $(FLAGS_TO_PASS) \
32369 $(POSTSTAGE1_FLAGS_TO_PASS) \
32370 $(EXTRA_GCC_FLAGS) clean
32371 @endif gcc-bootstrap
32374 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
32375 .PHONY: all-stage3-intl maybe-all-stage3-intl
32376 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
32378 maybe-configure-stage3-intl:
32379 maybe-all-stage3-intl:
32380 maybe-clean-stage3-intl:
32383 maybe-configure-stage3-intl: configure-stage3-intl
32384 configure-stage3-intl:
32385 @$(MAKE) stage3-start
32386 @[ -f intl/Makefile ] && exit 0 || : ; \
32387 r=`${PWD_COMMAND}`; export r; \
32388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32389 $(STAGE_HOST_EXPORTS) \
32390 echo Configuring stage 3 in intl ; \
32391 cd intl || exit 1; \
32392 case $(srcdir) in \
32394 srcdiroption="--srcdir=."; \
32396 /* | [A-Za-z]:[\\/]*) \
32397 srcdiroption="--srcdir=$(srcdir)/intl"; \
32398 libsrcdir="$$s/intl";; \
32400 srcdiroption="--srcdir=../$(srcdir)/intl"; \
32401 libsrcdir="$$s/intl";; \
32403 $(SHELL) $${libsrcdir}/configure \
32404 $(HOST_CONFIGARGS) $${srcdiroption} \
32405 @stage2_werror_flag@
32407 maybe-all-stage3-intl: all-stage3-intl
32408 all-stage3-intl: configure-stage3-intl
32409 @$(MAKE) stage3-start
32410 @r=`${PWD_COMMAND}`; export r; \
32411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32412 $(STAGE_HOST_EXPORTS) \
32414 $(MAKE) $(FLAGS_TO_PASS) \
32415 $(POSTSTAGE1_FLAGS_TO_PASS) \
32418 maybe-clean-stage3-intl: clean-stage3-intl
32420 @[ -f intl/Makefile ] || [ -f stage3-intl/Makefile ] \
32422 [ -f intl/Makefile ] || $(MAKE) stage3-start ; \
32424 $(MAKE) $(FLAGS_TO_PASS) \
32425 $(POSTSTAGE1_FLAGS_TO_PASS) \
32427 @endif intl-bootstrap
32430 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
32431 .PHONY: all-stage3-ld maybe-all-stage3-ld
32432 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
32434 maybe-configure-stage3-ld:
32435 maybe-all-stage3-ld:
32436 maybe-clean-stage3-ld:
32439 maybe-configure-stage3-ld: configure-stage3-ld
32440 configure-stage3-ld:
32441 @$(MAKE) stage3-start
32442 @[ -f ld/Makefile ] && exit 0 || : ; \
32443 r=`${PWD_COMMAND}`; export r; \
32444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32445 $(STAGE_HOST_EXPORTS) \
32446 echo Configuring stage 3 in ld ; \
32448 case $(srcdir) in \
32450 srcdiroption="--srcdir=."; \
32452 /* | [A-Za-z]:[\\/]*) \
32453 srcdiroption="--srcdir=$(srcdir)/ld"; \
32454 libsrcdir="$$s/ld";; \
32456 srcdiroption="--srcdir=../$(srcdir)/ld"; \
32457 libsrcdir="$$s/ld";; \
32459 $(SHELL) $${libsrcdir}/configure \
32460 $(HOST_CONFIGARGS) $${srcdiroption} \
32461 @stage2_werror_flag@
32463 maybe-all-stage3-ld: all-stage3-ld
32464 all-stage3-ld: configure-stage3-ld
32465 @$(MAKE) stage3-start
32466 @r=`${PWD_COMMAND}`; export r; \
32467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32468 $(STAGE_HOST_EXPORTS) \
32470 $(MAKE) $(FLAGS_TO_PASS) \
32471 $(POSTSTAGE1_FLAGS_TO_PASS) \
32474 maybe-clean-stage3-ld: clean-stage3-ld
32476 @[ -f ld/Makefile ] || [ -f stage3-ld/Makefile ] \
32478 [ -f ld/Makefile ] || $(MAKE) stage3-start ; \
32480 $(MAKE) $(FLAGS_TO_PASS) \
32481 $(POSTSTAGE1_FLAGS_TO_PASS) \
32483 @endif ld-bootstrap
32486 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
32487 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
32488 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
32490 maybe-configure-stage3-libcpp:
32491 maybe-all-stage3-libcpp:
32492 maybe-clean-stage3-libcpp:
32494 @if libcpp-bootstrap
32495 maybe-configure-stage3-libcpp: configure-stage3-libcpp
32496 configure-stage3-libcpp:
32497 @$(MAKE) stage3-start
32498 @[ -f libcpp/Makefile ] && exit 0 || : ; \
32499 r=`${PWD_COMMAND}`; export r; \
32500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32501 $(STAGE_HOST_EXPORTS) \
32502 echo Configuring stage 3 in libcpp ; \
32503 cd libcpp || exit 1; \
32504 case $(srcdir) in \
32506 srcdiroption="--srcdir=."; \
32508 /* | [A-Za-z]:[\\/]*) \
32509 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
32510 libsrcdir="$$s/libcpp";; \
32512 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
32513 libsrcdir="$$s/libcpp";; \
32515 $(SHELL) $${libsrcdir}/configure \
32516 $(HOST_CONFIGARGS) $${srcdiroption} \
32517 @stage2_werror_flag@
32519 maybe-all-stage3-libcpp: all-stage3-libcpp
32520 all-stage3-libcpp: configure-stage3-libcpp
32521 @$(MAKE) stage3-start
32522 @r=`${PWD_COMMAND}`; export r; \
32523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32524 $(STAGE_HOST_EXPORTS) \
32526 $(MAKE) $(FLAGS_TO_PASS) \
32527 $(POSTSTAGE1_FLAGS_TO_PASS) \
32530 maybe-clean-stage3-libcpp: clean-stage3-libcpp
32531 clean-stage3-libcpp:
32532 @[ -f libcpp/Makefile ] || [ -f stage3-libcpp/Makefile ] \
32534 [ -f libcpp/Makefile ] || $(MAKE) stage3-start ; \
32536 $(MAKE) $(FLAGS_TO_PASS) \
32537 $(POSTSTAGE1_FLAGS_TO_PASS) \
32539 @endif libcpp-bootstrap
32542 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
32543 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
32544 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
32546 maybe-configure-stage3-libiberty:
32547 maybe-all-stage3-libiberty:
32548 maybe-clean-stage3-libiberty:
32550 @if libiberty-bootstrap
32551 maybe-configure-stage3-libiberty: configure-stage3-libiberty
32552 configure-stage3-libiberty:
32553 @$(MAKE) stage3-start
32554 @[ -f libiberty/Makefile ] && exit 0 || : ; \
32555 r=`${PWD_COMMAND}`; export r; \
32556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32557 $(STAGE_HOST_EXPORTS) \
32558 echo Configuring stage 3 in libiberty ; \
32559 cd libiberty || exit 1; \
32560 case $(srcdir) in \
32562 srcdiroption="--srcdir=."; \
32564 /* | [A-Za-z]:[\\/]*) \
32565 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
32566 libsrcdir="$$s/libiberty";; \
32568 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
32569 libsrcdir="$$s/libiberty";; \
32571 $(SHELL) $${libsrcdir}/configure \
32572 $(HOST_CONFIGARGS) $${srcdiroption} \
32573 @stage2_werror_flag@
32575 maybe-all-stage3-libiberty: all-stage3-libiberty
32576 all-stage3-libiberty: configure-stage3-libiberty
32577 @$(MAKE) stage3-start
32578 @r=`${PWD_COMMAND}`; export r; \
32579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32580 $(STAGE_HOST_EXPORTS) \
32582 $(MAKE) $(FLAGS_TO_PASS) \
32583 $(POSTSTAGE1_FLAGS_TO_PASS) \
32586 maybe-clean-stage3-libiberty: clean-stage3-libiberty
32587 clean-stage3-libiberty:
32588 @[ -f libiberty/Makefile ] || [ -f stage3-libiberty/Makefile ] \
32590 [ -f libiberty/Makefile ] || $(MAKE) stage3-start ; \
32592 $(MAKE) $(FLAGS_TO_PASS) \
32593 $(POSTSTAGE1_FLAGS_TO_PASS) \
32595 @endif libiberty-bootstrap
32598 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
32599 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
32600 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
32602 maybe-configure-stage3-zlib:
32603 maybe-all-stage3-zlib:
32604 maybe-clean-stage3-zlib:
32607 maybe-configure-stage3-zlib: configure-stage3-zlib
32608 configure-stage3-zlib:
32609 @$(MAKE) stage3-start
32610 @[ -f zlib/Makefile ] && exit 0 || : ; \
32611 r=`${PWD_COMMAND}`; export r; \
32612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32613 $(STAGE_HOST_EXPORTS) \
32614 echo Configuring stage 3 in zlib ; \
32615 cd zlib || exit 1; \
32616 case $(srcdir) in \
32618 srcdiroption="--srcdir=."; \
32620 /* | [A-Za-z]:[\\/]*) \
32621 srcdiroption="--srcdir=$(srcdir)/zlib"; \
32622 libsrcdir="$$s/zlib";; \
32624 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
32625 libsrcdir="$$s/zlib";; \
32627 $(SHELL) $${libsrcdir}/configure \
32628 $(HOST_CONFIGARGS) $${srcdiroption} \
32629 @stage2_werror_flag@
32631 maybe-all-stage3-zlib: all-stage3-zlib
32632 all-stage3-zlib: configure-stage3-zlib
32633 @$(MAKE) stage3-start
32634 @r=`${PWD_COMMAND}`; export r; \
32635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32636 $(STAGE_HOST_EXPORTS) \
32638 $(MAKE) $(FLAGS_TO_PASS) \
32639 $(POSTSTAGE1_FLAGS_TO_PASS) \
32642 maybe-clean-stage3-zlib: clean-stage3-zlib
32644 @[ -f zlib/Makefile ] || [ -f stage3-zlib/Makefile ] \
32646 [ -f zlib/Makefile ] || $(MAKE) stage3-start ; \
32648 $(MAKE) $(FLAGS_TO_PASS) \
32649 $(POSTSTAGE1_FLAGS_TO_PASS) \
32651 @endif zlib-bootstrap
32655 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32656 # only possibility, but now it conflicts with no-bootstrap rules
32660 @if test -f stage2-lean; then \
32661 echo Cannot compare object files as stage 2 was deleted. ; \
32664 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
32665 @r=`${PWD_COMMAND}`; export r; \
32666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32667 rm -f .bad_compare ; \
32669 files=`find . -name "*$(objext)" -print` ; \
32671 for file in $${files} ; do \
32672 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
32673 @do_compare@ > /dev/null 2>&1; \
32674 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
32676 if [ -f .bad_compare ]; then \
32677 echo "Bootstrap comparison failure!"; \
32678 cat .bad_compare; \
32684 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
32689 bootstrap: stage3-bubble compare all
32692 # Rules to wipe a stage and all the following ones, also used for cleanstrap
32693 distclean-stage2:: distclean-stage3
32694 .PHONY: distclean-stage3
32696 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
32697 rm -rf stage3-* compare
32701 cleanstrap: distclean bootstrap
32703 @endif gcc-bootstrap
32706 .PHONY: stage4-start stage4-end
32709 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
32710 echo stage4 > stage_current ; \
32711 echo stage4 > stage_last
32713 @[ -d stage4-bfd ] || mkdir stage4-bfd; \
32714 set stage4-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
32715 set stage3-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
32718 @[ -d stage4-opcodes ] || mkdir stage4-opcodes; \
32719 set stage4-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
32720 set stage3-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
32723 @[ -d stage4-binutils ] || mkdir stage4-binutils; \
32724 set stage4-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
32725 set stage3-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
32728 @[ -d stage4-gas ] || mkdir stage4-gas; \
32729 set stage4-gas gas ; @CREATE_LINK_TO_DIR@ ; \
32730 set stage3-gas prev-gas ; @CREATE_LINK_TO_DIR@
32733 @[ -d stage4-gcc ] || mkdir stage4-gcc; \
32734 set stage4-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
32735 set stage3-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
32738 @[ -d stage4-intl ] || mkdir stage4-intl; \
32739 set stage4-intl intl ; @CREATE_LINK_TO_DIR@ ; \
32740 set stage3-intl prev-intl ; @CREATE_LINK_TO_DIR@
32743 @[ -d stage4-ld ] || mkdir stage4-ld; \
32744 set stage4-ld ld ; @CREATE_LINK_TO_DIR@ ; \
32745 set stage3-ld prev-ld ; @CREATE_LINK_TO_DIR@
32748 @[ -d stage4-libcpp ] || mkdir stage4-libcpp; \
32749 set stage4-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
32750 set stage3-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
32753 @[ -d stage4-libiberty ] || mkdir stage4-libiberty; \
32754 set stage4-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
32755 set stage3-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
32758 @[ -d stage4-zlib ] || mkdir stage4-zlib; \
32759 set stage4-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
32760 set stage3-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
32764 @rm -f stage_current
32766 @set bfd stage4-bfd ; @UNDO_LINK_TO_DIR@ ; \
32767 set prev-bfd stage3-bfd ; @UNDO_LINK_TO_DIR@
32770 @set opcodes stage4-opcodes ; @UNDO_LINK_TO_DIR@ ; \
32771 set prev-opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@
32774 @set binutils stage4-binutils ; @UNDO_LINK_TO_DIR@ ; \
32775 set prev-binutils stage3-binutils ; @UNDO_LINK_TO_DIR@
32778 @set gas stage4-gas ; @UNDO_LINK_TO_DIR@ ; \
32779 set prev-gas stage3-gas ; @UNDO_LINK_TO_DIR@
32782 @set gcc stage4-gcc ; @UNDO_LINK_TO_DIR@ ; \
32783 set prev-gcc stage3-gcc ; @UNDO_LINK_TO_DIR@
32786 @set intl stage4-intl ; @UNDO_LINK_TO_DIR@ ; \
32787 set prev-intl stage3-intl ; @UNDO_LINK_TO_DIR@
32790 @set ld stage4-ld ; @UNDO_LINK_TO_DIR@ ; \
32791 set prev-ld stage3-ld ; @UNDO_LINK_TO_DIR@
32794 @set libcpp stage4-libcpp ; @UNDO_LINK_TO_DIR@ ; \
32795 set prev-libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@
32798 @set libiberty stage4-libiberty ; @UNDO_LINK_TO_DIR@ ; \
32799 set prev-libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@
32802 @set zlib stage4-zlib ; @UNDO_LINK_TO_DIR@ ; \
32803 set prev-zlib stage3-zlib ; @UNDO_LINK_TO_DIR@
32806 # Bubble a bugfix through all the stages up to stage 4. They
32807 # are remade, but not reconfigured. The next stage (if any) will not
32808 # be reconfigured as well.
32809 .PHONY: stage4-bubble
32810 stage4-bubble:: stage3-bubble
32811 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
32812 @if test -f stage4-lean || test -f stage3-lean ; then \
32813 echo Skipping rebuild of stage4 ; \
32815 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage4; \
32818 .PHONY: all-stage4 clean-stage4
32820 maybe-all-stage4-bfd \
32821 maybe-all-stage4-opcodes \
32822 maybe-all-stage4-binutils \
32823 maybe-all-stage4-gas \
32824 maybe-all-stage4-gcc \
32825 maybe-all-stage4-intl \
32826 maybe-all-stage4-ld \
32827 maybe-all-stage4-libcpp \
32828 maybe-all-stage4-libiberty \
32829 maybe-all-stage4-zlib
32831 do-clean: clean-stage4
32833 maybe-clean-stage4-bfd \
32834 maybe-clean-stage4-opcodes \
32835 maybe-clean-stage4-binutils \
32836 maybe-clean-stage4-gas \
32837 maybe-clean-stage4-gcc \
32838 maybe-clean-stage4-intl \
32839 maybe-clean-stage4-ld \
32840 maybe-clean-stage4-libcpp \
32841 maybe-clean-stage4-libiberty \
32842 maybe-clean-stage4-zlib
32845 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
32846 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
32847 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
32849 maybe-configure-stage4-bfd:
32850 maybe-all-stage4-bfd:
32851 maybe-clean-stage4-bfd:
32854 maybe-configure-stage4-bfd: configure-stage4-bfd
32855 configure-stage4-bfd:
32856 @$(MAKE) stage4-start
32857 @[ -f bfd/Makefile ] && exit 0 || : ; \
32858 r=`${PWD_COMMAND}`; export r; \
32859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32860 $(STAGE_HOST_EXPORTS) \
32861 echo Configuring stage 4 in bfd ; \
32862 cd bfd || exit 1; \
32863 case $(srcdir) in \
32865 srcdiroption="--srcdir=."; \
32867 /* | [A-Za-z]:[\\/]*) \
32868 srcdiroption="--srcdir=$(srcdir)/bfd"; \
32869 libsrcdir="$$s/bfd";; \
32871 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
32872 libsrcdir="$$s/bfd";; \
32874 $(SHELL) $${libsrcdir}/configure \
32875 $(HOST_CONFIGARGS) $${srcdiroption} \
32876 @stage2_werror_flag@
32878 maybe-all-stage4-bfd: all-stage4-bfd
32879 all-stage4-bfd: configure-stage4-bfd
32880 @$(MAKE) stage4-start
32881 @r=`${PWD_COMMAND}`; export r; \
32882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32883 $(STAGE_HOST_EXPORTS) \
32885 $(MAKE) $(FLAGS_TO_PASS) \
32886 $(POSTSTAGE1_FLAGS_TO_PASS) \
32889 maybe-clean-stage4-bfd: clean-stage4-bfd
32891 @[ -f bfd/Makefile ] || [ -f stage4-bfd/Makefile ] \
32893 [ -f bfd/Makefile ] || $(MAKE) stage4-start ; \
32895 $(MAKE) $(FLAGS_TO_PASS) \
32896 $(POSTSTAGE1_FLAGS_TO_PASS) \
32898 @endif bfd-bootstrap
32901 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
32902 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
32903 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
32905 maybe-configure-stage4-opcodes:
32906 maybe-all-stage4-opcodes:
32907 maybe-clean-stage4-opcodes:
32909 @if opcodes-bootstrap
32910 maybe-configure-stage4-opcodes: configure-stage4-opcodes
32911 configure-stage4-opcodes:
32912 @$(MAKE) stage4-start
32913 @[ -f opcodes/Makefile ] && exit 0 || : ; \
32914 r=`${PWD_COMMAND}`; export r; \
32915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32916 $(STAGE_HOST_EXPORTS) \
32917 echo Configuring stage 4 in opcodes ; \
32918 cd opcodes || exit 1; \
32919 case $(srcdir) in \
32921 srcdiroption="--srcdir=."; \
32923 /* | [A-Za-z]:[\\/]*) \
32924 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
32925 libsrcdir="$$s/opcodes";; \
32927 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
32928 libsrcdir="$$s/opcodes";; \
32930 $(SHELL) $${libsrcdir}/configure \
32931 $(HOST_CONFIGARGS) $${srcdiroption} \
32932 @stage2_werror_flag@
32934 maybe-all-stage4-opcodes: all-stage4-opcodes
32935 all-stage4-opcodes: configure-stage4-opcodes
32936 @$(MAKE) stage4-start
32937 @r=`${PWD_COMMAND}`; export r; \
32938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32939 $(STAGE_HOST_EXPORTS) \
32941 $(MAKE) $(FLAGS_TO_PASS) \
32942 $(POSTSTAGE1_FLAGS_TO_PASS) \
32945 maybe-clean-stage4-opcodes: clean-stage4-opcodes
32946 clean-stage4-opcodes:
32947 @[ -f opcodes/Makefile ] || [ -f stage4-opcodes/Makefile ] \
32949 [ -f opcodes/Makefile ] || $(MAKE) stage4-start ; \
32951 $(MAKE) $(FLAGS_TO_PASS) \
32952 $(POSTSTAGE1_FLAGS_TO_PASS) \
32954 @endif opcodes-bootstrap
32957 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
32958 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
32959 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
32961 maybe-configure-stage4-binutils:
32962 maybe-all-stage4-binutils:
32963 maybe-clean-stage4-binutils:
32965 @if binutils-bootstrap
32966 maybe-configure-stage4-binutils: configure-stage4-binutils
32967 configure-stage4-binutils:
32968 @$(MAKE) stage4-start
32969 @[ -f binutils/Makefile ] && exit 0 || : ; \
32970 r=`${PWD_COMMAND}`; export r; \
32971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32972 $(STAGE_HOST_EXPORTS) \
32973 echo Configuring stage 4 in binutils ; \
32974 cd binutils || exit 1; \
32975 case $(srcdir) in \
32977 srcdiroption="--srcdir=."; \
32979 /* | [A-Za-z]:[\\/]*) \
32980 srcdiroption="--srcdir=$(srcdir)/binutils"; \
32981 libsrcdir="$$s/binutils";; \
32983 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
32984 libsrcdir="$$s/binutils";; \
32986 $(SHELL) $${libsrcdir}/configure \
32987 $(HOST_CONFIGARGS) $${srcdiroption} \
32988 @stage2_werror_flag@
32990 maybe-all-stage4-binutils: all-stage4-binutils
32991 all-stage4-binutils: configure-stage4-binutils
32992 @$(MAKE) stage4-start
32993 @r=`${PWD_COMMAND}`; export r; \
32994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32995 $(STAGE_HOST_EXPORTS) \
32997 $(MAKE) $(FLAGS_TO_PASS) \
32998 $(POSTSTAGE1_FLAGS_TO_PASS) \
33001 maybe-clean-stage4-binutils: clean-stage4-binutils
33002 clean-stage4-binutils:
33003 @[ -f binutils/Makefile ] || [ -f stage4-binutils/Makefile ] \
33005 [ -f binutils/Makefile ] || $(MAKE) stage4-start ; \
33007 $(MAKE) $(FLAGS_TO_PASS) \
33008 $(POSTSTAGE1_FLAGS_TO_PASS) \
33010 @endif binutils-bootstrap
33013 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
33014 .PHONY: all-stage4-gas maybe-all-stage4-gas
33015 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
33017 maybe-configure-stage4-gas:
33018 maybe-all-stage4-gas:
33019 maybe-clean-stage4-gas:
33022 maybe-configure-stage4-gas: configure-stage4-gas
33023 configure-stage4-gas:
33024 @$(MAKE) stage4-start
33025 @[ -f gas/Makefile ] && exit 0 || : ; \
33026 r=`${PWD_COMMAND}`; export r; \
33027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33028 $(STAGE_HOST_EXPORTS) \
33029 echo Configuring stage 4 in gas ; \
33030 cd gas || exit 1; \
33031 case $(srcdir) in \
33033 srcdiroption="--srcdir=."; \
33035 /* | [A-Za-z]:[\\/]*) \
33036 srcdiroption="--srcdir=$(srcdir)/gas"; \
33037 libsrcdir="$$s/gas";; \
33039 srcdiroption="--srcdir=../$(srcdir)/gas"; \
33040 libsrcdir="$$s/gas";; \
33042 $(SHELL) $${libsrcdir}/configure \
33043 $(HOST_CONFIGARGS) $${srcdiroption} \
33044 @stage2_werror_flag@
33046 maybe-all-stage4-gas: all-stage4-gas
33047 all-stage4-gas: configure-stage4-gas
33048 @$(MAKE) stage4-start
33049 @r=`${PWD_COMMAND}`; export r; \
33050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33051 $(STAGE_HOST_EXPORTS) \
33053 $(MAKE) $(FLAGS_TO_PASS) \
33054 $(POSTSTAGE1_FLAGS_TO_PASS) \
33057 maybe-clean-stage4-gas: clean-stage4-gas
33059 @[ -f gas/Makefile ] || [ -f stage4-gas/Makefile ] \
33061 [ -f gas/Makefile ] || $(MAKE) stage4-start ; \
33063 $(MAKE) $(FLAGS_TO_PASS) \
33064 $(POSTSTAGE1_FLAGS_TO_PASS) \
33066 @endif gas-bootstrap
33069 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
33070 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
33071 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
33073 maybe-configure-stage4-gcc:
33074 maybe-all-stage4-gcc:
33075 maybe-clean-stage4-gcc:
33078 maybe-configure-stage4-gcc: configure-stage4-gcc
33079 configure-stage4-gcc:
33080 @$(MAKE) stage4-start
33081 @[ -f gcc/Makefile ] && exit 0 || : ; \
33082 r=`${PWD_COMMAND}`; export r; \
33083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33084 $(STAGE_HOST_EXPORTS) \
33085 echo Configuring stage 4 in gcc ; \
33086 cd gcc || exit 1; \
33087 case $(srcdir) in \
33089 srcdiroption="--srcdir=."; \
33091 /* | [A-Za-z]:[\\/]*) \
33092 srcdiroption="--srcdir=$(srcdir)/gcc"; \
33093 libsrcdir="$$s/gcc";; \
33095 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
33096 libsrcdir="$$s/gcc";; \
33098 $(SHELL) $${libsrcdir}/configure \
33099 $(HOST_CONFIGARGS) $${srcdiroption} \
33100 @stage2_werror_flag@
33102 maybe-all-stage4-gcc: all-stage4-gcc
33103 all-stage4-gcc: configure-stage4-gcc
33104 @$(MAKE) stage4-start
33105 @r=`${PWD_COMMAND}`; export r; \
33106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33107 $(STAGE_HOST_EXPORTS) \
33109 $(MAKE) $(FLAGS_TO_PASS) \
33110 $(POSTSTAGE1_FLAGS_TO_PASS) \
33113 maybe-clean-stage4-gcc: clean-stage4-gcc
33115 @[ -f gcc/Makefile ] || [ -f stage4-gcc/Makefile ] \
33117 [ -f gcc/Makefile ] || $(MAKE) stage4-start ; \
33119 $(MAKE) $(FLAGS_TO_PASS) \
33120 $(POSTSTAGE1_FLAGS_TO_PASS) \
33121 $(EXTRA_GCC_FLAGS) clean
33122 @endif gcc-bootstrap
33125 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
33126 .PHONY: all-stage4-intl maybe-all-stage4-intl
33127 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
33129 maybe-configure-stage4-intl:
33130 maybe-all-stage4-intl:
33131 maybe-clean-stage4-intl:
33134 maybe-configure-stage4-intl: configure-stage4-intl
33135 configure-stage4-intl:
33136 @$(MAKE) stage4-start
33137 @[ -f intl/Makefile ] && exit 0 || : ; \
33138 r=`${PWD_COMMAND}`; export r; \
33139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33140 $(STAGE_HOST_EXPORTS) \
33141 echo Configuring stage 4 in intl ; \
33142 cd intl || exit 1; \
33143 case $(srcdir) in \
33145 srcdiroption="--srcdir=."; \
33147 /* | [A-Za-z]:[\\/]*) \
33148 srcdiroption="--srcdir=$(srcdir)/intl"; \
33149 libsrcdir="$$s/intl";; \
33151 srcdiroption="--srcdir=../$(srcdir)/intl"; \
33152 libsrcdir="$$s/intl";; \
33154 $(SHELL) $${libsrcdir}/configure \
33155 $(HOST_CONFIGARGS) $${srcdiroption} \
33156 @stage2_werror_flag@
33158 maybe-all-stage4-intl: all-stage4-intl
33159 all-stage4-intl: configure-stage4-intl
33160 @$(MAKE) stage4-start
33161 @r=`${PWD_COMMAND}`; export r; \
33162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33163 $(STAGE_HOST_EXPORTS) \
33165 $(MAKE) $(FLAGS_TO_PASS) \
33166 $(POSTSTAGE1_FLAGS_TO_PASS) \
33169 maybe-clean-stage4-intl: clean-stage4-intl
33171 @[ -f intl/Makefile ] || [ -f stage4-intl/Makefile ] \
33173 [ -f intl/Makefile ] || $(MAKE) stage4-start ; \
33175 $(MAKE) $(FLAGS_TO_PASS) \
33176 $(POSTSTAGE1_FLAGS_TO_PASS) \
33178 @endif intl-bootstrap
33181 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
33182 .PHONY: all-stage4-ld maybe-all-stage4-ld
33183 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
33185 maybe-configure-stage4-ld:
33186 maybe-all-stage4-ld:
33187 maybe-clean-stage4-ld:
33190 maybe-configure-stage4-ld: configure-stage4-ld
33191 configure-stage4-ld:
33192 @$(MAKE) stage4-start
33193 @[ -f ld/Makefile ] && exit 0 || : ; \
33194 r=`${PWD_COMMAND}`; export r; \
33195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33196 $(STAGE_HOST_EXPORTS) \
33197 echo Configuring stage 4 in ld ; \
33199 case $(srcdir) in \
33201 srcdiroption="--srcdir=."; \
33203 /* | [A-Za-z]:[\\/]*) \
33204 srcdiroption="--srcdir=$(srcdir)/ld"; \
33205 libsrcdir="$$s/ld";; \
33207 srcdiroption="--srcdir=../$(srcdir)/ld"; \
33208 libsrcdir="$$s/ld";; \
33210 $(SHELL) $${libsrcdir}/configure \
33211 $(HOST_CONFIGARGS) $${srcdiroption} \
33212 @stage2_werror_flag@
33214 maybe-all-stage4-ld: all-stage4-ld
33215 all-stage4-ld: configure-stage4-ld
33216 @$(MAKE) stage4-start
33217 @r=`${PWD_COMMAND}`; export r; \
33218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33219 $(STAGE_HOST_EXPORTS) \
33221 $(MAKE) $(FLAGS_TO_PASS) \
33222 $(POSTSTAGE1_FLAGS_TO_PASS) \
33225 maybe-clean-stage4-ld: clean-stage4-ld
33227 @[ -f ld/Makefile ] || [ -f stage4-ld/Makefile ] \
33229 [ -f ld/Makefile ] || $(MAKE) stage4-start ; \
33231 $(MAKE) $(FLAGS_TO_PASS) \
33232 $(POSTSTAGE1_FLAGS_TO_PASS) \
33234 @endif ld-bootstrap
33237 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
33238 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
33239 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
33241 maybe-configure-stage4-libcpp:
33242 maybe-all-stage4-libcpp:
33243 maybe-clean-stage4-libcpp:
33245 @if libcpp-bootstrap
33246 maybe-configure-stage4-libcpp: configure-stage4-libcpp
33247 configure-stage4-libcpp:
33248 @$(MAKE) stage4-start
33249 @[ -f libcpp/Makefile ] && exit 0 || : ; \
33250 r=`${PWD_COMMAND}`; export r; \
33251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33252 $(STAGE_HOST_EXPORTS) \
33253 echo Configuring stage 4 in libcpp ; \
33254 cd libcpp || exit 1; \
33255 case $(srcdir) in \
33257 srcdiroption="--srcdir=."; \
33259 /* | [A-Za-z]:[\\/]*) \
33260 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
33261 libsrcdir="$$s/libcpp";; \
33263 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
33264 libsrcdir="$$s/libcpp";; \
33266 $(SHELL) $${libsrcdir}/configure \
33267 $(HOST_CONFIGARGS) $${srcdiroption} \
33268 @stage2_werror_flag@
33270 maybe-all-stage4-libcpp: all-stage4-libcpp
33271 all-stage4-libcpp: configure-stage4-libcpp
33272 @$(MAKE) stage4-start
33273 @r=`${PWD_COMMAND}`; export r; \
33274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33275 $(STAGE_HOST_EXPORTS) \
33277 $(MAKE) $(FLAGS_TO_PASS) \
33278 $(POSTSTAGE1_FLAGS_TO_PASS) \
33281 maybe-clean-stage4-libcpp: clean-stage4-libcpp
33282 clean-stage4-libcpp:
33283 @[ -f libcpp/Makefile ] || [ -f stage4-libcpp/Makefile ] \
33285 [ -f libcpp/Makefile ] || $(MAKE) stage4-start ; \
33287 $(MAKE) $(FLAGS_TO_PASS) \
33288 $(POSTSTAGE1_FLAGS_TO_PASS) \
33290 @endif libcpp-bootstrap
33293 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
33294 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
33295 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
33297 maybe-configure-stage4-libiberty:
33298 maybe-all-stage4-libiberty:
33299 maybe-clean-stage4-libiberty:
33301 @if libiberty-bootstrap
33302 maybe-configure-stage4-libiberty: configure-stage4-libiberty
33303 configure-stage4-libiberty:
33304 @$(MAKE) stage4-start
33305 @[ -f libiberty/Makefile ] && exit 0 || : ; \
33306 r=`${PWD_COMMAND}`; export r; \
33307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33308 $(STAGE_HOST_EXPORTS) \
33309 echo Configuring stage 4 in libiberty ; \
33310 cd libiberty || exit 1; \
33311 case $(srcdir) in \
33313 srcdiroption="--srcdir=."; \
33315 /* | [A-Za-z]:[\\/]*) \
33316 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
33317 libsrcdir="$$s/libiberty";; \
33319 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
33320 libsrcdir="$$s/libiberty";; \
33322 $(SHELL) $${libsrcdir}/configure \
33323 $(HOST_CONFIGARGS) $${srcdiroption} \
33324 @stage2_werror_flag@
33326 maybe-all-stage4-libiberty: all-stage4-libiberty
33327 all-stage4-libiberty: configure-stage4-libiberty
33328 @$(MAKE) stage4-start
33329 @r=`${PWD_COMMAND}`; export r; \
33330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33331 $(STAGE_HOST_EXPORTS) \
33333 $(MAKE) $(FLAGS_TO_PASS) \
33334 $(POSTSTAGE1_FLAGS_TO_PASS) \
33337 maybe-clean-stage4-libiberty: clean-stage4-libiberty
33338 clean-stage4-libiberty:
33339 @[ -f libiberty/Makefile ] || [ -f stage4-libiberty/Makefile ] \
33341 [ -f libiberty/Makefile ] || $(MAKE) stage4-start ; \
33343 $(MAKE) $(FLAGS_TO_PASS) \
33344 $(POSTSTAGE1_FLAGS_TO_PASS) \
33346 @endif libiberty-bootstrap
33349 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
33350 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
33351 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
33353 maybe-configure-stage4-zlib:
33354 maybe-all-stage4-zlib:
33355 maybe-clean-stage4-zlib:
33358 maybe-configure-stage4-zlib: configure-stage4-zlib
33359 configure-stage4-zlib:
33360 @$(MAKE) stage4-start
33361 @[ -f zlib/Makefile ] && exit 0 || : ; \
33362 r=`${PWD_COMMAND}`; export r; \
33363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33364 $(STAGE_HOST_EXPORTS) \
33365 echo Configuring stage 4 in zlib ; \
33366 cd zlib || exit 1; \
33367 case $(srcdir) in \
33369 srcdiroption="--srcdir=."; \
33371 /* | [A-Za-z]:[\\/]*) \
33372 srcdiroption="--srcdir=$(srcdir)/zlib"; \
33373 libsrcdir="$$s/zlib";; \
33375 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
33376 libsrcdir="$$s/zlib";; \
33378 $(SHELL) $${libsrcdir}/configure \
33379 $(HOST_CONFIGARGS) $${srcdiroption} \
33380 @stage2_werror_flag@
33382 maybe-all-stage4-zlib: all-stage4-zlib
33383 all-stage4-zlib: configure-stage4-zlib
33384 @$(MAKE) stage4-start
33385 @r=`${PWD_COMMAND}`; export r; \
33386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33387 $(STAGE_HOST_EXPORTS) \
33389 $(MAKE) $(FLAGS_TO_PASS) \
33390 $(POSTSTAGE1_FLAGS_TO_PASS) \
33393 maybe-clean-stage4-zlib: clean-stage4-zlib
33395 @[ -f zlib/Makefile ] || [ -f stage4-zlib/Makefile ] \
33397 [ -f zlib/Makefile ] || $(MAKE) stage4-start ; \
33399 $(MAKE) $(FLAGS_TO_PASS) \
33400 $(POSTSTAGE1_FLAGS_TO_PASS) \
33402 @endif zlib-bootstrap
33406 # FIXME: Will not need to be conditional when toplevel bootstrap is the
33407 # only possibility, but now it conflicts with no-bootstrap rules
33411 @if test -f stage3-lean; then \
33412 echo Cannot compare object files as stage 3 was deleted. ; \
33415 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33416 @r=`${PWD_COMMAND}`; export r; \
33417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33418 rm -f .bad_compare ; \
33420 files=`find . -name "*$(objext)" -print` ; \
33422 for file in $${files} ; do \
33423 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
33424 @do_compare@ > /dev/null 2>&1; \
33425 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
33427 if [ -f .bad_compare ]; then \
33428 echo "Bootstrap comparison failure!"; \
33429 cat .bad_compare; \
33435 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
33440 bootstrap4: stage4-bubble compare3 all
33443 # Rules to wipe a stage and all the following ones, also used for cleanstrap
33444 distclean-stage3:: distclean-stage4
33445 .PHONY: distclean-stage4
33447 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
33448 rm -rf stage4-* compare3
33451 @endif gcc-bootstrap
33454 .PHONY: stageprofile-start stageprofile-end
33456 stageprofile-start::
33457 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33458 echo stageprofile > stage_current ; \
33459 echo stageprofile > stage_last
33461 @[ -d stageprofile-bfd ] || mkdir stageprofile-bfd; \
33462 set stageprofile-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
33463 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
33466 @[ -d stageprofile-opcodes ] || mkdir stageprofile-opcodes; \
33467 set stageprofile-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
33468 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
33471 @[ -d stageprofile-binutils ] || mkdir stageprofile-binutils; \
33472 set stageprofile-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
33473 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
33476 @[ -d stageprofile-gas ] || mkdir stageprofile-gas; \
33477 set stageprofile-gas gas ; @CREATE_LINK_TO_DIR@ ; \
33478 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
33481 @[ -d stageprofile-gcc ] || mkdir stageprofile-gcc; \
33482 set stageprofile-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
33483 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
33486 @[ -d stageprofile-intl ] || mkdir stageprofile-intl; \
33487 set stageprofile-intl intl ; @CREATE_LINK_TO_DIR@ ; \
33488 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
33491 @[ -d stageprofile-ld ] || mkdir stageprofile-ld; \
33492 set stageprofile-ld ld ; @CREATE_LINK_TO_DIR@ ; \
33493 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
33496 @[ -d stageprofile-libcpp ] || mkdir stageprofile-libcpp; \
33497 set stageprofile-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
33498 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
33501 @[ -d stageprofile-libiberty ] || mkdir stageprofile-libiberty; \
33502 set stageprofile-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
33503 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
33506 @[ -d stageprofile-zlib ] || mkdir stageprofile-zlib; \
33507 set stageprofile-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
33508 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
33512 @rm -f stage_current
33514 @set bfd stageprofile-bfd ; @UNDO_LINK_TO_DIR@ ; \
33515 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
33518 @set opcodes stageprofile-opcodes ; @UNDO_LINK_TO_DIR@ ; \
33519 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
33522 @set binutils stageprofile-binutils ; @UNDO_LINK_TO_DIR@ ; \
33523 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
33526 @set gas stageprofile-gas ; @UNDO_LINK_TO_DIR@ ; \
33527 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
33530 @set gcc stageprofile-gcc ; @UNDO_LINK_TO_DIR@ ; \
33531 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
33534 @set intl stageprofile-intl ; @UNDO_LINK_TO_DIR@ ; \
33535 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
33538 @set ld stageprofile-ld ; @UNDO_LINK_TO_DIR@ ; \
33539 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
33542 @set libcpp stageprofile-libcpp ; @UNDO_LINK_TO_DIR@ ; \
33543 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
33546 @set libiberty stageprofile-libiberty ; @UNDO_LINK_TO_DIR@ ; \
33547 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
33550 @set zlib stageprofile-zlib ; @UNDO_LINK_TO_DIR@ ; \
33551 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
33554 # Bubble a bugfix through all the stages up to stage profile. They
33555 # are remade, but not reconfigured. The next stage (if any) will not
33556 # be reconfigured as well.
33557 .PHONY: stageprofile-bubble
33558 stageprofile-bubble:: stage1-bubble
33559 @if test -f stageprofile-lean || test -f stage1-lean ; then \
33560 echo Skipping rebuild of stageprofile ; \
33562 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stageprofile; \
33565 .PHONY: all-stageprofile clean-stageprofile
33566 all-stageprofile: \
33567 maybe-all-stageprofile-bfd \
33568 maybe-all-stageprofile-opcodes \
33569 maybe-all-stageprofile-binutils \
33570 maybe-all-stageprofile-gas \
33571 maybe-all-stageprofile-gcc \
33572 maybe-all-stageprofile-intl \
33573 maybe-all-stageprofile-ld \
33574 maybe-all-stageprofile-libcpp \
33575 maybe-all-stageprofile-libiberty \
33576 maybe-all-stageprofile-zlib
33578 do-clean: clean-stageprofile
33579 clean-stageprofile: \
33580 maybe-clean-stageprofile-bfd \
33581 maybe-clean-stageprofile-opcodes \
33582 maybe-clean-stageprofile-binutils \
33583 maybe-clean-stageprofile-gas \
33584 maybe-clean-stageprofile-gcc \
33585 maybe-clean-stageprofile-intl \
33586 maybe-clean-stageprofile-ld \
33587 maybe-clean-stageprofile-libcpp \
33588 maybe-clean-stageprofile-libiberty \
33589 maybe-clean-stageprofile-zlib
33592 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
33593 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
33594 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
33596 maybe-configure-stageprofile-bfd:
33597 maybe-all-stageprofile-bfd:
33598 maybe-clean-stageprofile-bfd:
33601 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
33602 configure-stageprofile-bfd:
33603 @$(MAKE) stageprofile-start
33604 @[ -f bfd/Makefile ] && exit 0 || : ; \
33605 r=`${PWD_COMMAND}`; export r; \
33606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33607 $(STAGE_HOST_EXPORTS) \
33608 echo Configuring stage profile in bfd ; \
33609 cd bfd || exit 1; \
33610 case $(srcdir) in \
33612 srcdiroption="--srcdir=."; \
33614 /* | [A-Za-z]:[\\/]*) \
33615 srcdiroption="--srcdir=$(srcdir)/bfd"; \
33616 libsrcdir="$$s/bfd";; \
33618 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
33619 libsrcdir="$$s/bfd";; \
33621 $(SHELL) $${libsrcdir}/configure \
33622 $(HOST_CONFIGARGS) $${srcdiroption} \
33623 @stage2_werror_flag@
33625 maybe-all-stageprofile-bfd: all-stageprofile-bfd
33626 all-stageprofile-bfd: configure-stageprofile-bfd
33627 @$(MAKE) stageprofile-start
33628 @r=`${PWD_COMMAND}`; export r; \
33629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33630 $(STAGE_HOST_EXPORTS) \
33632 $(MAKE) $(FLAGS_TO_PASS) \
33633 $(POSTSTAGE1_FLAGS_TO_PASS) \
33634 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33636 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
33637 clean-stageprofile-bfd:
33638 @[ -f bfd/Makefile ] || [ -f stageprofile-bfd/Makefile ] \
33640 [ -f bfd/Makefile ] || $(MAKE) stageprofile-start ; \
33642 $(MAKE) $(FLAGS_TO_PASS) \
33643 $(POSTSTAGE1_FLAGS_TO_PASS) \
33644 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33645 @endif bfd-bootstrap
33648 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
33649 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
33650 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
33652 maybe-configure-stageprofile-opcodes:
33653 maybe-all-stageprofile-opcodes:
33654 maybe-clean-stageprofile-opcodes:
33656 @if opcodes-bootstrap
33657 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
33658 configure-stageprofile-opcodes:
33659 @$(MAKE) stageprofile-start
33660 @[ -f opcodes/Makefile ] && exit 0 || : ; \
33661 r=`${PWD_COMMAND}`; export r; \
33662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33663 $(STAGE_HOST_EXPORTS) \
33664 echo Configuring stage profile in opcodes ; \
33665 cd opcodes || exit 1; \
33666 case $(srcdir) in \
33668 srcdiroption="--srcdir=."; \
33670 /* | [A-Za-z]:[\\/]*) \
33671 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
33672 libsrcdir="$$s/opcodes";; \
33674 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
33675 libsrcdir="$$s/opcodes";; \
33677 $(SHELL) $${libsrcdir}/configure \
33678 $(HOST_CONFIGARGS) $${srcdiroption} \
33679 @stage2_werror_flag@
33681 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
33682 all-stageprofile-opcodes: configure-stageprofile-opcodes
33683 @$(MAKE) stageprofile-start
33684 @r=`${PWD_COMMAND}`; export r; \
33685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33686 $(STAGE_HOST_EXPORTS) \
33688 $(MAKE) $(FLAGS_TO_PASS) \
33689 $(POSTSTAGE1_FLAGS_TO_PASS) \
33690 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33692 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
33693 clean-stageprofile-opcodes:
33694 @[ -f opcodes/Makefile ] || [ -f stageprofile-opcodes/Makefile ] \
33696 [ -f opcodes/Makefile ] || $(MAKE) stageprofile-start ; \
33698 $(MAKE) $(FLAGS_TO_PASS) \
33699 $(POSTSTAGE1_FLAGS_TO_PASS) \
33700 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33701 @endif opcodes-bootstrap
33704 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
33705 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
33706 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
33708 maybe-configure-stageprofile-binutils:
33709 maybe-all-stageprofile-binutils:
33710 maybe-clean-stageprofile-binutils:
33712 @if binutils-bootstrap
33713 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
33714 configure-stageprofile-binutils:
33715 @$(MAKE) stageprofile-start
33716 @[ -f binutils/Makefile ] && exit 0 || : ; \
33717 r=`${PWD_COMMAND}`; export r; \
33718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33719 $(STAGE_HOST_EXPORTS) \
33720 echo Configuring stage profile in binutils ; \
33721 cd binutils || exit 1; \
33722 case $(srcdir) in \
33724 srcdiroption="--srcdir=."; \
33726 /* | [A-Za-z]:[\\/]*) \
33727 srcdiroption="--srcdir=$(srcdir)/binutils"; \
33728 libsrcdir="$$s/binutils";; \
33730 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
33731 libsrcdir="$$s/binutils";; \
33733 $(SHELL) $${libsrcdir}/configure \
33734 $(HOST_CONFIGARGS) $${srcdiroption} \
33735 @stage2_werror_flag@
33737 maybe-all-stageprofile-binutils: all-stageprofile-binutils
33738 all-stageprofile-binutils: configure-stageprofile-binutils
33739 @$(MAKE) stageprofile-start
33740 @r=`${PWD_COMMAND}`; export r; \
33741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33742 $(STAGE_HOST_EXPORTS) \
33744 $(MAKE) $(FLAGS_TO_PASS) \
33745 $(POSTSTAGE1_FLAGS_TO_PASS) \
33746 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33748 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
33749 clean-stageprofile-binutils:
33750 @[ -f binutils/Makefile ] || [ -f stageprofile-binutils/Makefile ] \
33752 [ -f binutils/Makefile ] || $(MAKE) stageprofile-start ; \
33754 $(MAKE) $(FLAGS_TO_PASS) \
33755 $(POSTSTAGE1_FLAGS_TO_PASS) \
33756 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33757 @endif binutils-bootstrap
33760 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
33761 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
33762 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
33764 maybe-configure-stageprofile-gas:
33765 maybe-all-stageprofile-gas:
33766 maybe-clean-stageprofile-gas:
33769 maybe-configure-stageprofile-gas: configure-stageprofile-gas
33770 configure-stageprofile-gas:
33771 @$(MAKE) stageprofile-start
33772 @[ -f gas/Makefile ] && exit 0 || : ; \
33773 r=`${PWD_COMMAND}`; export r; \
33774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33775 $(STAGE_HOST_EXPORTS) \
33776 echo Configuring stage profile in gas ; \
33777 cd gas || exit 1; \
33778 case $(srcdir) in \
33780 srcdiroption="--srcdir=."; \
33782 /* | [A-Za-z]:[\\/]*) \
33783 srcdiroption="--srcdir=$(srcdir)/gas"; \
33784 libsrcdir="$$s/gas";; \
33786 srcdiroption="--srcdir=../$(srcdir)/gas"; \
33787 libsrcdir="$$s/gas";; \
33789 $(SHELL) $${libsrcdir}/configure \
33790 $(HOST_CONFIGARGS) $${srcdiroption} \
33791 @stage2_werror_flag@
33793 maybe-all-stageprofile-gas: all-stageprofile-gas
33794 all-stageprofile-gas: configure-stageprofile-gas
33795 @$(MAKE) stageprofile-start
33796 @r=`${PWD_COMMAND}`; export r; \
33797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33798 $(STAGE_HOST_EXPORTS) \
33800 $(MAKE) $(FLAGS_TO_PASS) \
33801 $(POSTSTAGE1_FLAGS_TO_PASS) \
33802 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33804 maybe-clean-stageprofile-gas: clean-stageprofile-gas
33805 clean-stageprofile-gas:
33806 @[ -f gas/Makefile ] || [ -f stageprofile-gas/Makefile ] \
33808 [ -f gas/Makefile ] || $(MAKE) stageprofile-start ; \
33810 $(MAKE) $(FLAGS_TO_PASS) \
33811 $(POSTSTAGE1_FLAGS_TO_PASS) \
33812 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33813 @endif gas-bootstrap
33816 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
33817 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
33818 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
33820 maybe-configure-stageprofile-gcc:
33821 maybe-all-stageprofile-gcc:
33822 maybe-clean-stageprofile-gcc:
33825 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
33826 configure-stageprofile-gcc:
33827 @$(MAKE) stageprofile-start
33828 @[ -f gcc/Makefile ] && exit 0 || : ; \
33829 r=`${PWD_COMMAND}`; export r; \
33830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33831 $(STAGE_HOST_EXPORTS) \
33832 echo Configuring stage profile in gcc ; \
33833 cd gcc || exit 1; \
33834 case $(srcdir) in \
33836 srcdiroption="--srcdir=."; \
33838 /* | [A-Za-z]:[\\/]*) \
33839 srcdiroption="--srcdir=$(srcdir)/gcc"; \
33840 libsrcdir="$$s/gcc";; \
33842 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
33843 libsrcdir="$$s/gcc";; \
33845 $(SHELL) $${libsrcdir}/configure \
33846 $(HOST_CONFIGARGS) $${srcdiroption} \
33847 @stage2_werror_flag@
33849 maybe-all-stageprofile-gcc: all-stageprofile-gcc
33850 all-stageprofile-gcc: configure-stageprofile-gcc
33851 @$(MAKE) stageprofile-start
33852 @r=`${PWD_COMMAND}`; export r; \
33853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33854 $(STAGE_HOST_EXPORTS) \
33856 $(MAKE) $(FLAGS_TO_PASS) \
33857 $(POSTSTAGE1_FLAGS_TO_PASS) \
33858 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS)
33860 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
33861 clean-stageprofile-gcc:
33862 @[ -f gcc/Makefile ] || [ -f stageprofile-gcc/Makefile ] \
33864 [ -f gcc/Makefile ] || $(MAKE) stageprofile-start ; \
33866 $(MAKE) $(FLAGS_TO_PASS) \
33867 $(POSTSTAGE1_FLAGS_TO_PASS) \
33868 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
33869 @endif gcc-bootstrap
33872 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
33873 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
33874 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
33876 maybe-configure-stageprofile-intl:
33877 maybe-all-stageprofile-intl:
33878 maybe-clean-stageprofile-intl:
33881 maybe-configure-stageprofile-intl: configure-stageprofile-intl
33882 configure-stageprofile-intl:
33883 @$(MAKE) stageprofile-start
33884 @[ -f intl/Makefile ] && exit 0 || : ; \
33885 r=`${PWD_COMMAND}`; export r; \
33886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33887 $(STAGE_HOST_EXPORTS) \
33888 echo Configuring stage profile in intl ; \
33889 cd intl || exit 1; \
33890 case $(srcdir) in \
33892 srcdiroption="--srcdir=."; \
33894 /* | [A-Za-z]:[\\/]*) \
33895 srcdiroption="--srcdir=$(srcdir)/intl"; \
33896 libsrcdir="$$s/intl";; \
33898 srcdiroption="--srcdir=../$(srcdir)/intl"; \
33899 libsrcdir="$$s/intl";; \
33901 $(SHELL) $${libsrcdir}/configure \
33902 $(HOST_CONFIGARGS) $${srcdiroption} \
33903 @stage2_werror_flag@
33905 maybe-all-stageprofile-intl: all-stageprofile-intl
33906 all-stageprofile-intl: configure-stageprofile-intl
33907 @$(MAKE) stageprofile-start
33908 @r=`${PWD_COMMAND}`; export r; \
33909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33910 $(STAGE_HOST_EXPORTS) \
33912 $(MAKE) $(FLAGS_TO_PASS) \
33913 $(POSTSTAGE1_FLAGS_TO_PASS) \
33914 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33916 maybe-clean-stageprofile-intl: clean-stageprofile-intl
33917 clean-stageprofile-intl:
33918 @[ -f intl/Makefile ] || [ -f stageprofile-intl/Makefile ] \
33920 [ -f intl/Makefile ] || $(MAKE) stageprofile-start ; \
33922 $(MAKE) $(FLAGS_TO_PASS) \
33923 $(POSTSTAGE1_FLAGS_TO_PASS) \
33924 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33925 @endif intl-bootstrap
33928 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
33929 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
33930 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
33932 maybe-configure-stageprofile-ld:
33933 maybe-all-stageprofile-ld:
33934 maybe-clean-stageprofile-ld:
33937 maybe-configure-stageprofile-ld: configure-stageprofile-ld
33938 configure-stageprofile-ld:
33939 @$(MAKE) stageprofile-start
33940 @[ -f ld/Makefile ] && exit 0 || : ; \
33941 r=`${PWD_COMMAND}`; export r; \
33942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33943 $(STAGE_HOST_EXPORTS) \
33944 echo Configuring stage profile in ld ; \
33946 case $(srcdir) in \
33948 srcdiroption="--srcdir=."; \
33950 /* | [A-Za-z]:[\\/]*) \
33951 srcdiroption="--srcdir=$(srcdir)/ld"; \
33952 libsrcdir="$$s/ld";; \
33954 srcdiroption="--srcdir=../$(srcdir)/ld"; \
33955 libsrcdir="$$s/ld";; \
33957 $(SHELL) $${libsrcdir}/configure \
33958 $(HOST_CONFIGARGS) $${srcdiroption} \
33959 @stage2_werror_flag@
33961 maybe-all-stageprofile-ld: all-stageprofile-ld
33962 all-stageprofile-ld: configure-stageprofile-ld
33963 @$(MAKE) stageprofile-start
33964 @r=`${PWD_COMMAND}`; export r; \
33965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33966 $(STAGE_HOST_EXPORTS) \
33968 $(MAKE) $(FLAGS_TO_PASS) \
33969 $(POSTSTAGE1_FLAGS_TO_PASS) \
33970 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33972 maybe-clean-stageprofile-ld: clean-stageprofile-ld
33973 clean-stageprofile-ld:
33974 @[ -f ld/Makefile ] || [ -f stageprofile-ld/Makefile ] \
33976 [ -f ld/Makefile ] || $(MAKE) stageprofile-start ; \
33978 $(MAKE) $(FLAGS_TO_PASS) \
33979 $(POSTSTAGE1_FLAGS_TO_PASS) \
33980 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33981 @endif ld-bootstrap
33984 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
33985 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
33986 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
33988 maybe-configure-stageprofile-libcpp:
33989 maybe-all-stageprofile-libcpp:
33990 maybe-clean-stageprofile-libcpp:
33992 @if libcpp-bootstrap
33993 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
33994 configure-stageprofile-libcpp:
33995 @$(MAKE) stageprofile-start
33996 @[ -f libcpp/Makefile ] && exit 0 || : ; \
33997 r=`${PWD_COMMAND}`; export r; \
33998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33999 $(STAGE_HOST_EXPORTS) \
34000 echo Configuring stage profile in libcpp ; \
34001 cd libcpp || exit 1; \
34002 case $(srcdir) in \
34004 srcdiroption="--srcdir=."; \
34006 /* | [A-Za-z]:[\\/]*) \
34007 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
34008 libsrcdir="$$s/libcpp";; \
34010 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
34011 libsrcdir="$$s/libcpp";; \
34013 $(SHELL) $${libsrcdir}/configure \
34014 $(HOST_CONFIGARGS) $${srcdiroption} \
34015 @stage2_werror_flag@
34017 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
34018 all-stageprofile-libcpp: configure-stageprofile-libcpp
34019 @$(MAKE) stageprofile-start
34020 @r=`${PWD_COMMAND}`; export r; \
34021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34022 $(STAGE_HOST_EXPORTS) \
34024 $(MAKE) $(FLAGS_TO_PASS) \
34025 $(POSTSTAGE1_FLAGS_TO_PASS) \
34026 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34028 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
34029 clean-stageprofile-libcpp:
34030 @[ -f libcpp/Makefile ] || [ -f stageprofile-libcpp/Makefile ] \
34032 [ -f libcpp/Makefile ] || $(MAKE) stageprofile-start ; \
34034 $(MAKE) $(FLAGS_TO_PASS) \
34035 $(POSTSTAGE1_FLAGS_TO_PASS) \
34036 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34037 @endif libcpp-bootstrap
34040 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
34041 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
34042 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
34044 maybe-configure-stageprofile-libiberty:
34045 maybe-all-stageprofile-libiberty:
34046 maybe-clean-stageprofile-libiberty:
34048 @if libiberty-bootstrap
34049 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
34050 configure-stageprofile-libiberty:
34051 @$(MAKE) stageprofile-start
34052 @[ -f libiberty/Makefile ] && exit 0 || : ; \
34053 r=`${PWD_COMMAND}`; export r; \
34054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34055 $(STAGE_HOST_EXPORTS) \
34056 echo Configuring stage profile in libiberty ; \
34057 cd libiberty || exit 1; \
34058 case $(srcdir) in \
34060 srcdiroption="--srcdir=."; \
34062 /* | [A-Za-z]:[\\/]*) \
34063 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
34064 libsrcdir="$$s/libiberty";; \
34066 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
34067 libsrcdir="$$s/libiberty";; \
34069 $(SHELL) $${libsrcdir}/configure \
34070 $(HOST_CONFIGARGS) $${srcdiroption} \
34071 @stage2_werror_flag@
34073 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
34074 all-stageprofile-libiberty: configure-stageprofile-libiberty
34075 @$(MAKE) stageprofile-start
34076 @r=`${PWD_COMMAND}`; export r; \
34077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34078 $(STAGE_HOST_EXPORTS) \
34080 $(MAKE) $(FLAGS_TO_PASS) \
34081 $(POSTSTAGE1_FLAGS_TO_PASS) \
34082 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34084 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
34085 clean-stageprofile-libiberty:
34086 @[ -f libiberty/Makefile ] || [ -f stageprofile-libiberty/Makefile ] \
34088 [ -f libiberty/Makefile ] || $(MAKE) stageprofile-start ; \
34090 $(MAKE) $(FLAGS_TO_PASS) \
34091 $(POSTSTAGE1_FLAGS_TO_PASS) \
34092 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34093 @endif libiberty-bootstrap
34096 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
34097 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
34098 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
34100 maybe-configure-stageprofile-zlib:
34101 maybe-all-stageprofile-zlib:
34102 maybe-clean-stageprofile-zlib:
34105 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
34106 configure-stageprofile-zlib:
34107 @$(MAKE) stageprofile-start
34108 @[ -f zlib/Makefile ] && exit 0 || : ; \
34109 r=`${PWD_COMMAND}`; export r; \
34110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34111 $(STAGE_HOST_EXPORTS) \
34112 echo Configuring stage profile in zlib ; \
34113 cd zlib || exit 1; \
34114 case $(srcdir) in \
34116 srcdiroption="--srcdir=."; \
34118 /* | [A-Za-z]:[\\/]*) \
34119 srcdiroption="--srcdir=$(srcdir)/zlib"; \
34120 libsrcdir="$$s/zlib";; \
34122 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
34123 libsrcdir="$$s/zlib";; \
34125 $(SHELL) $${libsrcdir}/configure \
34126 $(HOST_CONFIGARGS) $${srcdiroption} \
34127 @stage2_werror_flag@
34129 maybe-all-stageprofile-zlib: all-stageprofile-zlib
34130 all-stageprofile-zlib: configure-stageprofile-zlib
34131 @$(MAKE) stageprofile-start
34132 @r=`${PWD_COMMAND}`; export r; \
34133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34134 $(STAGE_HOST_EXPORTS) \
34136 $(MAKE) $(FLAGS_TO_PASS) \
34137 $(POSTSTAGE1_FLAGS_TO_PASS) \
34138 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34140 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
34141 clean-stageprofile-zlib:
34142 @[ -f zlib/Makefile ] || [ -f stageprofile-zlib/Makefile ] \
34144 [ -f zlib/Makefile ] || $(MAKE) stageprofile-start ; \
34146 $(MAKE) $(FLAGS_TO_PASS) \
34147 $(POSTSTAGE1_FLAGS_TO_PASS) \
34148 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34149 @endif zlib-bootstrap
34153 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34154 # only possibility, but now it conflicts with no-bootstrap rules
34160 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34161 distclean-stage1:: distclean-stageprofile
34162 .PHONY: distclean-stageprofile
34163 distclean-stageprofile::
34164 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34165 rm -rf stageprofile-*
34168 @endif gcc-bootstrap
34171 .PHONY: stagefeedback-start stagefeedback-end
34173 stagefeedback-start::
34174 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34175 echo stagefeedback > stage_current ; \
34176 echo stagefeedback > stage_last
34178 @[ -d stagefeedback-bfd ] || mkdir stagefeedback-bfd; \
34179 set stagefeedback-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
34180 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
34183 @[ -d stagefeedback-opcodes ] || mkdir stagefeedback-opcodes; \
34184 set stagefeedback-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
34185 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
34188 @[ -d stagefeedback-binutils ] || mkdir stagefeedback-binutils; \
34189 set stagefeedback-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
34190 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
34193 @[ -d stagefeedback-gas ] || mkdir stagefeedback-gas; \
34194 set stagefeedback-gas gas ; @CREATE_LINK_TO_DIR@ ; \
34195 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
34198 @[ -d stagefeedback-gcc ] || mkdir stagefeedback-gcc; \
34199 set stagefeedback-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
34200 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
34203 @[ -d stagefeedback-intl ] || mkdir stagefeedback-intl; \
34204 set stagefeedback-intl intl ; @CREATE_LINK_TO_DIR@ ; \
34205 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
34208 @[ -d stagefeedback-ld ] || mkdir stagefeedback-ld; \
34209 set stagefeedback-ld ld ; @CREATE_LINK_TO_DIR@ ; \
34210 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
34213 @[ -d stagefeedback-libcpp ] || mkdir stagefeedback-libcpp; \
34214 set stagefeedback-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
34215 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
34218 @[ -d stagefeedback-libiberty ] || mkdir stagefeedback-libiberty; \
34219 set stagefeedback-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
34220 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
34223 @[ -d stagefeedback-zlib ] || mkdir stagefeedback-zlib; \
34224 set stagefeedback-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
34225 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
34228 stagefeedback-end::
34229 @rm -f stage_current
34231 @set bfd stagefeedback-bfd ; @UNDO_LINK_TO_DIR@ ; \
34232 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
34235 @set opcodes stagefeedback-opcodes ; @UNDO_LINK_TO_DIR@ ; \
34236 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
34239 @set binutils stagefeedback-binutils ; @UNDO_LINK_TO_DIR@ ; \
34240 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
34243 @set gas stagefeedback-gas ; @UNDO_LINK_TO_DIR@ ; \
34244 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
34247 @set gcc stagefeedback-gcc ; @UNDO_LINK_TO_DIR@ ; \
34248 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
34251 @set intl stagefeedback-intl ; @UNDO_LINK_TO_DIR@ ; \
34252 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
34255 @set ld stagefeedback-ld ; @UNDO_LINK_TO_DIR@ ; \
34256 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
34259 @set libcpp stagefeedback-libcpp ; @UNDO_LINK_TO_DIR@ ; \
34260 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
34263 @set libiberty stagefeedback-libiberty ; @UNDO_LINK_TO_DIR@ ; \
34264 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
34267 @set zlib stagefeedback-zlib ; @UNDO_LINK_TO_DIR@ ; \
34268 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
34271 # Bubble a bugfix through all the stages up to stage feedback. They
34272 # are remade, but not reconfigured. The next stage (if any) will not
34273 # be reconfigured as well.
34274 .PHONY: stagefeedback-bubble
34275 stagefeedback-bubble:: stage1-bubble
34276 @if test -f stagefeedback-lean || test -f stage1-lean ; then \
34277 echo Skipping rebuild of stagefeedback ; \
34279 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stagefeedback; \
34282 .PHONY: all-stagefeedback clean-stagefeedback
34283 all-stagefeedback: \
34284 maybe-all-stagefeedback-bfd \
34285 maybe-all-stagefeedback-opcodes \
34286 maybe-all-stagefeedback-binutils \
34287 maybe-all-stagefeedback-gas \
34288 maybe-all-stagefeedback-gcc \
34289 maybe-all-stagefeedback-intl \
34290 maybe-all-stagefeedback-ld \
34291 maybe-all-stagefeedback-libcpp \
34292 maybe-all-stagefeedback-libiberty \
34293 maybe-all-stagefeedback-zlib
34295 do-clean: clean-stagefeedback
34296 clean-stagefeedback: \
34297 maybe-clean-stagefeedback-bfd \
34298 maybe-clean-stagefeedback-opcodes \
34299 maybe-clean-stagefeedback-binutils \
34300 maybe-clean-stagefeedback-gas \
34301 maybe-clean-stagefeedback-gcc \
34302 maybe-clean-stagefeedback-intl \
34303 maybe-clean-stagefeedback-ld \
34304 maybe-clean-stagefeedback-libcpp \
34305 maybe-clean-stagefeedback-libiberty \
34306 maybe-clean-stagefeedback-zlib
34309 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
34310 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
34311 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
34313 maybe-configure-stagefeedback-bfd:
34314 maybe-all-stagefeedback-bfd:
34315 maybe-clean-stagefeedback-bfd:
34318 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
34319 configure-stagefeedback-bfd:
34320 @$(MAKE) stagefeedback-start
34321 @[ -f bfd/Makefile ] && exit 0 || : ; \
34322 r=`${PWD_COMMAND}`; export r; \
34323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34324 $(STAGE_HOST_EXPORTS) \
34325 echo Configuring stage feedback in bfd ; \
34326 cd bfd || exit 1; \
34327 case $(srcdir) in \
34329 srcdiroption="--srcdir=."; \
34331 /* | [A-Za-z]:[\\/]*) \
34332 srcdiroption="--srcdir=$(srcdir)/bfd"; \
34333 libsrcdir="$$s/bfd";; \
34335 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
34336 libsrcdir="$$s/bfd";; \
34338 $(SHELL) $${libsrcdir}/configure \
34339 $(HOST_CONFIGARGS) $${srcdiroption} \
34340 @stage2_werror_flag@
34342 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
34343 all-stagefeedback-bfd: configure-stagefeedback-bfd
34344 @$(MAKE) stagefeedback-start
34345 @r=`${PWD_COMMAND}`; export r; \
34346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34347 $(STAGE_HOST_EXPORTS) \
34349 $(MAKE) $(FLAGS_TO_PASS) \
34350 $(POSTSTAGE1_FLAGS_TO_PASS) \
34351 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34353 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
34354 clean-stagefeedback-bfd:
34355 @[ -f bfd/Makefile ] || [ -f stagefeedback-bfd/Makefile ] \
34357 [ -f bfd/Makefile ] || $(MAKE) stagefeedback-start ; \
34359 $(MAKE) $(FLAGS_TO_PASS) \
34360 $(POSTSTAGE1_FLAGS_TO_PASS) \
34361 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34362 @endif bfd-bootstrap
34365 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
34366 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
34367 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
34369 maybe-configure-stagefeedback-opcodes:
34370 maybe-all-stagefeedback-opcodes:
34371 maybe-clean-stagefeedback-opcodes:
34373 @if opcodes-bootstrap
34374 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
34375 configure-stagefeedback-opcodes:
34376 @$(MAKE) stagefeedback-start
34377 @[ -f opcodes/Makefile ] && exit 0 || : ; \
34378 r=`${PWD_COMMAND}`; export r; \
34379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34380 $(STAGE_HOST_EXPORTS) \
34381 echo Configuring stage feedback in opcodes ; \
34382 cd opcodes || exit 1; \
34383 case $(srcdir) in \
34385 srcdiroption="--srcdir=."; \
34387 /* | [A-Za-z]:[\\/]*) \
34388 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
34389 libsrcdir="$$s/opcodes";; \
34391 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
34392 libsrcdir="$$s/opcodes";; \
34394 $(SHELL) $${libsrcdir}/configure \
34395 $(HOST_CONFIGARGS) $${srcdiroption} \
34396 @stage2_werror_flag@
34398 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
34399 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
34400 @$(MAKE) stagefeedback-start
34401 @r=`${PWD_COMMAND}`; export r; \
34402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34403 $(STAGE_HOST_EXPORTS) \
34405 $(MAKE) $(FLAGS_TO_PASS) \
34406 $(POSTSTAGE1_FLAGS_TO_PASS) \
34407 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34409 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
34410 clean-stagefeedback-opcodes:
34411 @[ -f opcodes/Makefile ] || [ -f stagefeedback-opcodes/Makefile ] \
34413 [ -f opcodes/Makefile ] || $(MAKE) stagefeedback-start ; \
34415 $(MAKE) $(FLAGS_TO_PASS) \
34416 $(POSTSTAGE1_FLAGS_TO_PASS) \
34417 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34418 @endif opcodes-bootstrap
34421 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
34422 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
34423 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
34425 maybe-configure-stagefeedback-binutils:
34426 maybe-all-stagefeedback-binutils:
34427 maybe-clean-stagefeedback-binutils:
34429 @if binutils-bootstrap
34430 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
34431 configure-stagefeedback-binutils:
34432 @$(MAKE) stagefeedback-start
34433 @[ -f binutils/Makefile ] && exit 0 || : ; \
34434 r=`${PWD_COMMAND}`; export r; \
34435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34436 $(STAGE_HOST_EXPORTS) \
34437 echo Configuring stage feedback in binutils ; \
34438 cd binutils || exit 1; \
34439 case $(srcdir) in \
34441 srcdiroption="--srcdir=."; \
34443 /* | [A-Za-z]:[\\/]*) \
34444 srcdiroption="--srcdir=$(srcdir)/binutils"; \
34445 libsrcdir="$$s/binutils";; \
34447 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
34448 libsrcdir="$$s/binutils";; \
34450 $(SHELL) $${libsrcdir}/configure \
34451 $(HOST_CONFIGARGS) $${srcdiroption} \
34452 @stage2_werror_flag@
34454 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
34455 all-stagefeedback-binutils: configure-stagefeedback-binutils
34456 @$(MAKE) stagefeedback-start
34457 @r=`${PWD_COMMAND}`; export r; \
34458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34459 $(STAGE_HOST_EXPORTS) \
34461 $(MAKE) $(FLAGS_TO_PASS) \
34462 $(POSTSTAGE1_FLAGS_TO_PASS) \
34463 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34465 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
34466 clean-stagefeedback-binutils:
34467 @[ -f binutils/Makefile ] || [ -f stagefeedback-binutils/Makefile ] \
34469 [ -f binutils/Makefile ] || $(MAKE) stagefeedback-start ; \
34471 $(MAKE) $(FLAGS_TO_PASS) \
34472 $(POSTSTAGE1_FLAGS_TO_PASS) \
34473 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34474 @endif binutils-bootstrap
34477 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
34478 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
34479 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
34481 maybe-configure-stagefeedback-gas:
34482 maybe-all-stagefeedback-gas:
34483 maybe-clean-stagefeedback-gas:
34486 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
34487 configure-stagefeedback-gas:
34488 @$(MAKE) stagefeedback-start
34489 @[ -f gas/Makefile ] && exit 0 || : ; \
34490 r=`${PWD_COMMAND}`; export r; \
34491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34492 $(STAGE_HOST_EXPORTS) \
34493 echo Configuring stage feedback in gas ; \
34494 cd gas || exit 1; \
34495 case $(srcdir) in \
34497 srcdiroption="--srcdir=."; \
34499 /* | [A-Za-z]:[\\/]*) \
34500 srcdiroption="--srcdir=$(srcdir)/gas"; \
34501 libsrcdir="$$s/gas";; \
34503 srcdiroption="--srcdir=../$(srcdir)/gas"; \
34504 libsrcdir="$$s/gas";; \
34506 $(SHELL) $${libsrcdir}/configure \
34507 $(HOST_CONFIGARGS) $${srcdiroption} \
34508 @stage2_werror_flag@
34510 maybe-all-stagefeedback-gas: all-stagefeedback-gas
34511 all-stagefeedback-gas: configure-stagefeedback-gas
34512 @$(MAKE) stagefeedback-start
34513 @r=`${PWD_COMMAND}`; export r; \
34514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34515 $(STAGE_HOST_EXPORTS) \
34517 $(MAKE) $(FLAGS_TO_PASS) \
34518 $(POSTSTAGE1_FLAGS_TO_PASS) \
34519 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34521 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
34522 clean-stagefeedback-gas:
34523 @[ -f gas/Makefile ] || [ -f stagefeedback-gas/Makefile ] \
34525 [ -f gas/Makefile ] || $(MAKE) stagefeedback-start ; \
34527 $(MAKE) $(FLAGS_TO_PASS) \
34528 $(POSTSTAGE1_FLAGS_TO_PASS) \
34529 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34530 @endif gas-bootstrap
34533 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
34534 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
34535 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
34537 maybe-configure-stagefeedback-gcc:
34538 maybe-all-stagefeedback-gcc:
34539 maybe-clean-stagefeedback-gcc:
34542 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
34543 configure-stagefeedback-gcc:
34544 @$(MAKE) stagefeedback-start
34545 @[ -f gcc/Makefile ] && exit 0 || : ; \
34546 r=`${PWD_COMMAND}`; export r; \
34547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34548 $(STAGE_HOST_EXPORTS) \
34549 echo Configuring stage feedback in gcc ; \
34550 cd gcc || exit 1; \
34551 case $(srcdir) in \
34553 srcdiroption="--srcdir=."; \
34555 /* | [A-Za-z]:[\\/]*) \
34556 srcdiroption="--srcdir=$(srcdir)/gcc"; \
34557 libsrcdir="$$s/gcc";; \
34559 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
34560 libsrcdir="$$s/gcc";; \
34562 $(SHELL) $${libsrcdir}/configure \
34563 $(HOST_CONFIGARGS) $${srcdiroption} \
34564 @stage2_werror_flag@
34566 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
34567 all-stagefeedback-gcc: configure-stagefeedback-gcc
34568 @$(MAKE) stagefeedback-start
34569 @r=`${PWD_COMMAND}`; export r; \
34570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34571 $(STAGE_HOST_EXPORTS) \
34573 $(MAKE) $(FLAGS_TO_PASS) \
34574 $(POSTSTAGE1_FLAGS_TO_PASS) \
34575 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS)
34577 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
34578 clean-stagefeedback-gcc:
34579 @[ -f gcc/Makefile ] || [ -f stagefeedback-gcc/Makefile ] \
34581 [ -f gcc/Makefile ] || $(MAKE) stagefeedback-start ; \
34583 $(MAKE) $(FLAGS_TO_PASS) \
34584 $(POSTSTAGE1_FLAGS_TO_PASS) \
34585 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
34586 @endif gcc-bootstrap
34589 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
34590 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
34591 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
34593 maybe-configure-stagefeedback-intl:
34594 maybe-all-stagefeedback-intl:
34595 maybe-clean-stagefeedback-intl:
34598 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
34599 configure-stagefeedback-intl:
34600 @$(MAKE) stagefeedback-start
34601 @[ -f intl/Makefile ] && exit 0 || : ; \
34602 r=`${PWD_COMMAND}`; export r; \
34603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34604 $(STAGE_HOST_EXPORTS) \
34605 echo Configuring stage feedback in intl ; \
34606 cd intl || exit 1; \
34607 case $(srcdir) in \
34609 srcdiroption="--srcdir=."; \
34611 /* | [A-Za-z]:[\\/]*) \
34612 srcdiroption="--srcdir=$(srcdir)/intl"; \
34613 libsrcdir="$$s/intl";; \
34615 srcdiroption="--srcdir=../$(srcdir)/intl"; \
34616 libsrcdir="$$s/intl";; \
34618 $(SHELL) $${libsrcdir}/configure \
34619 $(HOST_CONFIGARGS) $${srcdiroption} \
34620 @stage2_werror_flag@
34622 maybe-all-stagefeedback-intl: all-stagefeedback-intl
34623 all-stagefeedback-intl: configure-stagefeedback-intl
34624 @$(MAKE) stagefeedback-start
34625 @r=`${PWD_COMMAND}`; export r; \
34626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34627 $(STAGE_HOST_EXPORTS) \
34629 $(MAKE) $(FLAGS_TO_PASS) \
34630 $(POSTSTAGE1_FLAGS_TO_PASS) \
34631 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34633 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
34634 clean-stagefeedback-intl:
34635 @[ -f intl/Makefile ] || [ -f stagefeedback-intl/Makefile ] \
34637 [ -f intl/Makefile ] || $(MAKE) stagefeedback-start ; \
34639 $(MAKE) $(FLAGS_TO_PASS) \
34640 $(POSTSTAGE1_FLAGS_TO_PASS) \
34641 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34642 @endif intl-bootstrap
34645 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
34646 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
34647 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
34649 maybe-configure-stagefeedback-ld:
34650 maybe-all-stagefeedback-ld:
34651 maybe-clean-stagefeedback-ld:
34654 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
34655 configure-stagefeedback-ld:
34656 @$(MAKE) stagefeedback-start
34657 @[ -f ld/Makefile ] && exit 0 || : ; \
34658 r=`${PWD_COMMAND}`; export r; \
34659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34660 $(STAGE_HOST_EXPORTS) \
34661 echo Configuring stage feedback in ld ; \
34663 case $(srcdir) in \
34665 srcdiroption="--srcdir=."; \
34667 /* | [A-Za-z]:[\\/]*) \
34668 srcdiroption="--srcdir=$(srcdir)/ld"; \
34669 libsrcdir="$$s/ld";; \
34671 srcdiroption="--srcdir=../$(srcdir)/ld"; \
34672 libsrcdir="$$s/ld";; \
34674 $(SHELL) $${libsrcdir}/configure \
34675 $(HOST_CONFIGARGS) $${srcdiroption} \
34676 @stage2_werror_flag@
34678 maybe-all-stagefeedback-ld: all-stagefeedback-ld
34679 all-stagefeedback-ld: configure-stagefeedback-ld
34680 @$(MAKE) stagefeedback-start
34681 @r=`${PWD_COMMAND}`; export r; \
34682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34683 $(STAGE_HOST_EXPORTS) \
34685 $(MAKE) $(FLAGS_TO_PASS) \
34686 $(POSTSTAGE1_FLAGS_TO_PASS) \
34687 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34689 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
34690 clean-stagefeedback-ld:
34691 @[ -f ld/Makefile ] || [ -f stagefeedback-ld/Makefile ] \
34693 [ -f ld/Makefile ] || $(MAKE) stagefeedback-start ; \
34695 $(MAKE) $(FLAGS_TO_PASS) \
34696 $(POSTSTAGE1_FLAGS_TO_PASS) \
34697 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34698 @endif ld-bootstrap
34701 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
34702 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
34703 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
34705 maybe-configure-stagefeedback-libcpp:
34706 maybe-all-stagefeedback-libcpp:
34707 maybe-clean-stagefeedback-libcpp:
34709 @if libcpp-bootstrap
34710 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
34711 configure-stagefeedback-libcpp:
34712 @$(MAKE) stagefeedback-start
34713 @[ -f libcpp/Makefile ] && exit 0 || : ; \
34714 r=`${PWD_COMMAND}`; export r; \
34715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34716 $(STAGE_HOST_EXPORTS) \
34717 echo Configuring stage feedback in libcpp ; \
34718 cd libcpp || exit 1; \
34719 case $(srcdir) in \
34721 srcdiroption="--srcdir=."; \
34723 /* | [A-Za-z]:[\\/]*) \
34724 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
34725 libsrcdir="$$s/libcpp";; \
34727 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
34728 libsrcdir="$$s/libcpp";; \
34730 $(SHELL) $${libsrcdir}/configure \
34731 $(HOST_CONFIGARGS) $${srcdiroption} \
34732 @stage2_werror_flag@
34734 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
34735 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
34736 @$(MAKE) stagefeedback-start
34737 @r=`${PWD_COMMAND}`; export r; \
34738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34739 $(STAGE_HOST_EXPORTS) \
34741 $(MAKE) $(FLAGS_TO_PASS) \
34742 $(POSTSTAGE1_FLAGS_TO_PASS) \
34743 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34745 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
34746 clean-stagefeedback-libcpp:
34747 @[ -f libcpp/Makefile ] || [ -f stagefeedback-libcpp/Makefile ] \
34749 [ -f libcpp/Makefile ] || $(MAKE) stagefeedback-start ; \
34751 $(MAKE) $(FLAGS_TO_PASS) \
34752 $(POSTSTAGE1_FLAGS_TO_PASS) \
34753 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34754 @endif libcpp-bootstrap
34757 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
34758 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
34759 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
34761 maybe-configure-stagefeedback-libiberty:
34762 maybe-all-stagefeedback-libiberty:
34763 maybe-clean-stagefeedback-libiberty:
34765 @if libiberty-bootstrap
34766 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
34767 configure-stagefeedback-libiberty:
34768 @$(MAKE) stagefeedback-start
34769 @[ -f libiberty/Makefile ] && exit 0 || : ; \
34770 r=`${PWD_COMMAND}`; export r; \
34771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34772 $(STAGE_HOST_EXPORTS) \
34773 echo Configuring stage feedback in libiberty ; \
34774 cd libiberty || exit 1; \
34775 case $(srcdir) in \
34777 srcdiroption="--srcdir=."; \
34779 /* | [A-Za-z]:[\\/]*) \
34780 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
34781 libsrcdir="$$s/libiberty";; \
34783 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
34784 libsrcdir="$$s/libiberty";; \
34786 $(SHELL) $${libsrcdir}/configure \
34787 $(HOST_CONFIGARGS) $${srcdiroption} \
34788 @stage2_werror_flag@
34790 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
34791 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
34792 @$(MAKE) stagefeedback-start
34793 @r=`${PWD_COMMAND}`; export r; \
34794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34795 $(STAGE_HOST_EXPORTS) \
34797 $(MAKE) $(FLAGS_TO_PASS) \
34798 $(POSTSTAGE1_FLAGS_TO_PASS) \
34799 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34801 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
34802 clean-stagefeedback-libiberty:
34803 @[ -f libiberty/Makefile ] || [ -f stagefeedback-libiberty/Makefile ] \
34805 [ -f libiberty/Makefile ] || $(MAKE) stagefeedback-start ; \
34807 $(MAKE) $(FLAGS_TO_PASS) \
34808 $(POSTSTAGE1_FLAGS_TO_PASS) \
34809 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34810 @endif libiberty-bootstrap
34813 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
34814 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
34815 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
34817 maybe-configure-stagefeedback-zlib:
34818 maybe-all-stagefeedback-zlib:
34819 maybe-clean-stagefeedback-zlib:
34822 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
34823 configure-stagefeedback-zlib:
34824 @$(MAKE) stagefeedback-start
34825 @[ -f zlib/Makefile ] && exit 0 || : ; \
34826 r=`${PWD_COMMAND}`; export r; \
34827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34828 $(STAGE_HOST_EXPORTS) \
34829 echo Configuring stage feedback in zlib ; \
34830 cd zlib || exit 1; \
34831 case $(srcdir) in \
34833 srcdiroption="--srcdir=."; \
34835 /* | [A-Za-z]:[\\/]*) \
34836 srcdiroption="--srcdir=$(srcdir)/zlib"; \
34837 libsrcdir="$$s/zlib";; \
34839 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
34840 libsrcdir="$$s/zlib";; \
34842 $(SHELL) $${libsrcdir}/configure \
34843 $(HOST_CONFIGARGS) $${srcdiroption} \
34844 @stage2_werror_flag@
34846 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
34847 all-stagefeedback-zlib: configure-stagefeedback-zlib
34848 @$(MAKE) stagefeedback-start
34849 @r=`${PWD_COMMAND}`; export r; \
34850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34851 $(STAGE_HOST_EXPORTS) \
34853 $(MAKE) $(FLAGS_TO_PASS) \
34854 $(POSTSTAGE1_FLAGS_TO_PASS) \
34855 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34857 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
34858 clean-stagefeedback-zlib:
34859 @[ -f zlib/Makefile ] || [ -f stagefeedback-zlib/Makefile ] \
34861 [ -f zlib/Makefile ] || $(MAKE) stagefeedback-start ; \
34863 $(MAKE) $(FLAGS_TO_PASS) \
34864 $(POSTSTAGE1_FLAGS_TO_PASS) \
34865 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34866 @endif zlib-bootstrap
34870 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34871 # only possibility, but now it conflicts with no-bootstrap rules
34877 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34878 distclean-stage1:: distclean-stagefeedback
34879 .PHONY: distclean-stagefeedback
34880 distclean-stagefeedback::
34881 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34882 rm -rf stagefeedback-*
34885 @endif gcc-bootstrap
34889 stagefeedback-start::
34890 @r=`${PWD_COMMAND}`; export r; \
34891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34892 cd stageprofile-gcc && \
34893 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \
34894 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); }
34896 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34897 # only possibility, but now it conflicts with no-bootstrap rules
34900 @r=`${PWD_COMMAND}`; export r; \
34901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34904 echo "Bootstrapping the compiler"; \
34905 $(MAKE) stageprofile-bubble distclean-stagefeedback
34906 @r=`${PWD_COMMAND}`; export r; \
34907 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
34909 echo "Building runtime libraries and training compiler"; \
34910 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
34911 @r=`${PWD_COMMAND}`; export r; \
34912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34915 echo "Building feedback based compiler"; \
34916 $(MAKE) stagefeedback-bubble stagefeedback-end
34917 @endif gcc-bootstrap
34920 NOTPARALLEL = .NOTPARALLEL
34922 do-distclean: distclean-stage1
34923 @endif gcc-bootstrap
34925 # --------------------------------------
34926 # Dependencies between different modules
34927 # --------------------------------------
34929 # Generic dependencies for target modules on host stuff, especially gcc
34931 configure-target-libstdc++-v3: maybe-all-gcc
34933 configure-target-libmudflap: maybe-all-gcc
34935 configure-target-newlib: maybe-all-gcc
34937 configure-target-libgfortran: maybe-all-gcc
34939 configure-target-libobjc: maybe-all-gcc
34941 configure-target-libtermcap: maybe-all-gcc
34943 configure-target-winsup: maybe-all-gcc
34945 configure-target-libgloss: maybe-all-gcc
34947 configure-target-libiberty: maybe-all-gcc
34949 configure-target-gperf: maybe-all-gcc
34951 configure-target-examples: maybe-all-gcc
34953 configure-target-libffi: maybe-all-gcc
34955 configure-target-libjava: maybe-all-gcc
34957 configure-target-zlib: maybe-all-gcc
34959 configure-target-boehm-gc: maybe-all-gcc
34961 configure-target-qthreads: maybe-all-gcc
34963 configure-target-rda: maybe-all-gcc
34965 configure-target-libada: maybe-all-gcc
34969 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
34971 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
34972 configure-target-gperf: maybe-all-target-libstdc++-v3
34974 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
34976 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
34978 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
34980 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
34981 configure-target-libjava: maybe-all-target-libstdc++-v3
34983 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
34985 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
34987 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
34989 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
34991 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
34993 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
34995 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
34997 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
35000 # There are two types of dependencies here: 'hard' dependencies, where one
35001 # module simply won't build without the other; and 'soft' dependencies, where
35002 # if the depended-on module is missing, the depending module will do without
35003 # or find a substitute somewhere (perhaps installed). Soft dependencies
35004 # are made here to depend on a 'maybe-' target. If you're not sure,
35005 # it's safer to use a soft dependency.
35011 # With all the machinery above in place, it is pretty easy to generate
35012 # dependencies. Host dependencies are a bit more complex because we have
35013 # to check for bootstrap/prebootstrap dependencies. To resolve
35014 # prebootstrap dependencies, prebootstrap modules are gathered in
35016 all-build-bison: maybe-all-build-texinfo
35017 all-build-byacc: maybe-all-build-texinfo
35018 all-build-flex: maybe-all-build-texinfo
35019 all-build-flex: maybe-all-build-bison
35020 all-build-flex: maybe-all-build-byacc
35021 all-build-flex: maybe-all-build-m4
35022 all-build-libiberty: maybe-all-build-texinfo
35023 all-build-m4: maybe-all-build-texinfo
35024 all-build-fixincludes: maybe-all-build-libiberty
35025 configure-gcc: maybe-configure-intl
35027 configure-stage1-gcc: maybe-configure-stage1-intl
35028 configure-stage2-gcc: maybe-configure-stage2-intl
35029 configure-stage3-gcc: maybe-configure-stage3-intl
35030 configure-stage4-gcc: maybe-configure-stage4-intl
35031 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
35032 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
35033 configure-gcc: maybe-configure-binutils
35035 configure-stage1-gcc: maybe-configure-stage1-binutils
35036 configure-stage2-gcc: maybe-configure-stage2-binutils
35037 configure-stage3-gcc: maybe-configure-stage3-binutils
35038 configure-stage4-gcc: maybe-configure-stage4-binutils
35039 configure-stageprofile-gcc: maybe-configure-stageprofile-binutils
35040 configure-stagefeedback-gcc: maybe-configure-stagefeedback-binutils
35041 configure-gcc: maybe-configure-gas
35043 configure-stage1-gcc: maybe-configure-stage1-gas
35044 configure-stage2-gcc: maybe-configure-stage2-gas
35045 configure-stage3-gcc: maybe-configure-stage3-gas
35046 configure-stage4-gcc: maybe-configure-stage4-gas
35047 configure-stageprofile-gcc: maybe-configure-stageprofile-gas
35048 configure-stagefeedback-gcc: maybe-configure-stagefeedback-gas
35049 configure-gcc: maybe-configure-ld
35051 configure-stage1-gcc: maybe-configure-stage1-ld
35052 configure-stage2-gcc: maybe-configure-stage2-ld
35053 configure-stage3-gcc: maybe-configure-stage3-ld
35054 configure-stage4-gcc: maybe-configure-stage4-ld
35055 configure-stageprofile-gcc: maybe-configure-stageprofile-ld
35056 configure-stagefeedback-gcc: maybe-configure-stagefeedback-ld
35057 all-gcc: all-libiberty
35059 all-stage1-gcc: all-stage1-libiberty
35060 all-stage2-gcc: all-stage2-libiberty
35061 all-stage3-gcc: all-stage3-libiberty
35062 all-stage4-gcc: all-stage4-libiberty
35063 all-stageprofile-gcc: all-stageprofile-libiberty
35064 all-stagefeedback-gcc: all-stagefeedback-libiberty
35065 all-gcc: maybe-all-intl
35067 all-stage1-gcc: maybe-all-stage1-intl
35068 all-stage2-gcc: maybe-all-stage2-intl
35069 all-stage3-gcc: maybe-all-stage3-intl
35070 all-stage4-gcc: maybe-all-stage4-intl
35071 all-stageprofile-gcc: maybe-all-stageprofile-intl
35072 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
35073 all-gcc: maybe-all-build-texinfo
35075 all-stage1-gcc: maybe-all-build-texinfo
35076 all-stage2-gcc: maybe-all-build-texinfo
35077 all-stage3-gcc: maybe-all-build-texinfo
35078 all-stage4-gcc: maybe-all-build-texinfo
35079 all-stageprofile-gcc: maybe-all-build-texinfo
35080 all-stagefeedback-gcc: maybe-all-build-texinfo
35081 all-prebootstrap: maybe-all-build-texinfo
35082 all-gcc: maybe-all-build-bison
35084 all-stage1-gcc: maybe-all-build-bison
35085 all-stage2-gcc: maybe-all-build-bison
35086 all-stage3-gcc: maybe-all-build-bison
35087 all-stage4-gcc: maybe-all-build-bison
35088 all-stageprofile-gcc: maybe-all-build-bison
35089 all-stagefeedback-gcc: maybe-all-build-bison
35090 all-prebootstrap: maybe-all-build-bison
35091 all-gcc: maybe-all-build-byacc
35093 all-stage1-gcc: maybe-all-build-byacc
35094 all-stage2-gcc: maybe-all-build-byacc
35095 all-stage3-gcc: maybe-all-build-byacc
35096 all-stage4-gcc: maybe-all-build-byacc
35097 all-stageprofile-gcc: maybe-all-build-byacc
35098 all-stagefeedback-gcc: maybe-all-build-byacc
35099 all-prebootstrap: maybe-all-build-byacc
35100 all-gcc: maybe-all-build-flex
35102 all-stage1-gcc: maybe-all-build-flex
35103 all-stage2-gcc: maybe-all-build-flex
35104 all-stage3-gcc: maybe-all-build-flex
35105 all-stage4-gcc: maybe-all-build-flex
35106 all-stageprofile-gcc: maybe-all-build-flex
35107 all-stagefeedback-gcc: maybe-all-build-flex
35108 all-prebootstrap: maybe-all-build-flex
35109 all-gcc: maybe-all-build-libiberty
35111 all-stage1-gcc: maybe-all-build-libiberty
35112 all-stage2-gcc: maybe-all-build-libiberty
35113 all-stage3-gcc: maybe-all-build-libiberty
35114 all-stage4-gcc: maybe-all-build-libiberty
35115 all-stageprofile-gcc: maybe-all-build-libiberty
35116 all-stagefeedback-gcc: maybe-all-build-libiberty
35117 all-prebootstrap: maybe-all-build-libiberty
35118 all-gcc: maybe-all-build-fixincludes
35120 all-stage1-gcc: maybe-all-build-fixincludes
35121 all-stage2-gcc: maybe-all-build-fixincludes
35122 all-stage3-gcc: maybe-all-build-fixincludes
35123 all-stage4-gcc: maybe-all-build-fixincludes
35124 all-stageprofile-gcc: maybe-all-build-fixincludes
35125 all-stagefeedback-gcc: maybe-all-build-fixincludes
35126 all-prebootstrap: maybe-all-build-fixincludes
35127 all-gcc: maybe-all-binutils
35129 all-stage1-gcc: maybe-all-stage1-binutils
35130 all-stage2-gcc: maybe-all-stage2-binutils
35131 all-stage3-gcc: maybe-all-stage3-binutils
35132 all-stage4-gcc: maybe-all-stage4-binutils
35133 all-stageprofile-gcc: maybe-all-stageprofile-binutils
35134 all-stagefeedback-gcc: maybe-all-stagefeedback-binutils
35135 all-gcc: maybe-all-gas
35137 all-stage1-gcc: maybe-all-stage1-gas
35138 all-stage2-gcc: maybe-all-stage2-gas
35139 all-stage3-gcc: maybe-all-stage3-gas
35140 all-stage4-gcc: maybe-all-stage4-gas
35141 all-stageprofile-gcc: maybe-all-stageprofile-gas
35142 all-stagefeedback-gcc: maybe-all-stagefeedback-gas
35143 all-gcc: maybe-all-ld
35145 all-stage1-gcc: maybe-all-stage1-ld
35146 all-stage2-gcc: maybe-all-stage2-ld
35147 all-stage3-gcc: maybe-all-stage3-ld
35148 all-stage4-gcc: maybe-all-stage4-ld
35149 all-stageprofile-gcc: maybe-all-stageprofile-ld
35150 all-stagefeedback-gcc: maybe-all-stagefeedback-ld
35151 all-gcc: maybe-all-zlib
35153 all-stage1-gcc: maybe-all-stage1-zlib
35154 all-stage2-gcc: maybe-all-stage2-zlib
35155 all-stage3-gcc: maybe-all-stage3-zlib
35156 all-stage4-gcc: maybe-all-stage4-zlib
35157 all-stageprofile-gcc: maybe-all-stageprofile-zlib
35158 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
35159 all-gcc: all-libcpp
35161 all-stage1-gcc: all-stage1-libcpp
35162 all-stage2-gcc: all-stage2-libcpp
35163 all-stage3-gcc: all-stage3-libcpp
35164 all-stage4-gcc: all-stage4-libcpp
35165 all-stageprofile-gcc: all-stageprofile-libcpp
35166 all-stagefeedback-gcc: all-stagefeedback-libcpp
35167 all-gcc: maybe-all-libiberty
35169 all-stage1-gcc: maybe-all-stage1-libiberty
35170 all-stage2-gcc: maybe-all-stage2-libiberty
35171 all-stage3-gcc: maybe-all-stage3-libiberty
35172 all-stage4-gcc: maybe-all-stage4-libiberty
35173 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
35174 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
35175 all-gcc: maybe-all-fixincludes
35176 install-gcc: maybe-install-fixincludes
35177 configure-libcpp: configure-libiberty
35179 configure-stage1-libcpp: configure-stage1-libiberty
35180 configure-stage2-libcpp: configure-stage2-libiberty
35181 configure-stage3-libcpp: configure-stage3-libiberty
35182 configure-stage4-libcpp: configure-stage4-libiberty
35183 configure-stageprofile-libcpp: configure-stageprofile-libiberty
35184 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
35185 configure-libcpp: maybe-configure-intl
35187 configure-stage1-libcpp: maybe-configure-stage1-intl
35188 configure-stage2-libcpp: maybe-configure-stage2-intl
35189 configure-stage3-libcpp: maybe-configure-stage3-intl
35190 configure-stage4-libcpp: maybe-configure-stage4-intl
35191 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
35192 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
35193 all-libcpp: all-libiberty
35195 all-stage1-libcpp: all-stage1-libiberty
35196 all-stage2-libcpp: all-stage2-libiberty
35197 all-stage3-libcpp: all-stage3-libiberty
35198 all-stage4-libcpp: all-stage4-libiberty
35199 all-stageprofile-libcpp: all-stageprofile-libiberty
35200 all-stagefeedback-libcpp: all-stagefeedback-libiberty
35201 all-libcpp: maybe-all-intl
35203 all-stage1-libcpp: maybe-all-stage1-intl
35204 all-stage2-libcpp: maybe-all-stage2-intl
35205 all-stage3-libcpp: maybe-all-stage3-intl
35206 all-stage4-libcpp: maybe-all-stage4-intl
35207 all-stageprofile-libcpp: maybe-all-stageprofile-intl
35208 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
35209 all-fixincludes: maybe-all-libiberty
35210 configure-gdb: maybe-configure-itcl
35211 configure-gdb: maybe-configure-tcl
35212 configure-gdb: maybe-configure-tk
35213 configure-gdb: maybe-configure-sim
35214 all-gdb: maybe-all-libiberty
35215 all-gdb: maybe-all-opcodes
35216 all-gdb: maybe-all-bfd
35217 all-gdb: maybe-all-readline
35218 all-gdb: maybe-all-build-bison
35219 all-gdb: maybe-all-build-byacc
35220 all-gdb: maybe-all-sim
35221 install-gdb: maybe-install-tcl
35222 install-gdb: maybe-install-tk
35223 install-gdb: maybe-install-itcl
35224 install-gdb: maybe-install-libgui
35225 configure-libgui: maybe-configure-tcl
35226 configure-libgui: maybe-configure-tk
35227 all-libgui: maybe-all-tcl
35228 all-libgui: maybe-all-tk
35229 all-libgui: maybe-all-itcl
35230 configure-bfd: configure-libiberty
35232 configure-stage1-bfd: configure-stage1-libiberty
35233 configure-stage2-bfd: configure-stage2-libiberty
35234 configure-stage3-bfd: configure-stage3-libiberty
35235 configure-stage4-bfd: configure-stage4-libiberty
35236 configure-stageprofile-bfd: configure-stageprofile-libiberty
35237 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
35238 all-bfd: maybe-all-libiberty
35240 all-stage1-bfd: maybe-all-stage1-libiberty
35241 all-stage2-bfd: maybe-all-stage2-libiberty
35242 all-stage3-bfd: maybe-all-stage3-libiberty
35243 all-stage4-bfd: maybe-all-stage4-libiberty
35244 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
35245 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
35246 all-bfd: maybe-all-intl
35248 all-stage1-bfd: maybe-all-stage1-intl
35249 all-stage2-bfd: maybe-all-stage2-intl
35250 all-stage3-bfd: maybe-all-stage3-intl
35251 all-stage4-bfd: maybe-all-stage4-intl
35252 all-stageprofile-bfd: maybe-all-stageprofile-intl
35253 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
35254 all-binutils: maybe-all-libiberty
35256 all-stage1-binutils: maybe-all-stage1-libiberty
35257 all-stage2-binutils: maybe-all-stage2-libiberty
35258 all-stage3-binutils: maybe-all-stage3-libiberty
35259 all-stage4-binutils: maybe-all-stage4-libiberty
35260 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
35261 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
35262 all-binutils: maybe-all-opcodes
35264 all-stage1-binutils: maybe-all-stage1-opcodes
35265 all-stage2-binutils: maybe-all-stage2-opcodes
35266 all-stage3-binutils: maybe-all-stage3-opcodes
35267 all-stage4-binutils: maybe-all-stage4-opcodes
35268 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
35269 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
35270 all-binutils: maybe-all-bfd
35272 all-stage1-binutils: maybe-all-stage1-bfd
35273 all-stage2-binutils: maybe-all-stage2-bfd
35274 all-stage3-binutils: maybe-all-stage3-bfd
35275 all-stage4-binutils: maybe-all-stage4-bfd
35276 all-stageprofile-binutils: maybe-all-stageprofile-bfd
35277 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
35278 all-binutils: maybe-all-build-flex
35280 all-stage1-binutils: maybe-all-build-flex
35281 all-stage2-binutils: maybe-all-build-flex
35282 all-stage3-binutils: maybe-all-build-flex
35283 all-stage4-binutils: maybe-all-build-flex
35284 all-stageprofile-binutils: maybe-all-build-flex
35285 all-stagefeedback-binutils: maybe-all-build-flex
35286 all-prebootstrap: maybe-all-build-flex
35287 all-binutils: maybe-all-build-bison
35289 all-stage1-binutils: maybe-all-build-bison
35290 all-stage2-binutils: maybe-all-build-bison
35291 all-stage3-binutils: maybe-all-build-bison
35292 all-stage4-binutils: maybe-all-build-bison
35293 all-stageprofile-binutils: maybe-all-build-bison
35294 all-stagefeedback-binutils: maybe-all-build-bison
35295 all-prebootstrap: maybe-all-build-bison
35296 all-binutils: maybe-all-build-byacc
35298 all-stage1-binutils: maybe-all-build-byacc
35299 all-stage2-binutils: maybe-all-build-byacc
35300 all-stage3-binutils: maybe-all-build-byacc
35301 all-stage4-binutils: maybe-all-build-byacc
35302 all-stageprofile-binutils: maybe-all-build-byacc
35303 all-stagefeedback-binutils: maybe-all-build-byacc
35304 all-prebootstrap: maybe-all-build-byacc
35305 all-binutils: maybe-all-intl
35307 all-stage1-binutils: maybe-all-stage1-intl
35308 all-stage2-binutils: maybe-all-stage2-intl
35309 all-stage3-binutils: maybe-all-stage3-intl
35310 all-stage4-binutils: maybe-all-stage4-intl
35311 all-stageprofile-binutils: maybe-all-stageprofile-intl
35312 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
35313 install-binutils: maybe-install-opcodes
35314 install-opcodes: maybe-install-bfd
35315 all-gas: maybe-all-libiberty
35317 all-stage1-gas: maybe-all-stage1-libiberty
35318 all-stage2-gas: maybe-all-stage2-libiberty
35319 all-stage3-gas: maybe-all-stage3-libiberty
35320 all-stage4-gas: maybe-all-stage4-libiberty
35321 all-stageprofile-gas: maybe-all-stageprofile-libiberty
35322 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
35323 all-gas: maybe-all-opcodes
35325 all-stage1-gas: maybe-all-stage1-opcodes
35326 all-stage2-gas: maybe-all-stage2-opcodes
35327 all-stage3-gas: maybe-all-stage3-opcodes
35328 all-stage4-gas: maybe-all-stage4-opcodes
35329 all-stageprofile-gas: maybe-all-stageprofile-opcodes
35330 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
35331 all-gas: maybe-all-bfd
35333 all-stage1-gas: maybe-all-stage1-bfd
35334 all-stage2-gas: maybe-all-stage2-bfd
35335 all-stage3-gas: maybe-all-stage3-bfd
35336 all-stage4-gas: maybe-all-stage4-bfd
35337 all-stageprofile-gas: maybe-all-stageprofile-bfd
35338 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
35339 all-gas: maybe-all-intl
35341 all-stage1-gas: maybe-all-stage1-intl
35342 all-stage2-gas: maybe-all-stage2-intl
35343 all-stage3-gas: maybe-all-stage3-intl
35344 all-stage4-gas: maybe-all-stage4-intl
35345 all-stageprofile-gas: maybe-all-stageprofile-intl
35346 all-stagefeedback-gas: maybe-all-stagefeedback-intl
35347 all-gprof: maybe-all-libiberty
35348 all-gprof: maybe-all-bfd
35349 all-gprof: maybe-all-opcodes
35350 all-gprof: maybe-all-intl
35351 all-ld: maybe-all-libiberty
35353 all-stage1-ld: maybe-all-stage1-libiberty
35354 all-stage2-ld: maybe-all-stage2-libiberty
35355 all-stage3-ld: maybe-all-stage3-libiberty
35356 all-stage4-ld: maybe-all-stage4-libiberty
35357 all-stageprofile-ld: maybe-all-stageprofile-libiberty
35358 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
35359 all-ld: maybe-all-bfd
35361 all-stage1-ld: maybe-all-stage1-bfd
35362 all-stage2-ld: maybe-all-stage2-bfd
35363 all-stage3-ld: maybe-all-stage3-bfd
35364 all-stage4-ld: maybe-all-stage4-bfd
35365 all-stageprofile-ld: maybe-all-stageprofile-bfd
35366 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
35367 all-ld: maybe-all-opcodes
35369 all-stage1-ld: maybe-all-stage1-opcodes
35370 all-stage2-ld: maybe-all-stage2-opcodes
35371 all-stage3-ld: maybe-all-stage3-opcodes
35372 all-stage4-ld: maybe-all-stage4-opcodes
35373 all-stageprofile-ld: maybe-all-stageprofile-opcodes
35374 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
35375 all-ld: maybe-all-build-bison
35377 all-stage1-ld: maybe-all-build-bison
35378 all-stage2-ld: maybe-all-build-bison
35379 all-stage3-ld: maybe-all-build-bison
35380 all-stage4-ld: maybe-all-build-bison
35381 all-stageprofile-ld: maybe-all-build-bison
35382 all-stagefeedback-ld: maybe-all-build-bison
35383 all-prebootstrap: maybe-all-build-bison
35384 all-ld: maybe-all-build-byacc
35386 all-stage1-ld: maybe-all-build-byacc
35387 all-stage2-ld: maybe-all-build-byacc
35388 all-stage3-ld: maybe-all-build-byacc
35389 all-stage4-ld: maybe-all-build-byacc
35390 all-stageprofile-ld: maybe-all-build-byacc
35391 all-stagefeedback-ld: maybe-all-build-byacc
35392 all-prebootstrap: maybe-all-build-byacc
35393 all-ld: maybe-all-build-flex
35395 all-stage1-ld: maybe-all-build-flex
35396 all-stage2-ld: maybe-all-build-flex
35397 all-stage3-ld: maybe-all-build-flex
35398 all-stage4-ld: maybe-all-build-flex
35399 all-stageprofile-ld: maybe-all-build-flex
35400 all-stagefeedback-ld: maybe-all-build-flex
35401 all-prebootstrap: maybe-all-build-flex
35402 all-ld: maybe-all-intl
35404 all-stage1-ld: maybe-all-stage1-intl
35405 all-stage2-ld: maybe-all-stage2-intl
35406 all-stage3-ld: maybe-all-stage3-intl
35407 all-stage4-ld: maybe-all-stage4-intl
35408 all-stageprofile-ld: maybe-all-stageprofile-intl
35409 all-stagefeedback-ld: maybe-all-stagefeedback-intl
35410 all-opcodes: maybe-all-bfd
35412 all-stage1-opcodes: maybe-all-stage1-bfd
35413 all-stage2-opcodes: maybe-all-stage2-bfd
35414 all-stage3-opcodes: maybe-all-stage3-bfd
35415 all-stage4-opcodes: maybe-all-stage4-bfd
35416 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
35417 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
35418 all-opcodes: maybe-all-libiberty
35420 all-stage1-opcodes: maybe-all-stage1-libiberty
35421 all-stage2-opcodes: maybe-all-stage2-libiberty
35422 all-stage3-opcodes: maybe-all-stage3-libiberty
35423 all-stage4-opcodes: maybe-all-stage4-libiberty
35424 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
35425 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
35426 all-dejagnu: maybe-all-tcl
35427 all-dejagnu: maybe-all-expect
35428 all-dejagnu: maybe-all-tk
35429 configure-expect: maybe-configure-tcl
35430 configure-expect: maybe-configure-tk
35431 all-expect: maybe-all-tcl
35432 all-expect: maybe-all-tk
35433 configure-itcl: maybe-configure-tcl
35434 configure-itcl: maybe-configure-tk
35435 all-itcl: maybe-all-tcl
35436 all-itcl: maybe-all-tk
35437 install-itcl: maybe-install-tcl
35438 configure-tk: maybe-configure-tcl
35439 all-tk: maybe-all-tcl
35440 all-sid: maybe-all-libiberty
35441 all-sid: maybe-all-bfd
35442 all-sid: maybe-all-opcodes
35443 all-sid: maybe-all-tcl
35444 all-sid: maybe-all-tk
35445 install-sid: maybe-install-tcl
35446 install-sid: maybe-install-tk
35447 all-sim: maybe-all-libiberty
35448 all-sim: maybe-all-bfd
35449 all-sim: maybe-all-opcodes
35450 all-sim: maybe-all-readline
35451 all-sim: maybe-configure-gdb
35452 all-fastjar: maybe-all-zlib
35453 all-fastjar: maybe-all-build-texinfo
35454 all-fastjar: maybe-all-libiberty
35455 all-autoconf: maybe-all-m4
35456 all-autoconf: maybe-all-build-texinfo
35457 all-automake: maybe-all-m4
35458 all-automake: maybe-all-build-texinfo
35459 all-automake: maybe-all-autoconf
35460 all-bison: maybe-all-intl
35461 all-bison: maybe-all-build-texinfo
35462 all-diff: maybe-all-intl
35463 all-diff: maybe-all-build-texinfo
35464 all-fileutils: maybe-all-intl
35465 all-fileutils: maybe-all-build-texinfo
35466 all-flex: maybe-all-build-bison
35467 all-flex: maybe-all-build-byacc
35468 all-flex: maybe-all-intl
35469 all-flex: maybe-all-m4
35470 all-flex: maybe-all-build-texinfo
35471 all-gzip: maybe-all-intl
35472 all-gzip: maybe-all-zlib
35473 all-gzip: maybe-all-build-texinfo
35474 all-hello: maybe-all-intl
35475 all-hello: maybe-all-build-texinfo
35476 all-m4: maybe-all-intl
35477 all-m4: maybe-all-build-texinfo
35478 all-make: maybe-all-intl
35479 all-make: maybe-all-build-texinfo
35480 all-patch: maybe-all-build-texinfo
35481 all-make: maybe-all-build-texinfo
35482 all-prms: maybe-all-libiberty
35483 all-recode: maybe-all-build-texinfo
35484 all-sed: maybe-all-build-texinfo
35485 all-send-pr: maybe-all-prms
35486 all-tar: maybe-all-build-texinfo
35487 all-uudecode: maybe-all-build-texinfo
35488 configure-target-boehm-gc: maybe-configure-target-qthreads
35489 configure-target-fastjar: maybe-configure-target-zlib
35490 all-target-fastjar: maybe-all-target-zlib
35491 all-target-fastjar: maybe-all-target-libiberty
35492 configure-target-libjava: maybe-configure-target-zlib
35493 configure-target-libjava: maybe-configure-target-boehm-gc
35494 configure-target-libjava: maybe-configure-target-qthreads
35495 configure-target-libjava: maybe-configure-target-libffi
35496 all-target-libjava: maybe-all-fastjar
35497 all-target-libjava: maybe-all-target-zlib
35498 all-target-libjava: maybe-all-target-boehm-gc
35499 all-target-libjava: maybe-all-target-qthreads
35500 all-target-libjava: maybe-all-target-libffi
35501 all-target-libobjc: maybe-all-target-libiberty
35502 all-target-libstdc++-v3: maybe-all-target-libiberty
35503 all-target-libgloss: maybe-configure-target-newlib
35504 all-target-winsup: maybe-all-target-libiberty
35505 all-target-winsup: maybe-all-target-libtermcap
35508 # Non-toplevel bootstrap rules must depend on several packages, to be built
35509 # before gcc. Another wart that will go away, hopefully soon.
35510 @if gcc-no-bootstrap
35512 all-prebootstrap: maybe-all-bfd
35513 all-prebootstrap: maybe-all-opcodes
35514 all-prebootstrap: maybe-all-binutils
35515 all-prebootstrap: maybe-all-gas
35516 all-prebootstrap: maybe-all-intl
35517 all-prebootstrap: maybe-all-ld
35518 all-prebootstrap: maybe-all-libcpp
35519 all-prebootstrap: maybe-all-libiberty
35520 all-prebootstrap: maybe-all-zlib
35521 @endif gcc-no-bootstrap
35524 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
35526 # Serialization dependencies. Host configures don't work well in parallel to
35527 # each other, due to contention over config.cache. Target configures and
35528 # build configures are similar.
35529 @serialization_dependencies@
35531 # --------------------------------
35532 # Regenerating top level configury
35533 # --------------------------------
35535 # Multilib.out tells target dirs what multilibs they should build.
35536 # There is really only one copy. We use the 'timestamp' method to
35537 # work around various timestamp bugs on some systems.
35538 # We use move-if-change so that it's only considered updated when it
35539 # actually changes, because it has to depend on a phony target.
35540 multilib.out: maybe-all-gcc
35541 @r=`${PWD_COMMAND}`; export r; \
35542 echo "Checking multilib configuration..."; \
35543 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
35544 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
35546 # Rebuilding Makefile.in, using autogen.
35548 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
35549 cd $(srcdir) && $(AUTOGEN) Makefile.def
35551 # Rebuilding Makefile.
35552 Makefile: $(srcdir)/Makefile.in config.status
35553 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
35555 config.status: configure $(gcc_version_trigger)
35556 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
35558 # Rebuilding configure.
35559 AUTOCONF = autoconf
35560 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
35561 cd $(srcdir) && $(AUTOCONF)
35563 # ------------------------------
35564 # Special directives to GNU Make
35565 # ------------------------------
35567 # Don't pass command-line variables to submakes.
35571 # end of Makefile.in