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 gcc driver likes to know the arguments it was configured with.
76 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
79 build_tooldir = @build_tooldir@
83 # This is the name of the environment variable used for the path to
85 RPATH_ENVVAR = @RPATH_ENVVAR@
87 # This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
89 SET_LIB_PATH = @SET_LIB_PATH@
91 # configure.in sets SET_LIB_PATH to this if --enable-shared was used.
92 # Some platforms don't like blank entries, so we remove duplicate,
93 # leading and trailing colons.
94 REALLY_SET_LIB_PATH = \
96 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
98 # This is the list of directories to be built for the build system.
99 BUILD_CONFIGDIRS = libiberty
100 # Build programs are put under this directory.
101 BUILD_SUBDIR = @build_subdir@
102 # This is set by the configure script to the arguments to use when configuring
103 # directories built for the build system.
104 BUILD_CONFIGARGS = @build_configargs@
106 # This is the list of variables to export in the environment when
107 # configuring any subdirectory. It must also be exported whenever
108 # recursing into a build directory in case that directory's Makefile
111 FLEX="$(FLEX)"; export FLEX; \
112 LEX="$(LEX)"; export LEX; \
113 BISON="$(BISON)"; export BISON; \
114 YACC="$(YACC)"; export YACC; \
115 M4="$(M4)"; export M4; \
116 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
118 # This is the list of variables to export in the environment when
119 # configuring subdirectories for the build system.
122 AR="$(AR_FOR_BUILD)"; export AR; \
123 AS="$(AS_FOR_BUILD)"; export AS; \
124 CC="$(CC_FOR_BUILD)"; export CC; \
125 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
126 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
127 CXX="$(CXX_FOR_BUILD)"; export CXX; \
128 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
129 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
130 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
131 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
132 LD="$(LD_FOR_BUILD)"; export LD; \
133 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
134 NM="$(NM_FOR_BUILD)"; export NM; \
135 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
136 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
138 # This is the list of directories to built for the host system.
139 SUBDIRS = @configdirs@
140 # This is set by the configure script to the arguments to use when configuring
141 # directories built for the host system.
142 HOST_CONFIGARGS = @host_configargs@
143 # Host programs are put under this directory, which is . except if building
145 HOST_SUBDIR = @host_subdir@
146 # This is the list of variables to export in the environment when
147 # configuring subdirectories for the host system.
150 CC="$(CC)"; export CC; \
151 CFLAGS="$(CFLAGS)"; export CFLAGS; \
152 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
153 CXX="$(CXX)"; export CXX; \
154 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
155 AR="$(AR)"; export AR; \
156 AS="$(AS)"; export AS; \
157 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
158 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
159 LD="$(LD)"; export LD; \
160 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
161 NM="$(NM)"; export NM; \
162 RANLIB="$(RANLIB)"; export RANLIB; \
163 WINDRES="$(WINDRES)"; export WINDRES; \
164 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
165 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
166 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
167 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
168 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
169 SET_GCC_LIB_PATH_CMD="@SET_GCC_LIB_PATH@"; export SET_GCC_LIB_PATH_CMD; \
172 # Similar, for later GCC stages.
173 STAGE_HOST_EXPORTS = \
175 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
176 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
177 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \
178 $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
179 -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
180 -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
182 # This is set by the configure script to the list of directories which
183 # should be built using the target tools.
184 TARGET_CONFIGDIRS = @target_configdirs@
185 # Target libraries are put under this directory:
186 TARGET_SUBDIR = @target_subdir@
187 # This is set by the configure script to the arguments to use when configuring
188 # directories built for the target.
189 TARGET_CONFIGARGS = @target_configargs@
190 # This is the list of variables to export in the environment when
191 # configuring subdirectories for the host system.
192 BASE_TARGET_EXPORTS = \
194 AR="$(AR_FOR_TARGET)"; export AR; \
195 AS="$(AS_FOR_TARGET)"; export AS; \
196 CC="$(CC_FOR_TARGET)"; export CC; \
197 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
198 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
199 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
200 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
201 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
202 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
203 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
204 LD="$(LD_FOR_TARGET)"; export LD; \
205 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
206 NM="$(NM_FOR_TARGET)"; export NM; \
207 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
208 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
209 SET_GCC_LIB_PATH_CMD="@SET_GCC_LIB_PATH@"; export SET_GCC_LIB_PATH_CMD; \
212 RAW_CXX_TARGET_EXPORTS = \
213 $(BASE_TARGET_EXPORTS) \
214 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
215 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
217 NORMAL_TARGET_EXPORTS = \
218 $(BASE_TARGET_EXPORTS) \
219 CXX="$(CXX_FOR_TARGET)"; export CXX;
222 HOST_GMPLIBS = @gmplibs@
223 HOST_GMPINC = @gmpinc@
225 # ----------------------------------------------
226 # Programs producing files for the BUILD machine
227 # ----------------------------------------------
229 SHELL = @config_shell@
231 # pwd command to use. Allow user to override default by setting PWDCMD in
232 # the environment to account for automounters. The make variable must not
233 # be called PWDCMD, otherwise the value set here is passed to make
234 # subprocesses and overrides the setting from the user's environment.
235 # Don't use PWD since it is a common shell environment variable and we
236 # don't want to corrupt it.
237 PWD_COMMAND = $${PWDCMD-pwd}
239 # compilers to use to create programs which must be run in the build
241 CC_FOR_BUILD = @CC_FOR_BUILD@
242 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
244 CXX_FOR_BUILD = $(CXX)
246 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
247 # here so that they can be overridden by Makefile fragments.
248 BUILD_PREFIX = @BUILD_PREFIX@
249 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
251 # Flags to pass to stage2 and later makes. They are defined
252 # here so that they can be overridden by Makefile fragments.
255 CONFIGURED_BISON = @CONFIGURED_BISON@
256 BISON = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
257 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison ; \
259 echo ${CONFIGURED_BISON} ; \
262 CONFIGURED_YACC = @CONFIGURED_YACC@
263 YACC = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
264 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison -y ; \
265 elif [ -f $$r/$(BUILD_SUBDIR)/byacc/byacc ] ; then \
266 echo $$r/$(BUILD_SUBDIR)/byacc/byacc ; \
268 echo ${CONFIGURED_YACC} ; \
271 CONFIGURED_FLEX = @CONFIGURED_FLEX@
272 FLEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
273 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
274 else echo ${CONFIGURED_FLEX} ; fi`
276 CONFIGURED_LEX = @CONFIGURED_LEX@
277 LEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
278 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
279 else echo ${CONFIGURED_LEX} ; fi`
281 CONFIGURED_M4 = @CONFIGURED_M4@
282 M4 = `if [ -f $$r/$(BUILD_SUBDIR)/m4/m4 ] ; \
283 then echo $$r/$(BUILD_SUBDIR)/m4/m4 ; \
284 else echo ${CONFIGURED_M4} ; fi`
286 # For an installed makeinfo, we require it to be from texinfo 4.2 or
287 # higher, else we use the "missing" dummy. We also pass the subdirectory
288 # makeinfo even if only the Makefile is there, because Texinfo builds its
289 # manual when made, and it requires its own version.
290 CONFIGURED_MAKEINFO = @CONFIGURED_MAKEINFO@
291 MAKEINFO = `if [ -f $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/Makefile ] ; \
292 then echo $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo ; \
293 else if (${CONFIGURED_MAKEINFO} --version \
294 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
295 then echo ${CONFIGURED_MAKEINFO}; else echo $$s/missing makeinfo; fi; fi`
297 # This just becomes part of the MAKEINFO definition passed down to
298 # sub-makes. It lets flags be given on the command line while still
299 # using the makeinfo from the object tree.
300 # (Default to avoid splitting info files by setting the threshold high.)
301 MAKEINFOFLAGS = --split-size=5000000
303 # FIXME: expect may become a build tool?
304 EXPECT = `if [ -f $$r/$(HOST_SUBDIR)/expect/expect ] ; \
305 then echo $$r/$(HOST_SUBDIR)/expect/expect ; \
306 else echo expect ; fi`
308 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
309 then echo $$s/dejagnu/runtest ; \
310 else echo runtest ; fi`
312 # ---------------------------------------------
313 # Programs producing files for the HOST machine
314 # ---------------------------------------------
316 # This is the list of directories that may be needed in RPATH_ENVVAR
317 # so that programs built for the host machine work.
318 HOST_LIB_PATH = $$r/$(HOST_SUBDIR)/bfd:$$r/$(HOST_SUBDIR)/opcodes
327 LIBCFLAGS = $(CFLAGS)
330 CXXFLAGS = @CXXFLAGS@
331 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
346 # -----------------------------------------------
347 # Programs producing files for the TARGET machine
348 # -----------------------------------------------
350 # This is the list of directories that may be needed in RPATH_ENVVAR
351 # so that prorgams built for the target machine work.
352 TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:$$r/$(TARGET_SUBDIR)/libmudflap/.libs
354 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
356 AR_FOR_TARGET=@AR_FOR_TARGET@
357 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
358 USUAL_AR_FOR_TARGET = ` \
359 if [ -f $$r/$(HOST_SUBDIR)/binutils/ar ] ; then \
360 echo $$r/$(HOST_SUBDIR)/binutils/ar ; \
362 if [ '$(host)' = '$(target)' ] ; then \
365 echo $(CONFIGURED_AR_FOR_TARGET) ; \
369 AS_FOR_TARGET=@AS_FOR_TARGET@
370 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
371 USUAL_AS_FOR_TARGET = ` \
372 if [ -f $$r/$(HOST_SUBDIR)/gas/as-new ] ; then \
373 echo $$r/$(HOST_SUBDIR)/gas/as-new ; \
374 elif [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ]; then \
375 $(CC_FOR_TARGET) -print-prog-name=as ; \
377 if [ '$(host)' = '$(target)' ] ; then \
380 echo $(CONFIGURED_AS_FOR_TARGET) ; \
384 CC_FOR_TARGET = @CC_FOR_TARGET@
385 # During gcc bootstrap, if we use some random cc for stage1 then
386 # CFLAGS will be just -g. We want to ensure that TARGET libraries
387 # (which we know are built with gcc) are built with optimizations so
388 # prepend -O2 when setting CFLAGS_FOR_TARGET.
389 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
390 # If GCC_FOR_TARGET is not overriden on the command line, then this
391 # variable is passed down to the gcc Makefile, where it is used to
392 # build libgcc2.a. We define it here so that it can itself be
393 # overridden on the command line.
394 GCC_FOR_TARGET=@GCC_FOR_TARGET@
395 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) \
396 $$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/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/$(HOST_SUBDIR)/binutils/dlltool ] ; then \
410 echo $$r/$(HOST_SUBDIR)/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/$(HOST_SUBDIR)/ld/ld-new ] ; then \
426 echo $$r/$(HOST_SUBDIR)/ld/ld-new ; \
427 elif [ -f $$r/$(HOST_SUBDIR)/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/$(HOST_SUBDIR)/binutils/nm-new ] ; then \
443 echo $$r/$(HOST_SUBDIR)/binutils/nm-new ; \
444 elif [ -f $$r/$(HOST_SUBDIR)/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/$(HOST_SUBDIR)/binutils/ranlib ] ; then \
458 echo $$r/$(HOST_SUBDIR)/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/$(HOST_SUBDIR)/binutils/windres ] ; then \
475 echo $$r/$(HOST_SUBDIR)/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 "localstatedir=$(localstatedir)" \
516 "oldincludedir=$(oldincludedir)" \
518 "sbindir=$(sbindir)" \
519 "sharedstatedir=$(sharedstatedir)" \
520 "sysconfdir=$(sysconfdir)" \
521 "tooldir=$(tooldir)" \
522 "build_tooldir=$(build_tooldir)" \
523 "target_alias=$(target_alias)" \
525 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
526 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
529 "INSTALL=$(INSTALL)" \
530 "INSTALL_DATA=$(INSTALL_DATA)" \
531 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
532 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
536 "RUNTEST=$(RUNTEST)" \
537 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
540 "AR_FLAGS=$(AR_FLAGS)" \
542 "CXXFLAGS=$(CXXFLAGS)" \
543 "LDFLAGS=$(LDFLAGS)" \
544 "LIBCFLAGS=$(LIBCFLAGS)" \
545 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
546 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
547 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
548 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
549 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
550 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
551 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
552 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
553 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
554 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
555 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
556 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
557 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
558 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
559 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
560 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
561 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
562 "CONFIG_SHELL=$(SHELL)" \
563 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
565 # For any flags above that may contain shell code that varies from one
566 # target library to another. When doing recursive invocations of the
567 # top-level Makefile, we don't want the outer make to evaluate them,
568 # so we pass these variables down unchanged. They must not contain
569 # single nor double quotes.
571 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
572 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
574 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS)
576 # Flags to pass down to most sub-makes, in which we're building with
577 # the host environment.
583 'DLLTOOL=$(DLLTOOL)' \
589 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
591 # Flags that are concerned with the location of the X11 include files
594 # NOTE: until the top-level is getting the values via autoconf, it only
595 # causes problems to have this top-level Makefile overriding the autoconf-set
596 # values in child directories. Only variables that don't conflict with
597 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
599 X11_FLAGS_TO_PASS = \
600 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
601 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
603 # Flags to pass down to makes which are built with the target environment.
604 # The double $ decreases the length of the command line; the variables
605 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
606 EXTRA_TARGET_FLAGS = \
607 'AR=$$(AR_FOR_TARGET)' \
608 'AS=$$(AS_FOR_TARGET)' \
609 'CC=$$(CC_FOR_TARGET)' \
610 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
611 'CXX=$$(CXX_FOR_TARGET)' \
612 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
613 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
614 'LD=$$(LD_FOR_TARGET)' \
615 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
616 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
617 'NM=$$(NM_FOR_TARGET)' \
618 'RANLIB=$$(RANLIB_FOR_TARGET)' \
619 'WINDRES=$$(WINDRES_FOR_TARGET)'
621 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
623 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
624 # unfortunately needs the native compiler and the target ar and
626 # If any variables are added here, they must be added to do-*, below.
627 # The BUILD_* variables are a special case, which are used for the gcc
628 # cross-building scheme.
630 'BUILD_PREFIX=$(BUILD_PREFIX)' \
631 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
632 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
633 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
634 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
635 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
636 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
637 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
638 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
639 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
640 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
641 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
642 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
644 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
646 .PHONY: configure-host
648 maybe-configure-ash \
649 maybe-configure-autoconf \
650 maybe-configure-automake \
651 maybe-configure-bash \
652 maybe-configure-bfd \
653 maybe-configure-opcodes \
654 maybe-configure-binutils \
655 maybe-configure-bison \
656 maybe-configure-byacc \
657 maybe-configure-bzip2 \
658 maybe-configure-dejagnu \
659 maybe-configure-diff \
660 maybe-configure-dosutils \
661 maybe-configure-etc \
662 maybe-configure-fastjar \
663 maybe-configure-fileutils \
664 maybe-configure-findutils \
665 maybe-configure-find \
666 maybe-configure-fixincludes \
667 maybe-configure-flex \
668 maybe-configure-gas \
669 maybe-configure-gcc \
670 maybe-configure-gawk \
671 maybe-configure-gettext \
672 maybe-configure-gnuserv \
673 maybe-configure-gprof \
674 maybe-configure-gzip \
675 maybe-configure-hello \
676 maybe-configure-indent \
677 maybe-configure-intl \
678 maybe-configure-tcl \
679 maybe-configure-itcl \
681 maybe-configure-libcpp \
682 maybe-configure-libgui \
683 maybe-configure-libiberty \
684 maybe-configure-libtool \
686 maybe-configure-make \
687 maybe-configure-mmalloc \
688 maybe-configure-patch \
689 maybe-configure-perl \
690 maybe-configure-prms \
691 maybe-configure-rcs \
692 maybe-configure-readline \
693 maybe-configure-release \
694 maybe-configure-recode \
695 maybe-configure-sed \
696 maybe-configure-send-pr \
697 maybe-configure-shellutils \
698 maybe-configure-sid \
699 maybe-configure-sim \
700 maybe-configure-tar \
701 maybe-configure-texinfo \
702 maybe-configure-textutils \
703 maybe-configure-time \
704 maybe-configure-uudecode \
705 maybe-configure-wdiff \
706 maybe-configure-zip \
707 maybe-configure-zlib \
708 maybe-configure-gdb \
709 maybe-configure-expect \
710 maybe-configure-guile \
712 maybe-configure-libtermcap \
713 maybe-configure-utils \
714 maybe-configure-gnattools
715 .PHONY: configure-target
717 maybe-configure-target-libstdc++-v3 \
718 maybe-configure-target-libmudflap \
719 maybe-configure-target-newlib \
720 maybe-configure-target-libgfortran \
721 maybe-configure-target-libobjc \
722 maybe-configure-target-libtermcap \
723 maybe-configure-target-winsup \
724 maybe-configure-target-libgloss \
725 maybe-configure-target-libiberty \
726 maybe-configure-target-gperf \
727 maybe-configure-target-examples \
728 maybe-configure-target-libffi \
729 maybe-configure-target-libjava \
730 maybe-configure-target-zlib \
731 maybe-configure-target-boehm-gc \
732 maybe-configure-target-qthreads \
733 maybe-configure-target-rda \
734 maybe-configure-target-libada
736 # The target built for a native non-bootstrap build.
738 all: unstage all-host all-target stage
742 maybe-all-build-libiberty \
743 maybe-all-build-bison \
744 maybe-all-build-byacc \
745 maybe-all-build-flex \
747 maybe-all-build-texinfo \
748 maybe-all-build-fixincludes
766 maybe-all-fileutils \
767 maybe-all-findutils \
769 maybe-all-fixincludes \
786 maybe-all-libiberty \
800 maybe-all-shellutils \
805 maybe-all-textutils \
815 maybe-all-libtermcap \
820 maybe-all-target-libstdc++-v3 \
821 maybe-all-target-libmudflap \
822 maybe-all-target-newlib \
823 maybe-all-target-libgfortran \
824 maybe-all-target-libobjc \
825 maybe-all-target-libtermcap \
826 maybe-all-target-winsup \
827 maybe-all-target-libgloss \
828 maybe-all-target-libiberty \
829 maybe-all-target-gperf \
830 maybe-all-target-examples \
831 maybe-all-target-libffi \
832 maybe-all-target-libjava \
833 maybe-all-target-zlib \
834 maybe-all-target-boehm-gc \
835 maybe-all-target-qthreads \
836 maybe-all-target-rda \
837 maybe-all-target-libada
839 # Do a target for all the subdirectories. A ``make do-X'' will do a
840 # ``make X'' in all subdirectories (because, in general, there is a
841 # dependency (below) of X upon do-X, a ``make X'' will also do this,
842 # but it may do additional work as well).
845 do-info: unstage info-host info-target stage
850 maybe-info-autoconf \
851 maybe-info-automake \
855 maybe-info-binutils \
861 maybe-info-dosutils \
864 maybe-info-fileutils \
865 maybe-info-findutils \
867 maybe-info-fixincludes \
884 maybe-info-libiberty \
893 maybe-info-readline \
898 maybe-info-shellutils \
903 maybe-info-textutils \
905 maybe-info-uudecode \
913 maybe-info-libtermcap \
919 maybe-info-target-libstdc++-v3 \
920 maybe-info-target-libmudflap \
921 maybe-info-target-newlib \
922 maybe-info-target-libgfortran \
923 maybe-info-target-libobjc \
924 maybe-info-target-libtermcap \
925 maybe-info-target-winsup \
926 maybe-info-target-libgloss \
927 maybe-info-target-libiberty \
928 maybe-info-target-gperf \
929 maybe-info-target-examples \
930 maybe-info-target-libffi \
931 maybe-info-target-libjava \
932 maybe-info-target-zlib \
933 maybe-info-target-boehm-gc \
934 maybe-info-target-qthreads \
935 maybe-info-target-rda \
936 maybe-info-target-libada
939 do-dvi: unstage dvi-host dvi-target stage
958 maybe-dvi-fileutils \
959 maybe-dvi-findutils \
961 maybe-dvi-fixincludes \
978 maybe-dvi-libiberty \
992 maybe-dvi-shellutils \
997 maybe-dvi-textutils \
1007 maybe-dvi-libtermcap \
1013 maybe-dvi-target-libstdc++-v3 \
1014 maybe-dvi-target-libmudflap \
1015 maybe-dvi-target-newlib \
1016 maybe-dvi-target-libgfortran \
1017 maybe-dvi-target-libobjc \
1018 maybe-dvi-target-libtermcap \
1019 maybe-dvi-target-winsup \
1020 maybe-dvi-target-libgloss \
1021 maybe-dvi-target-libiberty \
1022 maybe-dvi-target-gperf \
1023 maybe-dvi-target-examples \
1024 maybe-dvi-target-libffi \
1025 maybe-dvi-target-libjava \
1026 maybe-dvi-target-zlib \
1027 maybe-dvi-target-boehm-gc \
1028 maybe-dvi-target-qthreads \
1029 maybe-dvi-target-rda \
1030 maybe-dvi-target-libada
1033 do-html: unstage html-host html-target stage
1038 maybe-html-autoconf \
1039 maybe-html-automake \
1042 maybe-html-opcodes \
1043 maybe-html-binutils \
1047 maybe-html-dejagnu \
1049 maybe-html-dosutils \
1051 maybe-html-fastjar \
1052 maybe-html-fileutils \
1053 maybe-html-findutils \
1055 maybe-html-fixincludes \
1060 maybe-html-gettext \
1061 maybe-html-gnuserv \
1072 maybe-html-libiberty \
1073 maybe-html-libtool \
1076 maybe-html-mmalloc \
1081 maybe-html-readline \
1082 maybe-html-release \
1085 maybe-html-send-pr \
1086 maybe-html-shellutils \
1090 maybe-html-texinfo \
1091 maybe-html-textutils \
1093 maybe-html-uudecode \
1101 maybe-html-libtermcap \
1103 maybe-html-gnattools
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 \
1197 maybe-TAGS-gnattools
1201 maybe-TAGS-target-libstdc++-v3 \
1202 maybe-TAGS-target-libmudflap \
1203 maybe-TAGS-target-newlib \
1204 maybe-TAGS-target-libgfortran \
1205 maybe-TAGS-target-libobjc \
1206 maybe-TAGS-target-libtermcap \
1207 maybe-TAGS-target-winsup \
1208 maybe-TAGS-target-libgloss \
1209 maybe-TAGS-target-libiberty \
1210 maybe-TAGS-target-gperf \
1211 maybe-TAGS-target-examples \
1212 maybe-TAGS-target-libffi \
1213 maybe-TAGS-target-libjava \
1214 maybe-TAGS-target-zlib \
1215 maybe-TAGS-target-boehm-gc \
1216 maybe-TAGS-target-qthreads \
1217 maybe-TAGS-target-rda \
1218 maybe-TAGS-target-libada
1220 .PHONY: do-install-info
1221 do-install-info: unstage install-info-host install-info-target stage
1223 .PHONY: install-info-host
1224 install-info-host: \
1225 maybe-install-info-ash \
1226 maybe-install-info-autoconf \
1227 maybe-install-info-automake \
1228 maybe-install-info-bash \
1229 maybe-install-info-bfd \
1230 maybe-install-info-opcodes \
1231 maybe-install-info-binutils \
1232 maybe-install-info-bison \
1233 maybe-install-info-byacc \
1234 maybe-install-info-bzip2 \
1235 maybe-install-info-dejagnu \
1236 maybe-install-info-diff \
1237 maybe-install-info-dosutils \
1238 maybe-install-info-etc \
1239 maybe-install-info-fastjar \
1240 maybe-install-info-fileutils \
1241 maybe-install-info-findutils \
1242 maybe-install-info-find \
1243 maybe-install-info-fixincludes \
1244 maybe-install-info-flex \
1245 maybe-install-info-gas \
1246 maybe-install-info-gcc \
1247 maybe-install-info-gawk \
1248 maybe-install-info-gettext \
1249 maybe-install-info-gnuserv \
1250 maybe-install-info-gprof \
1251 maybe-install-info-gzip \
1252 maybe-install-info-hello \
1253 maybe-install-info-indent \
1254 maybe-install-info-intl \
1255 maybe-install-info-tcl \
1256 maybe-install-info-itcl \
1257 maybe-install-info-ld \
1258 maybe-install-info-libcpp \
1259 maybe-install-info-libgui \
1260 maybe-install-info-libiberty \
1261 maybe-install-info-libtool \
1262 maybe-install-info-m4 \
1263 maybe-install-info-make \
1264 maybe-install-info-mmalloc \
1265 maybe-install-info-patch \
1266 maybe-install-info-perl \
1267 maybe-install-info-prms \
1268 maybe-install-info-rcs \
1269 maybe-install-info-readline \
1270 maybe-install-info-release \
1271 maybe-install-info-recode \
1272 maybe-install-info-sed \
1273 maybe-install-info-send-pr \
1274 maybe-install-info-shellutils \
1275 maybe-install-info-sid \
1276 maybe-install-info-sim \
1277 maybe-install-info-tar \
1278 maybe-install-info-texinfo \
1279 maybe-install-info-textutils \
1280 maybe-install-info-time \
1281 maybe-install-info-uudecode \
1282 maybe-install-info-wdiff \
1283 maybe-install-info-zip \
1284 maybe-install-info-zlib \
1285 maybe-install-info-gdb \
1286 maybe-install-info-expect \
1287 maybe-install-info-guile \
1288 maybe-install-info-tk \
1289 maybe-install-info-libtermcap \
1290 maybe-install-info-utils \
1291 maybe-install-info-gnattools
1293 .PHONY: install-info-target
1294 install-info-target: \
1295 maybe-install-info-target-libstdc++-v3 \
1296 maybe-install-info-target-libmudflap \
1297 maybe-install-info-target-newlib \
1298 maybe-install-info-target-libgfortran \
1299 maybe-install-info-target-libobjc \
1300 maybe-install-info-target-libtermcap \
1301 maybe-install-info-target-winsup \
1302 maybe-install-info-target-libgloss \
1303 maybe-install-info-target-libiberty \
1304 maybe-install-info-target-gperf \
1305 maybe-install-info-target-examples \
1306 maybe-install-info-target-libffi \
1307 maybe-install-info-target-libjava \
1308 maybe-install-info-target-zlib \
1309 maybe-install-info-target-boehm-gc \
1310 maybe-install-info-target-qthreads \
1311 maybe-install-info-target-rda \
1312 maybe-install-info-target-libada
1314 .PHONY: do-installcheck
1315 do-installcheck: unstage installcheck-host installcheck-target stage
1317 .PHONY: installcheck-host
1318 installcheck-host: \
1319 maybe-installcheck-ash \
1320 maybe-installcheck-autoconf \
1321 maybe-installcheck-automake \
1322 maybe-installcheck-bash \
1323 maybe-installcheck-bfd \
1324 maybe-installcheck-opcodes \
1325 maybe-installcheck-binutils \
1326 maybe-installcheck-bison \
1327 maybe-installcheck-byacc \
1328 maybe-installcheck-bzip2 \
1329 maybe-installcheck-dejagnu \
1330 maybe-installcheck-diff \
1331 maybe-installcheck-dosutils \
1332 maybe-installcheck-etc \
1333 maybe-installcheck-fastjar \
1334 maybe-installcheck-fileutils \
1335 maybe-installcheck-findutils \
1336 maybe-installcheck-find \
1337 maybe-installcheck-fixincludes \
1338 maybe-installcheck-flex \
1339 maybe-installcheck-gas \
1340 maybe-installcheck-gcc \
1341 maybe-installcheck-gawk \
1342 maybe-installcheck-gettext \
1343 maybe-installcheck-gnuserv \
1344 maybe-installcheck-gprof \
1345 maybe-installcheck-gzip \
1346 maybe-installcheck-hello \
1347 maybe-installcheck-indent \
1348 maybe-installcheck-intl \
1349 maybe-installcheck-tcl \
1350 maybe-installcheck-itcl \
1351 maybe-installcheck-ld \
1352 maybe-installcheck-libcpp \
1353 maybe-installcheck-libgui \
1354 maybe-installcheck-libiberty \
1355 maybe-installcheck-libtool \
1356 maybe-installcheck-m4 \
1357 maybe-installcheck-make \
1358 maybe-installcheck-mmalloc \
1359 maybe-installcheck-patch \
1360 maybe-installcheck-perl \
1361 maybe-installcheck-prms \
1362 maybe-installcheck-rcs \
1363 maybe-installcheck-readline \
1364 maybe-installcheck-release \
1365 maybe-installcheck-recode \
1366 maybe-installcheck-sed \
1367 maybe-installcheck-send-pr \
1368 maybe-installcheck-shellutils \
1369 maybe-installcheck-sid \
1370 maybe-installcheck-sim \
1371 maybe-installcheck-tar \
1372 maybe-installcheck-texinfo \
1373 maybe-installcheck-textutils \
1374 maybe-installcheck-time \
1375 maybe-installcheck-uudecode \
1376 maybe-installcheck-wdiff \
1377 maybe-installcheck-zip \
1378 maybe-installcheck-zlib \
1379 maybe-installcheck-gdb \
1380 maybe-installcheck-expect \
1381 maybe-installcheck-guile \
1382 maybe-installcheck-tk \
1383 maybe-installcheck-libtermcap \
1384 maybe-installcheck-utils \
1385 maybe-installcheck-gnattools
1387 .PHONY: installcheck-target
1388 installcheck-target: \
1389 maybe-installcheck-target-libstdc++-v3 \
1390 maybe-installcheck-target-libmudflap \
1391 maybe-installcheck-target-newlib \
1392 maybe-installcheck-target-libgfortran \
1393 maybe-installcheck-target-libobjc \
1394 maybe-installcheck-target-libtermcap \
1395 maybe-installcheck-target-winsup \
1396 maybe-installcheck-target-libgloss \
1397 maybe-installcheck-target-libiberty \
1398 maybe-installcheck-target-gperf \
1399 maybe-installcheck-target-examples \
1400 maybe-installcheck-target-libffi \
1401 maybe-installcheck-target-libjava \
1402 maybe-installcheck-target-zlib \
1403 maybe-installcheck-target-boehm-gc \
1404 maybe-installcheck-target-qthreads \
1405 maybe-installcheck-target-rda \
1406 maybe-installcheck-target-libada
1408 .PHONY: do-mostlyclean
1409 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1411 .PHONY: mostlyclean-host
1413 maybe-mostlyclean-ash \
1414 maybe-mostlyclean-autoconf \
1415 maybe-mostlyclean-automake \
1416 maybe-mostlyclean-bash \
1417 maybe-mostlyclean-bfd \
1418 maybe-mostlyclean-opcodes \
1419 maybe-mostlyclean-binutils \
1420 maybe-mostlyclean-bison \
1421 maybe-mostlyclean-byacc \
1422 maybe-mostlyclean-bzip2 \
1423 maybe-mostlyclean-dejagnu \
1424 maybe-mostlyclean-diff \
1425 maybe-mostlyclean-dosutils \
1426 maybe-mostlyclean-etc \
1427 maybe-mostlyclean-fastjar \
1428 maybe-mostlyclean-fileutils \
1429 maybe-mostlyclean-findutils \
1430 maybe-mostlyclean-find \
1431 maybe-mostlyclean-fixincludes \
1432 maybe-mostlyclean-flex \
1433 maybe-mostlyclean-gas \
1434 maybe-mostlyclean-gcc \
1435 maybe-mostlyclean-gawk \
1436 maybe-mostlyclean-gettext \
1437 maybe-mostlyclean-gnuserv \
1438 maybe-mostlyclean-gprof \
1439 maybe-mostlyclean-gzip \
1440 maybe-mostlyclean-hello \
1441 maybe-mostlyclean-indent \
1442 maybe-mostlyclean-intl \
1443 maybe-mostlyclean-tcl \
1444 maybe-mostlyclean-itcl \
1445 maybe-mostlyclean-ld \
1446 maybe-mostlyclean-libcpp \
1447 maybe-mostlyclean-libgui \
1448 maybe-mostlyclean-libiberty \
1449 maybe-mostlyclean-libtool \
1450 maybe-mostlyclean-m4 \
1451 maybe-mostlyclean-make \
1452 maybe-mostlyclean-mmalloc \
1453 maybe-mostlyclean-patch \
1454 maybe-mostlyclean-perl \
1455 maybe-mostlyclean-prms \
1456 maybe-mostlyclean-rcs \
1457 maybe-mostlyclean-readline \
1458 maybe-mostlyclean-release \
1459 maybe-mostlyclean-recode \
1460 maybe-mostlyclean-sed \
1461 maybe-mostlyclean-send-pr \
1462 maybe-mostlyclean-shellutils \
1463 maybe-mostlyclean-sid \
1464 maybe-mostlyclean-sim \
1465 maybe-mostlyclean-tar \
1466 maybe-mostlyclean-texinfo \
1467 maybe-mostlyclean-textutils \
1468 maybe-mostlyclean-time \
1469 maybe-mostlyclean-uudecode \
1470 maybe-mostlyclean-wdiff \
1471 maybe-mostlyclean-zip \
1472 maybe-mostlyclean-zlib \
1473 maybe-mostlyclean-gdb \
1474 maybe-mostlyclean-expect \
1475 maybe-mostlyclean-guile \
1476 maybe-mostlyclean-tk \
1477 maybe-mostlyclean-libtermcap \
1478 maybe-mostlyclean-utils \
1479 maybe-mostlyclean-gnattools
1481 .PHONY: mostlyclean-target
1482 mostlyclean-target: \
1483 maybe-mostlyclean-target-libstdc++-v3 \
1484 maybe-mostlyclean-target-libmudflap \
1485 maybe-mostlyclean-target-newlib \
1486 maybe-mostlyclean-target-libgfortran \
1487 maybe-mostlyclean-target-libobjc \
1488 maybe-mostlyclean-target-libtermcap \
1489 maybe-mostlyclean-target-winsup \
1490 maybe-mostlyclean-target-libgloss \
1491 maybe-mostlyclean-target-libiberty \
1492 maybe-mostlyclean-target-gperf \
1493 maybe-mostlyclean-target-examples \
1494 maybe-mostlyclean-target-libffi \
1495 maybe-mostlyclean-target-libjava \
1496 maybe-mostlyclean-target-zlib \
1497 maybe-mostlyclean-target-boehm-gc \
1498 maybe-mostlyclean-target-qthreads \
1499 maybe-mostlyclean-target-rda \
1500 maybe-mostlyclean-target-libada
1503 do-clean: unstage clean-host clean-target stage
1508 maybe-clean-autoconf \
1509 maybe-clean-automake \
1512 maybe-clean-opcodes \
1513 maybe-clean-binutils \
1517 maybe-clean-dejagnu \
1519 maybe-clean-dosutils \
1521 maybe-clean-fastjar \
1522 maybe-clean-fileutils \
1523 maybe-clean-findutils \
1525 maybe-clean-fixincludes \
1530 maybe-clean-gettext \
1531 maybe-clean-gnuserv \
1535 maybe-clean-indent \
1540 maybe-clean-libcpp \
1541 maybe-clean-libgui \
1542 maybe-clean-libiberty \
1543 maybe-clean-libtool \
1546 maybe-clean-mmalloc \
1551 maybe-clean-readline \
1552 maybe-clean-release \
1553 maybe-clean-recode \
1555 maybe-clean-send-pr \
1556 maybe-clean-shellutils \
1560 maybe-clean-texinfo \
1561 maybe-clean-textutils \
1563 maybe-clean-uudecode \
1568 maybe-clean-expect \
1571 maybe-clean-libtermcap \
1573 maybe-clean-gnattools
1575 .PHONY: clean-target
1577 maybe-clean-target-libstdc++-v3 \
1578 maybe-clean-target-libmudflap \
1579 maybe-clean-target-newlib \
1580 maybe-clean-target-libgfortran \
1581 maybe-clean-target-libobjc \
1582 maybe-clean-target-libtermcap \
1583 maybe-clean-target-winsup \
1584 maybe-clean-target-libgloss \
1585 maybe-clean-target-libiberty \
1586 maybe-clean-target-gperf \
1587 maybe-clean-target-examples \
1588 maybe-clean-target-libffi \
1589 maybe-clean-target-libjava \
1590 maybe-clean-target-zlib \
1591 maybe-clean-target-boehm-gc \
1592 maybe-clean-target-qthreads \
1593 maybe-clean-target-rda \
1594 maybe-clean-target-libada
1596 .PHONY: do-distclean
1597 do-distclean: unstage distclean-host distclean-target stage
1599 .PHONY: distclean-host
1601 maybe-distclean-ash \
1602 maybe-distclean-autoconf \
1603 maybe-distclean-automake \
1604 maybe-distclean-bash \
1605 maybe-distclean-bfd \
1606 maybe-distclean-opcodes \
1607 maybe-distclean-binutils \
1608 maybe-distclean-bison \
1609 maybe-distclean-byacc \
1610 maybe-distclean-bzip2 \
1611 maybe-distclean-dejagnu \
1612 maybe-distclean-diff \
1613 maybe-distclean-dosutils \
1614 maybe-distclean-etc \
1615 maybe-distclean-fastjar \
1616 maybe-distclean-fileutils \
1617 maybe-distclean-findutils \
1618 maybe-distclean-find \
1619 maybe-distclean-fixincludes \
1620 maybe-distclean-flex \
1621 maybe-distclean-gas \
1622 maybe-distclean-gcc \
1623 maybe-distclean-gawk \
1624 maybe-distclean-gettext \
1625 maybe-distclean-gnuserv \
1626 maybe-distclean-gprof \
1627 maybe-distclean-gzip \
1628 maybe-distclean-hello \
1629 maybe-distclean-indent \
1630 maybe-distclean-intl \
1631 maybe-distclean-tcl \
1632 maybe-distclean-itcl \
1633 maybe-distclean-ld \
1634 maybe-distclean-libcpp \
1635 maybe-distclean-libgui \
1636 maybe-distclean-libiberty \
1637 maybe-distclean-libtool \
1638 maybe-distclean-m4 \
1639 maybe-distclean-make \
1640 maybe-distclean-mmalloc \
1641 maybe-distclean-patch \
1642 maybe-distclean-perl \
1643 maybe-distclean-prms \
1644 maybe-distclean-rcs \
1645 maybe-distclean-readline \
1646 maybe-distclean-release \
1647 maybe-distclean-recode \
1648 maybe-distclean-sed \
1649 maybe-distclean-send-pr \
1650 maybe-distclean-shellutils \
1651 maybe-distclean-sid \
1652 maybe-distclean-sim \
1653 maybe-distclean-tar \
1654 maybe-distclean-texinfo \
1655 maybe-distclean-textutils \
1656 maybe-distclean-time \
1657 maybe-distclean-uudecode \
1658 maybe-distclean-wdiff \
1659 maybe-distclean-zip \
1660 maybe-distclean-zlib \
1661 maybe-distclean-gdb \
1662 maybe-distclean-expect \
1663 maybe-distclean-guile \
1664 maybe-distclean-tk \
1665 maybe-distclean-libtermcap \
1666 maybe-distclean-utils \
1667 maybe-distclean-gnattools
1669 .PHONY: distclean-target
1671 maybe-distclean-target-libstdc++-v3 \
1672 maybe-distclean-target-libmudflap \
1673 maybe-distclean-target-newlib \
1674 maybe-distclean-target-libgfortran \
1675 maybe-distclean-target-libobjc \
1676 maybe-distclean-target-libtermcap \
1677 maybe-distclean-target-winsup \
1678 maybe-distclean-target-libgloss \
1679 maybe-distclean-target-libiberty \
1680 maybe-distclean-target-gperf \
1681 maybe-distclean-target-examples \
1682 maybe-distclean-target-libffi \
1683 maybe-distclean-target-libjava \
1684 maybe-distclean-target-zlib \
1685 maybe-distclean-target-boehm-gc \
1686 maybe-distclean-target-qthreads \
1687 maybe-distclean-target-rda \
1688 maybe-distclean-target-libada
1690 .PHONY: do-maintainer-clean
1691 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1693 .PHONY: maintainer-clean-host
1694 maintainer-clean-host: \
1695 maybe-maintainer-clean-ash \
1696 maybe-maintainer-clean-autoconf \
1697 maybe-maintainer-clean-automake \
1698 maybe-maintainer-clean-bash \
1699 maybe-maintainer-clean-bfd \
1700 maybe-maintainer-clean-opcodes \
1701 maybe-maintainer-clean-binutils \
1702 maybe-maintainer-clean-bison \
1703 maybe-maintainer-clean-byacc \
1704 maybe-maintainer-clean-bzip2 \
1705 maybe-maintainer-clean-dejagnu \
1706 maybe-maintainer-clean-diff \
1707 maybe-maintainer-clean-dosutils \
1708 maybe-maintainer-clean-etc \
1709 maybe-maintainer-clean-fastjar \
1710 maybe-maintainer-clean-fileutils \
1711 maybe-maintainer-clean-findutils \
1712 maybe-maintainer-clean-find \
1713 maybe-maintainer-clean-fixincludes \
1714 maybe-maintainer-clean-flex \
1715 maybe-maintainer-clean-gas \
1716 maybe-maintainer-clean-gcc \
1717 maybe-maintainer-clean-gawk \
1718 maybe-maintainer-clean-gettext \
1719 maybe-maintainer-clean-gnuserv \
1720 maybe-maintainer-clean-gprof \
1721 maybe-maintainer-clean-gzip \
1722 maybe-maintainer-clean-hello \
1723 maybe-maintainer-clean-indent \
1724 maybe-maintainer-clean-intl \
1725 maybe-maintainer-clean-tcl \
1726 maybe-maintainer-clean-itcl \
1727 maybe-maintainer-clean-ld \
1728 maybe-maintainer-clean-libcpp \
1729 maybe-maintainer-clean-libgui \
1730 maybe-maintainer-clean-libiberty \
1731 maybe-maintainer-clean-libtool \
1732 maybe-maintainer-clean-m4 \
1733 maybe-maintainer-clean-make \
1734 maybe-maintainer-clean-mmalloc \
1735 maybe-maintainer-clean-patch \
1736 maybe-maintainer-clean-perl \
1737 maybe-maintainer-clean-prms \
1738 maybe-maintainer-clean-rcs \
1739 maybe-maintainer-clean-readline \
1740 maybe-maintainer-clean-release \
1741 maybe-maintainer-clean-recode \
1742 maybe-maintainer-clean-sed \
1743 maybe-maintainer-clean-send-pr \
1744 maybe-maintainer-clean-shellutils \
1745 maybe-maintainer-clean-sid \
1746 maybe-maintainer-clean-sim \
1747 maybe-maintainer-clean-tar \
1748 maybe-maintainer-clean-texinfo \
1749 maybe-maintainer-clean-textutils \
1750 maybe-maintainer-clean-time \
1751 maybe-maintainer-clean-uudecode \
1752 maybe-maintainer-clean-wdiff \
1753 maybe-maintainer-clean-zip \
1754 maybe-maintainer-clean-zlib \
1755 maybe-maintainer-clean-gdb \
1756 maybe-maintainer-clean-expect \
1757 maybe-maintainer-clean-guile \
1758 maybe-maintainer-clean-tk \
1759 maybe-maintainer-clean-libtermcap \
1760 maybe-maintainer-clean-utils \
1761 maybe-maintainer-clean-gnattools
1763 .PHONY: maintainer-clean-target
1764 maintainer-clean-target: \
1765 maybe-maintainer-clean-target-libstdc++-v3 \
1766 maybe-maintainer-clean-target-libmudflap \
1767 maybe-maintainer-clean-target-newlib \
1768 maybe-maintainer-clean-target-libgfortran \
1769 maybe-maintainer-clean-target-libobjc \
1770 maybe-maintainer-clean-target-libtermcap \
1771 maybe-maintainer-clean-target-winsup \
1772 maybe-maintainer-clean-target-libgloss \
1773 maybe-maintainer-clean-target-libiberty \
1774 maybe-maintainer-clean-target-gperf \
1775 maybe-maintainer-clean-target-examples \
1776 maybe-maintainer-clean-target-libffi \
1777 maybe-maintainer-clean-target-libjava \
1778 maybe-maintainer-clean-target-zlib \
1779 maybe-maintainer-clean-target-boehm-gc \
1780 maybe-maintainer-clean-target-qthreads \
1781 maybe-maintainer-clean-target-rda \
1782 maybe-maintainer-clean-target-libada
1785 # Here are the targets which correspond to the do-X targets.
1787 .PHONY: info installcheck dvi html install-info
1788 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1789 .PHONY: local-clean local-distclean local-maintainer-clean
1791 installcheck: do-installcheck
1795 # Make sure makeinfo is built before we do a `make info', if we're
1796 # in fact building texinfo.
1797 do-info: maybe-all-texinfo
1799 install-info: do-install-info dir.info
1800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1801 if [ -f dir.info ] ; then \
1802 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1806 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1809 -rm -f Makefile config.status config.cache mh-frag mt-frag
1810 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1811 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1812 rm -rf $(TARGET_SUBDIR); \
1814 -rm -rf $(BUILD_SUBDIR)
1815 -if [ "$(HOST_SUBDIR)" != "." ]; then \
1816 rm -rf $(HOST_SUBDIR); \
1818 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1819 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1820 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1821 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1822 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1824 local-maintainer-clean:
1825 @echo "This command is intended for maintainers to use;"
1826 @echo "it deletes files that may require special tools to rebuild."
1828 clean: do-clean local-clean
1829 mostlyclean: do-mostlyclean local-clean
1830 distclean: do-distclean local-clean local-distclean
1831 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1832 maintainer-clean: local-distclean
1833 realclean: maintainer-clean
1835 # Extra dependency for clean-target, owing to the mixed nature of gcc
1836 clean-target: clean-target-libgcc
1837 clean-target-libgcc:
1838 test ! -d gcc/libgcc || \
1839 (cd gcc/libgcc && find . -type d -print) | \
1840 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1842 -rm -f gcc/stmp-dirs
1846 .PHONY: check do-check
1849 # Only include modules actually being configured and built.
1852 maybe-check-autoconf \
1853 maybe-check-automake \
1856 maybe-check-opcodes \
1857 maybe-check-binutils \
1861 maybe-check-dejagnu \
1863 maybe-check-dosutils \
1865 maybe-check-fastjar \
1866 maybe-check-fileutils \
1867 maybe-check-findutils \
1869 maybe-check-fixincludes \
1874 maybe-check-gettext \
1875 maybe-check-gnuserv \
1879 maybe-check-indent \
1884 maybe-check-libcpp \
1885 maybe-check-libgui \
1886 maybe-check-libiberty \
1887 maybe-check-libtool \
1890 maybe-check-mmalloc \
1895 maybe-check-readline \
1896 maybe-check-release \
1897 maybe-check-recode \
1899 maybe-check-send-pr \
1900 maybe-check-shellutils \
1904 maybe-check-texinfo \
1905 maybe-check-textutils \
1907 maybe-check-uudecode \
1912 maybe-check-expect \
1915 maybe-check-libtermcap \
1917 maybe-check-gnattools \
1918 maybe-check-target-libstdc++-v3 \
1919 maybe-check-target-libmudflap \
1920 maybe-check-target-newlib \
1921 maybe-check-target-libgfortran \
1922 maybe-check-target-libobjc \
1923 maybe-check-target-libtermcap \
1924 maybe-check-target-winsup \
1925 maybe-check-target-libgloss \
1926 maybe-check-target-libiberty \
1927 maybe-check-target-gperf \
1928 maybe-check-target-examples \
1929 maybe-check-target-libffi \
1930 maybe-check-target-libjava \
1931 maybe-check-target-zlib \
1932 maybe-check-target-boehm-gc \
1933 maybe-check-target-qthreads \
1934 maybe-check-target-rda \
1935 maybe-check-target-libada stage
1937 # Automated reporting of test results.
1939 warning.log: build.log
1940 $(srcdir)/contrib/warn_summary build.log > $@
1943 if test x'$(BOOT_CFLAGS)' != x''; then \
1944 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1946 $(srcdir)/contrib/test_summary -t >$@
1948 echo If you really want to send e-mail, run ./$@ now
1950 mail-report-with-warnings.log: warning.log
1951 if test x'$(BOOT_CFLAGS)' != x''; then \
1952 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1954 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1956 echo If you really want to send e-mail, run ./$@ now
1958 # Installation targets.
1960 .PHONY: install uninstall
1961 install: installdirs install-host install-target
1963 .PHONY: install-host-nogcc
1964 install-host-nogcc: \
1966 maybe-install-autoconf \
1967 maybe-install-automake \
1968 maybe-install-bash \
1970 maybe-install-opcodes \
1971 maybe-install-binutils \
1972 maybe-install-bison \
1973 maybe-install-byacc \
1974 maybe-install-bzip2 \
1975 maybe-install-dejagnu \
1976 maybe-install-diff \
1977 maybe-install-dosutils \
1979 maybe-install-fastjar \
1980 maybe-install-fileutils \
1981 maybe-install-findutils \
1982 maybe-install-find \
1983 maybe-install-fixincludes \
1984 maybe-install-flex \
1986 maybe-install-gawk \
1987 maybe-install-gettext \
1988 maybe-install-gnuserv \
1989 maybe-install-gprof \
1990 maybe-install-gzip \
1991 maybe-install-hello \
1992 maybe-install-indent \
1993 maybe-install-intl \
1995 maybe-install-itcl \
1997 maybe-install-libcpp \
1998 maybe-install-libgui \
1999 maybe-install-libiberty \
2000 maybe-install-libtool \
2002 maybe-install-make \
2003 maybe-install-mmalloc \
2004 maybe-install-patch \
2005 maybe-install-perl \
2006 maybe-install-prms \
2008 maybe-install-readline \
2009 maybe-install-release \
2010 maybe-install-recode \
2012 maybe-install-send-pr \
2013 maybe-install-shellutils \
2017 maybe-install-texinfo \
2018 maybe-install-textutils \
2019 maybe-install-time \
2020 maybe-install-uudecode \
2021 maybe-install-wdiff \
2023 maybe-install-zlib \
2025 maybe-install-expect \
2026 maybe-install-guile \
2028 maybe-install-libtermcap \
2029 maybe-install-utils \
2030 maybe-install-gnattools
2032 .PHONY: install-host
2035 maybe-install-autoconf \
2036 maybe-install-automake \
2037 maybe-install-bash \
2039 maybe-install-opcodes \
2040 maybe-install-binutils \
2041 maybe-install-bison \
2042 maybe-install-byacc \
2043 maybe-install-bzip2 \
2044 maybe-install-dejagnu \
2045 maybe-install-diff \
2046 maybe-install-dosutils \
2048 maybe-install-fastjar \
2049 maybe-install-fileutils \
2050 maybe-install-findutils \
2051 maybe-install-find \
2052 maybe-install-fixincludes \
2053 maybe-install-flex \
2056 maybe-install-gawk \
2057 maybe-install-gettext \
2058 maybe-install-gnuserv \
2059 maybe-install-gprof \
2060 maybe-install-gzip \
2061 maybe-install-hello \
2062 maybe-install-indent \
2063 maybe-install-intl \
2065 maybe-install-itcl \
2067 maybe-install-libcpp \
2068 maybe-install-libgui \
2069 maybe-install-libiberty \
2070 maybe-install-libtool \
2072 maybe-install-make \
2073 maybe-install-mmalloc \
2074 maybe-install-patch \
2075 maybe-install-perl \
2076 maybe-install-prms \
2078 maybe-install-readline \
2079 maybe-install-release \
2080 maybe-install-recode \
2082 maybe-install-send-pr \
2083 maybe-install-shellutils \
2087 maybe-install-texinfo \
2088 maybe-install-textutils \
2089 maybe-install-time \
2090 maybe-install-uudecode \
2091 maybe-install-wdiff \
2093 maybe-install-zlib \
2095 maybe-install-expect \
2096 maybe-install-guile \
2098 maybe-install-libtermcap \
2099 maybe-install-utils \
2100 maybe-install-gnattools
2102 .PHONY: install-target
2104 maybe-install-target-libstdc++-v3 \
2105 maybe-install-target-libmudflap \
2106 maybe-install-target-newlib \
2107 maybe-install-target-libgfortran \
2108 maybe-install-target-libobjc \
2109 maybe-install-target-libtermcap \
2110 maybe-install-target-winsup \
2111 maybe-install-target-libgloss \
2112 maybe-install-target-libiberty \
2113 maybe-install-target-gperf \
2114 maybe-install-target-examples \
2115 maybe-install-target-libffi \
2116 maybe-install-target-libjava \
2117 maybe-install-target-zlib \
2118 maybe-install-target-boehm-gc \
2119 maybe-install-target-qthreads \
2120 maybe-install-target-rda \
2121 maybe-install-target-libada
2124 @echo "the uninstall target is not supported in this tree"
2127 install.all: install-no-fixedincludes
2128 @if [ -f ./gcc/Makefile ] ; then \
2129 r=`${PWD_COMMAND}` ; export r ; \
2133 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2138 # install-no-fixedincludes is used because Cygnus can not distribute
2139 # the fixed header files.
2140 .PHONY: install-no-fixedincludes
2141 install-no-fixedincludes: installdirs install-host-nogcc \
2142 install-target gcc-no-fixedincludes
2144 ### other supporting targets
2147 $(DESTDIR)$(prefix) \
2148 $(DESTDIR)$(exec_prefix)
2150 installdirs: mkinstalldirs
2151 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2153 dir.info: do-install-info
2154 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2155 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2156 mv -f dir.info.new dir.info ; \
2161 @echo "Building a full distribution of this tree isn't done"
2162 @echo "via 'make dist'. Check out the etc/ subdirectory"
2166 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2167 # ability to use several tags files at once, so there is probably no need
2168 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2169 # (if we felt like it) have this Makefile write a piece of elisp which
2170 # the user could load to tell emacs19 where all the TAGS files we just
2174 # --------------------------------------
2175 # Modules which run on the build machine
2176 # --------------------------------------
2178 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2179 maybe-configure-build-libiberty:
2181 maybe-configure-build-libiberty: configure-build-libiberty
2182 configure-build-libiberty:
2183 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2184 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2185 r=`${PWD_COMMAND}`; export r; \
2186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2188 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2189 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2191 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2192 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2193 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2195 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2196 libsrcdir="$$s/libiberty"; \
2197 rm -f no-such-file || : ; \
2198 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2199 $(BUILD_CONFIGARGS) $${srcdiroption} \
2200 --with-build-subdir="$(BUILD_SUBDIR)" \
2202 @endif build-libiberty
2204 .PHONY: all-build-libiberty maybe-all-build-libiberty
2205 maybe-all-build-libiberty:
2207 TARGET-build-libiberty=all
2208 maybe-all-build-libiberty: all-build-libiberty
2209 all-build-libiberty: configure-build-libiberty
2210 @r=`${PWD_COMMAND}`; export r; \
2211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2213 (cd $(BUILD_SUBDIR)/libiberty && \
2214 $(MAKE) $(TARGET-build-libiberty))
2215 @endif build-libiberty
2217 .PHONY: configure-build-bison maybe-configure-build-bison
2218 maybe-configure-build-bison:
2220 maybe-configure-build-bison: configure-build-bison
2221 configure-build-bison:
2222 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2223 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2224 r=`${PWD_COMMAND}`; export r; \
2225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2227 echo Configuring in $(BUILD_SUBDIR)/bison; \
2228 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2230 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2231 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2232 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2234 srcdiroption="--srcdir=$${topdir}/bison"; \
2235 libsrcdir="$$s/bison"; \
2236 rm -f no-such-file || : ; \
2237 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2238 $(BUILD_CONFIGARGS) $${srcdiroption} \
2239 --with-build-subdir="$(BUILD_SUBDIR)" \
2243 .PHONY: all-build-bison maybe-all-build-bison
2244 maybe-all-build-bison:
2246 TARGET-build-bison=all
2247 maybe-all-build-bison: all-build-bison
2248 all-build-bison: configure-build-bison
2249 @r=`${PWD_COMMAND}`; export r; \
2250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2252 (cd $(BUILD_SUBDIR)/bison && \
2253 $(MAKE) $(TARGET-build-bison))
2256 .PHONY: configure-build-byacc maybe-configure-build-byacc
2257 maybe-configure-build-byacc:
2259 maybe-configure-build-byacc: configure-build-byacc
2260 configure-build-byacc:
2261 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2262 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2263 r=`${PWD_COMMAND}`; export r; \
2264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2266 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2267 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2269 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2270 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2271 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2273 srcdiroption="--srcdir=$${topdir}/byacc"; \
2274 libsrcdir="$$s/byacc"; \
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-byacc maybe-all-build-byacc
2283 maybe-all-build-byacc:
2285 TARGET-build-byacc=all
2286 maybe-all-build-byacc: all-build-byacc
2287 all-build-byacc: configure-build-byacc
2288 @r=`${PWD_COMMAND}`; export r; \
2289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2291 (cd $(BUILD_SUBDIR)/byacc && \
2292 $(MAKE) $(TARGET-build-byacc))
2295 .PHONY: configure-build-flex maybe-configure-build-flex
2296 maybe-configure-build-flex:
2298 maybe-configure-build-flex: configure-build-flex
2299 configure-build-flex:
2300 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2301 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2302 r=`${PWD_COMMAND}`; export r; \
2303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2305 echo Configuring in $(BUILD_SUBDIR)/flex; \
2306 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2308 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2309 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2310 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2312 srcdiroption="--srcdir=$${topdir}/flex"; \
2313 libsrcdir="$$s/flex"; \
2314 rm -f no-such-file || : ; \
2315 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2316 $(BUILD_CONFIGARGS) $${srcdiroption} \
2317 --with-build-subdir="$(BUILD_SUBDIR)" \
2321 .PHONY: all-build-flex maybe-all-build-flex
2322 maybe-all-build-flex:
2324 TARGET-build-flex=all
2325 maybe-all-build-flex: all-build-flex
2326 all-build-flex: configure-build-flex
2327 @r=`${PWD_COMMAND}`; export r; \
2328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2330 (cd $(BUILD_SUBDIR)/flex && \
2331 $(MAKE) $(TARGET-build-flex))
2334 .PHONY: configure-build-m4 maybe-configure-build-m4
2335 maybe-configure-build-m4:
2337 maybe-configure-build-m4: configure-build-m4
2339 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2340 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2341 r=`${PWD_COMMAND}`; export r; \
2342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2344 echo Configuring in $(BUILD_SUBDIR)/m4; \
2345 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2347 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2348 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2349 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2351 srcdiroption="--srcdir=$${topdir}/m4"; \
2352 libsrcdir="$$s/m4"; \
2353 rm -f no-such-file || : ; \
2354 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2355 $(BUILD_CONFIGARGS) $${srcdiroption} \
2356 --with-build-subdir="$(BUILD_SUBDIR)" \
2360 .PHONY: all-build-m4 maybe-all-build-m4
2364 maybe-all-build-m4: all-build-m4
2365 all-build-m4: configure-build-m4
2366 @r=`${PWD_COMMAND}`; export r; \
2367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2369 (cd $(BUILD_SUBDIR)/m4 && \
2370 $(MAKE) $(TARGET-build-m4))
2373 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2374 maybe-configure-build-texinfo:
2376 maybe-configure-build-texinfo: configure-build-texinfo
2377 configure-build-texinfo:
2378 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2379 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2380 r=`${PWD_COMMAND}`; export r; \
2381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2383 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2384 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2386 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2387 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2388 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2390 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2391 libsrcdir="$$s/texinfo"; \
2392 rm -f no-such-file || : ; \
2393 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2394 $(BUILD_CONFIGARGS) $${srcdiroption} \
2395 --with-build-subdir="$(BUILD_SUBDIR)" \
2397 @endif build-texinfo
2399 .PHONY: all-build-texinfo maybe-all-build-texinfo
2400 maybe-all-build-texinfo:
2402 TARGET-build-texinfo=all
2403 maybe-all-build-texinfo: all-build-texinfo
2404 all-build-texinfo: configure-build-texinfo
2405 @r=`${PWD_COMMAND}`; export r; \
2406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2408 (cd $(BUILD_SUBDIR)/texinfo && \
2409 $(MAKE) $(TARGET-build-texinfo))
2410 @endif build-texinfo
2412 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2413 maybe-configure-build-fixincludes:
2414 @if build-fixincludes
2415 maybe-configure-build-fixincludes: configure-build-fixincludes
2416 configure-build-fixincludes:
2417 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2418 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2419 r=`${PWD_COMMAND}`; export r; \
2420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2422 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2423 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2425 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2426 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2427 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2429 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2430 libsrcdir="$$s/fixincludes"; \
2431 rm -f no-such-file || : ; \
2432 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2433 $(BUILD_CONFIGARGS) $${srcdiroption} \
2434 --with-build-subdir="$(BUILD_SUBDIR)" \
2436 @endif build-fixincludes
2438 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2439 maybe-all-build-fixincludes:
2440 @if build-fixincludes
2441 TARGET-build-fixincludes=all
2442 maybe-all-build-fixincludes: all-build-fixincludes
2443 all-build-fixincludes: configure-build-fixincludes
2444 @r=`${PWD_COMMAND}`; export r; \
2445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2447 (cd $(BUILD_SUBDIR)/fixincludes && \
2448 $(MAKE) $(TARGET-build-fixincludes))
2449 @endif build-fixincludes
2452 # --------------------------------------
2453 # Modules which run on the host machine
2454 # --------------------------------------
2456 .PHONY: configure-ash maybe-configure-ash
2457 maybe-configure-ash:
2459 maybe-configure-ash: configure-ash
2461 @test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2462 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2463 r=`${PWD_COMMAND}`; export r; \
2464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2466 echo Configuring in ash; \
2467 cd $(HOST_SUBDIR)/ash || exit 1; \
2469 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2470 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2471 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2473 srcdiroption="--srcdir=$${topdir}/ash"; \
2474 libsrcdir="$$s/ash"; \
2475 $(SHELL) $${libsrcdir}/configure \
2476 $(HOST_CONFIGARGS) $${srcdiroption} \
2480 .PHONY: all-ash maybe-all-ash
2484 maybe-all-ash: all-ash
2485 all-ash: configure-ash
2486 @r=`${PWD_COMMAND}`; export r; \
2487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2490 (cd $(HOST_SUBDIR)/ash && \
2491 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2494 .PHONY: check-ash maybe-check-ash
2497 maybe-check-ash: check-ash
2500 @r=`${PWD_COMMAND}`; export r; \
2501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2504 (cd $(HOST_SUBDIR)/ash && \
2505 $(MAKE) $(FLAGS_TO_PASS) check)
2509 .PHONY: install-ash maybe-install-ash
2512 maybe-install-ash: install-ash
2514 install-ash: installdirs
2515 @r=`${PWD_COMMAND}`; export r; \
2516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2519 (cd $(HOST_SUBDIR)/ash && \
2520 $(MAKE) $(FLAGS_TO_PASS) install)
2524 # Other targets (info, dvi, etc.)
2526 .PHONY: maybe-info-ash info-ash
2529 maybe-info-ash: info-ash
2533 @[ -f ./ash/Makefile ] || exit 0; \
2534 r=`${PWD_COMMAND}`; export r; \
2535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2538 for flag in $(EXTRA_HOST_FLAGS) ; do \
2539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2541 echo "Doing info in ash" ; \
2542 (cd $(HOST_SUBDIR)/ash && \
2543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2545 "RANLIB=$${RANLIB}" \
2546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2552 .PHONY: maybe-dvi-ash dvi-ash
2555 maybe-dvi-ash: dvi-ash
2559 @[ -f ./ash/Makefile ] || exit 0; \
2560 r=`${PWD_COMMAND}`; export r; \
2561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2564 for flag in $(EXTRA_HOST_FLAGS) ; do \
2565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2567 echo "Doing dvi in ash" ; \
2568 (cd $(HOST_SUBDIR)/ash && \
2569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2571 "RANLIB=$${RANLIB}" \
2572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2578 .PHONY: maybe-html-ash html-ash
2581 maybe-html-ash: html-ash
2585 @[ -f ./ash/Makefile ] || exit 0; \
2586 r=`${PWD_COMMAND}`; export r; \
2587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2590 for flag in $(EXTRA_HOST_FLAGS) ; do \
2591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2593 echo "Doing html in ash" ; \
2594 (cd $(HOST_SUBDIR)/ash && \
2595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2597 "RANLIB=$${RANLIB}" \
2598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2604 .PHONY: maybe-TAGS-ash TAGS-ash
2607 maybe-TAGS-ash: TAGS-ash
2611 @[ -f ./ash/Makefile ] || exit 0; \
2612 r=`${PWD_COMMAND}`; export r; \
2613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2616 for flag in $(EXTRA_HOST_FLAGS) ; do \
2617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2619 echo "Doing TAGS in ash" ; \
2620 (cd $(HOST_SUBDIR)/ash && \
2621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2623 "RANLIB=$${RANLIB}" \
2624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2630 .PHONY: maybe-install-info-ash install-info-ash
2631 maybe-install-info-ash:
2633 maybe-install-info-ash: install-info-ash
2638 @[ -f ./ash/Makefile ] || exit 0; \
2639 r=`${PWD_COMMAND}`; export r; \
2640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2643 for flag in $(EXTRA_HOST_FLAGS) ; do \
2644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2646 echo "Doing install-info in ash" ; \
2647 (cd $(HOST_SUBDIR)/ash && \
2648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2650 "RANLIB=$${RANLIB}" \
2651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2657 .PHONY: maybe-installcheck-ash installcheck-ash
2658 maybe-installcheck-ash:
2660 maybe-installcheck-ash: installcheck-ash
2664 @[ -f ./ash/Makefile ] || exit 0; \
2665 r=`${PWD_COMMAND}`; export r; \
2666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2669 for flag in $(EXTRA_HOST_FLAGS) ; do \
2670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2672 echo "Doing installcheck in ash" ; \
2673 (cd $(HOST_SUBDIR)/ash && \
2674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2676 "RANLIB=$${RANLIB}" \
2677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2683 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2684 maybe-mostlyclean-ash:
2686 maybe-mostlyclean-ash: mostlyclean-ash
2689 @[ -f ./ash/Makefile ] || exit 0; \
2690 r=`${PWD_COMMAND}`; export r; \
2691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2694 for flag in $(EXTRA_HOST_FLAGS) ; do \
2695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2697 echo "Doing mostlyclean in ash" ; \
2698 (cd $(HOST_SUBDIR)/ash && \
2699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2701 "RANLIB=$${RANLIB}" \
2702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2708 .PHONY: maybe-clean-ash clean-ash
2711 maybe-clean-ash: clean-ash
2714 @[ -f ./ash/Makefile ] || exit 0; \
2715 r=`${PWD_COMMAND}`; export r; \
2716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2719 for flag in $(EXTRA_HOST_FLAGS) ; do \
2720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2722 echo "Doing clean in ash" ; \
2723 (cd $(HOST_SUBDIR)/ash && \
2724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2726 "RANLIB=$${RANLIB}" \
2727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2733 .PHONY: maybe-distclean-ash distclean-ash
2734 maybe-distclean-ash:
2736 maybe-distclean-ash: distclean-ash
2739 @[ -f ./ash/Makefile ] || exit 0; \
2740 r=`${PWD_COMMAND}`; export r; \
2741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2744 for flag in $(EXTRA_HOST_FLAGS) ; do \
2745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2747 echo "Doing distclean in ash" ; \
2748 (cd $(HOST_SUBDIR)/ash && \
2749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2751 "RANLIB=$${RANLIB}" \
2752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2758 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2759 maybe-maintainer-clean-ash:
2761 maybe-maintainer-clean-ash: maintainer-clean-ash
2763 maintainer-clean-ash:
2764 @[ -f ./ash/Makefile ] || exit 0; \
2765 r=`${PWD_COMMAND}`; export r; \
2766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2769 for flag in $(EXTRA_HOST_FLAGS) ; do \
2770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2772 echo "Doing maintainer-clean in ash" ; \
2773 (cd $(HOST_SUBDIR)/ash && \
2774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2776 "RANLIB=$${RANLIB}" \
2777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2784 .PHONY: configure-autoconf maybe-configure-autoconf
2785 maybe-configure-autoconf:
2787 maybe-configure-autoconf: configure-autoconf
2789 @test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
2790 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
2791 r=`${PWD_COMMAND}`; export r; \
2792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2794 echo Configuring in autoconf; \
2795 cd $(HOST_SUBDIR)/autoconf || exit 1; \
2797 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2798 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
2799 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2801 srcdiroption="--srcdir=$${topdir}/autoconf"; \
2802 libsrcdir="$$s/autoconf"; \
2803 $(SHELL) $${libsrcdir}/configure \
2804 $(HOST_CONFIGARGS) $${srcdiroption} \
2808 .PHONY: all-autoconf maybe-all-autoconf
2812 maybe-all-autoconf: all-autoconf
2813 all-autoconf: configure-autoconf
2814 @r=`${PWD_COMMAND}`; export r; \
2815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2818 (cd $(HOST_SUBDIR)/autoconf && \
2819 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
2822 .PHONY: check-autoconf maybe-check-autoconf
2823 maybe-check-autoconf:
2825 maybe-check-autoconf: check-autoconf
2828 @r=`${PWD_COMMAND}`; export r; \
2829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2832 (cd $(HOST_SUBDIR)/autoconf && \
2833 $(MAKE) $(FLAGS_TO_PASS) check)
2837 .PHONY: install-autoconf maybe-install-autoconf
2838 maybe-install-autoconf:
2840 maybe-install-autoconf: install-autoconf
2842 install-autoconf: installdirs
2843 @r=`${PWD_COMMAND}`; export r; \
2844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2847 (cd $(HOST_SUBDIR)/autoconf && \
2848 $(MAKE) $(FLAGS_TO_PASS) install)
2852 # Other targets (info, dvi, etc.)
2854 .PHONY: maybe-info-autoconf info-autoconf
2855 maybe-info-autoconf:
2857 maybe-info-autoconf: info-autoconf
2861 @[ -f ./autoconf/Makefile ] || exit 0; \
2862 r=`${PWD_COMMAND}`; export r; \
2863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2866 for flag in $(EXTRA_HOST_FLAGS) ; do \
2867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2869 echo "Doing info in autoconf" ; \
2870 (cd $(HOST_SUBDIR)/autoconf && \
2871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2873 "RANLIB=$${RANLIB}" \
2874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2880 .PHONY: maybe-dvi-autoconf dvi-autoconf
2883 maybe-dvi-autoconf: dvi-autoconf
2887 @[ -f ./autoconf/Makefile ] || exit 0; \
2888 r=`${PWD_COMMAND}`; export r; \
2889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2892 for flag in $(EXTRA_HOST_FLAGS) ; do \
2893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2895 echo "Doing dvi in autoconf" ; \
2896 (cd $(HOST_SUBDIR)/autoconf && \
2897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2899 "RANLIB=$${RANLIB}" \
2900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2906 .PHONY: maybe-html-autoconf html-autoconf
2907 maybe-html-autoconf:
2909 maybe-html-autoconf: html-autoconf
2913 @[ -f ./autoconf/Makefile ] || exit 0; \
2914 r=`${PWD_COMMAND}`; export r; \
2915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2918 for flag in $(EXTRA_HOST_FLAGS) ; do \
2919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2921 echo "Doing html in autoconf" ; \
2922 (cd $(HOST_SUBDIR)/autoconf && \
2923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2925 "RANLIB=$${RANLIB}" \
2926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2932 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2933 maybe-TAGS-autoconf:
2935 maybe-TAGS-autoconf: TAGS-autoconf
2939 @[ -f ./autoconf/Makefile ] || exit 0; \
2940 r=`${PWD_COMMAND}`; export r; \
2941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2944 for flag in $(EXTRA_HOST_FLAGS) ; do \
2945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2947 echo "Doing TAGS in autoconf" ; \
2948 (cd $(HOST_SUBDIR)/autoconf && \
2949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2951 "RANLIB=$${RANLIB}" \
2952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2958 .PHONY: maybe-install-info-autoconf install-info-autoconf
2959 maybe-install-info-autoconf:
2961 maybe-install-info-autoconf: install-info-autoconf
2963 install-info-autoconf: \
2964 configure-autoconf \
2966 @[ -f ./autoconf/Makefile ] || exit 0; \
2967 r=`${PWD_COMMAND}`; export r; \
2968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2971 for flag in $(EXTRA_HOST_FLAGS) ; do \
2972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2974 echo "Doing install-info in autoconf" ; \
2975 (cd $(HOST_SUBDIR)/autoconf && \
2976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2978 "RANLIB=$${RANLIB}" \
2979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2985 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
2986 maybe-installcheck-autoconf:
2988 maybe-installcheck-autoconf: installcheck-autoconf
2990 installcheck-autoconf: \
2992 @[ -f ./autoconf/Makefile ] || exit 0; \
2993 r=`${PWD_COMMAND}`; export r; \
2994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2997 for flag in $(EXTRA_HOST_FLAGS) ; do \
2998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3000 echo "Doing installcheck in autoconf" ; \
3001 (cd $(HOST_SUBDIR)/autoconf && \
3002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3004 "RANLIB=$${RANLIB}" \
3005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3011 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3012 maybe-mostlyclean-autoconf:
3014 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3016 mostlyclean-autoconf:
3017 @[ -f ./autoconf/Makefile ] || exit 0; \
3018 r=`${PWD_COMMAND}`; export r; \
3019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3022 for flag in $(EXTRA_HOST_FLAGS) ; do \
3023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3025 echo "Doing mostlyclean in autoconf" ; \
3026 (cd $(HOST_SUBDIR)/autoconf && \
3027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3029 "RANLIB=$${RANLIB}" \
3030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3036 .PHONY: maybe-clean-autoconf clean-autoconf
3037 maybe-clean-autoconf:
3039 maybe-clean-autoconf: clean-autoconf
3042 @[ -f ./autoconf/Makefile ] || exit 0; \
3043 r=`${PWD_COMMAND}`; export r; \
3044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3047 for flag in $(EXTRA_HOST_FLAGS) ; do \
3048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3050 echo "Doing clean in autoconf" ; \
3051 (cd $(HOST_SUBDIR)/autoconf && \
3052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3054 "RANLIB=$${RANLIB}" \
3055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3061 .PHONY: maybe-distclean-autoconf distclean-autoconf
3062 maybe-distclean-autoconf:
3064 maybe-distclean-autoconf: distclean-autoconf
3067 @[ -f ./autoconf/Makefile ] || exit 0; \
3068 r=`${PWD_COMMAND}`; export r; \
3069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3072 for flag in $(EXTRA_HOST_FLAGS) ; do \
3073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3075 echo "Doing distclean in autoconf" ; \
3076 (cd $(HOST_SUBDIR)/autoconf && \
3077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3079 "RANLIB=$${RANLIB}" \
3080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3086 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3087 maybe-maintainer-clean-autoconf:
3089 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3091 maintainer-clean-autoconf:
3092 @[ -f ./autoconf/Makefile ] || exit 0; \
3093 r=`${PWD_COMMAND}`; export r; \
3094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3097 for flag in $(EXTRA_HOST_FLAGS) ; do \
3098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3100 echo "Doing maintainer-clean in autoconf" ; \
3101 (cd $(HOST_SUBDIR)/autoconf && \
3102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3104 "RANLIB=$${RANLIB}" \
3105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3112 .PHONY: configure-automake maybe-configure-automake
3113 maybe-configure-automake:
3115 maybe-configure-automake: configure-automake
3117 @test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3118 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3119 r=`${PWD_COMMAND}`; export r; \
3120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3122 echo Configuring in automake; \
3123 cd $(HOST_SUBDIR)/automake || exit 1; \
3125 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3126 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3127 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3129 srcdiroption="--srcdir=$${topdir}/automake"; \
3130 libsrcdir="$$s/automake"; \
3131 $(SHELL) $${libsrcdir}/configure \
3132 $(HOST_CONFIGARGS) $${srcdiroption} \
3136 .PHONY: all-automake maybe-all-automake
3140 maybe-all-automake: all-automake
3141 all-automake: configure-automake
3142 @r=`${PWD_COMMAND}`; export r; \
3143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3146 (cd $(HOST_SUBDIR)/automake && \
3147 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3150 .PHONY: check-automake maybe-check-automake
3151 maybe-check-automake:
3153 maybe-check-automake: check-automake
3156 @r=`${PWD_COMMAND}`; export r; \
3157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3160 (cd $(HOST_SUBDIR)/automake && \
3161 $(MAKE) $(FLAGS_TO_PASS) check)
3165 .PHONY: install-automake maybe-install-automake
3166 maybe-install-automake:
3168 maybe-install-automake: install-automake
3170 install-automake: installdirs
3171 @r=`${PWD_COMMAND}`; export r; \
3172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3175 (cd $(HOST_SUBDIR)/automake && \
3176 $(MAKE) $(FLAGS_TO_PASS) install)
3180 # Other targets (info, dvi, etc.)
3182 .PHONY: maybe-info-automake info-automake
3183 maybe-info-automake:
3185 maybe-info-automake: info-automake
3189 @[ -f ./automake/Makefile ] || exit 0; \
3190 r=`${PWD_COMMAND}`; export r; \
3191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3194 for flag in $(EXTRA_HOST_FLAGS) ; do \
3195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3197 echo "Doing info in automake" ; \
3198 (cd $(HOST_SUBDIR)/automake && \
3199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3201 "RANLIB=$${RANLIB}" \
3202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3208 .PHONY: maybe-dvi-automake dvi-automake
3211 maybe-dvi-automake: dvi-automake
3215 @[ -f ./automake/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 dvi in automake" ; \
3224 (cd $(HOST_SUBDIR)/automake && \
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-html-automake html-automake
3235 maybe-html-automake:
3237 maybe-html-automake: html-automake
3241 @[ -f ./automake/Makefile ] || exit 0; \
3242 r=`${PWD_COMMAND}`; export r; \
3243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3246 for flag in $(EXTRA_HOST_FLAGS) ; do \
3247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3249 echo "Doing html in automake" ; \
3250 (cd $(HOST_SUBDIR)/automake && \
3251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3253 "RANLIB=$${RANLIB}" \
3254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3260 .PHONY: maybe-TAGS-automake TAGS-automake
3261 maybe-TAGS-automake:
3263 maybe-TAGS-automake: TAGS-automake
3267 @[ -f ./automake/Makefile ] || exit 0; \
3268 r=`${PWD_COMMAND}`; export r; \
3269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3272 for flag in $(EXTRA_HOST_FLAGS) ; do \
3273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3275 echo "Doing TAGS in automake" ; \
3276 (cd $(HOST_SUBDIR)/automake && \
3277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3279 "RANLIB=$${RANLIB}" \
3280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3286 .PHONY: maybe-install-info-automake install-info-automake
3287 maybe-install-info-automake:
3289 maybe-install-info-automake: install-info-automake
3291 install-info-automake: \
3292 configure-automake \
3294 @[ -f ./automake/Makefile ] || exit 0; \
3295 r=`${PWD_COMMAND}`; export r; \
3296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3299 for flag in $(EXTRA_HOST_FLAGS) ; do \
3300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3302 echo "Doing install-info in automake" ; \
3303 (cd $(HOST_SUBDIR)/automake && \
3304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3306 "RANLIB=$${RANLIB}" \
3307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3313 .PHONY: maybe-installcheck-automake installcheck-automake
3314 maybe-installcheck-automake:
3316 maybe-installcheck-automake: installcheck-automake
3318 installcheck-automake: \
3320 @[ -f ./automake/Makefile ] || exit 0; \
3321 r=`${PWD_COMMAND}`; export r; \
3322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3325 for flag in $(EXTRA_HOST_FLAGS) ; do \
3326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3328 echo "Doing installcheck in automake" ; \
3329 (cd $(HOST_SUBDIR)/automake && \
3330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3332 "RANLIB=$${RANLIB}" \
3333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3339 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3340 maybe-mostlyclean-automake:
3342 maybe-mostlyclean-automake: mostlyclean-automake
3344 mostlyclean-automake:
3345 @[ -f ./automake/Makefile ] || exit 0; \
3346 r=`${PWD_COMMAND}`; export r; \
3347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3350 for flag in $(EXTRA_HOST_FLAGS) ; do \
3351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3353 echo "Doing mostlyclean in automake" ; \
3354 (cd $(HOST_SUBDIR)/automake && \
3355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3357 "RANLIB=$${RANLIB}" \
3358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3364 .PHONY: maybe-clean-automake clean-automake
3365 maybe-clean-automake:
3367 maybe-clean-automake: clean-automake
3370 @[ -f ./automake/Makefile ] || exit 0; \
3371 r=`${PWD_COMMAND}`; export r; \
3372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3375 for flag in $(EXTRA_HOST_FLAGS) ; do \
3376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3378 echo "Doing clean in automake" ; \
3379 (cd $(HOST_SUBDIR)/automake && \
3380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3382 "RANLIB=$${RANLIB}" \
3383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3389 .PHONY: maybe-distclean-automake distclean-automake
3390 maybe-distclean-automake:
3392 maybe-distclean-automake: distclean-automake
3395 @[ -f ./automake/Makefile ] || exit 0; \
3396 r=`${PWD_COMMAND}`; export r; \
3397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3400 for flag in $(EXTRA_HOST_FLAGS) ; do \
3401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3403 echo "Doing distclean in automake" ; \
3404 (cd $(HOST_SUBDIR)/automake && \
3405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3407 "RANLIB=$${RANLIB}" \
3408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3414 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3415 maybe-maintainer-clean-automake:
3417 maybe-maintainer-clean-automake: maintainer-clean-automake
3419 maintainer-clean-automake:
3420 @[ -f ./automake/Makefile ] || exit 0; \
3421 r=`${PWD_COMMAND}`; export r; \
3422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3425 for flag in $(EXTRA_HOST_FLAGS) ; do \
3426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3428 echo "Doing maintainer-clean in automake" ; \
3429 (cd $(HOST_SUBDIR)/automake && \
3430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3432 "RANLIB=$${RANLIB}" \
3433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3440 .PHONY: configure-bash maybe-configure-bash
3441 maybe-configure-bash:
3443 maybe-configure-bash: configure-bash
3445 @test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
3446 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
3447 r=`${PWD_COMMAND}`; export r; \
3448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3450 echo Configuring in bash; \
3451 cd $(HOST_SUBDIR)/bash || exit 1; \
3453 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3454 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3455 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3457 srcdiroption="--srcdir=$${topdir}/bash"; \
3458 libsrcdir="$$s/bash"; \
3459 $(SHELL) $${libsrcdir}/configure \
3460 $(HOST_CONFIGARGS) $${srcdiroption} \
3464 .PHONY: all-bash maybe-all-bash
3468 maybe-all-bash: all-bash
3469 all-bash: configure-bash
3470 @r=`${PWD_COMMAND}`; export r; \
3471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3474 (cd $(HOST_SUBDIR)/bash && \
3475 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
3478 .PHONY: check-bash maybe-check-bash
3481 maybe-check-bash: check-bash
3484 @r=`${PWD_COMMAND}`; export r; \
3485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3488 (cd $(HOST_SUBDIR)/bash && \
3489 $(MAKE) $(FLAGS_TO_PASS) check)
3493 .PHONY: install-bash maybe-install-bash
3496 maybe-install-bash: install-bash
3498 install-bash: installdirs
3499 @r=`${PWD_COMMAND}`; export r; \
3500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3503 (cd $(HOST_SUBDIR)/bash && \
3504 $(MAKE) $(FLAGS_TO_PASS) install)
3508 # Other targets (info, dvi, etc.)
3510 .PHONY: maybe-info-bash info-bash
3513 maybe-info-bash: info-bash
3517 @[ -f ./bash/Makefile ] || exit 0; \
3518 r=`${PWD_COMMAND}`; export r; \
3519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3522 for flag in $(EXTRA_HOST_FLAGS) ; do \
3523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3525 echo "Doing info in bash" ; \
3526 (cd $(HOST_SUBDIR)/bash && \
3527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3529 "RANLIB=$${RANLIB}" \
3530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3536 .PHONY: maybe-dvi-bash dvi-bash
3539 maybe-dvi-bash: dvi-bash
3543 @[ -f ./bash/Makefile ] || exit 0; \
3544 r=`${PWD_COMMAND}`; export r; \
3545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3548 for flag in $(EXTRA_HOST_FLAGS) ; do \
3549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3551 echo "Doing dvi in bash" ; \
3552 (cd $(HOST_SUBDIR)/bash && \
3553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3555 "RANLIB=$${RANLIB}" \
3556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3562 .PHONY: maybe-html-bash html-bash
3565 maybe-html-bash: html-bash
3569 @[ -f ./bash/Makefile ] || exit 0; \
3570 r=`${PWD_COMMAND}`; export r; \
3571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3574 for flag in $(EXTRA_HOST_FLAGS) ; do \
3575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3577 echo "Doing html in bash" ; \
3578 (cd $(HOST_SUBDIR)/bash && \
3579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3581 "RANLIB=$${RANLIB}" \
3582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3588 .PHONY: maybe-TAGS-bash TAGS-bash
3591 maybe-TAGS-bash: TAGS-bash
3595 @[ -f ./bash/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 TAGS in bash" ; \
3604 (cd $(HOST_SUBDIR)/bash && \
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}" \
3614 .PHONY: maybe-install-info-bash install-info-bash
3615 maybe-install-info-bash:
3617 maybe-install-info-bash: install-info-bash
3619 install-info-bash: \
3622 @[ -f ./bash/Makefile ] || exit 0; \
3623 r=`${PWD_COMMAND}`; export r; \
3624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3627 for flag in $(EXTRA_HOST_FLAGS) ; do \
3628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3630 echo "Doing install-info in bash" ; \
3631 (cd $(HOST_SUBDIR)/bash && \
3632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3634 "RANLIB=$${RANLIB}" \
3635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3641 .PHONY: maybe-installcheck-bash installcheck-bash
3642 maybe-installcheck-bash:
3644 maybe-installcheck-bash: installcheck-bash
3646 installcheck-bash: \
3648 @[ -f ./bash/Makefile ] || exit 0; \
3649 r=`${PWD_COMMAND}`; export r; \
3650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3653 for flag in $(EXTRA_HOST_FLAGS) ; do \
3654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3656 echo "Doing installcheck in bash" ; \
3657 (cd $(HOST_SUBDIR)/bash && \
3658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3660 "RANLIB=$${RANLIB}" \
3661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3667 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3668 maybe-mostlyclean-bash:
3670 maybe-mostlyclean-bash: mostlyclean-bash
3673 @[ -f ./bash/Makefile ] || exit 0; \
3674 r=`${PWD_COMMAND}`; export r; \
3675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3678 for flag in $(EXTRA_HOST_FLAGS) ; do \
3679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3681 echo "Doing mostlyclean in bash" ; \
3682 (cd $(HOST_SUBDIR)/bash && \
3683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3685 "RANLIB=$${RANLIB}" \
3686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3692 .PHONY: maybe-clean-bash clean-bash
3695 maybe-clean-bash: clean-bash
3698 @[ -f ./bash/Makefile ] || exit 0; \
3699 r=`${PWD_COMMAND}`; export r; \
3700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3703 for flag in $(EXTRA_HOST_FLAGS) ; do \
3704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3706 echo "Doing clean in bash" ; \
3707 (cd $(HOST_SUBDIR)/bash && \
3708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3710 "RANLIB=$${RANLIB}" \
3711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3717 .PHONY: maybe-distclean-bash distclean-bash
3718 maybe-distclean-bash:
3720 maybe-distclean-bash: distclean-bash
3723 @[ -f ./bash/Makefile ] || exit 0; \
3724 r=`${PWD_COMMAND}`; export r; \
3725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3728 for flag in $(EXTRA_HOST_FLAGS) ; do \
3729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3731 echo "Doing distclean in bash" ; \
3732 (cd $(HOST_SUBDIR)/bash && \
3733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3735 "RANLIB=$${RANLIB}" \
3736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3742 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3743 maybe-maintainer-clean-bash:
3745 maybe-maintainer-clean-bash: maintainer-clean-bash
3747 maintainer-clean-bash:
3748 @[ -f ./bash/Makefile ] || exit 0; \
3749 r=`${PWD_COMMAND}`; export r; \
3750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3753 for flag in $(EXTRA_HOST_FLAGS) ; do \
3754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3756 echo "Doing maintainer-clean in bash" ; \
3757 (cd $(HOST_SUBDIR)/bash && \
3758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3760 "RANLIB=$${RANLIB}" \
3761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3768 .PHONY: configure-bfd maybe-configure-bfd
3769 maybe-configure-bfd:
3771 maybe-configure-bfd: configure-bfd
3773 @test -f stage_last && exit 0; \
3774 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3775 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3776 r=`${PWD_COMMAND}`; export r; \
3777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3779 echo Configuring in bfd; \
3780 cd $(HOST_SUBDIR)/bfd || exit 1; \
3782 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3783 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3784 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3786 srcdiroption="--srcdir=$${topdir}/bfd"; \
3787 libsrcdir="$$s/bfd"; \
3788 $(SHELL) $${libsrcdir}/configure \
3789 $(HOST_CONFIGARGS) $${srcdiroption} \
3793 .PHONY: all-bfd maybe-all-bfd
3797 maybe-all-bfd: all-bfd
3798 all-bfd: configure-bfd
3799 @test -f stage_last && exit 0; \
3800 r=`${PWD_COMMAND}`; export r; \
3801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3804 (cd $(HOST_SUBDIR)/bfd && \
3805 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
3808 .PHONY: check-bfd maybe-check-bfd
3811 maybe-check-bfd: check-bfd
3814 @r=`${PWD_COMMAND}`; export r; \
3815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3818 (cd $(HOST_SUBDIR)/bfd && \
3819 $(MAKE) $(FLAGS_TO_PASS) check)
3823 .PHONY: install-bfd maybe-install-bfd
3826 maybe-install-bfd: install-bfd
3828 install-bfd: installdirs
3829 @r=`${PWD_COMMAND}`; export r; \
3830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3833 (cd $(HOST_SUBDIR)/bfd && \
3834 $(MAKE) $(FLAGS_TO_PASS) install)
3838 # Other targets (info, dvi, etc.)
3840 .PHONY: maybe-info-bfd info-bfd
3843 maybe-info-bfd: info-bfd
3847 @[ -f ./bfd/Makefile ] || exit 0; \
3848 r=`${PWD_COMMAND}`; export r; \
3849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3852 for flag in $(EXTRA_HOST_FLAGS) ; do \
3853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3855 echo "Doing info in bfd" ; \
3856 (cd $(HOST_SUBDIR)/bfd && \
3857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3859 "RANLIB=$${RANLIB}" \
3860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3866 .PHONY: maybe-dvi-bfd dvi-bfd
3869 maybe-dvi-bfd: dvi-bfd
3873 @[ -f ./bfd/Makefile ] || exit 0; \
3874 r=`${PWD_COMMAND}`; export r; \
3875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3878 for flag in $(EXTRA_HOST_FLAGS) ; do \
3879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3881 echo "Doing dvi in bfd" ; \
3882 (cd $(HOST_SUBDIR)/bfd && \
3883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3885 "RANLIB=$${RANLIB}" \
3886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3892 .PHONY: maybe-html-bfd html-bfd
3895 maybe-html-bfd: html-bfd
3899 @[ -f ./bfd/Makefile ] || exit 0; \
3900 r=`${PWD_COMMAND}`; export r; \
3901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3904 for flag in $(EXTRA_HOST_FLAGS) ; do \
3905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3907 echo "Doing html in bfd" ; \
3908 (cd $(HOST_SUBDIR)/bfd && \
3909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3911 "RANLIB=$${RANLIB}" \
3912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3918 .PHONY: maybe-TAGS-bfd TAGS-bfd
3921 maybe-TAGS-bfd: TAGS-bfd
3925 @[ -f ./bfd/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 TAGS in bfd" ; \
3934 (cd $(HOST_SUBDIR)/bfd && \
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}" \
3944 .PHONY: maybe-install-info-bfd install-info-bfd
3945 maybe-install-info-bfd:
3947 maybe-install-info-bfd: install-info-bfd
3952 @[ -f ./bfd/Makefile ] || exit 0; \
3953 r=`${PWD_COMMAND}`; export r; \
3954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3957 for flag in $(EXTRA_HOST_FLAGS) ; do \
3958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3960 echo "Doing install-info in bfd" ; \
3961 (cd $(HOST_SUBDIR)/bfd && \
3962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3964 "RANLIB=$${RANLIB}" \
3965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3971 .PHONY: maybe-installcheck-bfd installcheck-bfd
3972 maybe-installcheck-bfd:
3974 maybe-installcheck-bfd: installcheck-bfd
3978 @[ -f ./bfd/Makefile ] || exit 0; \
3979 r=`${PWD_COMMAND}`; export r; \
3980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3983 for flag in $(EXTRA_HOST_FLAGS) ; do \
3984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3986 echo "Doing installcheck in bfd" ; \
3987 (cd $(HOST_SUBDIR)/bfd && \
3988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3990 "RANLIB=$${RANLIB}" \
3991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3997 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3998 maybe-mostlyclean-bfd:
4000 maybe-mostlyclean-bfd: mostlyclean-bfd
4003 @[ -f ./bfd/Makefile ] || exit 0; \
4004 r=`${PWD_COMMAND}`; export r; \
4005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4008 for flag in $(EXTRA_HOST_FLAGS) ; do \
4009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4011 echo "Doing mostlyclean in bfd" ; \
4012 (cd $(HOST_SUBDIR)/bfd && \
4013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4015 "RANLIB=$${RANLIB}" \
4016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4022 .PHONY: maybe-clean-bfd clean-bfd
4025 maybe-clean-bfd: clean-bfd
4028 @[ -f ./bfd/Makefile ] || exit 0; \
4029 r=`${PWD_COMMAND}`; export r; \
4030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4033 for flag in $(EXTRA_HOST_FLAGS) ; do \
4034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4036 echo "Doing clean in bfd" ; \
4037 (cd $(HOST_SUBDIR)/bfd && \
4038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4040 "RANLIB=$${RANLIB}" \
4041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4047 .PHONY: maybe-distclean-bfd distclean-bfd
4048 maybe-distclean-bfd:
4050 maybe-distclean-bfd: distclean-bfd
4053 @[ -f ./bfd/Makefile ] || exit 0; \
4054 r=`${PWD_COMMAND}`; export r; \
4055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4058 for flag in $(EXTRA_HOST_FLAGS) ; do \
4059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4061 echo "Doing distclean in bfd" ; \
4062 (cd $(HOST_SUBDIR)/bfd && \
4063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4065 "RANLIB=$${RANLIB}" \
4066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4072 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4073 maybe-maintainer-clean-bfd:
4075 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4077 maintainer-clean-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 maintainer-clean in bfd" ; \
4087 (cd $(HOST_SUBDIR)/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}" \
4098 .PHONY: configure-opcodes maybe-configure-opcodes
4099 maybe-configure-opcodes:
4101 maybe-configure-opcodes: configure-opcodes
4103 @test -f stage_last && exit 0; \
4104 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4105 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4106 r=`${PWD_COMMAND}`; export r; \
4107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4109 echo Configuring in opcodes; \
4110 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4112 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4113 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4114 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4116 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4117 libsrcdir="$$s/opcodes"; \
4118 $(SHELL) $${libsrcdir}/configure \
4119 $(HOST_CONFIGARGS) $${srcdiroption} \
4123 .PHONY: all-opcodes maybe-all-opcodes
4127 maybe-all-opcodes: all-opcodes
4128 all-opcodes: configure-opcodes
4129 @test -f stage_last && exit 0; \
4130 r=`${PWD_COMMAND}`; export r; \
4131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4134 (cd $(HOST_SUBDIR)/opcodes && \
4135 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
4138 .PHONY: check-opcodes maybe-check-opcodes
4139 maybe-check-opcodes:
4141 maybe-check-opcodes: check-opcodes
4144 @r=`${PWD_COMMAND}`; export r; \
4145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4148 (cd $(HOST_SUBDIR)/opcodes && \
4149 $(MAKE) $(FLAGS_TO_PASS) check)
4153 .PHONY: install-opcodes maybe-install-opcodes
4154 maybe-install-opcodes:
4156 maybe-install-opcodes: install-opcodes
4158 install-opcodes: installdirs
4159 @r=`${PWD_COMMAND}`; export r; \
4160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4163 (cd $(HOST_SUBDIR)/opcodes && \
4164 $(MAKE) $(FLAGS_TO_PASS) install)
4168 # Other targets (info, dvi, etc.)
4170 .PHONY: maybe-info-opcodes info-opcodes
4173 maybe-info-opcodes: info-opcodes
4177 @[ -f ./opcodes/Makefile ] || exit 0; \
4178 r=`${PWD_COMMAND}`; export r; \
4179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4182 for flag in $(EXTRA_HOST_FLAGS) ; do \
4183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4185 echo "Doing info in opcodes" ; \
4186 (cd $(HOST_SUBDIR)/opcodes && \
4187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4189 "RANLIB=$${RANLIB}" \
4190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4196 .PHONY: maybe-dvi-opcodes dvi-opcodes
4199 maybe-dvi-opcodes: dvi-opcodes
4203 @[ -f ./opcodes/Makefile ] || exit 0; \
4204 r=`${PWD_COMMAND}`; export r; \
4205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4208 for flag in $(EXTRA_HOST_FLAGS) ; do \
4209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4211 echo "Doing dvi in opcodes" ; \
4212 (cd $(HOST_SUBDIR)/opcodes && \
4213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4215 "RANLIB=$${RANLIB}" \
4216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4222 .PHONY: maybe-html-opcodes html-opcodes
4225 maybe-html-opcodes: html-opcodes
4229 @[ -f ./opcodes/Makefile ] || exit 0; \
4230 r=`${PWD_COMMAND}`; export r; \
4231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4234 for flag in $(EXTRA_HOST_FLAGS) ; do \
4235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4237 echo "Doing html in opcodes" ; \
4238 (cd $(HOST_SUBDIR)/opcodes && \
4239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4241 "RANLIB=$${RANLIB}" \
4242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4248 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4251 maybe-TAGS-opcodes: TAGS-opcodes
4255 @[ -f ./opcodes/Makefile ] || exit 0; \
4256 r=`${PWD_COMMAND}`; export r; \
4257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4260 for flag in $(EXTRA_HOST_FLAGS) ; do \
4261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4263 echo "Doing TAGS in opcodes" ; \
4264 (cd $(HOST_SUBDIR)/opcodes && \
4265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4267 "RANLIB=$${RANLIB}" \
4268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4274 .PHONY: maybe-install-info-opcodes install-info-opcodes
4275 maybe-install-info-opcodes:
4277 maybe-install-info-opcodes: install-info-opcodes
4279 install-info-opcodes: \
4282 @[ -f ./opcodes/Makefile ] || exit 0; \
4283 r=`${PWD_COMMAND}`; export r; \
4284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4287 for flag in $(EXTRA_HOST_FLAGS) ; do \
4288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4290 echo "Doing install-info in opcodes" ; \
4291 (cd $(HOST_SUBDIR)/opcodes && \
4292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4294 "RANLIB=$${RANLIB}" \
4295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4301 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4302 maybe-installcheck-opcodes:
4304 maybe-installcheck-opcodes: installcheck-opcodes
4306 installcheck-opcodes: \
4308 @[ -f ./opcodes/Makefile ] || exit 0; \
4309 r=`${PWD_COMMAND}`; export r; \
4310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4313 for flag in $(EXTRA_HOST_FLAGS) ; do \
4314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4316 echo "Doing installcheck in opcodes" ; \
4317 (cd $(HOST_SUBDIR)/opcodes && \
4318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4320 "RANLIB=$${RANLIB}" \
4321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4327 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4328 maybe-mostlyclean-opcodes:
4330 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4332 mostlyclean-opcodes:
4333 @[ -f ./opcodes/Makefile ] || exit 0; \
4334 r=`${PWD_COMMAND}`; export r; \
4335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4338 for flag in $(EXTRA_HOST_FLAGS) ; do \
4339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4341 echo "Doing mostlyclean in opcodes" ; \
4342 (cd $(HOST_SUBDIR)/opcodes && \
4343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4345 "RANLIB=$${RANLIB}" \
4346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4352 .PHONY: maybe-clean-opcodes clean-opcodes
4353 maybe-clean-opcodes:
4355 maybe-clean-opcodes: clean-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 clean in opcodes" ; \
4367 (cd $(HOST_SUBDIR)/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-distclean-opcodes distclean-opcodes
4378 maybe-distclean-opcodes:
4380 maybe-distclean-opcodes: distclean-opcodes
4383 @[ -f ./opcodes/Makefile ] || exit 0; \
4384 r=`${PWD_COMMAND}`; export r; \
4385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4388 for flag in $(EXTRA_HOST_FLAGS) ; do \
4389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4391 echo "Doing distclean in opcodes" ; \
4392 (cd $(HOST_SUBDIR)/opcodes && \
4393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4395 "RANLIB=$${RANLIB}" \
4396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4402 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4403 maybe-maintainer-clean-opcodes:
4405 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4407 maintainer-clean-opcodes:
4408 @[ -f ./opcodes/Makefile ] || exit 0; \
4409 r=`${PWD_COMMAND}`; export r; \
4410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4413 for flag in $(EXTRA_HOST_FLAGS) ; do \
4414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4416 echo "Doing maintainer-clean in opcodes" ; \
4417 (cd $(HOST_SUBDIR)/opcodes && \
4418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4420 "RANLIB=$${RANLIB}" \
4421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4428 .PHONY: configure-binutils maybe-configure-binutils
4429 maybe-configure-binutils:
4431 maybe-configure-binutils: configure-binutils
4433 @test -f stage_last && exit 0; \
4434 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4435 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4436 r=`${PWD_COMMAND}`; export r; \
4437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4439 echo Configuring in binutils; \
4440 cd $(HOST_SUBDIR)/binutils || exit 1; \
4442 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4443 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4444 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4446 srcdiroption="--srcdir=$${topdir}/binutils"; \
4447 libsrcdir="$$s/binutils"; \
4448 $(SHELL) $${libsrcdir}/configure \
4449 $(HOST_CONFIGARGS) $${srcdiroption} \
4453 .PHONY: all-binutils maybe-all-binutils
4457 maybe-all-binutils: all-binutils
4458 all-binutils: configure-binutils
4459 @test -f stage_last && exit 0; \
4460 r=`${PWD_COMMAND}`; export r; \
4461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4464 (cd $(HOST_SUBDIR)/binutils && \
4465 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
4468 .PHONY: check-binutils maybe-check-binutils
4469 maybe-check-binutils:
4471 maybe-check-binutils: check-binutils
4474 @r=`${PWD_COMMAND}`; export r; \
4475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4478 (cd $(HOST_SUBDIR)/binutils && \
4479 $(MAKE) $(FLAGS_TO_PASS) check)
4483 .PHONY: install-binutils maybe-install-binutils
4484 maybe-install-binutils:
4486 maybe-install-binutils: install-binutils
4488 install-binutils: installdirs
4489 @r=`${PWD_COMMAND}`; export r; \
4490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4493 (cd $(HOST_SUBDIR)/binutils && \
4494 $(MAKE) $(FLAGS_TO_PASS) install)
4498 # Other targets (info, dvi, etc.)
4500 .PHONY: maybe-info-binutils info-binutils
4501 maybe-info-binutils:
4503 maybe-info-binutils: info-binutils
4507 @[ -f ./binutils/Makefile ] || exit 0; \
4508 r=`${PWD_COMMAND}`; export r; \
4509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4512 for flag in $(EXTRA_HOST_FLAGS) ; do \
4513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4515 echo "Doing info in binutils" ; \
4516 (cd $(HOST_SUBDIR)/binutils && \
4517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4519 "RANLIB=$${RANLIB}" \
4520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4526 .PHONY: maybe-dvi-binutils dvi-binutils
4529 maybe-dvi-binutils: dvi-binutils
4533 @[ -f ./binutils/Makefile ] || exit 0; \
4534 r=`${PWD_COMMAND}`; export r; \
4535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4538 for flag in $(EXTRA_HOST_FLAGS) ; do \
4539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4541 echo "Doing dvi in binutils" ; \
4542 (cd $(HOST_SUBDIR)/binutils && \
4543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4545 "RANLIB=$${RANLIB}" \
4546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4552 .PHONY: maybe-html-binutils html-binutils
4553 maybe-html-binutils:
4555 maybe-html-binutils: html-binutils
4559 @[ -f ./binutils/Makefile ] || exit 0; \
4560 r=`${PWD_COMMAND}`; export r; \
4561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4564 for flag in $(EXTRA_HOST_FLAGS) ; do \
4565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4567 echo "Doing html in binutils" ; \
4568 (cd $(HOST_SUBDIR)/binutils && \
4569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4571 "RANLIB=$${RANLIB}" \
4572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4578 .PHONY: maybe-TAGS-binutils TAGS-binutils
4579 maybe-TAGS-binutils:
4581 maybe-TAGS-binutils: TAGS-binutils
4585 @[ -f ./binutils/Makefile ] || exit 0; \
4586 r=`${PWD_COMMAND}`; export r; \
4587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4590 for flag in $(EXTRA_HOST_FLAGS) ; do \
4591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4593 echo "Doing TAGS in binutils" ; \
4594 (cd $(HOST_SUBDIR)/binutils && \
4595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4597 "RANLIB=$${RANLIB}" \
4598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4604 .PHONY: maybe-install-info-binutils install-info-binutils
4605 maybe-install-info-binutils:
4607 maybe-install-info-binutils: install-info-binutils
4609 install-info-binutils: \
4610 configure-binutils \
4612 @[ -f ./binutils/Makefile ] || exit 0; \
4613 r=`${PWD_COMMAND}`; export r; \
4614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4617 for flag in $(EXTRA_HOST_FLAGS) ; do \
4618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4620 echo "Doing install-info in binutils" ; \
4621 (cd $(HOST_SUBDIR)/binutils && \
4622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4624 "RANLIB=$${RANLIB}" \
4625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4631 .PHONY: maybe-installcheck-binutils installcheck-binutils
4632 maybe-installcheck-binutils:
4634 maybe-installcheck-binutils: installcheck-binutils
4636 installcheck-binutils: \
4638 @[ -f ./binutils/Makefile ] || exit 0; \
4639 r=`${PWD_COMMAND}`; export r; \
4640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4643 for flag in $(EXTRA_HOST_FLAGS) ; do \
4644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4646 echo "Doing installcheck in binutils" ; \
4647 (cd $(HOST_SUBDIR)/binutils && \
4648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4650 "RANLIB=$${RANLIB}" \
4651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4657 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4658 maybe-mostlyclean-binutils:
4660 maybe-mostlyclean-binutils: mostlyclean-binutils
4662 mostlyclean-binutils:
4663 @[ -f ./binutils/Makefile ] || exit 0; \
4664 r=`${PWD_COMMAND}`; export r; \
4665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4668 for flag in $(EXTRA_HOST_FLAGS) ; do \
4669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4671 echo "Doing mostlyclean in binutils" ; \
4672 (cd $(HOST_SUBDIR)/binutils && \
4673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4675 "RANLIB=$${RANLIB}" \
4676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4682 .PHONY: maybe-clean-binutils clean-binutils
4683 maybe-clean-binutils:
4685 maybe-clean-binutils: clean-binutils
4688 @[ -f ./binutils/Makefile ] || exit 0; \
4689 r=`${PWD_COMMAND}`; export r; \
4690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4693 for flag in $(EXTRA_HOST_FLAGS) ; do \
4694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4696 echo "Doing clean in binutils" ; \
4697 (cd $(HOST_SUBDIR)/binutils && \
4698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4700 "RANLIB=$${RANLIB}" \
4701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4707 .PHONY: maybe-distclean-binutils distclean-binutils
4708 maybe-distclean-binutils:
4710 maybe-distclean-binutils: distclean-binutils
4713 @[ -f ./binutils/Makefile ] || exit 0; \
4714 r=`${PWD_COMMAND}`; export r; \
4715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4718 for flag in $(EXTRA_HOST_FLAGS) ; do \
4719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4721 echo "Doing distclean in binutils" ; \
4722 (cd $(HOST_SUBDIR)/binutils && \
4723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4725 "RANLIB=$${RANLIB}" \
4726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4732 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4733 maybe-maintainer-clean-binutils:
4735 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4737 maintainer-clean-binutils:
4738 @[ -f ./binutils/Makefile ] || exit 0; \
4739 r=`${PWD_COMMAND}`; export r; \
4740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4743 for flag in $(EXTRA_HOST_FLAGS) ; do \
4744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4746 echo "Doing maintainer-clean in binutils" ; \
4747 (cd $(HOST_SUBDIR)/binutils && \
4748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4750 "RANLIB=$${RANLIB}" \
4751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4758 .PHONY: configure-bison maybe-configure-bison
4759 maybe-configure-bison:
4761 maybe-configure-bison: configure-bison
4763 @test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
4764 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
4765 r=`${PWD_COMMAND}`; export r; \
4766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4768 echo Configuring in bison; \
4769 cd $(HOST_SUBDIR)/bison || exit 1; \
4771 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4772 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
4773 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4775 srcdiroption="--srcdir=$${topdir}/bison"; \
4776 libsrcdir="$$s/bison"; \
4777 $(SHELL) $${libsrcdir}/configure \
4778 $(HOST_CONFIGARGS) $${srcdiroption} \
4782 .PHONY: all-bison maybe-all-bison
4786 maybe-all-bison: all-bison
4787 all-bison: configure-bison
4788 @r=`${PWD_COMMAND}`; export r; \
4789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4792 (cd $(HOST_SUBDIR)/bison && \
4793 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
4796 .PHONY: check-bison maybe-check-bison
4799 maybe-check-bison: check-bison
4801 # This module is only tested in a native toolchain.
4803 @if [ '$(host)' = '$(target)' ] ; then \
4804 r=`${PWD_COMMAND}`; export r; \
4805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4808 (cd $(HOST_SUBDIR)/bison && \
4809 $(MAKE) $(FLAGS_TO_PASS) check); \
4814 .PHONY: install-bison maybe-install-bison
4815 maybe-install-bison:
4817 maybe-install-bison: install-bison
4819 install-bison: installdirs
4820 @r=`${PWD_COMMAND}`; export r; \
4821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4824 (cd $(HOST_SUBDIR)/bison && \
4825 $(MAKE) $(FLAGS_TO_PASS) install)
4829 # Other targets (info, dvi, etc.)
4831 .PHONY: maybe-info-bison info-bison
4834 maybe-info-bison: info-bison
4838 @[ -f ./bison/Makefile ] || exit 0; \
4839 r=`${PWD_COMMAND}`; export r; \
4840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4843 for flag in $(EXTRA_HOST_FLAGS) ; do \
4844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4846 echo "Doing info in bison" ; \
4847 (cd $(HOST_SUBDIR)/bison && \
4848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4850 "RANLIB=$${RANLIB}" \
4851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4857 .PHONY: maybe-dvi-bison dvi-bison
4860 maybe-dvi-bison: dvi-bison
4864 @[ -f ./bison/Makefile ] || exit 0; \
4865 r=`${PWD_COMMAND}`; export r; \
4866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4869 for flag in $(EXTRA_HOST_FLAGS) ; do \
4870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4872 echo "Doing dvi in bison" ; \
4873 (cd $(HOST_SUBDIR)/bison && \
4874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4876 "RANLIB=$${RANLIB}" \
4877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4883 .PHONY: maybe-html-bison html-bison
4886 maybe-html-bison: html-bison
4890 @[ -f ./bison/Makefile ] || exit 0; \
4891 r=`${PWD_COMMAND}`; export r; \
4892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4895 for flag in $(EXTRA_HOST_FLAGS) ; do \
4896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4898 echo "Doing html in bison" ; \
4899 (cd $(HOST_SUBDIR)/bison && \
4900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4902 "RANLIB=$${RANLIB}" \
4903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4909 .PHONY: maybe-TAGS-bison TAGS-bison
4912 maybe-TAGS-bison: TAGS-bison
4916 @[ -f ./bison/Makefile ] || exit 0; \
4917 r=`${PWD_COMMAND}`; export r; \
4918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4921 for flag in $(EXTRA_HOST_FLAGS) ; do \
4922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4924 echo "Doing TAGS in bison" ; \
4925 (cd $(HOST_SUBDIR)/bison && \
4926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4928 "RANLIB=$${RANLIB}" \
4929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4935 .PHONY: maybe-install-info-bison install-info-bison
4936 maybe-install-info-bison:
4938 maybe-install-info-bison: install-info-bison
4940 install-info-bison: \
4943 @[ -f ./bison/Makefile ] || exit 0; \
4944 r=`${PWD_COMMAND}`; export r; \
4945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4948 for flag in $(EXTRA_HOST_FLAGS) ; do \
4949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4951 echo "Doing install-info in bison" ; \
4952 (cd $(HOST_SUBDIR)/bison && \
4953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4955 "RANLIB=$${RANLIB}" \
4956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4962 .PHONY: maybe-installcheck-bison installcheck-bison
4963 maybe-installcheck-bison:
4965 maybe-installcheck-bison: installcheck-bison
4967 installcheck-bison: \
4969 @[ -f ./bison/Makefile ] || exit 0; \
4970 r=`${PWD_COMMAND}`; export r; \
4971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4974 for flag in $(EXTRA_HOST_FLAGS) ; do \
4975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4977 echo "Doing installcheck in bison" ; \
4978 (cd $(HOST_SUBDIR)/bison && \
4979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4981 "RANLIB=$${RANLIB}" \
4982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4988 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
4989 maybe-mostlyclean-bison:
4991 maybe-mostlyclean-bison: mostlyclean-bison
4994 @[ -f ./bison/Makefile ] || exit 0; \
4995 r=`${PWD_COMMAND}`; export r; \
4996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4999 for flag in $(EXTRA_HOST_FLAGS) ; do \
5000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5002 echo "Doing mostlyclean in bison" ; \
5003 (cd $(HOST_SUBDIR)/bison && \
5004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5006 "RANLIB=$${RANLIB}" \
5007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5013 .PHONY: maybe-clean-bison clean-bison
5016 maybe-clean-bison: clean-bison
5019 @[ -f ./bison/Makefile ] || exit 0; \
5020 r=`${PWD_COMMAND}`; export r; \
5021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5024 for flag in $(EXTRA_HOST_FLAGS) ; do \
5025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5027 echo "Doing clean in bison" ; \
5028 (cd $(HOST_SUBDIR)/bison && \
5029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5031 "RANLIB=$${RANLIB}" \
5032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5038 .PHONY: maybe-distclean-bison distclean-bison
5039 maybe-distclean-bison:
5041 maybe-distclean-bison: distclean-bison
5044 @[ -f ./bison/Makefile ] || exit 0; \
5045 r=`${PWD_COMMAND}`; export r; \
5046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5049 for flag in $(EXTRA_HOST_FLAGS) ; do \
5050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5052 echo "Doing distclean in bison" ; \
5053 (cd $(HOST_SUBDIR)/bison && \
5054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5056 "RANLIB=$${RANLIB}" \
5057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5063 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
5064 maybe-maintainer-clean-bison:
5066 maybe-maintainer-clean-bison: maintainer-clean-bison
5068 maintainer-clean-bison:
5069 @[ -f ./bison/Makefile ] || exit 0; \
5070 r=`${PWD_COMMAND}`; export r; \
5071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5074 for flag in $(EXTRA_HOST_FLAGS) ; do \
5075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5077 echo "Doing maintainer-clean in bison" ; \
5078 (cd $(HOST_SUBDIR)/bison && \
5079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5081 "RANLIB=$${RANLIB}" \
5082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5089 .PHONY: configure-byacc maybe-configure-byacc
5090 maybe-configure-byacc:
5092 maybe-configure-byacc: configure-byacc
5094 @test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
5095 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
5096 r=`${PWD_COMMAND}`; export r; \
5097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5099 echo Configuring in byacc; \
5100 cd $(HOST_SUBDIR)/byacc || exit 1; \
5102 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5103 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
5104 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5106 srcdiroption="--srcdir=$${topdir}/byacc"; \
5107 libsrcdir="$$s/byacc"; \
5108 $(SHELL) $${libsrcdir}/configure \
5109 $(HOST_CONFIGARGS) $${srcdiroption} \
5113 .PHONY: all-byacc maybe-all-byacc
5117 maybe-all-byacc: all-byacc
5118 all-byacc: configure-byacc
5119 @r=`${PWD_COMMAND}`; export r; \
5120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5123 (cd $(HOST_SUBDIR)/byacc && \
5124 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
5127 .PHONY: check-byacc maybe-check-byacc
5130 maybe-check-byacc: check-byacc
5132 # This module is only tested in a native toolchain.
5134 @if [ '$(host)' = '$(target)' ] ; then \
5135 r=`${PWD_COMMAND}`; export r; \
5136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5139 (cd $(HOST_SUBDIR)/byacc && \
5140 $(MAKE) $(FLAGS_TO_PASS) check); \
5145 .PHONY: install-byacc maybe-install-byacc
5146 maybe-install-byacc:
5148 maybe-install-byacc: install-byacc
5150 install-byacc: installdirs
5151 @r=`${PWD_COMMAND}`; export r; \
5152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5155 (cd $(HOST_SUBDIR)/byacc && \
5156 $(MAKE) $(FLAGS_TO_PASS) install)
5160 # Other targets (info, dvi, etc.)
5162 .PHONY: maybe-info-byacc info-byacc
5165 maybe-info-byacc: info-byacc
5169 @[ -f ./byacc/Makefile ] || exit 0; \
5170 r=`${PWD_COMMAND}`; export r; \
5171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5174 for flag in $(EXTRA_HOST_FLAGS) ; do \
5175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5177 echo "Doing info in byacc" ; \
5178 (cd $(HOST_SUBDIR)/byacc && \
5179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5181 "RANLIB=$${RANLIB}" \
5182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5188 .PHONY: maybe-dvi-byacc dvi-byacc
5191 maybe-dvi-byacc: dvi-byacc
5195 @[ -f ./byacc/Makefile ] || exit 0; \
5196 r=`${PWD_COMMAND}`; export r; \
5197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5200 for flag in $(EXTRA_HOST_FLAGS) ; do \
5201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5203 echo "Doing dvi in byacc" ; \
5204 (cd $(HOST_SUBDIR)/byacc && \
5205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5207 "RANLIB=$${RANLIB}" \
5208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5214 .PHONY: maybe-html-byacc html-byacc
5217 maybe-html-byacc: html-byacc
5221 @[ -f ./byacc/Makefile ] || exit 0; \
5222 r=`${PWD_COMMAND}`; export r; \
5223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5226 for flag in $(EXTRA_HOST_FLAGS) ; do \
5227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5229 echo "Doing html in byacc" ; \
5230 (cd $(HOST_SUBDIR)/byacc && \
5231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5233 "RANLIB=$${RANLIB}" \
5234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5240 .PHONY: maybe-TAGS-byacc TAGS-byacc
5243 maybe-TAGS-byacc: TAGS-byacc
5247 @[ -f ./byacc/Makefile ] || exit 0; \
5248 r=`${PWD_COMMAND}`; export r; \
5249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5252 for flag in $(EXTRA_HOST_FLAGS) ; do \
5253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5255 echo "Doing TAGS in byacc" ; \
5256 (cd $(HOST_SUBDIR)/byacc && \
5257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5259 "RANLIB=$${RANLIB}" \
5260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5266 .PHONY: maybe-install-info-byacc install-info-byacc
5267 maybe-install-info-byacc:
5269 maybe-install-info-byacc: install-info-byacc
5271 install-info-byacc: \
5274 @[ -f ./byacc/Makefile ] || exit 0; \
5275 r=`${PWD_COMMAND}`; export r; \
5276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5279 for flag in $(EXTRA_HOST_FLAGS) ; do \
5280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5282 echo "Doing install-info in byacc" ; \
5283 (cd $(HOST_SUBDIR)/byacc && \
5284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5286 "RANLIB=$${RANLIB}" \
5287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5293 .PHONY: maybe-installcheck-byacc installcheck-byacc
5294 maybe-installcheck-byacc:
5296 maybe-installcheck-byacc: installcheck-byacc
5298 installcheck-byacc: \
5300 @[ -f ./byacc/Makefile ] || exit 0; \
5301 r=`${PWD_COMMAND}`; export r; \
5302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5305 for flag in $(EXTRA_HOST_FLAGS) ; do \
5306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5308 echo "Doing installcheck in byacc" ; \
5309 (cd $(HOST_SUBDIR)/byacc && \
5310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5312 "RANLIB=$${RANLIB}" \
5313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5319 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
5320 maybe-mostlyclean-byacc:
5322 maybe-mostlyclean-byacc: mostlyclean-byacc
5325 @[ -f ./byacc/Makefile ] || exit 0; \
5326 r=`${PWD_COMMAND}`; export r; \
5327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5330 for flag in $(EXTRA_HOST_FLAGS) ; do \
5331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5333 echo "Doing mostlyclean in byacc" ; \
5334 (cd $(HOST_SUBDIR)/byacc && \
5335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5337 "RANLIB=$${RANLIB}" \
5338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5344 .PHONY: maybe-clean-byacc clean-byacc
5347 maybe-clean-byacc: clean-byacc
5350 @[ -f ./byacc/Makefile ] || exit 0; \
5351 r=`${PWD_COMMAND}`; export r; \
5352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5355 for flag in $(EXTRA_HOST_FLAGS) ; do \
5356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5358 echo "Doing clean in byacc" ; \
5359 (cd $(HOST_SUBDIR)/byacc && \
5360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5362 "RANLIB=$${RANLIB}" \
5363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5369 .PHONY: maybe-distclean-byacc distclean-byacc
5370 maybe-distclean-byacc:
5372 maybe-distclean-byacc: distclean-byacc
5375 @[ -f ./byacc/Makefile ] || exit 0; \
5376 r=`${PWD_COMMAND}`; export r; \
5377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5380 for flag in $(EXTRA_HOST_FLAGS) ; do \
5381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5383 echo "Doing distclean in byacc" ; \
5384 (cd $(HOST_SUBDIR)/byacc && \
5385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5387 "RANLIB=$${RANLIB}" \
5388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5394 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
5395 maybe-maintainer-clean-byacc:
5397 maybe-maintainer-clean-byacc: maintainer-clean-byacc
5399 maintainer-clean-byacc:
5400 @[ -f ./byacc/Makefile ] || exit 0; \
5401 r=`${PWD_COMMAND}`; export r; \
5402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5405 for flag in $(EXTRA_HOST_FLAGS) ; do \
5406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5408 echo "Doing maintainer-clean in byacc" ; \
5409 (cd $(HOST_SUBDIR)/byacc && \
5410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5412 "RANLIB=$${RANLIB}" \
5413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5420 .PHONY: configure-bzip2 maybe-configure-bzip2
5421 maybe-configure-bzip2:
5423 maybe-configure-bzip2: configure-bzip2
5425 @test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
5426 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
5427 r=`${PWD_COMMAND}`; export r; \
5428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5430 echo Configuring in bzip2; \
5431 cd $(HOST_SUBDIR)/bzip2 || exit 1; \
5433 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5434 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
5435 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5437 srcdiroption="--srcdir=$${topdir}/bzip2"; \
5438 libsrcdir="$$s/bzip2"; \
5439 $(SHELL) $${libsrcdir}/configure \
5440 $(HOST_CONFIGARGS) $${srcdiroption} \
5444 .PHONY: all-bzip2 maybe-all-bzip2
5448 maybe-all-bzip2: all-bzip2
5449 all-bzip2: configure-bzip2
5450 @r=`${PWD_COMMAND}`; export r; \
5451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5454 (cd $(HOST_SUBDIR)/bzip2 && \
5455 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
5458 .PHONY: check-bzip2 maybe-check-bzip2
5461 maybe-check-bzip2: check-bzip2
5464 @r=`${PWD_COMMAND}`; export r; \
5465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5468 (cd $(HOST_SUBDIR)/bzip2 && \
5469 $(MAKE) $(FLAGS_TO_PASS) check)
5473 .PHONY: install-bzip2 maybe-install-bzip2
5474 maybe-install-bzip2:
5476 maybe-install-bzip2: install-bzip2
5478 install-bzip2: installdirs
5479 @r=`${PWD_COMMAND}`; export r; \
5480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5483 (cd $(HOST_SUBDIR)/bzip2 && \
5484 $(MAKE) $(FLAGS_TO_PASS) install)
5488 # Other targets (info, dvi, etc.)
5490 .PHONY: maybe-info-bzip2 info-bzip2
5493 maybe-info-bzip2: info-bzip2
5497 @[ -f ./bzip2/Makefile ] || exit 0; \
5498 r=`${PWD_COMMAND}`; export r; \
5499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5502 for flag in $(EXTRA_HOST_FLAGS) ; do \
5503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5505 echo "Doing info in bzip2" ; \
5506 (cd $(HOST_SUBDIR)/bzip2 && \
5507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5509 "RANLIB=$${RANLIB}" \
5510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5516 .PHONY: maybe-dvi-bzip2 dvi-bzip2
5519 maybe-dvi-bzip2: dvi-bzip2
5523 @[ -f ./bzip2/Makefile ] || exit 0; \
5524 r=`${PWD_COMMAND}`; export r; \
5525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5528 for flag in $(EXTRA_HOST_FLAGS) ; do \
5529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5531 echo "Doing dvi in bzip2" ; \
5532 (cd $(HOST_SUBDIR)/bzip2 && \
5533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5535 "RANLIB=$${RANLIB}" \
5536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5542 .PHONY: maybe-html-bzip2 html-bzip2
5545 maybe-html-bzip2: html-bzip2
5549 @[ -f ./bzip2/Makefile ] || exit 0; \
5550 r=`${PWD_COMMAND}`; export r; \
5551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5554 for flag in $(EXTRA_HOST_FLAGS) ; do \
5555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5557 echo "Doing html in bzip2" ; \
5558 (cd $(HOST_SUBDIR)/bzip2 && \
5559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5561 "RANLIB=$${RANLIB}" \
5562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5568 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
5571 maybe-TAGS-bzip2: TAGS-bzip2
5575 @[ -f ./bzip2/Makefile ] || exit 0; \
5576 r=`${PWD_COMMAND}`; export r; \
5577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5580 for flag in $(EXTRA_HOST_FLAGS) ; do \
5581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5583 echo "Doing TAGS in bzip2" ; \
5584 (cd $(HOST_SUBDIR)/bzip2 && \
5585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5587 "RANLIB=$${RANLIB}" \
5588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5594 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5595 maybe-install-info-bzip2:
5597 maybe-install-info-bzip2: install-info-bzip2
5599 install-info-bzip2: \
5602 @[ -f ./bzip2/Makefile ] || exit 0; \
5603 r=`${PWD_COMMAND}`; export r; \
5604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5607 for flag in $(EXTRA_HOST_FLAGS) ; do \
5608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5610 echo "Doing install-info in bzip2" ; \
5611 (cd $(HOST_SUBDIR)/bzip2 && \
5612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5614 "RANLIB=$${RANLIB}" \
5615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5621 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5622 maybe-installcheck-bzip2:
5624 maybe-installcheck-bzip2: installcheck-bzip2
5626 installcheck-bzip2: \
5628 @[ -f ./bzip2/Makefile ] || exit 0; \
5629 r=`${PWD_COMMAND}`; export r; \
5630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5633 for flag in $(EXTRA_HOST_FLAGS) ; do \
5634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5636 echo "Doing installcheck in bzip2" ; \
5637 (cd $(HOST_SUBDIR)/bzip2 && \
5638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5640 "RANLIB=$${RANLIB}" \
5641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5647 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5648 maybe-mostlyclean-bzip2:
5650 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5653 @[ -f ./bzip2/Makefile ] || exit 0; \
5654 r=`${PWD_COMMAND}`; export r; \
5655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5658 for flag in $(EXTRA_HOST_FLAGS) ; do \
5659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5661 echo "Doing mostlyclean in bzip2" ; \
5662 (cd $(HOST_SUBDIR)/bzip2 && \
5663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5665 "RANLIB=$${RANLIB}" \
5666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5672 .PHONY: maybe-clean-bzip2 clean-bzip2
5675 maybe-clean-bzip2: clean-bzip2
5678 @[ -f ./bzip2/Makefile ] || exit 0; \
5679 r=`${PWD_COMMAND}`; export r; \
5680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5683 for flag in $(EXTRA_HOST_FLAGS) ; do \
5684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5686 echo "Doing clean in bzip2" ; \
5687 (cd $(HOST_SUBDIR)/bzip2 && \
5688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5690 "RANLIB=$${RANLIB}" \
5691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5697 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5698 maybe-distclean-bzip2:
5700 maybe-distclean-bzip2: distclean-bzip2
5703 @[ -f ./bzip2/Makefile ] || exit 0; \
5704 r=`${PWD_COMMAND}`; export r; \
5705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5708 for flag in $(EXTRA_HOST_FLAGS) ; do \
5709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5711 echo "Doing distclean in bzip2" ; \
5712 (cd $(HOST_SUBDIR)/bzip2 && \
5713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5715 "RANLIB=$${RANLIB}" \
5716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5722 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5723 maybe-maintainer-clean-bzip2:
5725 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5727 maintainer-clean-bzip2:
5728 @[ -f ./bzip2/Makefile ] || exit 0; \
5729 r=`${PWD_COMMAND}`; export r; \
5730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5733 for flag in $(EXTRA_HOST_FLAGS) ; do \
5734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5736 echo "Doing maintainer-clean in bzip2" ; \
5737 (cd $(HOST_SUBDIR)/bzip2 && \
5738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5740 "RANLIB=$${RANLIB}" \
5741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5748 .PHONY: configure-dejagnu maybe-configure-dejagnu
5749 maybe-configure-dejagnu:
5751 maybe-configure-dejagnu: configure-dejagnu
5753 @test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
5754 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
5755 r=`${PWD_COMMAND}`; export r; \
5756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5758 echo Configuring in dejagnu; \
5759 cd $(HOST_SUBDIR)/dejagnu || exit 1; \
5761 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5762 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
5763 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5765 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
5766 libsrcdir="$$s/dejagnu"; \
5767 $(SHELL) $${libsrcdir}/configure \
5768 $(HOST_CONFIGARGS) $${srcdiroption} \
5772 .PHONY: all-dejagnu maybe-all-dejagnu
5776 maybe-all-dejagnu: all-dejagnu
5777 all-dejagnu: configure-dejagnu
5778 @r=`${PWD_COMMAND}`; export r; \
5779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5782 (cd $(HOST_SUBDIR)/dejagnu && \
5783 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
5786 .PHONY: check-dejagnu maybe-check-dejagnu
5787 maybe-check-dejagnu:
5789 maybe-check-dejagnu: check-dejagnu
5792 @r=`${PWD_COMMAND}`; export r; \
5793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5796 (cd $(HOST_SUBDIR)/dejagnu && \
5797 $(MAKE) $(FLAGS_TO_PASS) check)
5801 .PHONY: install-dejagnu maybe-install-dejagnu
5802 maybe-install-dejagnu:
5804 maybe-install-dejagnu: install-dejagnu
5806 install-dejagnu: installdirs
5807 @r=`${PWD_COMMAND}`; export r; \
5808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5811 (cd $(HOST_SUBDIR)/dejagnu && \
5812 $(MAKE) $(FLAGS_TO_PASS) install)
5816 # Other targets (info, dvi, etc.)
5818 .PHONY: maybe-info-dejagnu info-dejagnu
5821 maybe-info-dejagnu: info-dejagnu
5825 @[ -f ./dejagnu/Makefile ] || exit 0; \
5826 r=`${PWD_COMMAND}`; export r; \
5827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5830 for flag in $(EXTRA_HOST_FLAGS) ; do \
5831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5833 echo "Doing info in dejagnu" ; \
5834 (cd $(HOST_SUBDIR)/dejagnu && \
5835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5837 "RANLIB=$${RANLIB}" \
5838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5844 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
5847 maybe-dvi-dejagnu: dvi-dejagnu
5851 @[ -f ./dejagnu/Makefile ] || exit 0; \
5852 r=`${PWD_COMMAND}`; export r; \
5853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5856 for flag in $(EXTRA_HOST_FLAGS) ; do \
5857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5859 echo "Doing dvi in dejagnu" ; \
5860 (cd $(HOST_SUBDIR)/dejagnu && \
5861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5863 "RANLIB=$${RANLIB}" \
5864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5870 .PHONY: maybe-html-dejagnu html-dejagnu
5873 maybe-html-dejagnu: html-dejagnu
5877 @[ -f ./dejagnu/Makefile ] || exit 0; \
5878 r=`${PWD_COMMAND}`; export r; \
5879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5882 for flag in $(EXTRA_HOST_FLAGS) ; do \
5883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5885 echo "Doing html in dejagnu" ; \
5886 (cd $(HOST_SUBDIR)/dejagnu && \
5887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5889 "RANLIB=$${RANLIB}" \
5890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5896 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
5899 maybe-TAGS-dejagnu: TAGS-dejagnu
5903 @[ -f ./dejagnu/Makefile ] || exit 0; \
5904 r=`${PWD_COMMAND}`; export r; \
5905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5908 for flag in $(EXTRA_HOST_FLAGS) ; do \
5909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5911 echo "Doing TAGS in dejagnu" ; \
5912 (cd $(HOST_SUBDIR)/dejagnu && \
5913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5915 "RANLIB=$${RANLIB}" \
5916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5922 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
5923 maybe-install-info-dejagnu:
5925 maybe-install-info-dejagnu: install-info-dejagnu
5927 install-info-dejagnu: \
5930 @[ -f ./dejagnu/Makefile ] || exit 0; \
5931 r=`${PWD_COMMAND}`; export r; \
5932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5935 for flag in $(EXTRA_HOST_FLAGS) ; do \
5936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5938 echo "Doing install-info in dejagnu" ; \
5939 (cd $(HOST_SUBDIR)/dejagnu && \
5940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5942 "RANLIB=$${RANLIB}" \
5943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5949 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
5950 maybe-installcheck-dejagnu:
5952 maybe-installcheck-dejagnu: installcheck-dejagnu
5954 installcheck-dejagnu: \
5956 @[ -f ./dejagnu/Makefile ] || exit 0; \
5957 r=`${PWD_COMMAND}`; export r; \
5958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5961 for flag in $(EXTRA_HOST_FLAGS) ; do \
5962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5964 echo "Doing installcheck in dejagnu" ; \
5965 (cd $(HOST_SUBDIR)/dejagnu && \
5966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5968 "RANLIB=$${RANLIB}" \
5969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5975 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
5976 maybe-mostlyclean-dejagnu:
5978 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
5980 mostlyclean-dejagnu:
5981 @[ -f ./dejagnu/Makefile ] || exit 0; \
5982 r=`${PWD_COMMAND}`; export r; \
5983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5986 for flag in $(EXTRA_HOST_FLAGS) ; do \
5987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5989 echo "Doing mostlyclean in dejagnu" ; \
5990 (cd $(HOST_SUBDIR)/dejagnu && \
5991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5993 "RANLIB=$${RANLIB}" \
5994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6000 .PHONY: maybe-clean-dejagnu clean-dejagnu
6001 maybe-clean-dejagnu:
6003 maybe-clean-dejagnu: clean-dejagnu
6006 @[ -f ./dejagnu/Makefile ] || exit 0; \
6007 r=`${PWD_COMMAND}`; export r; \
6008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6011 for flag in $(EXTRA_HOST_FLAGS) ; do \
6012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6014 echo "Doing clean in dejagnu" ; \
6015 (cd $(HOST_SUBDIR)/dejagnu && \
6016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6018 "RANLIB=$${RANLIB}" \
6019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6025 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6026 maybe-distclean-dejagnu:
6028 maybe-distclean-dejagnu: distclean-dejagnu
6031 @[ -f ./dejagnu/Makefile ] || exit 0; \
6032 r=`${PWD_COMMAND}`; export r; \
6033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6036 for flag in $(EXTRA_HOST_FLAGS) ; do \
6037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6039 echo "Doing distclean in dejagnu" ; \
6040 (cd $(HOST_SUBDIR)/dejagnu && \
6041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6043 "RANLIB=$${RANLIB}" \
6044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6050 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6051 maybe-maintainer-clean-dejagnu:
6053 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6055 maintainer-clean-dejagnu:
6056 @[ -f ./dejagnu/Makefile ] || exit 0; \
6057 r=`${PWD_COMMAND}`; export r; \
6058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6061 for flag in $(EXTRA_HOST_FLAGS) ; do \
6062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6064 echo "Doing maintainer-clean in dejagnu" ; \
6065 (cd $(HOST_SUBDIR)/dejagnu && \
6066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6068 "RANLIB=$${RANLIB}" \
6069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6076 .PHONY: configure-diff maybe-configure-diff
6077 maybe-configure-diff:
6079 maybe-configure-diff: configure-diff
6081 @test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
6082 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
6083 r=`${PWD_COMMAND}`; export r; \
6084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6086 echo Configuring in diff; \
6087 cd $(HOST_SUBDIR)/diff || exit 1; \
6089 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6090 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
6091 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6093 srcdiroption="--srcdir=$${topdir}/diff"; \
6094 libsrcdir="$$s/diff"; \
6095 $(SHELL) $${libsrcdir}/configure \
6096 $(HOST_CONFIGARGS) $${srcdiroption} \
6100 .PHONY: all-diff maybe-all-diff
6104 maybe-all-diff: all-diff
6105 all-diff: configure-diff
6106 @r=`${PWD_COMMAND}`; export r; \
6107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6110 (cd $(HOST_SUBDIR)/diff && \
6111 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
6114 .PHONY: check-diff maybe-check-diff
6117 maybe-check-diff: check-diff
6120 @r=`${PWD_COMMAND}`; export r; \
6121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6124 (cd $(HOST_SUBDIR)/diff && \
6125 $(MAKE) $(FLAGS_TO_PASS) check)
6129 .PHONY: install-diff maybe-install-diff
6132 maybe-install-diff: install-diff
6134 install-diff: installdirs
6135 @r=`${PWD_COMMAND}`; export r; \
6136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6139 (cd $(HOST_SUBDIR)/diff && \
6140 $(MAKE) $(FLAGS_TO_PASS) install)
6144 # Other targets (info, dvi, etc.)
6146 .PHONY: maybe-info-diff info-diff
6149 maybe-info-diff: info-diff
6153 @[ -f ./diff/Makefile ] || exit 0; \
6154 r=`${PWD_COMMAND}`; export r; \
6155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6158 for flag in $(EXTRA_HOST_FLAGS) ; do \
6159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6161 echo "Doing info in diff" ; \
6162 (cd $(HOST_SUBDIR)/diff && \
6163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6165 "RANLIB=$${RANLIB}" \
6166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6172 .PHONY: maybe-dvi-diff dvi-diff
6175 maybe-dvi-diff: dvi-diff
6179 @[ -f ./diff/Makefile ] || exit 0; \
6180 r=`${PWD_COMMAND}`; export r; \
6181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6184 for flag in $(EXTRA_HOST_FLAGS) ; do \
6185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6187 echo "Doing dvi in diff" ; \
6188 (cd $(HOST_SUBDIR)/diff && \
6189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6191 "RANLIB=$${RANLIB}" \
6192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6198 .PHONY: maybe-html-diff html-diff
6201 maybe-html-diff: html-diff
6205 @[ -f ./diff/Makefile ] || exit 0; \
6206 r=`${PWD_COMMAND}`; export r; \
6207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6210 for flag in $(EXTRA_HOST_FLAGS) ; do \
6211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6213 echo "Doing html in diff" ; \
6214 (cd $(HOST_SUBDIR)/diff && \
6215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6217 "RANLIB=$${RANLIB}" \
6218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6224 .PHONY: maybe-TAGS-diff TAGS-diff
6227 maybe-TAGS-diff: TAGS-diff
6231 @[ -f ./diff/Makefile ] || exit 0; \
6232 r=`${PWD_COMMAND}`; export r; \
6233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6236 for flag in $(EXTRA_HOST_FLAGS) ; do \
6237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6239 echo "Doing TAGS in diff" ; \
6240 (cd $(HOST_SUBDIR)/diff && \
6241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6243 "RANLIB=$${RANLIB}" \
6244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6250 .PHONY: maybe-install-info-diff install-info-diff
6251 maybe-install-info-diff:
6253 maybe-install-info-diff: install-info-diff
6255 install-info-diff: \
6258 @[ -f ./diff/Makefile ] || exit 0; \
6259 r=`${PWD_COMMAND}`; export r; \
6260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6263 for flag in $(EXTRA_HOST_FLAGS) ; do \
6264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6266 echo "Doing install-info in diff" ; \
6267 (cd $(HOST_SUBDIR)/diff && \
6268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6270 "RANLIB=$${RANLIB}" \
6271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6277 .PHONY: maybe-installcheck-diff installcheck-diff
6278 maybe-installcheck-diff:
6280 maybe-installcheck-diff: installcheck-diff
6282 installcheck-diff: \
6284 @[ -f ./diff/Makefile ] || exit 0; \
6285 r=`${PWD_COMMAND}`; export r; \
6286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6289 for flag in $(EXTRA_HOST_FLAGS) ; do \
6290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6292 echo "Doing installcheck in diff" ; \
6293 (cd $(HOST_SUBDIR)/diff && \
6294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6296 "RANLIB=$${RANLIB}" \
6297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6303 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
6304 maybe-mostlyclean-diff:
6306 maybe-mostlyclean-diff: mostlyclean-diff
6309 @[ -f ./diff/Makefile ] || exit 0; \
6310 r=`${PWD_COMMAND}`; export r; \
6311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6314 for flag in $(EXTRA_HOST_FLAGS) ; do \
6315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6317 echo "Doing mostlyclean in diff" ; \
6318 (cd $(HOST_SUBDIR)/diff && \
6319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6321 "RANLIB=$${RANLIB}" \
6322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6328 .PHONY: maybe-clean-diff clean-diff
6331 maybe-clean-diff: clean-diff
6334 @[ -f ./diff/Makefile ] || exit 0; \
6335 r=`${PWD_COMMAND}`; export r; \
6336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6339 for flag in $(EXTRA_HOST_FLAGS) ; do \
6340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6342 echo "Doing clean in diff" ; \
6343 (cd $(HOST_SUBDIR)/diff && \
6344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6346 "RANLIB=$${RANLIB}" \
6347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6353 .PHONY: maybe-distclean-diff distclean-diff
6354 maybe-distclean-diff:
6356 maybe-distclean-diff: distclean-diff
6359 @[ -f ./diff/Makefile ] || exit 0; \
6360 r=`${PWD_COMMAND}`; export r; \
6361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6364 for flag in $(EXTRA_HOST_FLAGS) ; do \
6365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6367 echo "Doing distclean in diff" ; \
6368 (cd $(HOST_SUBDIR)/diff && \
6369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6371 "RANLIB=$${RANLIB}" \
6372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6378 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
6379 maybe-maintainer-clean-diff:
6381 maybe-maintainer-clean-diff: maintainer-clean-diff
6383 maintainer-clean-diff:
6384 @[ -f ./diff/Makefile ] || exit 0; \
6385 r=`${PWD_COMMAND}`; export r; \
6386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6389 for flag in $(EXTRA_HOST_FLAGS) ; do \
6390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6392 echo "Doing maintainer-clean in diff" ; \
6393 (cd $(HOST_SUBDIR)/diff && \
6394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6396 "RANLIB=$${RANLIB}" \
6397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6404 .PHONY: configure-dosutils maybe-configure-dosutils
6405 maybe-configure-dosutils:
6407 maybe-configure-dosutils: configure-dosutils
6409 @test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
6410 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
6411 r=`${PWD_COMMAND}`; export r; \
6412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6414 echo Configuring in dosutils; \
6415 cd $(HOST_SUBDIR)/dosutils || exit 1; \
6417 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6418 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
6419 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6421 srcdiroption="--srcdir=$${topdir}/dosutils"; \
6422 libsrcdir="$$s/dosutils"; \
6423 $(SHELL) $${libsrcdir}/configure \
6424 $(HOST_CONFIGARGS) $${srcdiroption} \
6428 .PHONY: all-dosutils maybe-all-dosutils
6432 maybe-all-dosutils: all-dosutils
6433 all-dosutils: configure-dosutils
6434 @r=`${PWD_COMMAND}`; export r; \
6435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6438 (cd $(HOST_SUBDIR)/dosutils && \
6439 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
6442 .PHONY: check-dosutils maybe-check-dosutils
6443 maybe-check-dosutils:
6445 maybe-check-dosutils: check-dosutils
6451 .PHONY: install-dosutils maybe-install-dosutils
6452 maybe-install-dosutils:
6454 maybe-install-dosutils: install-dosutils
6456 install-dosutils: installdirs
6457 @r=`${PWD_COMMAND}`; export r; \
6458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6461 (cd $(HOST_SUBDIR)/dosutils && \
6462 $(MAKE) $(FLAGS_TO_PASS) install)
6466 # Other targets (info, dvi, etc.)
6468 .PHONY: maybe-info-dosutils info-dosutils
6469 maybe-info-dosutils:
6471 maybe-info-dosutils: info-dosutils
6475 @[ -f ./dosutils/Makefile ] || exit 0; \
6476 r=`${PWD_COMMAND}`; export r; \
6477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6480 for flag in $(EXTRA_HOST_FLAGS) ; do \
6481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6483 echo "Doing info in dosutils" ; \
6484 (cd $(HOST_SUBDIR)/dosutils && \
6485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6487 "RANLIB=$${RANLIB}" \
6488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6494 .PHONY: maybe-dvi-dosutils dvi-dosutils
6497 maybe-dvi-dosutils: dvi-dosutils
6501 @[ -f ./dosutils/Makefile ] || exit 0; \
6502 r=`${PWD_COMMAND}`; export r; \
6503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6506 for flag in $(EXTRA_HOST_FLAGS) ; do \
6507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6509 echo "Doing dvi in dosutils" ; \
6510 (cd $(HOST_SUBDIR)/dosutils && \
6511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6513 "RANLIB=$${RANLIB}" \
6514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6520 .PHONY: maybe-html-dosutils html-dosutils
6521 maybe-html-dosutils:
6523 maybe-html-dosutils: html-dosutils
6527 @[ -f ./dosutils/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 html in dosutils" ; \
6536 (cd $(HOST_SUBDIR)/dosutils && \
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-TAGS-dosutils TAGS-dosutils
6547 maybe-TAGS-dosutils:
6549 maybe-TAGS-dosutils: TAGS-dosutils
6553 @[ -f ./dosutils/Makefile ] || exit 0; \
6554 r=`${PWD_COMMAND}`; export r; \
6555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6558 for flag in $(EXTRA_HOST_FLAGS) ; do \
6559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6561 echo "Doing TAGS in dosutils" ; \
6562 (cd $(HOST_SUBDIR)/dosutils && \
6563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6565 "RANLIB=$${RANLIB}" \
6566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6572 .PHONY: maybe-install-info-dosutils install-info-dosutils
6573 maybe-install-info-dosutils:
6575 maybe-install-info-dosutils: install-info-dosutils
6577 install-info-dosutils: \
6578 configure-dosutils \
6580 @[ -f ./dosutils/Makefile ] || exit 0; \
6581 r=`${PWD_COMMAND}`; export r; \
6582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6585 for flag in $(EXTRA_HOST_FLAGS) ; do \
6586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6588 echo "Doing install-info in dosutils" ; \
6589 (cd $(HOST_SUBDIR)/dosutils && \
6590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6592 "RANLIB=$${RANLIB}" \
6593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6599 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
6600 maybe-installcheck-dosutils:
6602 maybe-installcheck-dosutils: installcheck-dosutils
6604 installcheck-dosutils: \
6606 @[ -f ./dosutils/Makefile ] || exit 0; \
6607 r=`${PWD_COMMAND}`; export r; \
6608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6611 for flag in $(EXTRA_HOST_FLAGS) ; do \
6612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6614 echo "Doing installcheck in dosutils" ; \
6615 (cd $(HOST_SUBDIR)/dosutils && \
6616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6618 "RANLIB=$${RANLIB}" \
6619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6625 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
6626 maybe-mostlyclean-dosutils:
6628 maybe-mostlyclean-dosutils: mostlyclean-dosutils
6630 mostlyclean-dosutils:
6631 @[ -f ./dosutils/Makefile ] || exit 0; \
6632 r=`${PWD_COMMAND}`; export r; \
6633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6636 for flag in $(EXTRA_HOST_FLAGS) ; do \
6637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6639 echo "Doing mostlyclean in dosutils" ; \
6640 (cd $(HOST_SUBDIR)/dosutils && \
6641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6643 "RANLIB=$${RANLIB}" \
6644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6650 .PHONY: maybe-clean-dosutils clean-dosutils
6651 maybe-clean-dosutils:
6653 maybe-clean-dosutils: clean-dosutils
6656 @[ -f ./dosutils/Makefile ] || exit 0; \
6657 r=`${PWD_COMMAND}`; export r; \
6658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6661 for flag in $(EXTRA_HOST_FLAGS) ; do \
6662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6664 echo "Doing clean in dosutils" ; \
6665 (cd $(HOST_SUBDIR)/dosutils && \
6666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6668 "RANLIB=$${RANLIB}" \
6669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6675 .PHONY: maybe-distclean-dosutils distclean-dosutils
6676 maybe-distclean-dosutils:
6678 maybe-distclean-dosutils: distclean-dosutils
6681 @[ -f ./dosutils/Makefile ] || exit 0; \
6682 r=`${PWD_COMMAND}`; export r; \
6683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6686 for flag in $(EXTRA_HOST_FLAGS) ; do \
6687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6689 echo "Doing distclean in dosutils" ; \
6690 (cd $(HOST_SUBDIR)/dosutils && \
6691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6693 "RANLIB=$${RANLIB}" \
6694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6700 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6701 maybe-maintainer-clean-dosutils:
6703 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6705 maintainer-clean-dosutils:
6706 @[ -f ./dosutils/Makefile ] || exit 0; \
6707 r=`${PWD_COMMAND}`; export r; \
6708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6711 for flag in $(EXTRA_HOST_FLAGS) ; do \
6712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6714 echo "Doing maintainer-clean in dosutils" ; \
6715 (cd $(HOST_SUBDIR)/dosutils && \
6716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6718 "RANLIB=$${RANLIB}" \
6719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6726 .PHONY: configure-etc maybe-configure-etc
6727 maybe-configure-etc:
6729 maybe-configure-etc: configure-etc
6731 @test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
6732 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
6733 r=`${PWD_COMMAND}`; export r; \
6734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6736 echo Configuring in etc; \
6737 cd $(HOST_SUBDIR)/etc || exit 1; \
6739 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6740 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
6741 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6743 srcdiroption="--srcdir=$${topdir}/etc"; \
6744 libsrcdir="$$s/etc"; \
6745 $(SHELL) $${libsrcdir}/configure \
6746 $(HOST_CONFIGARGS) $${srcdiroption} \
6750 .PHONY: all-etc maybe-all-etc
6754 maybe-all-etc: all-etc
6755 all-etc: configure-etc
6756 @r=`${PWD_COMMAND}`; export r; \
6757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6760 (cd $(HOST_SUBDIR)/etc && \
6761 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
6764 .PHONY: check-etc maybe-check-etc
6767 maybe-check-etc: check-etc
6770 @r=`${PWD_COMMAND}`; export r; \
6771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6774 (cd $(HOST_SUBDIR)/etc && \
6775 $(MAKE) $(FLAGS_TO_PASS) check)
6779 .PHONY: install-etc maybe-install-etc
6782 maybe-install-etc: install-etc
6784 install-etc: installdirs
6785 @r=`${PWD_COMMAND}`; export r; \
6786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6789 (cd $(HOST_SUBDIR)/etc && \
6790 $(MAKE) $(FLAGS_TO_PASS) install)
6794 # Other targets (info, dvi, etc.)
6796 .PHONY: maybe-info-etc info-etc
6799 maybe-info-etc: info-etc
6803 @[ -f ./etc/Makefile ] || exit 0; \
6804 r=`${PWD_COMMAND}`; export r; \
6805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6808 for flag in $(EXTRA_HOST_FLAGS) ; do \
6809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6811 echo "Doing info in etc" ; \
6812 (cd $(HOST_SUBDIR)/etc && \
6813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6815 "RANLIB=$${RANLIB}" \
6816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6822 .PHONY: maybe-dvi-etc dvi-etc
6825 maybe-dvi-etc: dvi-etc
6829 @[ -f ./etc/Makefile ] || exit 0; \
6830 r=`${PWD_COMMAND}`; export r; \
6831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6834 for flag in $(EXTRA_HOST_FLAGS) ; do \
6835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6837 echo "Doing dvi in etc" ; \
6838 (cd $(HOST_SUBDIR)/etc && \
6839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6841 "RANLIB=$${RANLIB}" \
6842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6848 .PHONY: maybe-html-etc html-etc
6851 maybe-html-etc: html-etc
6855 @[ -f ./etc/Makefile ] || exit 0; \
6856 r=`${PWD_COMMAND}`; export r; \
6857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6860 for flag in $(EXTRA_HOST_FLAGS) ; do \
6861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6863 echo "Doing html in etc" ; \
6864 (cd $(HOST_SUBDIR)/etc && \
6865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6867 "RANLIB=$${RANLIB}" \
6868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6874 .PHONY: maybe-TAGS-etc TAGS-etc
6877 maybe-TAGS-etc: TAGS-etc
6881 @[ -f ./etc/Makefile ] || exit 0; \
6882 r=`${PWD_COMMAND}`; export r; \
6883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6886 for flag in $(EXTRA_HOST_FLAGS) ; do \
6887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6889 echo "Doing TAGS in etc" ; \
6890 (cd $(HOST_SUBDIR)/etc && \
6891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6893 "RANLIB=$${RANLIB}" \
6894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6900 .PHONY: maybe-install-info-etc install-info-etc
6901 maybe-install-info-etc:
6903 maybe-install-info-etc: install-info-etc
6908 @[ -f ./etc/Makefile ] || exit 0; \
6909 r=`${PWD_COMMAND}`; export r; \
6910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6913 for flag in $(EXTRA_HOST_FLAGS) ; do \
6914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6916 echo "Doing install-info in etc" ; \
6917 (cd $(HOST_SUBDIR)/etc && \
6918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6920 "RANLIB=$${RANLIB}" \
6921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6927 .PHONY: maybe-installcheck-etc installcheck-etc
6928 maybe-installcheck-etc:
6930 maybe-installcheck-etc: installcheck-etc
6934 @[ -f ./etc/Makefile ] || exit 0; \
6935 r=`${PWD_COMMAND}`; export r; \
6936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6939 for flag in $(EXTRA_HOST_FLAGS) ; do \
6940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6942 echo "Doing installcheck in etc" ; \
6943 (cd $(HOST_SUBDIR)/etc && \
6944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6946 "RANLIB=$${RANLIB}" \
6947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6953 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
6954 maybe-mostlyclean-etc:
6956 maybe-mostlyclean-etc: mostlyclean-etc
6959 @[ -f ./etc/Makefile ] || exit 0; \
6960 r=`${PWD_COMMAND}`; export r; \
6961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6964 for flag in $(EXTRA_HOST_FLAGS) ; do \
6965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6967 echo "Doing mostlyclean in etc" ; \
6968 (cd $(HOST_SUBDIR)/etc && \
6969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6971 "RANLIB=$${RANLIB}" \
6972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6978 .PHONY: maybe-clean-etc clean-etc
6981 maybe-clean-etc: clean-etc
6984 @[ -f ./etc/Makefile ] || exit 0; \
6985 r=`${PWD_COMMAND}`; export r; \
6986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6989 for flag in $(EXTRA_HOST_FLAGS) ; do \
6990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6992 echo "Doing clean in etc" ; \
6993 (cd $(HOST_SUBDIR)/etc && \
6994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6996 "RANLIB=$${RANLIB}" \
6997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7003 .PHONY: maybe-distclean-etc distclean-etc
7004 maybe-distclean-etc:
7006 maybe-distclean-etc: distclean-etc
7009 @[ -f ./etc/Makefile ] || exit 0; \
7010 r=`${PWD_COMMAND}`; export r; \
7011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7014 for flag in $(EXTRA_HOST_FLAGS) ; do \
7015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7017 echo "Doing distclean in etc" ; \
7018 (cd $(HOST_SUBDIR)/etc && \
7019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7021 "RANLIB=$${RANLIB}" \
7022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7028 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7029 maybe-maintainer-clean-etc:
7031 maybe-maintainer-clean-etc: maintainer-clean-etc
7033 maintainer-clean-etc:
7034 @[ -f ./etc/Makefile ] || exit 0; \
7035 r=`${PWD_COMMAND}`; export r; \
7036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7039 for flag in $(EXTRA_HOST_FLAGS) ; do \
7040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7042 echo "Doing maintainer-clean in etc" ; \
7043 (cd $(HOST_SUBDIR)/etc && \
7044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7046 "RANLIB=$${RANLIB}" \
7047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7054 .PHONY: configure-fastjar maybe-configure-fastjar
7055 maybe-configure-fastjar:
7057 maybe-configure-fastjar: configure-fastjar
7059 @test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
7060 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
7061 r=`${PWD_COMMAND}`; export r; \
7062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7064 echo Configuring in fastjar; \
7065 cd $(HOST_SUBDIR)/fastjar || exit 1; \
7067 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7068 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
7069 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7071 srcdiroption="--srcdir=$${topdir}/fastjar"; \
7072 libsrcdir="$$s/fastjar"; \
7073 $(SHELL) $${libsrcdir}/configure \
7074 $(HOST_CONFIGARGS) $${srcdiroption} \
7078 .PHONY: all-fastjar maybe-all-fastjar
7082 maybe-all-fastjar: all-fastjar
7083 all-fastjar: configure-fastjar
7084 @r=`${PWD_COMMAND}`; export r; \
7085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7088 (cd $(HOST_SUBDIR)/fastjar && \
7089 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
7092 .PHONY: check-fastjar maybe-check-fastjar
7093 maybe-check-fastjar:
7095 maybe-check-fastjar: check-fastjar
7097 # This module is only tested in a native toolchain.
7099 @if [ '$(host)' = '$(target)' ] ; then \
7100 r=`${PWD_COMMAND}`; export r; \
7101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7104 (cd $(HOST_SUBDIR)/fastjar && \
7105 $(MAKE) $(FLAGS_TO_PASS) check); \
7110 .PHONY: install-fastjar maybe-install-fastjar
7111 maybe-install-fastjar:
7113 maybe-install-fastjar: install-fastjar
7115 install-fastjar: installdirs
7116 @r=`${PWD_COMMAND}`; export r; \
7117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7120 (cd $(HOST_SUBDIR)/fastjar && \
7121 $(MAKE) $(FLAGS_TO_PASS) install)
7125 # Other targets (info, dvi, etc.)
7127 .PHONY: maybe-info-fastjar info-fastjar
7130 maybe-info-fastjar: info-fastjar
7134 @[ -f ./fastjar/Makefile ] || exit 0; \
7135 r=`${PWD_COMMAND}`; export r; \
7136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7139 for flag in $(EXTRA_HOST_FLAGS) ; do \
7140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7142 echo "Doing info in fastjar" ; \
7143 (cd $(HOST_SUBDIR)/fastjar && \
7144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7146 "RANLIB=$${RANLIB}" \
7147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7153 .PHONY: maybe-dvi-fastjar dvi-fastjar
7156 maybe-dvi-fastjar: dvi-fastjar
7160 @[ -f ./fastjar/Makefile ] || exit 0; \
7161 r=`${PWD_COMMAND}`; export r; \
7162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7165 for flag in $(EXTRA_HOST_FLAGS) ; do \
7166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7168 echo "Doing dvi in fastjar" ; \
7169 (cd $(HOST_SUBDIR)/fastjar && \
7170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7172 "RANLIB=$${RANLIB}" \
7173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7179 .PHONY: maybe-html-fastjar html-fastjar
7182 maybe-html-fastjar: html-fastjar
7186 @[ -f ./fastjar/Makefile ] || exit 0; \
7187 r=`${PWD_COMMAND}`; export r; \
7188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7191 for flag in $(EXTRA_HOST_FLAGS) ; do \
7192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7194 echo "Doing html in fastjar" ; \
7195 (cd $(HOST_SUBDIR)/fastjar && \
7196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7198 "RANLIB=$${RANLIB}" \
7199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7205 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7208 maybe-TAGS-fastjar: TAGS-fastjar
7212 @[ -f ./fastjar/Makefile ] || exit 0; \
7213 r=`${PWD_COMMAND}`; export r; \
7214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7217 for flag in $(EXTRA_HOST_FLAGS) ; do \
7218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7220 echo "Doing TAGS in fastjar" ; \
7221 (cd $(HOST_SUBDIR)/fastjar && \
7222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7224 "RANLIB=$${RANLIB}" \
7225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7231 .PHONY: maybe-install-info-fastjar install-info-fastjar
7232 maybe-install-info-fastjar:
7234 maybe-install-info-fastjar: install-info-fastjar
7236 install-info-fastjar: \
7239 @[ -f ./fastjar/Makefile ] || exit 0; \
7240 r=`${PWD_COMMAND}`; export r; \
7241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7244 for flag in $(EXTRA_HOST_FLAGS) ; do \
7245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7247 echo "Doing install-info in fastjar" ; \
7248 (cd $(HOST_SUBDIR)/fastjar && \
7249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7251 "RANLIB=$${RANLIB}" \
7252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7258 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7259 maybe-installcheck-fastjar:
7261 maybe-installcheck-fastjar: installcheck-fastjar
7263 installcheck-fastjar: \
7265 @[ -f ./fastjar/Makefile ] || exit 0; \
7266 r=`${PWD_COMMAND}`; export r; \
7267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7270 for flag in $(EXTRA_HOST_FLAGS) ; do \
7271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7273 echo "Doing installcheck in fastjar" ; \
7274 (cd $(HOST_SUBDIR)/fastjar && \
7275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7277 "RANLIB=$${RANLIB}" \
7278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7284 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7285 maybe-mostlyclean-fastjar:
7287 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7289 mostlyclean-fastjar:
7290 @[ -f ./fastjar/Makefile ] || exit 0; \
7291 r=`${PWD_COMMAND}`; export r; \
7292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7295 for flag in $(EXTRA_HOST_FLAGS) ; do \
7296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7298 echo "Doing mostlyclean in fastjar" ; \
7299 (cd $(HOST_SUBDIR)/fastjar && \
7300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7302 "RANLIB=$${RANLIB}" \
7303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7309 .PHONY: maybe-clean-fastjar clean-fastjar
7310 maybe-clean-fastjar:
7312 maybe-clean-fastjar: clean-fastjar
7315 @[ -f ./fastjar/Makefile ] || exit 0; \
7316 r=`${PWD_COMMAND}`; export r; \
7317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7320 for flag in $(EXTRA_HOST_FLAGS) ; do \
7321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7323 echo "Doing clean in fastjar" ; \
7324 (cd $(HOST_SUBDIR)/fastjar && \
7325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7327 "RANLIB=$${RANLIB}" \
7328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7334 .PHONY: maybe-distclean-fastjar distclean-fastjar
7335 maybe-distclean-fastjar:
7337 maybe-distclean-fastjar: distclean-fastjar
7340 @[ -f ./fastjar/Makefile ] || exit 0; \
7341 r=`${PWD_COMMAND}`; export r; \
7342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7345 for flag in $(EXTRA_HOST_FLAGS) ; do \
7346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7348 echo "Doing distclean in fastjar" ; \
7349 (cd $(HOST_SUBDIR)/fastjar && \
7350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7352 "RANLIB=$${RANLIB}" \
7353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7359 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7360 maybe-maintainer-clean-fastjar:
7362 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7364 maintainer-clean-fastjar:
7365 @[ -f ./fastjar/Makefile ] || exit 0; \
7366 r=`${PWD_COMMAND}`; export r; \
7367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7370 for flag in $(EXTRA_HOST_FLAGS) ; do \
7371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7373 echo "Doing maintainer-clean in fastjar" ; \
7374 (cd $(HOST_SUBDIR)/fastjar && \
7375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7377 "RANLIB=$${RANLIB}" \
7378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7385 .PHONY: configure-fileutils maybe-configure-fileutils
7386 maybe-configure-fileutils:
7388 maybe-configure-fileutils: configure-fileutils
7389 configure-fileutils:
7390 @test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
7391 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
7392 r=`${PWD_COMMAND}`; export r; \
7393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7395 echo Configuring in fileutils; \
7396 cd $(HOST_SUBDIR)/fileutils || exit 1; \
7398 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7399 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
7400 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7402 srcdiroption="--srcdir=$${topdir}/fileutils"; \
7403 libsrcdir="$$s/fileutils"; \
7404 $(SHELL) $${libsrcdir}/configure \
7405 $(HOST_CONFIGARGS) $${srcdiroption} \
7409 .PHONY: all-fileutils maybe-all-fileutils
7410 maybe-all-fileutils:
7412 TARGET-fileutils=all
7413 maybe-all-fileutils: all-fileutils
7414 all-fileutils: configure-fileutils
7415 @r=`${PWD_COMMAND}`; export r; \
7416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7419 (cd $(HOST_SUBDIR)/fileutils && \
7420 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
7423 .PHONY: check-fileutils maybe-check-fileutils
7424 maybe-check-fileutils:
7426 maybe-check-fileutils: check-fileutils
7429 @r=`${PWD_COMMAND}`; export r; \
7430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7433 (cd $(HOST_SUBDIR)/fileutils && \
7434 $(MAKE) $(FLAGS_TO_PASS) check)
7438 .PHONY: install-fileutils maybe-install-fileutils
7439 maybe-install-fileutils:
7441 maybe-install-fileutils: install-fileutils
7443 install-fileutils: installdirs
7444 @r=`${PWD_COMMAND}`; export r; \
7445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7448 (cd $(HOST_SUBDIR)/fileutils && \
7449 $(MAKE) $(FLAGS_TO_PASS) install)
7453 # Other targets (info, dvi, etc.)
7455 .PHONY: maybe-info-fileutils info-fileutils
7456 maybe-info-fileutils:
7458 maybe-info-fileutils: info-fileutils
7462 @[ -f ./fileutils/Makefile ] || exit 0; \
7463 r=`${PWD_COMMAND}`; export r; \
7464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7467 for flag in $(EXTRA_HOST_FLAGS) ; do \
7468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7470 echo "Doing info in fileutils" ; \
7471 (cd $(HOST_SUBDIR)/fileutils && \
7472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7474 "RANLIB=$${RANLIB}" \
7475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7481 .PHONY: maybe-dvi-fileutils dvi-fileutils
7482 maybe-dvi-fileutils:
7484 maybe-dvi-fileutils: dvi-fileutils
7488 @[ -f ./fileutils/Makefile ] || exit 0; \
7489 r=`${PWD_COMMAND}`; export r; \
7490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7493 for flag in $(EXTRA_HOST_FLAGS) ; do \
7494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7496 echo "Doing dvi in fileutils" ; \
7497 (cd $(HOST_SUBDIR)/fileutils && \
7498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7500 "RANLIB=$${RANLIB}" \
7501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7507 .PHONY: maybe-html-fileutils html-fileutils
7508 maybe-html-fileutils:
7510 maybe-html-fileutils: html-fileutils
7514 @[ -f ./fileutils/Makefile ] || exit 0; \
7515 r=`${PWD_COMMAND}`; export r; \
7516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7519 for flag in $(EXTRA_HOST_FLAGS) ; do \
7520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7522 echo "Doing html in fileutils" ; \
7523 (cd $(HOST_SUBDIR)/fileutils && \
7524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7526 "RANLIB=$${RANLIB}" \
7527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7533 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
7534 maybe-TAGS-fileutils:
7536 maybe-TAGS-fileutils: TAGS-fileutils
7540 @[ -f ./fileutils/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 TAGS in fileutils" ; \
7549 (cd $(HOST_SUBDIR)/fileutils && \
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-install-info-fileutils install-info-fileutils
7560 maybe-install-info-fileutils:
7562 maybe-install-info-fileutils: install-info-fileutils
7564 install-info-fileutils: \
7565 configure-fileutils \
7567 @[ -f ./fileutils/Makefile ] || exit 0; \
7568 r=`${PWD_COMMAND}`; export r; \
7569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7572 for flag in $(EXTRA_HOST_FLAGS) ; do \
7573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7575 echo "Doing install-info in fileutils" ; \
7576 (cd $(HOST_SUBDIR)/fileutils && \
7577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7579 "RANLIB=$${RANLIB}" \
7580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7586 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
7587 maybe-installcheck-fileutils:
7589 maybe-installcheck-fileutils: installcheck-fileutils
7591 installcheck-fileutils: \
7593 @[ -f ./fileutils/Makefile ] || exit 0; \
7594 r=`${PWD_COMMAND}`; export r; \
7595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7598 for flag in $(EXTRA_HOST_FLAGS) ; do \
7599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7601 echo "Doing installcheck in fileutils" ; \
7602 (cd $(HOST_SUBDIR)/fileutils && \
7603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7605 "RANLIB=$${RANLIB}" \
7606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7612 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
7613 maybe-mostlyclean-fileutils:
7615 maybe-mostlyclean-fileutils: mostlyclean-fileutils
7617 mostlyclean-fileutils:
7618 @[ -f ./fileutils/Makefile ] || exit 0; \
7619 r=`${PWD_COMMAND}`; export r; \
7620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7623 for flag in $(EXTRA_HOST_FLAGS) ; do \
7624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7626 echo "Doing mostlyclean in fileutils" ; \
7627 (cd $(HOST_SUBDIR)/fileutils && \
7628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7630 "RANLIB=$${RANLIB}" \
7631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7637 .PHONY: maybe-clean-fileutils clean-fileutils
7638 maybe-clean-fileutils:
7640 maybe-clean-fileutils: clean-fileutils
7643 @[ -f ./fileutils/Makefile ] || exit 0; \
7644 r=`${PWD_COMMAND}`; export r; \
7645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7648 for flag in $(EXTRA_HOST_FLAGS) ; do \
7649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7651 echo "Doing clean in fileutils" ; \
7652 (cd $(HOST_SUBDIR)/fileutils && \
7653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7655 "RANLIB=$${RANLIB}" \
7656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7662 .PHONY: maybe-distclean-fileutils distclean-fileutils
7663 maybe-distclean-fileutils:
7665 maybe-distclean-fileutils: distclean-fileutils
7667 distclean-fileutils:
7668 @[ -f ./fileutils/Makefile ] || exit 0; \
7669 r=`${PWD_COMMAND}`; export r; \
7670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7673 for flag in $(EXTRA_HOST_FLAGS) ; do \
7674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7676 echo "Doing distclean in fileutils" ; \
7677 (cd $(HOST_SUBDIR)/fileutils && \
7678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7680 "RANLIB=$${RANLIB}" \
7681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7687 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
7688 maybe-maintainer-clean-fileutils:
7690 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
7692 maintainer-clean-fileutils:
7693 @[ -f ./fileutils/Makefile ] || exit 0; \
7694 r=`${PWD_COMMAND}`; export r; \
7695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7698 for flag in $(EXTRA_HOST_FLAGS) ; do \
7699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7701 echo "Doing maintainer-clean in fileutils" ; \
7702 (cd $(HOST_SUBDIR)/fileutils && \
7703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7705 "RANLIB=$${RANLIB}" \
7706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7713 .PHONY: configure-findutils maybe-configure-findutils
7714 maybe-configure-findutils:
7716 maybe-configure-findutils: configure-findutils
7717 configure-findutils:
7718 @test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
7719 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
7720 r=`${PWD_COMMAND}`; export r; \
7721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7723 echo Configuring in findutils; \
7724 cd $(HOST_SUBDIR)/findutils || exit 1; \
7726 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7727 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
7728 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7730 srcdiroption="--srcdir=$${topdir}/findutils"; \
7731 libsrcdir="$$s/findutils"; \
7732 $(SHELL) $${libsrcdir}/configure \
7733 $(HOST_CONFIGARGS) $${srcdiroption} \
7737 .PHONY: all-findutils maybe-all-findutils
7738 maybe-all-findutils:
7740 TARGET-findutils=all
7741 maybe-all-findutils: all-findutils
7742 all-findutils: configure-findutils
7743 @r=`${PWD_COMMAND}`; export r; \
7744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7747 (cd $(HOST_SUBDIR)/findutils && \
7748 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
7751 .PHONY: check-findutils maybe-check-findutils
7752 maybe-check-findutils:
7754 maybe-check-findutils: check-findutils
7757 @r=`${PWD_COMMAND}`; export r; \
7758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7761 (cd $(HOST_SUBDIR)/findutils && \
7762 $(MAKE) $(FLAGS_TO_PASS) check)
7766 .PHONY: install-findutils maybe-install-findutils
7767 maybe-install-findutils:
7769 maybe-install-findutils: install-findutils
7771 install-findutils: installdirs
7772 @r=`${PWD_COMMAND}`; export r; \
7773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7776 (cd $(HOST_SUBDIR)/findutils && \
7777 $(MAKE) $(FLAGS_TO_PASS) install)
7781 # Other targets (info, dvi, etc.)
7783 .PHONY: maybe-info-findutils info-findutils
7784 maybe-info-findutils:
7786 maybe-info-findutils: info-findutils
7790 @[ -f ./findutils/Makefile ] || exit 0; \
7791 r=`${PWD_COMMAND}`; export r; \
7792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7795 for flag in $(EXTRA_HOST_FLAGS) ; do \
7796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7798 echo "Doing info in findutils" ; \
7799 (cd $(HOST_SUBDIR)/findutils && \
7800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7802 "RANLIB=$${RANLIB}" \
7803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7809 .PHONY: maybe-dvi-findutils dvi-findutils
7810 maybe-dvi-findutils:
7812 maybe-dvi-findutils: dvi-findutils
7816 @[ -f ./findutils/Makefile ] || exit 0; \
7817 r=`${PWD_COMMAND}`; export r; \
7818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7821 for flag in $(EXTRA_HOST_FLAGS) ; do \
7822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7824 echo "Doing dvi in findutils" ; \
7825 (cd $(HOST_SUBDIR)/findutils && \
7826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7828 "RANLIB=$${RANLIB}" \
7829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7835 .PHONY: maybe-html-findutils html-findutils
7836 maybe-html-findutils:
7838 maybe-html-findutils: html-findutils
7842 @[ -f ./findutils/Makefile ] || exit 0; \
7843 r=`${PWD_COMMAND}`; export r; \
7844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7847 for flag in $(EXTRA_HOST_FLAGS) ; do \
7848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7850 echo "Doing html in findutils" ; \
7851 (cd $(HOST_SUBDIR)/findutils && \
7852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7854 "RANLIB=$${RANLIB}" \
7855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7861 .PHONY: maybe-TAGS-findutils TAGS-findutils
7862 maybe-TAGS-findutils:
7864 maybe-TAGS-findutils: TAGS-findutils
7868 @[ -f ./findutils/Makefile ] || exit 0; \
7869 r=`${PWD_COMMAND}`; export r; \
7870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7873 for flag in $(EXTRA_HOST_FLAGS) ; do \
7874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7876 echo "Doing TAGS in findutils" ; \
7877 (cd $(HOST_SUBDIR)/findutils && \
7878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7880 "RANLIB=$${RANLIB}" \
7881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7887 .PHONY: maybe-install-info-findutils install-info-findutils
7888 maybe-install-info-findutils:
7890 maybe-install-info-findutils: install-info-findutils
7892 install-info-findutils: \
7893 configure-findutils \
7895 @[ -f ./findutils/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 install-info in findutils" ; \
7904 (cd $(HOST_SUBDIR)/findutils && \
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}" \
7914 .PHONY: maybe-installcheck-findutils installcheck-findutils
7915 maybe-installcheck-findutils:
7917 maybe-installcheck-findutils: installcheck-findutils
7919 installcheck-findutils: \
7921 @[ -f ./findutils/Makefile ] || exit 0; \
7922 r=`${PWD_COMMAND}`; export r; \
7923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7926 for flag in $(EXTRA_HOST_FLAGS) ; do \
7927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7929 echo "Doing installcheck in findutils" ; \
7930 (cd $(HOST_SUBDIR)/findutils && \
7931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7933 "RANLIB=$${RANLIB}" \
7934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7940 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
7941 maybe-mostlyclean-findutils:
7943 maybe-mostlyclean-findutils: mostlyclean-findutils
7945 mostlyclean-findutils:
7946 @[ -f ./findutils/Makefile ] || exit 0; \
7947 r=`${PWD_COMMAND}`; export r; \
7948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7951 for flag in $(EXTRA_HOST_FLAGS) ; do \
7952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7954 echo "Doing mostlyclean in findutils" ; \
7955 (cd $(HOST_SUBDIR)/findutils && \
7956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7958 "RANLIB=$${RANLIB}" \
7959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7965 .PHONY: maybe-clean-findutils clean-findutils
7966 maybe-clean-findutils:
7968 maybe-clean-findutils: clean-findutils
7971 @[ -f ./findutils/Makefile ] || exit 0; \
7972 r=`${PWD_COMMAND}`; export r; \
7973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7976 for flag in $(EXTRA_HOST_FLAGS) ; do \
7977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7979 echo "Doing clean in findutils" ; \
7980 (cd $(HOST_SUBDIR)/findutils && \
7981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7983 "RANLIB=$${RANLIB}" \
7984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7990 .PHONY: maybe-distclean-findutils distclean-findutils
7991 maybe-distclean-findutils:
7993 maybe-distclean-findutils: distclean-findutils
7995 distclean-findutils:
7996 @[ -f ./findutils/Makefile ] || exit 0; \
7997 r=`${PWD_COMMAND}`; export r; \
7998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8001 for flag in $(EXTRA_HOST_FLAGS) ; do \
8002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8004 echo "Doing distclean in findutils" ; \
8005 (cd $(HOST_SUBDIR)/findutils && \
8006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8008 "RANLIB=$${RANLIB}" \
8009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8015 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
8016 maybe-maintainer-clean-findutils:
8018 maybe-maintainer-clean-findutils: maintainer-clean-findutils
8020 maintainer-clean-findutils:
8021 @[ -f ./findutils/Makefile ] || exit 0; \
8022 r=`${PWD_COMMAND}`; export r; \
8023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8026 for flag in $(EXTRA_HOST_FLAGS) ; do \
8027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8029 echo "Doing maintainer-clean in findutils" ; \
8030 (cd $(HOST_SUBDIR)/findutils && \
8031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8033 "RANLIB=$${RANLIB}" \
8034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8041 .PHONY: configure-find maybe-configure-find
8042 maybe-configure-find:
8044 maybe-configure-find: configure-find
8046 @test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
8047 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
8048 r=`${PWD_COMMAND}`; export r; \
8049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8051 echo Configuring in find; \
8052 cd $(HOST_SUBDIR)/find || exit 1; \
8054 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8055 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
8056 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8058 srcdiroption="--srcdir=$${topdir}/find"; \
8059 libsrcdir="$$s/find"; \
8060 $(SHELL) $${libsrcdir}/configure \
8061 $(HOST_CONFIGARGS) $${srcdiroption} \
8065 .PHONY: all-find maybe-all-find
8069 maybe-all-find: all-find
8070 all-find: configure-find
8071 @r=`${PWD_COMMAND}`; export r; \
8072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8075 (cd $(HOST_SUBDIR)/find && \
8076 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
8079 .PHONY: check-find maybe-check-find
8082 maybe-check-find: check-find
8085 @r=`${PWD_COMMAND}`; export r; \
8086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8089 (cd $(HOST_SUBDIR)/find && \
8090 $(MAKE) $(FLAGS_TO_PASS) check)
8094 .PHONY: install-find maybe-install-find
8097 maybe-install-find: install-find
8099 install-find: installdirs
8100 @r=`${PWD_COMMAND}`; export r; \
8101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8104 (cd $(HOST_SUBDIR)/find && \
8105 $(MAKE) $(FLAGS_TO_PASS) install)
8109 # Other targets (info, dvi, etc.)
8111 .PHONY: maybe-info-find info-find
8114 maybe-info-find: info-find
8118 @[ -f ./find/Makefile ] || exit 0; \
8119 r=`${PWD_COMMAND}`; export r; \
8120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8123 for flag in $(EXTRA_HOST_FLAGS) ; do \
8124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8126 echo "Doing info in find" ; \
8127 (cd $(HOST_SUBDIR)/find && \
8128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8130 "RANLIB=$${RANLIB}" \
8131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8137 .PHONY: maybe-dvi-find dvi-find
8140 maybe-dvi-find: dvi-find
8144 @[ -f ./find/Makefile ] || exit 0; \
8145 r=`${PWD_COMMAND}`; export r; \
8146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8149 for flag in $(EXTRA_HOST_FLAGS) ; do \
8150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8152 echo "Doing dvi in find" ; \
8153 (cd $(HOST_SUBDIR)/find && \
8154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8156 "RANLIB=$${RANLIB}" \
8157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8163 .PHONY: maybe-html-find html-find
8166 maybe-html-find: html-find
8170 @[ -f ./find/Makefile ] || exit 0; \
8171 r=`${PWD_COMMAND}`; export r; \
8172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8175 for flag in $(EXTRA_HOST_FLAGS) ; do \
8176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8178 echo "Doing html in find" ; \
8179 (cd $(HOST_SUBDIR)/find && \
8180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8182 "RANLIB=$${RANLIB}" \
8183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8189 .PHONY: maybe-TAGS-find TAGS-find
8192 maybe-TAGS-find: TAGS-find
8196 @[ -f ./find/Makefile ] || exit 0; \
8197 r=`${PWD_COMMAND}`; export r; \
8198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8201 for flag in $(EXTRA_HOST_FLAGS) ; do \
8202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8204 echo "Doing TAGS in find" ; \
8205 (cd $(HOST_SUBDIR)/find && \
8206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8208 "RANLIB=$${RANLIB}" \
8209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8215 .PHONY: maybe-install-info-find install-info-find
8216 maybe-install-info-find:
8218 maybe-install-info-find: install-info-find
8220 install-info-find: \
8223 @[ -f ./find/Makefile ] || exit 0; \
8224 r=`${PWD_COMMAND}`; export r; \
8225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8228 for flag in $(EXTRA_HOST_FLAGS) ; do \
8229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8231 echo "Doing install-info in find" ; \
8232 (cd $(HOST_SUBDIR)/find && \
8233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8235 "RANLIB=$${RANLIB}" \
8236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8242 .PHONY: maybe-installcheck-find installcheck-find
8243 maybe-installcheck-find:
8245 maybe-installcheck-find: installcheck-find
8247 installcheck-find: \
8249 @[ -f ./find/Makefile ] || exit 0; \
8250 r=`${PWD_COMMAND}`; export r; \
8251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8254 for flag in $(EXTRA_HOST_FLAGS) ; do \
8255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8257 echo "Doing installcheck in find" ; \
8258 (cd $(HOST_SUBDIR)/find && \
8259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8261 "RANLIB=$${RANLIB}" \
8262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8268 .PHONY: maybe-mostlyclean-find mostlyclean-find
8269 maybe-mostlyclean-find:
8271 maybe-mostlyclean-find: mostlyclean-find
8274 @[ -f ./find/Makefile ] || exit 0; \
8275 r=`${PWD_COMMAND}`; export r; \
8276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8279 for flag in $(EXTRA_HOST_FLAGS) ; do \
8280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8282 echo "Doing mostlyclean in find" ; \
8283 (cd $(HOST_SUBDIR)/find && \
8284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8286 "RANLIB=$${RANLIB}" \
8287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8293 .PHONY: maybe-clean-find clean-find
8296 maybe-clean-find: clean-find
8299 @[ -f ./find/Makefile ] || exit 0; \
8300 r=`${PWD_COMMAND}`; export r; \
8301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8304 for flag in $(EXTRA_HOST_FLAGS) ; do \
8305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8307 echo "Doing clean in find" ; \
8308 (cd $(HOST_SUBDIR)/find && \
8309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8311 "RANLIB=$${RANLIB}" \
8312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8318 .PHONY: maybe-distclean-find distclean-find
8319 maybe-distclean-find:
8321 maybe-distclean-find: distclean-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 distclean in find" ; \
8333 (cd $(HOST_SUBDIR)/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-maintainer-clean-find maintainer-clean-find
8344 maybe-maintainer-clean-find:
8346 maybe-maintainer-clean-find: maintainer-clean-find
8348 maintainer-clean-find:
8349 @[ -f ./find/Makefile ] || exit 0; \
8350 r=`${PWD_COMMAND}`; export r; \
8351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8354 for flag in $(EXTRA_HOST_FLAGS) ; do \
8355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8357 echo "Doing maintainer-clean in find" ; \
8358 (cd $(HOST_SUBDIR)/find && \
8359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8361 "RANLIB=$${RANLIB}" \
8362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8369 .PHONY: configure-fixincludes maybe-configure-fixincludes
8370 maybe-configure-fixincludes:
8372 maybe-configure-fixincludes: configure-fixincludes
8373 configure-fixincludes:
8374 @test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8375 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8376 r=`${PWD_COMMAND}`; export r; \
8377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8379 echo Configuring in fixincludes; \
8380 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8382 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8383 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8384 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8386 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
8387 libsrcdir="$$s/fixincludes"; \
8388 $(SHELL) $${libsrcdir}/configure \
8389 $(HOST_CONFIGARGS) $${srcdiroption} \
8393 .PHONY: all-fixincludes maybe-all-fixincludes
8394 maybe-all-fixincludes:
8396 TARGET-fixincludes=all
8397 maybe-all-fixincludes: all-fixincludes
8398 all-fixincludes: configure-fixincludes
8399 @r=`${PWD_COMMAND}`; export r; \
8400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8403 (cd $(HOST_SUBDIR)/fixincludes && \
8404 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
8407 .PHONY: check-fixincludes maybe-check-fixincludes
8408 maybe-check-fixincludes:
8410 maybe-check-fixincludes: check-fixincludes
8413 @r=`${PWD_COMMAND}`; export r; \
8414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8417 (cd $(HOST_SUBDIR)/fixincludes && \
8418 $(MAKE) $(FLAGS_TO_PASS) check)
8422 .PHONY: install-fixincludes maybe-install-fixincludes
8423 maybe-install-fixincludes:
8425 maybe-install-fixincludes: install-fixincludes
8427 install-fixincludes: installdirs
8428 @r=`${PWD_COMMAND}`; export r; \
8429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8432 (cd $(HOST_SUBDIR)/fixincludes && \
8433 $(MAKE) $(FLAGS_TO_PASS) install)
8437 # Other targets (info, dvi, etc.)
8439 .PHONY: maybe-info-fixincludes info-fixincludes
8440 maybe-info-fixincludes:
8442 maybe-info-fixincludes: info-fixincludes
8444 # fixincludes doesn't support info.
8449 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
8450 maybe-dvi-fixincludes:
8452 maybe-dvi-fixincludes: dvi-fixincludes
8454 # fixincludes doesn't support dvi.
8459 .PHONY: maybe-html-fixincludes html-fixincludes
8460 maybe-html-fixincludes:
8462 maybe-html-fixincludes: html-fixincludes
8465 configure-fixincludes
8466 @[ -f ./fixincludes/Makefile ] || exit 0; \
8467 r=`${PWD_COMMAND}`; export r; \
8468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8471 for flag in $(EXTRA_HOST_FLAGS) ; do \
8472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8474 echo "Doing html in fixincludes" ; \
8475 (cd $(HOST_SUBDIR)/fixincludes && \
8476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8478 "RANLIB=$${RANLIB}" \
8479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8485 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
8486 maybe-TAGS-fixincludes:
8488 maybe-TAGS-fixincludes: TAGS-fixincludes
8490 # fixincludes doesn't support TAGS.
8495 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
8496 maybe-install-info-fixincludes:
8498 maybe-install-info-fixincludes: install-info-fixincludes
8500 # fixincludes doesn't support install-info.
8501 install-info-fixincludes:
8505 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8506 maybe-installcheck-fixincludes:
8508 maybe-installcheck-fixincludes: installcheck-fixincludes
8510 # fixincludes doesn't support installcheck.
8511 installcheck-fixincludes:
8515 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8516 maybe-mostlyclean-fixincludes:
8518 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8520 mostlyclean-fixincludes:
8521 @[ -f ./fixincludes/Makefile ] || exit 0; \
8522 r=`${PWD_COMMAND}`; export r; \
8523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8526 for flag in $(EXTRA_HOST_FLAGS) ; do \
8527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8529 echo "Doing mostlyclean in fixincludes" ; \
8530 (cd $(HOST_SUBDIR)/fixincludes && \
8531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8533 "RANLIB=$${RANLIB}" \
8534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8540 .PHONY: maybe-clean-fixincludes clean-fixincludes
8541 maybe-clean-fixincludes:
8543 maybe-clean-fixincludes: clean-fixincludes
8546 @[ -f ./fixincludes/Makefile ] || exit 0; \
8547 r=`${PWD_COMMAND}`; export r; \
8548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8551 for flag in $(EXTRA_HOST_FLAGS) ; do \
8552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8554 echo "Doing clean in fixincludes" ; \
8555 (cd $(HOST_SUBDIR)/fixincludes && \
8556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8558 "RANLIB=$${RANLIB}" \
8559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8565 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8566 maybe-distclean-fixincludes:
8568 maybe-distclean-fixincludes: distclean-fixincludes
8570 distclean-fixincludes:
8571 @[ -f ./fixincludes/Makefile ] || exit 0; \
8572 r=`${PWD_COMMAND}`; export r; \
8573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8576 for flag in $(EXTRA_HOST_FLAGS) ; do \
8577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8579 echo "Doing distclean in fixincludes" ; \
8580 (cd $(HOST_SUBDIR)/fixincludes && \
8581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8583 "RANLIB=$${RANLIB}" \
8584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8590 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8591 maybe-maintainer-clean-fixincludes:
8593 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8595 maintainer-clean-fixincludes:
8596 @[ -f ./fixincludes/Makefile ] || exit 0; \
8597 r=`${PWD_COMMAND}`; export r; \
8598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8601 for flag in $(EXTRA_HOST_FLAGS) ; do \
8602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8604 echo "Doing maintainer-clean in fixincludes" ; \
8605 (cd $(HOST_SUBDIR)/fixincludes && \
8606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8608 "RANLIB=$${RANLIB}" \
8609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8616 .PHONY: configure-flex maybe-configure-flex
8617 maybe-configure-flex:
8619 maybe-configure-flex: configure-flex
8621 @test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8622 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8623 r=`${PWD_COMMAND}`; export r; \
8624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8626 echo Configuring in flex; \
8627 cd $(HOST_SUBDIR)/flex || exit 1; \
8629 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8630 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8631 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8633 srcdiroption="--srcdir=$${topdir}/flex"; \
8634 libsrcdir="$$s/flex"; \
8635 $(SHELL) $${libsrcdir}/configure \
8636 $(HOST_CONFIGARGS) $${srcdiroption} \
8640 .PHONY: all-flex maybe-all-flex
8644 maybe-all-flex: all-flex
8645 all-flex: configure-flex
8646 @r=`${PWD_COMMAND}`; export r; \
8647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8650 (cd $(HOST_SUBDIR)/flex && \
8651 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
8654 .PHONY: check-flex maybe-check-flex
8657 maybe-check-flex: check-flex
8659 # This module is only tested in a native toolchain.
8661 @if [ '$(host)' = '$(target)' ] ; then \
8662 r=`${PWD_COMMAND}`; export r; \
8663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8666 (cd $(HOST_SUBDIR)/flex && \
8667 $(MAKE) $(FLAGS_TO_PASS) check); \
8672 .PHONY: install-flex maybe-install-flex
8675 maybe-install-flex: install-flex
8677 install-flex: installdirs
8678 @r=`${PWD_COMMAND}`; export r; \
8679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8682 (cd $(HOST_SUBDIR)/flex && \
8683 $(MAKE) $(FLAGS_TO_PASS) install)
8687 # Other targets (info, dvi, etc.)
8689 .PHONY: maybe-info-flex info-flex
8692 maybe-info-flex: info-flex
8696 @[ -f ./flex/Makefile ] || exit 0; \
8697 r=`${PWD_COMMAND}`; export r; \
8698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8701 for flag in $(EXTRA_HOST_FLAGS) ; do \
8702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8704 echo "Doing info in flex" ; \
8705 (cd $(HOST_SUBDIR)/flex && \
8706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8708 "RANLIB=$${RANLIB}" \
8709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8715 .PHONY: maybe-dvi-flex dvi-flex
8718 maybe-dvi-flex: dvi-flex
8722 @[ -f ./flex/Makefile ] || exit 0; \
8723 r=`${PWD_COMMAND}`; export r; \
8724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8727 for flag in $(EXTRA_HOST_FLAGS) ; do \
8728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8730 echo "Doing dvi in flex" ; \
8731 (cd $(HOST_SUBDIR)/flex && \
8732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8734 "RANLIB=$${RANLIB}" \
8735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8741 .PHONY: maybe-html-flex html-flex
8744 maybe-html-flex: html-flex
8748 @[ -f ./flex/Makefile ] || exit 0; \
8749 r=`${PWD_COMMAND}`; export r; \
8750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8753 for flag in $(EXTRA_HOST_FLAGS) ; do \
8754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8756 echo "Doing html in flex" ; \
8757 (cd $(HOST_SUBDIR)/flex && \
8758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8760 "RANLIB=$${RANLIB}" \
8761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8767 .PHONY: maybe-TAGS-flex TAGS-flex
8770 maybe-TAGS-flex: TAGS-flex
8774 @[ -f ./flex/Makefile ] || exit 0; \
8775 r=`${PWD_COMMAND}`; export r; \
8776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8779 for flag in $(EXTRA_HOST_FLAGS) ; do \
8780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8782 echo "Doing TAGS in flex" ; \
8783 (cd $(HOST_SUBDIR)/flex && \
8784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8786 "RANLIB=$${RANLIB}" \
8787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8793 .PHONY: maybe-install-info-flex install-info-flex
8794 maybe-install-info-flex:
8796 maybe-install-info-flex: install-info-flex
8798 install-info-flex: \
8801 @[ -f ./flex/Makefile ] || exit 0; \
8802 r=`${PWD_COMMAND}`; export r; \
8803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8806 for flag in $(EXTRA_HOST_FLAGS) ; do \
8807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8809 echo "Doing install-info in flex" ; \
8810 (cd $(HOST_SUBDIR)/flex && \
8811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8813 "RANLIB=$${RANLIB}" \
8814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8820 .PHONY: maybe-installcheck-flex installcheck-flex
8821 maybe-installcheck-flex:
8823 maybe-installcheck-flex: installcheck-flex
8825 installcheck-flex: \
8827 @[ -f ./flex/Makefile ] || exit 0; \
8828 r=`${PWD_COMMAND}`; export r; \
8829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8832 for flag in $(EXTRA_HOST_FLAGS) ; do \
8833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8835 echo "Doing installcheck in flex" ; \
8836 (cd $(HOST_SUBDIR)/flex && \
8837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8839 "RANLIB=$${RANLIB}" \
8840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8846 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8847 maybe-mostlyclean-flex:
8849 maybe-mostlyclean-flex: mostlyclean-flex
8852 @[ -f ./flex/Makefile ] || exit 0; \
8853 r=`${PWD_COMMAND}`; export r; \
8854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8857 for flag in $(EXTRA_HOST_FLAGS) ; do \
8858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8860 echo "Doing mostlyclean in flex" ; \
8861 (cd $(HOST_SUBDIR)/flex && \
8862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8864 "RANLIB=$${RANLIB}" \
8865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8871 .PHONY: maybe-clean-flex clean-flex
8874 maybe-clean-flex: clean-flex
8877 @[ -f ./flex/Makefile ] || exit 0; \
8878 r=`${PWD_COMMAND}`; export r; \
8879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8882 for flag in $(EXTRA_HOST_FLAGS) ; do \
8883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8885 echo "Doing clean in flex" ; \
8886 (cd $(HOST_SUBDIR)/flex && \
8887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8889 "RANLIB=$${RANLIB}" \
8890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8896 .PHONY: maybe-distclean-flex distclean-flex
8897 maybe-distclean-flex:
8899 maybe-distclean-flex: distclean-flex
8902 @[ -f ./flex/Makefile ] || exit 0; \
8903 r=`${PWD_COMMAND}`; export r; \
8904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8907 for flag in $(EXTRA_HOST_FLAGS) ; do \
8908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8910 echo "Doing distclean in flex" ; \
8911 (cd $(HOST_SUBDIR)/flex && \
8912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8914 "RANLIB=$${RANLIB}" \
8915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8921 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8922 maybe-maintainer-clean-flex:
8924 maybe-maintainer-clean-flex: maintainer-clean-flex
8926 maintainer-clean-flex:
8927 @[ -f ./flex/Makefile ] || exit 0; \
8928 r=`${PWD_COMMAND}`; export r; \
8929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8932 for flag in $(EXTRA_HOST_FLAGS) ; do \
8933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8935 echo "Doing maintainer-clean in flex" ; \
8936 (cd $(HOST_SUBDIR)/flex && \
8937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8939 "RANLIB=$${RANLIB}" \
8940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8947 .PHONY: configure-gas maybe-configure-gas
8948 maybe-configure-gas:
8950 maybe-configure-gas: configure-gas
8952 @test -f stage_last && exit 0; \
8953 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8954 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8955 r=`${PWD_COMMAND}`; export r; \
8956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8958 echo Configuring in gas; \
8959 cd $(HOST_SUBDIR)/gas || exit 1; \
8961 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8962 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8963 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8965 srcdiroption="--srcdir=$${topdir}/gas"; \
8966 libsrcdir="$$s/gas"; \
8967 $(SHELL) $${libsrcdir}/configure \
8968 $(HOST_CONFIGARGS) $${srcdiroption} \
8972 .PHONY: all-gas maybe-all-gas
8976 maybe-all-gas: all-gas
8977 all-gas: configure-gas
8978 @test -f stage_last && exit 0; \
8979 r=`${PWD_COMMAND}`; export r; \
8980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8983 (cd $(HOST_SUBDIR)/gas && \
8984 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
8987 .PHONY: check-gas maybe-check-gas
8990 maybe-check-gas: check-gas
8993 @r=`${PWD_COMMAND}`; export r; \
8994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8997 (cd $(HOST_SUBDIR)/gas && \
8998 $(MAKE) $(FLAGS_TO_PASS) check)
9002 .PHONY: install-gas maybe-install-gas
9005 maybe-install-gas: install-gas
9007 install-gas: installdirs
9008 @r=`${PWD_COMMAND}`; export r; \
9009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9012 (cd $(HOST_SUBDIR)/gas && \
9013 $(MAKE) $(FLAGS_TO_PASS) install)
9017 # Other targets (info, dvi, etc.)
9019 .PHONY: maybe-info-gas info-gas
9022 maybe-info-gas: info-gas
9026 @[ -f ./gas/Makefile ] || exit 0; \
9027 r=`${PWD_COMMAND}`; export r; \
9028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9031 for flag in $(EXTRA_HOST_FLAGS) ; do \
9032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9034 echo "Doing info in gas" ; \
9035 (cd $(HOST_SUBDIR)/gas && \
9036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9038 "RANLIB=$${RANLIB}" \
9039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9045 .PHONY: maybe-dvi-gas dvi-gas
9048 maybe-dvi-gas: dvi-gas
9052 @[ -f ./gas/Makefile ] || exit 0; \
9053 r=`${PWD_COMMAND}`; export r; \
9054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9057 for flag in $(EXTRA_HOST_FLAGS) ; do \
9058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9060 echo "Doing dvi in gas" ; \
9061 (cd $(HOST_SUBDIR)/gas && \
9062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9064 "RANLIB=$${RANLIB}" \
9065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9071 .PHONY: maybe-html-gas html-gas
9074 maybe-html-gas: html-gas
9078 @[ -f ./gas/Makefile ] || exit 0; \
9079 r=`${PWD_COMMAND}`; export r; \
9080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9083 for flag in $(EXTRA_HOST_FLAGS) ; do \
9084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9086 echo "Doing html in gas" ; \
9087 (cd $(HOST_SUBDIR)/gas && \
9088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9090 "RANLIB=$${RANLIB}" \
9091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9097 .PHONY: maybe-TAGS-gas TAGS-gas
9100 maybe-TAGS-gas: TAGS-gas
9104 @[ -f ./gas/Makefile ] || exit 0; \
9105 r=`${PWD_COMMAND}`; export r; \
9106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9109 for flag in $(EXTRA_HOST_FLAGS) ; do \
9110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9112 echo "Doing TAGS in gas" ; \
9113 (cd $(HOST_SUBDIR)/gas && \
9114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9116 "RANLIB=$${RANLIB}" \
9117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9123 .PHONY: maybe-install-info-gas install-info-gas
9124 maybe-install-info-gas:
9126 maybe-install-info-gas: install-info-gas
9131 @[ -f ./gas/Makefile ] || exit 0; \
9132 r=`${PWD_COMMAND}`; export r; \
9133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9136 for flag in $(EXTRA_HOST_FLAGS) ; do \
9137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9139 echo "Doing install-info in gas" ; \
9140 (cd $(HOST_SUBDIR)/gas && \
9141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9143 "RANLIB=$${RANLIB}" \
9144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9150 .PHONY: maybe-installcheck-gas installcheck-gas
9151 maybe-installcheck-gas:
9153 maybe-installcheck-gas: installcheck-gas
9157 @[ -f ./gas/Makefile ] || exit 0; \
9158 r=`${PWD_COMMAND}`; export r; \
9159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9162 for flag in $(EXTRA_HOST_FLAGS) ; do \
9163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9165 echo "Doing installcheck in gas" ; \
9166 (cd $(HOST_SUBDIR)/gas && \
9167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9169 "RANLIB=$${RANLIB}" \
9170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9176 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9177 maybe-mostlyclean-gas:
9179 maybe-mostlyclean-gas: mostlyclean-gas
9182 @[ -f ./gas/Makefile ] || exit 0; \
9183 r=`${PWD_COMMAND}`; export r; \
9184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9187 for flag in $(EXTRA_HOST_FLAGS) ; do \
9188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9190 echo "Doing mostlyclean in gas" ; \
9191 (cd $(HOST_SUBDIR)/gas && \
9192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9194 "RANLIB=$${RANLIB}" \
9195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9201 .PHONY: maybe-clean-gas clean-gas
9204 maybe-clean-gas: clean-gas
9207 @[ -f ./gas/Makefile ] || exit 0; \
9208 r=`${PWD_COMMAND}`; export r; \
9209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9212 for flag in $(EXTRA_HOST_FLAGS) ; do \
9213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9215 echo "Doing clean in gas" ; \
9216 (cd $(HOST_SUBDIR)/gas && \
9217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9219 "RANLIB=$${RANLIB}" \
9220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9226 .PHONY: maybe-distclean-gas distclean-gas
9227 maybe-distclean-gas:
9229 maybe-distclean-gas: distclean-gas
9232 @[ -f ./gas/Makefile ] || exit 0; \
9233 r=`${PWD_COMMAND}`; export r; \
9234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9237 for flag in $(EXTRA_HOST_FLAGS) ; do \
9238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9240 echo "Doing distclean in gas" ; \
9241 (cd $(HOST_SUBDIR)/gas && \
9242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9244 "RANLIB=$${RANLIB}" \
9245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9251 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9252 maybe-maintainer-clean-gas:
9254 maybe-maintainer-clean-gas: maintainer-clean-gas
9256 maintainer-clean-gas:
9257 @[ -f ./gas/Makefile ] || exit 0; \
9258 r=`${PWD_COMMAND}`; export r; \
9259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9262 for flag in $(EXTRA_HOST_FLAGS) ; do \
9263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9265 echo "Doing maintainer-clean in gas" ; \
9266 (cd $(HOST_SUBDIR)/gas && \
9267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9269 "RANLIB=$${RANLIB}" \
9270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9277 .PHONY: configure-gcc maybe-configure-gcc
9278 maybe-configure-gcc:
9280 maybe-configure-gcc: configure-gcc
9282 @test -f stage_last && exit 0; \
9283 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9284 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9285 r=`${PWD_COMMAND}`; export r; \
9286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9288 echo Configuring in gcc; \
9289 cd $(HOST_SUBDIR)/gcc || exit 1; \
9291 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9292 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9293 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9295 srcdiroption="--srcdir=$${topdir}/gcc"; \
9296 libsrcdir="$$s/gcc"; \
9297 $(SHELL) $${libsrcdir}/configure \
9298 $(HOST_CONFIGARGS) $${srcdiroption} \
9302 .PHONY: all-gcc maybe-all-gcc
9305 TARGET-gcc=`if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi`
9306 maybe-all-gcc: all-gcc
9307 all-gcc: configure-gcc
9308 @test -f stage_last && exit 0; \
9309 r=`${PWD_COMMAND}`; export r; \
9310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9313 (cd $(HOST_SUBDIR)/gcc && \
9314 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
9317 .PHONY: check-gcc maybe-check-gcc
9320 maybe-check-gcc: check-gcc
9323 @r=`${PWD_COMMAND}`; export r; \
9324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9327 (cd $(HOST_SUBDIR)/gcc && \
9328 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
9332 .PHONY: install-gcc maybe-install-gcc
9335 maybe-install-gcc: install-gcc
9337 install-gcc: installdirs
9338 @r=`${PWD_COMMAND}`; export r; \
9339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9342 (cd $(HOST_SUBDIR)/gcc && \
9343 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
9347 # Other targets (info, dvi, etc.)
9349 .PHONY: maybe-info-gcc info-gcc
9352 maybe-info-gcc: info-gcc
9356 @[ -f ./gcc/Makefile ] || exit 0; \
9357 r=`${PWD_COMMAND}`; export r; \
9358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9361 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9364 echo "Doing info in gcc" ; \
9365 (cd $(HOST_SUBDIR)/gcc && \
9366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9368 "RANLIB=$${RANLIB}" \
9369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9375 .PHONY: maybe-dvi-gcc dvi-gcc
9378 maybe-dvi-gcc: dvi-gcc
9382 @[ -f ./gcc/Makefile ] || exit 0; \
9383 r=`${PWD_COMMAND}`; export r; \
9384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9387 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9390 echo "Doing dvi in gcc" ; \
9391 (cd $(HOST_SUBDIR)/gcc && \
9392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9394 "RANLIB=$${RANLIB}" \
9395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9401 .PHONY: maybe-html-gcc html-gcc
9404 maybe-html-gcc: html-gcc
9408 @[ -f ./gcc/Makefile ] || exit 0; \
9409 r=`${PWD_COMMAND}`; export r; \
9410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9413 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9416 echo "Doing html in gcc" ; \
9417 (cd $(HOST_SUBDIR)/gcc && \
9418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9420 "RANLIB=$${RANLIB}" \
9421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9427 .PHONY: maybe-TAGS-gcc TAGS-gcc
9430 maybe-TAGS-gcc: TAGS-gcc
9434 @[ -f ./gcc/Makefile ] || exit 0; \
9435 r=`${PWD_COMMAND}`; export r; \
9436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9439 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9442 echo "Doing TAGS in gcc" ; \
9443 (cd $(HOST_SUBDIR)/gcc && \
9444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9446 "RANLIB=$${RANLIB}" \
9447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9453 .PHONY: maybe-install-info-gcc install-info-gcc
9454 maybe-install-info-gcc:
9456 maybe-install-info-gcc: install-info-gcc
9461 @[ -f ./gcc/Makefile ] || exit 0; \
9462 r=`${PWD_COMMAND}`; export r; \
9463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9466 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9469 echo "Doing install-info in gcc" ; \
9470 (cd $(HOST_SUBDIR)/gcc && \
9471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9473 "RANLIB=$${RANLIB}" \
9474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9480 .PHONY: maybe-installcheck-gcc installcheck-gcc
9481 maybe-installcheck-gcc:
9483 maybe-installcheck-gcc: installcheck-gcc
9487 @[ -f ./gcc/Makefile ] || exit 0; \
9488 r=`${PWD_COMMAND}`; export r; \
9489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9492 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9495 echo "Doing installcheck in gcc" ; \
9496 (cd $(HOST_SUBDIR)/gcc && \
9497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9499 "RANLIB=$${RANLIB}" \
9500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9506 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
9507 maybe-mostlyclean-gcc:
9509 maybe-mostlyclean-gcc: mostlyclean-gcc
9512 @[ -f ./gcc/Makefile ] || exit 0; \
9513 r=`${PWD_COMMAND}`; export r; \
9514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9517 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9520 echo "Doing mostlyclean in gcc" ; \
9521 (cd $(HOST_SUBDIR)/gcc && \
9522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9524 "RANLIB=$${RANLIB}" \
9525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9531 .PHONY: maybe-clean-gcc clean-gcc
9534 maybe-clean-gcc: clean-gcc
9537 @[ -f ./gcc/Makefile ] || exit 0; \
9538 r=`${PWD_COMMAND}`; export r; \
9539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9542 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9545 echo "Doing clean in gcc" ; \
9546 (cd $(HOST_SUBDIR)/gcc && \
9547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9549 "RANLIB=$${RANLIB}" \
9550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9556 .PHONY: maybe-distclean-gcc distclean-gcc
9557 maybe-distclean-gcc:
9559 maybe-distclean-gcc: distclean-gcc
9562 @[ -f ./gcc/Makefile ] || exit 0; \
9563 r=`${PWD_COMMAND}`; export r; \
9564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9567 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9570 echo "Doing distclean in gcc" ; \
9571 (cd $(HOST_SUBDIR)/gcc && \
9572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9574 "RANLIB=$${RANLIB}" \
9575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9581 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
9582 maybe-maintainer-clean-gcc:
9584 maybe-maintainer-clean-gcc: maintainer-clean-gcc
9586 maintainer-clean-gcc:
9587 @[ -f ./gcc/Makefile ] || exit 0; \
9588 r=`${PWD_COMMAND}`; export r; \
9589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9592 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9595 echo "Doing maintainer-clean in gcc" ; \
9596 (cd $(HOST_SUBDIR)/gcc && \
9597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9599 "RANLIB=$${RANLIB}" \
9600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9607 .PHONY: configure-gawk maybe-configure-gawk
9608 maybe-configure-gawk:
9610 maybe-configure-gawk: configure-gawk
9612 @test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
9613 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
9614 r=`${PWD_COMMAND}`; export r; \
9615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9617 echo Configuring in gawk; \
9618 cd $(HOST_SUBDIR)/gawk || exit 1; \
9620 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9621 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
9622 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9624 srcdiroption="--srcdir=$${topdir}/gawk"; \
9625 libsrcdir="$$s/gawk"; \
9626 $(SHELL) $${libsrcdir}/configure \
9627 $(HOST_CONFIGARGS) $${srcdiroption} \
9631 .PHONY: all-gawk maybe-all-gawk
9635 maybe-all-gawk: all-gawk
9636 all-gawk: configure-gawk
9637 @r=`${PWD_COMMAND}`; export r; \
9638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9641 (cd $(HOST_SUBDIR)/gawk && \
9642 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
9645 .PHONY: check-gawk maybe-check-gawk
9648 maybe-check-gawk: check-gawk
9651 @r=`${PWD_COMMAND}`; export r; \
9652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9655 (cd $(HOST_SUBDIR)/gawk && \
9656 $(MAKE) $(FLAGS_TO_PASS) check)
9660 .PHONY: install-gawk maybe-install-gawk
9663 maybe-install-gawk: install-gawk
9665 install-gawk: installdirs
9666 @r=`${PWD_COMMAND}`; export r; \
9667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9670 (cd $(HOST_SUBDIR)/gawk && \
9671 $(MAKE) $(FLAGS_TO_PASS) install)
9675 # Other targets (info, dvi, etc.)
9677 .PHONY: maybe-info-gawk info-gawk
9680 maybe-info-gawk: info-gawk
9684 @[ -f ./gawk/Makefile ] || exit 0; \
9685 r=`${PWD_COMMAND}`; export r; \
9686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9689 for flag in $(EXTRA_HOST_FLAGS) ; do \
9690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9692 echo "Doing info in gawk" ; \
9693 (cd $(HOST_SUBDIR)/gawk && \
9694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9696 "RANLIB=$${RANLIB}" \
9697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9703 .PHONY: maybe-dvi-gawk dvi-gawk
9706 maybe-dvi-gawk: dvi-gawk
9710 @[ -f ./gawk/Makefile ] || exit 0; \
9711 r=`${PWD_COMMAND}`; export r; \
9712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9715 for flag in $(EXTRA_HOST_FLAGS) ; do \
9716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9718 echo "Doing dvi in gawk" ; \
9719 (cd $(HOST_SUBDIR)/gawk && \
9720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9722 "RANLIB=$${RANLIB}" \
9723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9729 .PHONY: maybe-html-gawk html-gawk
9732 maybe-html-gawk: html-gawk
9736 @[ -f ./gawk/Makefile ] || exit 0; \
9737 r=`${PWD_COMMAND}`; export r; \
9738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9741 for flag in $(EXTRA_HOST_FLAGS) ; do \
9742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9744 echo "Doing html in gawk" ; \
9745 (cd $(HOST_SUBDIR)/gawk && \
9746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9748 "RANLIB=$${RANLIB}" \
9749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9755 .PHONY: maybe-TAGS-gawk TAGS-gawk
9758 maybe-TAGS-gawk: TAGS-gawk
9762 @[ -f ./gawk/Makefile ] || exit 0; \
9763 r=`${PWD_COMMAND}`; export r; \
9764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9767 for flag in $(EXTRA_HOST_FLAGS) ; do \
9768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9770 echo "Doing TAGS in gawk" ; \
9771 (cd $(HOST_SUBDIR)/gawk && \
9772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9774 "RANLIB=$${RANLIB}" \
9775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9781 .PHONY: maybe-install-info-gawk install-info-gawk
9782 maybe-install-info-gawk:
9784 maybe-install-info-gawk: install-info-gawk
9786 install-info-gawk: \
9789 @[ -f ./gawk/Makefile ] || exit 0; \
9790 r=`${PWD_COMMAND}`; export r; \
9791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9794 for flag in $(EXTRA_HOST_FLAGS) ; do \
9795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9797 echo "Doing install-info in gawk" ; \
9798 (cd $(HOST_SUBDIR)/gawk && \
9799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9801 "RANLIB=$${RANLIB}" \
9802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9808 .PHONY: maybe-installcheck-gawk installcheck-gawk
9809 maybe-installcheck-gawk:
9811 maybe-installcheck-gawk: installcheck-gawk
9813 installcheck-gawk: \
9815 @[ -f ./gawk/Makefile ] || exit 0; \
9816 r=`${PWD_COMMAND}`; export r; \
9817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9820 for flag in $(EXTRA_HOST_FLAGS) ; do \
9821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9823 echo "Doing installcheck in gawk" ; \
9824 (cd $(HOST_SUBDIR)/gawk && \
9825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9827 "RANLIB=$${RANLIB}" \
9828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9834 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
9835 maybe-mostlyclean-gawk:
9837 maybe-mostlyclean-gawk: mostlyclean-gawk
9840 @[ -f ./gawk/Makefile ] || exit 0; \
9841 r=`${PWD_COMMAND}`; export r; \
9842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9845 for flag in $(EXTRA_HOST_FLAGS) ; do \
9846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9848 echo "Doing mostlyclean in gawk" ; \
9849 (cd $(HOST_SUBDIR)/gawk && \
9850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9852 "RANLIB=$${RANLIB}" \
9853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9859 .PHONY: maybe-clean-gawk clean-gawk
9862 maybe-clean-gawk: clean-gawk
9865 @[ -f ./gawk/Makefile ] || exit 0; \
9866 r=`${PWD_COMMAND}`; export r; \
9867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9870 for flag in $(EXTRA_HOST_FLAGS) ; do \
9871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9873 echo "Doing clean in gawk" ; \
9874 (cd $(HOST_SUBDIR)/gawk && \
9875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9877 "RANLIB=$${RANLIB}" \
9878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9884 .PHONY: maybe-distclean-gawk distclean-gawk
9885 maybe-distclean-gawk:
9887 maybe-distclean-gawk: distclean-gawk
9890 @[ -f ./gawk/Makefile ] || exit 0; \
9891 r=`${PWD_COMMAND}`; export r; \
9892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9895 for flag in $(EXTRA_HOST_FLAGS) ; do \
9896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9898 echo "Doing distclean in gawk" ; \
9899 (cd $(HOST_SUBDIR)/gawk && \
9900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9902 "RANLIB=$${RANLIB}" \
9903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9909 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
9910 maybe-maintainer-clean-gawk:
9912 maybe-maintainer-clean-gawk: maintainer-clean-gawk
9914 maintainer-clean-gawk:
9915 @[ -f ./gawk/Makefile ] || exit 0; \
9916 r=`${PWD_COMMAND}`; export r; \
9917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9920 for flag in $(EXTRA_HOST_FLAGS) ; do \
9921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9923 echo "Doing maintainer-clean in gawk" ; \
9924 (cd $(HOST_SUBDIR)/gawk && \
9925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9927 "RANLIB=$${RANLIB}" \
9928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9935 .PHONY: configure-gettext maybe-configure-gettext
9936 maybe-configure-gettext:
9938 maybe-configure-gettext: configure-gettext
9940 @test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
9941 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
9942 r=`${PWD_COMMAND}`; export r; \
9943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9945 echo Configuring in gettext; \
9946 cd $(HOST_SUBDIR)/gettext || exit 1; \
9948 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9949 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
9950 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9952 srcdiroption="--srcdir=$${topdir}/gettext"; \
9953 libsrcdir="$$s/gettext"; \
9954 $(SHELL) $${libsrcdir}/configure \
9955 $(HOST_CONFIGARGS) $${srcdiroption} \
9959 .PHONY: all-gettext maybe-all-gettext
9963 maybe-all-gettext: all-gettext
9964 all-gettext: configure-gettext
9965 @r=`${PWD_COMMAND}`; export r; \
9966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9969 (cd $(HOST_SUBDIR)/gettext && \
9970 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
9973 .PHONY: check-gettext maybe-check-gettext
9974 maybe-check-gettext:
9976 maybe-check-gettext: check-gettext
9979 @r=`${PWD_COMMAND}`; export r; \
9980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9983 (cd $(HOST_SUBDIR)/gettext && \
9984 $(MAKE) $(FLAGS_TO_PASS) check)
9988 .PHONY: install-gettext maybe-install-gettext
9989 maybe-install-gettext:
9991 maybe-install-gettext: install-gettext
9993 install-gettext: installdirs
9994 @r=`${PWD_COMMAND}`; export r; \
9995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9998 (cd $(HOST_SUBDIR)/gettext && \
9999 $(MAKE) $(FLAGS_TO_PASS) install)
10003 # Other targets (info, dvi, etc.)
10005 .PHONY: maybe-info-gettext info-gettext
10006 maybe-info-gettext:
10008 maybe-info-gettext: info-gettext
10012 @[ -f ./gettext/Makefile ] || exit 0; \
10013 r=`${PWD_COMMAND}`; export r; \
10014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10017 for flag in $(EXTRA_HOST_FLAGS) ; do \
10018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10020 echo "Doing info in gettext" ; \
10021 (cd $(HOST_SUBDIR)/gettext && \
10022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10024 "RANLIB=$${RANLIB}" \
10025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10031 .PHONY: maybe-dvi-gettext dvi-gettext
10034 maybe-dvi-gettext: dvi-gettext
10038 @[ -f ./gettext/Makefile ] || exit 0; \
10039 r=`${PWD_COMMAND}`; export r; \
10040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10043 for flag in $(EXTRA_HOST_FLAGS) ; do \
10044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10046 echo "Doing dvi in gettext" ; \
10047 (cd $(HOST_SUBDIR)/gettext && \
10048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10050 "RANLIB=$${RANLIB}" \
10051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10057 .PHONY: maybe-html-gettext html-gettext
10058 maybe-html-gettext:
10060 maybe-html-gettext: html-gettext
10064 @[ -f ./gettext/Makefile ] || exit 0; \
10065 r=`${PWD_COMMAND}`; export r; \
10066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10069 for flag in $(EXTRA_HOST_FLAGS) ; do \
10070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10072 echo "Doing html in gettext" ; \
10073 (cd $(HOST_SUBDIR)/gettext && \
10074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10076 "RANLIB=$${RANLIB}" \
10077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10083 .PHONY: maybe-TAGS-gettext TAGS-gettext
10084 maybe-TAGS-gettext:
10086 maybe-TAGS-gettext: TAGS-gettext
10090 @[ -f ./gettext/Makefile ] || exit 0; \
10091 r=`${PWD_COMMAND}`; export r; \
10092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10095 for flag in $(EXTRA_HOST_FLAGS) ; do \
10096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10098 echo "Doing TAGS in gettext" ; \
10099 (cd $(HOST_SUBDIR)/gettext && \
10100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10102 "RANLIB=$${RANLIB}" \
10103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10109 .PHONY: maybe-install-info-gettext install-info-gettext
10110 maybe-install-info-gettext:
10112 maybe-install-info-gettext: install-info-gettext
10114 install-info-gettext: \
10115 configure-gettext \
10117 @[ -f ./gettext/Makefile ] || exit 0; \
10118 r=`${PWD_COMMAND}`; export r; \
10119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10122 for flag in $(EXTRA_HOST_FLAGS) ; do \
10123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10125 echo "Doing install-info in gettext" ; \
10126 (cd $(HOST_SUBDIR)/gettext && \
10127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10129 "RANLIB=$${RANLIB}" \
10130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10136 .PHONY: maybe-installcheck-gettext installcheck-gettext
10137 maybe-installcheck-gettext:
10139 maybe-installcheck-gettext: installcheck-gettext
10141 installcheck-gettext: \
10143 @[ -f ./gettext/Makefile ] || exit 0; \
10144 r=`${PWD_COMMAND}`; export r; \
10145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10148 for flag in $(EXTRA_HOST_FLAGS) ; do \
10149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10151 echo "Doing installcheck in gettext" ; \
10152 (cd $(HOST_SUBDIR)/gettext && \
10153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10155 "RANLIB=$${RANLIB}" \
10156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10162 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
10163 maybe-mostlyclean-gettext:
10165 maybe-mostlyclean-gettext: mostlyclean-gettext
10167 mostlyclean-gettext:
10168 @[ -f ./gettext/Makefile ] || exit 0; \
10169 r=`${PWD_COMMAND}`; export r; \
10170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10173 for flag in $(EXTRA_HOST_FLAGS) ; do \
10174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10176 echo "Doing mostlyclean in gettext" ; \
10177 (cd $(HOST_SUBDIR)/gettext && \
10178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10180 "RANLIB=$${RANLIB}" \
10181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10187 .PHONY: maybe-clean-gettext clean-gettext
10188 maybe-clean-gettext:
10190 maybe-clean-gettext: clean-gettext
10193 @[ -f ./gettext/Makefile ] || exit 0; \
10194 r=`${PWD_COMMAND}`; export r; \
10195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10198 for flag in $(EXTRA_HOST_FLAGS) ; do \
10199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10201 echo "Doing clean in gettext" ; \
10202 (cd $(HOST_SUBDIR)/gettext && \
10203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10205 "RANLIB=$${RANLIB}" \
10206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10212 .PHONY: maybe-distclean-gettext distclean-gettext
10213 maybe-distclean-gettext:
10215 maybe-distclean-gettext: distclean-gettext
10218 @[ -f ./gettext/Makefile ] || exit 0; \
10219 r=`${PWD_COMMAND}`; export r; \
10220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10223 for flag in $(EXTRA_HOST_FLAGS) ; do \
10224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10226 echo "Doing distclean in gettext" ; \
10227 (cd $(HOST_SUBDIR)/gettext && \
10228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10230 "RANLIB=$${RANLIB}" \
10231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10237 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
10238 maybe-maintainer-clean-gettext:
10240 maybe-maintainer-clean-gettext: maintainer-clean-gettext
10242 maintainer-clean-gettext:
10243 @[ -f ./gettext/Makefile ] || exit 0; \
10244 r=`${PWD_COMMAND}`; export r; \
10245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10248 for flag in $(EXTRA_HOST_FLAGS) ; do \
10249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10251 echo "Doing maintainer-clean in gettext" ; \
10252 (cd $(HOST_SUBDIR)/gettext && \
10253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10255 "RANLIB=$${RANLIB}" \
10256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10257 maintainer-clean) \
10263 .PHONY: configure-gnuserv maybe-configure-gnuserv
10264 maybe-configure-gnuserv:
10266 maybe-configure-gnuserv: configure-gnuserv
10268 @test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
10269 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
10270 r=`${PWD_COMMAND}`; export r; \
10271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10273 echo Configuring in gnuserv; \
10274 cd $(HOST_SUBDIR)/gnuserv || exit 1; \
10275 case $(srcdir) in \
10276 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10277 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
10278 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10280 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
10281 libsrcdir="$$s/gnuserv"; \
10282 $(SHELL) $${libsrcdir}/configure \
10283 $(HOST_CONFIGARGS) $${srcdiroption} \
10287 .PHONY: all-gnuserv maybe-all-gnuserv
10291 maybe-all-gnuserv: all-gnuserv
10292 all-gnuserv: configure-gnuserv
10293 @r=`${PWD_COMMAND}`; export r; \
10294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10297 (cd $(HOST_SUBDIR)/gnuserv && \
10298 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
10301 .PHONY: check-gnuserv maybe-check-gnuserv
10302 maybe-check-gnuserv:
10304 maybe-check-gnuserv: check-gnuserv
10307 @r=`${PWD_COMMAND}`; export r; \
10308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10311 (cd $(HOST_SUBDIR)/gnuserv && \
10312 $(MAKE) $(FLAGS_TO_PASS) check)
10316 .PHONY: install-gnuserv maybe-install-gnuserv
10317 maybe-install-gnuserv:
10319 maybe-install-gnuserv: install-gnuserv
10321 install-gnuserv: installdirs
10322 @r=`${PWD_COMMAND}`; export r; \
10323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10326 (cd $(HOST_SUBDIR)/gnuserv && \
10327 $(MAKE) $(FLAGS_TO_PASS) install)
10331 # Other targets (info, dvi, etc.)
10333 .PHONY: maybe-info-gnuserv info-gnuserv
10334 maybe-info-gnuserv:
10336 maybe-info-gnuserv: info-gnuserv
10340 @[ -f ./gnuserv/Makefile ] || exit 0; \
10341 r=`${PWD_COMMAND}`; export r; \
10342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10345 for flag in $(EXTRA_HOST_FLAGS) ; do \
10346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10348 echo "Doing info in gnuserv" ; \
10349 (cd $(HOST_SUBDIR)/gnuserv && \
10350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10352 "RANLIB=$${RANLIB}" \
10353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10359 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
10362 maybe-dvi-gnuserv: dvi-gnuserv
10366 @[ -f ./gnuserv/Makefile ] || exit 0; \
10367 r=`${PWD_COMMAND}`; export r; \
10368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10371 for flag in $(EXTRA_HOST_FLAGS) ; do \
10372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10374 echo "Doing dvi in gnuserv" ; \
10375 (cd $(HOST_SUBDIR)/gnuserv && \
10376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10378 "RANLIB=$${RANLIB}" \
10379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10385 .PHONY: maybe-html-gnuserv html-gnuserv
10386 maybe-html-gnuserv:
10388 maybe-html-gnuserv: html-gnuserv
10392 @[ -f ./gnuserv/Makefile ] || exit 0; \
10393 r=`${PWD_COMMAND}`; export r; \
10394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10397 for flag in $(EXTRA_HOST_FLAGS) ; do \
10398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10400 echo "Doing html in gnuserv" ; \
10401 (cd $(HOST_SUBDIR)/gnuserv && \
10402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10404 "RANLIB=$${RANLIB}" \
10405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10411 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
10412 maybe-TAGS-gnuserv:
10414 maybe-TAGS-gnuserv: TAGS-gnuserv
10418 @[ -f ./gnuserv/Makefile ] || exit 0; \
10419 r=`${PWD_COMMAND}`; export r; \
10420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10423 for flag in $(EXTRA_HOST_FLAGS) ; do \
10424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10426 echo "Doing TAGS in gnuserv" ; \
10427 (cd $(HOST_SUBDIR)/gnuserv && \
10428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10430 "RANLIB=$${RANLIB}" \
10431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10437 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
10438 maybe-install-info-gnuserv:
10440 maybe-install-info-gnuserv: install-info-gnuserv
10442 install-info-gnuserv: \
10443 configure-gnuserv \
10445 @[ -f ./gnuserv/Makefile ] || exit 0; \
10446 r=`${PWD_COMMAND}`; export r; \
10447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10450 for flag in $(EXTRA_HOST_FLAGS) ; do \
10451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10453 echo "Doing install-info in gnuserv" ; \
10454 (cd $(HOST_SUBDIR)/gnuserv && \
10455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10457 "RANLIB=$${RANLIB}" \
10458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10464 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
10465 maybe-installcheck-gnuserv:
10467 maybe-installcheck-gnuserv: installcheck-gnuserv
10469 installcheck-gnuserv: \
10471 @[ -f ./gnuserv/Makefile ] || exit 0; \
10472 r=`${PWD_COMMAND}`; export r; \
10473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10476 for flag in $(EXTRA_HOST_FLAGS) ; do \
10477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10479 echo "Doing installcheck in gnuserv" ; \
10480 (cd $(HOST_SUBDIR)/gnuserv && \
10481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10483 "RANLIB=$${RANLIB}" \
10484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10490 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
10491 maybe-mostlyclean-gnuserv:
10493 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
10495 mostlyclean-gnuserv:
10496 @[ -f ./gnuserv/Makefile ] || exit 0; \
10497 r=`${PWD_COMMAND}`; export r; \
10498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10501 for flag in $(EXTRA_HOST_FLAGS) ; do \
10502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10504 echo "Doing mostlyclean in gnuserv" ; \
10505 (cd $(HOST_SUBDIR)/gnuserv && \
10506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10508 "RANLIB=$${RANLIB}" \
10509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10515 .PHONY: maybe-clean-gnuserv clean-gnuserv
10516 maybe-clean-gnuserv:
10518 maybe-clean-gnuserv: clean-gnuserv
10521 @[ -f ./gnuserv/Makefile ] || exit 0; \
10522 r=`${PWD_COMMAND}`; export r; \
10523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10526 for flag in $(EXTRA_HOST_FLAGS) ; do \
10527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10529 echo "Doing clean in gnuserv" ; \
10530 (cd $(HOST_SUBDIR)/gnuserv && \
10531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10533 "RANLIB=$${RANLIB}" \
10534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10540 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
10541 maybe-distclean-gnuserv:
10543 maybe-distclean-gnuserv: distclean-gnuserv
10546 @[ -f ./gnuserv/Makefile ] || exit 0; \
10547 r=`${PWD_COMMAND}`; export r; \
10548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10551 for flag in $(EXTRA_HOST_FLAGS) ; do \
10552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10554 echo "Doing distclean in gnuserv" ; \
10555 (cd $(HOST_SUBDIR)/gnuserv && \
10556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10558 "RANLIB=$${RANLIB}" \
10559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10565 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
10566 maybe-maintainer-clean-gnuserv:
10568 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
10570 maintainer-clean-gnuserv:
10571 @[ -f ./gnuserv/Makefile ] || exit 0; \
10572 r=`${PWD_COMMAND}`; export r; \
10573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10576 for flag in $(EXTRA_HOST_FLAGS) ; do \
10577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10579 echo "Doing maintainer-clean in gnuserv" ; \
10580 (cd $(HOST_SUBDIR)/gnuserv && \
10581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10583 "RANLIB=$${RANLIB}" \
10584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10585 maintainer-clean) \
10591 .PHONY: configure-gprof maybe-configure-gprof
10592 maybe-configure-gprof:
10594 maybe-configure-gprof: configure-gprof
10596 @test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
10597 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
10598 r=`${PWD_COMMAND}`; export r; \
10599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10601 echo Configuring in gprof; \
10602 cd $(HOST_SUBDIR)/gprof || exit 1; \
10603 case $(srcdir) in \
10604 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10605 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
10606 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10608 srcdiroption="--srcdir=$${topdir}/gprof"; \
10609 libsrcdir="$$s/gprof"; \
10610 $(SHELL) $${libsrcdir}/configure \
10611 $(HOST_CONFIGARGS) $${srcdiroption} \
10615 .PHONY: all-gprof maybe-all-gprof
10619 maybe-all-gprof: all-gprof
10620 all-gprof: configure-gprof
10621 @r=`${PWD_COMMAND}`; export r; \
10622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10625 (cd $(HOST_SUBDIR)/gprof && \
10626 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
10629 .PHONY: check-gprof maybe-check-gprof
10632 maybe-check-gprof: check-gprof
10635 @r=`${PWD_COMMAND}`; export r; \
10636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10639 (cd $(HOST_SUBDIR)/gprof && \
10640 $(MAKE) $(FLAGS_TO_PASS) check)
10644 .PHONY: install-gprof maybe-install-gprof
10645 maybe-install-gprof:
10647 maybe-install-gprof: install-gprof
10649 install-gprof: installdirs
10650 @r=`${PWD_COMMAND}`; export r; \
10651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10654 (cd $(HOST_SUBDIR)/gprof && \
10655 $(MAKE) $(FLAGS_TO_PASS) install)
10659 # Other targets (info, dvi, etc.)
10661 .PHONY: maybe-info-gprof info-gprof
10664 maybe-info-gprof: info-gprof
10668 @[ -f ./gprof/Makefile ] || exit 0; \
10669 r=`${PWD_COMMAND}`; export r; \
10670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10673 for flag in $(EXTRA_HOST_FLAGS) ; do \
10674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10676 echo "Doing info in gprof" ; \
10677 (cd $(HOST_SUBDIR)/gprof && \
10678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10680 "RANLIB=$${RANLIB}" \
10681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10687 .PHONY: maybe-dvi-gprof dvi-gprof
10690 maybe-dvi-gprof: dvi-gprof
10694 @[ -f ./gprof/Makefile ] || exit 0; \
10695 r=`${PWD_COMMAND}`; export r; \
10696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10699 for flag in $(EXTRA_HOST_FLAGS) ; do \
10700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10702 echo "Doing dvi in gprof" ; \
10703 (cd $(HOST_SUBDIR)/gprof && \
10704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10706 "RANLIB=$${RANLIB}" \
10707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10713 .PHONY: maybe-html-gprof html-gprof
10716 maybe-html-gprof: html-gprof
10720 @[ -f ./gprof/Makefile ] || exit 0; \
10721 r=`${PWD_COMMAND}`; export r; \
10722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10725 for flag in $(EXTRA_HOST_FLAGS) ; do \
10726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10728 echo "Doing html in gprof" ; \
10729 (cd $(HOST_SUBDIR)/gprof && \
10730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10732 "RANLIB=$${RANLIB}" \
10733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10739 .PHONY: maybe-TAGS-gprof TAGS-gprof
10742 maybe-TAGS-gprof: TAGS-gprof
10746 @[ -f ./gprof/Makefile ] || exit 0; \
10747 r=`${PWD_COMMAND}`; export r; \
10748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10751 for flag in $(EXTRA_HOST_FLAGS) ; do \
10752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10754 echo "Doing TAGS in gprof" ; \
10755 (cd $(HOST_SUBDIR)/gprof && \
10756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10758 "RANLIB=$${RANLIB}" \
10759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10765 .PHONY: maybe-install-info-gprof install-info-gprof
10766 maybe-install-info-gprof:
10768 maybe-install-info-gprof: install-info-gprof
10770 install-info-gprof: \
10773 @[ -f ./gprof/Makefile ] || exit 0; \
10774 r=`${PWD_COMMAND}`; export r; \
10775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10778 for flag in $(EXTRA_HOST_FLAGS) ; do \
10779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10781 echo "Doing install-info in gprof" ; \
10782 (cd $(HOST_SUBDIR)/gprof && \
10783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10785 "RANLIB=$${RANLIB}" \
10786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10792 .PHONY: maybe-installcheck-gprof installcheck-gprof
10793 maybe-installcheck-gprof:
10795 maybe-installcheck-gprof: installcheck-gprof
10797 installcheck-gprof: \
10799 @[ -f ./gprof/Makefile ] || exit 0; \
10800 r=`${PWD_COMMAND}`; export r; \
10801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10804 for flag in $(EXTRA_HOST_FLAGS) ; do \
10805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10807 echo "Doing installcheck in gprof" ; \
10808 (cd $(HOST_SUBDIR)/gprof && \
10809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10811 "RANLIB=$${RANLIB}" \
10812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10818 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
10819 maybe-mostlyclean-gprof:
10821 maybe-mostlyclean-gprof: mostlyclean-gprof
10824 @[ -f ./gprof/Makefile ] || exit 0; \
10825 r=`${PWD_COMMAND}`; export r; \
10826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10829 for flag in $(EXTRA_HOST_FLAGS) ; do \
10830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10832 echo "Doing mostlyclean in gprof" ; \
10833 (cd $(HOST_SUBDIR)/gprof && \
10834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10836 "RANLIB=$${RANLIB}" \
10837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10843 .PHONY: maybe-clean-gprof clean-gprof
10846 maybe-clean-gprof: clean-gprof
10849 @[ -f ./gprof/Makefile ] || exit 0; \
10850 r=`${PWD_COMMAND}`; export r; \
10851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10854 for flag in $(EXTRA_HOST_FLAGS) ; do \
10855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10857 echo "Doing clean in gprof" ; \
10858 (cd $(HOST_SUBDIR)/gprof && \
10859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10861 "RANLIB=$${RANLIB}" \
10862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10868 .PHONY: maybe-distclean-gprof distclean-gprof
10869 maybe-distclean-gprof:
10871 maybe-distclean-gprof: distclean-gprof
10874 @[ -f ./gprof/Makefile ] || exit 0; \
10875 r=`${PWD_COMMAND}`; export r; \
10876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10879 for flag in $(EXTRA_HOST_FLAGS) ; do \
10880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10882 echo "Doing distclean in gprof" ; \
10883 (cd $(HOST_SUBDIR)/gprof && \
10884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10886 "RANLIB=$${RANLIB}" \
10887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10893 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
10894 maybe-maintainer-clean-gprof:
10896 maybe-maintainer-clean-gprof: maintainer-clean-gprof
10898 maintainer-clean-gprof:
10899 @[ -f ./gprof/Makefile ] || exit 0; \
10900 r=`${PWD_COMMAND}`; export r; \
10901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10904 for flag in $(EXTRA_HOST_FLAGS) ; do \
10905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10907 echo "Doing maintainer-clean in gprof" ; \
10908 (cd $(HOST_SUBDIR)/gprof && \
10909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10911 "RANLIB=$${RANLIB}" \
10912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10913 maintainer-clean) \
10919 .PHONY: configure-gzip maybe-configure-gzip
10920 maybe-configure-gzip:
10922 maybe-configure-gzip: configure-gzip
10924 @test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
10925 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
10926 r=`${PWD_COMMAND}`; export r; \
10927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10929 echo Configuring in gzip; \
10930 cd $(HOST_SUBDIR)/gzip || exit 1; \
10931 case $(srcdir) in \
10932 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10933 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
10934 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10936 srcdiroption="--srcdir=$${topdir}/gzip"; \
10937 libsrcdir="$$s/gzip"; \
10938 $(SHELL) $${libsrcdir}/configure \
10939 $(HOST_CONFIGARGS) $${srcdiroption} \
10943 .PHONY: all-gzip maybe-all-gzip
10947 maybe-all-gzip: all-gzip
10948 all-gzip: configure-gzip
10949 @r=`${PWD_COMMAND}`; export r; \
10950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10953 (cd $(HOST_SUBDIR)/gzip && \
10954 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
10957 .PHONY: check-gzip maybe-check-gzip
10960 maybe-check-gzip: check-gzip
10963 @r=`${PWD_COMMAND}`; export r; \
10964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10967 (cd $(HOST_SUBDIR)/gzip && \
10968 $(MAKE) $(FLAGS_TO_PASS) check)
10972 .PHONY: install-gzip maybe-install-gzip
10973 maybe-install-gzip:
10975 maybe-install-gzip: install-gzip
10977 install-gzip: installdirs
10978 @r=`${PWD_COMMAND}`; export r; \
10979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10982 (cd $(HOST_SUBDIR)/gzip && \
10983 $(MAKE) $(FLAGS_TO_PASS) install)
10987 # Other targets (info, dvi, etc.)
10989 .PHONY: maybe-info-gzip info-gzip
10992 maybe-info-gzip: info-gzip
10996 @[ -f ./gzip/Makefile ] || exit 0; \
10997 r=`${PWD_COMMAND}`; export r; \
10998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11001 for flag in $(EXTRA_HOST_FLAGS) ; do \
11002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11004 echo "Doing info in gzip" ; \
11005 (cd $(HOST_SUBDIR)/gzip && \
11006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11008 "RANLIB=$${RANLIB}" \
11009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11015 .PHONY: maybe-dvi-gzip dvi-gzip
11018 maybe-dvi-gzip: dvi-gzip
11022 @[ -f ./gzip/Makefile ] || exit 0; \
11023 r=`${PWD_COMMAND}`; export r; \
11024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11027 for flag in $(EXTRA_HOST_FLAGS) ; do \
11028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11030 echo "Doing dvi in gzip" ; \
11031 (cd $(HOST_SUBDIR)/gzip && \
11032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11034 "RANLIB=$${RANLIB}" \
11035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11041 .PHONY: maybe-html-gzip html-gzip
11044 maybe-html-gzip: html-gzip
11048 @[ -f ./gzip/Makefile ] || exit 0; \
11049 r=`${PWD_COMMAND}`; export r; \
11050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11053 for flag in $(EXTRA_HOST_FLAGS) ; do \
11054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11056 echo "Doing html in gzip" ; \
11057 (cd $(HOST_SUBDIR)/gzip && \
11058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11060 "RANLIB=$${RANLIB}" \
11061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11067 .PHONY: maybe-TAGS-gzip TAGS-gzip
11070 maybe-TAGS-gzip: TAGS-gzip
11074 @[ -f ./gzip/Makefile ] || exit 0; \
11075 r=`${PWD_COMMAND}`; export r; \
11076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11079 for flag in $(EXTRA_HOST_FLAGS) ; do \
11080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11082 echo "Doing TAGS in gzip" ; \
11083 (cd $(HOST_SUBDIR)/gzip && \
11084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11086 "RANLIB=$${RANLIB}" \
11087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11093 .PHONY: maybe-install-info-gzip install-info-gzip
11094 maybe-install-info-gzip:
11096 maybe-install-info-gzip: install-info-gzip
11098 install-info-gzip: \
11101 @[ -f ./gzip/Makefile ] || exit 0; \
11102 r=`${PWD_COMMAND}`; export r; \
11103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11106 for flag in $(EXTRA_HOST_FLAGS) ; do \
11107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11109 echo "Doing install-info in gzip" ; \
11110 (cd $(HOST_SUBDIR)/gzip && \
11111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11113 "RANLIB=$${RANLIB}" \
11114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11120 .PHONY: maybe-installcheck-gzip installcheck-gzip
11121 maybe-installcheck-gzip:
11123 maybe-installcheck-gzip: installcheck-gzip
11125 installcheck-gzip: \
11127 @[ -f ./gzip/Makefile ] || exit 0; \
11128 r=`${PWD_COMMAND}`; export r; \
11129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11132 for flag in $(EXTRA_HOST_FLAGS) ; do \
11133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11135 echo "Doing installcheck in gzip" ; \
11136 (cd $(HOST_SUBDIR)/gzip && \
11137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11139 "RANLIB=$${RANLIB}" \
11140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11146 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
11147 maybe-mostlyclean-gzip:
11149 maybe-mostlyclean-gzip: mostlyclean-gzip
11152 @[ -f ./gzip/Makefile ] || exit 0; \
11153 r=`${PWD_COMMAND}`; export r; \
11154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11157 for flag in $(EXTRA_HOST_FLAGS) ; do \
11158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11160 echo "Doing mostlyclean in gzip" ; \
11161 (cd $(HOST_SUBDIR)/gzip && \
11162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11164 "RANLIB=$${RANLIB}" \
11165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11171 .PHONY: maybe-clean-gzip clean-gzip
11174 maybe-clean-gzip: clean-gzip
11177 @[ -f ./gzip/Makefile ] || exit 0; \
11178 r=`${PWD_COMMAND}`; export r; \
11179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11182 for flag in $(EXTRA_HOST_FLAGS) ; do \
11183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11185 echo "Doing clean in gzip" ; \
11186 (cd $(HOST_SUBDIR)/gzip && \
11187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11189 "RANLIB=$${RANLIB}" \
11190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11196 .PHONY: maybe-distclean-gzip distclean-gzip
11197 maybe-distclean-gzip:
11199 maybe-distclean-gzip: distclean-gzip
11202 @[ -f ./gzip/Makefile ] || exit 0; \
11203 r=`${PWD_COMMAND}`; export r; \
11204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11207 for flag in $(EXTRA_HOST_FLAGS) ; do \
11208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11210 echo "Doing distclean in gzip" ; \
11211 (cd $(HOST_SUBDIR)/gzip && \
11212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11214 "RANLIB=$${RANLIB}" \
11215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11221 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
11222 maybe-maintainer-clean-gzip:
11224 maybe-maintainer-clean-gzip: maintainer-clean-gzip
11226 maintainer-clean-gzip:
11227 @[ -f ./gzip/Makefile ] || exit 0; \
11228 r=`${PWD_COMMAND}`; export r; \
11229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11232 for flag in $(EXTRA_HOST_FLAGS) ; do \
11233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11235 echo "Doing maintainer-clean in gzip" ; \
11236 (cd $(HOST_SUBDIR)/gzip && \
11237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11239 "RANLIB=$${RANLIB}" \
11240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11241 maintainer-clean) \
11247 .PHONY: configure-hello maybe-configure-hello
11248 maybe-configure-hello:
11250 maybe-configure-hello: configure-hello
11252 @test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
11253 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
11254 r=`${PWD_COMMAND}`; export r; \
11255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11257 echo Configuring in hello; \
11258 cd $(HOST_SUBDIR)/hello || exit 1; \
11259 case $(srcdir) in \
11260 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11261 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
11262 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11264 srcdiroption="--srcdir=$${topdir}/hello"; \
11265 libsrcdir="$$s/hello"; \
11266 $(SHELL) $${libsrcdir}/configure \
11267 $(HOST_CONFIGARGS) $${srcdiroption} \
11271 .PHONY: all-hello maybe-all-hello
11275 maybe-all-hello: all-hello
11276 all-hello: configure-hello
11277 @r=`${PWD_COMMAND}`; export r; \
11278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11281 (cd $(HOST_SUBDIR)/hello && \
11282 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
11285 .PHONY: check-hello maybe-check-hello
11288 maybe-check-hello: check-hello
11291 @r=`${PWD_COMMAND}`; export r; \
11292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11295 (cd $(HOST_SUBDIR)/hello && \
11296 $(MAKE) $(FLAGS_TO_PASS) check)
11300 .PHONY: install-hello maybe-install-hello
11301 maybe-install-hello:
11303 maybe-install-hello: install-hello
11305 install-hello: installdirs
11306 @r=`${PWD_COMMAND}`; export r; \
11307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11310 (cd $(HOST_SUBDIR)/hello && \
11311 $(MAKE) $(FLAGS_TO_PASS) install)
11315 # Other targets (info, dvi, etc.)
11317 .PHONY: maybe-info-hello info-hello
11320 maybe-info-hello: info-hello
11324 @[ -f ./hello/Makefile ] || exit 0; \
11325 r=`${PWD_COMMAND}`; export r; \
11326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11329 for flag in $(EXTRA_HOST_FLAGS) ; do \
11330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11332 echo "Doing info in hello" ; \
11333 (cd $(HOST_SUBDIR)/hello && \
11334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11336 "RANLIB=$${RANLIB}" \
11337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11343 .PHONY: maybe-dvi-hello dvi-hello
11346 maybe-dvi-hello: dvi-hello
11350 @[ -f ./hello/Makefile ] || exit 0; \
11351 r=`${PWD_COMMAND}`; export r; \
11352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11355 for flag in $(EXTRA_HOST_FLAGS) ; do \
11356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11358 echo "Doing dvi in hello" ; \
11359 (cd $(HOST_SUBDIR)/hello && \
11360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11362 "RANLIB=$${RANLIB}" \
11363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11369 .PHONY: maybe-html-hello html-hello
11372 maybe-html-hello: html-hello
11376 @[ -f ./hello/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 html in hello" ; \
11385 (cd $(HOST_SUBDIR)/hello && \
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-TAGS-hello TAGS-hello
11398 maybe-TAGS-hello: TAGS-hello
11402 @[ -f ./hello/Makefile ] || exit 0; \
11403 r=`${PWD_COMMAND}`; export r; \
11404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11407 for flag in $(EXTRA_HOST_FLAGS) ; do \
11408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11410 echo "Doing TAGS in hello" ; \
11411 (cd $(HOST_SUBDIR)/hello && \
11412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11414 "RANLIB=$${RANLIB}" \
11415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11421 .PHONY: maybe-install-info-hello install-info-hello
11422 maybe-install-info-hello:
11424 maybe-install-info-hello: install-info-hello
11426 install-info-hello: \
11429 @[ -f ./hello/Makefile ] || exit 0; \
11430 r=`${PWD_COMMAND}`; export r; \
11431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11434 for flag in $(EXTRA_HOST_FLAGS) ; do \
11435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11437 echo "Doing install-info in hello" ; \
11438 (cd $(HOST_SUBDIR)/hello && \
11439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11441 "RANLIB=$${RANLIB}" \
11442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11448 .PHONY: maybe-installcheck-hello installcheck-hello
11449 maybe-installcheck-hello:
11451 maybe-installcheck-hello: installcheck-hello
11453 installcheck-hello: \
11455 @[ -f ./hello/Makefile ] || exit 0; \
11456 r=`${PWD_COMMAND}`; export r; \
11457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11460 for flag in $(EXTRA_HOST_FLAGS) ; do \
11461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11463 echo "Doing installcheck in hello" ; \
11464 (cd $(HOST_SUBDIR)/hello && \
11465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11467 "RANLIB=$${RANLIB}" \
11468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11474 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
11475 maybe-mostlyclean-hello:
11477 maybe-mostlyclean-hello: mostlyclean-hello
11480 @[ -f ./hello/Makefile ] || exit 0; \
11481 r=`${PWD_COMMAND}`; export r; \
11482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11485 for flag in $(EXTRA_HOST_FLAGS) ; do \
11486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11488 echo "Doing mostlyclean in hello" ; \
11489 (cd $(HOST_SUBDIR)/hello && \
11490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11492 "RANLIB=$${RANLIB}" \
11493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11499 .PHONY: maybe-clean-hello clean-hello
11502 maybe-clean-hello: clean-hello
11505 @[ -f ./hello/Makefile ] || exit 0; \
11506 r=`${PWD_COMMAND}`; export r; \
11507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11510 for flag in $(EXTRA_HOST_FLAGS) ; do \
11511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11513 echo "Doing clean in hello" ; \
11514 (cd $(HOST_SUBDIR)/hello && \
11515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11517 "RANLIB=$${RANLIB}" \
11518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11524 .PHONY: maybe-distclean-hello distclean-hello
11525 maybe-distclean-hello:
11527 maybe-distclean-hello: distclean-hello
11530 @[ -f ./hello/Makefile ] || exit 0; \
11531 r=`${PWD_COMMAND}`; export r; \
11532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11535 for flag in $(EXTRA_HOST_FLAGS) ; do \
11536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11538 echo "Doing distclean in hello" ; \
11539 (cd $(HOST_SUBDIR)/hello && \
11540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11542 "RANLIB=$${RANLIB}" \
11543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11549 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
11550 maybe-maintainer-clean-hello:
11552 maybe-maintainer-clean-hello: maintainer-clean-hello
11554 maintainer-clean-hello:
11555 @[ -f ./hello/Makefile ] || exit 0; \
11556 r=`${PWD_COMMAND}`; export r; \
11557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11560 for flag in $(EXTRA_HOST_FLAGS) ; do \
11561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11563 echo "Doing maintainer-clean in hello" ; \
11564 (cd $(HOST_SUBDIR)/hello && \
11565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11567 "RANLIB=$${RANLIB}" \
11568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11569 maintainer-clean) \
11575 .PHONY: configure-indent maybe-configure-indent
11576 maybe-configure-indent:
11578 maybe-configure-indent: configure-indent
11580 @test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
11581 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
11582 r=`${PWD_COMMAND}`; export r; \
11583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11585 echo Configuring in indent; \
11586 cd $(HOST_SUBDIR)/indent || exit 1; \
11587 case $(srcdir) in \
11588 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11589 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
11590 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11592 srcdiroption="--srcdir=$${topdir}/indent"; \
11593 libsrcdir="$$s/indent"; \
11594 $(SHELL) $${libsrcdir}/configure \
11595 $(HOST_CONFIGARGS) $${srcdiroption} \
11599 .PHONY: all-indent maybe-all-indent
11603 maybe-all-indent: all-indent
11604 all-indent: configure-indent
11605 @r=`${PWD_COMMAND}`; export r; \
11606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11609 (cd $(HOST_SUBDIR)/indent && \
11610 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
11613 .PHONY: check-indent maybe-check-indent
11614 maybe-check-indent:
11616 maybe-check-indent: check-indent
11619 @r=`${PWD_COMMAND}`; export r; \
11620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11623 (cd $(HOST_SUBDIR)/indent && \
11624 $(MAKE) $(FLAGS_TO_PASS) check)
11628 .PHONY: install-indent maybe-install-indent
11629 maybe-install-indent:
11631 maybe-install-indent: install-indent
11633 install-indent: installdirs
11634 @r=`${PWD_COMMAND}`; export r; \
11635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11638 (cd $(HOST_SUBDIR)/indent && \
11639 $(MAKE) $(FLAGS_TO_PASS) install)
11643 # Other targets (info, dvi, etc.)
11645 .PHONY: maybe-info-indent info-indent
11648 maybe-info-indent: info-indent
11652 @[ -f ./indent/Makefile ] || exit 0; \
11653 r=`${PWD_COMMAND}`; export r; \
11654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11657 for flag in $(EXTRA_HOST_FLAGS) ; do \
11658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11660 echo "Doing info in indent" ; \
11661 (cd $(HOST_SUBDIR)/indent && \
11662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11664 "RANLIB=$${RANLIB}" \
11665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11671 .PHONY: maybe-dvi-indent dvi-indent
11674 maybe-dvi-indent: dvi-indent
11678 @[ -f ./indent/Makefile ] || exit 0; \
11679 r=`${PWD_COMMAND}`; export r; \
11680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11683 for flag in $(EXTRA_HOST_FLAGS) ; do \
11684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11686 echo "Doing dvi in indent" ; \
11687 (cd $(HOST_SUBDIR)/indent && \
11688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11690 "RANLIB=$${RANLIB}" \
11691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11697 .PHONY: maybe-html-indent html-indent
11700 maybe-html-indent: html-indent
11704 @[ -f ./indent/Makefile ] || exit 0; \
11705 r=`${PWD_COMMAND}`; export r; \
11706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11709 for flag in $(EXTRA_HOST_FLAGS) ; do \
11710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11712 echo "Doing html in indent" ; \
11713 (cd $(HOST_SUBDIR)/indent && \
11714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11716 "RANLIB=$${RANLIB}" \
11717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11723 .PHONY: maybe-TAGS-indent TAGS-indent
11726 maybe-TAGS-indent: TAGS-indent
11730 @[ -f ./indent/Makefile ] || exit 0; \
11731 r=`${PWD_COMMAND}`; export r; \
11732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11735 for flag in $(EXTRA_HOST_FLAGS) ; do \
11736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11738 echo "Doing TAGS in indent" ; \
11739 (cd $(HOST_SUBDIR)/indent && \
11740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11742 "RANLIB=$${RANLIB}" \
11743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11749 .PHONY: maybe-install-info-indent install-info-indent
11750 maybe-install-info-indent:
11752 maybe-install-info-indent: install-info-indent
11754 install-info-indent: \
11757 @[ -f ./indent/Makefile ] || exit 0; \
11758 r=`${PWD_COMMAND}`; export r; \
11759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11762 for flag in $(EXTRA_HOST_FLAGS) ; do \
11763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11765 echo "Doing install-info in indent" ; \
11766 (cd $(HOST_SUBDIR)/indent && \
11767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11769 "RANLIB=$${RANLIB}" \
11770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11776 .PHONY: maybe-installcheck-indent installcheck-indent
11777 maybe-installcheck-indent:
11779 maybe-installcheck-indent: installcheck-indent
11781 installcheck-indent: \
11783 @[ -f ./indent/Makefile ] || exit 0; \
11784 r=`${PWD_COMMAND}`; export r; \
11785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11788 for flag in $(EXTRA_HOST_FLAGS) ; do \
11789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11791 echo "Doing installcheck in indent" ; \
11792 (cd $(HOST_SUBDIR)/indent && \
11793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11795 "RANLIB=$${RANLIB}" \
11796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11802 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
11803 maybe-mostlyclean-indent:
11805 maybe-mostlyclean-indent: mostlyclean-indent
11807 mostlyclean-indent:
11808 @[ -f ./indent/Makefile ] || exit 0; \
11809 r=`${PWD_COMMAND}`; export r; \
11810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11813 for flag in $(EXTRA_HOST_FLAGS) ; do \
11814 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11816 echo "Doing mostlyclean in indent" ; \
11817 (cd $(HOST_SUBDIR)/indent && \
11818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11820 "RANLIB=$${RANLIB}" \
11821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11827 .PHONY: maybe-clean-indent clean-indent
11828 maybe-clean-indent:
11830 maybe-clean-indent: clean-indent
11833 @[ -f ./indent/Makefile ] || exit 0; \
11834 r=`${PWD_COMMAND}`; export r; \
11835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11838 for flag in $(EXTRA_HOST_FLAGS) ; do \
11839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11841 echo "Doing clean in indent" ; \
11842 (cd $(HOST_SUBDIR)/indent && \
11843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11845 "RANLIB=$${RANLIB}" \
11846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11852 .PHONY: maybe-distclean-indent distclean-indent
11853 maybe-distclean-indent:
11855 maybe-distclean-indent: distclean-indent
11858 @[ -f ./indent/Makefile ] || exit 0; \
11859 r=`${PWD_COMMAND}`; export r; \
11860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11863 for flag in $(EXTRA_HOST_FLAGS) ; do \
11864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11866 echo "Doing distclean in indent" ; \
11867 (cd $(HOST_SUBDIR)/indent && \
11868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11870 "RANLIB=$${RANLIB}" \
11871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11877 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
11878 maybe-maintainer-clean-indent:
11880 maybe-maintainer-clean-indent: maintainer-clean-indent
11882 maintainer-clean-indent:
11883 @[ -f ./indent/Makefile ] || exit 0; \
11884 r=`${PWD_COMMAND}`; export r; \
11885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11888 for flag in $(EXTRA_HOST_FLAGS) ; do \
11889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11891 echo "Doing maintainer-clean in indent" ; \
11892 (cd $(HOST_SUBDIR)/indent && \
11893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11895 "RANLIB=$${RANLIB}" \
11896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11897 maintainer-clean) \
11903 .PHONY: configure-intl maybe-configure-intl
11904 maybe-configure-intl:
11906 maybe-configure-intl: configure-intl
11908 @test -f stage_last && exit 0; \
11909 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
11910 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
11911 r=`${PWD_COMMAND}`; export r; \
11912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11914 echo Configuring in intl; \
11915 cd $(HOST_SUBDIR)/intl || exit 1; \
11916 case $(srcdir) in \
11917 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11918 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
11919 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11921 srcdiroption="--srcdir=$${topdir}/intl"; \
11922 libsrcdir="$$s/intl"; \
11923 $(SHELL) $${libsrcdir}/configure \
11924 $(HOST_CONFIGARGS) $${srcdiroption} \
11928 .PHONY: all-intl maybe-all-intl
11932 maybe-all-intl: all-intl
11933 all-intl: configure-intl
11934 @test -f stage_last && exit 0; \
11935 r=`${PWD_COMMAND}`; export r; \
11936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11939 (cd $(HOST_SUBDIR)/intl && \
11940 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
11943 .PHONY: check-intl maybe-check-intl
11946 maybe-check-intl: check-intl
11949 @r=`${PWD_COMMAND}`; export r; \
11950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11953 (cd $(HOST_SUBDIR)/intl && \
11954 $(MAKE) $(FLAGS_TO_PASS) check)
11958 .PHONY: install-intl maybe-install-intl
11959 maybe-install-intl:
11961 maybe-install-intl: install-intl
11963 install-intl: installdirs
11964 @r=`${PWD_COMMAND}`; export r; \
11965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11968 (cd $(HOST_SUBDIR)/intl && \
11969 $(MAKE) $(FLAGS_TO_PASS) install)
11973 # Other targets (info, dvi, etc.)
11975 .PHONY: maybe-info-intl info-intl
11978 maybe-info-intl: info-intl
11982 @[ -f ./intl/Makefile ] || exit 0; \
11983 r=`${PWD_COMMAND}`; export r; \
11984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11987 for flag in $(EXTRA_HOST_FLAGS) ; do \
11988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11990 echo "Doing info in intl" ; \
11991 (cd $(HOST_SUBDIR)/intl && \
11992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11994 "RANLIB=$${RANLIB}" \
11995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12001 .PHONY: maybe-dvi-intl dvi-intl
12004 maybe-dvi-intl: dvi-intl
12008 @[ -f ./intl/Makefile ] || exit 0; \
12009 r=`${PWD_COMMAND}`; export r; \
12010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12013 for flag in $(EXTRA_HOST_FLAGS) ; do \
12014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12016 echo "Doing dvi in intl" ; \
12017 (cd $(HOST_SUBDIR)/intl && \
12018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12020 "RANLIB=$${RANLIB}" \
12021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12027 .PHONY: maybe-html-intl html-intl
12030 maybe-html-intl: html-intl
12034 @[ -f ./intl/Makefile ] || exit 0; \
12035 r=`${PWD_COMMAND}`; export r; \
12036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12039 for flag in $(EXTRA_HOST_FLAGS) ; do \
12040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12042 echo "Doing html in intl" ; \
12043 (cd $(HOST_SUBDIR)/intl && \
12044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12046 "RANLIB=$${RANLIB}" \
12047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12053 .PHONY: maybe-TAGS-intl TAGS-intl
12056 maybe-TAGS-intl: TAGS-intl
12060 @[ -f ./intl/Makefile ] || exit 0; \
12061 r=`${PWD_COMMAND}`; export r; \
12062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12065 for flag in $(EXTRA_HOST_FLAGS) ; do \
12066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12068 echo "Doing TAGS in intl" ; \
12069 (cd $(HOST_SUBDIR)/intl && \
12070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12072 "RANLIB=$${RANLIB}" \
12073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12079 .PHONY: maybe-install-info-intl install-info-intl
12080 maybe-install-info-intl:
12082 maybe-install-info-intl: install-info-intl
12084 install-info-intl: \
12087 @[ -f ./intl/Makefile ] || exit 0; \
12088 r=`${PWD_COMMAND}`; export r; \
12089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12092 for flag in $(EXTRA_HOST_FLAGS) ; do \
12093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12095 echo "Doing install-info in intl" ; \
12096 (cd $(HOST_SUBDIR)/intl && \
12097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12099 "RANLIB=$${RANLIB}" \
12100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12106 .PHONY: maybe-installcheck-intl installcheck-intl
12107 maybe-installcheck-intl:
12109 maybe-installcheck-intl: installcheck-intl
12111 installcheck-intl: \
12113 @[ -f ./intl/Makefile ] || exit 0; \
12114 r=`${PWD_COMMAND}`; export r; \
12115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12118 for flag in $(EXTRA_HOST_FLAGS) ; do \
12119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12121 echo "Doing installcheck in intl" ; \
12122 (cd $(HOST_SUBDIR)/intl && \
12123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12125 "RANLIB=$${RANLIB}" \
12126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12132 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
12133 maybe-mostlyclean-intl:
12135 maybe-mostlyclean-intl: mostlyclean-intl
12138 @[ -f ./intl/Makefile ] || exit 0; \
12139 r=`${PWD_COMMAND}`; export r; \
12140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12143 for flag in $(EXTRA_HOST_FLAGS) ; do \
12144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12146 echo "Doing mostlyclean in intl" ; \
12147 (cd $(HOST_SUBDIR)/intl && \
12148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12150 "RANLIB=$${RANLIB}" \
12151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12157 .PHONY: maybe-clean-intl clean-intl
12160 maybe-clean-intl: clean-intl
12163 @[ -f ./intl/Makefile ] || exit 0; \
12164 r=`${PWD_COMMAND}`; export r; \
12165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12168 for flag in $(EXTRA_HOST_FLAGS) ; do \
12169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12171 echo "Doing clean in intl" ; \
12172 (cd $(HOST_SUBDIR)/intl && \
12173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12175 "RANLIB=$${RANLIB}" \
12176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12182 .PHONY: maybe-distclean-intl distclean-intl
12183 maybe-distclean-intl:
12185 maybe-distclean-intl: distclean-intl
12188 @[ -f ./intl/Makefile ] || exit 0; \
12189 r=`${PWD_COMMAND}`; export r; \
12190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12193 for flag in $(EXTRA_HOST_FLAGS) ; do \
12194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12196 echo "Doing distclean in intl" ; \
12197 (cd $(HOST_SUBDIR)/intl && \
12198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12200 "RANLIB=$${RANLIB}" \
12201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12207 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
12208 maybe-maintainer-clean-intl:
12210 maybe-maintainer-clean-intl: maintainer-clean-intl
12212 maintainer-clean-intl:
12213 @[ -f ./intl/Makefile ] || exit 0; \
12214 r=`${PWD_COMMAND}`; export r; \
12215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12218 for flag in $(EXTRA_HOST_FLAGS) ; do \
12219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12221 echo "Doing maintainer-clean in intl" ; \
12222 (cd $(HOST_SUBDIR)/intl && \
12223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12225 "RANLIB=$${RANLIB}" \
12226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12227 maintainer-clean) \
12233 .PHONY: configure-tcl maybe-configure-tcl
12234 maybe-configure-tcl:
12236 maybe-configure-tcl: configure-tcl
12238 @test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
12239 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
12240 r=`${PWD_COMMAND}`; export r; \
12241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12243 echo Configuring in tcl; \
12244 cd $(HOST_SUBDIR)/tcl || exit 1; \
12245 case $(srcdir) in \
12246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12247 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
12248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12250 srcdiroption="--srcdir=$${topdir}/tcl"; \
12251 libsrcdir="$$s/tcl"; \
12252 $(SHELL) $${libsrcdir}/configure \
12253 $(HOST_CONFIGARGS) $${srcdiroption} \
12257 .PHONY: all-tcl maybe-all-tcl
12261 maybe-all-tcl: all-tcl
12262 all-tcl: configure-tcl
12263 @r=`${PWD_COMMAND}`; export r; \
12264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12267 (cd $(HOST_SUBDIR)/tcl && \
12268 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
12271 .PHONY: check-tcl maybe-check-tcl
12274 maybe-check-tcl: check-tcl
12277 @r=`${PWD_COMMAND}`; export r; \
12278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12281 (cd $(HOST_SUBDIR)/tcl && \
12282 $(MAKE) $(FLAGS_TO_PASS) check)
12286 .PHONY: install-tcl maybe-install-tcl
12289 maybe-install-tcl: install-tcl
12291 install-tcl: installdirs
12292 @r=`${PWD_COMMAND}`; export r; \
12293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12296 (cd $(HOST_SUBDIR)/tcl && \
12297 $(MAKE) $(FLAGS_TO_PASS) install)
12301 # Other targets (info, dvi, etc.)
12303 .PHONY: maybe-info-tcl info-tcl
12306 maybe-info-tcl: info-tcl
12310 @[ -f ./tcl/Makefile ] || exit 0; \
12311 r=`${PWD_COMMAND}`; export r; \
12312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12315 for flag in $(EXTRA_HOST_FLAGS) ; do \
12316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12318 echo "Doing info in tcl" ; \
12319 (cd $(HOST_SUBDIR)/tcl && \
12320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12322 "RANLIB=$${RANLIB}" \
12323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12329 .PHONY: maybe-dvi-tcl dvi-tcl
12332 maybe-dvi-tcl: dvi-tcl
12336 @[ -f ./tcl/Makefile ] || exit 0; \
12337 r=`${PWD_COMMAND}`; export r; \
12338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12341 for flag in $(EXTRA_HOST_FLAGS) ; do \
12342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12344 echo "Doing dvi in tcl" ; \
12345 (cd $(HOST_SUBDIR)/tcl && \
12346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12348 "RANLIB=$${RANLIB}" \
12349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12355 .PHONY: maybe-html-tcl html-tcl
12358 maybe-html-tcl: html-tcl
12362 @[ -f ./tcl/Makefile ] || exit 0; \
12363 r=`${PWD_COMMAND}`; export r; \
12364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12367 for flag in $(EXTRA_HOST_FLAGS) ; do \
12368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12370 echo "Doing html in tcl" ; \
12371 (cd $(HOST_SUBDIR)/tcl && \
12372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12374 "RANLIB=$${RANLIB}" \
12375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12381 .PHONY: maybe-TAGS-tcl TAGS-tcl
12384 maybe-TAGS-tcl: TAGS-tcl
12388 @[ -f ./tcl/Makefile ] || exit 0; \
12389 r=`${PWD_COMMAND}`; export r; \
12390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12393 for flag in $(EXTRA_HOST_FLAGS) ; do \
12394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12396 echo "Doing TAGS in tcl" ; \
12397 (cd $(HOST_SUBDIR)/tcl && \
12398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12400 "RANLIB=$${RANLIB}" \
12401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12407 .PHONY: maybe-install-info-tcl install-info-tcl
12408 maybe-install-info-tcl:
12410 maybe-install-info-tcl: install-info-tcl
12412 install-info-tcl: \
12415 @[ -f ./tcl/Makefile ] || exit 0; \
12416 r=`${PWD_COMMAND}`; export r; \
12417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12420 for flag in $(EXTRA_HOST_FLAGS) ; do \
12421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12423 echo "Doing install-info in tcl" ; \
12424 (cd $(HOST_SUBDIR)/tcl && \
12425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12427 "RANLIB=$${RANLIB}" \
12428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12434 .PHONY: maybe-installcheck-tcl installcheck-tcl
12435 maybe-installcheck-tcl:
12437 maybe-installcheck-tcl: installcheck-tcl
12439 installcheck-tcl: \
12441 @[ -f ./tcl/Makefile ] || exit 0; \
12442 r=`${PWD_COMMAND}`; export r; \
12443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12446 for flag in $(EXTRA_HOST_FLAGS) ; do \
12447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12449 echo "Doing installcheck in tcl" ; \
12450 (cd $(HOST_SUBDIR)/tcl && \
12451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12453 "RANLIB=$${RANLIB}" \
12454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12460 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
12461 maybe-mostlyclean-tcl:
12463 maybe-mostlyclean-tcl: mostlyclean-tcl
12465 # tcl doesn't support mostlyclean.
12470 .PHONY: maybe-clean-tcl clean-tcl
12473 maybe-clean-tcl: clean-tcl
12476 @[ -f ./tcl/Makefile ] || exit 0; \
12477 r=`${PWD_COMMAND}`; export r; \
12478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12481 for flag in $(EXTRA_HOST_FLAGS) ; do \
12482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12484 echo "Doing clean in tcl" ; \
12485 (cd $(HOST_SUBDIR)/tcl && \
12486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12488 "RANLIB=$${RANLIB}" \
12489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12495 .PHONY: maybe-distclean-tcl distclean-tcl
12496 maybe-distclean-tcl:
12498 maybe-distclean-tcl: distclean-tcl
12501 @[ -f ./tcl/Makefile ] || exit 0; \
12502 r=`${PWD_COMMAND}`; export r; \
12503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12506 for flag in $(EXTRA_HOST_FLAGS) ; do \
12507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12509 echo "Doing distclean in tcl" ; \
12510 (cd $(HOST_SUBDIR)/tcl && \
12511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12513 "RANLIB=$${RANLIB}" \
12514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12520 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
12521 maybe-maintainer-clean-tcl:
12523 maybe-maintainer-clean-tcl: maintainer-clean-tcl
12525 maintainer-clean-tcl:
12526 @[ -f ./tcl/Makefile ] || exit 0; \
12527 r=`${PWD_COMMAND}`; export r; \
12528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12531 for flag in $(EXTRA_HOST_FLAGS) ; do \
12532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12534 echo "Doing maintainer-clean in tcl" ; \
12535 (cd $(HOST_SUBDIR)/tcl && \
12536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12538 "RANLIB=$${RANLIB}" \
12539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12540 maintainer-clean) \
12546 .PHONY: configure-itcl maybe-configure-itcl
12547 maybe-configure-itcl:
12549 maybe-configure-itcl: configure-itcl
12551 @test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
12552 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
12553 r=`${PWD_COMMAND}`; export r; \
12554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12556 echo Configuring in itcl; \
12557 cd $(HOST_SUBDIR)/itcl || exit 1; \
12558 case $(srcdir) in \
12559 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12560 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
12561 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12563 srcdiroption="--srcdir=$${topdir}/itcl"; \
12564 libsrcdir="$$s/itcl"; \
12565 $(SHELL) $${libsrcdir}/configure \
12566 $(HOST_CONFIGARGS) $${srcdiroption} \
12570 .PHONY: all-itcl maybe-all-itcl
12574 maybe-all-itcl: all-itcl
12575 all-itcl: configure-itcl
12576 @r=`${PWD_COMMAND}`; export r; \
12577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12580 (cd $(HOST_SUBDIR)/itcl && \
12581 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
12584 .PHONY: check-itcl maybe-check-itcl
12587 maybe-check-itcl: check-itcl
12590 @r=`${PWD_COMMAND}`; export r; \
12591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12594 (cd $(HOST_SUBDIR)/itcl && \
12595 $(MAKE) $(FLAGS_TO_PASS) check)
12599 .PHONY: install-itcl maybe-install-itcl
12600 maybe-install-itcl:
12602 maybe-install-itcl: install-itcl
12604 install-itcl: installdirs
12605 @r=`${PWD_COMMAND}`; export r; \
12606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12609 (cd $(HOST_SUBDIR)/itcl && \
12610 $(MAKE) $(FLAGS_TO_PASS) install)
12614 # Other targets (info, dvi, etc.)
12616 .PHONY: maybe-info-itcl info-itcl
12619 maybe-info-itcl: info-itcl
12623 @[ -f ./itcl/Makefile ] || exit 0; \
12624 r=`${PWD_COMMAND}`; export r; \
12625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12628 for flag in $(EXTRA_HOST_FLAGS) ; do \
12629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12631 echo "Doing info in itcl" ; \
12632 (cd $(HOST_SUBDIR)/itcl && \
12633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12635 "RANLIB=$${RANLIB}" \
12636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12642 .PHONY: maybe-dvi-itcl dvi-itcl
12645 maybe-dvi-itcl: dvi-itcl
12649 @[ -f ./itcl/Makefile ] || exit 0; \
12650 r=`${PWD_COMMAND}`; export r; \
12651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12654 for flag in $(EXTRA_HOST_FLAGS) ; do \
12655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12657 echo "Doing dvi in itcl" ; \
12658 (cd $(HOST_SUBDIR)/itcl && \
12659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12661 "RANLIB=$${RANLIB}" \
12662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12668 .PHONY: maybe-html-itcl html-itcl
12671 maybe-html-itcl: html-itcl
12675 @[ -f ./itcl/Makefile ] || exit 0; \
12676 r=`${PWD_COMMAND}`; export r; \
12677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12680 for flag in $(EXTRA_HOST_FLAGS) ; do \
12681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12683 echo "Doing html in itcl" ; \
12684 (cd $(HOST_SUBDIR)/itcl && \
12685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12687 "RANLIB=$${RANLIB}" \
12688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12694 .PHONY: maybe-TAGS-itcl TAGS-itcl
12697 maybe-TAGS-itcl: TAGS-itcl
12701 @[ -f ./itcl/Makefile ] || exit 0; \
12702 r=`${PWD_COMMAND}`; export r; \
12703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12706 for flag in $(EXTRA_HOST_FLAGS) ; do \
12707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12709 echo "Doing TAGS in itcl" ; \
12710 (cd $(HOST_SUBDIR)/itcl && \
12711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12713 "RANLIB=$${RANLIB}" \
12714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12720 .PHONY: maybe-install-info-itcl install-info-itcl
12721 maybe-install-info-itcl:
12723 maybe-install-info-itcl: install-info-itcl
12725 install-info-itcl: \
12728 @[ -f ./itcl/Makefile ] || exit 0; \
12729 r=`${PWD_COMMAND}`; export r; \
12730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12733 for flag in $(EXTRA_HOST_FLAGS) ; do \
12734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12736 echo "Doing install-info in itcl" ; \
12737 (cd $(HOST_SUBDIR)/itcl && \
12738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12740 "RANLIB=$${RANLIB}" \
12741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12747 .PHONY: maybe-installcheck-itcl installcheck-itcl
12748 maybe-installcheck-itcl:
12750 maybe-installcheck-itcl: installcheck-itcl
12752 installcheck-itcl: \
12754 @[ -f ./itcl/Makefile ] || exit 0; \
12755 r=`${PWD_COMMAND}`; export r; \
12756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12759 for flag in $(EXTRA_HOST_FLAGS) ; do \
12760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12762 echo "Doing installcheck in itcl" ; \
12763 (cd $(HOST_SUBDIR)/itcl && \
12764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12766 "RANLIB=$${RANLIB}" \
12767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12773 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
12774 maybe-mostlyclean-itcl:
12776 maybe-mostlyclean-itcl: mostlyclean-itcl
12779 @[ -f ./itcl/Makefile ] || exit 0; \
12780 r=`${PWD_COMMAND}`; export r; \
12781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12784 for flag in $(EXTRA_HOST_FLAGS) ; do \
12785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12787 echo "Doing mostlyclean in itcl" ; \
12788 (cd $(HOST_SUBDIR)/itcl && \
12789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12791 "RANLIB=$${RANLIB}" \
12792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12798 .PHONY: maybe-clean-itcl clean-itcl
12801 maybe-clean-itcl: clean-itcl
12804 @[ -f ./itcl/Makefile ] || exit 0; \
12805 r=`${PWD_COMMAND}`; export r; \
12806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12809 for flag in $(EXTRA_HOST_FLAGS) ; do \
12810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12812 echo "Doing clean in itcl" ; \
12813 (cd $(HOST_SUBDIR)/itcl && \
12814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12816 "RANLIB=$${RANLIB}" \
12817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12823 .PHONY: maybe-distclean-itcl distclean-itcl
12824 maybe-distclean-itcl:
12826 maybe-distclean-itcl: distclean-itcl
12829 @[ -f ./itcl/Makefile ] || exit 0; \
12830 r=`${PWD_COMMAND}`; export r; \
12831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12834 for flag in $(EXTRA_HOST_FLAGS) ; do \
12835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12837 echo "Doing distclean in itcl" ; \
12838 (cd $(HOST_SUBDIR)/itcl && \
12839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12841 "RANLIB=$${RANLIB}" \
12842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12848 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
12849 maybe-maintainer-clean-itcl:
12851 maybe-maintainer-clean-itcl: maintainer-clean-itcl
12853 maintainer-clean-itcl:
12854 @[ -f ./itcl/Makefile ] || exit 0; \
12855 r=`${PWD_COMMAND}`; export r; \
12856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12859 for flag in $(EXTRA_HOST_FLAGS) ; do \
12860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12862 echo "Doing maintainer-clean in itcl" ; \
12863 (cd $(HOST_SUBDIR)/itcl && \
12864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12866 "RANLIB=$${RANLIB}" \
12867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12868 maintainer-clean) \
12874 .PHONY: configure-ld maybe-configure-ld
12875 maybe-configure-ld:
12877 maybe-configure-ld: configure-ld
12879 @test -f stage_last && exit 0; \
12880 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
12881 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
12882 r=`${PWD_COMMAND}`; export r; \
12883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12885 echo Configuring in ld; \
12886 cd $(HOST_SUBDIR)/ld || exit 1; \
12887 case $(srcdir) in \
12888 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12889 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
12890 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12892 srcdiroption="--srcdir=$${topdir}/ld"; \
12893 libsrcdir="$$s/ld"; \
12894 $(SHELL) $${libsrcdir}/configure \
12895 $(HOST_CONFIGARGS) $${srcdiroption} \
12899 .PHONY: all-ld maybe-all-ld
12903 maybe-all-ld: all-ld
12904 all-ld: configure-ld
12905 @test -f stage_last && exit 0; \
12906 r=`${PWD_COMMAND}`; export r; \
12907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12910 (cd $(HOST_SUBDIR)/ld && \
12911 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
12914 .PHONY: check-ld maybe-check-ld
12917 maybe-check-ld: check-ld
12920 @r=`${PWD_COMMAND}`; export r; \
12921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12924 (cd $(HOST_SUBDIR)/ld && \
12925 $(MAKE) $(FLAGS_TO_PASS) check)
12929 .PHONY: install-ld maybe-install-ld
12932 maybe-install-ld: install-ld
12934 install-ld: installdirs
12935 @r=`${PWD_COMMAND}`; export r; \
12936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12939 (cd $(HOST_SUBDIR)/ld && \
12940 $(MAKE) $(FLAGS_TO_PASS) install)
12944 # Other targets (info, dvi, etc.)
12946 .PHONY: maybe-info-ld info-ld
12949 maybe-info-ld: info-ld
12953 @[ -f ./ld/Makefile ] || exit 0; \
12954 r=`${PWD_COMMAND}`; export r; \
12955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12958 for flag in $(EXTRA_HOST_FLAGS) ; do \
12959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12961 echo "Doing info in ld" ; \
12962 (cd $(HOST_SUBDIR)/ld && \
12963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12965 "RANLIB=$${RANLIB}" \
12966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12972 .PHONY: maybe-dvi-ld dvi-ld
12975 maybe-dvi-ld: dvi-ld
12979 @[ -f ./ld/Makefile ] || exit 0; \
12980 r=`${PWD_COMMAND}`; export r; \
12981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12984 for flag in $(EXTRA_HOST_FLAGS) ; do \
12985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12987 echo "Doing dvi in ld" ; \
12988 (cd $(HOST_SUBDIR)/ld && \
12989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12991 "RANLIB=$${RANLIB}" \
12992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12998 .PHONY: maybe-html-ld html-ld
13001 maybe-html-ld: html-ld
13005 @[ -f ./ld/Makefile ] || exit 0; \
13006 r=`${PWD_COMMAND}`; export r; \
13007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13010 for flag in $(EXTRA_HOST_FLAGS) ; do \
13011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13013 echo "Doing html in ld" ; \
13014 (cd $(HOST_SUBDIR)/ld && \
13015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13017 "RANLIB=$${RANLIB}" \
13018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13024 .PHONY: maybe-TAGS-ld TAGS-ld
13027 maybe-TAGS-ld: TAGS-ld
13031 @[ -f ./ld/Makefile ] || exit 0; \
13032 r=`${PWD_COMMAND}`; export r; \
13033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13036 for flag in $(EXTRA_HOST_FLAGS) ; do \
13037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13039 echo "Doing TAGS in ld" ; \
13040 (cd $(HOST_SUBDIR)/ld && \
13041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13043 "RANLIB=$${RANLIB}" \
13044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13050 .PHONY: maybe-install-info-ld install-info-ld
13051 maybe-install-info-ld:
13053 maybe-install-info-ld: install-info-ld
13058 @[ -f ./ld/Makefile ] || exit 0; \
13059 r=`${PWD_COMMAND}`; export r; \
13060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13063 for flag in $(EXTRA_HOST_FLAGS) ; do \
13064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13066 echo "Doing install-info in ld" ; \
13067 (cd $(HOST_SUBDIR)/ld && \
13068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13070 "RANLIB=$${RANLIB}" \
13071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13077 .PHONY: maybe-installcheck-ld installcheck-ld
13078 maybe-installcheck-ld:
13080 maybe-installcheck-ld: installcheck-ld
13084 @[ -f ./ld/Makefile ] || exit 0; \
13085 r=`${PWD_COMMAND}`; export r; \
13086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13089 for flag in $(EXTRA_HOST_FLAGS) ; do \
13090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13092 echo "Doing installcheck in ld" ; \
13093 (cd $(HOST_SUBDIR)/ld && \
13094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13096 "RANLIB=$${RANLIB}" \
13097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13103 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
13104 maybe-mostlyclean-ld:
13106 maybe-mostlyclean-ld: mostlyclean-ld
13109 @[ -f ./ld/Makefile ] || exit 0; \
13110 r=`${PWD_COMMAND}`; export r; \
13111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13114 for flag in $(EXTRA_HOST_FLAGS) ; do \
13115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13117 echo "Doing mostlyclean in ld" ; \
13118 (cd $(HOST_SUBDIR)/ld && \
13119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13121 "RANLIB=$${RANLIB}" \
13122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13128 .PHONY: maybe-clean-ld clean-ld
13131 maybe-clean-ld: clean-ld
13134 @[ -f ./ld/Makefile ] || exit 0; \
13135 r=`${PWD_COMMAND}`; export r; \
13136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13139 for flag in $(EXTRA_HOST_FLAGS) ; do \
13140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13142 echo "Doing clean in ld" ; \
13143 (cd $(HOST_SUBDIR)/ld && \
13144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13146 "RANLIB=$${RANLIB}" \
13147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13153 .PHONY: maybe-distclean-ld distclean-ld
13154 maybe-distclean-ld:
13156 maybe-distclean-ld: distclean-ld
13159 @[ -f ./ld/Makefile ] || exit 0; \
13160 r=`${PWD_COMMAND}`; export r; \
13161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13164 for flag in $(EXTRA_HOST_FLAGS) ; do \
13165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13167 echo "Doing distclean in ld" ; \
13168 (cd $(HOST_SUBDIR)/ld && \
13169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13171 "RANLIB=$${RANLIB}" \
13172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13178 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
13179 maybe-maintainer-clean-ld:
13181 maybe-maintainer-clean-ld: maintainer-clean-ld
13183 maintainer-clean-ld:
13184 @[ -f ./ld/Makefile ] || exit 0; \
13185 r=`${PWD_COMMAND}`; export r; \
13186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13189 for flag in $(EXTRA_HOST_FLAGS) ; do \
13190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13192 echo "Doing maintainer-clean in ld" ; \
13193 (cd $(HOST_SUBDIR)/ld && \
13194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13196 "RANLIB=$${RANLIB}" \
13197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13198 maintainer-clean) \
13204 .PHONY: configure-libcpp maybe-configure-libcpp
13205 maybe-configure-libcpp:
13207 maybe-configure-libcpp: configure-libcpp
13209 @test -f stage_last && exit 0; \
13210 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
13211 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
13212 r=`${PWD_COMMAND}`; export r; \
13213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13215 echo Configuring in libcpp; \
13216 cd $(HOST_SUBDIR)/libcpp || exit 1; \
13217 case $(srcdir) in \
13218 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13219 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
13220 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13222 srcdiroption="--srcdir=$${topdir}/libcpp"; \
13223 libsrcdir="$$s/libcpp"; \
13224 $(SHELL) $${libsrcdir}/configure \
13225 $(HOST_CONFIGARGS) $${srcdiroption} \
13229 .PHONY: all-libcpp maybe-all-libcpp
13233 maybe-all-libcpp: all-libcpp
13234 all-libcpp: configure-libcpp
13235 @test -f stage_last && exit 0; \
13236 r=`${PWD_COMMAND}`; export r; \
13237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13240 (cd $(HOST_SUBDIR)/libcpp && \
13241 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
13244 .PHONY: check-libcpp maybe-check-libcpp
13245 maybe-check-libcpp:
13247 maybe-check-libcpp: check-libcpp
13250 @r=`${PWD_COMMAND}`; export r; \
13251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13254 (cd $(HOST_SUBDIR)/libcpp && \
13255 $(MAKE) $(FLAGS_TO_PASS) check)
13259 .PHONY: install-libcpp maybe-install-libcpp
13260 maybe-install-libcpp:
13262 maybe-install-libcpp: install-libcpp
13264 install-libcpp: installdirs
13265 @r=`${PWD_COMMAND}`; export r; \
13266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13269 (cd $(HOST_SUBDIR)/libcpp && \
13270 $(MAKE) $(FLAGS_TO_PASS) install)
13274 # Other targets (info, dvi, etc.)
13276 .PHONY: maybe-info-libcpp info-libcpp
13279 maybe-info-libcpp: info-libcpp
13283 @[ -f ./libcpp/Makefile ] || exit 0; \
13284 r=`${PWD_COMMAND}`; export r; \
13285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13288 for flag in $(EXTRA_HOST_FLAGS) ; do \
13289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13291 echo "Doing info in libcpp" ; \
13292 (cd $(HOST_SUBDIR)/libcpp && \
13293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13295 "RANLIB=$${RANLIB}" \
13296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13302 .PHONY: maybe-dvi-libcpp dvi-libcpp
13305 maybe-dvi-libcpp: dvi-libcpp
13309 @[ -f ./libcpp/Makefile ] || exit 0; \
13310 r=`${PWD_COMMAND}`; export r; \
13311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13314 for flag in $(EXTRA_HOST_FLAGS) ; do \
13315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13317 echo "Doing dvi in libcpp" ; \
13318 (cd $(HOST_SUBDIR)/libcpp && \
13319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13321 "RANLIB=$${RANLIB}" \
13322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13328 .PHONY: maybe-html-libcpp html-libcpp
13331 maybe-html-libcpp: html-libcpp
13335 @[ -f ./libcpp/Makefile ] || exit 0; \
13336 r=`${PWD_COMMAND}`; export r; \
13337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13340 for flag in $(EXTRA_HOST_FLAGS) ; do \
13341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13343 echo "Doing html in libcpp" ; \
13344 (cd $(HOST_SUBDIR)/libcpp && \
13345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13347 "RANLIB=$${RANLIB}" \
13348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13354 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
13357 maybe-TAGS-libcpp: TAGS-libcpp
13361 @[ -f ./libcpp/Makefile ] || exit 0; \
13362 r=`${PWD_COMMAND}`; export r; \
13363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13366 for flag in $(EXTRA_HOST_FLAGS) ; do \
13367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13369 echo "Doing TAGS in libcpp" ; \
13370 (cd $(HOST_SUBDIR)/libcpp && \
13371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13373 "RANLIB=$${RANLIB}" \
13374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13380 .PHONY: maybe-install-info-libcpp install-info-libcpp
13381 maybe-install-info-libcpp:
13383 maybe-install-info-libcpp: install-info-libcpp
13385 install-info-libcpp: \
13388 @[ -f ./libcpp/Makefile ] || exit 0; \
13389 r=`${PWD_COMMAND}`; export r; \
13390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13393 for flag in $(EXTRA_HOST_FLAGS) ; do \
13394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13396 echo "Doing install-info in libcpp" ; \
13397 (cd $(HOST_SUBDIR)/libcpp && \
13398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13400 "RANLIB=$${RANLIB}" \
13401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13407 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
13408 maybe-installcheck-libcpp:
13410 maybe-installcheck-libcpp: installcheck-libcpp
13412 installcheck-libcpp: \
13414 @[ -f ./libcpp/Makefile ] || exit 0; \
13415 r=`${PWD_COMMAND}`; export r; \
13416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13419 for flag in $(EXTRA_HOST_FLAGS) ; do \
13420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13422 echo "Doing installcheck in libcpp" ; \
13423 (cd $(HOST_SUBDIR)/libcpp && \
13424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13426 "RANLIB=$${RANLIB}" \
13427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13433 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
13434 maybe-mostlyclean-libcpp:
13436 maybe-mostlyclean-libcpp: mostlyclean-libcpp
13438 mostlyclean-libcpp:
13439 @[ -f ./libcpp/Makefile ] || exit 0; \
13440 r=`${PWD_COMMAND}`; export r; \
13441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13444 for flag in $(EXTRA_HOST_FLAGS) ; do \
13445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13447 echo "Doing mostlyclean in libcpp" ; \
13448 (cd $(HOST_SUBDIR)/libcpp && \
13449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13451 "RANLIB=$${RANLIB}" \
13452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13458 .PHONY: maybe-clean-libcpp clean-libcpp
13459 maybe-clean-libcpp:
13461 maybe-clean-libcpp: clean-libcpp
13464 @[ -f ./libcpp/Makefile ] || exit 0; \
13465 r=`${PWD_COMMAND}`; export r; \
13466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13469 for flag in $(EXTRA_HOST_FLAGS) ; do \
13470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13472 echo "Doing clean in libcpp" ; \
13473 (cd $(HOST_SUBDIR)/libcpp && \
13474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13476 "RANLIB=$${RANLIB}" \
13477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13483 .PHONY: maybe-distclean-libcpp distclean-libcpp
13484 maybe-distclean-libcpp:
13486 maybe-distclean-libcpp: distclean-libcpp
13489 @[ -f ./libcpp/Makefile ] || exit 0; \
13490 r=`${PWD_COMMAND}`; export r; \
13491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13494 for flag in $(EXTRA_HOST_FLAGS) ; do \
13495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13497 echo "Doing distclean in libcpp" ; \
13498 (cd $(HOST_SUBDIR)/libcpp && \
13499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13501 "RANLIB=$${RANLIB}" \
13502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13508 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
13509 maybe-maintainer-clean-libcpp:
13511 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
13513 maintainer-clean-libcpp:
13514 @[ -f ./libcpp/Makefile ] || exit 0; \
13515 r=`${PWD_COMMAND}`; export r; \
13516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13519 for flag in $(EXTRA_HOST_FLAGS) ; do \
13520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13522 echo "Doing maintainer-clean in libcpp" ; \
13523 (cd $(HOST_SUBDIR)/libcpp && \
13524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13526 "RANLIB=$${RANLIB}" \
13527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13528 maintainer-clean) \
13534 .PHONY: configure-libgui maybe-configure-libgui
13535 maybe-configure-libgui:
13537 maybe-configure-libgui: configure-libgui
13539 @test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
13540 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
13541 r=`${PWD_COMMAND}`; export r; \
13542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13544 echo Configuring in libgui; \
13545 cd $(HOST_SUBDIR)/libgui || exit 1; \
13546 case $(srcdir) in \
13547 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13548 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
13549 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13551 srcdiroption="--srcdir=$${topdir}/libgui"; \
13552 libsrcdir="$$s/libgui"; \
13553 $(SHELL) $${libsrcdir}/configure \
13554 $(HOST_CONFIGARGS) $${srcdiroption} \
13558 .PHONY: all-libgui maybe-all-libgui
13562 maybe-all-libgui: all-libgui
13563 all-libgui: configure-libgui
13564 @r=`${PWD_COMMAND}`; export r; \
13565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13568 (cd $(HOST_SUBDIR)/libgui && \
13569 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
13572 .PHONY: check-libgui maybe-check-libgui
13573 maybe-check-libgui:
13575 maybe-check-libgui: check-libgui
13578 @r=`${PWD_COMMAND}`; export r; \
13579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13582 (cd $(HOST_SUBDIR)/libgui && \
13583 $(MAKE) $(FLAGS_TO_PASS) check)
13587 .PHONY: install-libgui maybe-install-libgui
13588 maybe-install-libgui:
13590 maybe-install-libgui: install-libgui
13592 install-libgui: installdirs
13593 @r=`${PWD_COMMAND}`; export r; \
13594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13597 (cd $(HOST_SUBDIR)/libgui && \
13598 $(MAKE) $(FLAGS_TO_PASS) install)
13602 # Other targets (info, dvi, etc.)
13604 .PHONY: maybe-info-libgui info-libgui
13607 maybe-info-libgui: info-libgui
13611 @[ -f ./libgui/Makefile ] || exit 0; \
13612 r=`${PWD_COMMAND}`; export r; \
13613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13616 for flag in $(EXTRA_HOST_FLAGS) ; do \
13617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13619 echo "Doing info in libgui" ; \
13620 (cd $(HOST_SUBDIR)/libgui && \
13621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13623 "RANLIB=$${RANLIB}" \
13624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13630 .PHONY: maybe-dvi-libgui dvi-libgui
13633 maybe-dvi-libgui: dvi-libgui
13637 @[ -f ./libgui/Makefile ] || exit 0; \
13638 r=`${PWD_COMMAND}`; export r; \
13639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13642 for flag in $(EXTRA_HOST_FLAGS) ; do \
13643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13645 echo "Doing dvi in libgui" ; \
13646 (cd $(HOST_SUBDIR)/libgui && \
13647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13649 "RANLIB=$${RANLIB}" \
13650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13656 .PHONY: maybe-html-libgui html-libgui
13659 maybe-html-libgui: html-libgui
13663 @[ -f ./libgui/Makefile ] || exit 0; \
13664 r=`${PWD_COMMAND}`; export r; \
13665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13668 for flag in $(EXTRA_HOST_FLAGS) ; do \
13669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13671 echo "Doing html in libgui" ; \
13672 (cd $(HOST_SUBDIR)/libgui && \
13673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13675 "RANLIB=$${RANLIB}" \
13676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13682 .PHONY: maybe-TAGS-libgui TAGS-libgui
13685 maybe-TAGS-libgui: TAGS-libgui
13689 @[ -f ./libgui/Makefile ] || exit 0; \
13690 r=`${PWD_COMMAND}`; export r; \
13691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13694 for flag in $(EXTRA_HOST_FLAGS) ; do \
13695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13697 echo "Doing TAGS in libgui" ; \
13698 (cd $(HOST_SUBDIR)/libgui && \
13699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13701 "RANLIB=$${RANLIB}" \
13702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13708 .PHONY: maybe-install-info-libgui install-info-libgui
13709 maybe-install-info-libgui:
13711 maybe-install-info-libgui: install-info-libgui
13713 install-info-libgui: \
13716 @[ -f ./libgui/Makefile ] || exit 0; \
13717 r=`${PWD_COMMAND}`; export r; \
13718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13721 for flag in $(EXTRA_HOST_FLAGS) ; do \
13722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13724 echo "Doing install-info in libgui" ; \
13725 (cd $(HOST_SUBDIR)/libgui && \
13726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13728 "RANLIB=$${RANLIB}" \
13729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13735 .PHONY: maybe-installcheck-libgui installcheck-libgui
13736 maybe-installcheck-libgui:
13738 maybe-installcheck-libgui: installcheck-libgui
13740 installcheck-libgui: \
13742 @[ -f ./libgui/Makefile ] || exit 0; \
13743 r=`${PWD_COMMAND}`; export r; \
13744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13747 for flag in $(EXTRA_HOST_FLAGS) ; do \
13748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13750 echo "Doing installcheck in libgui" ; \
13751 (cd $(HOST_SUBDIR)/libgui && \
13752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13754 "RANLIB=$${RANLIB}" \
13755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13761 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
13762 maybe-mostlyclean-libgui:
13764 maybe-mostlyclean-libgui: mostlyclean-libgui
13766 mostlyclean-libgui:
13767 @[ -f ./libgui/Makefile ] || exit 0; \
13768 r=`${PWD_COMMAND}`; export r; \
13769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13772 for flag in $(EXTRA_HOST_FLAGS) ; do \
13773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13775 echo "Doing mostlyclean in libgui" ; \
13776 (cd $(HOST_SUBDIR)/libgui && \
13777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13779 "RANLIB=$${RANLIB}" \
13780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13786 .PHONY: maybe-clean-libgui clean-libgui
13787 maybe-clean-libgui:
13789 maybe-clean-libgui: clean-libgui
13792 @[ -f ./libgui/Makefile ] || exit 0; \
13793 r=`${PWD_COMMAND}`; export r; \
13794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13797 for flag in $(EXTRA_HOST_FLAGS) ; do \
13798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13800 echo "Doing clean in libgui" ; \
13801 (cd $(HOST_SUBDIR)/libgui && \
13802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13804 "RANLIB=$${RANLIB}" \
13805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13811 .PHONY: maybe-distclean-libgui distclean-libgui
13812 maybe-distclean-libgui:
13814 maybe-distclean-libgui: distclean-libgui
13817 @[ -f ./libgui/Makefile ] || exit 0; \
13818 r=`${PWD_COMMAND}`; export r; \
13819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13822 for flag in $(EXTRA_HOST_FLAGS) ; do \
13823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13825 echo "Doing distclean in libgui" ; \
13826 (cd $(HOST_SUBDIR)/libgui && \
13827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13829 "RANLIB=$${RANLIB}" \
13830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13836 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
13837 maybe-maintainer-clean-libgui:
13839 maybe-maintainer-clean-libgui: maintainer-clean-libgui
13841 maintainer-clean-libgui:
13842 @[ -f ./libgui/Makefile ] || exit 0; \
13843 r=`${PWD_COMMAND}`; export r; \
13844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13847 for flag in $(EXTRA_HOST_FLAGS) ; do \
13848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13850 echo "Doing maintainer-clean in libgui" ; \
13851 (cd $(HOST_SUBDIR)/libgui && \
13852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13854 "RANLIB=$${RANLIB}" \
13855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13856 maintainer-clean) \
13862 .PHONY: configure-libiberty maybe-configure-libiberty
13863 maybe-configure-libiberty:
13865 maybe-configure-libiberty: configure-libiberty
13866 configure-libiberty:
13867 @test -f stage_last && exit 0; \
13868 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
13869 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
13870 r=`${PWD_COMMAND}`; export r; \
13871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13873 echo Configuring in libiberty; \
13874 cd $(HOST_SUBDIR)/libiberty || exit 1; \
13875 case $(srcdir) in \
13876 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13877 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
13878 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13880 srcdiroption="--srcdir=$${topdir}/libiberty"; \
13881 libsrcdir="$$s/libiberty"; \
13882 $(SHELL) $${libsrcdir}/configure \
13883 $(HOST_CONFIGARGS) $${srcdiroption} \
13887 .PHONY: all-libiberty maybe-all-libiberty
13888 maybe-all-libiberty:
13890 TARGET-libiberty=all
13891 maybe-all-libiberty: all-libiberty
13892 all-libiberty: configure-libiberty
13893 @test -f stage_last && exit 0; \
13894 r=`${PWD_COMMAND}`; export r; \
13895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13898 (cd $(HOST_SUBDIR)/libiberty && \
13899 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
13902 .PHONY: check-libiberty maybe-check-libiberty
13903 maybe-check-libiberty:
13905 maybe-check-libiberty: check-libiberty
13908 @r=`${PWD_COMMAND}`; export r; \
13909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13912 (cd $(HOST_SUBDIR)/libiberty && \
13913 $(MAKE) $(FLAGS_TO_PASS) check)
13917 .PHONY: install-libiberty maybe-install-libiberty
13918 maybe-install-libiberty:
13920 maybe-install-libiberty: install-libiberty
13922 install-libiberty: installdirs
13923 @r=`${PWD_COMMAND}`; export r; \
13924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13927 (cd $(HOST_SUBDIR)/libiberty && \
13928 $(MAKE) $(FLAGS_TO_PASS) install)
13932 # Other targets (info, dvi, etc.)
13934 .PHONY: maybe-info-libiberty info-libiberty
13935 maybe-info-libiberty:
13937 maybe-info-libiberty: info-libiberty
13940 configure-libiberty
13941 @[ -f ./libiberty/Makefile ] || exit 0; \
13942 r=`${PWD_COMMAND}`; export r; \
13943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13946 for flag in $(EXTRA_HOST_FLAGS) ; do \
13947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13949 echo "Doing info in libiberty" ; \
13950 (cd $(HOST_SUBDIR)/libiberty && \
13951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13953 "RANLIB=$${RANLIB}" \
13954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13960 .PHONY: maybe-dvi-libiberty dvi-libiberty
13961 maybe-dvi-libiberty:
13963 maybe-dvi-libiberty: dvi-libiberty
13966 configure-libiberty
13967 @[ -f ./libiberty/Makefile ] || exit 0; \
13968 r=`${PWD_COMMAND}`; export r; \
13969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13972 for flag in $(EXTRA_HOST_FLAGS) ; do \
13973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13975 echo "Doing dvi in libiberty" ; \
13976 (cd $(HOST_SUBDIR)/libiberty && \
13977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13979 "RANLIB=$${RANLIB}" \
13980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13986 .PHONY: maybe-html-libiberty html-libiberty
13987 maybe-html-libiberty:
13989 maybe-html-libiberty: html-libiberty
13992 configure-libiberty
13993 @[ -f ./libiberty/Makefile ] || exit 0; \
13994 r=`${PWD_COMMAND}`; export r; \
13995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13998 for flag in $(EXTRA_HOST_FLAGS) ; do \
13999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14001 echo "Doing html in libiberty" ; \
14002 (cd $(HOST_SUBDIR)/libiberty && \
14003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14005 "RANLIB=$${RANLIB}" \
14006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14012 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
14013 maybe-TAGS-libiberty:
14015 maybe-TAGS-libiberty: TAGS-libiberty
14018 configure-libiberty
14019 @[ -f ./libiberty/Makefile ] || exit 0; \
14020 r=`${PWD_COMMAND}`; export r; \
14021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14024 for flag in $(EXTRA_HOST_FLAGS) ; do \
14025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14027 echo "Doing TAGS in libiberty" ; \
14028 (cd $(HOST_SUBDIR)/libiberty && \
14029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14031 "RANLIB=$${RANLIB}" \
14032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14038 .PHONY: maybe-install-info-libiberty install-info-libiberty
14039 maybe-install-info-libiberty:
14041 maybe-install-info-libiberty: install-info-libiberty
14043 install-info-libiberty: \
14044 configure-libiberty \
14046 @[ -f ./libiberty/Makefile ] || exit 0; \
14047 r=`${PWD_COMMAND}`; export r; \
14048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14051 for flag in $(EXTRA_HOST_FLAGS) ; do \
14052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14054 echo "Doing install-info in libiberty" ; \
14055 (cd $(HOST_SUBDIR)/libiberty && \
14056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14058 "RANLIB=$${RANLIB}" \
14059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14065 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
14066 maybe-installcheck-libiberty:
14068 maybe-installcheck-libiberty: installcheck-libiberty
14070 installcheck-libiberty: \
14071 configure-libiberty
14072 @[ -f ./libiberty/Makefile ] || exit 0; \
14073 r=`${PWD_COMMAND}`; export r; \
14074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14077 for flag in $(EXTRA_HOST_FLAGS) ; do \
14078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14080 echo "Doing installcheck in libiberty" ; \
14081 (cd $(HOST_SUBDIR)/libiberty && \
14082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14084 "RANLIB=$${RANLIB}" \
14085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14091 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
14092 maybe-mostlyclean-libiberty:
14094 maybe-mostlyclean-libiberty: mostlyclean-libiberty
14096 mostlyclean-libiberty:
14097 @[ -f ./libiberty/Makefile ] || exit 0; \
14098 r=`${PWD_COMMAND}`; export r; \
14099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14102 for flag in $(EXTRA_HOST_FLAGS) ; do \
14103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14105 echo "Doing mostlyclean in libiberty" ; \
14106 (cd $(HOST_SUBDIR)/libiberty && \
14107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14109 "RANLIB=$${RANLIB}" \
14110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14116 .PHONY: maybe-clean-libiberty clean-libiberty
14117 maybe-clean-libiberty:
14119 maybe-clean-libiberty: clean-libiberty
14122 @[ -f ./libiberty/Makefile ] || exit 0; \
14123 r=`${PWD_COMMAND}`; export r; \
14124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14127 for flag in $(EXTRA_HOST_FLAGS) ; do \
14128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14130 echo "Doing clean in libiberty" ; \
14131 (cd $(HOST_SUBDIR)/libiberty && \
14132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14134 "RANLIB=$${RANLIB}" \
14135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14141 .PHONY: maybe-distclean-libiberty distclean-libiberty
14142 maybe-distclean-libiberty:
14144 maybe-distclean-libiberty: distclean-libiberty
14146 distclean-libiberty:
14147 @[ -f ./libiberty/Makefile ] || exit 0; \
14148 r=`${PWD_COMMAND}`; export r; \
14149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14152 for flag in $(EXTRA_HOST_FLAGS) ; do \
14153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14155 echo "Doing distclean in libiberty" ; \
14156 (cd $(HOST_SUBDIR)/libiberty && \
14157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14159 "RANLIB=$${RANLIB}" \
14160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14166 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
14167 maybe-maintainer-clean-libiberty:
14169 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
14171 maintainer-clean-libiberty:
14172 @[ -f ./libiberty/Makefile ] || exit 0; \
14173 r=`${PWD_COMMAND}`; export r; \
14174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14177 for flag in $(EXTRA_HOST_FLAGS) ; do \
14178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14180 echo "Doing maintainer-clean in libiberty" ; \
14181 (cd $(HOST_SUBDIR)/libiberty && \
14182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14184 "RANLIB=$${RANLIB}" \
14185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14186 maintainer-clean) \
14192 .PHONY: configure-libtool maybe-configure-libtool
14193 maybe-configure-libtool:
14195 maybe-configure-libtool: configure-libtool
14197 @test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
14198 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
14199 r=`${PWD_COMMAND}`; export r; \
14200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14202 echo Configuring in libtool; \
14203 cd $(HOST_SUBDIR)/libtool || exit 1; \
14204 case $(srcdir) in \
14205 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14206 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
14207 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14209 srcdiroption="--srcdir=$${topdir}/libtool"; \
14210 libsrcdir="$$s/libtool"; \
14211 $(SHELL) $${libsrcdir}/configure \
14212 $(HOST_CONFIGARGS) $${srcdiroption} \
14216 .PHONY: all-libtool maybe-all-libtool
14220 maybe-all-libtool: all-libtool
14221 all-libtool: configure-libtool
14222 @r=`${PWD_COMMAND}`; export r; \
14223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14226 (cd $(HOST_SUBDIR)/libtool && \
14227 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
14230 .PHONY: check-libtool maybe-check-libtool
14231 maybe-check-libtool:
14233 maybe-check-libtool: check-libtool
14236 @r=`${PWD_COMMAND}`; export r; \
14237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14240 (cd $(HOST_SUBDIR)/libtool && \
14241 $(MAKE) $(FLAGS_TO_PASS) check)
14245 .PHONY: install-libtool maybe-install-libtool
14246 maybe-install-libtool:
14248 maybe-install-libtool: install-libtool
14250 install-libtool: installdirs
14251 @r=`${PWD_COMMAND}`; export r; \
14252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14255 (cd $(HOST_SUBDIR)/libtool && \
14256 $(MAKE) $(FLAGS_TO_PASS) install)
14260 # Other targets (info, dvi, etc.)
14262 .PHONY: maybe-info-libtool info-libtool
14263 maybe-info-libtool:
14265 maybe-info-libtool: info-libtool
14269 @[ -f ./libtool/Makefile ] || exit 0; \
14270 r=`${PWD_COMMAND}`; export r; \
14271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14274 for flag in $(EXTRA_HOST_FLAGS) ; do \
14275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14277 echo "Doing info in libtool" ; \
14278 (cd $(HOST_SUBDIR)/libtool && \
14279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14281 "RANLIB=$${RANLIB}" \
14282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14288 .PHONY: maybe-dvi-libtool dvi-libtool
14291 maybe-dvi-libtool: dvi-libtool
14295 @[ -f ./libtool/Makefile ] || exit 0; \
14296 r=`${PWD_COMMAND}`; export r; \
14297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14300 for flag in $(EXTRA_HOST_FLAGS) ; do \
14301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14303 echo "Doing dvi in libtool" ; \
14304 (cd $(HOST_SUBDIR)/libtool && \
14305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14307 "RANLIB=$${RANLIB}" \
14308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14314 .PHONY: maybe-html-libtool html-libtool
14315 maybe-html-libtool:
14317 maybe-html-libtool: html-libtool
14321 @[ -f ./libtool/Makefile ] || exit 0; \
14322 r=`${PWD_COMMAND}`; export r; \
14323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14326 for flag in $(EXTRA_HOST_FLAGS) ; do \
14327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14329 echo "Doing html in libtool" ; \
14330 (cd $(HOST_SUBDIR)/libtool && \
14331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14333 "RANLIB=$${RANLIB}" \
14334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14340 .PHONY: maybe-TAGS-libtool TAGS-libtool
14341 maybe-TAGS-libtool:
14343 maybe-TAGS-libtool: TAGS-libtool
14347 @[ -f ./libtool/Makefile ] || exit 0; \
14348 r=`${PWD_COMMAND}`; export r; \
14349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14352 for flag in $(EXTRA_HOST_FLAGS) ; do \
14353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14355 echo "Doing TAGS in libtool" ; \
14356 (cd $(HOST_SUBDIR)/libtool && \
14357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14359 "RANLIB=$${RANLIB}" \
14360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14366 .PHONY: maybe-install-info-libtool install-info-libtool
14367 maybe-install-info-libtool:
14369 maybe-install-info-libtool: install-info-libtool
14371 install-info-libtool: \
14372 configure-libtool \
14374 @[ -f ./libtool/Makefile ] || exit 0; \
14375 r=`${PWD_COMMAND}`; export r; \
14376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14379 for flag in $(EXTRA_HOST_FLAGS) ; do \
14380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14382 echo "Doing install-info in libtool" ; \
14383 (cd $(HOST_SUBDIR)/libtool && \
14384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14386 "RANLIB=$${RANLIB}" \
14387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14393 .PHONY: maybe-installcheck-libtool installcheck-libtool
14394 maybe-installcheck-libtool:
14396 maybe-installcheck-libtool: installcheck-libtool
14398 installcheck-libtool: \
14400 @[ -f ./libtool/Makefile ] || exit 0; \
14401 r=`${PWD_COMMAND}`; export r; \
14402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14405 for flag in $(EXTRA_HOST_FLAGS) ; do \
14406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14408 echo "Doing installcheck in libtool" ; \
14409 (cd $(HOST_SUBDIR)/libtool && \
14410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14412 "RANLIB=$${RANLIB}" \
14413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14419 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
14420 maybe-mostlyclean-libtool:
14422 maybe-mostlyclean-libtool: mostlyclean-libtool
14424 mostlyclean-libtool:
14425 @[ -f ./libtool/Makefile ] || exit 0; \
14426 r=`${PWD_COMMAND}`; export r; \
14427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14430 for flag in $(EXTRA_HOST_FLAGS) ; do \
14431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14433 echo "Doing mostlyclean in libtool" ; \
14434 (cd $(HOST_SUBDIR)/libtool && \
14435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14437 "RANLIB=$${RANLIB}" \
14438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14444 .PHONY: maybe-clean-libtool clean-libtool
14445 maybe-clean-libtool:
14447 maybe-clean-libtool: clean-libtool
14450 @[ -f ./libtool/Makefile ] || exit 0; \
14451 r=`${PWD_COMMAND}`; export r; \
14452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14455 for flag in $(EXTRA_HOST_FLAGS) ; do \
14456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14458 echo "Doing clean in libtool" ; \
14459 (cd $(HOST_SUBDIR)/libtool && \
14460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14462 "RANLIB=$${RANLIB}" \
14463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14469 .PHONY: maybe-distclean-libtool distclean-libtool
14470 maybe-distclean-libtool:
14472 maybe-distclean-libtool: distclean-libtool
14475 @[ -f ./libtool/Makefile ] || exit 0; \
14476 r=`${PWD_COMMAND}`; export r; \
14477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14480 for flag in $(EXTRA_HOST_FLAGS) ; do \
14481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14483 echo "Doing distclean in libtool" ; \
14484 (cd $(HOST_SUBDIR)/libtool && \
14485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14487 "RANLIB=$${RANLIB}" \
14488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14494 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
14495 maybe-maintainer-clean-libtool:
14497 maybe-maintainer-clean-libtool: maintainer-clean-libtool
14499 maintainer-clean-libtool:
14500 @[ -f ./libtool/Makefile ] || exit 0; \
14501 r=`${PWD_COMMAND}`; export r; \
14502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14505 for flag in $(EXTRA_HOST_FLAGS) ; do \
14506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14508 echo "Doing maintainer-clean in libtool" ; \
14509 (cd $(HOST_SUBDIR)/libtool && \
14510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14512 "RANLIB=$${RANLIB}" \
14513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14514 maintainer-clean) \
14520 .PHONY: configure-m4 maybe-configure-m4
14521 maybe-configure-m4:
14523 maybe-configure-m4: configure-m4
14525 @test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
14526 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
14527 r=`${PWD_COMMAND}`; export r; \
14528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14530 echo Configuring in m4; \
14531 cd $(HOST_SUBDIR)/m4 || exit 1; \
14532 case $(srcdir) in \
14533 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14534 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
14535 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14537 srcdiroption="--srcdir=$${topdir}/m4"; \
14538 libsrcdir="$$s/m4"; \
14539 $(SHELL) $${libsrcdir}/configure \
14540 $(HOST_CONFIGARGS) $${srcdiroption} \
14544 .PHONY: all-m4 maybe-all-m4
14548 maybe-all-m4: all-m4
14549 all-m4: configure-m4
14550 @r=`${PWD_COMMAND}`; export r; \
14551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14554 (cd $(HOST_SUBDIR)/m4 && \
14555 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
14558 .PHONY: check-m4 maybe-check-m4
14561 maybe-check-m4: check-m4
14564 @r=`${PWD_COMMAND}`; export r; \
14565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14568 (cd $(HOST_SUBDIR)/m4 && \
14569 $(MAKE) $(FLAGS_TO_PASS) check)
14573 .PHONY: install-m4 maybe-install-m4
14576 maybe-install-m4: install-m4
14578 install-m4: installdirs
14579 @r=`${PWD_COMMAND}`; export r; \
14580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14583 (cd $(HOST_SUBDIR)/m4 && \
14584 $(MAKE) $(FLAGS_TO_PASS) install)
14588 # Other targets (info, dvi, etc.)
14590 .PHONY: maybe-info-m4 info-m4
14593 maybe-info-m4: info-m4
14597 @[ -f ./m4/Makefile ] || exit 0; \
14598 r=`${PWD_COMMAND}`; export r; \
14599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14602 for flag in $(EXTRA_HOST_FLAGS) ; do \
14603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14605 echo "Doing info in m4" ; \
14606 (cd $(HOST_SUBDIR)/m4 && \
14607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14609 "RANLIB=$${RANLIB}" \
14610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14616 .PHONY: maybe-dvi-m4 dvi-m4
14619 maybe-dvi-m4: dvi-m4
14623 @[ -f ./m4/Makefile ] || exit 0; \
14624 r=`${PWD_COMMAND}`; export r; \
14625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14628 for flag in $(EXTRA_HOST_FLAGS) ; do \
14629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14631 echo "Doing dvi in m4" ; \
14632 (cd $(HOST_SUBDIR)/m4 && \
14633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14635 "RANLIB=$${RANLIB}" \
14636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14642 .PHONY: maybe-html-m4 html-m4
14645 maybe-html-m4: html-m4
14649 @[ -f ./m4/Makefile ] || exit 0; \
14650 r=`${PWD_COMMAND}`; export r; \
14651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14654 for flag in $(EXTRA_HOST_FLAGS) ; do \
14655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14657 echo "Doing html in m4" ; \
14658 (cd $(HOST_SUBDIR)/m4 && \
14659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14661 "RANLIB=$${RANLIB}" \
14662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14668 .PHONY: maybe-TAGS-m4 TAGS-m4
14671 maybe-TAGS-m4: TAGS-m4
14675 @[ -f ./m4/Makefile ] || exit 0; \
14676 r=`${PWD_COMMAND}`; export r; \
14677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14680 for flag in $(EXTRA_HOST_FLAGS) ; do \
14681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14683 echo "Doing TAGS in m4" ; \
14684 (cd $(HOST_SUBDIR)/m4 && \
14685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14687 "RANLIB=$${RANLIB}" \
14688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14694 .PHONY: maybe-install-info-m4 install-info-m4
14695 maybe-install-info-m4:
14697 maybe-install-info-m4: install-info-m4
14702 @[ -f ./m4/Makefile ] || exit 0; \
14703 r=`${PWD_COMMAND}`; export r; \
14704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14707 for flag in $(EXTRA_HOST_FLAGS) ; do \
14708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14710 echo "Doing install-info in m4" ; \
14711 (cd $(HOST_SUBDIR)/m4 && \
14712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14714 "RANLIB=$${RANLIB}" \
14715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14721 .PHONY: maybe-installcheck-m4 installcheck-m4
14722 maybe-installcheck-m4:
14724 maybe-installcheck-m4: installcheck-m4
14728 @[ -f ./m4/Makefile ] || exit 0; \
14729 r=`${PWD_COMMAND}`; export r; \
14730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14733 for flag in $(EXTRA_HOST_FLAGS) ; do \
14734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14736 echo "Doing installcheck in m4" ; \
14737 (cd $(HOST_SUBDIR)/m4 && \
14738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14740 "RANLIB=$${RANLIB}" \
14741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14747 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
14748 maybe-mostlyclean-m4:
14750 maybe-mostlyclean-m4: mostlyclean-m4
14753 @[ -f ./m4/Makefile ] || exit 0; \
14754 r=`${PWD_COMMAND}`; export r; \
14755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14758 for flag in $(EXTRA_HOST_FLAGS) ; do \
14759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14761 echo "Doing mostlyclean in m4" ; \
14762 (cd $(HOST_SUBDIR)/m4 && \
14763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14765 "RANLIB=$${RANLIB}" \
14766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14772 .PHONY: maybe-clean-m4 clean-m4
14775 maybe-clean-m4: clean-m4
14778 @[ -f ./m4/Makefile ] || exit 0; \
14779 r=`${PWD_COMMAND}`; export r; \
14780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14783 for flag in $(EXTRA_HOST_FLAGS) ; do \
14784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14786 echo "Doing clean in m4" ; \
14787 (cd $(HOST_SUBDIR)/m4 && \
14788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14790 "RANLIB=$${RANLIB}" \
14791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14797 .PHONY: maybe-distclean-m4 distclean-m4
14798 maybe-distclean-m4:
14800 maybe-distclean-m4: distclean-m4
14803 @[ -f ./m4/Makefile ] || exit 0; \
14804 r=`${PWD_COMMAND}`; export r; \
14805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14808 for flag in $(EXTRA_HOST_FLAGS) ; do \
14809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14811 echo "Doing distclean in m4" ; \
14812 (cd $(HOST_SUBDIR)/m4 && \
14813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14815 "RANLIB=$${RANLIB}" \
14816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14822 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
14823 maybe-maintainer-clean-m4:
14825 maybe-maintainer-clean-m4: maintainer-clean-m4
14827 maintainer-clean-m4:
14828 @[ -f ./m4/Makefile ] || exit 0; \
14829 r=`${PWD_COMMAND}`; export r; \
14830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14833 for flag in $(EXTRA_HOST_FLAGS) ; do \
14834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14836 echo "Doing maintainer-clean in m4" ; \
14837 (cd $(HOST_SUBDIR)/m4 && \
14838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14840 "RANLIB=$${RANLIB}" \
14841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14842 maintainer-clean) \
14848 .PHONY: configure-make maybe-configure-make
14849 maybe-configure-make:
14851 maybe-configure-make: configure-make
14853 @test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
14854 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
14855 r=`${PWD_COMMAND}`; export r; \
14856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14858 echo Configuring in make; \
14859 cd $(HOST_SUBDIR)/make || exit 1; \
14860 case $(srcdir) in \
14861 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14862 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
14863 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14865 srcdiroption="--srcdir=$${topdir}/make"; \
14866 libsrcdir="$$s/make"; \
14867 $(SHELL) $${libsrcdir}/configure \
14868 $(HOST_CONFIGARGS) $${srcdiroption} \
14872 .PHONY: all-make maybe-all-make
14876 maybe-all-make: all-make
14877 all-make: configure-make
14878 @r=`${PWD_COMMAND}`; export r; \
14879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14882 (cd $(HOST_SUBDIR)/make && \
14883 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
14886 .PHONY: check-make maybe-check-make
14889 maybe-check-make: check-make
14892 @r=`${PWD_COMMAND}`; export r; \
14893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14896 (cd $(HOST_SUBDIR)/make && \
14897 $(MAKE) $(FLAGS_TO_PASS) check)
14901 .PHONY: install-make maybe-install-make
14902 maybe-install-make:
14904 maybe-install-make: install-make
14906 install-make: installdirs
14907 @r=`${PWD_COMMAND}`; export r; \
14908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14911 (cd $(HOST_SUBDIR)/make && \
14912 $(MAKE) $(FLAGS_TO_PASS) install)
14916 # Other targets (info, dvi, etc.)
14918 .PHONY: maybe-info-make info-make
14921 maybe-info-make: info-make
14925 @[ -f ./make/Makefile ] || exit 0; \
14926 r=`${PWD_COMMAND}`; export r; \
14927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14930 for flag in $(EXTRA_HOST_FLAGS) ; do \
14931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14933 echo "Doing info in make" ; \
14934 (cd $(HOST_SUBDIR)/make && \
14935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14937 "RANLIB=$${RANLIB}" \
14938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14944 .PHONY: maybe-dvi-make dvi-make
14947 maybe-dvi-make: dvi-make
14951 @[ -f ./make/Makefile ] || exit 0; \
14952 r=`${PWD_COMMAND}`; export r; \
14953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14956 for flag in $(EXTRA_HOST_FLAGS) ; do \
14957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14959 echo "Doing dvi in make" ; \
14960 (cd $(HOST_SUBDIR)/make && \
14961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14963 "RANLIB=$${RANLIB}" \
14964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14970 .PHONY: maybe-html-make html-make
14973 maybe-html-make: html-make
14977 @[ -f ./make/Makefile ] || exit 0; \
14978 r=`${PWD_COMMAND}`; export r; \
14979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14982 for flag in $(EXTRA_HOST_FLAGS) ; do \
14983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14985 echo "Doing html in make" ; \
14986 (cd $(HOST_SUBDIR)/make && \
14987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14989 "RANLIB=$${RANLIB}" \
14990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14996 .PHONY: maybe-TAGS-make TAGS-make
14999 maybe-TAGS-make: TAGS-make
15003 @[ -f ./make/Makefile ] || exit 0; \
15004 r=`${PWD_COMMAND}`; export r; \
15005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15008 for flag in $(EXTRA_HOST_FLAGS) ; do \
15009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15011 echo "Doing TAGS in make" ; \
15012 (cd $(HOST_SUBDIR)/make && \
15013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15015 "RANLIB=$${RANLIB}" \
15016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15022 .PHONY: maybe-install-info-make install-info-make
15023 maybe-install-info-make:
15025 maybe-install-info-make: install-info-make
15027 install-info-make: \
15030 @[ -f ./make/Makefile ] || exit 0; \
15031 r=`${PWD_COMMAND}`; export r; \
15032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15035 for flag in $(EXTRA_HOST_FLAGS) ; do \
15036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15038 echo "Doing install-info in make" ; \
15039 (cd $(HOST_SUBDIR)/make && \
15040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15042 "RANLIB=$${RANLIB}" \
15043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15049 .PHONY: maybe-installcheck-make installcheck-make
15050 maybe-installcheck-make:
15052 maybe-installcheck-make: installcheck-make
15054 installcheck-make: \
15056 @[ -f ./make/Makefile ] || exit 0; \
15057 r=`${PWD_COMMAND}`; export r; \
15058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15061 for flag in $(EXTRA_HOST_FLAGS) ; do \
15062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15064 echo "Doing installcheck in make" ; \
15065 (cd $(HOST_SUBDIR)/make && \
15066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15068 "RANLIB=$${RANLIB}" \
15069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15075 .PHONY: maybe-mostlyclean-make mostlyclean-make
15076 maybe-mostlyclean-make:
15078 maybe-mostlyclean-make: mostlyclean-make
15081 @[ -f ./make/Makefile ] || exit 0; \
15082 r=`${PWD_COMMAND}`; export r; \
15083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15086 for flag in $(EXTRA_HOST_FLAGS) ; do \
15087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15089 echo "Doing mostlyclean in make" ; \
15090 (cd $(HOST_SUBDIR)/make && \
15091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15093 "RANLIB=$${RANLIB}" \
15094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15100 .PHONY: maybe-clean-make clean-make
15103 maybe-clean-make: clean-make
15106 @[ -f ./make/Makefile ] || exit 0; \
15107 r=`${PWD_COMMAND}`; export r; \
15108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15111 for flag in $(EXTRA_HOST_FLAGS) ; do \
15112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15114 echo "Doing clean in make" ; \
15115 (cd $(HOST_SUBDIR)/make && \
15116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15118 "RANLIB=$${RANLIB}" \
15119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15125 .PHONY: maybe-distclean-make distclean-make
15126 maybe-distclean-make:
15128 maybe-distclean-make: distclean-make
15131 @[ -f ./make/Makefile ] || exit 0; \
15132 r=`${PWD_COMMAND}`; export r; \
15133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15136 for flag in $(EXTRA_HOST_FLAGS) ; do \
15137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15139 echo "Doing distclean in make" ; \
15140 (cd $(HOST_SUBDIR)/make && \
15141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15143 "RANLIB=$${RANLIB}" \
15144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15150 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
15151 maybe-maintainer-clean-make:
15153 maybe-maintainer-clean-make: maintainer-clean-make
15155 maintainer-clean-make:
15156 @[ -f ./make/Makefile ] || exit 0; \
15157 r=`${PWD_COMMAND}`; export r; \
15158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15161 for flag in $(EXTRA_HOST_FLAGS) ; do \
15162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15164 echo "Doing maintainer-clean in make" ; \
15165 (cd $(HOST_SUBDIR)/make && \
15166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15168 "RANLIB=$${RANLIB}" \
15169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15170 maintainer-clean) \
15176 .PHONY: configure-mmalloc maybe-configure-mmalloc
15177 maybe-configure-mmalloc:
15179 maybe-configure-mmalloc: configure-mmalloc
15181 @test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
15182 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
15183 r=`${PWD_COMMAND}`; export r; \
15184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15186 echo Configuring in mmalloc; \
15187 cd $(HOST_SUBDIR)/mmalloc || exit 1; \
15188 case $(srcdir) in \
15189 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15190 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
15191 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15193 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
15194 libsrcdir="$$s/mmalloc"; \
15195 $(SHELL) $${libsrcdir}/configure \
15196 $(HOST_CONFIGARGS) $${srcdiroption} \
15200 .PHONY: all-mmalloc maybe-all-mmalloc
15204 maybe-all-mmalloc: all-mmalloc
15205 all-mmalloc: configure-mmalloc
15206 @r=`${PWD_COMMAND}`; export r; \
15207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15210 (cd $(HOST_SUBDIR)/mmalloc && \
15211 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
15214 .PHONY: check-mmalloc maybe-check-mmalloc
15215 maybe-check-mmalloc:
15217 maybe-check-mmalloc: check-mmalloc
15223 .PHONY: install-mmalloc maybe-install-mmalloc
15224 maybe-install-mmalloc:
15226 maybe-install-mmalloc: install-mmalloc
15228 install-mmalloc: installdirs
15229 @r=`${PWD_COMMAND}`; export r; \
15230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15233 (cd $(HOST_SUBDIR)/mmalloc && \
15234 $(MAKE) $(FLAGS_TO_PASS) install)
15238 # Other targets (info, dvi, etc.)
15240 .PHONY: maybe-info-mmalloc info-mmalloc
15241 maybe-info-mmalloc:
15243 maybe-info-mmalloc: info-mmalloc
15247 @[ -f ./mmalloc/Makefile ] || exit 0; \
15248 r=`${PWD_COMMAND}`; export r; \
15249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15252 for flag in $(EXTRA_HOST_FLAGS) ; do \
15253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15255 echo "Doing info in mmalloc" ; \
15256 (cd $(HOST_SUBDIR)/mmalloc && \
15257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15259 "RANLIB=$${RANLIB}" \
15260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15266 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
15269 maybe-dvi-mmalloc: dvi-mmalloc
15273 @[ -f ./mmalloc/Makefile ] || exit 0; \
15274 r=`${PWD_COMMAND}`; export r; \
15275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15278 for flag in $(EXTRA_HOST_FLAGS) ; do \
15279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15281 echo "Doing dvi in mmalloc" ; \
15282 (cd $(HOST_SUBDIR)/mmalloc && \
15283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15285 "RANLIB=$${RANLIB}" \
15286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15292 .PHONY: maybe-html-mmalloc html-mmalloc
15293 maybe-html-mmalloc:
15295 maybe-html-mmalloc: html-mmalloc
15299 @[ -f ./mmalloc/Makefile ] || exit 0; \
15300 r=`${PWD_COMMAND}`; export r; \
15301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15304 for flag in $(EXTRA_HOST_FLAGS) ; do \
15305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15307 echo "Doing html in mmalloc" ; \
15308 (cd $(HOST_SUBDIR)/mmalloc && \
15309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15311 "RANLIB=$${RANLIB}" \
15312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15318 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
15319 maybe-TAGS-mmalloc:
15321 maybe-TAGS-mmalloc: TAGS-mmalloc
15325 @[ -f ./mmalloc/Makefile ] || exit 0; \
15326 r=`${PWD_COMMAND}`; export r; \
15327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15330 for flag in $(EXTRA_HOST_FLAGS) ; do \
15331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15333 echo "Doing TAGS in mmalloc" ; \
15334 (cd $(HOST_SUBDIR)/mmalloc && \
15335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15337 "RANLIB=$${RANLIB}" \
15338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15344 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
15345 maybe-install-info-mmalloc:
15347 maybe-install-info-mmalloc: install-info-mmalloc
15349 install-info-mmalloc: \
15350 configure-mmalloc \
15352 @[ -f ./mmalloc/Makefile ] || exit 0; \
15353 r=`${PWD_COMMAND}`; export r; \
15354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15357 for flag in $(EXTRA_HOST_FLAGS) ; do \
15358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15360 echo "Doing install-info in mmalloc" ; \
15361 (cd $(HOST_SUBDIR)/mmalloc && \
15362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15364 "RANLIB=$${RANLIB}" \
15365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15371 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
15372 maybe-installcheck-mmalloc:
15374 maybe-installcheck-mmalloc: installcheck-mmalloc
15376 installcheck-mmalloc: \
15378 @[ -f ./mmalloc/Makefile ] || exit 0; \
15379 r=`${PWD_COMMAND}`; export r; \
15380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15383 for flag in $(EXTRA_HOST_FLAGS) ; do \
15384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15386 echo "Doing installcheck in mmalloc" ; \
15387 (cd $(HOST_SUBDIR)/mmalloc && \
15388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15390 "RANLIB=$${RANLIB}" \
15391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15397 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
15398 maybe-mostlyclean-mmalloc:
15400 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
15402 mostlyclean-mmalloc:
15403 @[ -f ./mmalloc/Makefile ] || exit 0; \
15404 r=`${PWD_COMMAND}`; export r; \
15405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15408 for flag in $(EXTRA_HOST_FLAGS) ; do \
15409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15411 echo "Doing mostlyclean in mmalloc" ; \
15412 (cd $(HOST_SUBDIR)/mmalloc && \
15413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15415 "RANLIB=$${RANLIB}" \
15416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15422 .PHONY: maybe-clean-mmalloc clean-mmalloc
15423 maybe-clean-mmalloc:
15425 maybe-clean-mmalloc: clean-mmalloc
15428 @[ -f ./mmalloc/Makefile ] || exit 0; \
15429 r=`${PWD_COMMAND}`; export r; \
15430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15433 for flag in $(EXTRA_HOST_FLAGS) ; do \
15434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15436 echo "Doing clean in mmalloc" ; \
15437 (cd $(HOST_SUBDIR)/mmalloc && \
15438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15440 "RANLIB=$${RANLIB}" \
15441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15447 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
15448 maybe-distclean-mmalloc:
15450 maybe-distclean-mmalloc: distclean-mmalloc
15453 @[ -f ./mmalloc/Makefile ] || exit 0; \
15454 r=`${PWD_COMMAND}`; export r; \
15455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15458 for flag in $(EXTRA_HOST_FLAGS) ; do \
15459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15461 echo "Doing distclean in mmalloc" ; \
15462 (cd $(HOST_SUBDIR)/mmalloc && \
15463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15465 "RANLIB=$${RANLIB}" \
15466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15472 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
15473 maybe-maintainer-clean-mmalloc:
15475 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
15477 maintainer-clean-mmalloc:
15478 @[ -f ./mmalloc/Makefile ] || exit 0; \
15479 r=`${PWD_COMMAND}`; export r; \
15480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15483 for flag in $(EXTRA_HOST_FLAGS) ; do \
15484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15486 echo "Doing maintainer-clean in mmalloc" ; \
15487 (cd $(HOST_SUBDIR)/mmalloc && \
15488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15490 "RANLIB=$${RANLIB}" \
15491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15492 maintainer-clean) \
15498 .PHONY: configure-patch maybe-configure-patch
15499 maybe-configure-patch:
15501 maybe-configure-patch: configure-patch
15503 @test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
15504 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
15505 r=`${PWD_COMMAND}`; export r; \
15506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15508 echo Configuring in patch; \
15509 cd $(HOST_SUBDIR)/patch || exit 1; \
15510 case $(srcdir) in \
15511 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15512 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
15513 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15515 srcdiroption="--srcdir=$${topdir}/patch"; \
15516 libsrcdir="$$s/patch"; \
15517 $(SHELL) $${libsrcdir}/configure \
15518 $(HOST_CONFIGARGS) $${srcdiroption} \
15522 .PHONY: all-patch maybe-all-patch
15526 maybe-all-patch: all-patch
15527 all-patch: configure-patch
15528 @r=`${PWD_COMMAND}`; export r; \
15529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15532 (cd $(HOST_SUBDIR)/patch && \
15533 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
15536 .PHONY: check-patch maybe-check-patch
15539 maybe-check-patch: check-patch
15542 @r=`${PWD_COMMAND}`; export r; \
15543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15546 (cd $(HOST_SUBDIR)/patch && \
15547 $(MAKE) $(FLAGS_TO_PASS) check)
15551 .PHONY: install-patch maybe-install-patch
15552 maybe-install-patch:
15554 maybe-install-patch: install-patch
15556 install-patch: installdirs
15557 @r=`${PWD_COMMAND}`; export r; \
15558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15561 (cd $(HOST_SUBDIR)/patch && \
15562 $(MAKE) $(FLAGS_TO_PASS) install)
15566 # Other targets (info, dvi, etc.)
15568 .PHONY: maybe-info-patch info-patch
15571 maybe-info-patch: info-patch
15575 @[ -f ./patch/Makefile ] || exit 0; \
15576 r=`${PWD_COMMAND}`; export r; \
15577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15580 for flag in $(EXTRA_HOST_FLAGS) ; do \
15581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15583 echo "Doing info in patch" ; \
15584 (cd $(HOST_SUBDIR)/patch && \
15585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15587 "RANLIB=$${RANLIB}" \
15588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15594 .PHONY: maybe-dvi-patch dvi-patch
15597 maybe-dvi-patch: dvi-patch
15601 @[ -f ./patch/Makefile ] || exit 0; \
15602 r=`${PWD_COMMAND}`; export r; \
15603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15606 for flag in $(EXTRA_HOST_FLAGS) ; do \
15607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15609 echo "Doing dvi in patch" ; \
15610 (cd $(HOST_SUBDIR)/patch && \
15611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15613 "RANLIB=$${RANLIB}" \
15614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15620 .PHONY: maybe-html-patch html-patch
15623 maybe-html-patch: html-patch
15627 @[ -f ./patch/Makefile ] || exit 0; \
15628 r=`${PWD_COMMAND}`; export r; \
15629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15632 for flag in $(EXTRA_HOST_FLAGS) ; do \
15633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15635 echo "Doing html in patch" ; \
15636 (cd $(HOST_SUBDIR)/patch && \
15637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15639 "RANLIB=$${RANLIB}" \
15640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15646 .PHONY: maybe-TAGS-patch TAGS-patch
15649 maybe-TAGS-patch: TAGS-patch
15653 @[ -f ./patch/Makefile ] || exit 0; \
15654 r=`${PWD_COMMAND}`; export r; \
15655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15658 for flag in $(EXTRA_HOST_FLAGS) ; do \
15659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15661 echo "Doing TAGS in patch" ; \
15662 (cd $(HOST_SUBDIR)/patch && \
15663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15665 "RANLIB=$${RANLIB}" \
15666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15672 .PHONY: maybe-install-info-patch install-info-patch
15673 maybe-install-info-patch:
15675 maybe-install-info-patch: install-info-patch
15677 install-info-patch: \
15680 @[ -f ./patch/Makefile ] || exit 0; \
15681 r=`${PWD_COMMAND}`; export r; \
15682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15685 for flag in $(EXTRA_HOST_FLAGS) ; do \
15686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15688 echo "Doing install-info in patch" ; \
15689 (cd $(HOST_SUBDIR)/patch && \
15690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15692 "RANLIB=$${RANLIB}" \
15693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15699 .PHONY: maybe-installcheck-patch installcheck-patch
15700 maybe-installcheck-patch:
15702 maybe-installcheck-patch: installcheck-patch
15704 installcheck-patch: \
15706 @[ -f ./patch/Makefile ] || exit 0; \
15707 r=`${PWD_COMMAND}`; export r; \
15708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15711 for flag in $(EXTRA_HOST_FLAGS) ; do \
15712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15714 echo "Doing installcheck in patch" ; \
15715 (cd $(HOST_SUBDIR)/patch && \
15716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15718 "RANLIB=$${RANLIB}" \
15719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15725 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
15726 maybe-mostlyclean-patch:
15728 maybe-mostlyclean-patch: mostlyclean-patch
15731 @[ -f ./patch/Makefile ] || exit 0; \
15732 r=`${PWD_COMMAND}`; export r; \
15733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15736 for flag in $(EXTRA_HOST_FLAGS) ; do \
15737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15739 echo "Doing mostlyclean in patch" ; \
15740 (cd $(HOST_SUBDIR)/patch && \
15741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15743 "RANLIB=$${RANLIB}" \
15744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15750 .PHONY: maybe-clean-patch clean-patch
15753 maybe-clean-patch: clean-patch
15756 @[ -f ./patch/Makefile ] || exit 0; \
15757 r=`${PWD_COMMAND}`; export r; \
15758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15761 for flag in $(EXTRA_HOST_FLAGS) ; do \
15762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15764 echo "Doing clean in patch" ; \
15765 (cd $(HOST_SUBDIR)/patch && \
15766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15768 "RANLIB=$${RANLIB}" \
15769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15775 .PHONY: maybe-distclean-patch distclean-patch
15776 maybe-distclean-patch:
15778 maybe-distclean-patch: distclean-patch
15781 @[ -f ./patch/Makefile ] || exit 0; \
15782 r=`${PWD_COMMAND}`; export r; \
15783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15786 for flag in $(EXTRA_HOST_FLAGS) ; do \
15787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15789 echo "Doing distclean in patch" ; \
15790 (cd $(HOST_SUBDIR)/patch && \
15791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15793 "RANLIB=$${RANLIB}" \
15794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15800 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
15801 maybe-maintainer-clean-patch:
15803 maybe-maintainer-clean-patch: maintainer-clean-patch
15805 maintainer-clean-patch:
15806 @[ -f ./patch/Makefile ] || exit 0; \
15807 r=`${PWD_COMMAND}`; export r; \
15808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15811 for flag in $(EXTRA_HOST_FLAGS) ; do \
15812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15814 echo "Doing maintainer-clean in patch" ; \
15815 (cd $(HOST_SUBDIR)/patch && \
15816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15818 "RANLIB=$${RANLIB}" \
15819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15820 maintainer-clean) \
15826 .PHONY: configure-perl maybe-configure-perl
15827 maybe-configure-perl:
15829 maybe-configure-perl: configure-perl
15831 @test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
15832 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
15833 r=`${PWD_COMMAND}`; export r; \
15834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15836 echo Configuring in perl; \
15837 cd $(HOST_SUBDIR)/perl || exit 1; \
15838 case $(srcdir) in \
15839 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15840 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
15841 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15843 srcdiroption="--srcdir=$${topdir}/perl"; \
15844 libsrcdir="$$s/perl"; \
15845 $(SHELL) $${libsrcdir}/configure \
15846 $(HOST_CONFIGARGS) $${srcdiroption} \
15850 .PHONY: all-perl maybe-all-perl
15854 maybe-all-perl: all-perl
15855 all-perl: configure-perl
15856 @r=`${PWD_COMMAND}`; export r; \
15857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15860 (cd $(HOST_SUBDIR)/perl && \
15861 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
15864 .PHONY: check-perl maybe-check-perl
15867 maybe-check-perl: check-perl
15870 @r=`${PWD_COMMAND}`; export r; \
15871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15874 (cd $(HOST_SUBDIR)/perl && \
15875 $(MAKE) $(FLAGS_TO_PASS) check)
15879 .PHONY: install-perl maybe-install-perl
15880 maybe-install-perl:
15882 maybe-install-perl: install-perl
15884 install-perl: installdirs
15885 @r=`${PWD_COMMAND}`; export r; \
15886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15889 (cd $(HOST_SUBDIR)/perl && \
15890 $(MAKE) $(FLAGS_TO_PASS) install)
15894 # Other targets (info, dvi, etc.)
15896 .PHONY: maybe-info-perl info-perl
15899 maybe-info-perl: info-perl
15903 @[ -f ./perl/Makefile ] || exit 0; \
15904 r=`${PWD_COMMAND}`; export r; \
15905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15908 for flag in $(EXTRA_HOST_FLAGS) ; do \
15909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15911 echo "Doing info in perl" ; \
15912 (cd $(HOST_SUBDIR)/perl && \
15913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15915 "RANLIB=$${RANLIB}" \
15916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15922 .PHONY: maybe-dvi-perl dvi-perl
15925 maybe-dvi-perl: dvi-perl
15929 @[ -f ./perl/Makefile ] || exit 0; \
15930 r=`${PWD_COMMAND}`; export r; \
15931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15934 for flag in $(EXTRA_HOST_FLAGS) ; do \
15935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15937 echo "Doing dvi in perl" ; \
15938 (cd $(HOST_SUBDIR)/perl && \
15939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15941 "RANLIB=$${RANLIB}" \
15942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15948 .PHONY: maybe-html-perl html-perl
15951 maybe-html-perl: html-perl
15955 @[ -f ./perl/Makefile ] || exit 0; \
15956 r=`${PWD_COMMAND}`; export r; \
15957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15960 for flag in $(EXTRA_HOST_FLAGS) ; do \
15961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15963 echo "Doing html in perl" ; \
15964 (cd $(HOST_SUBDIR)/perl && \
15965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15967 "RANLIB=$${RANLIB}" \
15968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15974 .PHONY: maybe-TAGS-perl TAGS-perl
15977 maybe-TAGS-perl: TAGS-perl
15981 @[ -f ./perl/Makefile ] || exit 0; \
15982 r=`${PWD_COMMAND}`; export r; \
15983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15986 for flag in $(EXTRA_HOST_FLAGS) ; do \
15987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15989 echo "Doing TAGS in perl" ; \
15990 (cd $(HOST_SUBDIR)/perl && \
15991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15993 "RANLIB=$${RANLIB}" \
15994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16000 .PHONY: maybe-install-info-perl install-info-perl
16001 maybe-install-info-perl:
16003 maybe-install-info-perl: install-info-perl
16005 install-info-perl: \
16008 @[ -f ./perl/Makefile ] || exit 0; \
16009 r=`${PWD_COMMAND}`; export r; \
16010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16013 for flag in $(EXTRA_HOST_FLAGS) ; do \
16014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16016 echo "Doing install-info in perl" ; \
16017 (cd $(HOST_SUBDIR)/perl && \
16018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16020 "RANLIB=$${RANLIB}" \
16021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16027 .PHONY: maybe-installcheck-perl installcheck-perl
16028 maybe-installcheck-perl:
16030 maybe-installcheck-perl: installcheck-perl
16032 installcheck-perl: \
16034 @[ -f ./perl/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 installcheck in perl" ; \
16043 (cd $(HOST_SUBDIR)/perl && \
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-mostlyclean-perl mostlyclean-perl
16054 maybe-mostlyclean-perl:
16056 maybe-mostlyclean-perl: mostlyclean-perl
16059 @[ -f ./perl/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 mostlyclean in perl" ; \
16068 (cd $(HOST_SUBDIR)/perl && \
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}" \
16078 .PHONY: maybe-clean-perl clean-perl
16081 maybe-clean-perl: clean-perl
16084 @[ -f ./perl/Makefile ] || exit 0; \
16085 r=`${PWD_COMMAND}`; export r; \
16086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16089 for flag in $(EXTRA_HOST_FLAGS) ; do \
16090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16092 echo "Doing clean in perl" ; \
16093 (cd $(HOST_SUBDIR)/perl && \
16094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16096 "RANLIB=$${RANLIB}" \
16097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16103 .PHONY: maybe-distclean-perl distclean-perl
16104 maybe-distclean-perl:
16106 maybe-distclean-perl: distclean-perl
16109 @[ -f ./perl/Makefile ] || exit 0; \
16110 r=`${PWD_COMMAND}`; export r; \
16111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16114 for flag in $(EXTRA_HOST_FLAGS) ; do \
16115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16117 echo "Doing distclean in perl" ; \
16118 (cd $(HOST_SUBDIR)/perl && \
16119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16121 "RANLIB=$${RANLIB}" \
16122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16128 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
16129 maybe-maintainer-clean-perl:
16131 maybe-maintainer-clean-perl: maintainer-clean-perl
16133 maintainer-clean-perl:
16134 @[ -f ./perl/Makefile ] || exit 0; \
16135 r=`${PWD_COMMAND}`; export r; \
16136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16139 for flag in $(EXTRA_HOST_FLAGS) ; do \
16140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16142 echo "Doing maintainer-clean in perl" ; \
16143 (cd $(HOST_SUBDIR)/perl && \
16144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16146 "RANLIB=$${RANLIB}" \
16147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16148 maintainer-clean) \
16154 .PHONY: configure-prms maybe-configure-prms
16155 maybe-configure-prms:
16157 maybe-configure-prms: configure-prms
16159 @test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
16160 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
16161 r=`${PWD_COMMAND}`; export r; \
16162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16164 echo Configuring in prms; \
16165 cd $(HOST_SUBDIR)/prms || exit 1; \
16166 case $(srcdir) in \
16167 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16168 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
16169 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16171 srcdiroption="--srcdir=$${topdir}/prms"; \
16172 libsrcdir="$$s/prms"; \
16173 $(SHELL) $${libsrcdir}/configure \
16174 $(HOST_CONFIGARGS) $${srcdiroption} \
16178 .PHONY: all-prms maybe-all-prms
16182 maybe-all-prms: all-prms
16183 all-prms: configure-prms
16184 @r=`${PWD_COMMAND}`; export r; \
16185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16188 (cd $(HOST_SUBDIR)/prms && \
16189 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
16192 .PHONY: check-prms maybe-check-prms
16195 maybe-check-prms: check-prms
16198 @r=`${PWD_COMMAND}`; export r; \
16199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16202 (cd $(HOST_SUBDIR)/prms && \
16203 $(MAKE) $(FLAGS_TO_PASS) check)
16207 .PHONY: install-prms maybe-install-prms
16208 maybe-install-prms:
16210 maybe-install-prms: install-prms
16212 install-prms: installdirs
16213 @r=`${PWD_COMMAND}`; export r; \
16214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16217 (cd $(HOST_SUBDIR)/prms && \
16218 $(MAKE) $(FLAGS_TO_PASS) install)
16222 # Other targets (info, dvi, etc.)
16224 .PHONY: maybe-info-prms info-prms
16227 maybe-info-prms: info-prms
16231 @[ -f ./prms/Makefile ] || exit 0; \
16232 r=`${PWD_COMMAND}`; export r; \
16233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16236 for flag in $(EXTRA_HOST_FLAGS) ; do \
16237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16239 echo "Doing info in prms" ; \
16240 (cd $(HOST_SUBDIR)/prms && \
16241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16243 "RANLIB=$${RANLIB}" \
16244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16250 .PHONY: maybe-dvi-prms dvi-prms
16253 maybe-dvi-prms: dvi-prms
16257 @[ -f ./prms/Makefile ] || exit 0; \
16258 r=`${PWD_COMMAND}`; export r; \
16259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16262 for flag in $(EXTRA_HOST_FLAGS) ; do \
16263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16265 echo "Doing dvi in prms" ; \
16266 (cd $(HOST_SUBDIR)/prms && \
16267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16269 "RANLIB=$${RANLIB}" \
16270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16276 .PHONY: maybe-html-prms html-prms
16279 maybe-html-prms: html-prms
16283 @[ -f ./prms/Makefile ] || exit 0; \
16284 r=`${PWD_COMMAND}`; export r; \
16285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16288 for flag in $(EXTRA_HOST_FLAGS) ; do \
16289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16291 echo "Doing html in prms" ; \
16292 (cd $(HOST_SUBDIR)/prms && \
16293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16295 "RANLIB=$${RANLIB}" \
16296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16302 .PHONY: maybe-TAGS-prms TAGS-prms
16305 maybe-TAGS-prms: TAGS-prms
16309 @[ -f ./prms/Makefile ] || exit 0; \
16310 r=`${PWD_COMMAND}`; export r; \
16311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16314 for flag in $(EXTRA_HOST_FLAGS) ; do \
16315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16317 echo "Doing TAGS in prms" ; \
16318 (cd $(HOST_SUBDIR)/prms && \
16319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16321 "RANLIB=$${RANLIB}" \
16322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16328 .PHONY: maybe-install-info-prms install-info-prms
16329 maybe-install-info-prms:
16331 maybe-install-info-prms: install-info-prms
16333 install-info-prms: \
16336 @[ -f ./prms/Makefile ] || exit 0; \
16337 r=`${PWD_COMMAND}`; export r; \
16338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16341 for flag in $(EXTRA_HOST_FLAGS) ; do \
16342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16344 echo "Doing install-info in prms" ; \
16345 (cd $(HOST_SUBDIR)/prms && \
16346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16348 "RANLIB=$${RANLIB}" \
16349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16355 .PHONY: maybe-installcheck-prms installcheck-prms
16356 maybe-installcheck-prms:
16358 maybe-installcheck-prms: installcheck-prms
16360 installcheck-prms: \
16362 @[ -f ./prms/Makefile ] || exit 0; \
16363 r=`${PWD_COMMAND}`; export r; \
16364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16367 for flag in $(EXTRA_HOST_FLAGS) ; do \
16368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16370 echo "Doing installcheck in prms" ; \
16371 (cd $(HOST_SUBDIR)/prms && \
16372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16374 "RANLIB=$${RANLIB}" \
16375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16381 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
16382 maybe-mostlyclean-prms:
16384 maybe-mostlyclean-prms: mostlyclean-prms
16387 @[ -f ./prms/Makefile ] || exit 0; \
16388 r=`${PWD_COMMAND}`; export r; \
16389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16392 for flag in $(EXTRA_HOST_FLAGS) ; do \
16393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16395 echo "Doing mostlyclean in prms" ; \
16396 (cd $(HOST_SUBDIR)/prms && \
16397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16399 "RANLIB=$${RANLIB}" \
16400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16406 .PHONY: maybe-clean-prms clean-prms
16409 maybe-clean-prms: clean-prms
16412 @[ -f ./prms/Makefile ] || exit 0; \
16413 r=`${PWD_COMMAND}`; export r; \
16414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16417 for flag in $(EXTRA_HOST_FLAGS) ; do \
16418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16420 echo "Doing clean in prms" ; \
16421 (cd $(HOST_SUBDIR)/prms && \
16422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16424 "RANLIB=$${RANLIB}" \
16425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16431 .PHONY: maybe-distclean-prms distclean-prms
16432 maybe-distclean-prms:
16434 maybe-distclean-prms: distclean-prms
16437 @[ -f ./prms/Makefile ] || exit 0; \
16438 r=`${PWD_COMMAND}`; export r; \
16439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16442 for flag in $(EXTRA_HOST_FLAGS) ; do \
16443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16445 echo "Doing distclean in prms" ; \
16446 (cd $(HOST_SUBDIR)/prms && \
16447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16449 "RANLIB=$${RANLIB}" \
16450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16456 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
16457 maybe-maintainer-clean-prms:
16459 maybe-maintainer-clean-prms: maintainer-clean-prms
16461 maintainer-clean-prms:
16462 @[ -f ./prms/Makefile ] || exit 0; \
16463 r=`${PWD_COMMAND}`; export r; \
16464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16467 for flag in $(EXTRA_HOST_FLAGS) ; do \
16468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16470 echo "Doing maintainer-clean in prms" ; \
16471 (cd $(HOST_SUBDIR)/prms && \
16472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16474 "RANLIB=$${RANLIB}" \
16475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16476 maintainer-clean) \
16482 .PHONY: configure-rcs maybe-configure-rcs
16483 maybe-configure-rcs:
16485 maybe-configure-rcs: configure-rcs
16487 @test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
16488 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
16489 r=`${PWD_COMMAND}`; export r; \
16490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16492 echo Configuring in rcs; \
16493 cd $(HOST_SUBDIR)/rcs || exit 1; \
16494 case $(srcdir) in \
16495 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16496 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
16497 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16499 srcdiroption="--srcdir=$${topdir}/rcs"; \
16500 libsrcdir="$$s/rcs"; \
16501 $(SHELL) $${libsrcdir}/configure \
16502 $(HOST_CONFIGARGS) $${srcdiroption} \
16506 .PHONY: all-rcs maybe-all-rcs
16510 maybe-all-rcs: all-rcs
16511 all-rcs: configure-rcs
16512 @r=`${PWD_COMMAND}`; export r; \
16513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16516 (cd $(HOST_SUBDIR)/rcs && \
16517 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
16520 .PHONY: check-rcs maybe-check-rcs
16523 maybe-check-rcs: check-rcs
16526 @r=`${PWD_COMMAND}`; export r; \
16527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16530 (cd $(HOST_SUBDIR)/rcs && \
16531 $(MAKE) $(FLAGS_TO_PASS) check)
16535 .PHONY: install-rcs maybe-install-rcs
16538 maybe-install-rcs: install-rcs
16540 install-rcs: installdirs
16541 @r=`${PWD_COMMAND}`; export r; \
16542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16545 (cd $(HOST_SUBDIR)/rcs && \
16546 $(MAKE) $(FLAGS_TO_PASS) install)
16550 # Other targets (info, dvi, etc.)
16552 .PHONY: maybe-info-rcs info-rcs
16555 maybe-info-rcs: info-rcs
16559 @[ -f ./rcs/Makefile ] || exit 0; \
16560 r=`${PWD_COMMAND}`; export r; \
16561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16564 for flag in $(EXTRA_HOST_FLAGS) ; do \
16565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16567 echo "Doing info in rcs" ; \
16568 (cd $(HOST_SUBDIR)/rcs && \
16569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16571 "RANLIB=$${RANLIB}" \
16572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16578 .PHONY: maybe-dvi-rcs dvi-rcs
16581 maybe-dvi-rcs: dvi-rcs
16585 @[ -f ./rcs/Makefile ] || exit 0; \
16586 r=`${PWD_COMMAND}`; export r; \
16587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16590 for flag in $(EXTRA_HOST_FLAGS) ; do \
16591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16593 echo "Doing dvi in rcs" ; \
16594 (cd $(HOST_SUBDIR)/rcs && \
16595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16597 "RANLIB=$${RANLIB}" \
16598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16604 .PHONY: maybe-html-rcs html-rcs
16607 maybe-html-rcs: html-rcs
16611 @[ -f ./rcs/Makefile ] || exit 0; \
16612 r=`${PWD_COMMAND}`; export r; \
16613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16616 for flag in $(EXTRA_HOST_FLAGS) ; do \
16617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16619 echo "Doing html in rcs" ; \
16620 (cd $(HOST_SUBDIR)/rcs && \
16621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16623 "RANLIB=$${RANLIB}" \
16624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16630 .PHONY: maybe-TAGS-rcs TAGS-rcs
16633 maybe-TAGS-rcs: TAGS-rcs
16637 @[ -f ./rcs/Makefile ] || exit 0; \
16638 r=`${PWD_COMMAND}`; export r; \
16639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16642 for flag in $(EXTRA_HOST_FLAGS) ; do \
16643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16645 echo "Doing TAGS in rcs" ; \
16646 (cd $(HOST_SUBDIR)/rcs && \
16647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16649 "RANLIB=$${RANLIB}" \
16650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16656 .PHONY: maybe-install-info-rcs install-info-rcs
16657 maybe-install-info-rcs:
16659 maybe-install-info-rcs: install-info-rcs
16661 install-info-rcs: \
16664 @[ -f ./rcs/Makefile ] || exit 0; \
16665 r=`${PWD_COMMAND}`; export r; \
16666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16669 for flag in $(EXTRA_HOST_FLAGS) ; do \
16670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16672 echo "Doing install-info in rcs" ; \
16673 (cd $(HOST_SUBDIR)/rcs && \
16674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16676 "RANLIB=$${RANLIB}" \
16677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16683 .PHONY: maybe-installcheck-rcs installcheck-rcs
16684 maybe-installcheck-rcs:
16686 maybe-installcheck-rcs: installcheck-rcs
16688 installcheck-rcs: \
16690 @[ -f ./rcs/Makefile ] || exit 0; \
16691 r=`${PWD_COMMAND}`; export r; \
16692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16695 for flag in $(EXTRA_HOST_FLAGS) ; do \
16696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16698 echo "Doing installcheck in rcs" ; \
16699 (cd $(HOST_SUBDIR)/rcs && \
16700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16702 "RANLIB=$${RANLIB}" \
16703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16709 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
16710 maybe-mostlyclean-rcs:
16712 maybe-mostlyclean-rcs: mostlyclean-rcs
16715 @[ -f ./rcs/Makefile ] || exit 0; \
16716 r=`${PWD_COMMAND}`; export r; \
16717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16720 for flag in $(EXTRA_HOST_FLAGS) ; do \
16721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16723 echo "Doing mostlyclean in rcs" ; \
16724 (cd $(HOST_SUBDIR)/rcs && \
16725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16727 "RANLIB=$${RANLIB}" \
16728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16734 .PHONY: maybe-clean-rcs clean-rcs
16737 maybe-clean-rcs: clean-rcs
16740 @[ -f ./rcs/Makefile ] || exit 0; \
16741 r=`${PWD_COMMAND}`; export r; \
16742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16745 for flag in $(EXTRA_HOST_FLAGS) ; do \
16746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16748 echo "Doing clean in rcs" ; \
16749 (cd $(HOST_SUBDIR)/rcs && \
16750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16752 "RANLIB=$${RANLIB}" \
16753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16759 .PHONY: maybe-distclean-rcs distclean-rcs
16760 maybe-distclean-rcs:
16762 maybe-distclean-rcs: distclean-rcs
16765 @[ -f ./rcs/Makefile ] || exit 0; \
16766 r=`${PWD_COMMAND}`; export r; \
16767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16770 for flag in $(EXTRA_HOST_FLAGS) ; do \
16771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16773 echo "Doing distclean in rcs" ; \
16774 (cd $(HOST_SUBDIR)/rcs && \
16775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16777 "RANLIB=$${RANLIB}" \
16778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16784 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
16785 maybe-maintainer-clean-rcs:
16787 maybe-maintainer-clean-rcs: maintainer-clean-rcs
16789 maintainer-clean-rcs:
16790 @[ -f ./rcs/Makefile ] || exit 0; \
16791 r=`${PWD_COMMAND}`; export r; \
16792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16795 for flag in $(EXTRA_HOST_FLAGS) ; do \
16796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16798 echo "Doing maintainer-clean in rcs" ; \
16799 (cd $(HOST_SUBDIR)/rcs && \
16800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16802 "RANLIB=$${RANLIB}" \
16803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16804 maintainer-clean) \
16810 .PHONY: configure-readline maybe-configure-readline
16811 maybe-configure-readline:
16813 maybe-configure-readline: configure-readline
16814 configure-readline:
16815 @test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
16816 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
16817 r=`${PWD_COMMAND}`; export r; \
16818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16820 echo Configuring in readline; \
16821 cd $(HOST_SUBDIR)/readline || exit 1; \
16822 case $(srcdir) in \
16823 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16824 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
16825 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16827 srcdiroption="--srcdir=$${topdir}/readline"; \
16828 libsrcdir="$$s/readline"; \
16829 $(SHELL) $${libsrcdir}/configure \
16830 $(HOST_CONFIGARGS) $${srcdiroption} \
16834 .PHONY: all-readline maybe-all-readline
16835 maybe-all-readline:
16837 TARGET-readline=all
16838 maybe-all-readline: all-readline
16839 all-readline: configure-readline
16840 @r=`${PWD_COMMAND}`; export r; \
16841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16844 (cd $(HOST_SUBDIR)/readline && \
16845 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
16848 .PHONY: check-readline maybe-check-readline
16849 maybe-check-readline:
16851 maybe-check-readline: check-readline
16854 @r=`${PWD_COMMAND}`; export r; \
16855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16858 (cd $(HOST_SUBDIR)/readline && \
16859 $(MAKE) $(FLAGS_TO_PASS) check)
16863 .PHONY: install-readline maybe-install-readline
16864 maybe-install-readline:
16866 maybe-install-readline: install-readline
16868 install-readline: installdirs
16869 @r=`${PWD_COMMAND}`; export r; \
16870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16873 (cd $(HOST_SUBDIR)/readline && \
16874 $(MAKE) $(FLAGS_TO_PASS) install)
16878 # Other targets (info, dvi, etc.)
16880 .PHONY: maybe-info-readline info-readline
16881 maybe-info-readline:
16883 maybe-info-readline: info-readline
16887 @[ -f ./readline/Makefile ] || exit 0; \
16888 r=`${PWD_COMMAND}`; export r; \
16889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16892 for flag in $(EXTRA_HOST_FLAGS) ; do \
16893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16895 echo "Doing info in readline" ; \
16896 (cd $(HOST_SUBDIR)/readline && \
16897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16899 "RANLIB=$${RANLIB}" \
16900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16906 .PHONY: maybe-dvi-readline dvi-readline
16907 maybe-dvi-readline:
16909 maybe-dvi-readline: dvi-readline
16913 @[ -f ./readline/Makefile ] || exit 0; \
16914 r=`${PWD_COMMAND}`; export r; \
16915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16918 for flag in $(EXTRA_HOST_FLAGS) ; do \
16919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16921 echo "Doing dvi in readline" ; \
16922 (cd $(HOST_SUBDIR)/readline && \
16923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16925 "RANLIB=$${RANLIB}" \
16926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16932 .PHONY: maybe-html-readline html-readline
16933 maybe-html-readline:
16935 maybe-html-readline: html-readline
16939 @[ -f ./readline/Makefile ] || exit 0; \
16940 r=`${PWD_COMMAND}`; export r; \
16941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16944 for flag in $(EXTRA_HOST_FLAGS) ; do \
16945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16947 echo "Doing html in readline" ; \
16948 (cd $(HOST_SUBDIR)/readline && \
16949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16951 "RANLIB=$${RANLIB}" \
16952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16958 .PHONY: maybe-TAGS-readline TAGS-readline
16959 maybe-TAGS-readline:
16961 maybe-TAGS-readline: TAGS-readline
16965 @[ -f ./readline/Makefile ] || exit 0; \
16966 r=`${PWD_COMMAND}`; export r; \
16967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16970 for flag in $(EXTRA_HOST_FLAGS) ; do \
16971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16973 echo "Doing TAGS in readline" ; \
16974 (cd $(HOST_SUBDIR)/readline && \
16975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16977 "RANLIB=$${RANLIB}" \
16978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16984 .PHONY: maybe-install-info-readline install-info-readline
16985 maybe-install-info-readline:
16987 maybe-install-info-readline: install-info-readline
16989 install-info-readline: \
16990 configure-readline \
16992 @[ -f ./readline/Makefile ] || exit 0; \
16993 r=`${PWD_COMMAND}`; export r; \
16994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16997 for flag in $(EXTRA_HOST_FLAGS) ; do \
16998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17000 echo "Doing install-info in readline" ; \
17001 (cd $(HOST_SUBDIR)/readline && \
17002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17004 "RANLIB=$${RANLIB}" \
17005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17011 .PHONY: maybe-installcheck-readline installcheck-readline
17012 maybe-installcheck-readline:
17014 maybe-installcheck-readline: installcheck-readline
17016 installcheck-readline: \
17018 @[ -f ./readline/Makefile ] || exit 0; \
17019 r=`${PWD_COMMAND}`; export r; \
17020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17023 for flag in $(EXTRA_HOST_FLAGS) ; do \
17024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17026 echo "Doing installcheck in readline" ; \
17027 (cd $(HOST_SUBDIR)/readline && \
17028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17030 "RANLIB=$${RANLIB}" \
17031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17037 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
17038 maybe-mostlyclean-readline:
17040 maybe-mostlyclean-readline: mostlyclean-readline
17042 mostlyclean-readline:
17043 @[ -f ./readline/Makefile ] || exit 0; \
17044 r=`${PWD_COMMAND}`; export r; \
17045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17048 for flag in $(EXTRA_HOST_FLAGS) ; do \
17049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17051 echo "Doing mostlyclean in readline" ; \
17052 (cd $(HOST_SUBDIR)/readline && \
17053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17055 "RANLIB=$${RANLIB}" \
17056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17062 .PHONY: maybe-clean-readline clean-readline
17063 maybe-clean-readline:
17065 maybe-clean-readline: clean-readline
17068 @[ -f ./readline/Makefile ] || exit 0; \
17069 r=`${PWD_COMMAND}`; export r; \
17070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17073 for flag in $(EXTRA_HOST_FLAGS) ; do \
17074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17076 echo "Doing clean in readline" ; \
17077 (cd $(HOST_SUBDIR)/readline && \
17078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17080 "RANLIB=$${RANLIB}" \
17081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17087 .PHONY: maybe-distclean-readline distclean-readline
17088 maybe-distclean-readline:
17090 maybe-distclean-readline: distclean-readline
17092 distclean-readline:
17093 @[ -f ./readline/Makefile ] || exit 0; \
17094 r=`${PWD_COMMAND}`; export r; \
17095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17098 for flag in $(EXTRA_HOST_FLAGS) ; do \
17099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17101 echo "Doing distclean in readline" ; \
17102 (cd $(HOST_SUBDIR)/readline && \
17103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17105 "RANLIB=$${RANLIB}" \
17106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17112 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
17113 maybe-maintainer-clean-readline:
17115 maybe-maintainer-clean-readline: maintainer-clean-readline
17117 maintainer-clean-readline:
17118 @[ -f ./readline/Makefile ] || exit 0; \
17119 r=`${PWD_COMMAND}`; export r; \
17120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17123 for flag in $(EXTRA_HOST_FLAGS) ; do \
17124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17126 echo "Doing maintainer-clean in readline" ; \
17127 (cd $(HOST_SUBDIR)/readline && \
17128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17130 "RANLIB=$${RANLIB}" \
17131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17132 maintainer-clean) \
17138 .PHONY: configure-release maybe-configure-release
17139 maybe-configure-release:
17141 maybe-configure-release: configure-release
17143 @test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
17144 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
17145 r=`${PWD_COMMAND}`; export r; \
17146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17148 echo Configuring in release; \
17149 cd $(HOST_SUBDIR)/release || exit 1; \
17150 case $(srcdir) in \
17151 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17152 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
17153 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17155 srcdiroption="--srcdir=$${topdir}/release"; \
17156 libsrcdir="$$s/release"; \
17157 $(SHELL) $${libsrcdir}/configure \
17158 $(HOST_CONFIGARGS) $${srcdiroption} \
17162 .PHONY: all-release maybe-all-release
17166 maybe-all-release: all-release
17167 all-release: configure-release
17168 @r=`${PWD_COMMAND}`; export r; \
17169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17172 (cd $(HOST_SUBDIR)/release && \
17173 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
17176 .PHONY: check-release maybe-check-release
17177 maybe-check-release:
17179 maybe-check-release: check-release
17185 .PHONY: install-release maybe-install-release
17186 maybe-install-release:
17188 maybe-install-release: install-release
17194 # Other targets (info, dvi, etc.)
17196 .PHONY: maybe-info-release info-release
17197 maybe-info-release:
17199 maybe-info-release: info-release
17203 @[ -f ./release/Makefile ] || exit 0; \
17204 r=`${PWD_COMMAND}`; export r; \
17205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17208 for flag in $(EXTRA_HOST_FLAGS) ; do \
17209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17211 echo "Doing info in release" ; \
17212 (cd $(HOST_SUBDIR)/release && \
17213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17215 "RANLIB=$${RANLIB}" \
17216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17222 .PHONY: maybe-dvi-release dvi-release
17225 maybe-dvi-release: dvi-release
17229 @[ -f ./release/Makefile ] || exit 0; \
17230 r=`${PWD_COMMAND}`; export r; \
17231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17234 for flag in $(EXTRA_HOST_FLAGS) ; do \
17235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17237 echo "Doing dvi in release" ; \
17238 (cd $(HOST_SUBDIR)/release && \
17239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17241 "RANLIB=$${RANLIB}" \
17242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17248 .PHONY: maybe-html-release html-release
17249 maybe-html-release:
17251 maybe-html-release: html-release
17255 @[ -f ./release/Makefile ] || exit 0; \
17256 r=`${PWD_COMMAND}`; export r; \
17257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17260 for flag in $(EXTRA_HOST_FLAGS) ; do \
17261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17263 echo "Doing html in release" ; \
17264 (cd $(HOST_SUBDIR)/release && \
17265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17267 "RANLIB=$${RANLIB}" \
17268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17274 .PHONY: maybe-TAGS-release TAGS-release
17275 maybe-TAGS-release:
17277 maybe-TAGS-release: TAGS-release
17281 @[ -f ./release/Makefile ] || exit 0; \
17282 r=`${PWD_COMMAND}`; export r; \
17283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17286 for flag in $(EXTRA_HOST_FLAGS) ; do \
17287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17289 echo "Doing TAGS in release" ; \
17290 (cd $(HOST_SUBDIR)/release && \
17291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17293 "RANLIB=$${RANLIB}" \
17294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17300 .PHONY: maybe-install-info-release install-info-release
17301 maybe-install-info-release:
17303 maybe-install-info-release: install-info-release
17305 install-info-release: \
17306 configure-release \
17308 @[ -f ./release/Makefile ] || exit 0; \
17309 r=`${PWD_COMMAND}`; export r; \
17310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17313 for flag in $(EXTRA_HOST_FLAGS) ; do \
17314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17316 echo "Doing install-info in release" ; \
17317 (cd $(HOST_SUBDIR)/release && \
17318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17320 "RANLIB=$${RANLIB}" \
17321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17327 .PHONY: maybe-installcheck-release installcheck-release
17328 maybe-installcheck-release:
17330 maybe-installcheck-release: installcheck-release
17332 installcheck-release: \
17334 @[ -f ./release/Makefile ] || exit 0; \
17335 r=`${PWD_COMMAND}`; export r; \
17336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17339 for flag in $(EXTRA_HOST_FLAGS) ; do \
17340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17342 echo "Doing installcheck in release" ; \
17343 (cd $(HOST_SUBDIR)/release && \
17344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17346 "RANLIB=$${RANLIB}" \
17347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17353 .PHONY: maybe-mostlyclean-release mostlyclean-release
17354 maybe-mostlyclean-release:
17356 maybe-mostlyclean-release: mostlyclean-release
17358 mostlyclean-release:
17359 @[ -f ./release/Makefile ] || exit 0; \
17360 r=`${PWD_COMMAND}`; export r; \
17361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17364 for flag in $(EXTRA_HOST_FLAGS) ; do \
17365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17367 echo "Doing mostlyclean in release" ; \
17368 (cd $(HOST_SUBDIR)/release && \
17369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17371 "RANLIB=$${RANLIB}" \
17372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17378 .PHONY: maybe-clean-release clean-release
17379 maybe-clean-release:
17381 maybe-clean-release: clean-release
17384 @[ -f ./release/Makefile ] || exit 0; \
17385 r=`${PWD_COMMAND}`; export r; \
17386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17389 for flag in $(EXTRA_HOST_FLAGS) ; do \
17390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17392 echo "Doing clean in release" ; \
17393 (cd $(HOST_SUBDIR)/release && \
17394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17396 "RANLIB=$${RANLIB}" \
17397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17403 .PHONY: maybe-distclean-release distclean-release
17404 maybe-distclean-release:
17406 maybe-distclean-release: distclean-release
17409 @[ -f ./release/Makefile ] || exit 0; \
17410 r=`${PWD_COMMAND}`; export r; \
17411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17414 for flag in $(EXTRA_HOST_FLAGS) ; do \
17415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17417 echo "Doing distclean in release" ; \
17418 (cd $(HOST_SUBDIR)/release && \
17419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17421 "RANLIB=$${RANLIB}" \
17422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17428 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
17429 maybe-maintainer-clean-release:
17431 maybe-maintainer-clean-release: maintainer-clean-release
17433 maintainer-clean-release:
17434 @[ -f ./release/Makefile ] || exit 0; \
17435 r=`${PWD_COMMAND}`; export r; \
17436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17439 for flag in $(EXTRA_HOST_FLAGS) ; do \
17440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17442 echo "Doing maintainer-clean in release" ; \
17443 (cd $(HOST_SUBDIR)/release && \
17444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17446 "RANLIB=$${RANLIB}" \
17447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17448 maintainer-clean) \
17454 .PHONY: configure-recode maybe-configure-recode
17455 maybe-configure-recode:
17457 maybe-configure-recode: configure-recode
17459 @test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
17460 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
17461 r=`${PWD_COMMAND}`; export r; \
17462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17464 echo Configuring in recode; \
17465 cd $(HOST_SUBDIR)/recode || exit 1; \
17466 case $(srcdir) in \
17467 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17468 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
17469 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17471 srcdiroption="--srcdir=$${topdir}/recode"; \
17472 libsrcdir="$$s/recode"; \
17473 $(SHELL) $${libsrcdir}/configure \
17474 $(HOST_CONFIGARGS) $${srcdiroption} \
17478 .PHONY: all-recode maybe-all-recode
17482 maybe-all-recode: all-recode
17483 all-recode: configure-recode
17484 @r=`${PWD_COMMAND}`; export r; \
17485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17488 (cd $(HOST_SUBDIR)/recode && \
17489 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
17492 .PHONY: check-recode maybe-check-recode
17493 maybe-check-recode:
17495 maybe-check-recode: check-recode
17498 @r=`${PWD_COMMAND}`; export r; \
17499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17502 (cd $(HOST_SUBDIR)/recode && \
17503 $(MAKE) $(FLAGS_TO_PASS) check)
17507 .PHONY: install-recode maybe-install-recode
17508 maybe-install-recode:
17510 maybe-install-recode: install-recode
17512 install-recode: installdirs
17513 @r=`${PWD_COMMAND}`; export r; \
17514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17517 (cd $(HOST_SUBDIR)/recode && \
17518 $(MAKE) $(FLAGS_TO_PASS) install)
17522 # Other targets (info, dvi, etc.)
17524 .PHONY: maybe-info-recode info-recode
17527 maybe-info-recode: info-recode
17531 @[ -f ./recode/Makefile ] || exit 0; \
17532 r=`${PWD_COMMAND}`; export r; \
17533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17536 for flag in $(EXTRA_HOST_FLAGS) ; do \
17537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17539 echo "Doing info in recode" ; \
17540 (cd $(HOST_SUBDIR)/recode && \
17541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17543 "RANLIB=$${RANLIB}" \
17544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17550 .PHONY: maybe-dvi-recode dvi-recode
17553 maybe-dvi-recode: dvi-recode
17557 @[ -f ./recode/Makefile ] || exit 0; \
17558 r=`${PWD_COMMAND}`; export r; \
17559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17562 for flag in $(EXTRA_HOST_FLAGS) ; do \
17563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17565 echo "Doing dvi in recode" ; \
17566 (cd $(HOST_SUBDIR)/recode && \
17567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17569 "RANLIB=$${RANLIB}" \
17570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17576 .PHONY: maybe-html-recode html-recode
17579 maybe-html-recode: html-recode
17583 @[ -f ./recode/Makefile ] || exit 0; \
17584 r=`${PWD_COMMAND}`; export r; \
17585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17588 for flag in $(EXTRA_HOST_FLAGS) ; do \
17589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17591 echo "Doing html in recode" ; \
17592 (cd $(HOST_SUBDIR)/recode && \
17593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17595 "RANLIB=$${RANLIB}" \
17596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17602 .PHONY: maybe-TAGS-recode TAGS-recode
17605 maybe-TAGS-recode: TAGS-recode
17609 @[ -f ./recode/Makefile ] || exit 0; \
17610 r=`${PWD_COMMAND}`; export r; \
17611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17614 for flag in $(EXTRA_HOST_FLAGS) ; do \
17615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17617 echo "Doing TAGS in recode" ; \
17618 (cd $(HOST_SUBDIR)/recode && \
17619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17621 "RANLIB=$${RANLIB}" \
17622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17628 .PHONY: maybe-install-info-recode install-info-recode
17629 maybe-install-info-recode:
17631 maybe-install-info-recode: install-info-recode
17633 install-info-recode: \
17636 @[ -f ./recode/Makefile ] || exit 0; \
17637 r=`${PWD_COMMAND}`; export r; \
17638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17641 for flag in $(EXTRA_HOST_FLAGS) ; do \
17642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17644 echo "Doing install-info in recode" ; \
17645 (cd $(HOST_SUBDIR)/recode && \
17646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17648 "RANLIB=$${RANLIB}" \
17649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17655 .PHONY: maybe-installcheck-recode installcheck-recode
17656 maybe-installcheck-recode:
17658 maybe-installcheck-recode: installcheck-recode
17660 installcheck-recode: \
17662 @[ -f ./recode/Makefile ] || exit 0; \
17663 r=`${PWD_COMMAND}`; export r; \
17664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17667 for flag in $(EXTRA_HOST_FLAGS) ; do \
17668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17670 echo "Doing installcheck in recode" ; \
17671 (cd $(HOST_SUBDIR)/recode && \
17672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17674 "RANLIB=$${RANLIB}" \
17675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17681 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
17682 maybe-mostlyclean-recode:
17684 maybe-mostlyclean-recode: mostlyclean-recode
17686 mostlyclean-recode:
17687 @[ -f ./recode/Makefile ] || exit 0; \
17688 r=`${PWD_COMMAND}`; export r; \
17689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17692 for flag in $(EXTRA_HOST_FLAGS) ; do \
17693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17695 echo "Doing mostlyclean in recode" ; \
17696 (cd $(HOST_SUBDIR)/recode && \
17697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17699 "RANLIB=$${RANLIB}" \
17700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17706 .PHONY: maybe-clean-recode clean-recode
17707 maybe-clean-recode:
17709 maybe-clean-recode: clean-recode
17712 @[ -f ./recode/Makefile ] || exit 0; \
17713 r=`${PWD_COMMAND}`; export r; \
17714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17717 for flag in $(EXTRA_HOST_FLAGS) ; do \
17718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17720 echo "Doing clean in recode" ; \
17721 (cd $(HOST_SUBDIR)/recode && \
17722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17724 "RANLIB=$${RANLIB}" \
17725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17731 .PHONY: maybe-distclean-recode distclean-recode
17732 maybe-distclean-recode:
17734 maybe-distclean-recode: distclean-recode
17737 @[ -f ./recode/Makefile ] || exit 0; \
17738 r=`${PWD_COMMAND}`; export r; \
17739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17742 for flag in $(EXTRA_HOST_FLAGS) ; do \
17743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17745 echo "Doing distclean in recode" ; \
17746 (cd $(HOST_SUBDIR)/recode && \
17747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17749 "RANLIB=$${RANLIB}" \
17750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17756 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
17757 maybe-maintainer-clean-recode:
17759 maybe-maintainer-clean-recode: maintainer-clean-recode
17761 maintainer-clean-recode:
17762 @[ -f ./recode/Makefile ] || exit 0; \
17763 r=`${PWD_COMMAND}`; export r; \
17764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17767 for flag in $(EXTRA_HOST_FLAGS) ; do \
17768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17770 echo "Doing maintainer-clean in recode" ; \
17771 (cd $(HOST_SUBDIR)/recode && \
17772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17774 "RANLIB=$${RANLIB}" \
17775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17776 maintainer-clean) \
17782 .PHONY: configure-sed maybe-configure-sed
17783 maybe-configure-sed:
17785 maybe-configure-sed: configure-sed
17787 @test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
17788 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
17789 r=`${PWD_COMMAND}`; export r; \
17790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17792 echo Configuring in sed; \
17793 cd $(HOST_SUBDIR)/sed || exit 1; \
17794 case $(srcdir) in \
17795 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17796 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
17797 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17799 srcdiroption="--srcdir=$${topdir}/sed"; \
17800 libsrcdir="$$s/sed"; \
17801 $(SHELL) $${libsrcdir}/configure \
17802 $(HOST_CONFIGARGS) $${srcdiroption} \
17806 .PHONY: all-sed maybe-all-sed
17810 maybe-all-sed: all-sed
17811 all-sed: configure-sed
17812 @r=`${PWD_COMMAND}`; export r; \
17813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17816 (cd $(HOST_SUBDIR)/sed && \
17817 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
17820 .PHONY: check-sed maybe-check-sed
17823 maybe-check-sed: check-sed
17826 @r=`${PWD_COMMAND}`; export r; \
17827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17830 (cd $(HOST_SUBDIR)/sed && \
17831 $(MAKE) $(FLAGS_TO_PASS) check)
17835 .PHONY: install-sed maybe-install-sed
17838 maybe-install-sed: install-sed
17840 install-sed: installdirs
17841 @r=`${PWD_COMMAND}`; export r; \
17842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17845 (cd $(HOST_SUBDIR)/sed && \
17846 $(MAKE) $(FLAGS_TO_PASS) install)
17850 # Other targets (info, dvi, etc.)
17852 .PHONY: maybe-info-sed info-sed
17855 maybe-info-sed: info-sed
17859 @[ -f ./sed/Makefile ] || exit 0; \
17860 r=`${PWD_COMMAND}`; export r; \
17861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17864 for flag in $(EXTRA_HOST_FLAGS) ; do \
17865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17867 echo "Doing info in sed" ; \
17868 (cd $(HOST_SUBDIR)/sed && \
17869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17871 "RANLIB=$${RANLIB}" \
17872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17878 .PHONY: maybe-dvi-sed dvi-sed
17881 maybe-dvi-sed: dvi-sed
17885 @[ -f ./sed/Makefile ] || exit 0; \
17886 r=`${PWD_COMMAND}`; export r; \
17887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17890 for flag in $(EXTRA_HOST_FLAGS) ; do \
17891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17893 echo "Doing dvi in sed" ; \
17894 (cd $(HOST_SUBDIR)/sed && \
17895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17897 "RANLIB=$${RANLIB}" \
17898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17904 .PHONY: maybe-html-sed html-sed
17907 maybe-html-sed: html-sed
17911 @[ -f ./sed/Makefile ] || exit 0; \
17912 r=`${PWD_COMMAND}`; export r; \
17913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17916 for flag in $(EXTRA_HOST_FLAGS) ; do \
17917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17919 echo "Doing html in sed" ; \
17920 (cd $(HOST_SUBDIR)/sed && \
17921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17923 "RANLIB=$${RANLIB}" \
17924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17930 .PHONY: maybe-TAGS-sed TAGS-sed
17933 maybe-TAGS-sed: TAGS-sed
17937 @[ -f ./sed/Makefile ] || exit 0; \
17938 r=`${PWD_COMMAND}`; export r; \
17939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17942 for flag in $(EXTRA_HOST_FLAGS) ; do \
17943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17945 echo "Doing TAGS in sed" ; \
17946 (cd $(HOST_SUBDIR)/sed && \
17947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17949 "RANLIB=$${RANLIB}" \
17950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17956 .PHONY: maybe-install-info-sed install-info-sed
17957 maybe-install-info-sed:
17959 maybe-install-info-sed: install-info-sed
17961 install-info-sed: \
17964 @[ -f ./sed/Makefile ] || exit 0; \
17965 r=`${PWD_COMMAND}`; export r; \
17966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17969 for flag in $(EXTRA_HOST_FLAGS) ; do \
17970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17972 echo "Doing install-info in sed" ; \
17973 (cd $(HOST_SUBDIR)/sed && \
17974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17976 "RANLIB=$${RANLIB}" \
17977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17983 .PHONY: maybe-installcheck-sed installcheck-sed
17984 maybe-installcheck-sed:
17986 maybe-installcheck-sed: installcheck-sed
17988 installcheck-sed: \
17990 @[ -f ./sed/Makefile ] || exit 0; \
17991 r=`${PWD_COMMAND}`; export r; \
17992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17995 for flag in $(EXTRA_HOST_FLAGS) ; do \
17996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17998 echo "Doing installcheck in sed" ; \
17999 (cd $(HOST_SUBDIR)/sed && \
18000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18002 "RANLIB=$${RANLIB}" \
18003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18009 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
18010 maybe-mostlyclean-sed:
18012 maybe-mostlyclean-sed: mostlyclean-sed
18015 @[ -f ./sed/Makefile ] || exit 0; \
18016 r=`${PWD_COMMAND}`; export r; \
18017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18020 for flag in $(EXTRA_HOST_FLAGS) ; do \
18021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18023 echo "Doing mostlyclean in sed" ; \
18024 (cd $(HOST_SUBDIR)/sed && \
18025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18027 "RANLIB=$${RANLIB}" \
18028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18034 .PHONY: maybe-clean-sed clean-sed
18037 maybe-clean-sed: clean-sed
18040 @[ -f ./sed/Makefile ] || exit 0; \
18041 r=`${PWD_COMMAND}`; export r; \
18042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18045 for flag in $(EXTRA_HOST_FLAGS) ; do \
18046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18048 echo "Doing clean in sed" ; \
18049 (cd $(HOST_SUBDIR)/sed && \
18050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18052 "RANLIB=$${RANLIB}" \
18053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18059 .PHONY: maybe-distclean-sed distclean-sed
18060 maybe-distclean-sed:
18062 maybe-distclean-sed: distclean-sed
18065 @[ -f ./sed/Makefile ] || exit 0; \
18066 r=`${PWD_COMMAND}`; export r; \
18067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18070 for flag in $(EXTRA_HOST_FLAGS) ; do \
18071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18073 echo "Doing distclean in sed" ; \
18074 (cd $(HOST_SUBDIR)/sed && \
18075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18077 "RANLIB=$${RANLIB}" \
18078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18084 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
18085 maybe-maintainer-clean-sed:
18087 maybe-maintainer-clean-sed: maintainer-clean-sed
18089 maintainer-clean-sed:
18090 @[ -f ./sed/Makefile ] || exit 0; \
18091 r=`${PWD_COMMAND}`; export r; \
18092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18095 for flag in $(EXTRA_HOST_FLAGS) ; do \
18096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18098 echo "Doing maintainer-clean in sed" ; \
18099 (cd $(HOST_SUBDIR)/sed && \
18100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18102 "RANLIB=$${RANLIB}" \
18103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18104 maintainer-clean) \
18110 .PHONY: configure-send-pr maybe-configure-send-pr
18111 maybe-configure-send-pr:
18113 maybe-configure-send-pr: configure-send-pr
18115 @test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
18116 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
18117 r=`${PWD_COMMAND}`; export r; \
18118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18120 echo Configuring in send-pr; \
18121 cd $(HOST_SUBDIR)/send-pr || exit 1; \
18122 case $(srcdir) in \
18123 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18124 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
18125 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18127 srcdiroption="--srcdir=$${topdir}/send-pr"; \
18128 libsrcdir="$$s/send-pr"; \
18129 $(SHELL) $${libsrcdir}/configure \
18130 $(HOST_CONFIGARGS) $${srcdiroption} \
18134 .PHONY: all-send-pr maybe-all-send-pr
18138 maybe-all-send-pr: all-send-pr
18139 all-send-pr: configure-send-pr
18140 @r=`${PWD_COMMAND}`; export r; \
18141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18144 (cd $(HOST_SUBDIR)/send-pr && \
18145 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
18148 .PHONY: check-send-pr maybe-check-send-pr
18149 maybe-check-send-pr:
18151 maybe-check-send-pr: check-send-pr
18154 @r=`${PWD_COMMAND}`; export r; \
18155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18158 (cd $(HOST_SUBDIR)/send-pr && \
18159 $(MAKE) $(FLAGS_TO_PASS) check)
18163 .PHONY: install-send-pr maybe-install-send-pr
18164 maybe-install-send-pr:
18166 maybe-install-send-pr: install-send-pr
18168 install-send-pr: installdirs
18169 @r=`${PWD_COMMAND}`; export r; \
18170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18173 (cd $(HOST_SUBDIR)/send-pr && \
18174 $(MAKE) $(FLAGS_TO_PASS) install)
18178 # Other targets (info, dvi, etc.)
18180 .PHONY: maybe-info-send-pr info-send-pr
18181 maybe-info-send-pr:
18183 maybe-info-send-pr: info-send-pr
18187 @[ -f ./send-pr/Makefile ] || exit 0; \
18188 r=`${PWD_COMMAND}`; export r; \
18189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18192 for flag in $(EXTRA_HOST_FLAGS) ; do \
18193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18195 echo "Doing info in send-pr" ; \
18196 (cd $(HOST_SUBDIR)/send-pr && \
18197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18199 "RANLIB=$${RANLIB}" \
18200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18206 .PHONY: maybe-dvi-send-pr dvi-send-pr
18209 maybe-dvi-send-pr: dvi-send-pr
18213 @[ -f ./send-pr/Makefile ] || exit 0; \
18214 r=`${PWD_COMMAND}`; export r; \
18215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18218 for flag in $(EXTRA_HOST_FLAGS) ; do \
18219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18221 echo "Doing dvi in send-pr" ; \
18222 (cd $(HOST_SUBDIR)/send-pr && \
18223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18225 "RANLIB=$${RANLIB}" \
18226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18232 .PHONY: maybe-html-send-pr html-send-pr
18233 maybe-html-send-pr:
18235 maybe-html-send-pr: html-send-pr
18239 @[ -f ./send-pr/Makefile ] || exit 0; \
18240 r=`${PWD_COMMAND}`; export r; \
18241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18244 for flag in $(EXTRA_HOST_FLAGS) ; do \
18245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18247 echo "Doing html in send-pr" ; \
18248 (cd $(HOST_SUBDIR)/send-pr && \
18249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18251 "RANLIB=$${RANLIB}" \
18252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18258 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
18259 maybe-TAGS-send-pr:
18261 maybe-TAGS-send-pr: TAGS-send-pr
18265 @[ -f ./send-pr/Makefile ] || exit 0; \
18266 r=`${PWD_COMMAND}`; export r; \
18267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18270 for flag in $(EXTRA_HOST_FLAGS) ; do \
18271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18273 echo "Doing TAGS in send-pr" ; \
18274 (cd $(HOST_SUBDIR)/send-pr && \
18275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18277 "RANLIB=$${RANLIB}" \
18278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18284 .PHONY: maybe-install-info-send-pr install-info-send-pr
18285 maybe-install-info-send-pr:
18287 maybe-install-info-send-pr: install-info-send-pr
18289 install-info-send-pr: \
18290 configure-send-pr \
18292 @[ -f ./send-pr/Makefile ] || exit 0; \
18293 r=`${PWD_COMMAND}`; export r; \
18294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18297 for flag in $(EXTRA_HOST_FLAGS) ; do \
18298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18300 echo "Doing install-info in send-pr" ; \
18301 (cd $(HOST_SUBDIR)/send-pr && \
18302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18304 "RANLIB=$${RANLIB}" \
18305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18311 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
18312 maybe-installcheck-send-pr:
18314 maybe-installcheck-send-pr: installcheck-send-pr
18316 installcheck-send-pr: \
18318 @[ -f ./send-pr/Makefile ] || exit 0; \
18319 r=`${PWD_COMMAND}`; export r; \
18320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18323 for flag in $(EXTRA_HOST_FLAGS) ; do \
18324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18326 echo "Doing installcheck in send-pr" ; \
18327 (cd $(HOST_SUBDIR)/send-pr && \
18328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18330 "RANLIB=$${RANLIB}" \
18331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18337 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
18338 maybe-mostlyclean-send-pr:
18340 maybe-mostlyclean-send-pr: mostlyclean-send-pr
18342 mostlyclean-send-pr:
18343 @[ -f ./send-pr/Makefile ] || exit 0; \
18344 r=`${PWD_COMMAND}`; export r; \
18345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18348 for flag in $(EXTRA_HOST_FLAGS) ; do \
18349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18351 echo "Doing mostlyclean in send-pr" ; \
18352 (cd $(HOST_SUBDIR)/send-pr && \
18353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18355 "RANLIB=$${RANLIB}" \
18356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18362 .PHONY: maybe-clean-send-pr clean-send-pr
18363 maybe-clean-send-pr:
18365 maybe-clean-send-pr: clean-send-pr
18368 @[ -f ./send-pr/Makefile ] || exit 0; \
18369 r=`${PWD_COMMAND}`; export r; \
18370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18373 for flag in $(EXTRA_HOST_FLAGS) ; do \
18374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18376 echo "Doing clean in send-pr" ; \
18377 (cd $(HOST_SUBDIR)/send-pr && \
18378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18380 "RANLIB=$${RANLIB}" \
18381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18387 .PHONY: maybe-distclean-send-pr distclean-send-pr
18388 maybe-distclean-send-pr:
18390 maybe-distclean-send-pr: distclean-send-pr
18393 @[ -f ./send-pr/Makefile ] || exit 0; \
18394 r=`${PWD_COMMAND}`; export r; \
18395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18398 for flag in $(EXTRA_HOST_FLAGS) ; do \
18399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18401 echo "Doing distclean in send-pr" ; \
18402 (cd $(HOST_SUBDIR)/send-pr && \
18403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18405 "RANLIB=$${RANLIB}" \
18406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18412 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
18413 maybe-maintainer-clean-send-pr:
18415 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
18417 maintainer-clean-send-pr:
18418 @[ -f ./send-pr/Makefile ] || exit 0; \
18419 r=`${PWD_COMMAND}`; export r; \
18420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18423 for flag in $(EXTRA_HOST_FLAGS) ; do \
18424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18426 echo "Doing maintainer-clean in send-pr" ; \
18427 (cd $(HOST_SUBDIR)/send-pr && \
18428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18430 "RANLIB=$${RANLIB}" \
18431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18432 maintainer-clean) \
18438 .PHONY: configure-shellutils maybe-configure-shellutils
18439 maybe-configure-shellutils:
18441 maybe-configure-shellutils: configure-shellutils
18442 configure-shellutils:
18443 @test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
18444 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
18445 r=`${PWD_COMMAND}`; export r; \
18446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18448 echo Configuring in shellutils; \
18449 cd $(HOST_SUBDIR)/shellutils || exit 1; \
18450 case $(srcdir) in \
18451 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18452 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
18453 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18455 srcdiroption="--srcdir=$${topdir}/shellutils"; \
18456 libsrcdir="$$s/shellutils"; \
18457 $(SHELL) $${libsrcdir}/configure \
18458 $(HOST_CONFIGARGS) $${srcdiroption} \
18462 .PHONY: all-shellutils maybe-all-shellutils
18463 maybe-all-shellutils:
18465 TARGET-shellutils=all
18466 maybe-all-shellutils: all-shellutils
18467 all-shellutils: configure-shellutils
18468 @r=`${PWD_COMMAND}`; export r; \
18469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18472 (cd $(HOST_SUBDIR)/shellutils && \
18473 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
18476 .PHONY: check-shellutils maybe-check-shellutils
18477 maybe-check-shellutils:
18479 maybe-check-shellutils: check-shellutils
18482 @r=`${PWD_COMMAND}`; export r; \
18483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18486 (cd $(HOST_SUBDIR)/shellutils && \
18487 $(MAKE) $(FLAGS_TO_PASS) check)
18491 .PHONY: install-shellutils maybe-install-shellutils
18492 maybe-install-shellutils:
18494 maybe-install-shellutils: install-shellutils
18496 install-shellutils: installdirs
18497 @r=`${PWD_COMMAND}`; export r; \
18498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18501 (cd $(HOST_SUBDIR)/shellutils && \
18502 $(MAKE) $(FLAGS_TO_PASS) install)
18506 # Other targets (info, dvi, etc.)
18508 .PHONY: maybe-info-shellutils info-shellutils
18509 maybe-info-shellutils:
18511 maybe-info-shellutils: info-shellutils
18514 configure-shellutils
18515 @[ -f ./shellutils/Makefile ] || exit 0; \
18516 r=`${PWD_COMMAND}`; export r; \
18517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18520 for flag in $(EXTRA_HOST_FLAGS) ; do \
18521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18523 echo "Doing info in shellutils" ; \
18524 (cd $(HOST_SUBDIR)/shellutils && \
18525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18527 "RANLIB=$${RANLIB}" \
18528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18534 .PHONY: maybe-dvi-shellutils dvi-shellutils
18535 maybe-dvi-shellutils:
18537 maybe-dvi-shellutils: dvi-shellutils
18540 configure-shellutils
18541 @[ -f ./shellutils/Makefile ] || exit 0; \
18542 r=`${PWD_COMMAND}`; export r; \
18543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18546 for flag in $(EXTRA_HOST_FLAGS) ; do \
18547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18549 echo "Doing dvi in shellutils" ; \
18550 (cd $(HOST_SUBDIR)/shellutils && \
18551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18553 "RANLIB=$${RANLIB}" \
18554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18560 .PHONY: maybe-html-shellutils html-shellutils
18561 maybe-html-shellutils:
18563 maybe-html-shellutils: html-shellutils
18566 configure-shellutils
18567 @[ -f ./shellutils/Makefile ] || exit 0; \
18568 r=`${PWD_COMMAND}`; export r; \
18569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18572 for flag in $(EXTRA_HOST_FLAGS) ; do \
18573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18575 echo "Doing html in shellutils" ; \
18576 (cd $(HOST_SUBDIR)/shellutils && \
18577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18579 "RANLIB=$${RANLIB}" \
18580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18586 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
18587 maybe-TAGS-shellutils:
18589 maybe-TAGS-shellutils: TAGS-shellutils
18592 configure-shellutils
18593 @[ -f ./shellutils/Makefile ] || exit 0; \
18594 r=`${PWD_COMMAND}`; export r; \
18595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18598 for flag in $(EXTRA_HOST_FLAGS) ; do \
18599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18601 echo "Doing TAGS in shellutils" ; \
18602 (cd $(HOST_SUBDIR)/shellutils && \
18603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18605 "RANLIB=$${RANLIB}" \
18606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18612 .PHONY: maybe-install-info-shellutils install-info-shellutils
18613 maybe-install-info-shellutils:
18615 maybe-install-info-shellutils: install-info-shellutils
18617 install-info-shellutils: \
18618 configure-shellutils \
18620 @[ -f ./shellutils/Makefile ] || exit 0; \
18621 r=`${PWD_COMMAND}`; export r; \
18622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18625 for flag in $(EXTRA_HOST_FLAGS) ; do \
18626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18628 echo "Doing install-info in shellutils" ; \
18629 (cd $(HOST_SUBDIR)/shellutils && \
18630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18632 "RANLIB=$${RANLIB}" \
18633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18639 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
18640 maybe-installcheck-shellutils:
18642 maybe-installcheck-shellutils: installcheck-shellutils
18644 installcheck-shellutils: \
18645 configure-shellutils
18646 @[ -f ./shellutils/Makefile ] || exit 0; \
18647 r=`${PWD_COMMAND}`; export r; \
18648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18651 for flag in $(EXTRA_HOST_FLAGS) ; do \
18652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18654 echo "Doing installcheck in shellutils" ; \
18655 (cd $(HOST_SUBDIR)/shellutils && \
18656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18658 "RANLIB=$${RANLIB}" \
18659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18665 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
18666 maybe-mostlyclean-shellutils:
18668 maybe-mostlyclean-shellutils: mostlyclean-shellutils
18670 mostlyclean-shellutils:
18671 @[ -f ./shellutils/Makefile ] || exit 0; \
18672 r=`${PWD_COMMAND}`; export r; \
18673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18676 for flag in $(EXTRA_HOST_FLAGS) ; do \
18677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18679 echo "Doing mostlyclean in shellutils" ; \
18680 (cd $(HOST_SUBDIR)/shellutils && \
18681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18683 "RANLIB=$${RANLIB}" \
18684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18690 .PHONY: maybe-clean-shellutils clean-shellutils
18691 maybe-clean-shellutils:
18693 maybe-clean-shellutils: clean-shellutils
18696 @[ -f ./shellutils/Makefile ] || exit 0; \
18697 r=`${PWD_COMMAND}`; export r; \
18698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18701 for flag in $(EXTRA_HOST_FLAGS) ; do \
18702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18704 echo "Doing clean in shellutils" ; \
18705 (cd $(HOST_SUBDIR)/shellutils && \
18706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18708 "RANLIB=$${RANLIB}" \
18709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18715 .PHONY: maybe-distclean-shellutils distclean-shellutils
18716 maybe-distclean-shellutils:
18718 maybe-distclean-shellutils: distclean-shellutils
18720 distclean-shellutils:
18721 @[ -f ./shellutils/Makefile ] || exit 0; \
18722 r=`${PWD_COMMAND}`; export r; \
18723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18726 for flag in $(EXTRA_HOST_FLAGS) ; do \
18727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18729 echo "Doing distclean in shellutils" ; \
18730 (cd $(HOST_SUBDIR)/shellutils && \
18731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18733 "RANLIB=$${RANLIB}" \
18734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18740 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
18741 maybe-maintainer-clean-shellutils:
18743 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
18745 maintainer-clean-shellutils:
18746 @[ -f ./shellutils/Makefile ] || exit 0; \
18747 r=`${PWD_COMMAND}`; export r; \
18748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18751 for flag in $(EXTRA_HOST_FLAGS) ; do \
18752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18754 echo "Doing maintainer-clean in shellutils" ; \
18755 (cd $(HOST_SUBDIR)/shellutils && \
18756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18758 "RANLIB=$${RANLIB}" \
18759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18760 maintainer-clean) \
18766 .PHONY: configure-sid maybe-configure-sid
18767 maybe-configure-sid:
18769 maybe-configure-sid: configure-sid
18771 @test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
18772 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
18773 r=`${PWD_COMMAND}`; export r; \
18774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18776 echo Configuring in sid; \
18777 cd $(HOST_SUBDIR)/sid || exit 1; \
18778 case $(srcdir) in \
18779 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18780 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
18781 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18783 srcdiroption="--srcdir=$${topdir}/sid"; \
18784 libsrcdir="$$s/sid"; \
18785 $(SHELL) $${libsrcdir}/configure \
18786 $(HOST_CONFIGARGS) $${srcdiroption} \
18790 .PHONY: all-sid maybe-all-sid
18794 maybe-all-sid: all-sid
18795 all-sid: configure-sid
18796 @r=`${PWD_COMMAND}`; export r; \
18797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18800 (cd $(HOST_SUBDIR)/sid && \
18801 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
18804 .PHONY: check-sid maybe-check-sid
18807 maybe-check-sid: check-sid
18810 @r=`${PWD_COMMAND}`; export r; \
18811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18814 (cd $(HOST_SUBDIR)/sid && \
18815 $(MAKE) $(FLAGS_TO_PASS) check)
18819 .PHONY: install-sid maybe-install-sid
18822 maybe-install-sid: install-sid
18824 install-sid: installdirs
18825 @r=`${PWD_COMMAND}`; export r; \
18826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18829 (cd $(HOST_SUBDIR)/sid && \
18830 $(MAKE) $(FLAGS_TO_PASS) install)
18834 # Other targets (info, dvi, etc.)
18836 .PHONY: maybe-info-sid info-sid
18839 maybe-info-sid: info-sid
18843 @[ -f ./sid/Makefile ] || exit 0; \
18844 r=`${PWD_COMMAND}`; export r; \
18845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18848 for flag in $(EXTRA_HOST_FLAGS) ; do \
18849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18851 echo "Doing info in sid" ; \
18852 (cd $(HOST_SUBDIR)/sid && \
18853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18855 "RANLIB=$${RANLIB}" \
18856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18862 .PHONY: maybe-dvi-sid dvi-sid
18865 maybe-dvi-sid: dvi-sid
18869 @[ -f ./sid/Makefile ] || exit 0; \
18870 r=`${PWD_COMMAND}`; export r; \
18871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18874 for flag in $(EXTRA_HOST_FLAGS) ; do \
18875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18877 echo "Doing dvi in sid" ; \
18878 (cd $(HOST_SUBDIR)/sid && \
18879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18881 "RANLIB=$${RANLIB}" \
18882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18888 .PHONY: maybe-html-sid html-sid
18891 maybe-html-sid: html-sid
18895 @[ -f ./sid/Makefile ] || exit 0; \
18896 r=`${PWD_COMMAND}`; export r; \
18897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18900 for flag in $(EXTRA_HOST_FLAGS) ; do \
18901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18903 echo "Doing html in sid" ; \
18904 (cd $(HOST_SUBDIR)/sid && \
18905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18907 "RANLIB=$${RANLIB}" \
18908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18914 .PHONY: maybe-TAGS-sid TAGS-sid
18917 maybe-TAGS-sid: TAGS-sid
18921 @[ -f ./sid/Makefile ] || exit 0; \
18922 r=`${PWD_COMMAND}`; export r; \
18923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18926 for flag in $(EXTRA_HOST_FLAGS) ; do \
18927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18929 echo "Doing TAGS in sid" ; \
18930 (cd $(HOST_SUBDIR)/sid && \
18931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18933 "RANLIB=$${RANLIB}" \
18934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18940 .PHONY: maybe-install-info-sid install-info-sid
18941 maybe-install-info-sid:
18943 maybe-install-info-sid: install-info-sid
18945 install-info-sid: \
18948 @[ -f ./sid/Makefile ] || exit 0; \
18949 r=`${PWD_COMMAND}`; export r; \
18950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18953 for flag in $(EXTRA_HOST_FLAGS) ; do \
18954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18956 echo "Doing install-info in sid" ; \
18957 (cd $(HOST_SUBDIR)/sid && \
18958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18960 "RANLIB=$${RANLIB}" \
18961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18967 .PHONY: maybe-installcheck-sid installcheck-sid
18968 maybe-installcheck-sid:
18970 maybe-installcheck-sid: installcheck-sid
18972 installcheck-sid: \
18974 @[ -f ./sid/Makefile ] || exit 0; \
18975 r=`${PWD_COMMAND}`; export r; \
18976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18979 for flag in $(EXTRA_HOST_FLAGS) ; do \
18980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18982 echo "Doing installcheck in sid" ; \
18983 (cd $(HOST_SUBDIR)/sid && \
18984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18986 "RANLIB=$${RANLIB}" \
18987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18993 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
18994 maybe-mostlyclean-sid:
18996 maybe-mostlyclean-sid: mostlyclean-sid
18999 @[ -f ./sid/Makefile ] || exit 0; \
19000 r=`${PWD_COMMAND}`; export r; \
19001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19004 for flag in $(EXTRA_HOST_FLAGS) ; do \
19005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19007 echo "Doing mostlyclean in sid" ; \
19008 (cd $(HOST_SUBDIR)/sid && \
19009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19011 "RANLIB=$${RANLIB}" \
19012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19018 .PHONY: maybe-clean-sid clean-sid
19021 maybe-clean-sid: clean-sid
19024 @[ -f ./sid/Makefile ] || exit 0; \
19025 r=`${PWD_COMMAND}`; export r; \
19026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19029 for flag in $(EXTRA_HOST_FLAGS) ; do \
19030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19032 echo "Doing clean in sid" ; \
19033 (cd $(HOST_SUBDIR)/sid && \
19034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19036 "RANLIB=$${RANLIB}" \
19037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19043 .PHONY: maybe-distclean-sid distclean-sid
19044 maybe-distclean-sid:
19046 maybe-distclean-sid: distclean-sid
19049 @[ -f ./sid/Makefile ] || exit 0; \
19050 r=`${PWD_COMMAND}`; export r; \
19051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19054 for flag in $(EXTRA_HOST_FLAGS) ; do \
19055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19057 echo "Doing distclean in sid" ; \
19058 (cd $(HOST_SUBDIR)/sid && \
19059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19061 "RANLIB=$${RANLIB}" \
19062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19068 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
19069 maybe-maintainer-clean-sid:
19071 maybe-maintainer-clean-sid: maintainer-clean-sid
19073 maintainer-clean-sid:
19074 @[ -f ./sid/Makefile ] || exit 0; \
19075 r=`${PWD_COMMAND}`; export r; \
19076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19079 for flag in $(EXTRA_HOST_FLAGS) ; do \
19080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19082 echo "Doing maintainer-clean in sid" ; \
19083 (cd $(HOST_SUBDIR)/sid && \
19084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19086 "RANLIB=$${RANLIB}" \
19087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19088 maintainer-clean) \
19094 .PHONY: configure-sim maybe-configure-sim
19095 maybe-configure-sim:
19097 maybe-configure-sim: configure-sim
19099 @test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
19100 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
19101 r=`${PWD_COMMAND}`; export r; \
19102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19104 echo Configuring in sim; \
19105 cd $(HOST_SUBDIR)/sim || exit 1; \
19106 case $(srcdir) in \
19107 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19108 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
19109 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19111 srcdiroption="--srcdir=$${topdir}/sim"; \
19112 libsrcdir="$$s/sim"; \
19113 $(SHELL) $${libsrcdir}/configure \
19114 $(HOST_CONFIGARGS) $${srcdiroption} \
19118 .PHONY: all-sim maybe-all-sim
19122 maybe-all-sim: all-sim
19123 all-sim: configure-sim
19124 @r=`${PWD_COMMAND}`; export r; \
19125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19128 (cd $(HOST_SUBDIR)/sim && \
19129 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
19132 .PHONY: check-sim maybe-check-sim
19135 maybe-check-sim: check-sim
19138 @r=`${PWD_COMMAND}`; export r; \
19139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19142 (cd $(HOST_SUBDIR)/sim && \
19143 $(MAKE) $(FLAGS_TO_PASS) check)
19147 .PHONY: install-sim maybe-install-sim
19150 maybe-install-sim: install-sim
19152 install-sim: installdirs
19153 @r=`${PWD_COMMAND}`; export r; \
19154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19157 (cd $(HOST_SUBDIR)/sim && \
19158 $(MAKE) $(FLAGS_TO_PASS) install)
19162 # Other targets (info, dvi, etc.)
19164 .PHONY: maybe-info-sim info-sim
19167 maybe-info-sim: info-sim
19171 @[ -f ./sim/Makefile ] || exit 0; \
19172 r=`${PWD_COMMAND}`; export r; \
19173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19176 for flag in $(EXTRA_HOST_FLAGS) ; do \
19177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19179 echo "Doing info in sim" ; \
19180 (cd $(HOST_SUBDIR)/sim && \
19181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19183 "RANLIB=$${RANLIB}" \
19184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19190 .PHONY: maybe-dvi-sim dvi-sim
19193 maybe-dvi-sim: dvi-sim
19197 @[ -f ./sim/Makefile ] || exit 0; \
19198 r=`${PWD_COMMAND}`; export r; \
19199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19202 for flag in $(EXTRA_HOST_FLAGS) ; do \
19203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19205 echo "Doing dvi in sim" ; \
19206 (cd $(HOST_SUBDIR)/sim && \
19207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19209 "RANLIB=$${RANLIB}" \
19210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19216 .PHONY: maybe-html-sim html-sim
19219 maybe-html-sim: html-sim
19223 @[ -f ./sim/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 html in sim" ; \
19232 (cd $(HOST_SUBDIR)/sim && \
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-TAGS-sim TAGS-sim
19245 maybe-TAGS-sim: TAGS-sim
19249 @[ -f ./sim/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 TAGS in sim" ; \
19258 (cd $(HOST_SUBDIR)/sim && \
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-install-info-sim install-info-sim
19269 maybe-install-info-sim:
19271 maybe-install-info-sim: install-info-sim
19273 install-info-sim: \
19276 @[ -f ./sim/Makefile ] || exit 0; \
19277 r=`${PWD_COMMAND}`; export r; \
19278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19281 for flag in $(EXTRA_HOST_FLAGS) ; do \
19282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19284 echo "Doing install-info in sim" ; \
19285 (cd $(HOST_SUBDIR)/sim && \
19286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19288 "RANLIB=$${RANLIB}" \
19289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19295 .PHONY: maybe-installcheck-sim installcheck-sim
19296 maybe-installcheck-sim:
19298 maybe-installcheck-sim: installcheck-sim
19300 installcheck-sim: \
19302 @[ -f ./sim/Makefile ] || exit 0; \
19303 r=`${PWD_COMMAND}`; export r; \
19304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19307 for flag in $(EXTRA_HOST_FLAGS) ; do \
19308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19310 echo "Doing installcheck in sim" ; \
19311 (cd $(HOST_SUBDIR)/sim && \
19312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19314 "RANLIB=$${RANLIB}" \
19315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19321 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
19322 maybe-mostlyclean-sim:
19324 maybe-mostlyclean-sim: mostlyclean-sim
19327 @[ -f ./sim/Makefile ] || exit 0; \
19328 r=`${PWD_COMMAND}`; export r; \
19329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19332 for flag in $(EXTRA_HOST_FLAGS) ; do \
19333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19335 echo "Doing mostlyclean in sim" ; \
19336 (cd $(HOST_SUBDIR)/sim && \
19337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19339 "RANLIB=$${RANLIB}" \
19340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19346 .PHONY: maybe-clean-sim clean-sim
19349 maybe-clean-sim: clean-sim
19352 @[ -f ./sim/Makefile ] || exit 0; \
19353 r=`${PWD_COMMAND}`; export r; \
19354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19357 for flag in $(EXTRA_HOST_FLAGS) ; do \
19358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19360 echo "Doing clean in sim" ; \
19361 (cd $(HOST_SUBDIR)/sim && \
19362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19364 "RANLIB=$${RANLIB}" \
19365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19371 .PHONY: maybe-distclean-sim distclean-sim
19372 maybe-distclean-sim:
19374 maybe-distclean-sim: distclean-sim
19377 @[ -f ./sim/Makefile ] || exit 0; \
19378 r=`${PWD_COMMAND}`; export r; \
19379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19382 for flag in $(EXTRA_HOST_FLAGS) ; do \
19383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19385 echo "Doing distclean in sim" ; \
19386 (cd $(HOST_SUBDIR)/sim && \
19387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19389 "RANLIB=$${RANLIB}" \
19390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19396 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
19397 maybe-maintainer-clean-sim:
19399 maybe-maintainer-clean-sim: maintainer-clean-sim
19401 maintainer-clean-sim:
19402 @[ -f ./sim/Makefile ] || exit 0; \
19403 r=`${PWD_COMMAND}`; export r; \
19404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19407 for flag in $(EXTRA_HOST_FLAGS) ; do \
19408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19410 echo "Doing maintainer-clean in sim" ; \
19411 (cd $(HOST_SUBDIR)/sim && \
19412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19414 "RANLIB=$${RANLIB}" \
19415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19416 maintainer-clean) \
19422 .PHONY: configure-tar maybe-configure-tar
19423 maybe-configure-tar:
19425 maybe-configure-tar: configure-tar
19427 @test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
19428 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
19429 r=`${PWD_COMMAND}`; export r; \
19430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19432 echo Configuring in tar; \
19433 cd $(HOST_SUBDIR)/tar || exit 1; \
19434 case $(srcdir) in \
19435 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19436 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
19437 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19439 srcdiroption="--srcdir=$${topdir}/tar"; \
19440 libsrcdir="$$s/tar"; \
19441 $(SHELL) $${libsrcdir}/configure \
19442 $(HOST_CONFIGARGS) $${srcdiroption} \
19446 .PHONY: all-tar maybe-all-tar
19450 maybe-all-tar: all-tar
19451 all-tar: configure-tar
19452 @r=`${PWD_COMMAND}`; export r; \
19453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19456 (cd $(HOST_SUBDIR)/tar && \
19457 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
19460 .PHONY: check-tar maybe-check-tar
19463 maybe-check-tar: check-tar
19466 @r=`${PWD_COMMAND}`; export r; \
19467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19470 (cd $(HOST_SUBDIR)/tar && \
19471 $(MAKE) $(FLAGS_TO_PASS) check)
19475 .PHONY: install-tar maybe-install-tar
19478 maybe-install-tar: install-tar
19480 install-tar: installdirs
19481 @r=`${PWD_COMMAND}`; export r; \
19482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19485 (cd $(HOST_SUBDIR)/tar && \
19486 $(MAKE) $(FLAGS_TO_PASS) install)
19490 # Other targets (info, dvi, etc.)
19492 .PHONY: maybe-info-tar info-tar
19495 maybe-info-tar: info-tar
19499 @[ -f ./tar/Makefile ] || exit 0; \
19500 r=`${PWD_COMMAND}`; export r; \
19501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19504 for flag in $(EXTRA_HOST_FLAGS) ; do \
19505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19507 echo "Doing info in tar" ; \
19508 (cd $(HOST_SUBDIR)/tar && \
19509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19511 "RANLIB=$${RANLIB}" \
19512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19518 .PHONY: maybe-dvi-tar dvi-tar
19521 maybe-dvi-tar: dvi-tar
19525 @[ -f ./tar/Makefile ] || exit 0; \
19526 r=`${PWD_COMMAND}`; export r; \
19527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19530 for flag in $(EXTRA_HOST_FLAGS) ; do \
19531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19533 echo "Doing dvi in tar" ; \
19534 (cd $(HOST_SUBDIR)/tar && \
19535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19537 "RANLIB=$${RANLIB}" \
19538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19544 .PHONY: maybe-html-tar html-tar
19547 maybe-html-tar: html-tar
19551 @[ -f ./tar/Makefile ] || exit 0; \
19552 r=`${PWD_COMMAND}`; export r; \
19553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19556 for flag in $(EXTRA_HOST_FLAGS) ; do \
19557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19559 echo "Doing html in tar" ; \
19560 (cd $(HOST_SUBDIR)/tar && \
19561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19563 "RANLIB=$${RANLIB}" \
19564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19570 .PHONY: maybe-TAGS-tar TAGS-tar
19573 maybe-TAGS-tar: TAGS-tar
19577 @[ -f ./tar/Makefile ] || exit 0; \
19578 r=`${PWD_COMMAND}`; export r; \
19579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19582 for flag in $(EXTRA_HOST_FLAGS) ; do \
19583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19585 echo "Doing TAGS in tar" ; \
19586 (cd $(HOST_SUBDIR)/tar && \
19587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19589 "RANLIB=$${RANLIB}" \
19590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19596 .PHONY: maybe-install-info-tar install-info-tar
19597 maybe-install-info-tar:
19599 maybe-install-info-tar: install-info-tar
19601 install-info-tar: \
19604 @[ -f ./tar/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 install-info in tar" ; \
19613 (cd $(HOST_SUBDIR)/tar && \
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-installcheck-tar installcheck-tar
19624 maybe-installcheck-tar:
19626 maybe-installcheck-tar: installcheck-tar
19628 installcheck-tar: \
19630 @[ -f ./tar/Makefile ] || exit 0; \
19631 r=`${PWD_COMMAND}`; export r; \
19632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19635 for flag in $(EXTRA_HOST_FLAGS) ; do \
19636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19638 echo "Doing installcheck in tar" ; \
19639 (cd $(HOST_SUBDIR)/tar && \
19640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19642 "RANLIB=$${RANLIB}" \
19643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19649 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
19650 maybe-mostlyclean-tar:
19652 maybe-mostlyclean-tar: mostlyclean-tar
19655 @[ -f ./tar/Makefile ] || exit 0; \
19656 r=`${PWD_COMMAND}`; export r; \
19657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19660 for flag in $(EXTRA_HOST_FLAGS) ; do \
19661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19663 echo "Doing mostlyclean in tar" ; \
19664 (cd $(HOST_SUBDIR)/tar && \
19665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19667 "RANLIB=$${RANLIB}" \
19668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19674 .PHONY: maybe-clean-tar clean-tar
19677 maybe-clean-tar: clean-tar
19680 @[ -f ./tar/Makefile ] || exit 0; \
19681 r=`${PWD_COMMAND}`; export r; \
19682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19685 for flag in $(EXTRA_HOST_FLAGS) ; do \
19686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19688 echo "Doing clean in tar" ; \
19689 (cd $(HOST_SUBDIR)/tar && \
19690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19692 "RANLIB=$${RANLIB}" \
19693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19699 .PHONY: maybe-distclean-tar distclean-tar
19700 maybe-distclean-tar:
19702 maybe-distclean-tar: distclean-tar
19705 @[ -f ./tar/Makefile ] || exit 0; \
19706 r=`${PWD_COMMAND}`; export r; \
19707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19710 for flag in $(EXTRA_HOST_FLAGS) ; do \
19711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19713 echo "Doing distclean in tar" ; \
19714 (cd $(HOST_SUBDIR)/tar && \
19715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19717 "RANLIB=$${RANLIB}" \
19718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19724 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
19725 maybe-maintainer-clean-tar:
19727 maybe-maintainer-clean-tar: maintainer-clean-tar
19729 maintainer-clean-tar:
19730 @[ -f ./tar/Makefile ] || exit 0; \
19731 r=`${PWD_COMMAND}`; export r; \
19732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19735 for flag in $(EXTRA_HOST_FLAGS) ; do \
19736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19738 echo "Doing maintainer-clean in tar" ; \
19739 (cd $(HOST_SUBDIR)/tar && \
19740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19742 "RANLIB=$${RANLIB}" \
19743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19744 maintainer-clean) \
19750 .PHONY: configure-texinfo maybe-configure-texinfo
19751 maybe-configure-texinfo:
19753 maybe-configure-texinfo: configure-texinfo
19755 @test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
19756 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
19757 r=`${PWD_COMMAND}`; export r; \
19758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19760 echo Configuring in texinfo; \
19761 cd $(HOST_SUBDIR)/texinfo || exit 1; \
19762 case $(srcdir) in \
19763 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19764 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
19765 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19767 srcdiroption="--srcdir=$${topdir}/texinfo"; \
19768 libsrcdir="$$s/texinfo"; \
19769 $(SHELL) $${libsrcdir}/configure \
19770 $(HOST_CONFIGARGS) $${srcdiroption} \
19774 .PHONY: all-texinfo maybe-all-texinfo
19778 maybe-all-texinfo: all-texinfo
19779 all-texinfo: configure-texinfo
19780 @r=`${PWD_COMMAND}`; export r; \
19781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19784 (cd $(HOST_SUBDIR)/texinfo && \
19785 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
19788 .PHONY: check-texinfo maybe-check-texinfo
19789 maybe-check-texinfo:
19791 maybe-check-texinfo: check-texinfo
19794 @r=`${PWD_COMMAND}`; export r; \
19795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19798 (cd $(HOST_SUBDIR)/texinfo && \
19799 $(MAKE) $(FLAGS_TO_PASS) check)
19803 .PHONY: install-texinfo maybe-install-texinfo
19804 maybe-install-texinfo:
19806 maybe-install-texinfo: install-texinfo
19812 # Other targets (info, dvi, etc.)
19814 .PHONY: maybe-info-texinfo info-texinfo
19815 maybe-info-texinfo:
19817 maybe-info-texinfo: info-texinfo
19821 @[ -f ./texinfo/Makefile ] || exit 0; \
19822 r=`${PWD_COMMAND}`; export r; \
19823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19826 for flag in $(EXTRA_HOST_FLAGS) ; do \
19827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19829 echo "Doing info in texinfo" ; \
19830 (cd $(HOST_SUBDIR)/texinfo && \
19831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19833 "RANLIB=$${RANLIB}" \
19834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19840 .PHONY: maybe-dvi-texinfo dvi-texinfo
19843 maybe-dvi-texinfo: dvi-texinfo
19847 @[ -f ./texinfo/Makefile ] || exit 0; \
19848 r=`${PWD_COMMAND}`; export r; \
19849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19852 for flag in $(EXTRA_HOST_FLAGS) ; do \
19853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19855 echo "Doing dvi in texinfo" ; \
19856 (cd $(HOST_SUBDIR)/texinfo && \
19857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19859 "RANLIB=$${RANLIB}" \
19860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19866 .PHONY: maybe-html-texinfo html-texinfo
19867 maybe-html-texinfo:
19869 maybe-html-texinfo: html-texinfo
19873 @[ -f ./texinfo/Makefile ] || exit 0; \
19874 r=`${PWD_COMMAND}`; export r; \
19875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19878 for flag in $(EXTRA_HOST_FLAGS) ; do \
19879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19881 echo "Doing html in texinfo" ; \
19882 (cd $(HOST_SUBDIR)/texinfo && \
19883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19885 "RANLIB=$${RANLIB}" \
19886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19892 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
19893 maybe-TAGS-texinfo:
19895 maybe-TAGS-texinfo: TAGS-texinfo
19899 @[ -f ./texinfo/Makefile ] || exit 0; \
19900 r=`${PWD_COMMAND}`; export r; \
19901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19904 for flag in $(EXTRA_HOST_FLAGS) ; do \
19905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19907 echo "Doing TAGS in texinfo" ; \
19908 (cd $(HOST_SUBDIR)/texinfo && \
19909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19911 "RANLIB=$${RANLIB}" \
19912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19918 .PHONY: maybe-install-info-texinfo install-info-texinfo
19919 maybe-install-info-texinfo:
19921 maybe-install-info-texinfo: install-info-texinfo
19923 install-info-texinfo: \
19924 configure-texinfo \
19926 @[ -f ./texinfo/Makefile ] || exit 0; \
19927 r=`${PWD_COMMAND}`; export r; \
19928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19931 for flag in $(EXTRA_HOST_FLAGS) ; do \
19932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19934 echo "Doing install-info in texinfo" ; \
19935 (cd $(HOST_SUBDIR)/texinfo && \
19936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19938 "RANLIB=$${RANLIB}" \
19939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19945 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
19946 maybe-installcheck-texinfo:
19948 maybe-installcheck-texinfo: installcheck-texinfo
19950 installcheck-texinfo: \
19952 @[ -f ./texinfo/Makefile ] || exit 0; \
19953 r=`${PWD_COMMAND}`; export r; \
19954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19957 for flag in $(EXTRA_HOST_FLAGS) ; do \
19958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19960 echo "Doing installcheck in texinfo" ; \
19961 (cd $(HOST_SUBDIR)/texinfo && \
19962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19964 "RANLIB=$${RANLIB}" \
19965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19971 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
19972 maybe-mostlyclean-texinfo:
19974 maybe-mostlyclean-texinfo: mostlyclean-texinfo
19976 mostlyclean-texinfo:
19977 @[ -f ./texinfo/Makefile ] || exit 0; \
19978 r=`${PWD_COMMAND}`; export r; \
19979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19982 for flag in $(EXTRA_HOST_FLAGS) ; do \
19983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19985 echo "Doing mostlyclean in texinfo" ; \
19986 (cd $(HOST_SUBDIR)/texinfo && \
19987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19989 "RANLIB=$${RANLIB}" \
19990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19996 .PHONY: maybe-clean-texinfo clean-texinfo
19997 maybe-clean-texinfo:
19999 maybe-clean-texinfo: clean-texinfo
20002 @[ -f ./texinfo/Makefile ] || exit 0; \
20003 r=`${PWD_COMMAND}`; export r; \
20004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20007 for flag in $(EXTRA_HOST_FLAGS) ; do \
20008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20010 echo "Doing clean in texinfo" ; \
20011 (cd $(HOST_SUBDIR)/texinfo && \
20012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20014 "RANLIB=$${RANLIB}" \
20015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20021 .PHONY: maybe-distclean-texinfo distclean-texinfo
20022 maybe-distclean-texinfo:
20024 maybe-distclean-texinfo: distclean-texinfo
20027 @[ -f ./texinfo/Makefile ] || exit 0; \
20028 r=`${PWD_COMMAND}`; export r; \
20029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20032 for flag in $(EXTRA_HOST_FLAGS) ; do \
20033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20035 echo "Doing distclean in texinfo" ; \
20036 (cd $(HOST_SUBDIR)/texinfo && \
20037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20039 "RANLIB=$${RANLIB}" \
20040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20046 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
20047 maybe-maintainer-clean-texinfo:
20049 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
20051 maintainer-clean-texinfo:
20052 @[ -f ./texinfo/Makefile ] || exit 0; \
20053 r=`${PWD_COMMAND}`; export r; \
20054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20057 for flag in $(EXTRA_HOST_FLAGS) ; do \
20058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20060 echo "Doing maintainer-clean in texinfo" ; \
20061 (cd $(HOST_SUBDIR)/texinfo && \
20062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20064 "RANLIB=$${RANLIB}" \
20065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20066 maintainer-clean) \
20072 .PHONY: configure-textutils maybe-configure-textutils
20073 maybe-configure-textutils:
20075 maybe-configure-textutils: configure-textutils
20076 configure-textutils:
20077 @test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
20078 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
20079 r=`${PWD_COMMAND}`; export r; \
20080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20082 echo Configuring in textutils; \
20083 cd $(HOST_SUBDIR)/textutils || exit 1; \
20084 case $(srcdir) in \
20085 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20086 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
20087 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20089 srcdiroption="--srcdir=$${topdir}/textutils"; \
20090 libsrcdir="$$s/textutils"; \
20091 $(SHELL) $${libsrcdir}/configure \
20092 $(HOST_CONFIGARGS) $${srcdiroption} \
20096 .PHONY: all-textutils maybe-all-textutils
20097 maybe-all-textutils:
20099 TARGET-textutils=all
20100 maybe-all-textutils: all-textutils
20101 all-textutils: configure-textutils
20102 @r=`${PWD_COMMAND}`; export r; \
20103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20106 (cd $(HOST_SUBDIR)/textutils && \
20107 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
20110 .PHONY: check-textutils maybe-check-textutils
20111 maybe-check-textutils:
20113 maybe-check-textutils: check-textutils
20116 @r=`${PWD_COMMAND}`; export r; \
20117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20120 (cd $(HOST_SUBDIR)/textutils && \
20121 $(MAKE) $(FLAGS_TO_PASS) check)
20125 .PHONY: install-textutils maybe-install-textutils
20126 maybe-install-textutils:
20128 maybe-install-textutils: install-textutils
20130 install-textutils: installdirs
20131 @r=`${PWD_COMMAND}`; export r; \
20132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20135 (cd $(HOST_SUBDIR)/textutils && \
20136 $(MAKE) $(FLAGS_TO_PASS) install)
20140 # Other targets (info, dvi, etc.)
20142 .PHONY: maybe-info-textutils info-textutils
20143 maybe-info-textutils:
20145 maybe-info-textutils: info-textutils
20148 configure-textutils
20149 @[ -f ./textutils/Makefile ] || exit 0; \
20150 r=`${PWD_COMMAND}`; export r; \
20151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20154 for flag in $(EXTRA_HOST_FLAGS) ; do \
20155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20157 echo "Doing info in textutils" ; \
20158 (cd $(HOST_SUBDIR)/textutils && \
20159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20161 "RANLIB=$${RANLIB}" \
20162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20168 .PHONY: maybe-dvi-textutils dvi-textutils
20169 maybe-dvi-textutils:
20171 maybe-dvi-textutils: dvi-textutils
20174 configure-textutils
20175 @[ -f ./textutils/Makefile ] || exit 0; \
20176 r=`${PWD_COMMAND}`; export r; \
20177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20180 for flag in $(EXTRA_HOST_FLAGS) ; do \
20181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20183 echo "Doing dvi in textutils" ; \
20184 (cd $(HOST_SUBDIR)/textutils && \
20185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20187 "RANLIB=$${RANLIB}" \
20188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20194 .PHONY: maybe-html-textutils html-textutils
20195 maybe-html-textutils:
20197 maybe-html-textutils: html-textutils
20200 configure-textutils
20201 @[ -f ./textutils/Makefile ] || exit 0; \
20202 r=`${PWD_COMMAND}`; export r; \
20203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20206 for flag in $(EXTRA_HOST_FLAGS) ; do \
20207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20209 echo "Doing html in textutils" ; \
20210 (cd $(HOST_SUBDIR)/textutils && \
20211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20213 "RANLIB=$${RANLIB}" \
20214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20220 .PHONY: maybe-TAGS-textutils TAGS-textutils
20221 maybe-TAGS-textutils:
20223 maybe-TAGS-textutils: TAGS-textutils
20226 configure-textutils
20227 @[ -f ./textutils/Makefile ] || exit 0; \
20228 r=`${PWD_COMMAND}`; export r; \
20229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20232 for flag in $(EXTRA_HOST_FLAGS) ; do \
20233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20235 echo "Doing TAGS in textutils" ; \
20236 (cd $(HOST_SUBDIR)/textutils && \
20237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20239 "RANLIB=$${RANLIB}" \
20240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20246 .PHONY: maybe-install-info-textutils install-info-textutils
20247 maybe-install-info-textutils:
20249 maybe-install-info-textutils: install-info-textutils
20251 install-info-textutils: \
20252 configure-textutils \
20254 @[ -f ./textutils/Makefile ] || exit 0; \
20255 r=`${PWD_COMMAND}`; export r; \
20256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20259 for flag in $(EXTRA_HOST_FLAGS) ; do \
20260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20262 echo "Doing install-info in textutils" ; \
20263 (cd $(HOST_SUBDIR)/textutils && \
20264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20266 "RANLIB=$${RANLIB}" \
20267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20273 .PHONY: maybe-installcheck-textutils installcheck-textutils
20274 maybe-installcheck-textutils:
20276 maybe-installcheck-textutils: installcheck-textutils
20278 installcheck-textutils: \
20279 configure-textutils
20280 @[ -f ./textutils/Makefile ] || exit 0; \
20281 r=`${PWD_COMMAND}`; export r; \
20282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20285 for flag in $(EXTRA_HOST_FLAGS) ; do \
20286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20288 echo "Doing installcheck in textutils" ; \
20289 (cd $(HOST_SUBDIR)/textutils && \
20290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20292 "RANLIB=$${RANLIB}" \
20293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20299 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
20300 maybe-mostlyclean-textutils:
20302 maybe-mostlyclean-textutils: mostlyclean-textutils
20304 mostlyclean-textutils:
20305 @[ -f ./textutils/Makefile ] || exit 0; \
20306 r=`${PWD_COMMAND}`; export r; \
20307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20310 for flag in $(EXTRA_HOST_FLAGS) ; do \
20311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20313 echo "Doing mostlyclean in textutils" ; \
20314 (cd $(HOST_SUBDIR)/textutils && \
20315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20317 "RANLIB=$${RANLIB}" \
20318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20324 .PHONY: maybe-clean-textutils clean-textutils
20325 maybe-clean-textutils:
20327 maybe-clean-textutils: clean-textutils
20330 @[ -f ./textutils/Makefile ] || exit 0; \
20331 r=`${PWD_COMMAND}`; export r; \
20332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20335 for flag in $(EXTRA_HOST_FLAGS) ; do \
20336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20338 echo "Doing clean in textutils" ; \
20339 (cd $(HOST_SUBDIR)/textutils && \
20340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20342 "RANLIB=$${RANLIB}" \
20343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20349 .PHONY: maybe-distclean-textutils distclean-textutils
20350 maybe-distclean-textutils:
20352 maybe-distclean-textutils: distclean-textutils
20354 distclean-textutils:
20355 @[ -f ./textutils/Makefile ] || exit 0; \
20356 r=`${PWD_COMMAND}`; export r; \
20357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20360 for flag in $(EXTRA_HOST_FLAGS) ; do \
20361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20363 echo "Doing distclean in textutils" ; \
20364 (cd $(HOST_SUBDIR)/textutils && \
20365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20367 "RANLIB=$${RANLIB}" \
20368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20374 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
20375 maybe-maintainer-clean-textutils:
20377 maybe-maintainer-clean-textutils: maintainer-clean-textutils
20379 maintainer-clean-textutils:
20380 @[ -f ./textutils/Makefile ] || exit 0; \
20381 r=`${PWD_COMMAND}`; export r; \
20382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20385 for flag in $(EXTRA_HOST_FLAGS) ; do \
20386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20388 echo "Doing maintainer-clean in textutils" ; \
20389 (cd $(HOST_SUBDIR)/textutils && \
20390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20392 "RANLIB=$${RANLIB}" \
20393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20394 maintainer-clean) \
20400 .PHONY: configure-time maybe-configure-time
20401 maybe-configure-time:
20403 maybe-configure-time: configure-time
20405 @test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
20406 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
20407 r=`${PWD_COMMAND}`; export r; \
20408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20410 echo Configuring in time; \
20411 cd $(HOST_SUBDIR)/time || exit 1; \
20412 case $(srcdir) in \
20413 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20414 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
20415 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20417 srcdiroption="--srcdir=$${topdir}/time"; \
20418 libsrcdir="$$s/time"; \
20419 $(SHELL) $${libsrcdir}/configure \
20420 $(HOST_CONFIGARGS) $${srcdiroption} \
20424 .PHONY: all-time maybe-all-time
20428 maybe-all-time: all-time
20429 all-time: configure-time
20430 @r=`${PWD_COMMAND}`; export r; \
20431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20434 (cd $(HOST_SUBDIR)/time && \
20435 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
20438 .PHONY: check-time maybe-check-time
20441 maybe-check-time: check-time
20444 @r=`${PWD_COMMAND}`; export r; \
20445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20448 (cd $(HOST_SUBDIR)/time && \
20449 $(MAKE) $(FLAGS_TO_PASS) check)
20453 .PHONY: install-time maybe-install-time
20454 maybe-install-time:
20456 maybe-install-time: install-time
20458 install-time: installdirs
20459 @r=`${PWD_COMMAND}`; export r; \
20460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20463 (cd $(HOST_SUBDIR)/time && \
20464 $(MAKE) $(FLAGS_TO_PASS) install)
20468 # Other targets (info, dvi, etc.)
20470 .PHONY: maybe-info-time info-time
20473 maybe-info-time: info-time
20477 @[ -f ./time/Makefile ] || exit 0; \
20478 r=`${PWD_COMMAND}`; export r; \
20479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20482 for flag in $(EXTRA_HOST_FLAGS) ; do \
20483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20485 echo "Doing info in time" ; \
20486 (cd $(HOST_SUBDIR)/time && \
20487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20489 "RANLIB=$${RANLIB}" \
20490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20496 .PHONY: maybe-dvi-time dvi-time
20499 maybe-dvi-time: dvi-time
20503 @[ -f ./time/Makefile ] || exit 0; \
20504 r=`${PWD_COMMAND}`; export r; \
20505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20508 for flag in $(EXTRA_HOST_FLAGS) ; do \
20509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20511 echo "Doing dvi in time" ; \
20512 (cd $(HOST_SUBDIR)/time && \
20513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20515 "RANLIB=$${RANLIB}" \
20516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20522 .PHONY: maybe-html-time html-time
20525 maybe-html-time: html-time
20529 @[ -f ./time/Makefile ] || exit 0; \
20530 r=`${PWD_COMMAND}`; export r; \
20531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20534 for flag in $(EXTRA_HOST_FLAGS) ; do \
20535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20537 echo "Doing html in time" ; \
20538 (cd $(HOST_SUBDIR)/time && \
20539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20541 "RANLIB=$${RANLIB}" \
20542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20548 .PHONY: maybe-TAGS-time TAGS-time
20551 maybe-TAGS-time: TAGS-time
20555 @[ -f ./time/Makefile ] || exit 0; \
20556 r=`${PWD_COMMAND}`; export r; \
20557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20560 for flag in $(EXTRA_HOST_FLAGS) ; do \
20561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20563 echo "Doing TAGS in time" ; \
20564 (cd $(HOST_SUBDIR)/time && \
20565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20567 "RANLIB=$${RANLIB}" \
20568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20574 .PHONY: maybe-install-info-time install-info-time
20575 maybe-install-info-time:
20577 maybe-install-info-time: install-info-time
20579 install-info-time: \
20582 @[ -f ./time/Makefile ] || exit 0; \
20583 r=`${PWD_COMMAND}`; export r; \
20584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20587 for flag in $(EXTRA_HOST_FLAGS) ; do \
20588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20590 echo "Doing install-info in time" ; \
20591 (cd $(HOST_SUBDIR)/time && \
20592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20594 "RANLIB=$${RANLIB}" \
20595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20601 .PHONY: maybe-installcheck-time installcheck-time
20602 maybe-installcheck-time:
20604 maybe-installcheck-time: installcheck-time
20606 installcheck-time: \
20608 @[ -f ./time/Makefile ] || exit 0; \
20609 r=`${PWD_COMMAND}`; export r; \
20610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20613 for flag in $(EXTRA_HOST_FLAGS) ; do \
20614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20616 echo "Doing installcheck in time" ; \
20617 (cd $(HOST_SUBDIR)/time && \
20618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20620 "RANLIB=$${RANLIB}" \
20621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20627 .PHONY: maybe-mostlyclean-time mostlyclean-time
20628 maybe-mostlyclean-time:
20630 maybe-mostlyclean-time: mostlyclean-time
20633 @[ -f ./time/Makefile ] || exit 0; \
20634 r=`${PWD_COMMAND}`; export r; \
20635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20638 for flag in $(EXTRA_HOST_FLAGS) ; do \
20639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20641 echo "Doing mostlyclean in time" ; \
20642 (cd $(HOST_SUBDIR)/time && \
20643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20645 "RANLIB=$${RANLIB}" \
20646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20652 .PHONY: maybe-clean-time clean-time
20655 maybe-clean-time: clean-time
20658 @[ -f ./time/Makefile ] || exit 0; \
20659 r=`${PWD_COMMAND}`; export r; \
20660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20663 for flag in $(EXTRA_HOST_FLAGS) ; do \
20664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20666 echo "Doing clean in time" ; \
20667 (cd $(HOST_SUBDIR)/time && \
20668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20670 "RANLIB=$${RANLIB}" \
20671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20677 .PHONY: maybe-distclean-time distclean-time
20678 maybe-distclean-time:
20680 maybe-distclean-time: distclean-time
20683 @[ -f ./time/Makefile ] || exit 0; \
20684 r=`${PWD_COMMAND}`; export r; \
20685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20688 for flag in $(EXTRA_HOST_FLAGS) ; do \
20689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20691 echo "Doing distclean in time" ; \
20692 (cd $(HOST_SUBDIR)/time && \
20693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20695 "RANLIB=$${RANLIB}" \
20696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20702 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
20703 maybe-maintainer-clean-time:
20705 maybe-maintainer-clean-time: maintainer-clean-time
20707 maintainer-clean-time:
20708 @[ -f ./time/Makefile ] || exit 0; \
20709 r=`${PWD_COMMAND}`; export r; \
20710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20713 for flag in $(EXTRA_HOST_FLAGS) ; do \
20714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20716 echo "Doing maintainer-clean in time" ; \
20717 (cd $(HOST_SUBDIR)/time && \
20718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20720 "RANLIB=$${RANLIB}" \
20721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20722 maintainer-clean) \
20728 .PHONY: configure-uudecode maybe-configure-uudecode
20729 maybe-configure-uudecode:
20731 maybe-configure-uudecode: configure-uudecode
20732 configure-uudecode:
20733 @test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
20734 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
20735 r=`${PWD_COMMAND}`; export r; \
20736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20738 echo Configuring in uudecode; \
20739 cd $(HOST_SUBDIR)/uudecode || exit 1; \
20740 case $(srcdir) in \
20741 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20742 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
20743 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20745 srcdiroption="--srcdir=$${topdir}/uudecode"; \
20746 libsrcdir="$$s/uudecode"; \
20747 $(SHELL) $${libsrcdir}/configure \
20748 $(HOST_CONFIGARGS) $${srcdiroption} \
20752 .PHONY: all-uudecode maybe-all-uudecode
20753 maybe-all-uudecode:
20755 TARGET-uudecode=all
20756 maybe-all-uudecode: all-uudecode
20757 all-uudecode: configure-uudecode
20758 @r=`${PWD_COMMAND}`; export r; \
20759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20762 (cd $(HOST_SUBDIR)/uudecode && \
20763 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
20766 .PHONY: check-uudecode maybe-check-uudecode
20767 maybe-check-uudecode:
20769 maybe-check-uudecode: check-uudecode
20772 @r=`${PWD_COMMAND}`; export r; \
20773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20776 (cd $(HOST_SUBDIR)/uudecode && \
20777 $(MAKE) $(FLAGS_TO_PASS) check)
20781 .PHONY: install-uudecode maybe-install-uudecode
20782 maybe-install-uudecode:
20784 maybe-install-uudecode: install-uudecode
20786 install-uudecode: installdirs
20787 @r=`${PWD_COMMAND}`; export r; \
20788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20791 (cd $(HOST_SUBDIR)/uudecode && \
20792 $(MAKE) $(FLAGS_TO_PASS) install)
20796 # Other targets (info, dvi, etc.)
20798 .PHONY: maybe-info-uudecode info-uudecode
20799 maybe-info-uudecode:
20801 maybe-info-uudecode: info-uudecode
20805 @[ -f ./uudecode/Makefile ] || exit 0; \
20806 r=`${PWD_COMMAND}`; export r; \
20807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20810 for flag in $(EXTRA_HOST_FLAGS) ; do \
20811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20813 echo "Doing info in uudecode" ; \
20814 (cd $(HOST_SUBDIR)/uudecode && \
20815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20817 "RANLIB=$${RANLIB}" \
20818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20824 .PHONY: maybe-dvi-uudecode dvi-uudecode
20825 maybe-dvi-uudecode:
20827 maybe-dvi-uudecode: dvi-uudecode
20831 @[ -f ./uudecode/Makefile ] || exit 0; \
20832 r=`${PWD_COMMAND}`; export r; \
20833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20836 for flag in $(EXTRA_HOST_FLAGS) ; do \
20837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20839 echo "Doing dvi in uudecode" ; \
20840 (cd $(HOST_SUBDIR)/uudecode && \
20841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20843 "RANLIB=$${RANLIB}" \
20844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20850 .PHONY: maybe-html-uudecode html-uudecode
20851 maybe-html-uudecode:
20853 maybe-html-uudecode: html-uudecode
20857 @[ -f ./uudecode/Makefile ] || exit 0; \
20858 r=`${PWD_COMMAND}`; export r; \
20859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20862 for flag in $(EXTRA_HOST_FLAGS) ; do \
20863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20865 echo "Doing html in uudecode" ; \
20866 (cd $(HOST_SUBDIR)/uudecode && \
20867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20869 "RANLIB=$${RANLIB}" \
20870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20876 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
20877 maybe-TAGS-uudecode:
20879 maybe-TAGS-uudecode: TAGS-uudecode
20883 @[ -f ./uudecode/Makefile ] || exit 0; \
20884 r=`${PWD_COMMAND}`; export r; \
20885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20888 for flag in $(EXTRA_HOST_FLAGS) ; do \
20889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20891 echo "Doing TAGS in uudecode" ; \
20892 (cd $(HOST_SUBDIR)/uudecode && \
20893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20895 "RANLIB=$${RANLIB}" \
20896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20902 .PHONY: maybe-install-info-uudecode install-info-uudecode
20903 maybe-install-info-uudecode:
20905 maybe-install-info-uudecode: install-info-uudecode
20907 install-info-uudecode: \
20908 configure-uudecode \
20910 @[ -f ./uudecode/Makefile ] || exit 0; \
20911 r=`${PWD_COMMAND}`; export r; \
20912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20915 for flag in $(EXTRA_HOST_FLAGS) ; do \
20916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20918 echo "Doing install-info in uudecode" ; \
20919 (cd $(HOST_SUBDIR)/uudecode && \
20920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20922 "RANLIB=$${RANLIB}" \
20923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20929 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
20930 maybe-installcheck-uudecode:
20932 maybe-installcheck-uudecode: installcheck-uudecode
20934 installcheck-uudecode: \
20936 @[ -f ./uudecode/Makefile ] || exit 0; \
20937 r=`${PWD_COMMAND}`; export r; \
20938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20941 for flag in $(EXTRA_HOST_FLAGS) ; do \
20942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20944 echo "Doing installcheck in uudecode" ; \
20945 (cd $(HOST_SUBDIR)/uudecode && \
20946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20948 "RANLIB=$${RANLIB}" \
20949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20955 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
20956 maybe-mostlyclean-uudecode:
20958 maybe-mostlyclean-uudecode: mostlyclean-uudecode
20960 mostlyclean-uudecode:
20961 @[ -f ./uudecode/Makefile ] || exit 0; \
20962 r=`${PWD_COMMAND}`; export r; \
20963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20966 for flag in $(EXTRA_HOST_FLAGS) ; do \
20967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20969 echo "Doing mostlyclean in uudecode" ; \
20970 (cd $(HOST_SUBDIR)/uudecode && \
20971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20973 "RANLIB=$${RANLIB}" \
20974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20980 .PHONY: maybe-clean-uudecode clean-uudecode
20981 maybe-clean-uudecode:
20983 maybe-clean-uudecode: clean-uudecode
20986 @[ -f ./uudecode/Makefile ] || exit 0; \
20987 r=`${PWD_COMMAND}`; export r; \
20988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20991 for flag in $(EXTRA_HOST_FLAGS) ; do \
20992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20994 echo "Doing clean in uudecode" ; \
20995 (cd $(HOST_SUBDIR)/uudecode && \
20996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20998 "RANLIB=$${RANLIB}" \
20999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21005 .PHONY: maybe-distclean-uudecode distclean-uudecode
21006 maybe-distclean-uudecode:
21008 maybe-distclean-uudecode: distclean-uudecode
21010 distclean-uudecode:
21011 @[ -f ./uudecode/Makefile ] || exit 0; \
21012 r=`${PWD_COMMAND}`; export r; \
21013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21016 for flag in $(EXTRA_HOST_FLAGS) ; do \
21017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21019 echo "Doing distclean in uudecode" ; \
21020 (cd $(HOST_SUBDIR)/uudecode && \
21021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21023 "RANLIB=$${RANLIB}" \
21024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21030 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
21031 maybe-maintainer-clean-uudecode:
21033 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
21035 maintainer-clean-uudecode:
21036 @[ -f ./uudecode/Makefile ] || exit 0; \
21037 r=`${PWD_COMMAND}`; export r; \
21038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21041 for flag in $(EXTRA_HOST_FLAGS) ; do \
21042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21044 echo "Doing maintainer-clean in uudecode" ; \
21045 (cd $(HOST_SUBDIR)/uudecode && \
21046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21048 "RANLIB=$${RANLIB}" \
21049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21050 maintainer-clean) \
21056 .PHONY: configure-wdiff maybe-configure-wdiff
21057 maybe-configure-wdiff:
21059 maybe-configure-wdiff: configure-wdiff
21061 @test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
21062 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
21063 r=`${PWD_COMMAND}`; export r; \
21064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21066 echo Configuring in wdiff; \
21067 cd $(HOST_SUBDIR)/wdiff || exit 1; \
21068 case $(srcdir) in \
21069 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21070 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
21071 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21073 srcdiroption="--srcdir=$${topdir}/wdiff"; \
21074 libsrcdir="$$s/wdiff"; \
21075 $(SHELL) $${libsrcdir}/configure \
21076 $(HOST_CONFIGARGS) $${srcdiroption} \
21080 .PHONY: all-wdiff maybe-all-wdiff
21084 maybe-all-wdiff: all-wdiff
21085 all-wdiff: configure-wdiff
21086 @r=`${PWD_COMMAND}`; export r; \
21087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21090 (cd $(HOST_SUBDIR)/wdiff && \
21091 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
21094 .PHONY: check-wdiff maybe-check-wdiff
21097 maybe-check-wdiff: check-wdiff
21100 @r=`${PWD_COMMAND}`; export r; \
21101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21104 (cd $(HOST_SUBDIR)/wdiff && \
21105 $(MAKE) $(FLAGS_TO_PASS) check)
21109 .PHONY: install-wdiff maybe-install-wdiff
21110 maybe-install-wdiff:
21112 maybe-install-wdiff: install-wdiff
21114 install-wdiff: installdirs
21115 @r=`${PWD_COMMAND}`; export r; \
21116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21119 (cd $(HOST_SUBDIR)/wdiff && \
21120 $(MAKE) $(FLAGS_TO_PASS) install)
21124 # Other targets (info, dvi, etc.)
21126 .PHONY: maybe-info-wdiff info-wdiff
21129 maybe-info-wdiff: info-wdiff
21133 @[ -f ./wdiff/Makefile ] || exit 0; \
21134 r=`${PWD_COMMAND}`; export r; \
21135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21138 for flag in $(EXTRA_HOST_FLAGS) ; do \
21139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21141 echo "Doing info in wdiff" ; \
21142 (cd $(HOST_SUBDIR)/wdiff && \
21143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21145 "RANLIB=$${RANLIB}" \
21146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21152 .PHONY: maybe-dvi-wdiff dvi-wdiff
21155 maybe-dvi-wdiff: dvi-wdiff
21159 @[ -f ./wdiff/Makefile ] || exit 0; \
21160 r=`${PWD_COMMAND}`; export r; \
21161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21164 for flag in $(EXTRA_HOST_FLAGS) ; do \
21165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21167 echo "Doing dvi in wdiff" ; \
21168 (cd $(HOST_SUBDIR)/wdiff && \
21169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21171 "RANLIB=$${RANLIB}" \
21172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21178 .PHONY: maybe-html-wdiff html-wdiff
21181 maybe-html-wdiff: html-wdiff
21185 @[ -f ./wdiff/Makefile ] || exit 0; \
21186 r=`${PWD_COMMAND}`; export r; \
21187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21190 for flag in $(EXTRA_HOST_FLAGS) ; do \
21191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21193 echo "Doing html in wdiff" ; \
21194 (cd $(HOST_SUBDIR)/wdiff && \
21195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21197 "RANLIB=$${RANLIB}" \
21198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21204 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
21207 maybe-TAGS-wdiff: TAGS-wdiff
21211 @[ -f ./wdiff/Makefile ] || exit 0; \
21212 r=`${PWD_COMMAND}`; export r; \
21213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21216 for flag in $(EXTRA_HOST_FLAGS) ; do \
21217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21219 echo "Doing TAGS in wdiff" ; \
21220 (cd $(HOST_SUBDIR)/wdiff && \
21221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21223 "RANLIB=$${RANLIB}" \
21224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21230 .PHONY: maybe-install-info-wdiff install-info-wdiff
21231 maybe-install-info-wdiff:
21233 maybe-install-info-wdiff: install-info-wdiff
21235 install-info-wdiff: \
21238 @[ -f ./wdiff/Makefile ] || exit 0; \
21239 r=`${PWD_COMMAND}`; export r; \
21240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21243 for flag in $(EXTRA_HOST_FLAGS) ; do \
21244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21246 echo "Doing install-info in wdiff" ; \
21247 (cd $(HOST_SUBDIR)/wdiff && \
21248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21250 "RANLIB=$${RANLIB}" \
21251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21257 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
21258 maybe-installcheck-wdiff:
21260 maybe-installcheck-wdiff: installcheck-wdiff
21262 installcheck-wdiff: \
21264 @[ -f ./wdiff/Makefile ] || exit 0; \
21265 r=`${PWD_COMMAND}`; export r; \
21266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21269 for flag in $(EXTRA_HOST_FLAGS) ; do \
21270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21272 echo "Doing installcheck in wdiff" ; \
21273 (cd $(HOST_SUBDIR)/wdiff && \
21274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21276 "RANLIB=$${RANLIB}" \
21277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21283 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
21284 maybe-mostlyclean-wdiff:
21286 maybe-mostlyclean-wdiff: mostlyclean-wdiff
21289 @[ -f ./wdiff/Makefile ] || exit 0; \
21290 r=`${PWD_COMMAND}`; export r; \
21291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21294 for flag in $(EXTRA_HOST_FLAGS) ; do \
21295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21297 echo "Doing mostlyclean in wdiff" ; \
21298 (cd $(HOST_SUBDIR)/wdiff && \
21299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21301 "RANLIB=$${RANLIB}" \
21302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21308 .PHONY: maybe-clean-wdiff clean-wdiff
21311 maybe-clean-wdiff: clean-wdiff
21314 @[ -f ./wdiff/Makefile ] || exit 0; \
21315 r=`${PWD_COMMAND}`; export r; \
21316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21319 for flag in $(EXTRA_HOST_FLAGS) ; do \
21320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21322 echo "Doing clean in wdiff" ; \
21323 (cd $(HOST_SUBDIR)/wdiff && \
21324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21326 "RANLIB=$${RANLIB}" \
21327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21333 .PHONY: maybe-distclean-wdiff distclean-wdiff
21334 maybe-distclean-wdiff:
21336 maybe-distclean-wdiff: distclean-wdiff
21339 @[ -f ./wdiff/Makefile ] || exit 0; \
21340 r=`${PWD_COMMAND}`; export r; \
21341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21344 for flag in $(EXTRA_HOST_FLAGS) ; do \
21345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21347 echo "Doing distclean in wdiff" ; \
21348 (cd $(HOST_SUBDIR)/wdiff && \
21349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21351 "RANLIB=$${RANLIB}" \
21352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21358 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
21359 maybe-maintainer-clean-wdiff:
21361 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
21363 maintainer-clean-wdiff:
21364 @[ -f ./wdiff/Makefile ] || exit 0; \
21365 r=`${PWD_COMMAND}`; export r; \
21366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21369 for flag in $(EXTRA_HOST_FLAGS) ; do \
21370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21372 echo "Doing maintainer-clean in wdiff" ; \
21373 (cd $(HOST_SUBDIR)/wdiff && \
21374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21376 "RANLIB=$${RANLIB}" \
21377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21378 maintainer-clean) \
21384 .PHONY: configure-zip maybe-configure-zip
21385 maybe-configure-zip:
21387 maybe-configure-zip: configure-zip
21389 @test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
21390 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
21391 r=`${PWD_COMMAND}`; export r; \
21392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21394 echo Configuring in zip; \
21395 cd $(HOST_SUBDIR)/zip || exit 1; \
21396 case $(srcdir) in \
21397 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21398 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
21399 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21401 srcdiroption="--srcdir=$${topdir}/zip"; \
21402 libsrcdir="$$s/zip"; \
21403 $(SHELL) $${libsrcdir}/configure \
21404 $(HOST_CONFIGARGS) $${srcdiroption} \
21408 .PHONY: all-zip maybe-all-zip
21412 maybe-all-zip: all-zip
21413 all-zip: configure-zip
21414 @r=`${PWD_COMMAND}`; export r; \
21415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21418 (cd $(HOST_SUBDIR)/zip && \
21419 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
21422 .PHONY: check-zip maybe-check-zip
21425 maybe-check-zip: check-zip
21427 # This module is only tested in a native toolchain.
21429 @if [ '$(host)' = '$(target)' ] ; then \
21430 r=`${PWD_COMMAND}`; export r; \
21431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21434 (cd $(HOST_SUBDIR)/zip && \
21435 $(MAKE) $(FLAGS_TO_PASS) check); \
21440 .PHONY: install-zip maybe-install-zip
21443 maybe-install-zip: install-zip
21445 install-zip: installdirs
21446 @r=`${PWD_COMMAND}`; export r; \
21447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21450 (cd $(HOST_SUBDIR)/zip && \
21451 $(MAKE) $(FLAGS_TO_PASS) install)
21455 # Other targets (info, dvi, etc.)
21457 .PHONY: maybe-info-zip info-zip
21460 maybe-info-zip: info-zip
21464 @[ -f ./zip/Makefile ] || exit 0; \
21465 r=`${PWD_COMMAND}`; export r; \
21466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21469 for flag in $(EXTRA_HOST_FLAGS) ; do \
21470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21472 echo "Doing info in zip" ; \
21473 (cd $(HOST_SUBDIR)/zip && \
21474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21476 "RANLIB=$${RANLIB}" \
21477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21483 .PHONY: maybe-dvi-zip dvi-zip
21486 maybe-dvi-zip: dvi-zip
21490 @[ -f ./zip/Makefile ] || exit 0; \
21491 r=`${PWD_COMMAND}`; export r; \
21492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21495 for flag in $(EXTRA_HOST_FLAGS) ; do \
21496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21498 echo "Doing dvi in zip" ; \
21499 (cd $(HOST_SUBDIR)/zip && \
21500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21502 "RANLIB=$${RANLIB}" \
21503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21509 .PHONY: maybe-html-zip html-zip
21512 maybe-html-zip: html-zip
21516 @[ -f ./zip/Makefile ] || exit 0; \
21517 r=`${PWD_COMMAND}`; export r; \
21518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21521 for flag in $(EXTRA_HOST_FLAGS) ; do \
21522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21524 echo "Doing html in zip" ; \
21525 (cd $(HOST_SUBDIR)/zip && \
21526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21528 "RANLIB=$${RANLIB}" \
21529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21535 .PHONY: maybe-TAGS-zip TAGS-zip
21538 maybe-TAGS-zip: TAGS-zip
21542 @[ -f ./zip/Makefile ] || exit 0; \
21543 r=`${PWD_COMMAND}`; export r; \
21544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21547 for flag in $(EXTRA_HOST_FLAGS) ; do \
21548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21550 echo "Doing TAGS in zip" ; \
21551 (cd $(HOST_SUBDIR)/zip && \
21552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21554 "RANLIB=$${RANLIB}" \
21555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21561 .PHONY: maybe-install-info-zip install-info-zip
21562 maybe-install-info-zip:
21564 maybe-install-info-zip: install-info-zip
21566 install-info-zip: \
21569 @[ -f ./zip/Makefile ] || exit 0; \
21570 r=`${PWD_COMMAND}`; export r; \
21571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21574 for flag in $(EXTRA_HOST_FLAGS) ; do \
21575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21577 echo "Doing install-info in zip" ; \
21578 (cd $(HOST_SUBDIR)/zip && \
21579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21581 "RANLIB=$${RANLIB}" \
21582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21588 .PHONY: maybe-installcheck-zip installcheck-zip
21589 maybe-installcheck-zip:
21591 maybe-installcheck-zip: installcheck-zip
21593 installcheck-zip: \
21595 @[ -f ./zip/Makefile ] || exit 0; \
21596 r=`${PWD_COMMAND}`; export r; \
21597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21600 for flag in $(EXTRA_HOST_FLAGS) ; do \
21601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21603 echo "Doing installcheck in zip" ; \
21604 (cd $(HOST_SUBDIR)/zip && \
21605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21607 "RANLIB=$${RANLIB}" \
21608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21614 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
21615 maybe-mostlyclean-zip:
21617 maybe-mostlyclean-zip: mostlyclean-zip
21620 @[ -f ./zip/Makefile ] || exit 0; \
21621 r=`${PWD_COMMAND}`; export r; \
21622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21625 for flag in $(EXTRA_HOST_FLAGS) ; do \
21626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21628 echo "Doing mostlyclean in zip" ; \
21629 (cd $(HOST_SUBDIR)/zip && \
21630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21632 "RANLIB=$${RANLIB}" \
21633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21639 .PHONY: maybe-clean-zip clean-zip
21642 maybe-clean-zip: clean-zip
21645 @[ -f ./zip/Makefile ] || exit 0; \
21646 r=`${PWD_COMMAND}`; export r; \
21647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21650 for flag in $(EXTRA_HOST_FLAGS) ; do \
21651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21653 echo "Doing clean in zip" ; \
21654 (cd $(HOST_SUBDIR)/zip && \
21655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21657 "RANLIB=$${RANLIB}" \
21658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21664 .PHONY: maybe-distclean-zip distclean-zip
21665 maybe-distclean-zip:
21667 maybe-distclean-zip: distclean-zip
21670 @[ -f ./zip/Makefile ] || exit 0; \
21671 r=`${PWD_COMMAND}`; export r; \
21672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21675 for flag in $(EXTRA_HOST_FLAGS) ; do \
21676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21678 echo "Doing distclean in zip" ; \
21679 (cd $(HOST_SUBDIR)/zip && \
21680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21682 "RANLIB=$${RANLIB}" \
21683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21689 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
21690 maybe-maintainer-clean-zip:
21692 maybe-maintainer-clean-zip: maintainer-clean-zip
21694 maintainer-clean-zip:
21695 @[ -f ./zip/Makefile ] || exit 0; \
21696 r=`${PWD_COMMAND}`; export r; \
21697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21700 for flag in $(EXTRA_HOST_FLAGS) ; do \
21701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21703 echo "Doing maintainer-clean in zip" ; \
21704 (cd $(HOST_SUBDIR)/zip && \
21705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21707 "RANLIB=$${RANLIB}" \
21708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21709 maintainer-clean) \
21715 .PHONY: configure-zlib maybe-configure-zlib
21716 maybe-configure-zlib:
21718 maybe-configure-zlib: configure-zlib
21720 @test -f stage_last && exit 0; \
21721 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
21722 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
21723 r=`${PWD_COMMAND}`; export r; \
21724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21726 echo Configuring in zlib; \
21727 cd $(HOST_SUBDIR)/zlib || exit 1; \
21728 case $(srcdir) in \
21729 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21730 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
21731 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21733 srcdiroption="--srcdir=$${topdir}/zlib"; \
21734 libsrcdir="$$s/zlib"; \
21735 $(SHELL) $${libsrcdir}/configure \
21736 $(HOST_CONFIGARGS) $${srcdiroption} \
21740 .PHONY: all-zlib maybe-all-zlib
21744 maybe-all-zlib: all-zlib
21745 all-zlib: configure-zlib
21746 @test -f stage_last && exit 0; \
21747 r=`${PWD_COMMAND}`; export r; \
21748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21751 (cd $(HOST_SUBDIR)/zlib && \
21752 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
21755 .PHONY: check-zlib maybe-check-zlib
21758 maybe-check-zlib: check-zlib
21764 .PHONY: install-zlib maybe-install-zlib
21765 maybe-install-zlib:
21767 maybe-install-zlib: install-zlib
21773 # Other targets (info, dvi, etc.)
21775 .PHONY: maybe-info-zlib info-zlib
21778 maybe-info-zlib: info-zlib
21782 @[ -f ./zlib/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 info in zlib" ; \
21791 (cd $(HOST_SUBDIR)/zlib && \
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-dvi-zlib dvi-zlib
21804 maybe-dvi-zlib: dvi-zlib
21808 @[ -f ./zlib/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 dvi in zlib" ; \
21817 (cd $(HOST_SUBDIR)/zlib && \
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-html-zlib html-zlib
21830 maybe-html-zlib: html-zlib
21834 @[ -f ./zlib/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 html in zlib" ; \
21843 (cd $(HOST_SUBDIR)/zlib && \
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-TAGS-zlib TAGS-zlib
21856 maybe-TAGS-zlib: TAGS-zlib
21860 @[ -f ./zlib/Makefile ] || exit 0; \
21861 r=`${PWD_COMMAND}`; export r; \
21862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21865 for flag in $(EXTRA_HOST_FLAGS) ; do \
21866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21868 echo "Doing TAGS in zlib" ; \
21869 (cd $(HOST_SUBDIR)/zlib && \
21870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21872 "RANLIB=$${RANLIB}" \
21873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21879 .PHONY: maybe-install-info-zlib install-info-zlib
21880 maybe-install-info-zlib:
21882 maybe-install-info-zlib: install-info-zlib
21884 install-info-zlib: \
21887 @[ -f ./zlib/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 install-info in zlib" ; \
21896 (cd $(HOST_SUBDIR)/zlib && \
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-installcheck-zlib installcheck-zlib
21907 maybe-installcheck-zlib:
21909 maybe-installcheck-zlib: installcheck-zlib
21911 installcheck-zlib: \
21913 @[ -f ./zlib/Makefile ] || exit 0; \
21914 r=`${PWD_COMMAND}`; export r; \
21915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21918 for flag in $(EXTRA_HOST_FLAGS) ; do \
21919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21921 echo "Doing installcheck in zlib" ; \
21922 (cd $(HOST_SUBDIR)/zlib && \
21923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21925 "RANLIB=$${RANLIB}" \
21926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21932 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
21933 maybe-mostlyclean-zlib:
21935 maybe-mostlyclean-zlib: mostlyclean-zlib
21938 @[ -f ./zlib/Makefile ] || exit 0; \
21939 r=`${PWD_COMMAND}`; export r; \
21940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21943 for flag in $(EXTRA_HOST_FLAGS) ; do \
21944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21946 echo "Doing mostlyclean in zlib" ; \
21947 (cd $(HOST_SUBDIR)/zlib && \
21948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21950 "RANLIB=$${RANLIB}" \
21951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21957 .PHONY: maybe-clean-zlib clean-zlib
21960 maybe-clean-zlib: clean-zlib
21963 @[ -f ./zlib/Makefile ] || exit 0; \
21964 r=`${PWD_COMMAND}`; export r; \
21965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21968 for flag in $(EXTRA_HOST_FLAGS) ; do \
21969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21971 echo "Doing clean in zlib" ; \
21972 (cd $(HOST_SUBDIR)/zlib && \
21973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21975 "RANLIB=$${RANLIB}" \
21976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21982 .PHONY: maybe-distclean-zlib distclean-zlib
21983 maybe-distclean-zlib:
21985 maybe-distclean-zlib: distclean-zlib
21988 @[ -f ./zlib/Makefile ] || exit 0; \
21989 r=`${PWD_COMMAND}`; export r; \
21990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21993 for flag in $(EXTRA_HOST_FLAGS) ; do \
21994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21996 echo "Doing distclean in zlib" ; \
21997 (cd $(HOST_SUBDIR)/zlib && \
21998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22000 "RANLIB=$${RANLIB}" \
22001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22007 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
22008 maybe-maintainer-clean-zlib:
22010 maybe-maintainer-clean-zlib: maintainer-clean-zlib
22012 maintainer-clean-zlib:
22013 @[ -f ./zlib/Makefile ] || exit 0; \
22014 r=`${PWD_COMMAND}`; export r; \
22015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22018 for flag in $(EXTRA_HOST_FLAGS) ; do \
22019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22021 echo "Doing maintainer-clean in zlib" ; \
22022 (cd $(HOST_SUBDIR)/zlib && \
22023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22025 "RANLIB=$${RANLIB}" \
22026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22027 maintainer-clean) \
22033 .PHONY: configure-gdb maybe-configure-gdb
22034 maybe-configure-gdb:
22036 maybe-configure-gdb: configure-gdb
22038 @test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
22039 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
22040 r=`${PWD_COMMAND}`; export r; \
22041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22043 echo Configuring in gdb; \
22044 cd $(HOST_SUBDIR)/gdb || exit 1; \
22045 case $(srcdir) in \
22046 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22047 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
22048 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22050 srcdiroption="--srcdir=$${topdir}/gdb"; \
22051 libsrcdir="$$s/gdb"; \
22052 $(SHELL) $${libsrcdir}/configure \
22053 $(HOST_CONFIGARGS) $${srcdiroption} \
22057 .PHONY: all-gdb maybe-all-gdb
22061 maybe-all-gdb: all-gdb
22062 all-gdb: configure-gdb
22063 @r=`${PWD_COMMAND}`; export r; \
22064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22067 (cd $(HOST_SUBDIR)/gdb && \
22068 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
22071 .PHONY: check-gdb maybe-check-gdb
22074 maybe-check-gdb: check-gdb
22077 @r=`${PWD_COMMAND}`; export r; \
22078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22081 (cd $(HOST_SUBDIR)/gdb && \
22082 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
22086 .PHONY: install-gdb maybe-install-gdb
22089 maybe-install-gdb: install-gdb
22091 install-gdb: installdirs
22092 @r=`${PWD_COMMAND}`; export r; \
22093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22096 (cd $(HOST_SUBDIR)/gdb && \
22097 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
22101 # Other targets (info, dvi, etc.)
22103 .PHONY: maybe-info-gdb info-gdb
22106 maybe-info-gdb: info-gdb
22110 @[ -f ./gdb/Makefile ] || exit 0; \
22111 r=`${PWD_COMMAND}`; export r; \
22112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22115 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22118 echo "Doing info in gdb" ; \
22119 (cd $(HOST_SUBDIR)/gdb && \
22120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22122 "RANLIB=$${RANLIB}" \
22123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22129 .PHONY: maybe-dvi-gdb dvi-gdb
22132 maybe-dvi-gdb: dvi-gdb
22136 @[ -f ./gdb/Makefile ] || exit 0; \
22137 r=`${PWD_COMMAND}`; export r; \
22138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22141 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22144 echo "Doing dvi in gdb" ; \
22145 (cd $(HOST_SUBDIR)/gdb && \
22146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22148 "RANLIB=$${RANLIB}" \
22149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22155 .PHONY: maybe-html-gdb html-gdb
22158 maybe-html-gdb: html-gdb
22162 @[ -f ./gdb/Makefile ] || exit 0; \
22163 r=`${PWD_COMMAND}`; export r; \
22164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22167 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22170 echo "Doing html in gdb" ; \
22171 (cd $(HOST_SUBDIR)/gdb && \
22172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22174 "RANLIB=$${RANLIB}" \
22175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22181 .PHONY: maybe-TAGS-gdb TAGS-gdb
22184 maybe-TAGS-gdb: TAGS-gdb
22188 @[ -f ./gdb/Makefile ] || exit 0; \
22189 r=`${PWD_COMMAND}`; export r; \
22190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22193 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22196 echo "Doing TAGS in gdb" ; \
22197 (cd $(HOST_SUBDIR)/gdb && \
22198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22200 "RANLIB=$${RANLIB}" \
22201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22207 .PHONY: maybe-install-info-gdb install-info-gdb
22208 maybe-install-info-gdb:
22210 maybe-install-info-gdb: install-info-gdb
22212 install-info-gdb: \
22215 @[ -f ./gdb/Makefile ] || exit 0; \
22216 r=`${PWD_COMMAND}`; export r; \
22217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22220 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22223 echo "Doing install-info in gdb" ; \
22224 (cd $(HOST_SUBDIR)/gdb && \
22225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22227 "RANLIB=$${RANLIB}" \
22228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22234 .PHONY: maybe-installcheck-gdb installcheck-gdb
22235 maybe-installcheck-gdb:
22237 maybe-installcheck-gdb: installcheck-gdb
22239 installcheck-gdb: \
22241 @[ -f ./gdb/Makefile ] || exit 0; \
22242 r=`${PWD_COMMAND}`; export r; \
22243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22246 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22249 echo "Doing installcheck in gdb" ; \
22250 (cd $(HOST_SUBDIR)/gdb && \
22251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22253 "RANLIB=$${RANLIB}" \
22254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22260 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
22261 maybe-mostlyclean-gdb:
22263 maybe-mostlyclean-gdb: mostlyclean-gdb
22266 @[ -f ./gdb/Makefile ] || exit 0; \
22267 r=`${PWD_COMMAND}`; export r; \
22268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22271 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22274 echo "Doing mostlyclean in gdb" ; \
22275 (cd $(HOST_SUBDIR)/gdb && \
22276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22278 "RANLIB=$${RANLIB}" \
22279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22285 .PHONY: maybe-clean-gdb clean-gdb
22288 maybe-clean-gdb: clean-gdb
22291 @[ -f ./gdb/Makefile ] || exit 0; \
22292 r=`${PWD_COMMAND}`; export r; \
22293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22296 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22299 echo "Doing clean in gdb" ; \
22300 (cd $(HOST_SUBDIR)/gdb && \
22301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22303 "RANLIB=$${RANLIB}" \
22304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22310 .PHONY: maybe-distclean-gdb distclean-gdb
22311 maybe-distclean-gdb:
22313 maybe-distclean-gdb: distclean-gdb
22316 @[ -f ./gdb/Makefile ] || exit 0; \
22317 r=`${PWD_COMMAND}`; export r; \
22318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22321 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22324 echo "Doing distclean in gdb" ; \
22325 (cd $(HOST_SUBDIR)/gdb && \
22326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22328 "RANLIB=$${RANLIB}" \
22329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22335 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
22336 maybe-maintainer-clean-gdb:
22338 maybe-maintainer-clean-gdb: maintainer-clean-gdb
22340 maintainer-clean-gdb:
22341 @[ -f ./gdb/Makefile ] || exit 0; \
22342 r=`${PWD_COMMAND}`; export r; \
22343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22346 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22349 echo "Doing maintainer-clean in gdb" ; \
22350 (cd $(HOST_SUBDIR)/gdb && \
22351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22353 "RANLIB=$${RANLIB}" \
22354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22355 maintainer-clean) \
22361 .PHONY: configure-expect maybe-configure-expect
22362 maybe-configure-expect:
22364 maybe-configure-expect: configure-expect
22366 @test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
22367 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
22368 r=`${PWD_COMMAND}`; export r; \
22369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22371 echo Configuring in expect; \
22372 cd $(HOST_SUBDIR)/expect || exit 1; \
22373 case $(srcdir) in \
22374 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22375 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
22376 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22378 srcdiroption="--srcdir=$${topdir}/expect"; \
22379 libsrcdir="$$s/expect"; \
22380 $(SHELL) $${libsrcdir}/configure \
22381 $(HOST_CONFIGARGS) $${srcdiroption} \
22385 .PHONY: all-expect maybe-all-expect
22389 maybe-all-expect: all-expect
22390 all-expect: configure-expect
22391 @r=`${PWD_COMMAND}`; export r; \
22392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22395 (cd $(HOST_SUBDIR)/expect && \
22396 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
22399 .PHONY: check-expect maybe-check-expect
22400 maybe-check-expect:
22402 maybe-check-expect: check-expect
22405 @r=`${PWD_COMMAND}`; export r; \
22406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22409 (cd $(HOST_SUBDIR)/expect && \
22410 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
22414 .PHONY: install-expect maybe-install-expect
22415 maybe-install-expect:
22417 maybe-install-expect: install-expect
22419 install-expect: installdirs
22420 @r=`${PWD_COMMAND}`; export r; \
22421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22424 (cd $(HOST_SUBDIR)/expect && \
22425 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
22429 # Other targets (info, dvi, etc.)
22431 .PHONY: maybe-info-expect info-expect
22434 maybe-info-expect: info-expect
22438 @[ -f ./expect/Makefile ] || exit 0; \
22439 r=`${PWD_COMMAND}`; export r; \
22440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22443 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22446 echo "Doing info in expect" ; \
22447 (cd $(HOST_SUBDIR)/expect && \
22448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22450 "RANLIB=$${RANLIB}" \
22451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22457 .PHONY: maybe-dvi-expect dvi-expect
22460 maybe-dvi-expect: dvi-expect
22464 @[ -f ./expect/Makefile ] || exit 0; \
22465 r=`${PWD_COMMAND}`; export r; \
22466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22469 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22472 echo "Doing dvi in expect" ; \
22473 (cd $(HOST_SUBDIR)/expect && \
22474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22476 "RANLIB=$${RANLIB}" \
22477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22483 .PHONY: maybe-html-expect html-expect
22486 maybe-html-expect: html-expect
22490 @[ -f ./expect/Makefile ] || exit 0; \
22491 r=`${PWD_COMMAND}`; export r; \
22492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22495 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22498 echo "Doing html in expect" ; \
22499 (cd $(HOST_SUBDIR)/expect && \
22500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22502 "RANLIB=$${RANLIB}" \
22503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22509 .PHONY: maybe-TAGS-expect TAGS-expect
22512 maybe-TAGS-expect: TAGS-expect
22516 @[ -f ./expect/Makefile ] || exit 0; \
22517 r=`${PWD_COMMAND}`; export r; \
22518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22521 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22524 echo "Doing TAGS in expect" ; \
22525 (cd $(HOST_SUBDIR)/expect && \
22526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22528 "RANLIB=$${RANLIB}" \
22529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22535 .PHONY: maybe-install-info-expect install-info-expect
22536 maybe-install-info-expect:
22538 maybe-install-info-expect: install-info-expect
22540 install-info-expect: \
22543 @[ -f ./expect/Makefile ] || exit 0; \
22544 r=`${PWD_COMMAND}`; export r; \
22545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22548 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22551 echo "Doing install-info in expect" ; \
22552 (cd $(HOST_SUBDIR)/expect && \
22553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22555 "RANLIB=$${RANLIB}" \
22556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22562 .PHONY: maybe-installcheck-expect installcheck-expect
22563 maybe-installcheck-expect:
22565 maybe-installcheck-expect: installcheck-expect
22567 installcheck-expect: \
22569 @[ -f ./expect/Makefile ] || exit 0; \
22570 r=`${PWD_COMMAND}`; export r; \
22571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22574 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22577 echo "Doing installcheck in expect" ; \
22578 (cd $(HOST_SUBDIR)/expect && \
22579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22581 "RANLIB=$${RANLIB}" \
22582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22588 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
22589 maybe-mostlyclean-expect:
22591 maybe-mostlyclean-expect: mostlyclean-expect
22593 mostlyclean-expect:
22594 @[ -f ./expect/Makefile ] || exit 0; \
22595 r=`${PWD_COMMAND}`; export r; \
22596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22599 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22602 echo "Doing mostlyclean in expect" ; \
22603 (cd $(HOST_SUBDIR)/expect && \
22604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22606 "RANLIB=$${RANLIB}" \
22607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22613 .PHONY: maybe-clean-expect clean-expect
22614 maybe-clean-expect:
22616 maybe-clean-expect: clean-expect
22619 @[ -f ./expect/Makefile ] || exit 0; \
22620 r=`${PWD_COMMAND}`; export r; \
22621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22624 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22627 echo "Doing clean in expect" ; \
22628 (cd $(HOST_SUBDIR)/expect && \
22629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22631 "RANLIB=$${RANLIB}" \
22632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22638 .PHONY: maybe-distclean-expect distclean-expect
22639 maybe-distclean-expect:
22641 maybe-distclean-expect: distclean-expect
22644 @[ -f ./expect/Makefile ] || exit 0; \
22645 r=`${PWD_COMMAND}`; export r; \
22646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22649 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22652 echo "Doing distclean in expect" ; \
22653 (cd $(HOST_SUBDIR)/expect && \
22654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22656 "RANLIB=$${RANLIB}" \
22657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22663 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
22664 maybe-maintainer-clean-expect:
22666 maybe-maintainer-clean-expect: maintainer-clean-expect
22668 maintainer-clean-expect:
22669 @[ -f ./expect/Makefile ] || exit 0; \
22670 r=`${PWD_COMMAND}`; export r; \
22671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22674 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22677 echo "Doing maintainer-clean in expect" ; \
22678 (cd $(HOST_SUBDIR)/expect && \
22679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22681 "RANLIB=$${RANLIB}" \
22682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22683 maintainer-clean) \
22689 .PHONY: configure-guile maybe-configure-guile
22690 maybe-configure-guile:
22692 maybe-configure-guile: configure-guile
22694 @test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
22695 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
22696 r=`${PWD_COMMAND}`; export r; \
22697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22699 echo Configuring in guile; \
22700 cd $(HOST_SUBDIR)/guile || exit 1; \
22701 case $(srcdir) in \
22702 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22703 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
22704 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22706 srcdiroption="--srcdir=$${topdir}/guile"; \
22707 libsrcdir="$$s/guile"; \
22708 $(SHELL) $${libsrcdir}/configure \
22709 $(HOST_CONFIGARGS) $${srcdiroption} \
22713 .PHONY: all-guile maybe-all-guile
22717 maybe-all-guile: all-guile
22718 all-guile: configure-guile
22719 @r=`${PWD_COMMAND}`; export r; \
22720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22723 (cd $(HOST_SUBDIR)/guile && \
22724 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
22727 .PHONY: check-guile maybe-check-guile
22730 maybe-check-guile: check-guile
22733 @r=`${PWD_COMMAND}`; export r; \
22734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22737 (cd $(HOST_SUBDIR)/guile && \
22738 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
22742 .PHONY: install-guile maybe-install-guile
22743 maybe-install-guile:
22745 maybe-install-guile: install-guile
22747 install-guile: installdirs
22748 @r=`${PWD_COMMAND}`; export r; \
22749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22752 (cd $(HOST_SUBDIR)/guile && \
22753 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
22757 # Other targets (info, dvi, etc.)
22759 .PHONY: maybe-info-guile info-guile
22762 maybe-info-guile: info-guile
22766 @[ -f ./guile/Makefile ] || exit 0; \
22767 r=`${PWD_COMMAND}`; export r; \
22768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22771 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22774 echo "Doing info in guile" ; \
22775 (cd $(HOST_SUBDIR)/guile && \
22776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22778 "RANLIB=$${RANLIB}" \
22779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22785 .PHONY: maybe-dvi-guile dvi-guile
22788 maybe-dvi-guile: dvi-guile
22792 @[ -f ./guile/Makefile ] || exit 0; \
22793 r=`${PWD_COMMAND}`; export r; \
22794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22797 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22800 echo "Doing dvi in guile" ; \
22801 (cd $(HOST_SUBDIR)/guile && \
22802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22804 "RANLIB=$${RANLIB}" \
22805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22811 .PHONY: maybe-html-guile html-guile
22814 maybe-html-guile: html-guile
22818 @[ -f ./guile/Makefile ] || exit 0; \
22819 r=`${PWD_COMMAND}`; export r; \
22820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22823 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22826 echo "Doing html in guile" ; \
22827 (cd $(HOST_SUBDIR)/guile && \
22828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22830 "RANLIB=$${RANLIB}" \
22831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22837 .PHONY: maybe-TAGS-guile TAGS-guile
22840 maybe-TAGS-guile: TAGS-guile
22844 @[ -f ./guile/Makefile ] || exit 0; \
22845 r=`${PWD_COMMAND}`; export r; \
22846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22849 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22852 echo "Doing TAGS in guile" ; \
22853 (cd $(HOST_SUBDIR)/guile && \
22854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22856 "RANLIB=$${RANLIB}" \
22857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22863 .PHONY: maybe-install-info-guile install-info-guile
22864 maybe-install-info-guile:
22866 maybe-install-info-guile: install-info-guile
22868 install-info-guile: \
22871 @[ -f ./guile/Makefile ] || exit 0; \
22872 r=`${PWD_COMMAND}`; export r; \
22873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22876 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22879 echo "Doing install-info in guile" ; \
22880 (cd $(HOST_SUBDIR)/guile && \
22881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22883 "RANLIB=$${RANLIB}" \
22884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22890 .PHONY: maybe-installcheck-guile installcheck-guile
22891 maybe-installcheck-guile:
22893 maybe-installcheck-guile: installcheck-guile
22895 installcheck-guile: \
22897 @[ -f ./guile/Makefile ] || exit 0; \
22898 r=`${PWD_COMMAND}`; export r; \
22899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22902 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22905 echo "Doing installcheck in guile" ; \
22906 (cd $(HOST_SUBDIR)/guile && \
22907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22909 "RANLIB=$${RANLIB}" \
22910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22916 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
22917 maybe-mostlyclean-guile:
22919 maybe-mostlyclean-guile: mostlyclean-guile
22922 @[ -f ./guile/Makefile ] || exit 0; \
22923 r=`${PWD_COMMAND}`; export r; \
22924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22927 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22930 echo "Doing mostlyclean in guile" ; \
22931 (cd $(HOST_SUBDIR)/guile && \
22932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22934 "RANLIB=$${RANLIB}" \
22935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22941 .PHONY: maybe-clean-guile clean-guile
22944 maybe-clean-guile: clean-guile
22947 @[ -f ./guile/Makefile ] || exit 0; \
22948 r=`${PWD_COMMAND}`; export r; \
22949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22952 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22955 echo "Doing clean in guile" ; \
22956 (cd $(HOST_SUBDIR)/guile && \
22957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22959 "RANLIB=$${RANLIB}" \
22960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22966 .PHONY: maybe-distclean-guile distclean-guile
22967 maybe-distclean-guile:
22969 maybe-distclean-guile: distclean-guile
22972 @[ -f ./guile/Makefile ] || exit 0; \
22973 r=`${PWD_COMMAND}`; export r; \
22974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22977 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22980 echo "Doing distclean in guile" ; \
22981 (cd $(HOST_SUBDIR)/guile && \
22982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22984 "RANLIB=$${RANLIB}" \
22985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22991 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
22992 maybe-maintainer-clean-guile:
22994 maybe-maintainer-clean-guile: maintainer-clean-guile
22996 maintainer-clean-guile:
22997 @[ -f ./guile/Makefile ] || exit 0; \
22998 r=`${PWD_COMMAND}`; export r; \
22999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23002 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23005 echo "Doing maintainer-clean in guile" ; \
23006 (cd $(HOST_SUBDIR)/guile && \
23007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23009 "RANLIB=$${RANLIB}" \
23010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23011 maintainer-clean) \
23017 .PHONY: configure-tk maybe-configure-tk
23018 maybe-configure-tk:
23020 maybe-configure-tk: configure-tk
23022 @test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
23023 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
23024 r=`${PWD_COMMAND}`; export r; \
23025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23027 echo Configuring in tk; \
23028 cd $(HOST_SUBDIR)/tk || exit 1; \
23029 case $(srcdir) in \
23030 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23031 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
23032 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23034 srcdiroption="--srcdir=$${topdir}/tk"; \
23035 libsrcdir="$$s/tk"; \
23036 $(SHELL) $${libsrcdir}/configure \
23037 $(HOST_CONFIGARGS) $${srcdiroption} \
23041 .PHONY: all-tk maybe-all-tk
23045 maybe-all-tk: all-tk
23046 all-tk: configure-tk
23047 @r=`${PWD_COMMAND}`; export r; \
23048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23051 (cd $(HOST_SUBDIR)/tk && \
23052 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
23055 .PHONY: check-tk maybe-check-tk
23058 maybe-check-tk: check-tk
23061 @r=`${PWD_COMMAND}`; export r; \
23062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23065 (cd $(HOST_SUBDIR)/tk && \
23066 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
23070 .PHONY: install-tk maybe-install-tk
23073 maybe-install-tk: install-tk
23075 install-tk: installdirs
23076 @r=`${PWD_COMMAND}`; export r; \
23077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23080 (cd $(HOST_SUBDIR)/tk && \
23081 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
23085 # Other targets (info, dvi, etc.)
23087 .PHONY: maybe-info-tk info-tk
23090 maybe-info-tk: info-tk
23094 @[ -f ./tk/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 info in tk" ; \
23103 (cd $(HOST_SUBDIR)/tk && \
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-dvi-tk dvi-tk
23116 maybe-dvi-tk: dvi-tk
23120 @[ -f ./tk/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 dvi in tk" ; \
23129 (cd $(HOST_SUBDIR)/tk && \
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-html-tk html-tk
23142 maybe-html-tk: html-tk
23146 @[ -f ./tk/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 html in tk" ; \
23155 (cd $(HOST_SUBDIR)/tk && \
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-TAGS-tk TAGS-tk
23168 maybe-TAGS-tk: TAGS-tk
23172 @[ -f ./tk/Makefile ] || exit 0; \
23173 r=`${PWD_COMMAND}`; export r; \
23174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23177 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23180 echo "Doing TAGS in tk" ; \
23181 (cd $(HOST_SUBDIR)/tk && \
23182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23184 "RANLIB=$${RANLIB}" \
23185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23191 .PHONY: maybe-install-info-tk install-info-tk
23192 maybe-install-info-tk:
23194 maybe-install-info-tk: install-info-tk
23199 @[ -f ./tk/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 install-info in tk" ; \
23208 (cd $(HOST_SUBDIR)/tk && \
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-installcheck-tk installcheck-tk
23219 maybe-installcheck-tk:
23221 maybe-installcheck-tk: installcheck-tk
23225 @[ -f ./tk/Makefile ] || exit 0; \
23226 r=`${PWD_COMMAND}`; export r; \
23227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23230 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23233 echo "Doing installcheck in tk" ; \
23234 (cd $(HOST_SUBDIR)/tk && \
23235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23237 "RANLIB=$${RANLIB}" \
23238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23244 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
23245 maybe-mostlyclean-tk:
23247 maybe-mostlyclean-tk: mostlyclean-tk
23250 @[ -f ./tk/Makefile ] || exit 0; \
23251 r=`${PWD_COMMAND}`; export r; \
23252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23255 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23258 echo "Doing mostlyclean in tk" ; \
23259 (cd $(HOST_SUBDIR)/tk && \
23260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23262 "RANLIB=$${RANLIB}" \
23263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23269 .PHONY: maybe-clean-tk clean-tk
23272 maybe-clean-tk: clean-tk
23275 @[ -f ./tk/Makefile ] || exit 0; \
23276 r=`${PWD_COMMAND}`; export r; \
23277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23280 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23283 echo "Doing clean in tk" ; \
23284 (cd $(HOST_SUBDIR)/tk && \
23285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23287 "RANLIB=$${RANLIB}" \
23288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23294 .PHONY: maybe-distclean-tk distclean-tk
23295 maybe-distclean-tk:
23297 maybe-distclean-tk: distclean-tk
23300 @[ -f ./tk/Makefile ] || exit 0; \
23301 r=`${PWD_COMMAND}`; export r; \
23302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23305 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23308 echo "Doing distclean in tk" ; \
23309 (cd $(HOST_SUBDIR)/tk && \
23310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23312 "RANLIB=$${RANLIB}" \
23313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23319 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
23320 maybe-maintainer-clean-tk:
23322 maybe-maintainer-clean-tk: maintainer-clean-tk
23324 maintainer-clean-tk:
23325 @[ -f ./tk/Makefile ] || exit 0; \
23326 r=`${PWD_COMMAND}`; export r; \
23327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23330 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23333 echo "Doing maintainer-clean in tk" ; \
23334 (cd $(HOST_SUBDIR)/tk && \
23335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23337 "RANLIB=$${RANLIB}" \
23338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23339 maintainer-clean) \
23345 .PHONY: configure-libtermcap maybe-configure-libtermcap
23346 maybe-configure-libtermcap:
23348 maybe-configure-libtermcap: configure-libtermcap
23349 configure-libtermcap:
23350 @test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
23351 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
23352 r=`${PWD_COMMAND}`; export r; \
23353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23355 echo Configuring in libtermcap; \
23356 cd $(HOST_SUBDIR)/libtermcap || exit 1; \
23357 case $(srcdir) in \
23358 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23359 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
23360 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23362 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
23363 libsrcdir="$$s/libtermcap"; \
23364 $(SHELL) $${libsrcdir}/configure \
23365 $(HOST_CONFIGARGS) $${srcdiroption} \
23369 .PHONY: all-libtermcap maybe-all-libtermcap
23370 maybe-all-libtermcap:
23372 TARGET-libtermcap=all
23373 maybe-all-libtermcap: all-libtermcap
23374 all-libtermcap: configure-libtermcap
23375 @r=`${PWD_COMMAND}`; export r; \
23376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23379 (cd $(HOST_SUBDIR)/libtermcap && \
23380 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
23383 .PHONY: check-libtermcap maybe-check-libtermcap
23384 maybe-check-libtermcap:
23386 maybe-check-libtermcap: check-libtermcap
23392 .PHONY: install-libtermcap maybe-install-libtermcap
23393 maybe-install-libtermcap:
23395 maybe-install-libtermcap: install-libtermcap
23397 install-libtermcap: installdirs
23398 @r=`${PWD_COMMAND}`; export r; \
23399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23402 (cd $(HOST_SUBDIR)/libtermcap && \
23403 $(MAKE) $(FLAGS_TO_PASS) install)
23407 # Other targets (info, dvi, etc.)
23409 .PHONY: maybe-info-libtermcap info-libtermcap
23410 maybe-info-libtermcap:
23412 maybe-info-libtermcap: info-libtermcap
23415 configure-libtermcap
23416 @[ -f ./libtermcap/Makefile ] || exit 0; \
23417 r=`${PWD_COMMAND}`; export r; \
23418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23421 for flag in $(EXTRA_HOST_FLAGS) ; do \
23422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23424 echo "Doing info in libtermcap" ; \
23425 (cd $(HOST_SUBDIR)/libtermcap && \
23426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23428 "RANLIB=$${RANLIB}" \
23429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23435 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
23436 maybe-dvi-libtermcap:
23438 maybe-dvi-libtermcap: dvi-libtermcap
23441 configure-libtermcap
23442 @[ -f ./libtermcap/Makefile ] || exit 0; \
23443 r=`${PWD_COMMAND}`; export r; \
23444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23447 for flag in $(EXTRA_HOST_FLAGS) ; do \
23448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23450 echo "Doing dvi in libtermcap" ; \
23451 (cd $(HOST_SUBDIR)/libtermcap && \
23452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23454 "RANLIB=$${RANLIB}" \
23455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23461 .PHONY: maybe-html-libtermcap html-libtermcap
23462 maybe-html-libtermcap:
23464 maybe-html-libtermcap: html-libtermcap
23467 configure-libtermcap
23468 @[ -f ./libtermcap/Makefile ] || exit 0; \
23469 r=`${PWD_COMMAND}`; export r; \
23470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23473 for flag in $(EXTRA_HOST_FLAGS) ; do \
23474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23476 echo "Doing html in libtermcap" ; \
23477 (cd $(HOST_SUBDIR)/libtermcap && \
23478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23480 "RANLIB=$${RANLIB}" \
23481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23487 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
23488 maybe-TAGS-libtermcap:
23490 maybe-TAGS-libtermcap: TAGS-libtermcap
23493 configure-libtermcap
23494 @[ -f ./libtermcap/Makefile ] || exit 0; \
23495 r=`${PWD_COMMAND}`; export r; \
23496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23499 for flag in $(EXTRA_HOST_FLAGS) ; do \
23500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23502 echo "Doing TAGS in libtermcap" ; \
23503 (cd $(HOST_SUBDIR)/libtermcap && \
23504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23506 "RANLIB=$${RANLIB}" \
23507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23513 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
23514 maybe-install-info-libtermcap:
23516 maybe-install-info-libtermcap: install-info-libtermcap
23518 install-info-libtermcap: \
23519 configure-libtermcap \
23521 @[ -f ./libtermcap/Makefile ] || exit 0; \
23522 r=`${PWD_COMMAND}`; export r; \
23523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23526 for flag in $(EXTRA_HOST_FLAGS) ; do \
23527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23529 echo "Doing install-info in libtermcap" ; \
23530 (cd $(HOST_SUBDIR)/libtermcap && \
23531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23533 "RANLIB=$${RANLIB}" \
23534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23540 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
23541 maybe-installcheck-libtermcap:
23543 maybe-installcheck-libtermcap: installcheck-libtermcap
23545 installcheck-libtermcap: \
23546 configure-libtermcap
23547 @[ -f ./libtermcap/Makefile ] || exit 0; \
23548 r=`${PWD_COMMAND}`; export r; \
23549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23552 for flag in $(EXTRA_HOST_FLAGS) ; do \
23553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23555 echo "Doing installcheck in libtermcap" ; \
23556 (cd $(HOST_SUBDIR)/libtermcap && \
23557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23559 "RANLIB=$${RANLIB}" \
23560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23566 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
23567 maybe-mostlyclean-libtermcap:
23569 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
23571 # libtermcap doesn't support mostlyclean.
23572 mostlyclean-libtermcap:
23576 .PHONY: maybe-clean-libtermcap clean-libtermcap
23577 maybe-clean-libtermcap:
23579 maybe-clean-libtermcap: clean-libtermcap
23581 # libtermcap doesn't support clean.
23586 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
23587 maybe-distclean-libtermcap:
23589 maybe-distclean-libtermcap: distclean-libtermcap
23591 # libtermcap doesn't support distclean.
23592 distclean-libtermcap:
23596 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
23597 maybe-maintainer-clean-libtermcap:
23599 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
23601 # libtermcap doesn't support maintainer-clean.
23602 maintainer-clean-libtermcap:
23607 .PHONY: configure-utils maybe-configure-utils
23608 maybe-configure-utils:
23610 maybe-configure-utils: configure-utils
23612 @test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
23613 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
23614 r=`${PWD_COMMAND}`; export r; \
23615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23617 echo Configuring in utils; \
23618 cd $(HOST_SUBDIR)/utils || exit 1; \
23619 case $(srcdir) in \
23620 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23621 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
23622 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23624 srcdiroption="--srcdir=$${topdir}/utils"; \
23625 libsrcdir="$$s/utils"; \
23626 $(SHELL) $${libsrcdir}/configure \
23627 $(HOST_CONFIGARGS) $${srcdiroption} \
23631 .PHONY: all-utils maybe-all-utils
23635 maybe-all-utils: all-utils
23636 all-utils: configure-utils
23637 @r=`${PWD_COMMAND}`; export r; \
23638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23641 (cd $(HOST_SUBDIR)/utils && \
23642 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
23645 .PHONY: check-utils maybe-check-utils
23648 maybe-check-utils: check-utils
23654 .PHONY: install-utils maybe-install-utils
23655 maybe-install-utils:
23657 maybe-install-utils: install-utils
23659 install-utils: installdirs
23660 @r=`${PWD_COMMAND}`; export r; \
23661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23664 (cd $(HOST_SUBDIR)/utils && \
23665 $(MAKE) $(FLAGS_TO_PASS) install)
23669 # Other targets (info, dvi, etc.)
23671 .PHONY: maybe-info-utils info-utils
23674 maybe-info-utils: info-utils
23678 @[ -f ./utils/Makefile ] || exit 0; \
23679 r=`${PWD_COMMAND}`; export r; \
23680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23683 for flag in $(EXTRA_HOST_FLAGS) ; do \
23684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23686 echo "Doing info in utils" ; \
23687 (cd $(HOST_SUBDIR)/utils && \
23688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23690 "RANLIB=$${RANLIB}" \
23691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23697 .PHONY: maybe-dvi-utils dvi-utils
23700 maybe-dvi-utils: dvi-utils
23704 @[ -f ./utils/Makefile ] || exit 0; \
23705 r=`${PWD_COMMAND}`; export r; \
23706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23709 for flag in $(EXTRA_HOST_FLAGS) ; do \
23710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23712 echo "Doing dvi in utils" ; \
23713 (cd $(HOST_SUBDIR)/utils && \
23714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23716 "RANLIB=$${RANLIB}" \
23717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23723 .PHONY: maybe-html-utils html-utils
23726 maybe-html-utils: html-utils
23730 @[ -f ./utils/Makefile ] || exit 0; \
23731 r=`${PWD_COMMAND}`; export r; \
23732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23735 for flag in $(EXTRA_HOST_FLAGS) ; do \
23736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23738 echo "Doing html in utils" ; \
23739 (cd $(HOST_SUBDIR)/utils && \
23740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23742 "RANLIB=$${RANLIB}" \
23743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23749 .PHONY: maybe-TAGS-utils TAGS-utils
23752 maybe-TAGS-utils: TAGS-utils
23756 @[ -f ./utils/Makefile ] || exit 0; \
23757 r=`${PWD_COMMAND}`; export r; \
23758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23761 for flag in $(EXTRA_HOST_FLAGS) ; do \
23762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23764 echo "Doing TAGS in utils" ; \
23765 (cd $(HOST_SUBDIR)/utils && \
23766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23768 "RANLIB=$${RANLIB}" \
23769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23775 .PHONY: maybe-install-info-utils install-info-utils
23776 maybe-install-info-utils:
23778 maybe-install-info-utils: install-info-utils
23780 install-info-utils: \
23783 @[ -f ./utils/Makefile ] || exit 0; \
23784 r=`${PWD_COMMAND}`; export r; \
23785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23788 for flag in $(EXTRA_HOST_FLAGS) ; do \
23789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23791 echo "Doing install-info in utils" ; \
23792 (cd $(HOST_SUBDIR)/utils && \
23793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23795 "RANLIB=$${RANLIB}" \
23796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23802 .PHONY: maybe-installcheck-utils installcheck-utils
23803 maybe-installcheck-utils:
23805 maybe-installcheck-utils: installcheck-utils
23807 installcheck-utils: \
23809 @[ -f ./utils/Makefile ] || exit 0; \
23810 r=`${PWD_COMMAND}`; export r; \
23811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23814 for flag in $(EXTRA_HOST_FLAGS) ; do \
23815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23817 echo "Doing installcheck in utils" ; \
23818 (cd $(HOST_SUBDIR)/utils && \
23819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23821 "RANLIB=$${RANLIB}" \
23822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23828 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
23829 maybe-mostlyclean-utils:
23831 maybe-mostlyclean-utils: mostlyclean-utils
23834 @[ -f ./utils/Makefile ] || exit 0; \
23835 r=`${PWD_COMMAND}`; export r; \
23836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23839 for flag in $(EXTRA_HOST_FLAGS) ; do \
23840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23842 echo "Doing mostlyclean in utils" ; \
23843 (cd $(HOST_SUBDIR)/utils && \
23844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23846 "RANLIB=$${RANLIB}" \
23847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23853 .PHONY: maybe-clean-utils clean-utils
23856 maybe-clean-utils: clean-utils
23859 @[ -f ./utils/Makefile ] || exit 0; \
23860 r=`${PWD_COMMAND}`; export r; \
23861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23864 for flag in $(EXTRA_HOST_FLAGS) ; do \
23865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23867 echo "Doing clean in utils" ; \
23868 (cd $(HOST_SUBDIR)/utils && \
23869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23871 "RANLIB=$${RANLIB}" \
23872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23878 .PHONY: maybe-distclean-utils distclean-utils
23879 maybe-distclean-utils:
23881 maybe-distclean-utils: distclean-utils
23884 @[ -f ./utils/Makefile ] || exit 0; \
23885 r=`${PWD_COMMAND}`; export r; \
23886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23889 for flag in $(EXTRA_HOST_FLAGS) ; do \
23890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23892 echo "Doing distclean in utils" ; \
23893 (cd $(HOST_SUBDIR)/utils && \
23894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23896 "RANLIB=$${RANLIB}" \
23897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23903 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
23904 maybe-maintainer-clean-utils:
23906 maybe-maintainer-clean-utils: maintainer-clean-utils
23908 maintainer-clean-utils:
23909 @[ -f ./utils/Makefile ] || exit 0; \
23910 r=`${PWD_COMMAND}`; export r; \
23911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23914 for flag in $(EXTRA_HOST_FLAGS) ; do \
23915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23917 echo "Doing maintainer-clean in utils" ; \
23918 (cd $(HOST_SUBDIR)/utils && \
23919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23921 "RANLIB=$${RANLIB}" \
23922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23923 maintainer-clean) \
23929 .PHONY: configure-gnattools maybe-configure-gnattools
23930 maybe-configure-gnattools:
23932 maybe-configure-gnattools: configure-gnattools
23933 configure-gnattools:
23934 @test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
23935 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
23936 r=`${PWD_COMMAND}`; export r; \
23937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23939 echo Configuring in gnattools; \
23940 cd $(HOST_SUBDIR)/gnattools || exit 1; \
23941 case $(srcdir) in \
23942 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23943 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
23944 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23946 srcdiroption="--srcdir=$${topdir}/gnattools"; \
23947 libsrcdir="$$s/gnattools"; \
23948 $(SHELL) $${libsrcdir}/configure \
23949 $(HOST_CONFIGARGS) $${srcdiroption} \
23953 .PHONY: all-gnattools maybe-all-gnattools
23954 maybe-all-gnattools:
23956 TARGET-gnattools=all
23957 maybe-all-gnattools: all-gnattools
23958 all-gnattools: configure-gnattools
23959 @r=`${PWD_COMMAND}`; export r; \
23960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23963 (cd $(HOST_SUBDIR)/gnattools && \
23964 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
23967 .PHONY: check-gnattools maybe-check-gnattools
23968 maybe-check-gnattools:
23970 maybe-check-gnattools: check-gnattools
23973 @r=`${PWD_COMMAND}`; export r; \
23974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23977 (cd $(HOST_SUBDIR)/gnattools && \
23978 $(MAKE) $(FLAGS_TO_PASS) check)
23982 .PHONY: install-gnattools maybe-install-gnattools
23983 maybe-install-gnattools:
23985 maybe-install-gnattools: install-gnattools
23987 install-gnattools: installdirs
23988 @r=`${PWD_COMMAND}`; export r; \
23989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23992 (cd $(HOST_SUBDIR)/gnattools && \
23993 $(MAKE) $(FLAGS_TO_PASS) install)
23997 # Other targets (info, dvi, etc.)
23999 .PHONY: maybe-info-gnattools info-gnattools
24000 maybe-info-gnattools:
24002 maybe-info-gnattools: info-gnattools
24005 configure-gnattools
24006 @[ -f ./gnattools/Makefile ] || exit 0; \
24007 r=`${PWD_COMMAND}`; export r; \
24008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24011 for flag in $(EXTRA_HOST_FLAGS) ; do \
24012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24014 echo "Doing info in gnattools" ; \
24015 (cd $(HOST_SUBDIR)/gnattools && \
24016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24018 "RANLIB=$${RANLIB}" \
24019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24025 .PHONY: maybe-dvi-gnattools dvi-gnattools
24026 maybe-dvi-gnattools:
24028 maybe-dvi-gnattools: dvi-gnattools
24031 configure-gnattools
24032 @[ -f ./gnattools/Makefile ] || exit 0; \
24033 r=`${PWD_COMMAND}`; export r; \
24034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24037 for flag in $(EXTRA_HOST_FLAGS) ; do \
24038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24040 echo "Doing dvi in gnattools" ; \
24041 (cd $(HOST_SUBDIR)/gnattools && \
24042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24044 "RANLIB=$${RANLIB}" \
24045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24051 .PHONY: maybe-html-gnattools html-gnattools
24052 maybe-html-gnattools:
24054 maybe-html-gnattools: html-gnattools
24057 configure-gnattools
24058 @[ -f ./gnattools/Makefile ] || exit 0; \
24059 r=`${PWD_COMMAND}`; export r; \
24060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24063 for flag in $(EXTRA_HOST_FLAGS) ; do \
24064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24066 echo "Doing html in gnattools" ; \
24067 (cd $(HOST_SUBDIR)/gnattools && \
24068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24070 "RANLIB=$${RANLIB}" \
24071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24077 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
24078 maybe-TAGS-gnattools:
24080 maybe-TAGS-gnattools: TAGS-gnattools
24083 configure-gnattools
24084 @[ -f ./gnattools/Makefile ] || exit 0; \
24085 r=`${PWD_COMMAND}`; export r; \
24086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24089 for flag in $(EXTRA_HOST_FLAGS) ; do \
24090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24092 echo "Doing TAGS in gnattools" ; \
24093 (cd $(HOST_SUBDIR)/gnattools && \
24094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24096 "RANLIB=$${RANLIB}" \
24097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24103 .PHONY: maybe-install-info-gnattools install-info-gnattools
24104 maybe-install-info-gnattools:
24106 maybe-install-info-gnattools: install-info-gnattools
24108 install-info-gnattools: \
24109 configure-gnattools \
24111 @[ -f ./gnattools/Makefile ] || exit 0; \
24112 r=`${PWD_COMMAND}`; export r; \
24113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24116 for flag in $(EXTRA_HOST_FLAGS) ; do \
24117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24119 echo "Doing install-info in gnattools" ; \
24120 (cd $(HOST_SUBDIR)/gnattools && \
24121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24123 "RANLIB=$${RANLIB}" \
24124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24130 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
24131 maybe-installcheck-gnattools:
24133 maybe-installcheck-gnattools: installcheck-gnattools
24135 installcheck-gnattools: \
24136 configure-gnattools
24137 @[ -f ./gnattools/Makefile ] || exit 0; \
24138 r=`${PWD_COMMAND}`; export r; \
24139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24142 for flag in $(EXTRA_HOST_FLAGS) ; do \
24143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24145 echo "Doing installcheck in gnattools" ; \
24146 (cd $(HOST_SUBDIR)/gnattools && \
24147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24149 "RANLIB=$${RANLIB}" \
24150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24156 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
24157 maybe-mostlyclean-gnattools:
24159 maybe-mostlyclean-gnattools: mostlyclean-gnattools
24161 mostlyclean-gnattools:
24162 @[ -f ./gnattools/Makefile ] || exit 0; \
24163 r=`${PWD_COMMAND}`; export r; \
24164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24167 for flag in $(EXTRA_HOST_FLAGS) ; do \
24168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24170 echo "Doing mostlyclean in gnattools" ; \
24171 (cd $(HOST_SUBDIR)/gnattools && \
24172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24174 "RANLIB=$${RANLIB}" \
24175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24181 .PHONY: maybe-clean-gnattools clean-gnattools
24182 maybe-clean-gnattools:
24184 maybe-clean-gnattools: clean-gnattools
24187 @[ -f ./gnattools/Makefile ] || exit 0; \
24188 r=`${PWD_COMMAND}`; export r; \
24189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24192 for flag in $(EXTRA_HOST_FLAGS) ; do \
24193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24195 echo "Doing clean in gnattools" ; \
24196 (cd $(HOST_SUBDIR)/gnattools && \
24197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24199 "RANLIB=$${RANLIB}" \
24200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24206 .PHONY: maybe-distclean-gnattools distclean-gnattools
24207 maybe-distclean-gnattools:
24209 maybe-distclean-gnattools: distclean-gnattools
24211 distclean-gnattools:
24212 @[ -f ./gnattools/Makefile ] || exit 0; \
24213 r=`${PWD_COMMAND}`; export r; \
24214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24217 for flag in $(EXTRA_HOST_FLAGS) ; do \
24218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24220 echo "Doing distclean in gnattools" ; \
24221 (cd $(HOST_SUBDIR)/gnattools && \
24222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24224 "RANLIB=$${RANLIB}" \
24225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24231 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
24232 maybe-maintainer-clean-gnattools:
24234 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
24236 maintainer-clean-gnattools:
24237 @[ -f ./gnattools/Makefile ] || exit 0; \
24238 r=`${PWD_COMMAND}`; export r; \
24239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24242 for flag in $(EXTRA_HOST_FLAGS) ; do \
24243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24245 echo "Doing maintainer-clean in gnattools" ; \
24246 (cd $(HOST_SUBDIR)/gnattools && \
24247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24249 "RANLIB=$${RANLIB}" \
24250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24251 maintainer-clean) \
24258 # ---------------------------------------
24259 # Modules which run on the target machine
24260 # ---------------------------------------
24262 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
24263 maybe-configure-target-libstdc++-v3:
24264 @if target-libstdc++-v3
24265 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
24267 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24268 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
24269 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
24270 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
24271 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
24273 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
24274 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
24275 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
24276 r=`${PWD_COMMAND}`; export r; \
24277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24279 $(RAW_CXX_TARGET_EXPORTS) \
24280 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
24281 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
24282 case $(srcdir) in \
24283 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24284 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
24285 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24287 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
24288 libsrcdir="$$s/libstdc++-v3"; \
24289 rm -f no-such-file || : ; \
24290 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24291 $(TARGET_CONFIGARGS) $${srcdiroption} \
24292 --with-target-subdir="$(TARGET_SUBDIR)" \
24294 @endif target-libstdc++-v3
24296 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
24297 maybe-all-target-libstdc++-v3:
24298 @if target-libstdc++-v3
24299 TARGET-target-libstdc++-v3=all
24300 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
24301 all-target-libstdc++-v3: configure-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)' $(TARGET-target-libstdc++-v3))
24308 @endif target-libstdc++-v3
24310 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
24311 maybe-check-target-libstdc++-v3:
24312 @if target-libstdc++-v3
24313 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
24315 check-target-libstdc++-v3:
24316 @r=`${PWD_COMMAND}`; export r; \
24317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24319 $(RAW_CXX_TARGET_EXPORTS) \
24320 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24321 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
24323 @endif target-libstdc++-v3
24325 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
24326 maybe-install-target-libstdc++-v3:
24327 @if target-libstdc++-v3
24328 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
24330 install-target-libstdc++-v3: installdirs
24331 @r=`${PWD_COMMAND}`; export r; \
24332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24334 $(RAW_CXX_TARGET_EXPORTS) \
24335 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24336 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24338 @endif target-libstdc++-v3
24340 # Other targets (info, dvi, etc.)
24342 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
24343 maybe-info-target-libstdc++-v3:
24344 @if target-libstdc++-v3
24345 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
24347 info-target-libstdc++-v3: \
24348 configure-target-libstdc++-v3
24349 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24350 r=`${PWD_COMMAND}`; export r; \
24351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24353 $(RAW_CXX_TARGET_EXPORTS) \
24354 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24355 for flag in $(EXTRA_TARGET_FLAGS); do \
24356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24358 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24361 "RANLIB=$${RANLIB}" \
24362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24366 @endif target-libstdc++-v3
24368 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
24369 maybe-dvi-target-libstdc++-v3:
24370 @if target-libstdc++-v3
24371 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
24373 dvi-target-libstdc++-v3: \
24374 configure-target-libstdc++-v3
24375 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24376 r=`${PWD_COMMAND}`; export r; \
24377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24379 $(RAW_CXX_TARGET_EXPORTS) \
24380 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24381 for flag in $(EXTRA_TARGET_FLAGS); do \
24382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24384 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24387 "RANLIB=$${RANLIB}" \
24388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24392 @endif target-libstdc++-v3
24394 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
24395 maybe-html-target-libstdc++-v3:
24396 @if target-libstdc++-v3
24397 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
24399 html-target-libstdc++-v3: \
24400 configure-target-libstdc++-v3
24401 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24402 r=`${PWD_COMMAND}`; export r; \
24403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24405 $(RAW_CXX_TARGET_EXPORTS) \
24406 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24407 for flag in $(EXTRA_TARGET_FLAGS); do \
24408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24410 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24413 "RANLIB=$${RANLIB}" \
24414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24418 @endif target-libstdc++-v3
24420 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
24421 maybe-TAGS-target-libstdc++-v3:
24422 @if target-libstdc++-v3
24423 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
24425 TAGS-target-libstdc++-v3: \
24426 configure-target-libstdc++-v3
24427 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24428 r=`${PWD_COMMAND}`; export r; \
24429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24431 $(RAW_CXX_TARGET_EXPORTS) \
24432 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24433 for flag in $(EXTRA_TARGET_FLAGS); do \
24434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24436 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24439 "RANLIB=$${RANLIB}" \
24440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24444 @endif target-libstdc++-v3
24446 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
24447 maybe-install-info-target-libstdc++-v3:
24448 @if target-libstdc++-v3
24449 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
24451 install-info-target-libstdc++-v3: \
24452 configure-target-libstdc++-v3 \
24453 info-target-libstdc++-v3
24454 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24455 r=`${PWD_COMMAND}`; export r; \
24456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24458 $(RAW_CXX_TARGET_EXPORTS) \
24459 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24460 for flag in $(EXTRA_TARGET_FLAGS); do \
24461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24463 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24466 "RANLIB=$${RANLIB}" \
24467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24471 @endif target-libstdc++-v3
24473 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
24474 maybe-installcheck-target-libstdc++-v3:
24475 @if target-libstdc++-v3
24476 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
24478 installcheck-target-libstdc++-v3: \
24479 configure-target-libstdc++-v3
24480 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24481 r=`${PWD_COMMAND}`; export r; \
24482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24484 $(RAW_CXX_TARGET_EXPORTS) \
24485 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24486 for flag in $(EXTRA_TARGET_FLAGS); do \
24487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24489 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24492 "RANLIB=$${RANLIB}" \
24493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24497 @endif target-libstdc++-v3
24499 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
24500 maybe-mostlyclean-target-libstdc++-v3:
24501 @if target-libstdc++-v3
24502 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
24504 mostlyclean-target-libstdc++-v3:
24505 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24506 r=`${PWD_COMMAND}`; export r; \
24507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24509 $(RAW_CXX_TARGET_EXPORTS) \
24510 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24511 for flag in $(EXTRA_TARGET_FLAGS); do \
24512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24514 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24517 "RANLIB=$${RANLIB}" \
24518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24522 @endif target-libstdc++-v3
24524 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
24525 maybe-clean-target-libstdc++-v3:
24526 @if target-libstdc++-v3
24527 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
24529 clean-target-libstdc++-v3:
24530 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24531 r=`${PWD_COMMAND}`; export r; \
24532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24534 $(RAW_CXX_TARGET_EXPORTS) \
24535 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24536 for flag in $(EXTRA_TARGET_FLAGS); do \
24537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24539 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24542 "RANLIB=$${RANLIB}" \
24543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24547 @endif target-libstdc++-v3
24549 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
24550 maybe-distclean-target-libstdc++-v3:
24551 @if target-libstdc++-v3
24552 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
24554 distclean-target-libstdc++-v3:
24555 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24556 r=`${PWD_COMMAND}`; export r; \
24557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24559 $(RAW_CXX_TARGET_EXPORTS) \
24560 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24561 for flag in $(EXTRA_TARGET_FLAGS); do \
24562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24564 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24567 "RANLIB=$${RANLIB}" \
24568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24572 @endif target-libstdc++-v3
24574 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
24575 maybe-maintainer-clean-target-libstdc++-v3:
24576 @if target-libstdc++-v3
24577 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
24579 maintainer-clean-target-libstdc++-v3:
24580 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24581 r=`${PWD_COMMAND}`; export r; \
24582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24584 $(RAW_CXX_TARGET_EXPORTS) \
24585 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24586 for flag in $(EXTRA_TARGET_FLAGS); do \
24587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24589 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24592 "RANLIB=$${RANLIB}" \
24593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24594 maintainer-clean) \
24597 @endif target-libstdc++-v3
24600 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
24601 maybe-configure-target-libmudflap:
24602 @if target-libmudflap
24603 maybe-configure-target-libmudflap: configure-target-libmudflap
24605 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24606 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
24607 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
24608 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
24609 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
24611 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
24612 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
24613 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
24614 r=`${PWD_COMMAND}`; export r; \
24615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24617 $(NORMAL_TARGET_EXPORTS) \
24618 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
24619 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
24620 case $(srcdir) in \
24621 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24622 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
24623 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24625 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
24626 libsrcdir="$$s/libmudflap"; \
24627 rm -f no-such-file || : ; \
24628 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24629 $(TARGET_CONFIGARGS) $${srcdiroption} \
24630 --with-target-subdir="$(TARGET_SUBDIR)" \
24632 @endif target-libmudflap
24634 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
24635 maybe-all-target-libmudflap:
24636 @if target-libmudflap
24637 TARGET-target-libmudflap=all
24638 maybe-all-target-libmudflap: all-target-libmudflap
24639 all-target-libmudflap: configure-target-libmudflap
24640 @r=`${PWD_COMMAND}`; export r; \
24641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24643 $(NORMAL_TARGET_EXPORTS) \
24644 (cd $(TARGET_SUBDIR)/libmudflap && \
24645 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
24646 @endif target-libmudflap
24648 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
24649 maybe-check-target-libmudflap:
24650 @if target-libmudflap
24651 maybe-check-target-libmudflap: check-target-libmudflap
24653 check-target-libmudflap:
24654 @r=`${PWD_COMMAND}`; export r; \
24655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24657 $(NORMAL_TARGET_EXPORTS) \
24658 (cd $(TARGET_SUBDIR)/libmudflap && \
24659 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24661 @endif target-libmudflap
24663 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
24664 maybe-install-target-libmudflap:
24665 @if target-libmudflap
24666 maybe-install-target-libmudflap: install-target-libmudflap
24668 install-target-libmudflap: installdirs
24669 @r=`${PWD_COMMAND}`; export r; \
24670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24672 $(NORMAL_TARGET_EXPORTS) \
24673 (cd $(TARGET_SUBDIR)/libmudflap && \
24674 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24676 @endif target-libmudflap
24678 # Other targets (info, dvi, etc.)
24680 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
24681 maybe-info-target-libmudflap:
24682 @if target-libmudflap
24683 maybe-info-target-libmudflap: info-target-libmudflap
24685 info-target-libmudflap: \
24686 configure-target-libmudflap
24687 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24688 r=`${PWD_COMMAND}`; export r; \
24689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24691 $(NORMAL_TARGET_EXPORTS) \
24692 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
24693 for flag in $(EXTRA_TARGET_FLAGS); do \
24694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24696 (cd $(TARGET_SUBDIR)/libmudflap && \
24697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24699 "RANLIB=$${RANLIB}" \
24700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24704 @endif target-libmudflap
24706 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
24707 maybe-dvi-target-libmudflap:
24708 @if target-libmudflap
24709 maybe-dvi-target-libmudflap: dvi-target-libmudflap
24711 dvi-target-libmudflap: \
24712 configure-target-libmudflap
24713 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24714 r=`${PWD_COMMAND}`; export r; \
24715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24717 $(NORMAL_TARGET_EXPORTS) \
24718 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
24719 for flag in $(EXTRA_TARGET_FLAGS); do \
24720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24722 (cd $(TARGET_SUBDIR)/libmudflap && \
24723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24725 "RANLIB=$${RANLIB}" \
24726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24730 @endif target-libmudflap
24732 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
24733 maybe-html-target-libmudflap:
24734 @if target-libmudflap
24735 maybe-html-target-libmudflap: html-target-libmudflap
24737 html-target-libmudflap: \
24738 configure-target-libmudflap
24739 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24740 r=`${PWD_COMMAND}`; export r; \
24741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24743 $(NORMAL_TARGET_EXPORTS) \
24744 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
24745 for flag in $(EXTRA_TARGET_FLAGS); do \
24746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24748 (cd $(TARGET_SUBDIR)/libmudflap && \
24749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24751 "RANLIB=$${RANLIB}" \
24752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24756 @endif target-libmudflap
24758 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
24759 maybe-TAGS-target-libmudflap:
24760 @if target-libmudflap
24761 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
24763 TAGS-target-libmudflap: \
24764 configure-target-libmudflap
24765 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24766 r=`${PWD_COMMAND}`; export r; \
24767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24769 $(NORMAL_TARGET_EXPORTS) \
24770 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
24771 for flag in $(EXTRA_TARGET_FLAGS); do \
24772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24774 (cd $(TARGET_SUBDIR)/libmudflap && \
24775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24777 "RANLIB=$${RANLIB}" \
24778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24782 @endif target-libmudflap
24784 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
24785 maybe-install-info-target-libmudflap:
24786 @if target-libmudflap
24787 maybe-install-info-target-libmudflap: install-info-target-libmudflap
24789 install-info-target-libmudflap: \
24790 configure-target-libmudflap \
24791 info-target-libmudflap
24792 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24793 r=`${PWD_COMMAND}`; export r; \
24794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24796 $(NORMAL_TARGET_EXPORTS) \
24797 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
24798 for flag in $(EXTRA_TARGET_FLAGS); do \
24799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24801 (cd $(TARGET_SUBDIR)/libmudflap && \
24802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24804 "RANLIB=$${RANLIB}" \
24805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24809 @endif target-libmudflap
24811 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
24812 maybe-installcheck-target-libmudflap:
24813 @if target-libmudflap
24814 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
24816 installcheck-target-libmudflap: \
24817 configure-target-libmudflap
24818 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24819 r=`${PWD_COMMAND}`; export r; \
24820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24822 $(NORMAL_TARGET_EXPORTS) \
24823 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
24824 for flag in $(EXTRA_TARGET_FLAGS); do \
24825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24827 (cd $(TARGET_SUBDIR)/libmudflap && \
24828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24830 "RANLIB=$${RANLIB}" \
24831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24835 @endif target-libmudflap
24837 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
24838 maybe-mostlyclean-target-libmudflap:
24839 @if target-libmudflap
24840 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
24842 mostlyclean-target-libmudflap:
24843 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24844 r=`${PWD_COMMAND}`; export r; \
24845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24847 $(NORMAL_TARGET_EXPORTS) \
24848 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
24849 for flag in $(EXTRA_TARGET_FLAGS); do \
24850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24852 (cd $(TARGET_SUBDIR)/libmudflap && \
24853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24855 "RANLIB=$${RANLIB}" \
24856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24860 @endif target-libmudflap
24862 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
24863 maybe-clean-target-libmudflap:
24864 @if target-libmudflap
24865 maybe-clean-target-libmudflap: clean-target-libmudflap
24867 clean-target-libmudflap:
24868 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24869 r=`${PWD_COMMAND}`; export r; \
24870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24872 $(NORMAL_TARGET_EXPORTS) \
24873 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
24874 for flag in $(EXTRA_TARGET_FLAGS); do \
24875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24877 (cd $(TARGET_SUBDIR)/libmudflap && \
24878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24880 "RANLIB=$${RANLIB}" \
24881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24885 @endif target-libmudflap
24887 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
24888 maybe-distclean-target-libmudflap:
24889 @if target-libmudflap
24890 maybe-distclean-target-libmudflap: distclean-target-libmudflap
24892 distclean-target-libmudflap:
24893 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24894 r=`${PWD_COMMAND}`; export r; \
24895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24897 $(NORMAL_TARGET_EXPORTS) \
24898 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
24899 for flag in $(EXTRA_TARGET_FLAGS); do \
24900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24902 (cd $(TARGET_SUBDIR)/libmudflap && \
24903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24905 "RANLIB=$${RANLIB}" \
24906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24910 @endif target-libmudflap
24912 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
24913 maybe-maintainer-clean-target-libmudflap:
24914 @if target-libmudflap
24915 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
24917 maintainer-clean-target-libmudflap:
24918 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24919 r=`${PWD_COMMAND}`; export r; \
24920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24922 $(NORMAL_TARGET_EXPORTS) \
24923 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
24924 for flag in $(EXTRA_TARGET_FLAGS); do \
24925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24927 (cd $(TARGET_SUBDIR)/libmudflap && \
24928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24930 "RANLIB=$${RANLIB}" \
24931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24932 maintainer-clean) \
24935 @endif target-libmudflap
24938 .PHONY: configure-target-newlib maybe-configure-target-newlib
24939 maybe-configure-target-newlib:
24941 maybe-configure-target-newlib: configure-target-newlib
24943 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24944 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
24945 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
24946 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
24947 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
24949 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
24950 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
24951 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
24952 r=`${PWD_COMMAND}`; export r; \
24953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24955 $(NORMAL_TARGET_EXPORTS) \
24956 echo Configuring in $(TARGET_SUBDIR)/newlib; \
24957 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
24958 case $(srcdir) in \
24959 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24960 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
24961 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24963 srcdiroption="--srcdir=$${topdir}/newlib"; \
24964 libsrcdir="$$s/newlib"; \
24965 rm -f no-such-file || : ; \
24966 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24967 $(TARGET_CONFIGARGS) $${srcdiroption} \
24968 --with-target-subdir="$(TARGET_SUBDIR)" \
24970 @endif target-newlib
24972 .PHONY: all-target-newlib maybe-all-target-newlib
24973 maybe-all-target-newlib:
24975 TARGET-target-newlib=all
24976 maybe-all-target-newlib: all-target-newlib
24977 all-target-newlib: configure-target-newlib
24978 @r=`${PWD_COMMAND}`; export r; \
24979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24981 $(NORMAL_TARGET_EXPORTS) \
24982 (cd $(TARGET_SUBDIR)/newlib && \
24983 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
24984 @endif target-newlib
24986 .PHONY: check-target-newlib maybe-check-target-newlib
24987 maybe-check-target-newlib:
24989 maybe-check-target-newlib: check-target-newlib
24991 check-target-newlib:
24992 @r=`${PWD_COMMAND}`; export r; \
24993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24995 $(NORMAL_TARGET_EXPORTS) \
24996 (cd $(TARGET_SUBDIR)/newlib && \
24997 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24999 @endif target-newlib
25001 .PHONY: install-target-newlib maybe-install-target-newlib
25002 maybe-install-target-newlib:
25004 maybe-install-target-newlib: install-target-newlib
25006 install-target-newlib: installdirs
25007 @r=`${PWD_COMMAND}`; export r; \
25008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25010 $(NORMAL_TARGET_EXPORTS) \
25011 (cd $(TARGET_SUBDIR)/newlib && \
25012 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25014 @endif target-newlib
25016 # Other targets (info, dvi, etc.)
25018 .PHONY: maybe-info-target-newlib info-target-newlib
25019 maybe-info-target-newlib:
25021 maybe-info-target-newlib: info-target-newlib
25023 info-target-newlib: \
25024 configure-target-newlib
25025 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25026 r=`${PWD_COMMAND}`; export r; \
25027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25029 $(NORMAL_TARGET_EXPORTS) \
25030 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
25031 for flag in $(EXTRA_TARGET_FLAGS); do \
25032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25034 (cd $(TARGET_SUBDIR)/newlib && \
25035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25037 "RANLIB=$${RANLIB}" \
25038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25042 @endif target-newlib
25044 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
25045 maybe-dvi-target-newlib:
25047 maybe-dvi-target-newlib: dvi-target-newlib
25049 dvi-target-newlib: \
25050 configure-target-newlib
25051 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25052 r=`${PWD_COMMAND}`; export r; \
25053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25055 $(NORMAL_TARGET_EXPORTS) \
25056 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
25057 for flag in $(EXTRA_TARGET_FLAGS); do \
25058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25060 (cd $(TARGET_SUBDIR)/newlib && \
25061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25063 "RANLIB=$${RANLIB}" \
25064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25068 @endif target-newlib
25070 .PHONY: maybe-html-target-newlib html-target-newlib
25071 maybe-html-target-newlib:
25073 maybe-html-target-newlib: html-target-newlib
25075 html-target-newlib: \
25076 configure-target-newlib
25077 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25078 r=`${PWD_COMMAND}`; export r; \
25079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25081 $(NORMAL_TARGET_EXPORTS) \
25082 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
25083 for flag in $(EXTRA_TARGET_FLAGS); do \
25084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25086 (cd $(TARGET_SUBDIR)/newlib && \
25087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25089 "RANLIB=$${RANLIB}" \
25090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25094 @endif target-newlib
25096 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
25097 maybe-TAGS-target-newlib:
25099 maybe-TAGS-target-newlib: TAGS-target-newlib
25101 TAGS-target-newlib: \
25102 configure-target-newlib
25103 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25104 r=`${PWD_COMMAND}`; export r; \
25105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25107 $(NORMAL_TARGET_EXPORTS) \
25108 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
25109 for flag in $(EXTRA_TARGET_FLAGS); do \
25110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25112 (cd $(TARGET_SUBDIR)/newlib && \
25113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25115 "RANLIB=$${RANLIB}" \
25116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25120 @endif target-newlib
25122 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
25123 maybe-install-info-target-newlib:
25125 maybe-install-info-target-newlib: install-info-target-newlib
25127 install-info-target-newlib: \
25128 configure-target-newlib \
25130 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25131 r=`${PWD_COMMAND}`; export r; \
25132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25134 $(NORMAL_TARGET_EXPORTS) \
25135 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
25136 for flag in $(EXTRA_TARGET_FLAGS); do \
25137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25139 (cd $(TARGET_SUBDIR)/newlib && \
25140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25142 "RANLIB=$${RANLIB}" \
25143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25147 @endif target-newlib
25149 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
25150 maybe-installcheck-target-newlib:
25152 maybe-installcheck-target-newlib: installcheck-target-newlib
25154 installcheck-target-newlib: \
25155 configure-target-newlib
25156 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25157 r=`${PWD_COMMAND}`; export r; \
25158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25160 $(NORMAL_TARGET_EXPORTS) \
25161 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
25162 for flag in $(EXTRA_TARGET_FLAGS); do \
25163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25165 (cd $(TARGET_SUBDIR)/newlib && \
25166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25168 "RANLIB=$${RANLIB}" \
25169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25173 @endif target-newlib
25175 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
25176 maybe-mostlyclean-target-newlib:
25178 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
25180 mostlyclean-target-newlib:
25181 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25182 r=`${PWD_COMMAND}`; export r; \
25183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25185 $(NORMAL_TARGET_EXPORTS) \
25186 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
25187 for flag in $(EXTRA_TARGET_FLAGS); do \
25188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25190 (cd $(TARGET_SUBDIR)/newlib && \
25191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25193 "RANLIB=$${RANLIB}" \
25194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25198 @endif target-newlib
25200 .PHONY: maybe-clean-target-newlib clean-target-newlib
25201 maybe-clean-target-newlib:
25203 maybe-clean-target-newlib: clean-target-newlib
25205 clean-target-newlib:
25206 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25207 r=`${PWD_COMMAND}`; export r; \
25208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25210 $(NORMAL_TARGET_EXPORTS) \
25211 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
25212 for flag in $(EXTRA_TARGET_FLAGS); do \
25213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25215 (cd $(TARGET_SUBDIR)/newlib && \
25216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25218 "RANLIB=$${RANLIB}" \
25219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25223 @endif target-newlib
25225 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
25226 maybe-distclean-target-newlib:
25228 maybe-distclean-target-newlib: distclean-target-newlib
25230 distclean-target-newlib:
25231 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25232 r=`${PWD_COMMAND}`; export r; \
25233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25235 $(NORMAL_TARGET_EXPORTS) \
25236 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
25237 for flag in $(EXTRA_TARGET_FLAGS); do \
25238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25240 (cd $(TARGET_SUBDIR)/newlib && \
25241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25243 "RANLIB=$${RANLIB}" \
25244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25248 @endif target-newlib
25250 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
25251 maybe-maintainer-clean-target-newlib:
25253 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
25255 maintainer-clean-target-newlib:
25256 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25257 r=`${PWD_COMMAND}`; export r; \
25258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25260 $(NORMAL_TARGET_EXPORTS) \
25261 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
25262 for flag in $(EXTRA_TARGET_FLAGS); do \
25263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25265 (cd $(TARGET_SUBDIR)/newlib && \
25266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25268 "RANLIB=$${RANLIB}" \
25269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25270 maintainer-clean) \
25273 @endif target-newlib
25276 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
25277 maybe-configure-target-libgfortran:
25278 @if target-libgfortran
25279 maybe-configure-target-libgfortran: configure-target-libgfortran
25281 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25282 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
25283 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
25284 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
25285 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
25287 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
25288 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
25289 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
25290 r=`${PWD_COMMAND}`; export r; \
25291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25293 $(NORMAL_TARGET_EXPORTS) \
25294 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
25295 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
25296 case $(srcdir) in \
25297 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25298 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
25299 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25301 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
25302 libsrcdir="$$s/libgfortran"; \
25303 rm -f no-such-file || : ; \
25304 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25305 $(TARGET_CONFIGARGS) $${srcdiroption} \
25306 --with-target-subdir="$(TARGET_SUBDIR)" \
25308 @endif target-libgfortran
25310 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
25311 maybe-all-target-libgfortran:
25312 @if target-libgfortran
25313 TARGET-target-libgfortran=all
25314 maybe-all-target-libgfortran: all-target-libgfortran
25315 all-target-libgfortran: configure-target-libgfortran
25316 @r=`${PWD_COMMAND}`; export r; \
25317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25319 $(NORMAL_TARGET_EXPORTS) \
25320 (cd $(TARGET_SUBDIR)/libgfortran && \
25321 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
25322 @endif target-libgfortran
25324 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
25325 maybe-check-target-libgfortran:
25326 @if target-libgfortran
25327 maybe-check-target-libgfortran: check-target-libgfortran
25329 check-target-libgfortran:
25330 @r=`${PWD_COMMAND}`; export r; \
25331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25333 $(NORMAL_TARGET_EXPORTS) \
25334 (cd $(TARGET_SUBDIR)/libgfortran && \
25335 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25337 @endif target-libgfortran
25339 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
25340 maybe-install-target-libgfortran:
25341 @if target-libgfortran
25342 maybe-install-target-libgfortran: install-target-libgfortran
25344 install-target-libgfortran: installdirs
25345 @r=`${PWD_COMMAND}`; export r; \
25346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25348 $(NORMAL_TARGET_EXPORTS) \
25349 (cd $(TARGET_SUBDIR)/libgfortran && \
25350 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25352 @endif target-libgfortran
25354 # Other targets (info, dvi, etc.)
25356 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
25357 maybe-info-target-libgfortran:
25358 @if target-libgfortran
25359 maybe-info-target-libgfortran: info-target-libgfortran
25361 info-target-libgfortran: \
25362 configure-target-libgfortran
25363 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25364 r=`${PWD_COMMAND}`; export r; \
25365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25367 $(NORMAL_TARGET_EXPORTS) \
25368 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
25369 for flag in $(EXTRA_TARGET_FLAGS); do \
25370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25372 (cd $(TARGET_SUBDIR)/libgfortran && \
25373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25375 "RANLIB=$${RANLIB}" \
25376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25380 @endif target-libgfortran
25382 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
25383 maybe-dvi-target-libgfortran:
25384 @if target-libgfortran
25385 maybe-dvi-target-libgfortran: dvi-target-libgfortran
25387 dvi-target-libgfortran: \
25388 configure-target-libgfortran
25389 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25390 r=`${PWD_COMMAND}`; export r; \
25391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25393 $(NORMAL_TARGET_EXPORTS) \
25394 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
25395 for flag in $(EXTRA_TARGET_FLAGS); do \
25396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25398 (cd $(TARGET_SUBDIR)/libgfortran && \
25399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25401 "RANLIB=$${RANLIB}" \
25402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25406 @endif target-libgfortran
25408 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
25409 maybe-html-target-libgfortran:
25410 @if target-libgfortran
25411 maybe-html-target-libgfortran: html-target-libgfortran
25413 html-target-libgfortran: \
25414 configure-target-libgfortran
25415 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25416 r=`${PWD_COMMAND}`; export r; \
25417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25419 $(NORMAL_TARGET_EXPORTS) \
25420 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
25421 for flag in $(EXTRA_TARGET_FLAGS); do \
25422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25424 (cd $(TARGET_SUBDIR)/libgfortran && \
25425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25427 "RANLIB=$${RANLIB}" \
25428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25432 @endif target-libgfortran
25434 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
25435 maybe-TAGS-target-libgfortran:
25436 @if target-libgfortran
25437 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
25439 TAGS-target-libgfortran: \
25440 configure-target-libgfortran
25441 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25442 r=`${PWD_COMMAND}`; export r; \
25443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25445 $(NORMAL_TARGET_EXPORTS) \
25446 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
25447 for flag in $(EXTRA_TARGET_FLAGS); do \
25448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25450 (cd $(TARGET_SUBDIR)/libgfortran && \
25451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25453 "RANLIB=$${RANLIB}" \
25454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25458 @endif target-libgfortran
25460 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
25461 maybe-install-info-target-libgfortran:
25462 @if target-libgfortran
25463 maybe-install-info-target-libgfortran: install-info-target-libgfortran
25465 install-info-target-libgfortran: \
25466 configure-target-libgfortran \
25467 info-target-libgfortran
25468 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25469 r=`${PWD_COMMAND}`; export r; \
25470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25472 $(NORMAL_TARGET_EXPORTS) \
25473 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
25474 for flag in $(EXTRA_TARGET_FLAGS); do \
25475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25477 (cd $(TARGET_SUBDIR)/libgfortran && \
25478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25480 "RANLIB=$${RANLIB}" \
25481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25485 @endif target-libgfortran
25487 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
25488 maybe-installcheck-target-libgfortran:
25489 @if target-libgfortran
25490 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
25492 installcheck-target-libgfortran: \
25493 configure-target-libgfortran
25494 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25495 r=`${PWD_COMMAND}`; export r; \
25496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25498 $(NORMAL_TARGET_EXPORTS) \
25499 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
25500 for flag in $(EXTRA_TARGET_FLAGS); do \
25501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25503 (cd $(TARGET_SUBDIR)/libgfortran && \
25504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25506 "RANLIB=$${RANLIB}" \
25507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25511 @endif target-libgfortran
25513 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
25514 maybe-mostlyclean-target-libgfortran:
25515 @if target-libgfortran
25516 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
25518 mostlyclean-target-libgfortran:
25519 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25520 r=`${PWD_COMMAND}`; export r; \
25521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25523 $(NORMAL_TARGET_EXPORTS) \
25524 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
25525 for flag in $(EXTRA_TARGET_FLAGS); do \
25526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25528 (cd $(TARGET_SUBDIR)/libgfortran && \
25529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25531 "RANLIB=$${RANLIB}" \
25532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25536 @endif target-libgfortran
25538 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
25539 maybe-clean-target-libgfortran:
25540 @if target-libgfortran
25541 maybe-clean-target-libgfortran: clean-target-libgfortran
25543 clean-target-libgfortran:
25544 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25545 r=`${PWD_COMMAND}`; export r; \
25546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25548 $(NORMAL_TARGET_EXPORTS) \
25549 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
25550 for flag in $(EXTRA_TARGET_FLAGS); do \
25551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25553 (cd $(TARGET_SUBDIR)/libgfortran && \
25554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25556 "RANLIB=$${RANLIB}" \
25557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25561 @endif target-libgfortran
25563 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
25564 maybe-distclean-target-libgfortran:
25565 @if target-libgfortran
25566 maybe-distclean-target-libgfortran: distclean-target-libgfortran
25568 distclean-target-libgfortran:
25569 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25570 r=`${PWD_COMMAND}`; export r; \
25571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25573 $(NORMAL_TARGET_EXPORTS) \
25574 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
25575 for flag in $(EXTRA_TARGET_FLAGS); do \
25576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25578 (cd $(TARGET_SUBDIR)/libgfortran && \
25579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25581 "RANLIB=$${RANLIB}" \
25582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25586 @endif target-libgfortran
25588 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
25589 maybe-maintainer-clean-target-libgfortran:
25590 @if target-libgfortran
25591 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
25593 maintainer-clean-target-libgfortran:
25594 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25595 r=`${PWD_COMMAND}`; export r; \
25596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25598 $(NORMAL_TARGET_EXPORTS) \
25599 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
25600 for flag in $(EXTRA_TARGET_FLAGS); do \
25601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25603 (cd $(TARGET_SUBDIR)/libgfortran && \
25604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25606 "RANLIB=$${RANLIB}" \
25607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25608 maintainer-clean) \
25611 @endif target-libgfortran
25614 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
25615 maybe-configure-target-libobjc:
25617 maybe-configure-target-libobjc: configure-target-libobjc
25619 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25620 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
25621 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
25622 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
25623 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
25625 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
25626 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
25627 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
25628 r=`${PWD_COMMAND}`; export r; \
25629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25631 $(NORMAL_TARGET_EXPORTS) \
25632 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
25633 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
25634 case $(srcdir) in \
25635 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25636 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
25637 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25639 srcdiroption="--srcdir=$${topdir}/libobjc"; \
25640 libsrcdir="$$s/libobjc"; \
25641 rm -f no-such-file || : ; \
25642 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25643 $(TARGET_CONFIGARGS) $${srcdiroption} \
25644 --with-target-subdir="$(TARGET_SUBDIR)" \
25646 @endif target-libobjc
25648 .PHONY: all-target-libobjc maybe-all-target-libobjc
25649 maybe-all-target-libobjc:
25651 TARGET-target-libobjc=all
25652 maybe-all-target-libobjc: all-target-libobjc
25653 all-target-libobjc: configure-target-libobjc
25654 @r=`${PWD_COMMAND}`; export r; \
25655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25657 $(NORMAL_TARGET_EXPORTS) \
25658 (cd $(TARGET_SUBDIR)/libobjc && \
25659 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
25660 @endif target-libobjc
25662 .PHONY: check-target-libobjc maybe-check-target-libobjc
25663 maybe-check-target-libobjc:
25665 maybe-check-target-libobjc: check-target-libobjc
25667 check-target-libobjc:
25668 @r=`${PWD_COMMAND}`; export r; \
25669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25671 $(NORMAL_TARGET_EXPORTS) \
25672 (cd $(TARGET_SUBDIR)/libobjc && \
25673 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25675 @endif target-libobjc
25677 .PHONY: install-target-libobjc maybe-install-target-libobjc
25678 maybe-install-target-libobjc:
25680 maybe-install-target-libobjc: install-target-libobjc
25682 install-target-libobjc: installdirs
25683 @r=`${PWD_COMMAND}`; export r; \
25684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25686 $(NORMAL_TARGET_EXPORTS) \
25687 (cd $(TARGET_SUBDIR)/libobjc && \
25688 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25690 @endif target-libobjc
25692 # Other targets (info, dvi, etc.)
25694 .PHONY: maybe-info-target-libobjc info-target-libobjc
25695 maybe-info-target-libobjc:
25697 maybe-info-target-libobjc: info-target-libobjc
25699 info-target-libobjc: \
25700 configure-target-libobjc
25701 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25702 r=`${PWD_COMMAND}`; export r; \
25703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25705 $(NORMAL_TARGET_EXPORTS) \
25706 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
25707 for flag in $(EXTRA_TARGET_FLAGS); do \
25708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25710 (cd $(TARGET_SUBDIR)/libobjc && \
25711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25713 "RANLIB=$${RANLIB}" \
25714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25718 @endif target-libobjc
25720 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
25721 maybe-dvi-target-libobjc:
25723 maybe-dvi-target-libobjc: dvi-target-libobjc
25725 dvi-target-libobjc: \
25726 configure-target-libobjc
25727 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25728 r=`${PWD_COMMAND}`; export r; \
25729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25731 $(NORMAL_TARGET_EXPORTS) \
25732 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
25733 for flag in $(EXTRA_TARGET_FLAGS); do \
25734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25736 (cd $(TARGET_SUBDIR)/libobjc && \
25737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25739 "RANLIB=$${RANLIB}" \
25740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25744 @endif target-libobjc
25746 .PHONY: maybe-html-target-libobjc html-target-libobjc
25747 maybe-html-target-libobjc:
25749 maybe-html-target-libobjc: html-target-libobjc
25751 html-target-libobjc: \
25752 configure-target-libobjc
25753 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25754 r=`${PWD_COMMAND}`; export r; \
25755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25757 $(NORMAL_TARGET_EXPORTS) \
25758 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
25759 for flag in $(EXTRA_TARGET_FLAGS); do \
25760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25762 (cd $(TARGET_SUBDIR)/libobjc && \
25763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25765 "RANLIB=$${RANLIB}" \
25766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25770 @endif target-libobjc
25772 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
25773 maybe-TAGS-target-libobjc:
25775 maybe-TAGS-target-libobjc: TAGS-target-libobjc
25777 TAGS-target-libobjc: \
25778 configure-target-libobjc
25779 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25780 r=`${PWD_COMMAND}`; export r; \
25781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25783 $(NORMAL_TARGET_EXPORTS) \
25784 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
25785 for flag in $(EXTRA_TARGET_FLAGS); do \
25786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25788 (cd $(TARGET_SUBDIR)/libobjc && \
25789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25791 "RANLIB=$${RANLIB}" \
25792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25796 @endif target-libobjc
25798 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
25799 maybe-install-info-target-libobjc:
25801 maybe-install-info-target-libobjc: install-info-target-libobjc
25803 install-info-target-libobjc: \
25804 configure-target-libobjc \
25805 info-target-libobjc
25806 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25807 r=`${PWD_COMMAND}`; export r; \
25808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25810 $(NORMAL_TARGET_EXPORTS) \
25811 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
25812 for flag in $(EXTRA_TARGET_FLAGS); do \
25813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25815 (cd $(TARGET_SUBDIR)/libobjc && \
25816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25818 "RANLIB=$${RANLIB}" \
25819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25823 @endif target-libobjc
25825 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
25826 maybe-installcheck-target-libobjc:
25828 maybe-installcheck-target-libobjc: installcheck-target-libobjc
25830 installcheck-target-libobjc: \
25831 configure-target-libobjc
25832 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25833 r=`${PWD_COMMAND}`; export r; \
25834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25836 $(NORMAL_TARGET_EXPORTS) \
25837 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
25838 for flag in $(EXTRA_TARGET_FLAGS); do \
25839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25841 (cd $(TARGET_SUBDIR)/libobjc && \
25842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25844 "RANLIB=$${RANLIB}" \
25845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25849 @endif target-libobjc
25851 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
25852 maybe-mostlyclean-target-libobjc:
25854 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
25856 mostlyclean-target-libobjc:
25857 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25858 r=`${PWD_COMMAND}`; export r; \
25859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25861 $(NORMAL_TARGET_EXPORTS) \
25862 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
25863 for flag in $(EXTRA_TARGET_FLAGS); do \
25864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25866 (cd $(TARGET_SUBDIR)/libobjc && \
25867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25869 "RANLIB=$${RANLIB}" \
25870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25874 @endif target-libobjc
25876 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
25877 maybe-clean-target-libobjc:
25879 maybe-clean-target-libobjc: clean-target-libobjc
25881 clean-target-libobjc:
25882 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25883 r=`${PWD_COMMAND}`; export r; \
25884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25886 $(NORMAL_TARGET_EXPORTS) \
25887 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
25888 for flag in $(EXTRA_TARGET_FLAGS); do \
25889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25891 (cd $(TARGET_SUBDIR)/libobjc && \
25892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25894 "RANLIB=$${RANLIB}" \
25895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25899 @endif target-libobjc
25901 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
25902 maybe-distclean-target-libobjc:
25904 maybe-distclean-target-libobjc: distclean-target-libobjc
25906 distclean-target-libobjc:
25907 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25908 r=`${PWD_COMMAND}`; export r; \
25909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25911 $(NORMAL_TARGET_EXPORTS) \
25912 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
25913 for flag in $(EXTRA_TARGET_FLAGS); do \
25914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25916 (cd $(TARGET_SUBDIR)/libobjc && \
25917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25919 "RANLIB=$${RANLIB}" \
25920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25924 @endif target-libobjc
25926 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
25927 maybe-maintainer-clean-target-libobjc:
25929 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
25931 maintainer-clean-target-libobjc:
25932 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25933 r=`${PWD_COMMAND}`; export r; \
25934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25936 $(NORMAL_TARGET_EXPORTS) \
25937 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
25938 for flag in $(EXTRA_TARGET_FLAGS); do \
25939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25941 (cd $(TARGET_SUBDIR)/libobjc && \
25942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25944 "RANLIB=$${RANLIB}" \
25945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25946 maintainer-clean) \
25949 @endif target-libobjc
25952 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
25953 maybe-configure-target-libtermcap:
25954 @if target-libtermcap
25955 maybe-configure-target-libtermcap: configure-target-libtermcap
25957 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25958 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
25959 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
25960 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
25961 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
25963 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
25964 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
25965 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
25966 r=`${PWD_COMMAND}`; export r; \
25967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25969 $(NORMAL_TARGET_EXPORTS) \
25970 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
25971 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
25972 case $(srcdir) in \
25973 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25974 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
25975 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25977 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
25978 libsrcdir="$$s/libtermcap"; \
25979 rm -f no-such-file || : ; \
25980 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25981 $(TARGET_CONFIGARGS) $${srcdiroption} \
25982 --with-target-subdir="$(TARGET_SUBDIR)" \
25984 @endif target-libtermcap
25986 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
25987 maybe-all-target-libtermcap:
25988 @if target-libtermcap
25989 TARGET-target-libtermcap=all
25990 maybe-all-target-libtermcap: all-target-libtermcap
25991 all-target-libtermcap: configure-target-libtermcap
25992 @r=`${PWD_COMMAND}`; export r; \
25993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25995 $(NORMAL_TARGET_EXPORTS) \
25996 (cd $(TARGET_SUBDIR)/libtermcap && \
25997 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
25998 @endif target-libtermcap
26000 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
26001 maybe-check-target-libtermcap:
26002 @if target-libtermcap
26003 maybe-check-target-libtermcap: check-target-libtermcap
26005 # Dummy target for uncheckable module.
26006 check-target-libtermcap:
26008 @endif target-libtermcap
26010 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
26011 maybe-install-target-libtermcap:
26012 @if target-libtermcap
26013 maybe-install-target-libtermcap: install-target-libtermcap
26015 install-target-libtermcap: installdirs
26016 @r=`${PWD_COMMAND}`; export r; \
26017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26019 $(NORMAL_TARGET_EXPORTS) \
26020 (cd $(TARGET_SUBDIR)/libtermcap && \
26021 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26023 @endif target-libtermcap
26025 # Other targets (info, dvi, etc.)
26027 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
26028 maybe-info-target-libtermcap:
26029 @if target-libtermcap
26030 maybe-info-target-libtermcap: info-target-libtermcap
26032 info-target-libtermcap: \
26033 configure-target-libtermcap
26034 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26035 r=`${PWD_COMMAND}`; export r; \
26036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26038 $(NORMAL_TARGET_EXPORTS) \
26039 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
26040 for flag in $(EXTRA_TARGET_FLAGS); do \
26041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26043 (cd $(TARGET_SUBDIR)/libtermcap && \
26044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26046 "RANLIB=$${RANLIB}" \
26047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26051 @endif target-libtermcap
26053 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
26054 maybe-dvi-target-libtermcap:
26055 @if target-libtermcap
26056 maybe-dvi-target-libtermcap: dvi-target-libtermcap
26058 dvi-target-libtermcap: \
26059 configure-target-libtermcap
26060 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26061 r=`${PWD_COMMAND}`; export r; \
26062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26064 $(NORMAL_TARGET_EXPORTS) \
26065 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
26066 for flag in $(EXTRA_TARGET_FLAGS); do \
26067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26069 (cd $(TARGET_SUBDIR)/libtermcap && \
26070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26072 "RANLIB=$${RANLIB}" \
26073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26077 @endif target-libtermcap
26079 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
26080 maybe-html-target-libtermcap:
26081 @if target-libtermcap
26082 maybe-html-target-libtermcap: html-target-libtermcap
26084 html-target-libtermcap: \
26085 configure-target-libtermcap
26086 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26087 r=`${PWD_COMMAND}`; export r; \
26088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26090 $(NORMAL_TARGET_EXPORTS) \
26091 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
26092 for flag in $(EXTRA_TARGET_FLAGS); do \
26093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26095 (cd $(TARGET_SUBDIR)/libtermcap && \
26096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26098 "RANLIB=$${RANLIB}" \
26099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26103 @endif target-libtermcap
26105 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
26106 maybe-TAGS-target-libtermcap:
26107 @if target-libtermcap
26108 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
26110 TAGS-target-libtermcap: \
26111 configure-target-libtermcap
26112 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26113 r=`${PWD_COMMAND}`; export r; \
26114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26116 $(NORMAL_TARGET_EXPORTS) \
26117 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
26118 for flag in $(EXTRA_TARGET_FLAGS); do \
26119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26121 (cd $(TARGET_SUBDIR)/libtermcap && \
26122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26124 "RANLIB=$${RANLIB}" \
26125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26129 @endif target-libtermcap
26131 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
26132 maybe-install-info-target-libtermcap:
26133 @if target-libtermcap
26134 maybe-install-info-target-libtermcap: install-info-target-libtermcap
26136 install-info-target-libtermcap: \
26137 configure-target-libtermcap \
26138 info-target-libtermcap
26139 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26140 r=`${PWD_COMMAND}`; export r; \
26141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26143 $(NORMAL_TARGET_EXPORTS) \
26144 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
26145 for flag in $(EXTRA_TARGET_FLAGS); do \
26146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26148 (cd $(TARGET_SUBDIR)/libtermcap && \
26149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26151 "RANLIB=$${RANLIB}" \
26152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26156 @endif target-libtermcap
26158 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
26159 maybe-installcheck-target-libtermcap:
26160 @if target-libtermcap
26161 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
26163 installcheck-target-libtermcap: \
26164 configure-target-libtermcap
26165 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26166 r=`${PWD_COMMAND}`; export r; \
26167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26169 $(NORMAL_TARGET_EXPORTS) \
26170 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
26171 for flag in $(EXTRA_TARGET_FLAGS); do \
26172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26174 (cd $(TARGET_SUBDIR)/libtermcap && \
26175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26177 "RANLIB=$${RANLIB}" \
26178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26182 @endif target-libtermcap
26184 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
26185 maybe-mostlyclean-target-libtermcap:
26186 @if target-libtermcap
26187 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
26189 # libtermcap doesn't support mostlyclean.
26190 mostlyclean-target-libtermcap:
26192 @endif target-libtermcap
26194 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
26195 maybe-clean-target-libtermcap:
26196 @if target-libtermcap
26197 maybe-clean-target-libtermcap: clean-target-libtermcap
26199 # libtermcap doesn't support clean.
26200 clean-target-libtermcap:
26202 @endif target-libtermcap
26204 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
26205 maybe-distclean-target-libtermcap:
26206 @if target-libtermcap
26207 maybe-distclean-target-libtermcap: distclean-target-libtermcap
26209 # libtermcap doesn't support distclean.
26210 distclean-target-libtermcap:
26212 @endif target-libtermcap
26214 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
26215 maybe-maintainer-clean-target-libtermcap:
26216 @if target-libtermcap
26217 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
26219 # libtermcap doesn't support maintainer-clean.
26220 maintainer-clean-target-libtermcap:
26222 @endif target-libtermcap
26225 .PHONY: configure-target-winsup maybe-configure-target-winsup
26226 maybe-configure-target-winsup:
26228 maybe-configure-target-winsup: configure-target-winsup
26230 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26231 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
26232 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
26233 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
26234 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
26236 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
26237 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
26238 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
26239 r=`${PWD_COMMAND}`; export r; \
26240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26242 $(NORMAL_TARGET_EXPORTS) \
26243 echo Configuring in $(TARGET_SUBDIR)/winsup; \
26244 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
26245 case $(srcdir) in \
26246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26247 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
26248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26250 srcdiroption="--srcdir=$${topdir}/winsup"; \
26251 libsrcdir="$$s/winsup"; \
26252 rm -f no-such-file || : ; \
26253 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26254 $(TARGET_CONFIGARGS) $${srcdiroption} \
26255 --with-target-subdir="$(TARGET_SUBDIR)" \
26257 @endif target-winsup
26259 .PHONY: all-target-winsup maybe-all-target-winsup
26260 maybe-all-target-winsup:
26262 TARGET-target-winsup=all
26263 maybe-all-target-winsup: all-target-winsup
26264 all-target-winsup: configure-target-winsup
26265 @r=`${PWD_COMMAND}`; export r; \
26266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26268 $(NORMAL_TARGET_EXPORTS) \
26269 (cd $(TARGET_SUBDIR)/winsup && \
26270 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
26271 @endif target-winsup
26273 .PHONY: check-target-winsup maybe-check-target-winsup
26274 maybe-check-target-winsup:
26276 maybe-check-target-winsup: check-target-winsup
26278 check-target-winsup:
26279 @r=`${PWD_COMMAND}`; export r; \
26280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26282 $(NORMAL_TARGET_EXPORTS) \
26283 (cd $(TARGET_SUBDIR)/winsup && \
26284 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26286 @endif target-winsup
26288 .PHONY: install-target-winsup maybe-install-target-winsup
26289 maybe-install-target-winsup:
26291 maybe-install-target-winsup: install-target-winsup
26293 install-target-winsup: installdirs
26294 @r=`${PWD_COMMAND}`; export r; \
26295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26297 $(NORMAL_TARGET_EXPORTS) \
26298 (cd $(TARGET_SUBDIR)/winsup && \
26299 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26301 @endif target-winsup
26303 # Other targets (info, dvi, etc.)
26305 .PHONY: maybe-info-target-winsup info-target-winsup
26306 maybe-info-target-winsup:
26308 maybe-info-target-winsup: info-target-winsup
26310 info-target-winsup: \
26311 configure-target-winsup
26312 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26313 r=`${PWD_COMMAND}`; export r; \
26314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26316 $(NORMAL_TARGET_EXPORTS) \
26317 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
26318 for flag in $(EXTRA_TARGET_FLAGS); do \
26319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26321 (cd $(TARGET_SUBDIR)/winsup && \
26322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26324 "RANLIB=$${RANLIB}" \
26325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26329 @endif target-winsup
26331 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
26332 maybe-dvi-target-winsup:
26334 maybe-dvi-target-winsup: dvi-target-winsup
26336 dvi-target-winsup: \
26337 configure-target-winsup
26338 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26339 r=`${PWD_COMMAND}`; export r; \
26340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26342 $(NORMAL_TARGET_EXPORTS) \
26343 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
26344 for flag in $(EXTRA_TARGET_FLAGS); do \
26345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26347 (cd $(TARGET_SUBDIR)/winsup && \
26348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26350 "RANLIB=$${RANLIB}" \
26351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26355 @endif target-winsup
26357 .PHONY: maybe-html-target-winsup html-target-winsup
26358 maybe-html-target-winsup:
26360 maybe-html-target-winsup: html-target-winsup
26362 html-target-winsup: \
26363 configure-target-winsup
26364 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26365 r=`${PWD_COMMAND}`; export r; \
26366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26368 $(NORMAL_TARGET_EXPORTS) \
26369 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
26370 for flag in $(EXTRA_TARGET_FLAGS); do \
26371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26373 (cd $(TARGET_SUBDIR)/winsup && \
26374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26376 "RANLIB=$${RANLIB}" \
26377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26381 @endif target-winsup
26383 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
26384 maybe-TAGS-target-winsup:
26386 maybe-TAGS-target-winsup: TAGS-target-winsup
26388 TAGS-target-winsup: \
26389 configure-target-winsup
26390 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26391 r=`${PWD_COMMAND}`; export r; \
26392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26394 $(NORMAL_TARGET_EXPORTS) \
26395 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
26396 for flag in $(EXTRA_TARGET_FLAGS); do \
26397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26399 (cd $(TARGET_SUBDIR)/winsup && \
26400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26402 "RANLIB=$${RANLIB}" \
26403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26407 @endif target-winsup
26409 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
26410 maybe-install-info-target-winsup:
26412 maybe-install-info-target-winsup: install-info-target-winsup
26414 install-info-target-winsup: \
26415 configure-target-winsup \
26417 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26418 r=`${PWD_COMMAND}`; export r; \
26419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26421 $(NORMAL_TARGET_EXPORTS) \
26422 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
26423 for flag in $(EXTRA_TARGET_FLAGS); do \
26424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26426 (cd $(TARGET_SUBDIR)/winsup && \
26427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26429 "RANLIB=$${RANLIB}" \
26430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26434 @endif target-winsup
26436 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
26437 maybe-installcheck-target-winsup:
26439 maybe-installcheck-target-winsup: installcheck-target-winsup
26441 installcheck-target-winsup: \
26442 configure-target-winsup
26443 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26444 r=`${PWD_COMMAND}`; export r; \
26445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26447 $(NORMAL_TARGET_EXPORTS) \
26448 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
26449 for flag in $(EXTRA_TARGET_FLAGS); do \
26450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26452 (cd $(TARGET_SUBDIR)/winsup && \
26453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26455 "RANLIB=$${RANLIB}" \
26456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26460 @endif target-winsup
26462 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
26463 maybe-mostlyclean-target-winsup:
26465 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
26467 mostlyclean-target-winsup:
26468 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26469 r=`${PWD_COMMAND}`; export r; \
26470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26472 $(NORMAL_TARGET_EXPORTS) \
26473 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
26474 for flag in $(EXTRA_TARGET_FLAGS); do \
26475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26477 (cd $(TARGET_SUBDIR)/winsup && \
26478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26480 "RANLIB=$${RANLIB}" \
26481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26485 @endif target-winsup
26487 .PHONY: maybe-clean-target-winsup clean-target-winsup
26488 maybe-clean-target-winsup:
26490 maybe-clean-target-winsup: clean-target-winsup
26492 clean-target-winsup:
26493 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26494 r=`${PWD_COMMAND}`; export r; \
26495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26497 $(NORMAL_TARGET_EXPORTS) \
26498 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
26499 for flag in $(EXTRA_TARGET_FLAGS); do \
26500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26502 (cd $(TARGET_SUBDIR)/winsup && \
26503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26505 "RANLIB=$${RANLIB}" \
26506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26510 @endif target-winsup
26512 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
26513 maybe-distclean-target-winsup:
26515 maybe-distclean-target-winsup: distclean-target-winsup
26517 distclean-target-winsup:
26518 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26519 r=`${PWD_COMMAND}`; export r; \
26520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26522 $(NORMAL_TARGET_EXPORTS) \
26523 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
26524 for flag in $(EXTRA_TARGET_FLAGS); do \
26525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26527 (cd $(TARGET_SUBDIR)/winsup && \
26528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26530 "RANLIB=$${RANLIB}" \
26531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26535 @endif target-winsup
26537 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
26538 maybe-maintainer-clean-target-winsup:
26540 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
26542 maintainer-clean-target-winsup:
26543 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26544 r=`${PWD_COMMAND}`; export r; \
26545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26547 $(NORMAL_TARGET_EXPORTS) \
26548 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
26549 for flag in $(EXTRA_TARGET_FLAGS); do \
26550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26552 (cd $(TARGET_SUBDIR)/winsup && \
26553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26555 "RANLIB=$${RANLIB}" \
26556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26557 maintainer-clean) \
26560 @endif target-winsup
26563 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
26564 maybe-configure-target-libgloss:
26565 @if target-libgloss
26566 maybe-configure-target-libgloss: configure-target-libgloss
26568 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26569 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
26570 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
26571 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
26572 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
26574 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
26575 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
26576 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
26577 r=`${PWD_COMMAND}`; export r; \
26578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26580 $(NORMAL_TARGET_EXPORTS) \
26581 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
26582 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
26583 case $(srcdir) in \
26584 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26585 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
26586 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26588 srcdiroption="--srcdir=$${topdir}/libgloss"; \
26589 libsrcdir="$$s/libgloss"; \
26590 rm -f no-such-file || : ; \
26591 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26592 $(TARGET_CONFIGARGS) $${srcdiroption} \
26593 --with-target-subdir="$(TARGET_SUBDIR)" \
26595 @endif target-libgloss
26597 .PHONY: all-target-libgloss maybe-all-target-libgloss
26598 maybe-all-target-libgloss:
26599 @if target-libgloss
26600 TARGET-target-libgloss=all
26601 maybe-all-target-libgloss: all-target-libgloss
26602 all-target-libgloss: configure-target-libgloss
26603 @r=`${PWD_COMMAND}`; export r; \
26604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26606 $(NORMAL_TARGET_EXPORTS) \
26607 (cd $(TARGET_SUBDIR)/libgloss && \
26608 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
26609 @endif target-libgloss
26611 .PHONY: check-target-libgloss maybe-check-target-libgloss
26612 maybe-check-target-libgloss:
26613 @if target-libgloss
26614 maybe-check-target-libgloss: check-target-libgloss
26616 # Dummy target for uncheckable module.
26617 check-target-libgloss:
26619 @endif target-libgloss
26621 .PHONY: install-target-libgloss maybe-install-target-libgloss
26622 maybe-install-target-libgloss:
26623 @if target-libgloss
26624 maybe-install-target-libgloss: install-target-libgloss
26626 install-target-libgloss: installdirs
26627 @r=`${PWD_COMMAND}`; export r; \
26628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26630 $(NORMAL_TARGET_EXPORTS) \
26631 (cd $(TARGET_SUBDIR)/libgloss && \
26632 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26634 @endif target-libgloss
26636 # Other targets (info, dvi, etc.)
26638 .PHONY: maybe-info-target-libgloss info-target-libgloss
26639 maybe-info-target-libgloss:
26640 @if target-libgloss
26641 maybe-info-target-libgloss: info-target-libgloss
26643 info-target-libgloss: \
26644 configure-target-libgloss
26645 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26646 r=`${PWD_COMMAND}`; export r; \
26647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26649 $(NORMAL_TARGET_EXPORTS) \
26650 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
26651 for flag in $(EXTRA_TARGET_FLAGS); do \
26652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26654 (cd $(TARGET_SUBDIR)/libgloss && \
26655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26657 "RANLIB=$${RANLIB}" \
26658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26662 @endif target-libgloss
26664 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
26665 maybe-dvi-target-libgloss:
26666 @if target-libgloss
26667 maybe-dvi-target-libgloss: dvi-target-libgloss
26669 dvi-target-libgloss: \
26670 configure-target-libgloss
26671 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26672 r=`${PWD_COMMAND}`; export r; \
26673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26675 $(NORMAL_TARGET_EXPORTS) \
26676 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
26677 for flag in $(EXTRA_TARGET_FLAGS); do \
26678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26680 (cd $(TARGET_SUBDIR)/libgloss && \
26681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26683 "RANLIB=$${RANLIB}" \
26684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26688 @endif target-libgloss
26690 .PHONY: maybe-html-target-libgloss html-target-libgloss
26691 maybe-html-target-libgloss:
26692 @if target-libgloss
26693 maybe-html-target-libgloss: html-target-libgloss
26695 html-target-libgloss: \
26696 configure-target-libgloss
26697 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26698 r=`${PWD_COMMAND}`; export r; \
26699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26701 $(NORMAL_TARGET_EXPORTS) \
26702 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
26703 for flag in $(EXTRA_TARGET_FLAGS); do \
26704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26706 (cd $(TARGET_SUBDIR)/libgloss && \
26707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26709 "RANLIB=$${RANLIB}" \
26710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26714 @endif target-libgloss
26716 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
26717 maybe-TAGS-target-libgloss:
26718 @if target-libgloss
26719 maybe-TAGS-target-libgloss: TAGS-target-libgloss
26721 TAGS-target-libgloss: \
26722 configure-target-libgloss
26723 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26724 r=`${PWD_COMMAND}`; export r; \
26725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26727 $(NORMAL_TARGET_EXPORTS) \
26728 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
26729 for flag in $(EXTRA_TARGET_FLAGS); do \
26730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26732 (cd $(TARGET_SUBDIR)/libgloss && \
26733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26735 "RANLIB=$${RANLIB}" \
26736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26740 @endif target-libgloss
26742 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
26743 maybe-install-info-target-libgloss:
26744 @if target-libgloss
26745 maybe-install-info-target-libgloss: install-info-target-libgloss
26747 install-info-target-libgloss: \
26748 configure-target-libgloss \
26749 info-target-libgloss
26750 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26751 r=`${PWD_COMMAND}`; export r; \
26752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26754 $(NORMAL_TARGET_EXPORTS) \
26755 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
26756 for flag in $(EXTRA_TARGET_FLAGS); do \
26757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26759 (cd $(TARGET_SUBDIR)/libgloss && \
26760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26762 "RANLIB=$${RANLIB}" \
26763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26767 @endif target-libgloss
26769 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
26770 maybe-installcheck-target-libgloss:
26771 @if target-libgloss
26772 maybe-installcheck-target-libgloss: installcheck-target-libgloss
26774 installcheck-target-libgloss: \
26775 configure-target-libgloss
26776 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26777 r=`${PWD_COMMAND}`; export r; \
26778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26780 $(NORMAL_TARGET_EXPORTS) \
26781 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
26782 for flag in $(EXTRA_TARGET_FLAGS); do \
26783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26785 (cd $(TARGET_SUBDIR)/libgloss && \
26786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26788 "RANLIB=$${RANLIB}" \
26789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26793 @endif target-libgloss
26795 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
26796 maybe-mostlyclean-target-libgloss:
26797 @if target-libgloss
26798 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
26800 mostlyclean-target-libgloss:
26801 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26802 r=`${PWD_COMMAND}`; export r; \
26803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26805 $(NORMAL_TARGET_EXPORTS) \
26806 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
26807 for flag in $(EXTRA_TARGET_FLAGS); do \
26808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26810 (cd $(TARGET_SUBDIR)/libgloss && \
26811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26813 "RANLIB=$${RANLIB}" \
26814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26818 @endif target-libgloss
26820 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
26821 maybe-clean-target-libgloss:
26822 @if target-libgloss
26823 maybe-clean-target-libgloss: clean-target-libgloss
26825 clean-target-libgloss:
26826 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26827 r=`${PWD_COMMAND}`; export r; \
26828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26830 $(NORMAL_TARGET_EXPORTS) \
26831 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
26832 for flag in $(EXTRA_TARGET_FLAGS); do \
26833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26835 (cd $(TARGET_SUBDIR)/libgloss && \
26836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26838 "RANLIB=$${RANLIB}" \
26839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26843 @endif target-libgloss
26845 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
26846 maybe-distclean-target-libgloss:
26847 @if target-libgloss
26848 maybe-distclean-target-libgloss: distclean-target-libgloss
26850 distclean-target-libgloss:
26851 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26852 r=`${PWD_COMMAND}`; export r; \
26853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26855 $(NORMAL_TARGET_EXPORTS) \
26856 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
26857 for flag in $(EXTRA_TARGET_FLAGS); do \
26858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26860 (cd $(TARGET_SUBDIR)/libgloss && \
26861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26863 "RANLIB=$${RANLIB}" \
26864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26868 @endif target-libgloss
26870 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
26871 maybe-maintainer-clean-target-libgloss:
26872 @if target-libgloss
26873 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
26875 maintainer-clean-target-libgloss:
26876 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26877 r=`${PWD_COMMAND}`; export r; \
26878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26880 $(NORMAL_TARGET_EXPORTS) \
26881 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
26882 for flag in $(EXTRA_TARGET_FLAGS); do \
26883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26885 (cd $(TARGET_SUBDIR)/libgloss && \
26886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26888 "RANLIB=$${RANLIB}" \
26889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26890 maintainer-clean) \
26893 @endif target-libgloss
26896 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
26897 maybe-configure-target-libiberty:
26898 @if target-libiberty
26899 maybe-configure-target-libiberty: configure-target-libiberty
26901 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26902 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
26903 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
26904 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
26905 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
26907 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
26908 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
26909 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
26910 r=`${PWD_COMMAND}`; export r; \
26911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26913 $(NORMAL_TARGET_EXPORTS) \
26914 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
26915 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
26916 case $(srcdir) in \
26917 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26918 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
26919 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26921 srcdiroption="--srcdir=$${topdir}/libiberty"; \
26922 libsrcdir="$$s/libiberty"; \
26923 rm -f no-such-file || : ; \
26924 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26925 $(TARGET_CONFIGARGS) $${srcdiroption} \
26926 --with-target-subdir="$(TARGET_SUBDIR)" \
26928 @endif target-libiberty
26930 .PHONY: all-target-libiberty maybe-all-target-libiberty
26931 maybe-all-target-libiberty:
26932 @if target-libiberty
26933 TARGET-target-libiberty=all
26934 maybe-all-target-libiberty: all-target-libiberty
26935 all-target-libiberty: configure-target-libiberty
26936 @r=`${PWD_COMMAND}`; export r; \
26937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26939 $(NORMAL_TARGET_EXPORTS) \
26940 (cd $(TARGET_SUBDIR)/libiberty && \
26941 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
26942 @endif target-libiberty
26944 .PHONY: check-target-libiberty maybe-check-target-libiberty
26945 maybe-check-target-libiberty:
26946 @if target-libiberty
26947 maybe-check-target-libiberty: check-target-libiberty
26949 check-target-libiberty:
26950 @r=`${PWD_COMMAND}`; export r; \
26951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26953 $(NORMAL_TARGET_EXPORTS) \
26954 (cd $(TARGET_SUBDIR)/libiberty && \
26955 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26957 @endif target-libiberty
26959 .PHONY: install-target-libiberty maybe-install-target-libiberty
26960 maybe-install-target-libiberty:
26961 @if target-libiberty
26962 maybe-install-target-libiberty: install-target-libiberty
26964 install-target-libiberty: installdirs
26965 @r=`${PWD_COMMAND}`; export r; \
26966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26968 $(NORMAL_TARGET_EXPORTS) \
26969 (cd $(TARGET_SUBDIR)/libiberty && \
26970 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26972 @endif target-libiberty
26974 # Other targets (info, dvi, etc.)
26976 .PHONY: maybe-info-target-libiberty info-target-libiberty
26977 maybe-info-target-libiberty:
26978 @if target-libiberty
26979 maybe-info-target-libiberty: info-target-libiberty
26981 info-target-libiberty: \
26982 configure-target-libiberty
26983 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26984 r=`${PWD_COMMAND}`; export r; \
26985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26987 $(NORMAL_TARGET_EXPORTS) \
26988 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
26989 for flag in $(EXTRA_TARGET_FLAGS); do \
26990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26992 (cd $(TARGET_SUBDIR)/libiberty && \
26993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26995 "RANLIB=$${RANLIB}" \
26996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27000 @endif target-libiberty
27002 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
27003 maybe-dvi-target-libiberty:
27004 @if target-libiberty
27005 maybe-dvi-target-libiberty: dvi-target-libiberty
27007 dvi-target-libiberty: \
27008 configure-target-libiberty
27009 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27010 r=`${PWD_COMMAND}`; export r; \
27011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27013 $(NORMAL_TARGET_EXPORTS) \
27014 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
27015 for flag in $(EXTRA_TARGET_FLAGS); do \
27016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27018 (cd $(TARGET_SUBDIR)/libiberty && \
27019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27021 "RANLIB=$${RANLIB}" \
27022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27026 @endif target-libiberty
27028 .PHONY: maybe-html-target-libiberty html-target-libiberty
27029 maybe-html-target-libiberty:
27030 @if target-libiberty
27031 maybe-html-target-libiberty: html-target-libiberty
27033 html-target-libiberty: \
27034 configure-target-libiberty
27035 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27036 r=`${PWD_COMMAND}`; export r; \
27037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27039 $(NORMAL_TARGET_EXPORTS) \
27040 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
27041 for flag in $(EXTRA_TARGET_FLAGS); do \
27042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27044 (cd $(TARGET_SUBDIR)/libiberty && \
27045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27047 "RANLIB=$${RANLIB}" \
27048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27052 @endif target-libiberty
27054 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
27055 maybe-TAGS-target-libiberty:
27056 @if target-libiberty
27057 maybe-TAGS-target-libiberty: TAGS-target-libiberty
27059 TAGS-target-libiberty: \
27060 configure-target-libiberty
27061 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27062 r=`${PWD_COMMAND}`; export r; \
27063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27065 $(NORMAL_TARGET_EXPORTS) \
27066 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
27067 for flag in $(EXTRA_TARGET_FLAGS); do \
27068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27070 (cd $(TARGET_SUBDIR)/libiberty && \
27071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27073 "RANLIB=$${RANLIB}" \
27074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27078 @endif target-libiberty
27080 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
27081 maybe-install-info-target-libiberty:
27082 @if target-libiberty
27083 maybe-install-info-target-libiberty: install-info-target-libiberty
27085 install-info-target-libiberty: \
27086 configure-target-libiberty \
27087 info-target-libiberty
27088 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27089 r=`${PWD_COMMAND}`; export r; \
27090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27092 $(NORMAL_TARGET_EXPORTS) \
27093 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
27094 for flag in $(EXTRA_TARGET_FLAGS); do \
27095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27097 (cd $(TARGET_SUBDIR)/libiberty && \
27098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27100 "RANLIB=$${RANLIB}" \
27101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27105 @endif target-libiberty
27107 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
27108 maybe-installcheck-target-libiberty:
27109 @if target-libiberty
27110 maybe-installcheck-target-libiberty: installcheck-target-libiberty
27112 installcheck-target-libiberty: \
27113 configure-target-libiberty
27114 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27115 r=`${PWD_COMMAND}`; export r; \
27116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27118 $(NORMAL_TARGET_EXPORTS) \
27119 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
27120 for flag in $(EXTRA_TARGET_FLAGS); do \
27121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27123 (cd $(TARGET_SUBDIR)/libiberty && \
27124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27126 "RANLIB=$${RANLIB}" \
27127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27131 @endif target-libiberty
27133 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
27134 maybe-mostlyclean-target-libiberty:
27135 @if target-libiberty
27136 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
27138 mostlyclean-target-libiberty:
27139 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27140 r=`${PWD_COMMAND}`; export r; \
27141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27143 $(NORMAL_TARGET_EXPORTS) \
27144 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
27145 for flag in $(EXTRA_TARGET_FLAGS); do \
27146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27148 (cd $(TARGET_SUBDIR)/libiberty && \
27149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27151 "RANLIB=$${RANLIB}" \
27152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27156 @endif target-libiberty
27158 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
27159 maybe-clean-target-libiberty:
27160 @if target-libiberty
27161 maybe-clean-target-libiberty: clean-target-libiberty
27163 clean-target-libiberty:
27164 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27165 r=`${PWD_COMMAND}`; export r; \
27166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27168 $(NORMAL_TARGET_EXPORTS) \
27169 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
27170 for flag in $(EXTRA_TARGET_FLAGS); do \
27171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27173 (cd $(TARGET_SUBDIR)/libiberty && \
27174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27176 "RANLIB=$${RANLIB}" \
27177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27181 @endif target-libiberty
27183 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
27184 maybe-distclean-target-libiberty:
27185 @if target-libiberty
27186 maybe-distclean-target-libiberty: distclean-target-libiberty
27188 distclean-target-libiberty:
27189 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27190 r=`${PWD_COMMAND}`; export r; \
27191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27193 $(NORMAL_TARGET_EXPORTS) \
27194 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
27195 for flag in $(EXTRA_TARGET_FLAGS); do \
27196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27198 (cd $(TARGET_SUBDIR)/libiberty && \
27199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27201 "RANLIB=$${RANLIB}" \
27202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27206 @endif target-libiberty
27208 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
27209 maybe-maintainer-clean-target-libiberty:
27210 @if target-libiberty
27211 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
27213 maintainer-clean-target-libiberty:
27214 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27215 r=`${PWD_COMMAND}`; export r; \
27216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27218 $(NORMAL_TARGET_EXPORTS) \
27219 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
27220 for flag in $(EXTRA_TARGET_FLAGS); do \
27221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27223 (cd $(TARGET_SUBDIR)/libiberty && \
27224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27226 "RANLIB=$${RANLIB}" \
27227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27228 maintainer-clean) \
27231 @endif target-libiberty
27234 .PHONY: configure-target-gperf maybe-configure-target-gperf
27235 maybe-configure-target-gperf:
27237 maybe-configure-target-gperf: configure-target-gperf
27239 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27240 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
27241 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
27242 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
27243 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
27245 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
27246 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
27247 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
27248 r=`${PWD_COMMAND}`; export r; \
27249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27251 $(NORMAL_TARGET_EXPORTS) \
27252 echo Configuring in $(TARGET_SUBDIR)/gperf; \
27253 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
27254 case $(srcdir) in \
27255 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27256 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
27257 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27259 srcdiroption="--srcdir=$${topdir}/gperf"; \
27260 libsrcdir="$$s/gperf"; \
27261 rm -f no-such-file || : ; \
27262 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27263 $(TARGET_CONFIGARGS) $${srcdiroption} \
27264 --with-target-subdir="$(TARGET_SUBDIR)" \
27266 @endif target-gperf
27268 .PHONY: all-target-gperf maybe-all-target-gperf
27269 maybe-all-target-gperf:
27271 TARGET-target-gperf=all
27272 maybe-all-target-gperf: all-target-gperf
27273 all-target-gperf: configure-target-gperf
27274 @r=`${PWD_COMMAND}`; export r; \
27275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27277 $(NORMAL_TARGET_EXPORTS) \
27278 (cd $(TARGET_SUBDIR)/gperf && \
27279 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
27280 @endif target-gperf
27282 .PHONY: check-target-gperf maybe-check-target-gperf
27283 maybe-check-target-gperf:
27285 maybe-check-target-gperf: check-target-gperf
27287 check-target-gperf:
27288 @r=`${PWD_COMMAND}`; export r; \
27289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27291 $(NORMAL_TARGET_EXPORTS) \
27292 (cd $(TARGET_SUBDIR)/gperf && \
27293 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27295 @endif target-gperf
27297 .PHONY: install-target-gperf maybe-install-target-gperf
27298 maybe-install-target-gperf:
27300 maybe-install-target-gperf: install-target-gperf
27302 install-target-gperf: installdirs
27303 @r=`${PWD_COMMAND}`; export r; \
27304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27306 $(NORMAL_TARGET_EXPORTS) \
27307 (cd $(TARGET_SUBDIR)/gperf && \
27308 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27310 @endif target-gperf
27312 # Other targets (info, dvi, etc.)
27314 .PHONY: maybe-info-target-gperf info-target-gperf
27315 maybe-info-target-gperf:
27317 maybe-info-target-gperf: info-target-gperf
27319 info-target-gperf: \
27320 configure-target-gperf
27321 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27322 r=`${PWD_COMMAND}`; export r; \
27323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27325 $(NORMAL_TARGET_EXPORTS) \
27326 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
27327 for flag in $(EXTRA_TARGET_FLAGS); do \
27328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27330 (cd $(TARGET_SUBDIR)/gperf && \
27331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27333 "RANLIB=$${RANLIB}" \
27334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27338 @endif target-gperf
27340 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
27341 maybe-dvi-target-gperf:
27343 maybe-dvi-target-gperf: dvi-target-gperf
27345 dvi-target-gperf: \
27346 configure-target-gperf
27347 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27348 r=`${PWD_COMMAND}`; export r; \
27349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27351 $(NORMAL_TARGET_EXPORTS) \
27352 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
27353 for flag in $(EXTRA_TARGET_FLAGS); do \
27354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27356 (cd $(TARGET_SUBDIR)/gperf && \
27357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27359 "RANLIB=$${RANLIB}" \
27360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27364 @endif target-gperf
27366 .PHONY: maybe-html-target-gperf html-target-gperf
27367 maybe-html-target-gperf:
27369 maybe-html-target-gperf: html-target-gperf
27371 html-target-gperf: \
27372 configure-target-gperf
27373 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27374 r=`${PWD_COMMAND}`; export r; \
27375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27377 $(NORMAL_TARGET_EXPORTS) \
27378 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
27379 for flag in $(EXTRA_TARGET_FLAGS); do \
27380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27382 (cd $(TARGET_SUBDIR)/gperf && \
27383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27385 "RANLIB=$${RANLIB}" \
27386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27390 @endif target-gperf
27392 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
27393 maybe-TAGS-target-gperf:
27395 maybe-TAGS-target-gperf: TAGS-target-gperf
27397 TAGS-target-gperf: \
27398 configure-target-gperf
27399 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27400 r=`${PWD_COMMAND}`; export r; \
27401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27403 $(NORMAL_TARGET_EXPORTS) \
27404 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
27405 for flag in $(EXTRA_TARGET_FLAGS); do \
27406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27408 (cd $(TARGET_SUBDIR)/gperf && \
27409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27411 "RANLIB=$${RANLIB}" \
27412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27416 @endif target-gperf
27418 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
27419 maybe-install-info-target-gperf:
27421 maybe-install-info-target-gperf: install-info-target-gperf
27423 install-info-target-gperf: \
27424 configure-target-gperf \
27426 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27427 r=`${PWD_COMMAND}`; export r; \
27428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27430 $(NORMAL_TARGET_EXPORTS) \
27431 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
27432 for flag in $(EXTRA_TARGET_FLAGS); do \
27433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27435 (cd $(TARGET_SUBDIR)/gperf && \
27436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27438 "RANLIB=$${RANLIB}" \
27439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27443 @endif target-gperf
27445 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
27446 maybe-installcheck-target-gperf:
27448 maybe-installcheck-target-gperf: installcheck-target-gperf
27450 installcheck-target-gperf: \
27451 configure-target-gperf
27452 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27453 r=`${PWD_COMMAND}`; export r; \
27454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27456 $(NORMAL_TARGET_EXPORTS) \
27457 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
27458 for flag in $(EXTRA_TARGET_FLAGS); do \
27459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27461 (cd $(TARGET_SUBDIR)/gperf && \
27462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27464 "RANLIB=$${RANLIB}" \
27465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27469 @endif target-gperf
27471 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
27472 maybe-mostlyclean-target-gperf:
27474 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
27476 mostlyclean-target-gperf:
27477 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27478 r=`${PWD_COMMAND}`; export r; \
27479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27481 $(NORMAL_TARGET_EXPORTS) \
27482 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
27483 for flag in $(EXTRA_TARGET_FLAGS); do \
27484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27486 (cd $(TARGET_SUBDIR)/gperf && \
27487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27489 "RANLIB=$${RANLIB}" \
27490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27494 @endif target-gperf
27496 .PHONY: maybe-clean-target-gperf clean-target-gperf
27497 maybe-clean-target-gperf:
27499 maybe-clean-target-gperf: clean-target-gperf
27501 clean-target-gperf:
27502 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27503 r=`${PWD_COMMAND}`; export r; \
27504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27506 $(NORMAL_TARGET_EXPORTS) \
27507 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
27508 for flag in $(EXTRA_TARGET_FLAGS); do \
27509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27511 (cd $(TARGET_SUBDIR)/gperf && \
27512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27514 "RANLIB=$${RANLIB}" \
27515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27519 @endif target-gperf
27521 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
27522 maybe-distclean-target-gperf:
27524 maybe-distclean-target-gperf: distclean-target-gperf
27526 distclean-target-gperf:
27527 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27528 r=`${PWD_COMMAND}`; export r; \
27529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27531 $(NORMAL_TARGET_EXPORTS) \
27532 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
27533 for flag in $(EXTRA_TARGET_FLAGS); do \
27534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27536 (cd $(TARGET_SUBDIR)/gperf && \
27537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27539 "RANLIB=$${RANLIB}" \
27540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27544 @endif target-gperf
27546 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
27547 maybe-maintainer-clean-target-gperf:
27549 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
27551 maintainer-clean-target-gperf:
27552 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27553 r=`${PWD_COMMAND}`; export r; \
27554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27556 $(NORMAL_TARGET_EXPORTS) \
27557 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
27558 for flag in $(EXTRA_TARGET_FLAGS); do \
27559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27561 (cd $(TARGET_SUBDIR)/gperf && \
27562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27564 "RANLIB=$${RANLIB}" \
27565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27566 maintainer-clean) \
27569 @endif target-gperf
27572 .PHONY: configure-target-examples maybe-configure-target-examples
27573 maybe-configure-target-examples:
27574 @if target-examples
27575 maybe-configure-target-examples: configure-target-examples
27577 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27578 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
27579 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
27580 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
27581 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
27583 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
27584 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
27585 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
27586 r=`${PWD_COMMAND}`; export r; \
27587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27589 $(NORMAL_TARGET_EXPORTS) \
27590 echo Configuring in $(TARGET_SUBDIR)/examples; \
27591 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
27592 case $(srcdir) in \
27593 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27594 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
27595 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27597 srcdiroption="--srcdir=$${topdir}/examples"; \
27598 libsrcdir="$$s/examples"; \
27599 rm -f no-such-file || : ; \
27600 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27601 $(TARGET_CONFIGARGS) $${srcdiroption} \
27602 --with-target-subdir="$(TARGET_SUBDIR)" \
27604 @endif target-examples
27606 .PHONY: all-target-examples maybe-all-target-examples
27607 maybe-all-target-examples:
27608 @if target-examples
27609 TARGET-target-examples=all
27610 maybe-all-target-examples: all-target-examples
27611 all-target-examples: configure-target-examples
27612 @r=`${PWD_COMMAND}`; export r; \
27613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27615 $(NORMAL_TARGET_EXPORTS) \
27616 (cd $(TARGET_SUBDIR)/examples && \
27617 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
27618 @endif target-examples
27620 .PHONY: check-target-examples maybe-check-target-examples
27621 maybe-check-target-examples:
27622 @if target-examples
27623 maybe-check-target-examples: check-target-examples
27625 # Dummy target for uncheckable module.
27626 check-target-examples:
27628 @endif target-examples
27630 .PHONY: install-target-examples maybe-install-target-examples
27631 maybe-install-target-examples:
27632 @if target-examples
27633 maybe-install-target-examples: install-target-examples
27635 # Dummy target for uninstallable.
27636 install-target-examples:
27638 @endif target-examples
27640 # Other targets (info, dvi, etc.)
27642 .PHONY: maybe-info-target-examples info-target-examples
27643 maybe-info-target-examples:
27644 @if target-examples
27645 maybe-info-target-examples: info-target-examples
27647 info-target-examples: \
27648 configure-target-examples
27649 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27650 r=`${PWD_COMMAND}`; export r; \
27651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27653 $(NORMAL_TARGET_EXPORTS) \
27654 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
27655 for flag in $(EXTRA_TARGET_FLAGS); do \
27656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27658 (cd $(TARGET_SUBDIR)/examples && \
27659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27661 "RANLIB=$${RANLIB}" \
27662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27666 @endif target-examples
27668 .PHONY: maybe-dvi-target-examples dvi-target-examples
27669 maybe-dvi-target-examples:
27670 @if target-examples
27671 maybe-dvi-target-examples: dvi-target-examples
27673 dvi-target-examples: \
27674 configure-target-examples
27675 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27676 r=`${PWD_COMMAND}`; export r; \
27677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27679 $(NORMAL_TARGET_EXPORTS) \
27680 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
27681 for flag in $(EXTRA_TARGET_FLAGS); do \
27682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27684 (cd $(TARGET_SUBDIR)/examples && \
27685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27687 "RANLIB=$${RANLIB}" \
27688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27692 @endif target-examples
27694 .PHONY: maybe-html-target-examples html-target-examples
27695 maybe-html-target-examples:
27696 @if target-examples
27697 maybe-html-target-examples: html-target-examples
27699 html-target-examples: \
27700 configure-target-examples
27701 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27702 r=`${PWD_COMMAND}`; export r; \
27703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27705 $(NORMAL_TARGET_EXPORTS) \
27706 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
27707 for flag in $(EXTRA_TARGET_FLAGS); do \
27708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27710 (cd $(TARGET_SUBDIR)/examples && \
27711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27713 "RANLIB=$${RANLIB}" \
27714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27718 @endif target-examples
27720 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
27721 maybe-TAGS-target-examples:
27722 @if target-examples
27723 maybe-TAGS-target-examples: TAGS-target-examples
27725 TAGS-target-examples: \
27726 configure-target-examples
27727 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27728 r=`${PWD_COMMAND}`; export r; \
27729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27731 $(NORMAL_TARGET_EXPORTS) \
27732 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
27733 for flag in $(EXTRA_TARGET_FLAGS); do \
27734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27736 (cd $(TARGET_SUBDIR)/examples && \
27737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27739 "RANLIB=$${RANLIB}" \
27740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27744 @endif target-examples
27746 .PHONY: maybe-install-info-target-examples install-info-target-examples
27747 maybe-install-info-target-examples:
27748 @if target-examples
27749 maybe-install-info-target-examples: install-info-target-examples
27751 install-info-target-examples: \
27752 configure-target-examples \
27753 info-target-examples
27754 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27755 r=`${PWD_COMMAND}`; export r; \
27756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27758 $(NORMAL_TARGET_EXPORTS) \
27759 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
27760 for flag in $(EXTRA_TARGET_FLAGS); do \
27761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27763 (cd $(TARGET_SUBDIR)/examples && \
27764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27766 "RANLIB=$${RANLIB}" \
27767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27771 @endif target-examples
27773 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
27774 maybe-installcheck-target-examples:
27775 @if target-examples
27776 maybe-installcheck-target-examples: installcheck-target-examples
27778 installcheck-target-examples: \
27779 configure-target-examples
27780 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27781 r=`${PWD_COMMAND}`; export r; \
27782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27784 $(NORMAL_TARGET_EXPORTS) \
27785 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
27786 for flag in $(EXTRA_TARGET_FLAGS); do \
27787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27789 (cd $(TARGET_SUBDIR)/examples && \
27790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27792 "RANLIB=$${RANLIB}" \
27793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27797 @endif target-examples
27799 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
27800 maybe-mostlyclean-target-examples:
27801 @if target-examples
27802 maybe-mostlyclean-target-examples: mostlyclean-target-examples
27804 mostlyclean-target-examples:
27805 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27806 r=`${PWD_COMMAND}`; export r; \
27807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27809 $(NORMAL_TARGET_EXPORTS) \
27810 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
27811 for flag in $(EXTRA_TARGET_FLAGS); do \
27812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27814 (cd $(TARGET_SUBDIR)/examples && \
27815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27817 "RANLIB=$${RANLIB}" \
27818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27822 @endif target-examples
27824 .PHONY: maybe-clean-target-examples clean-target-examples
27825 maybe-clean-target-examples:
27826 @if target-examples
27827 maybe-clean-target-examples: clean-target-examples
27829 clean-target-examples:
27830 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27831 r=`${PWD_COMMAND}`; export r; \
27832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27834 $(NORMAL_TARGET_EXPORTS) \
27835 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
27836 for flag in $(EXTRA_TARGET_FLAGS); do \
27837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27839 (cd $(TARGET_SUBDIR)/examples && \
27840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27842 "RANLIB=$${RANLIB}" \
27843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27847 @endif target-examples
27849 .PHONY: maybe-distclean-target-examples distclean-target-examples
27850 maybe-distclean-target-examples:
27851 @if target-examples
27852 maybe-distclean-target-examples: distclean-target-examples
27854 distclean-target-examples:
27855 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27856 r=`${PWD_COMMAND}`; export r; \
27857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27859 $(NORMAL_TARGET_EXPORTS) \
27860 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
27861 for flag in $(EXTRA_TARGET_FLAGS); do \
27862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27864 (cd $(TARGET_SUBDIR)/examples && \
27865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27867 "RANLIB=$${RANLIB}" \
27868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27872 @endif target-examples
27874 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
27875 maybe-maintainer-clean-target-examples:
27876 @if target-examples
27877 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
27879 maintainer-clean-target-examples:
27880 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27881 r=`${PWD_COMMAND}`; export r; \
27882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27884 $(NORMAL_TARGET_EXPORTS) \
27885 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
27886 for flag in $(EXTRA_TARGET_FLAGS); do \
27887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27889 (cd $(TARGET_SUBDIR)/examples && \
27890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27892 "RANLIB=$${RANLIB}" \
27893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27894 maintainer-clean) \
27897 @endif target-examples
27900 .PHONY: configure-target-libffi maybe-configure-target-libffi
27901 maybe-configure-target-libffi:
27903 maybe-configure-target-libffi: configure-target-libffi
27905 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27906 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
27907 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
27908 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
27909 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
27911 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
27912 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
27913 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
27914 r=`${PWD_COMMAND}`; export r; \
27915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27917 $(NORMAL_TARGET_EXPORTS) \
27918 echo Configuring in $(TARGET_SUBDIR)/libffi; \
27919 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
27920 case $(srcdir) in \
27921 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27922 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
27923 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27925 srcdiroption="--srcdir=$${topdir}/libffi"; \
27926 libsrcdir="$$s/libffi"; \
27927 rm -f no-such-file || : ; \
27928 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27929 $(TARGET_CONFIGARGS) $${srcdiroption} \
27930 --with-target-subdir="$(TARGET_SUBDIR)" \
27932 @endif target-libffi
27934 .PHONY: all-target-libffi maybe-all-target-libffi
27935 maybe-all-target-libffi:
27937 TARGET-target-libffi=all
27938 maybe-all-target-libffi: all-target-libffi
27939 all-target-libffi: configure-target-libffi
27940 @r=`${PWD_COMMAND}`; export r; \
27941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27943 $(NORMAL_TARGET_EXPORTS) \
27944 (cd $(TARGET_SUBDIR)/libffi && \
27945 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
27946 @endif target-libffi
27948 .PHONY: check-target-libffi maybe-check-target-libffi
27949 maybe-check-target-libffi:
27951 maybe-check-target-libffi: check-target-libffi
27953 check-target-libffi:
27954 @r=`${PWD_COMMAND}`; export r; \
27955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27957 $(NORMAL_TARGET_EXPORTS) \
27958 (cd $(TARGET_SUBDIR)/libffi && \
27959 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27961 @endif target-libffi
27963 .PHONY: install-target-libffi maybe-install-target-libffi
27964 maybe-install-target-libffi:
27966 maybe-install-target-libffi: install-target-libffi
27968 install-target-libffi: installdirs
27969 @r=`${PWD_COMMAND}`; export r; \
27970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27972 $(NORMAL_TARGET_EXPORTS) \
27973 (cd $(TARGET_SUBDIR)/libffi && \
27974 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27976 @endif target-libffi
27978 # Other targets (info, dvi, etc.)
27980 .PHONY: maybe-info-target-libffi info-target-libffi
27981 maybe-info-target-libffi:
27983 maybe-info-target-libffi: info-target-libffi
27985 info-target-libffi: \
27986 configure-target-libffi
27987 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
27988 r=`${PWD_COMMAND}`; export r; \
27989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27991 $(NORMAL_TARGET_EXPORTS) \
27992 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
27993 for flag in $(EXTRA_TARGET_FLAGS); do \
27994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27996 (cd $(TARGET_SUBDIR)/libffi && \
27997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27999 "RANLIB=$${RANLIB}" \
28000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28004 @endif target-libffi
28006 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
28007 maybe-dvi-target-libffi:
28009 maybe-dvi-target-libffi: dvi-target-libffi
28011 dvi-target-libffi: \
28012 configure-target-libffi
28013 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28014 r=`${PWD_COMMAND}`; export r; \
28015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28017 $(NORMAL_TARGET_EXPORTS) \
28018 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
28019 for flag in $(EXTRA_TARGET_FLAGS); do \
28020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28022 (cd $(TARGET_SUBDIR)/libffi && \
28023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28025 "RANLIB=$${RANLIB}" \
28026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28030 @endif target-libffi
28032 .PHONY: maybe-html-target-libffi html-target-libffi
28033 maybe-html-target-libffi:
28035 maybe-html-target-libffi: html-target-libffi
28037 html-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 html 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-TAGS-target-libffi TAGS-target-libffi
28059 maybe-TAGS-target-libffi:
28061 maybe-TAGS-target-libffi: TAGS-target-libffi
28063 TAGS-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 TAGS 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-install-info-target-libffi install-info-target-libffi
28085 maybe-install-info-target-libffi:
28087 maybe-install-info-target-libffi: install-info-target-libffi
28089 install-info-target-libffi: \
28090 configure-target-libffi \
28092 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28093 r=`${PWD_COMMAND}`; export r; \
28094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28096 $(NORMAL_TARGET_EXPORTS) \
28097 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
28098 for flag in $(EXTRA_TARGET_FLAGS); do \
28099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28101 (cd $(TARGET_SUBDIR)/libffi && \
28102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28104 "RANLIB=$${RANLIB}" \
28105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28109 @endif target-libffi
28111 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
28112 maybe-installcheck-target-libffi:
28114 maybe-installcheck-target-libffi: installcheck-target-libffi
28116 installcheck-target-libffi: \
28117 configure-target-libffi
28118 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28119 r=`${PWD_COMMAND}`; export r; \
28120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28122 $(NORMAL_TARGET_EXPORTS) \
28123 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
28124 for flag in $(EXTRA_TARGET_FLAGS); do \
28125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28127 (cd $(TARGET_SUBDIR)/libffi && \
28128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28130 "RANLIB=$${RANLIB}" \
28131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28135 @endif target-libffi
28137 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
28138 maybe-mostlyclean-target-libffi:
28140 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
28142 mostlyclean-target-libffi:
28143 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28144 r=`${PWD_COMMAND}`; export r; \
28145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28147 $(NORMAL_TARGET_EXPORTS) \
28148 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
28149 for flag in $(EXTRA_TARGET_FLAGS); do \
28150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28152 (cd $(TARGET_SUBDIR)/libffi && \
28153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28155 "RANLIB=$${RANLIB}" \
28156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28160 @endif target-libffi
28162 .PHONY: maybe-clean-target-libffi clean-target-libffi
28163 maybe-clean-target-libffi:
28165 maybe-clean-target-libffi: clean-target-libffi
28167 clean-target-libffi:
28168 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28169 r=`${PWD_COMMAND}`; export r; \
28170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28172 $(NORMAL_TARGET_EXPORTS) \
28173 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
28174 for flag in $(EXTRA_TARGET_FLAGS); do \
28175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28177 (cd $(TARGET_SUBDIR)/libffi && \
28178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28180 "RANLIB=$${RANLIB}" \
28181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28185 @endif target-libffi
28187 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
28188 maybe-distclean-target-libffi:
28190 maybe-distclean-target-libffi: distclean-target-libffi
28192 distclean-target-libffi:
28193 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28194 r=`${PWD_COMMAND}`; export r; \
28195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28197 $(NORMAL_TARGET_EXPORTS) \
28198 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
28199 for flag in $(EXTRA_TARGET_FLAGS); do \
28200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28202 (cd $(TARGET_SUBDIR)/libffi && \
28203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28205 "RANLIB=$${RANLIB}" \
28206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28210 @endif target-libffi
28212 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
28213 maybe-maintainer-clean-target-libffi:
28215 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
28217 maintainer-clean-target-libffi:
28218 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28219 r=`${PWD_COMMAND}`; export r; \
28220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28222 $(NORMAL_TARGET_EXPORTS) \
28223 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
28224 for flag in $(EXTRA_TARGET_FLAGS); do \
28225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28227 (cd $(TARGET_SUBDIR)/libffi && \
28228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28230 "RANLIB=$${RANLIB}" \
28231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28232 maintainer-clean) \
28235 @endif target-libffi
28238 .PHONY: configure-target-libjava maybe-configure-target-libjava
28239 maybe-configure-target-libjava:
28241 maybe-configure-target-libjava: configure-target-libjava
28243 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28244 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
28245 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
28246 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
28247 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
28249 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
28250 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
28251 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
28252 r=`${PWD_COMMAND}`; export r; \
28253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28255 $(RAW_CXX_TARGET_EXPORTS) \
28256 echo Configuring in $(TARGET_SUBDIR)/libjava; \
28257 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
28258 case $(srcdir) in \
28259 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28260 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
28261 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28263 srcdiroption="--srcdir=$${topdir}/libjava"; \
28264 libsrcdir="$$s/libjava"; \
28265 rm -f no-such-file || : ; \
28266 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28267 $(TARGET_CONFIGARGS) $${srcdiroption} \
28268 --with-target-subdir="$(TARGET_SUBDIR)" \
28270 @endif target-libjava
28272 .PHONY: all-target-libjava maybe-all-target-libjava
28273 maybe-all-target-libjava:
28275 TARGET-target-libjava=all
28276 maybe-all-target-libjava: all-target-libjava
28277 all-target-libjava: configure-target-libjava
28278 @r=`${PWD_COMMAND}`; export r; \
28279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28281 $(RAW_CXX_TARGET_EXPORTS) \
28282 (cd $(TARGET_SUBDIR)/libjava && \
28283 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
28284 @endif target-libjava
28286 .PHONY: check-target-libjava maybe-check-target-libjava
28287 maybe-check-target-libjava:
28289 maybe-check-target-libjava: check-target-libjava
28291 check-target-libjava:
28292 @r=`${PWD_COMMAND}`; export r; \
28293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28295 $(RAW_CXX_TARGET_EXPORTS) \
28296 (cd $(TARGET_SUBDIR)/libjava && \
28297 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
28299 @endif target-libjava
28301 .PHONY: install-target-libjava maybe-install-target-libjava
28302 maybe-install-target-libjava:
28304 maybe-install-target-libjava: install-target-libjava
28306 install-target-libjava: installdirs
28307 @r=`${PWD_COMMAND}`; export r; \
28308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28310 $(RAW_CXX_TARGET_EXPORTS) \
28311 (cd $(TARGET_SUBDIR)/libjava && \
28312 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28314 @endif target-libjava
28316 # Other targets (info, dvi, etc.)
28318 .PHONY: maybe-info-target-libjava info-target-libjava
28319 maybe-info-target-libjava:
28321 maybe-info-target-libjava: info-target-libjava
28323 info-target-libjava: \
28324 configure-target-libjava
28325 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28326 r=`${PWD_COMMAND}`; export r; \
28327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28329 $(RAW_CXX_TARGET_EXPORTS) \
28330 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
28331 for flag in $(EXTRA_TARGET_FLAGS); do \
28332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28334 (cd $(TARGET_SUBDIR)/libjava && \
28335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28337 "RANLIB=$${RANLIB}" \
28338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28342 @endif target-libjava
28344 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
28345 maybe-dvi-target-libjava:
28347 maybe-dvi-target-libjava: dvi-target-libjava
28349 dvi-target-libjava: \
28350 configure-target-libjava
28351 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28352 r=`${PWD_COMMAND}`; export r; \
28353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28355 $(RAW_CXX_TARGET_EXPORTS) \
28356 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
28357 for flag in $(EXTRA_TARGET_FLAGS); do \
28358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28360 (cd $(TARGET_SUBDIR)/libjava && \
28361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28363 "RANLIB=$${RANLIB}" \
28364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28368 @endif target-libjava
28370 .PHONY: maybe-html-target-libjava html-target-libjava
28371 maybe-html-target-libjava:
28373 maybe-html-target-libjava: html-target-libjava
28375 html-target-libjava: \
28376 configure-target-libjava
28377 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28378 r=`${PWD_COMMAND}`; export r; \
28379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28381 $(RAW_CXX_TARGET_EXPORTS) \
28382 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
28383 for flag in $(EXTRA_TARGET_FLAGS); do \
28384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28386 (cd $(TARGET_SUBDIR)/libjava && \
28387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28389 "RANLIB=$${RANLIB}" \
28390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28394 @endif target-libjava
28396 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
28397 maybe-TAGS-target-libjava:
28399 maybe-TAGS-target-libjava: TAGS-target-libjava
28401 TAGS-target-libjava: \
28402 configure-target-libjava
28403 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28404 r=`${PWD_COMMAND}`; export r; \
28405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28407 $(RAW_CXX_TARGET_EXPORTS) \
28408 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
28409 for flag in $(EXTRA_TARGET_FLAGS); do \
28410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28412 (cd $(TARGET_SUBDIR)/libjava && \
28413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28415 "RANLIB=$${RANLIB}" \
28416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28420 @endif target-libjava
28422 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
28423 maybe-install-info-target-libjava:
28425 maybe-install-info-target-libjava: install-info-target-libjava
28427 install-info-target-libjava: \
28428 configure-target-libjava \
28429 info-target-libjava
28430 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28431 r=`${PWD_COMMAND}`; export r; \
28432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28434 $(RAW_CXX_TARGET_EXPORTS) \
28435 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
28436 for flag in $(EXTRA_TARGET_FLAGS); do \
28437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28439 (cd $(TARGET_SUBDIR)/libjava && \
28440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28442 "RANLIB=$${RANLIB}" \
28443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28447 @endif target-libjava
28449 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
28450 maybe-installcheck-target-libjava:
28452 maybe-installcheck-target-libjava: installcheck-target-libjava
28454 installcheck-target-libjava: \
28455 configure-target-libjava
28456 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28457 r=`${PWD_COMMAND}`; export r; \
28458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28460 $(RAW_CXX_TARGET_EXPORTS) \
28461 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
28462 for flag in $(EXTRA_TARGET_FLAGS); do \
28463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28465 (cd $(TARGET_SUBDIR)/libjava && \
28466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28468 "RANLIB=$${RANLIB}" \
28469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28473 @endif target-libjava
28475 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
28476 maybe-mostlyclean-target-libjava:
28478 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
28480 mostlyclean-target-libjava:
28481 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28482 r=`${PWD_COMMAND}`; export r; \
28483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28485 $(RAW_CXX_TARGET_EXPORTS) \
28486 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
28487 for flag in $(EXTRA_TARGET_FLAGS); do \
28488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28490 (cd $(TARGET_SUBDIR)/libjava && \
28491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28493 "RANLIB=$${RANLIB}" \
28494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28498 @endif target-libjava
28500 .PHONY: maybe-clean-target-libjava clean-target-libjava
28501 maybe-clean-target-libjava:
28503 maybe-clean-target-libjava: clean-target-libjava
28505 clean-target-libjava:
28506 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28507 r=`${PWD_COMMAND}`; export r; \
28508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28510 $(RAW_CXX_TARGET_EXPORTS) \
28511 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
28512 for flag in $(EXTRA_TARGET_FLAGS); do \
28513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28515 (cd $(TARGET_SUBDIR)/libjava && \
28516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28518 "RANLIB=$${RANLIB}" \
28519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28523 @endif target-libjava
28525 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
28526 maybe-distclean-target-libjava:
28528 maybe-distclean-target-libjava: distclean-target-libjava
28530 distclean-target-libjava:
28531 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28532 r=`${PWD_COMMAND}`; export r; \
28533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28535 $(RAW_CXX_TARGET_EXPORTS) \
28536 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
28537 for flag in $(EXTRA_TARGET_FLAGS); do \
28538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28540 (cd $(TARGET_SUBDIR)/libjava && \
28541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28543 "RANLIB=$${RANLIB}" \
28544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28548 @endif target-libjava
28550 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
28551 maybe-maintainer-clean-target-libjava:
28553 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
28555 maintainer-clean-target-libjava:
28556 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28557 r=`${PWD_COMMAND}`; export r; \
28558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28560 $(RAW_CXX_TARGET_EXPORTS) \
28561 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
28562 for flag in $(EXTRA_TARGET_FLAGS); do \
28563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28565 (cd $(TARGET_SUBDIR)/libjava && \
28566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28568 "RANLIB=$${RANLIB}" \
28569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28570 maintainer-clean) \
28573 @endif target-libjava
28576 .PHONY: configure-target-zlib maybe-configure-target-zlib
28577 maybe-configure-target-zlib:
28579 maybe-configure-target-zlib: configure-target-zlib
28581 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28582 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
28583 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
28584 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
28585 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
28587 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
28588 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
28589 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
28590 r=`${PWD_COMMAND}`; export r; \
28591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28593 $(NORMAL_TARGET_EXPORTS) \
28594 echo Configuring in $(TARGET_SUBDIR)/zlib; \
28595 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
28596 case $(srcdir) in \
28597 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28598 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
28599 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28601 srcdiroption="--srcdir=$${topdir}/zlib"; \
28602 libsrcdir="$$s/zlib"; \
28603 rm -f no-such-file || : ; \
28604 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28605 $(TARGET_CONFIGARGS) $${srcdiroption} \
28606 --with-target-subdir="$(TARGET_SUBDIR)" \
28610 .PHONY: all-target-zlib maybe-all-target-zlib
28611 maybe-all-target-zlib:
28613 TARGET-target-zlib=all
28614 maybe-all-target-zlib: all-target-zlib
28615 all-target-zlib: configure-target-zlib
28616 @r=`${PWD_COMMAND}`; export r; \
28617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28619 $(NORMAL_TARGET_EXPORTS) \
28620 (cd $(TARGET_SUBDIR)/zlib && \
28621 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
28624 .PHONY: check-target-zlib maybe-check-target-zlib
28625 maybe-check-target-zlib:
28627 maybe-check-target-zlib: check-target-zlib
28630 @r=`${PWD_COMMAND}`; export r; \
28631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28633 $(NORMAL_TARGET_EXPORTS) \
28634 (cd $(TARGET_SUBDIR)/zlib && \
28635 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28639 .PHONY: install-target-zlib maybe-install-target-zlib
28640 maybe-install-target-zlib:
28642 maybe-install-target-zlib: install-target-zlib
28644 install-target-zlib: installdirs
28645 @r=`${PWD_COMMAND}`; export r; \
28646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28648 $(NORMAL_TARGET_EXPORTS) \
28649 (cd $(TARGET_SUBDIR)/zlib && \
28650 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28654 # Other targets (info, dvi, etc.)
28656 .PHONY: maybe-info-target-zlib info-target-zlib
28657 maybe-info-target-zlib:
28659 maybe-info-target-zlib: info-target-zlib
28661 info-target-zlib: \
28662 configure-target-zlib
28663 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28664 r=`${PWD_COMMAND}`; export r; \
28665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28667 $(NORMAL_TARGET_EXPORTS) \
28668 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
28669 for flag in $(EXTRA_TARGET_FLAGS); do \
28670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28672 (cd $(TARGET_SUBDIR)/zlib && \
28673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28675 "RANLIB=$${RANLIB}" \
28676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28682 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
28683 maybe-dvi-target-zlib:
28685 maybe-dvi-target-zlib: dvi-target-zlib
28688 configure-target-zlib
28689 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28690 r=`${PWD_COMMAND}`; export r; \
28691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28693 $(NORMAL_TARGET_EXPORTS) \
28694 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
28695 for flag in $(EXTRA_TARGET_FLAGS); do \
28696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28698 (cd $(TARGET_SUBDIR)/zlib && \
28699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28701 "RANLIB=$${RANLIB}" \
28702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28708 .PHONY: maybe-html-target-zlib html-target-zlib
28709 maybe-html-target-zlib:
28711 maybe-html-target-zlib: html-target-zlib
28713 html-target-zlib: \
28714 configure-target-zlib
28715 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28716 r=`${PWD_COMMAND}`; export r; \
28717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28719 $(NORMAL_TARGET_EXPORTS) \
28720 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
28721 for flag in $(EXTRA_TARGET_FLAGS); do \
28722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28724 (cd $(TARGET_SUBDIR)/zlib && \
28725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28727 "RANLIB=$${RANLIB}" \
28728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28734 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
28735 maybe-TAGS-target-zlib:
28737 maybe-TAGS-target-zlib: TAGS-target-zlib
28739 TAGS-target-zlib: \
28740 configure-target-zlib
28741 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28742 r=`${PWD_COMMAND}`; export r; \
28743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28745 $(NORMAL_TARGET_EXPORTS) \
28746 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
28747 for flag in $(EXTRA_TARGET_FLAGS); do \
28748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28750 (cd $(TARGET_SUBDIR)/zlib && \
28751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28753 "RANLIB=$${RANLIB}" \
28754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28760 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
28761 maybe-install-info-target-zlib:
28763 maybe-install-info-target-zlib: install-info-target-zlib
28765 install-info-target-zlib: \
28766 configure-target-zlib \
28768 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28769 r=`${PWD_COMMAND}`; export r; \
28770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28772 $(NORMAL_TARGET_EXPORTS) \
28773 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
28774 for flag in $(EXTRA_TARGET_FLAGS); do \
28775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28777 (cd $(TARGET_SUBDIR)/zlib && \
28778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28780 "RANLIB=$${RANLIB}" \
28781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28787 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
28788 maybe-installcheck-target-zlib:
28790 maybe-installcheck-target-zlib: installcheck-target-zlib
28792 installcheck-target-zlib: \
28793 configure-target-zlib
28794 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28795 r=`${PWD_COMMAND}`; export r; \
28796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28798 $(NORMAL_TARGET_EXPORTS) \
28799 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
28800 for flag in $(EXTRA_TARGET_FLAGS); do \
28801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28803 (cd $(TARGET_SUBDIR)/zlib && \
28804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28806 "RANLIB=$${RANLIB}" \
28807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28813 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
28814 maybe-mostlyclean-target-zlib:
28816 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
28818 mostlyclean-target-zlib:
28819 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28820 r=`${PWD_COMMAND}`; export r; \
28821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28823 $(NORMAL_TARGET_EXPORTS) \
28824 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
28825 for flag in $(EXTRA_TARGET_FLAGS); do \
28826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28828 (cd $(TARGET_SUBDIR)/zlib && \
28829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28831 "RANLIB=$${RANLIB}" \
28832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28838 .PHONY: maybe-clean-target-zlib clean-target-zlib
28839 maybe-clean-target-zlib:
28841 maybe-clean-target-zlib: clean-target-zlib
28844 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28845 r=`${PWD_COMMAND}`; export r; \
28846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28848 $(NORMAL_TARGET_EXPORTS) \
28849 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
28850 for flag in $(EXTRA_TARGET_FLAGS); do \
28851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28853 (cd $(TARGET_SUBDIR)/zlib && \
28854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28856 "RANLIB=$${RANLIB}" \
28857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28863 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
28864 maybe-distclean-target-zlib:
28866 maybe-distclean-target-zlib: distclean-target-zlib
28868 distclean-target-zlib:
28869 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28870 r=`${PWD_COMMAND}`; export r; \
28871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28873 $(NORMAL_TARGET_EXPORTS) \
28874 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
28875 for flag in $(EXTRA_TARGET_FLAGS); do \
28876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28878 (cd $(TARGET_SUBDIR)/zlib && \
28879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28881 "RANLIB=$${RANLIB}" \
28882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28888 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
28889 maybe-maintainer-clean-target-zlib:
28891 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
28893 maintainer-clean-target-zlib:
28894 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28895 r=`${PWD_COMMAND}`; export r; \
28896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28898 $(NORMAL_TARGET_EXPORTS) \
28899 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
28900 for flag in $(EXTRA_TARGET_FLAGS); do \
28901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28903 (cd $(TARGET_SUBDIR)/zlib && \
28904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28906 "RANLIB=$${RANLIB}" \
28907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28908 maintainer-clean) \
28914 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
28915 maybe-configure-target-boehm-gc:
28916 @if target-boehm-gc
28917 maybe-configure-target-boehm-gc: configure-target-boehm-gc
28919 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28920 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
28921 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
28922 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
28923 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
28925 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
28926 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
28927 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
28928 r=`${PWD_COMMAND}`; export r; \
28929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28931 $(NORMAL_TARGET_EXPORTS) \
28932 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
28933 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
28934 case $(srcdir) in \
28935 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28936 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
28937 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28939 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
28940 libsrcdir="$$s/boehm-gc"; \
28941 rm -f no-such-file || : ; \
28942 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28943 $(TARGET_CONFIGARGS) $${srcdiroption} \
28944 --with-target-subdir="$(TARGET_SUBDIR)" \
28946 @endif target-boehm-gc
28948 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
28949 maybe-all-target-boehm-gc:
28950 @if target-boehm-gc
28951 TARGET-target-boehm-gc=all
28952 maybe-all-target-boehm-gc: all-target-boehm-gc
28953 all-target-boehm-gc: configure-target-boehm-gc
28954 @r=`${PWD_COMMAND}`; export r; \
28955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28957 $(NORMAL_TARGET_EXPORTS) \
28958 (cd $(TARGET_SUBDIR)/boehm-gc && \
28959 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
28960 @endif target-boehm-gc
28962 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
28963 maybe-check-target-boehm-gc:
28964 @if target-boehm-gc
28965 maybe-check-target-boehm-gc: check-target-boehm-gc
28967 check-target-boehm-gc:
28968 @r=`${PWD_COMMAND}`; export r; \
28969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28971 $(NORMAL_TARGET_EXPORTS) \
28972 (cd $(TARGET_SUBDIR)/boehm-gc && \
28973 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28975 @endif target-boehm-gc
28977 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
28978 maybe-install-target-boehm-gc:
28979 @if target-boehm-gc
28980 maybe-install-target-boehm-gc: install-target-boehm-gc
28982 install-target-boehm-gc: installdirs
28983 @r=`${PWD_COMMAND}`; export r; \
28984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28986 $(NORMAL_TARGET_EXPORTS) \
28987 (cd $(TARGET_SUBDIR)/boehm-gc && \
28988 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28990 @endif target-boehm-gc
28992 # Other targets (info, dvi, etc.)
28994 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
28995 maybe-info-target-boehm-gc:
28996 @if target-boehm-gc
28997 maybe-info-target-boehm-gc: info-target-boehm-gc
28999 info-target-boehm-gc: \
29000 configure-target-boehm-gc
29001 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29002 r=`${PWD_COMMAND}`; export r; \
29003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29005 $(NORMAL_TARGET_EXPORTS) \
29006 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
29007 for flag in $(EXTRA_TARGET_FLAGS); do \
29008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29010 (cd $(TARGET_SUBDIR)/boehm-gc && \
29011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29013 "RANLIB=$${RANLIB}" \
29014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29018 @endif target-boehm-gc
29020 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
29021 maybe-dvi-target-boehm-gc:
29022 @if target-boehm-gc
29023 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
29025 dvi-target-boehm-gc: \
29026 configure-target-boehm-gc
29027 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29028 r=`${PWD_COMMAND}`; export r; \
29029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29031 $(NORMAL_TARGET_EXPORTS) \
29032 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
29033 for flag in $(EXTRA_TARGET_FLAGS); do \
29034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29036 (cd $(TARGET_SUBDIR)/boehm-gc && \
29037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29039 "RANLIB=$${RANLIB}" \
29040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29044 @endif target-boehm-gc
29046 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
29047 maybe-html-target-boehm-gc:
29048 @if target-boehm-gc
29049 maybe-html-target-boehm-gc: html-target-boehm-gc
29051 html-target-boehm-gc: \
29052 configure-target-boehm-gc
29053 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29054 r=`${PWD_COMMAND}`; export r; \
29055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29057 $(NORMAL_TARGET_EXPORTS) \
29058 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
29059 for flag in $(EXTRA_TARGET_FLAGS); do \
29060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29062 (cd $(TARGET_SUBDIR)/boehm-gc && \
29063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29065 "RANLIB=$${RANLIB}" \
29066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29070 @endif target-boehm-gc
29072 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
29073 maybe-TAGS-target-boehm-gc:
29074 @if target-boehm-gc
29075 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
29077 TAGS-target-boehm-gc: \
29078 configure-target-boehm-gc
29079 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29080 r=`${PWD_COMMAND}`; export r; \
29081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29083 $(NORMAL_TARGET_EXPORTS) \
29084 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
29085 for flag in $(EXTRA_TARGET_FLAGS); do \
29086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29088 (cd $(TARGET_SUBDIR)/boehm-gc && \
29089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29091 "RANLIB=$${RANLIB}" \
29092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29096 @endif target-boehm-gc
29098 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
29099 maybe-install-info-target-boehm-gc:
29100 @if target-boehm-gc
29101 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
29103 install-info-target-boehm-gc: \
29104 configure-target-boehm-gc \
29105 info-target-boehm-gc
29106 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29107 r=`${PWD_COMMAND}`; export r; \
29108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29110 $(NORMAL_TARGET_EXPORTS) \
29111 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
29112 for flag in $(EXTRA_TARGET_FLAGS); do \
29113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29115 (cd $(TARGET_SUBDIR)/boehm-gc && \
29116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29118 "RANLIB=$${RANLIB}" \
29119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29123 @endif target-boehm-gc
29125 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
29126 maybe-installcheck-target-boehm-gc:
29127 @if target-boehm-gc
29128 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
29130 installcheck-target-boehm-gc: \
29131 configure-target-boehm-gc
29132 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29133 r=`${PWD_COMMAND}`; export r; \
29134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29136 $(NORMAL_TARGET_EXPORTS) \
29137 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
29138 for flag in $(EXTRA_TARGET_FLAGS); do \
29139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29141 (cd $(TARGET_SUBDIR)/boehm-gc && \
29142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29144 "RANLIB=$${RANLIB}" \
29145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29149 @endif target-boehm-gc
29151 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
29152 maybe-mostlyclean-target-boehm-gc:
29153 @if target-boehm-gc
29154 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
29156 mostlyclean-target-boehm-gc:
29157 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29158 r=`${PWD_COMMAND}`; export r; \
29159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29161 $(NORMAL_TARGET_EXPORTS) \
29162 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
29163 for flag in $(EXTRA_TARGET_FLAGS); do \
29164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29166 (cd $(TARGET_SUBDIR)/boehm-gc && \
29167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29169 "RANLIB=$${RANLIB}" \
29170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29174 @endif target-boehm-gc
29176 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
29177 maybe-clean-target-boehm-gc:
29178 @if target-boehm-gc
29179 maybe-clean-target-boehm-gc: clean-target-boehm-gc
29181 clean-target-boehm-gc:
29182 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29183 r=`${PWD_COMMAND}`; export r; \
29184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29186 $(NORMAL_TARGET_EXPORTS) \
29187 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
29188 for flag in $(EXTRA_TARGET_FLAGS); do \
29189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29191 (cd $(TARGET_SUBDIR)/boehm-gc && \
29192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29194 "RANLIB=$${RANLIB}" \
29195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29199 @endif target-boehm-gc
29201 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
29202 maybe-distclean-target-boehm-gc:
29203 @if target-boehm-gc
29204 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
29206 distclean-target-boehm-gc:
29207 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29208 r=`${PWD_COMMAND}`; export r; \
29209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29211 $(NORMAL_TARGET_EXPORTS) \
29212 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
29213 for flag in $(EXTRA_TARGET_FLAGS); do \
29214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29216 (cd $(TARGET_SUBDIR)/boehm-gc && \
29217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29219 "RANLIB=$${RANLIB}" \
29220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29224 @endif target-boehm-gc
29226 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
29227 maybe-maintainer-clean-target-boehm-gc:
29228 @if target-boehm-gc
29229 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
29231 maintainer-clean-target-boehm-gc:
29232 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29233 r=`${PWD_COMMAND}`; export r; \
29234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29236 $(NORMAL_TARGET_EXPORTS) \
29237 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
29238 for flag in $(EXTRA_TARGET_FLAGS); do \
29239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29241 (cd $(TARGET_SUBDIR)/boehm-gc && \
29242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29244 "RANLIB=$${RANLIB}" \
29245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29246 maintainer-clean) \
29249 @endif target-boehm-gc
29252 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
29253 maybe-configure-target-qthreads:
29254 @if target-qthreads
29255 maybe-configure-target-qthreads: configure-target-qthreads
29257 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29258 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
29259 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
29260 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
29261 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
29263 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
29264 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
29265 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
29266 r=`${PWD_COMMAND}`; export r; \
29267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29269 $(NORMAL_TARGET_EXPORTS) \
29270 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
29271 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
29272 case $(srcdir) in \
29273 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29274 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
29275 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29277 srcdiroption="--srcdir=$${topdir}/qthreads"; \
29278 libsrcdir="$$s/qthreads"; \
29279 rm -f no-such-file || : ; \
29280 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29281 $(TARGET_CONFIGARGS) $${srcdiroption} \
29282 --with-target-subdir="$(TARGET_SUBDIR)" \
29284 @endif target-qthreads
29286 .PHONY: all-target-qthreads maybe-all-target-qthreads
29287 maybe-all-target-qthreads:
29288 @if target-qthreads
29289 TARGET-target-qthreads=all
29290 maybe-all-target-qthreads: all-target-qthreads
29291 all-target-qthreads: configure-target-qthreads
29292 @r=`${PWD_COMMAND}`; export r; \
29293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29295 $(NORMAL_TARGET_EXPORTS) \
29296 (cd $(TARGET_SUBDIR)/qthreads && \
29297 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
29298 @endif target-qthreads
29300 .PHONY: check-target-qthreads maybe-check-target-qthreads
29301 maybe-check-target-qthreads:
29302 @if target-qthreads
29303 maybe-check-target-qthreads: check-target-qthreads
29305 check-target-qthreads:
29306 @r=`${PWD_COMMAND}`; export r; \
29307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29309 $(NORMAL_TARGET_EXPORTS) \
29310 (cd $(TARGET_SUBDIR)/qthreads && \
29311 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29313 @endif target-qthreads
29315 .PHONY: install-target-qthreads maybe-install-target-qthreads
29316 maybe-install-target-qthreads:
29317 @if target-qthreads
29318 maybe-install-target-qthreads: install-target-qthreads
29320 install-target-qthreads: installdirs
29321 @r=`${PWD_COMMAND}`; export r; \
29322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29324 $(NORMAL_TARGET_EXPORTS) \
29325 (cd $(TARGET_SUBDIR)/qthreads && \
29326 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29328 @endif target-qthreads
29330 # Other targets (info, dvi, etc.)
29332 .PHONY: maybe-info-target-qthreads info-target-qthreads
29333 maybe-info-target-qthreads:
29334 @if target-qthreads
29335 maybe-info-target-qthreads: info-target-qthreads
29337 info-target-qthreads: \
29338 configure-target-qthreads
29339 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29340 r=`${PWD_COMMAND}`; export r; \
29341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29343 $(NORMAL_TARGET_EXPORTS) \
29344 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
29345 for flag in $(EXTRA_TARGET_FLAGS); do \
29346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29348 (cd $(TARGET_SUBDIR)/qthreads && \
29349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29351 "RANLIB=$${RANLIB}" \
29352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29356 @endif target-qthreads
29358 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
29359 maybe-dvi-target-qthreads:
29360 @if target-qthreads
29361 maybe-dvi-target-qthreads: dvi-target-qthreads
29363 dvi-target-qthreads: \
29364 configure-target-qthreads
29365 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29366 r=`${PWD_COMMAND}`; export r; \
29367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29369 $(NORMAL_TARGET_EXPORTS) \
29370 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
29371 for flag in $(EXTRA_TARGET_FLAGS); do \
29372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29374 (cd $(TARGET_SUBDIR)/qthreads && \
29375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29377 "RANLIB=$${RANLIB}" \
29378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29382 @endif target-qthreads
29384 .PHONY: maybe-html-target-qthreads html-target-qthreads
29385 maybe-html-target-qthreads:
29386 @if target-qthreads
29387 maybe-html-target-qthreads: html-target-qthreads
29389 html-target-qthreads: \
29390 configure-target-qthreads
29391 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29392 r=`${PWD_COMMAND}`; export r; \
29393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29395 $(NORMAL_TARGET_EXPORTS) \
29396 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
29397 for flag in $(EXTRA_TARGET_FLAGS); do \
29398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29400 (cd $(TARGET_SUBDIR)/qthreads && \
29401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29403 "RANLIB=$${RANLIB}" \
29404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29408 @endif target-qthreads
29410 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
29411 maybe-TAGS-target-qthreads:
29412 @if target-qthreads
29413 maybe-TAGS-target-qthreads: TAGS-target-qthreads
29415 TAGS-target-qthreads: \
29416 configure-target-qthreads
29417 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29418 r=`${PWD_COMMAND}`; export r; \
29419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29421 $(NORMAL_TARGET_EXPORTS) \
29422 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
29423 for flag in $(EXTRA_TARGET_FLAGS); do \
29424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29426 (cd $(TARGET_SUBDIR)/qthreads && \
29427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29429 "RANLIB=$${RANLIB}" \
29430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29434 @endif target-qthreads
29436 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
29437 maybe-install-info-target-qthreads:
29438 @if target-qthreads
29439 maybe-install-info-target-qthreads: install-info-target-qthreads
29441 install-info-target-qthreads: \
29442 configure-target-qthreads \
29443 info-target-qthreads
29444 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29445 r=`${PWD_COMMAND}`; export r; \
29446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29448 $(NORMAL_TARGET_EXPORTS) \
29449 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
29450 for flag in $(EXTRA_TARGET_FLAGS); do \
29451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29453 (cd $(TARGET_SUBDIR)/qthreads && \
29454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29456 "RANLIB=$${RANLIB}" \
29457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29461 @endif target-qthreads
29463 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
29464 maybe-installcheck-target-qthreads:
29465 @if target-qthreads
29466 maybe-installcheck-target-qthreads: installcheck-target-qthreads
29468 installcheck-target-qthreads: \
29469 configure-target-qthreads
29470 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29471 r=`${PWD_COMMAND}`; export r; \
29472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29474 $(NORMAL_TARGET_EXPORTS) \
29475 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
29476 for flag in $(EXTRA_TARGET_FLAGS); do \
29477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29479 (cd $(TARGET_SUBDIR)/qthreads && \
29480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29482 "RANLIB=$${RANLIB}" \
29483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29487 @endif target-qthreads
29489 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
29490 maybe-mostlyclean-target-qthreads:
29491 @if target-qthreads
29492 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
29494 mostlyclean-target-qthreads:
29495 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29496 r=`${PWD_COMMAND}`; export r; \
29497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29499 $(NORMAL_TARGET_EXPORTS) \
29500 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
29501 for flag in $(EXTRA_TARGET_FLAGS); do \
29502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29504 (cd $(TARGET_SUBDIR)/qthreads && \
29505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29507 "RANLIB=$${RANLIB}" \
29508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29512 @endif target-qthreads
29514 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
29515 maybe-clean-target-qthreads:
29516 @if target-qthreads
29517 maybe-clean-target-qthreads: clean-target-qthreads
29519 clean-target-qthreads:
29520 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29521 r=`${PWD_COMMAND}`; export r; \
29522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29524 $(NORMAL_TARGET_EXPORTS) \
29525 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
29526 for flag in $(EXTRA_TARGET_FLAGS); do \
29527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29529 (cd $(TARGET_SUBDIR)/qthreads && \
29530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29532 "RANLIB=$${RANLIB}" \
29533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29537 @endif target-qthreads
29539 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
29540 maybe-distclean-target-qthreads:
29541 @if target-qthreads
29542 maybe-distclean-target-qthreads: distclean-target-qthreads
29544 distclean-target-qthreads:
29545 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29546 r=`${PWD_COMMAND}`; export r; \
29547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29549 $(NORMAL_TARGET_EXPORTS) \
29550 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
29551 for flag in $(EXTRA_TARGET_FLAGS); do \
29552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29554 (cd $(TARGET_SUBDIR)/qthreads && \
29555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29557 "RANLIB=$${RANLIB}" \
29558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29562 @endif target-qthreads
29564 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
29565 maybe-maintainer-clean-target-qthreads:
29566 @if target-qthreads
29567 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
29569 maintainer-clean-target-qthreads:
29570 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29571 r=`${PWD_COMMAND}`; export r; \
29572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29574 $(NORMAL_TARGET_EXPORTS) \
29575 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
29576 for flag in $(EXTRA_TARGET_FLAGS); do \
29577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29579 (cd $(TARGET_SUBDIR)/qthreads && \
29580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29582 "RANLIB=$${RANLIB}" \
29583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29584 maintainer-clean) \
29587 @endif target-qthreads
29590 .PHONY: configure-target-rda maybe-configure-target-rda
29591 maybe-configure-target-rda:
29593 maybe-configure-target-rda: configure-target-rda
29595 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29596 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
29597 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
29598 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
29599 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
29601 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
29602 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
29603 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
29604 r=`${PWD_COMMAND}`; export r; \
29605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29607 $(NORMAL_TARGET_EXPORTS) \
29608 echo Configuring in $(TARGET_SUBDIR)/rda; \
29609 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
29610 case $(srcdir) in \
29611 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29612 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
29613 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29615 srcdiroption="--srcdir=$${topdir}/rda"; \
29616 libsrcdir="$$s/rda"; \
29617 rm -f no-such-file || : ; \
29618 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29619 $(TARGET_CONFIGARGS) $${srcdiroption} \
29620 --with-target-subdir="$(TARGET_SUBDIR)" \
29624 .PHONY: all-target-rda maybe-all-target-rda
29625 maybe-all-target-rda:
29627 TARGET-target-rda=all
29628 maybe-all-target-rda: all-target-rda
29629 all-target-rda: configure-target-rda
29630 @r=`${PWD_COMMAND}`; export r; \
29631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29633 $(NORMAL_TARGET_EXPORTS) \
29634 (cd $(TARGET_SUBDIR)/rda && \
29635 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
29638 .PHONY: check-target-rda maybe-check-target-rda
29639 maybe-check-target-rda:
29641 maybe-check-target-rda: check-target-rda
29644 @r=`${PWD_COMMAND}`; export r; \
29645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29647 $(NORMAL_TARGET_EXPORTS) \
29648 (cd $(TARGET_SUBDIR)/rda && \
29649 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29653 .PHONY: install-target-rda maybe-install-target-rda
29654 maybe-install-target-rda:
29656 maybe-install-target-rda: install-target-rda
29658 install-target-rda: installdirs
29659 @r=`${PWD_COMMAND}`; export r; \
29660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29662 $(NORMAL_TARGET_EXPORTS) \
29663 (cd $(TARGET_SUBDIR)/rda && \
29664 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29668 # Other targets (info, dvi, etc.)
29670 .PHONY: maybe-info-target-rda info-target-rda
29671 maybe-info-target-rda:
29673 maybe-info-target-rda: info-target-rda
29676 configure-target-rda
29677 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29678 r=`${PWD_COMMAND}`; export r; \
29679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29681 $(NORMAL_TARGET_EXPORTS) \
29682 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
29683 for flag in $(EXTRA_TARGET_FLAGS); do \
29684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29686 (cd $(TARGET_SUBDIR)/rda && \
29687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29689 "RANLIB=$${RANLIB}" \
29690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29696 .PHONY: maybe-dvi-target-rda dvi-target-rda
29697 maybe-dvi-target-rda:
29699 maybe-dvi-target-rda: dvi-target-rda
29702 configure-target-rda
29703 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29704 r=`${PWD_COMMAND}`; export r; \
29705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29707 $(NORMAL_TARGET_EXPORTS) \
29708 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
29709 for flag in $(EXTRA_TARGET_FLAGS); do \
29710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29712 (cd $(TARGET_SUBDIR)/rda && \
29713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29715 "RANLIB=$${RANLIB}" \
29716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29722 .PHONY: maybe-html-target-rda html-target-rda
29723 maybe-html-target-rda:
29725 maybe-html-target-rda: html-target-rda
29728 configure-target-rda
29729 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29730 r=`${PWD_COMMAND}`; export r; \
29731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29733 $(NORMAL_TARGET_EXPORTS) \
29734 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
29735 for flag in $(EXTRA_TARGET_FLAGS); do \
29736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29738 (cd $(TARGET_SUBDIR)/rda && \
29739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29741 "RANLIB=$${RANLIB}" \
29742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29748 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
29749 maybe-TAGS-target-rda:
29751 maybe-TAGS-target-rda: TAGS-target-rda
29754 configure-target-rda
29755 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29756 r=`${PWD_COMMAND}`; export r; \
29757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29759 $(NORMAL_TARGET_EXPORTS) \
29760 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
29761 for flag in $(EXTRA_TARGET_FLAGS); do \
29762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29764 (cd $(TARGET_SUBDIR)/rda && \
29765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29767 "RANLIB=$${RANLIB}" \
29768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29774 .PHONY: maybe-install-info-target-rda install-info-target-rda
29775 maybe-install-info-target-rda:
29777 maybe-install-info-target-rda: install-info-target-rda
29779 install-info-target-rda: \
29780 configure-target-rda \
29782 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29783 r=`${PWD_COMMAND}`; export r; \
29784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29786 $(NORMAL_TARGET_EXPORTS) \
29787 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
29788 for flag in $(EXTRA_TARGET_FLAGS); do \
29789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29791 (cd $(TARGET_SUBDIR)/rda && \
29792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29794 "RANLIB=$${RANLIB}" \
29795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29801 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
29802 maybe-installcheck-target-rda:
29804 maybe-installcheck-target-rda: installcheck-target-rda
29806 installcheck-target-rda: \
29807 configure-target-rda
29808 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29809 r=`${PWD_COMMAND}`; export r; \
29810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29812 $(NORMAL_TARGET_EXPORTS) \
29813 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
29814 for flag in $(EXTRA_TARGET_FLAGS); do \
29815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29817 (cd $(TARGET_SUBDIR)/rda && \
29818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29820 "RANLIB=$${RANLIB}" \
29821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29827 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
29828 maybe-mostlyclean-target-rda:
29830 maybe-mostlyclean-target-rda: mostlyclean-target-rda
29832 mostlyclean-target-rda:
29833 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29834 r=`${PWD_COMMAND}`; export r; \
29835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29837 $(NORMAL_TARGET_EXPORTS) \
29838 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
29839 for flag in $(EXTRA_TARGET_FLAGS); do \
29840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29842 (cd $(TARGET_SUBDIR)/rda && \
29843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29845 "RANLIB=$${RANLIB}" \
29846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29852 .PHONY: maybe-clean-target-rda clean-target-rda
29853 maybe-clean-target-rda:
29855 maybe-clean-target-rda: clean-target-rda
29858 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29859 r=`${PWD_COMMAND}`; export r; \
29860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29862 $(NORMAL_TARGET_EXPORTS) \
29863 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
29864 for flag in $(EXTRA_TARGET_FLAGS); do \
29865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29867 (cd $(TARGET_SUBDIR)/rda && \
29868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29870 "RANLIB=$${RANLIB}" \
29871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29877 .PHONY: maybe-distclean-target-rda distclean-target-rda
29878 maybe-distclean-target-rda:
29880 maybe-distclean-target-rda: distclean-target-rda
29882 distclean-target-rda:
29883 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29884 r=`${PWD_COMMAND}`; export r; \
29885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29887 $(NORMAL_TARGET_EXPORTS) \
29888 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
29889 for flag in $(EXTRA_TARGET_FLAGS); do \
29890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29892 (cd $(TARGET_SUBDIR)/rda && \
29893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29895 "RANLIB=$${RANLIB}" \
29896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29902 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
29903 maybe-maintainer-clean-target-rda:
29905 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
29907 maintainer-clean-target-rda:
29908 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29909 r=`${PWD_COMMAND}`; export r; \
29910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29912 $(NORMAL_TARGET_EXPORTS) \
29913 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
29914 for flag in $(EXTRA_TARGET_FLAGS); do \
29915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29917 (cd $(TARGET_SUBDIR)/rda && \
29918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29920 "RANLIB=$${RANLIB}" \
29921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29922 maintainer-clean) \
29928 .PHONY: configure-target-libada maybe-configure-target-libada
29929 maybe-configure-target-libada:
29931 maybe-configure-target-libada: configure-target-libada
29933 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29934 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
29935 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
29936 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
29937 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
29939 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
29940 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
29941 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
29942 r=`${PWD_COMMAND}`; export r; \
29943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29945 $(NORMAL_TARGET_EXPORTS) \
29946 echo Configuring in $(TARGET_SUBDIR)/libada; \
29947 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
29948 case $(srcdir) in \
29949 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29950 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
29951 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29953 srcdiroption="--srcdir=$${topdir}/libada"; \
29954 libsrcdir="$$s/libada"; \
29955 rm -f no-such-file || : ; \
29956 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29957 $(TARGET_CONFIGARGS) $${srcdiroption} \
29958 --with-target-subdir="$(TARGET_SUBDIR)" \
29960 @endif target-libada
29962 .PHONY: all-target-libada maybe-all-target-libada
29963 maybe-all-target-libada:
29965 TARGET-target-libada=all
29966 maybe-all-target-libada: all-target-libada
29967 all-target-libada: configure-target-libada
29968 @r=`${PWD_COMMAND}`; export r; \
29969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29971 $(NORMAL_TARGET_EXPORTS) \
29972 (cd $(TARGET_SUBDIR)/libada && \
29973 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
29974 @endif target-libada
29976 .PHONY: check-target-libada maybe-check-target-libada
29977 maybe-check-target-libada:
29979 maybe-check-target-libada: check-target-libada
29981 check-target-libada:
29982 @r=`${PWD_COMMAND}`; export r; \
29983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29985 $(NORMAL_TARGET_EXPORTS) \
29986 (cd $(TARGET_SUBDIR)/libada && \
29987 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29989 @endif target-libada
29991 .PHONY: install-target-libada maybe-install-target-libada
29992 maybe-install-target-libada:
29994 maybe-install-target-libada: install-target-libada
29996 install-target-libada: installdirs
29997 @r=`${PWD_COMMAND}`; export r; \
29998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30000 $(NORMAL_TARGET_EXPORTS) \
30001 (cd $(TARGET_SUBDIR)/libada && \
30002 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30004 @endif target-libada
30006 # Other targets (info, dvi, etc.)
30008 .PHONY: maybe-info-target-libada info-target-libada
30009 maybe-info-target-libada:
30011 maybe-info-target-libada: info-target-libada
30013 info-target-libada: \
30014 configure-target-libada
30015 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30016 r=`${PWD_COMMAND}`; export r; \
30017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30019 $(NORMAL_TARGET_EXPORTS) \
30020 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
30021 for flag in $(EXTRA_TARGET_FLAGS); do \
30022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30024 (cd $(TARGET_SUBDIR)/libada && \
30025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30027 "RANLIB=$${RANLIB}" \
30028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30032 @endif target-libada
30034 .PHONY: maybe-dvi-target-libada dvi-target-libada
30035 maybe-dvi-target-libada:
30037 maybe-dvi-target-libada: dvi-target-libada
30039 dvi-target-libada: \
30040 configure-target-libada
30041 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30042 r=`${PWD_COMMAND}`; export r; \
30043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30045 $(NORMAL_TARGET_EXPORTS) \
30046 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
30047 for flag in $(EXTRA_TARGET_FLAGS); do \
30048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30050 (cd $(TARGET_SUBDIR)/libada && \
30051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30053 "RANLIB=$${RANLIB}" \
30054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30058 @endif target-libada
30060 .PHONY: maybe-html-target-libada html-target-libada
30061 maybe-html-target-libada:
30063 maybe-html-target-libada: html-target-libada
30065 html-target-libada: \
30066 configure-target-libada
30067 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30068 r=`${PWD_COMMAND}`; export r; \
30069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30071 $(NORMAL_TARGET_EXPORTS) \
30072 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
30073 for flag in $(EXTRA_TARGET_FLAGS); do \
30074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30076 (cd $(TARGET_SUBDIR)/libada && \
30077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30079 "RANLIB=$${RANLIB}" \
30080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30084 @endif target-libada
30086 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
30087 maybe-TAGS-target-libada:
30089 maybe-TAGS-target-libada: TAGS-target-libada
30091 TAGS-target-libada: \
30092 configure-target-libada
30093 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30094 r=`${PWD_COMMAND}`; export r; \
30095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30097 $(NORMAL_TARGET_EXPORTS) \
30098 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
30099 for flag in $(EXTRA_TARGET_FLAGS); do \
30100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30102 (cd $(TARGET_SUBDIR)/libada && \
30103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30105 "RANLIB=$${RANLIB}" \
30106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30110 @endif target-libada
30112 .PHONY: maybe-install-info-target-libada install-info-target-libada
30113 maybe-install-info-target-libada:
30115 maybe-install-info-target-libada: install-info-target-libada
30117 install-info-target-libada: \
30118 configure-target-libada \
30120 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30121 r=`${PWD_COMMAND}`; export r; \
30122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30124 $(NORMAL_TARGET_EXPORTS) \
30125 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
30126 for flag in $(EXTRA_TARGET_FLAGS); do \
30127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30129 (cd $(TARGET_SUBDIR)/libada && \
30130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30132 "RANLIB=$${RANLIB}" \
30133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30137 @endif target-libada
30139 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
30140 maybe-installcheck-target-libada:
30142 maybe-installcheck-target-libada: installcheck-target-libada
30144 installcheck-target-libada: \
30145 configure-target-libada
30146 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30147 r=`${PWD_COMMAND}`; export r; \
30148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30150 $(NORMAL_TARGET_EXPORTS) \
30151 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
30152 for flag in $(EXTRA_TARGET_FLAGS); do \
30153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30155 (cd $(TARGET_SUBDIR)/libada && \
30156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30158 "RANLIB=$${RANLIB}" \
30159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30163 @endif target-libada
30165 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
30166 maybe-mostlyclean-target-libada:
30168 maybe-mostlyclean-target-libada: mostlyclean-target-libada
30170 mostlyclean-target-libada:
30171 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30172 r=`${PWD_COMMAND}`; export r; \
30173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30175 $(NORMAL_TARGET_EXPORTS) \
30176 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
30177 for flag in $(EXTRA_TARGET_FLAGS); do \
30178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30180 (cd $(TARGET_SUBDIR)/libada && \
30181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30183 "RANLIB=$${RANLIB}" \
30184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30188 @endif target-libada
30190 .PHONY: maybe-clean-target-libada clean-target-libada
30191 maybe-clean-target-libada:
30193 maybe-clean-target-libada: clean-target-libada
30195 clean-target-libada:
30196 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30197 r=`${PWD_COMMAND}`; export r; \
30198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30200 $(NORMAL_TARGET_EXPORTS) \
30201 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
30202 for flag in $(EXTRA_TARGET_FLAGS); do \
30203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30205 (cd $(TARGET_SUBDIR)/libada && \
30206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30208 "RANLIB=$${RANLIB}" \
30209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30213 @endif target-libada
30215 .PHONY: maybe-distclean-target-libada distclean-target-libada
30216 maybe-distclean-target-libada:
30218 maybe-distclean-target-libada: distclean-target-libada
30220 distclean-target-libada:
30221 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30222 r=`${PWD_COMMAND}`; export r; \
30223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30225 $(NORMAL_TARGET_EXPORTS) \
30226 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
30227 for flag in $(EXTRA_TARGET_FLAGS); do \
30228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30230 (cd $(TARGET_SUBDIR)/libada && \
30231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30233 "RANLIB=$${RANLIB}" \
30234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30238 @endif target-libada
30240 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
30241 maybe-maintainer-clean-target-libada:
30243 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
30245 maintainer-clean-target-libada:
30246 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30247 r=`${PWD_COMMAND}`; export r; \
30248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30250 $(NORMAL_TARGET_EXPORTS) \
30251 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
30252 for flag in $(EXTRA_TARGET_FLAGS); do \
30253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30255 (cd $(TARGET_SUBDIR)/libada && \
30256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30258 "RANLIB=$${RANLIB}" \
30259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30260 maintainer-clean) \
30263 @endif target-libada
30271 @if gcc-no-bootstrap
30272 # GCC has some more recursive targets, which trigger the old
30273 # (but still current, until the toplevel bootstrap project
30274 # is finished) compiler bootstrapping rules.
30276 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
30277 .PHONY: $(GCC_STRAP_TARGETS)
30278 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
30279 @r=`${PWD_COMMAND}`; export r; \
30280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30283 echo "Bootstrapping the compiler"; \
30284 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
30285 @r=`${PWD_COMMAND}`; export r; \
30286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30288 *bootstrap4-lean ) \
30289 msg="Comparing stage3 and stage4 of the compiler"; \
30290 compare=compare3-lean ;; \
30292 msg="Comparing stage3 and stage4 of the compiler"; \
30293 compare=compare3 ;; \
30295 msg="Comparing stage2 and stage3 of the compiler"; \
30296 compare=compare-lean ;; \
30298 msg="Comparing stage2 and stage3 of the compiler"; \
30299 compare=compare ;; \
30304 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
30305 @r=`${PWD_COMMAND}`; export r; \
30306 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30308 echo "Building runtime libraries"; \
30309 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
30311 profiledbootstrap: all-prebootstrap configure-gcc
30312 @r=`${PWD_COMMAND}`; export r; \
30313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30316 echo "Bootstrapping training compiler"; \
30317 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
30318 @r=`${PWD_COMMAND}`; export r; \
30319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30322 echo "Building feedback based compiler"; \
30323 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
30324 @r=`${PWD_COMMAND}`; export r; \
30325 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30327 echo "Building runtime libraries"; \
30328 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
30331 cross: all-build all-gas all-ld
30332 @r=`${PWD_COMMAND}`; export r; \
30333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30336 echo "Building the C and C++ compiler"; \
30337 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
30338 @r=`${PWD_COMMAND}`; export r; \
30339 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30341 echo "Building runtime libraries"; \
30342 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
30343 @endif gcc-no-bootstrap
30346 .PHONY: check-gcc-c++
30348 @if [ -f ./gcc/Makefile ] ; then \
30349 r=`${PWD_COMMAND}`; export r; \
30350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30353 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
30359 check-c++: check-target-libstdc++-v3 check-gcc-c++
30361 # Install the gcc headers files, but not the fixed include files,
30362 # which Cygnus is not allowed to distribute. This rule is very
30363 # dependent on the workings of the gcc Makefile.in.
30364 .PHONY: gcc-no-fixedincludes
30365 gcc-no-fixedincludes:
30366 @if [ -f ./gcc/Makefile ]; then \
30367 rm -rf gcc/tmp-include; \
30368 mv gcc/include gcc/tmp-include 2>/dev/null; \
30369 mkdir gcc/include; \
30370 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
30371 touch gcc/stmp-fixinc gcc/include/fixed; \
30372 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
30373 r=`${PWD_COMMAND}`; export r; \
30374 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30378 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
30379 rm -rf gcc/include; \
30380 mv gcc/tmp-include gcc/include 2>/dev/null; \
30384 # ---------------------
30385 # GCC bootstrap support
30386 # ---------------------
30388 # We track the current stage (the one in 'gcc') in the stage_current file.
30389 # stage_last instead tracks the stage that was built last. These targets
30390 # are dummy when toplevel bootstrap is not active.
30395 @[ -f stage_current ] || $(MAKE) `cat stage_last`-start
30396 @endif gcc-bootstrap
30401 @$(MAKE) `cat stage_current`-end
30402 @endif gcc-bootstrap
30404 # We name the build directories for the various stages "stage1-gcc",
30405 # "stage2-gcc","stage3-gcc", etc.
30407 # Since the 'compare' process will fail (on debugging information) if any
30408 # directory names are different, we need to link the gcc directory for
30409 # the previous stage to a constant name ('gcc-prev'), and to make the name of
30410 # the build directories constant as well. For the latter, we use naked names
30411 # like 'gcc', because the scripts in that directory assume it. We use
30412 # mv on platforms where symlinks to directories do not work or are not
30415 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
30416 # be kept, so that libraries can find it. Ick!
30418 # It would be best to preinstall gcc into a staging area (and in the
30419 # future, gather there all prebootstrap packages). This would allow
30420 # assemblers and linkers can be bootstrapped as well as the compiler
30421 # (both in a combined tree, or separately). This however requires some
30422 # change to the gcc driver, again in order to avoid comparison failures.
30424 # Bugs: This is crippled when doing parallel make, the `make all-host'
30425 # and `make all-target' phases can be parallelized.
30428 # 'touch' doesn't work right on some platforms.
30429 STAMP = echo timestamp >
30431 # Only build the C compiler for stage1, because that is the only one that
30432 # we can guarantee will build with the native compiler, and also it is the
30433 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
30434 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
30435 # overrideable (for a bootstrap build stage1 also builds gcc.info).
30437 STAGE1_CFLAGS=@stage1_cflags@
30438 STAGE1_LANGUAGES=@stage1_languages@
30440 # We only want to compare .o files, so set this!
30443 # Flags to pass to stage2 and later makes.
30444 POSTSTAGE1_FLAGS_TO_PASS = \
30445 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
30446 STAGE_PREFIX=$$r/stage-gcc/ \
30447 CFLAGS="$(BOOT_CFLAGS)" \
30451 # * We force-disable intermodule optimizations, even if
30452 # --enable-intermodule was passed, since the installed compiler probably
30453 # can't handle them. Luckily, autoconf always respects
30454 # the last argument when conflicting --enable arguments are passed.
30455 # * Likewise, we force-disable coverage flags, since the installed compiler
30456 # probably has never heard of them.
30457 # * We build only C (and possibly Ada).
30460 .PHONY: stage1-start stage1-end
30463 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30464 echo stage1 > stage_current ; \
30465 echo stage1 > stage_last; \
30466 $(mkinstalldirs) $(HOST_SUBDIR)
30468 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
30469 mkdir stage1-bfd; \
30470 set stage1-bfd bfd ; \
30471 @CREATE_LINK_TO_DIR@
30474 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
30475 mkdir stage1-opcodes; \
30476 set stage1-opcodes opcodes ; \
30477 @CREATE_LINK_TO_DIR@
30480 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
30481 mkdir stage1-binutils; \
30482 set stage1-binutils binutils ; \
30483 @CREATE_LINK_TO_DIR@
30486 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
30487 mkdir stage1-gas; \
30488 set stage1-gas gas ; \
30489 @CREATE_LINK_TO_DIR@
30492 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
30493 mkdir stage1-gcc; \
30494 set stage1-gcc gcc ; \
30495 @CREATE_LINK_TO_DIR@
30498 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
30499 mkdir stage1-intl; \
30500 set stage1-intl intl ; \
30501 @CREATE_LINK_TO_DIR@
30504 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
30506 set stage1-ld ld ; \
30507 @CREATE_LINK_TO_DIR@
30510 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
30511 mkdir stage1-libcpp; \
30512 set stage1-libcpp libcpp ; \
30513 @CREATE_LINK_TO_DIR@
30516 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
30517 mkdir stage1-libiberty; \
30518 set stage1-libiberty libiberty ; \
30519 @CREATE_LINK_TO_DIR@
30522 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
30523 mkdir stage1-zlib; \
30524 set stage1-zlib zlib ; \
30525 @CREATE_LINK_TO_DIR@
30529 @rm -f stage_current
30531 @cd $(HOST_SUBDIR); set bfd stage1-bfd ; \
30535 @cd $(HOST_SUBDIR); set opcodes stage1-opcodes ; \
30539 @cd $(HOST_SUBDIR); set binutils stage1-binutils ; \
30543 @cd $(HOST_SUBDIR); set gas stage1-gas ; \
30547 @cd $(HOST_SUBDIR); set gcc stage1-gcc ; \
30551 @cd $(HOST_SUBDIR); set intl stage1-intl ; \
30555 @cd $(HOST_SUBDIR); set ld stage1-ld ; \
30559 @cd $(HOST_SUBDIR); set libcpp stage1-libcpp ; \
30563 @cd $(HOST_SUBDIR); set libiberty stage1-libiberty ; \
30567 @cd $(HOST_SUBDIR); set zlib stage1-zlib ; \
30571 # Bubble a bugfix through all the stages up to stage 1. They
30572 # are remade, but not reconfigured. The next stage (if any) will not
30573 # be reconfigured as well.
30574 .PHONY: stage1-bubble
30576 @if test -f stage1-lean ; then \
30577 echo Skipping rebuild of stage1 ; \
30579 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage1; \
30582 .PHONY: all-stage1 clean-stage1
30584 maybe-all-stage1-bfd \
30585 maybe-all-stage1-opcodes \
30586 maybe-all-stage1-binutils \
30587 maybe-all-stage1-gas \
30588 maybe-all-stage1-gcc \
30589 maybe-all-stage1-intl \
30590 maybe-all-stage1-ld \
30591 maybe-all-stage1-libcpp \
30592 maybe-all-stage1-libiberty \
30593 maybe-all-stage1-zlib
30595 do-clean: clean-stage1
30597 maybe-clean-stage1-bfd \
30598 maybe-clean-stage1-opcodes \
30599 maybe-clean-stage1-binutils \
30600 maybe-clean-stage1-gas \
30601 maybe-clean-stage1-gcc \
30602 maybe-clean-stage1-intl \
30603 maybe-clean-stage1-ld \
30604 maybe-clean-stage1-libcpp \
30605 maybe-clean-stage1-libiberty \
30606 maybe-clean-stage1-zlib
30609 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
30610 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
30611 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
30613 maybe-configure-stage1-bfd:
30614 maybe-all-stage1-bfd:
30615 maybe-clean-stage1-bfd:
30618 maybe-configure-stage1-bfd: configure-stage1-bfd
30619 configure-stage1-bfd:
30620 @$(MAKE) stage1-start
30621 @[ -f bfd/Makefile ] && exit 0 || : ; \
30622 r=`${PWD_COMMAND}`; export r; \
30623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30625 echo Configuring stage 1 in bfd ; \
30626 cd $(HOST_SUBDIR)/bfd || exit 1; \
30627 case $(srcdir) in \
30628 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30629 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
30630 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30632 srcdiroption="--srcdir=$${topdir}/bfd"; \
30633 libsrcdir="$$s/bfd"; \
30634 $(SHELL) $${libsrcdir}/configure \
30635 $(HOST_CONFIGARGS) $${srcdiroption} \
30636 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30638 maybe-all-stage1-bfd: all-stage1-bfd
30639 all-stage1-bfd: configure-stage1-bfd
30640 @$(MAKE) stage1-start
30641 @r=`${PWD_COMMAND}`; export r; \
30642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30644 cd $(HOST_SUBDIR)/bfd && \
30645 $(MAKE) $(FLAGS_TO_PASS) \
30646 CFLAGS="$(STAGE1_CFLAGS)"
30648 maybe-clean-stage1-bfd: clean-stage1-bfd
30650 @[ -f bfd/Makefile ] || [ -f stage1-bfd/Makefile ] \
30652 [ -f bfd/Makefile ] || $(MAKE) stage1-start ; \
30653 cd $(HOST_SUBDIR)/bfd && \
30654 $(MAKE) $(FLAGS_TO_PASS) \
30655 CFLAGS="$(STAGE1_CFLAGS)" clean
30656 @endif bfd-bootstrap
30659 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
30660 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
30661 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
30663 maybe-configure-stage1-opcodes:
30664 maybe-all-stage1-opcodes:
30665 maybe-clean-stage1-opcodes:
30667 @if opcodes-bootstrap
30668 maybe-configure-stage1-opcodes: configure-stage1-opcodes
30669 configure-stage1-opcodes:
30670 @$(MAKE) stage1-start
30671 @[ -f opcodes/Makefile ] && exit 0 || : ; \
30672 r=`${PWD_COMMAND}`; export r; \
30673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30675 echo Configuring stage 1 in opcodes ; \
30676 cd $(HOST_SUBDIR)/opcodes || exit 1; \
30677 case $(srcdir) in \
30678 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30679 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
30680 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30682 srcdiroption="--srcdir=$${topdir}/opcodes"; \
30683 libsrcdir="$$s/opcodes"; \
30684 $(SHELL) $${libsrcdir}/configure \
30685 $(HOST_CONFIGARGS) $${srcdiroption} \
30686 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30688 maybe-all-stage1-opcodes: all-stage1-opcodes
30689 all-stage1-opcodes: configure-stage1-opcodes
30690 @$(MAKE) stage1-start
30691 @r=`${PWD_COMMAND}`; export r; \
30692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30694 cd $(HOST_SUBDIR)/opcodes && \
30695 $(MAKE) $(FLAGS_TO_PASS) \
30696 CFLAGS="$(STAGE1_CFLAGS)"
30698 maybe-clean-stage1-opcodes: clean-stage1-opcodes
30699 clean-stage1-opcodes:
30700 @[ -f opcodes/Makefile ] || [ -f stage1-opcodes/Makefile ] \
30702 [ -f opcodes/Makefile ] || $(MAKE) stage1-start ; \
30703 cd $(HOST_SUBDIR)/opcodes && \
30704 $(MAKE) $(FLAGS_TO_PASS) \
30705 CFLAGS="$(STAGE1_CFLAGS)" clean
30706 @endif opcodes-bootstrap
30709 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
30710 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
30711 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
30713 maybe-configure-stage1-binutils:
30714 maybe-all-stage1-binutils:
30715 maybe-clean-stage1-binutils:
30717 @if binutils-bootstrap
30718 maybe-configure-stage1-binutils: configure-stage1-binutils
30719 configure-stage1-binutils:
30720 @$(MAKE) stage1-start
30721 @[ -f binutils/Makefile ] && exit 0 || : ; \
30722 r=`${PWD_COMMAND}`; export r; \
30723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30725 echo Configuring stage 1 in binutils ; \
30726 cd $(HOST_SUBDIR)/binutils || exit 1; \
30727 case $(srcdir) in \
30728 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30729 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
30730 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30732 srcdiroption="--srcdir=$${topdir}/binutils"; \
30733 libsrcdir="$$s/binutils"; \
30734 $(SHELL) $${libsrcdir}/configure \
30735 $(HOST_CONFIGARGS) $${srcdiroption} \
30736 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30738 maybe-all-stage1-binutils: all-stage1-binutils
30739 all-stage1-binutils: configure-stage1-binutils
30740 @$(MAKE) stage1-start
30741 @r=`${PWD_COMMAND}`; export r; \
30742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30744 cd $(HOST_SUBDIR)/binutils && \
30745 $(MAKE) $(FLAGS_TO_PASS) \
30746 CFLAGS="$(STAGE1_CFLAGS)"
30748 maybe-clean-stage1-binutils: clean-stage1-binutils
30749 clean-stage1-binutils:
30750 @[ -f binutils/Makefile ] || [ -f stage1-binutils/Makefile ] \
30752 [ -f binutils/Makefile ] || $(MAKE) stage1-start ; \
30753 cd $(HOST_SUBDIR)/binutils && \
30754 $(MAKE) $(FLAGS_TO_PASS) \
30755 CFLAGS="$(STAGE1_CFLAGS)" clean
30756 @endif binutils-bootstrap
30759 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
30760 .PHONY: all-stage1-gas maybe-all-stage1-gas
30761 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
30763 maybe-configure-stage1-gas:
30764 maybe-all-stage1-gas:
30765 maybe-clean-stage1-gas:
30768 maybe-configure-stage1-gas: configure-stage1-gas
30769 configure-stage1-gas:
30770 @$(MAKE) stage1-start
30771 @[ -f gas/Makefile ] && exit 0 || : ; \
30772 r=`${PWD_COMMAND}`; export r; \
30773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30775 echo Configuring stage 1 in gas ; \
30776 cd $(HOST_SUBDIR)/gas || exit 1; \
30777 case $(srcdir) in \
30778 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30779 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
30780 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30782 srcdiroption="--srcdir=$${topdir}/gas"; \
30783 libsrcdir="$$s/gas"; \
30784 $(SHELL) $${libsrcdir}/configure \
30785 $(HOST_CONFIGARGS) $${srcdiroption} \
30786 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30788 maybe-all-stage1-gas: all-stage1-gas
30789 all-stage1-gas: configure-stage1-gas
30790 @$(MAKE) stage1-start
30791 @r=`${PWD_COMMAND}`; export r; \
30792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30794 cd $(HOST_SUBDIR)/gas && \
30795 $(MAKE) $(FLAGS_TO_PASS) \
30796 CFLAGS="$(STAGE1_CFLAGS)"
30798 maybe-clean-stage1-gas: clean-stage1-gas
30800 @[ -f gas/Makefile ] || [ -f stage1-gas/Makefile ] \
30802 [ -f gas/Makefile ] || $(MAKE) stage1-start ; \
30803 cd $(HOST_SUBDIR)/gas && \
30804 $(MAKE) $(FLAGS_TO_PASS) \
30805 CFLAGS="$(STAGE1_CFLAGS)" clean
30806 @endif gas-bootstrap
30809 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
30810 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
30811 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
30813 maybe-configure-stage1-gcc:
30814 maybe-all-stage1-gcc:
30815 maybe-clean-stage1-gcc:
30818 maybe-configure-stage1-gcc: configure-stage1-gcc
30819 configure-stage1-gcc:
30820 @$(MAKE) stage1-start
30821 @[ -f gcc/Makefile ] && exit 0 || : ; \
30822 r=`${PWD_COMMAND}`; export r; \
30823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30825 echo Configuring stage 1 in gcc ; \
30826 cd $(HOST_SUBDIR)/gcc || exit 1; \
30827 case $(srcdir) in \
30828 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30829 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
30830 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30832 srcdiroption="--srcdir=$${topdir}/gcc"; \
30833 libsrcdir="$$s/gcc"; \
30834 $(SHELL) $${libsrcdir}/configure \
30835 $(HOST_CONFIGARGS) $${srcdiroption} \
30836 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30838 maybe-all-stage1-gcc: all-stage1-gcc
30839 all-stage1-gcc: configure-stage1-gcc
30840 @$(MAKE) stage1-start
30841 @r=`${PWD_COMMAND}`; export r; \
30842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30844 cd $(HOST_SUBDIR)/gcc && \
30845 $(MAKE) $(FLAGS_TO_PASS) \
30846 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS)
30848 maybe-clean-stage1-gcc: clean-stage1-gcc
30850 @[ -f gcc/Makefile ] || [ -f stage1-gcc/Makefile ] \
30852 [ -f gcc/Makefile ] || $(MAKE) stage1-start ; \
30853 cd $(HOST_SUBDIR)/gcc && \
30854 $(MAKE) $(FLAGS_TO_PASS) \
30855 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
30856 @endif gcc-bootstrap
30859 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
30860 .PHONY: all-stage1-intl maybe-all-stage1-intl
30861 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
30863 maybe-configure-stage1-intl:
30864 maybe-all-stage1-intl:
30865 maybe-clean-stage1-intl:
30868 maybe-configure-stage1-intl: configure-stage1-intl
30869 configure-stage1-intl:
30870 @$(MAKE) stage1-start
30871 @[ -f intl/Makefile ] && exit 0 || : ; \
30872 r=`${PWD_COMMAND}`; export r; \
30873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30875 echo Configuring stage 1 in intl ; \
30876 cd $(HOST_SUBDIR)/intl || exit 1; \
30877 case $(srcdir) in \
30878 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30879 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
30880 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30882 srcdiroption="--srcdir=$${topdir}/intl"; \
30883 libsrcdir="$$s/intl"; \
30884 $(SHELL) $${libsrcdir}/configure \
30885 $(HOST_CONFIGARGS) $${srcdiroption} \
30886 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30888 maybe-all-stage1-intl: all-stage1-intl
30889 all-stage1-intl: configure-stage1-intl
30890 @$(MAKE) stage1-start
30891 @r=`${PWD_COMMAND}`; export r; \
30892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30894 cd $(HOST_SUBDIR)/intl && \
30895 $(MAKE) $(FLAGS_TO_PASS) \
30896 CFLAGS="$(STAGE1_CFLAGS)"
30898 maybe-clean-stage1-intl: clean-stage1-intl
30900 @[ -f intl/Makefile ] || [ -f stage1-intl/Makefile ] \
30902 [ -f intl/Makefile ] || $(MAKE) stage1-start ; \
30903 cd $(HOST_SUBDIR)/intl && \
30904 $(MAKE) $(FLAGS_TO_PASS) \
30905 CFLAGS="$(STAGE1_CFLAGS)" clean
30906 @endif intl-bootstrap
30909 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
30910 .PHONY: all-stage1-ld maybe-all-stage1-ld
30911 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
30913 maybe-configure-stage1-ld:
30914 maybe-all-stage1-ld:
30915 maybe-clean-stage1-ld:
30918 maybe-configure-stage1-ld: configure-stage1-ld
30919 configure-stage1-ld:
30920 @$(MAKE) stage1-start
30921 @[ -f ld/Makefile ] && exit 0 || : ; \
30922 r=`${PWD_COMMAND}`; export r; \
30923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30925 echo Configuring stage 1 in ld ; \
30926 cd $(HOST_SUBDIR)/ld || exit 1; \
30927 case $(srcdir) in \
30928 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30929 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
30930 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30932 srcdiroption="--srcdir=$${topdir}/ld"; \
30933 libsrcdir="$$s/ld"; \
30934 $(SHELL) $${libsrcdir}/configure \
30935 $(HOST_CONFIGARGS) $${srcdiroption} \
30936 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30938 maybe-all-stage1-ld: all-stage1-ld
30939 all-stage1-ld: configure-stage1-ld
30940 @$(MAKE) stage1-start
30941 @r=`${PWD_COMMAND}`; export r; \
30942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30944 cd $(HOST_SUBDIR)/ld && \
30945 $(MAKE) $(FLAGS_TO_PASS) \
30946 CFLAGS="$(STAGE1_CFLAGS)"
30948 maybe-clean-stage1-ld: clean-stage1-ld
30950 @[ -f ld/Makefile ] || [ -f stage1-ld/Makefile ] \
30952 [ -f ld/Makefile ] || $(MAKE) stage1-start ; \
30953 cd $(HOST_SUBDIR)/ld && \
30954 $(MAKE) $(FLAGS_TO_PASS) \
30955 CFLAGS="$(STAGE1_CFLAGS)" clean
30956 @endif ld-bootstrap
30959 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
30960 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
30961 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
30963 maybe-configure-stage1-libcpp:
30964 maybe-all-stage1-libcpp:
30965 maybe-clean-stage1-libcpp:
30967 @if libcpp-bootstrap
30968 maybe-configure-stage1-libcpp: configure-stage1-libcpp
30969 configure-stage1-libcpp:
30970 @$(MAKE) stage1-start
30971 @[ -f libcpp/Makefile ] && exit 0 || : ; \
30972 r=`${PWD_COMMAND}`; export r; \
30973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30975 echo Configuring stage 1 in libcpp ; \
30976 cd $(HOST_SUBDIR)/libcpp || exit 1; \
30977 case $(srcdir) in \
30978 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30979 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
30980 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30982 srcdiroption="--srcdir=$${topdir}/libcpp"; \
30983 libsrcdir="$$s/libcpp"; \
30984 $(SHELL) $${libsrcdir}/configure \
30985 $(HOST_CONFIGARGS) $${srcdiroption} \
30986 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30988 maybe-all-stage1-libcpp: all-stage1-libcpp
30989 all-stage1-libcpp: configure-stage1-libcpp
30990 @$(MAKE) stage1-start
30991 @r=`${PWD_COMMAND}`; export r; \
30992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30994 cd $(HOST_SUBDIR)/libcpp && \
30995 $(MAKE) $(FLAGS_TO_PASS) \
30996 CFLAGS="$(STAGE1_CFLAGS)"
30998 maybe-clean-stage1-libcpp: clean-stage1-libcpp
30999 clean-stage1-libcpp:
31000 @[ -f libcpp/Makefile ] || [ -f stage1-libcpp/Makefile ] \
31002 [ -f libcpp/Makefile ] || $(MAKE) stage1-start ; \
31003 cd $(HOST_SUBDIR)/libcpp && \
31004 $(MAKE) $(FLAGS_TO_PASS) \
31005 CFLAGS="$(STAGE1_CFLAGS)" clean
31006 @endif libcpp-bootstrap
31009 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
31010 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
31011 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
31013 maybe-configure-stage1-libiberty:
31014 maybe-all-stage1-libiberty:
31015 maybe-clean-stage1-libiberty:
31017 @if libiberty-bootstrap
31018 maybe-configure-stage1-libiberty: configure-stage1-libiberty
31019 configure-stage1-libiberty:
31020 @$(MAKE) stage1-start
31021 @[ -f libiberty/Makefile ] && exit 0 || : ; \
31022 r=`${PWD_COMMAND}`; export r; \
31023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31025 echo Configuring stage 1 in libiberty ; \
31026 cd $(HOST_SUBDIR)/libiberty || exit 1; \
31027 case $(srcdir) in \
31028 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31029 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
31030 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31032 srcdiroption="--srcdir=$${topdir}/libiberty"; \
31033 libsrcdir="$$s/libiberty"; \
31034 $(SHELL) $${libsrcdir}/configure \
31035 $(HOST_CONFIGARGS) $${srcdiroption} \
31036 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31038 maybe-all-stage1-libiberty: all-stage1-libiberty
31039 all-stage1-libiberty: configure-stage1-libiberty
31040 @$(MAKE) stage1-start
31041 @r=`${PWD_COMMAND}`; export r; \
31042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31044 cd $(HOST_SUBDIR)/libiberty && \
31045 $(MAKE) $(FLAGS_TO_PASS) \
31046 CFLAGS="$(STAGE1_CFLAGS)"
31048 maybe-clean-stage1-libiberty: clean-stage1-libiberty
31049 clean-stage1-libiberty:
31050 @[ -f libiberty/Makefile ] || [ -f stage1-libiberty/Makefile ] \
31052 [ -f libiberty/Makefile ] || $(MAKE) stage1-start ; \
31053 cd $(HOST_SUBDIR)/libiberty && \
31054 $(MAKE) $(FLAGS_TO_PASS) \
31055 CFLAGS="$(STAGE1_CFLAGS)" clean
31056 @endif libiberty-bootstrap
31059 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
31060 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
31061 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
31063 maybe-configure-stage1-zlib:
31064 maybe-all-stage1-zlib:
31065 maybe-clean-stage1-zlib:
31068 maybe-configure-stage1-zlib: configure-stage1-zlib
31069 configure-stage1-zlib:
31070 @$(MAKE) stage1-start
31071 @[ -f zlib/Makefile ] && exit 0 || : ; \
31072 r=`${PWD_COMMAND}`; export r; \
31073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31075 echo Configuring stage 1 in zlib ; \
31076 cd $(HOST_SUBDIR)/zlib || exit 1; \
31077 case $(srcdir) in \
31078 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31079 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31080 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31082 srcdiroption="--srcdir=$${topdir}/zlib"; \
31083 libsrcdir="$$s/zlib"; \
31084 $(SHELL) $${libsrcdir}/configure \
31085 $(HOST_CONFIGARGS) $${srcdiroption} \
31086 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31088 maybe-all-stage1-zlib: all-stage1-zlib
31089 all-stage1-zlib: configure-stage1-zlib
31090 @$(MAKE) stage1-start
31091 @r=`${PWD_COMMAND}`; export r; \
31092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31094 cd $(HOST_SUBDIR)/zlib && \
31095 $(MAKE) $(FLAGS_TO_PASS) \
31096 CFLAGS="$(STAGE1_CFLAGS)"
31098 maybe-clean-stage1-zlib: clean-stage1-zlib
31100 @[ -f zlib/Makefile ] || [ -f stage1-zlib/Makefile ] \
31102 [ -f zlib/Makefile ] || $(MAKE) stage1-start ; \
31103 cd $(HOST_SUBDIR)/zlib && \
31104 $(MAKE) $(FLAGS_TO_PASS) \
31105 CFLAGS="$(STAGE1_CFLAGS)" clean
31106 @endif zlib-bootstrap
31110 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31111 # only possibility, but now it conflicts with no-bootstrap rules
31117 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31119 .PHONY: distclean-stage1
31121 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31125 @endif gcc-bootstrap
31128 .PHONY: stage2-start stage2-end
31131 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31132 echo stage2 > stage_current ; \
31133 echo stage2 > stage_last; \
31134 $(mkinstalldirs) $(HOST_SUBDIR)
31136 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
31137 mkdir stage2-bfd; \
31138 set stage2-bfd bfd ; \
31139 @CREATE_LINK_TO_DIR@ ; \
31140 set stage1-bfd prev-bfd ; \
31141 @CREATE_LINK_TO_DIR@
31144 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
31145 mkdir stage2-opcodes; \
31146 set stage2-opcodes opcodes ; \
31147 @CREATE_LINK_TO_DIR@ ; \
31148 set stage1-opcodes prev-opcodes ; \
31149 @CREATE_LINK_TO_DIR@
31152 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
31153 mkdir stage2-binutils; \
31154 set stage2-binutils binutils ; \
31155 @CREATE_LINK_TO_DIR@ ; \
31156 set stage1-binutils prev-binutils ; \
31157 @CREATE_LINK_TO_DIR@
31160 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
31161 mkdir stage2-gas; \
31162 set stage2-gas gas ; \
31163 @CREATE_LINK_TO_DIR@ ; \
31164 set stage1-gas prev-gas ; \
31165 @CREATE_LINK_TO_DIR@
31168 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
31169 mkdir stage2-gcc; \
31170 set stage2-gcc gcc ; \
31171 @CREATE_LINK_TO_DIR@ ; \
31172 set stage1-gcc prev-gcc ; \
31173 @CREATE_LINK_TO_DIR@
31176 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
31177 mkdir stage2-intl; \
31178 set stage2-intl intl ; \
31179 @CREATE_LINK_TO_DIR@ ; \
31180 set stage1-intl prev-intl ; \
31181 @CREATE_LINK_TO_DIR@
31184 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
31186 set stage2-ld ld ; \
31187 @CREATE_LINK_TO_DIR@ ; \
31188 set stage1-ld prev-ld ; \
31189 @CREATE_LINK_TO_DIR@
31192 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
31193 mkdir stage2-libcpp; \
31194 set stage2-libcpp libcpp ; \
31195 @CREATE_LINK_TO_DIR@ ; \
31196 set stage1-libcpp prev-libcpp ; \
31197 @CREATE_LINK_TO_DIR@
31200 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
31201 mkdir stage2-libiberty; \
31202 set stage2-libiberty libiberty ; \
31203 @CREATE_LINK_TO_DIR@ ; \
31204 set stage1-libiberty prev-libiberty ; \
31205 @CREATE_LINK_TO_DIR@
31208 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
31209 mkdir stage2-zlib; \
31210 set stage2-zlib zlib ; \
31211 @CREATE_LINK_TO_DIR@ ; \
31212 set stage1-zlib prev-zlib ; \
31213 @CREATE_LINK_TO_DIR@
31217 @rm -f stage_current
31219 @cd $(HOST_SUBDIR); set bfd stage2-bfd ; \
31220 @UNDO_LINK_TO_DIR@ ; \
31221 set prev-bfd stage1-bfd ; \
31225 @cd $(HOST_SUBDIR); set opcodes stage2-opcodes ; \
31226 @UNDO_LINK_TO_DIR@ ; \
31227 set prev-opcodes stage1-opcodes ; \
31231 @cd $(HOST_SUBDIR); set binutils stage2-binutils ; \
31232 @UNDO_LINK_TO_DIR@ ; \
31233 set prev-binutils stage1-binutils ; \
31237 @cd $(HOST_SUBDIR); set gas stage2-gas ; \
31238 @UNDO_LINK_TO_DIR@ ; \
31239 set prev-gas stage1-gas ; \
31243 @cd $(HOST_SUBDIR); set gcc stage2-gcc ; \
31244 @UNDO_LINK_TO_DIR@ ; \
31245 set prev-gcc stage1-gcc ; \
31249 @cd $(HOST_SUBDIR); set intl stage2-intl ; \
31250 @UNDO_LINK_TO_DIR@ ; \
31251 set prev-intl stage1-intl ; \
31255 @cd $(HOST_SUBDIR); set ld stage2-ld ; \
31256 @UNDO_LINK_TO_DIR@ ; \
31257 set prev-ld stage1-ld ; \
31261 @cd $(HOST_SUBDIR); set libcpp stage2-libcpp ; \
31262 @UNDO_LINK_TO_DIR@ ; \
31263 set prev-libcpp stage1-libcpp ; \
31267 @cd $(HOST_SUBDIR); set libiberty stage2-libiberty ; \
31268 @UNDO_LINK_TO_DIR@ ; \
31269 set prev-libiberty stage1-libiberty ; \
31273 @cd $(HOST_SUBDIR); set zlib stage2-zlib ; \
31274 @UNDO_LINK_TO_DIR@ ; \
31275 set prev-zlib stage1-zlib ; \
31279 # Bubble a bugfix through all the stages up to stage 2. They
31280 # are remade, but not reconfigured. The next stage (if any) will not
31281 # be reconfigured as well.
31282 .PHONY: stage2-bubble
31283 stage2-bubble:: stage1-bubble
31284 @if test -f stage2-lean || test -f stage1-lean ; then \
31285 echo Skipping rebuild of stage2 ; \
31287 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage2; \
31290 .PHONY: all-stage2 clean-stage2
31292 maybe-all-stage2-bfd \
31293 maybe-all-stage2-opcodes \
31294 maybe-all-stage2-binutils \
31295 maybe-all-stage2-gas \
31296 maybe-all-stage2-gcc \
31297 maybe-all-stage2-intl \
31298 maybe-all-stage2-ld \
31299 maybe-all-stage2-libcpp \
31300 maybe-all-stage2-libiberty \
31301 maybe-all-stage2-zlib
31303 do-clean: clean-stage2
31305 maybe-clean-stage2-bfd \
31306 maybe-clean-stage2-opcodes \
31307 maybe-clean-stage2-binutils \
31308 maybe-clean-stage2-gas \
31309 maybe-clean-stage2-gcc \
31310 maybe-clean-stage2-intl \
31311 maybe-clean-stage2-ld \
31312 maybe-clean-stage2-libcpp \
31313 maybe-clean-stage2-libiberty \
31314 maybe-clean-stage2-zlib
31317 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
31318 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
31319 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
31321 maybe-configure-stage2-bfd:
31322 maybe-all-stage2-bfd:
31323 maybe-clean-stage2-bfd:
31326 maybe-configure-stage2-bfd: configure-stage2-bfd
31327 configure-stage2-bfd:
31328 @$(MAKE) stage2-start
31329 @[ -f bfd/Makefile ] && exit 0 || : ; \
31330 r=`${PWD_COMMAND}`; export r; \
31331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31332 $(STAGE_HOST_EXPORTS) \
31333 echo Configuring stage 2 in bfd ; \
31334 cd $(HOST_SUBDIR)/bfd || exit 1; \
31335 case $(srcdir) in \
31336 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31337 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
31338 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31340 srcdiroption="--srcdir=$${topdir}/bfd"; \
31341 libsrcdir="$$s/bfd"; \
31342 $(SHELL) $${libsrcdir}/configure \
31343 $(HOST_CONFIGARGS) $${srcdiroption} \
31344 @stage2_werror_flag@
31346 maybe-all-stage2-bfd: all-stage2-bfd
31347 all-stage2-bfd: configure-stage2-bfd
31348 @$(MAKE) stage2-start
31349 @r=`${PWD_COMMAND}`; export r; \
31350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31351 $(STAGE_HOST_EXPORTS) \
31352 cd $(HOST_SUBDIR)/bfd && \
31353 $(MAKE) $(FLAGS_TO_PASS) \
31354 $(POSTSTAGE1_FLAGS_TO_PASS) \
31357 maybe-clean-stage2-bfd: clean-stage2-bfd
31359 @[ -f bfd/Makefile ] || [ -f stage2-bfd/Makefile ] \
31361 [ -f bfd/Makefile ] || $(MAKE) stage2-start ; \
31362 cd $(HOST_SUBDIR)/bfd && \
31363 $(MAKE) $(FLAGS_TO_PASS) \
31364 $(POSTSTAGE1_FLAGS_TO_PASS) \
31366 @endif bfd-bootstrap
31369 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
31370 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
31371 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
31373 maybe-configure-stage2-opcodes:
31374 maybe-all-stage2-opcodes:
31375 maybe-clean-stage2-opcodes:
31377 @if opcodes-bootstrap
31378 maybe-configure-stage2-opcodes: configure-stage2-opcodes
31379 configure-stage2-opcodes:
31380 @$(MAKE) stage2-start
31381 @[ -f opcodes/Makefile ] && exit 0 || : ; \
31382 r=`${PWD_COMMAND}`; export r; \
31383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31384 $(STAGE_HOST_EXPORTS) \
31385 echo Configuring stage 2 in opcodes ; \
31386 cd $(HOST_SUBDIR)/opcodes || exit 1; \
31387 case $(srcdir) in \
31388 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31389 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
31390 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31392 srcdiroption="--srcdir=$${topdir}/opcodes"; \
31393 libsrcdir="$$s/opcodes"; \
31394 $(SHELL) $${libsrcdir}/configure \
31395 $(HOST_CONFIGARGS) $${srcdiroption} \
31396 @stage2_werror_flag@
31398 maybe-all-stage2-opcodes: all-stage2-opcodes
31399 all-stage2-opcodes: configure-stage2-opcodes
31400 @$(MAKE) stage2-start
31401 @r=`${PWD_COMMAND}`; export r; \
31402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31403 $(STAGE_HOST_EXPORTS) \
31404 cd $(HOST_SUBDIR)/opcodes && \
31405 $(MAKE) $(FLAGS_TO_PASS) \
31406 $(POSTSTAGE1_FLAGS_TO_PASS) \
31409 maybe-clean-stage2-opcodes: clean-stage2-opcodes
31410 clean-stage2-opcodes:
31411 @[ -f opcodes/Makefile ] || [ -f stage2-opcodes/Makefile ] \
31413 [ -f opcodes/Makefile ] || $(MAKE) stage2-start ; \
31414 cd $(HOST_SUBDIR)/opcodes && \
31415 $(MAKE) $(FLAGS_TO_PASS) \
31416 $(POSTSTAGE1_FLAGS_TO_PASS) \
31418 @endif opcodes-bootstrap
31421 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
31422 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
31423 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
31425 maybe-configure-stage2-binutils:
31426 maybe-all-stage2-binutils:
31427 maybe-clean-stage2-binutils:
31429 @if binutils-bootstrap
31430 maybe-configure-stage2-binutils: configure-stage2-binutils
31431 configure-stage2-binutils:
31432 @$(MAKE) stage2-start
31433 @[ -f binutils/Makefile ] && exit 0 || : ; \
31434 r=`${PWD_COMMAND}`; export r; \
31435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31436 $(STAGE_HOST_EXPORTS) \
31437 echo Configuring stage 2 in binutils ; \
31438 cd $(HOST_SUBDIR)/binutils || exit 1; \
31439 case $(srcdir) in \
31440 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31441 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
31442 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31444 srcdiroption="--srcdir=$${topdir}/binutils"; \
31445 libsrcdir="$$s/binutils"; \
31446 $(SHELL) $${libsrcdir}/configure \
31447 $(HOST_CONFIGARGS) $${srcdiroption} \
31448 @stage2_werror_flag@
31450 maybe-all-stage2-binutils: all-stage2-binutils
31451 all-stage2-binutils: configure-stage2-binutils
31452 @$(MAKE) stage2-start
31453 @r=`${PWD_COMMAND}`; export r; \
31454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31455 $(STAGE_HOST_EXPORTS) \
31456 cd $(HOST_SUBDIR)/binutils && \
31457 $(MAKE) $(FLAGS_TO_PASS) \
31458 $(POSTSTAGE1_FLAGS_TO_PASS) \
31461 maybe-clean-stage2-binutils: clean-stage2-binutils
31462 clean-stage2-binutils:
31463 @[ -f binutils/Makefile ] || [ -f stage2-binutils/Makefile ] \
31465 [ -f binutils/Makefile ] || $(MAKE) stage2-start ; \
31466 cd $(HOST_SUBDIR)/binutils && \
31467 $(MAKE) $(FLAGS_TO_PASS) \
31468 $(POSTSTAGE1_FLAGS_TO_PASS) \
31470 @endif binutils-bootstrap
31473 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
31474 .PHONY: all-stage2-gas maybe-all-stage2-gas
31475 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
31477 maybe-configure-stage2-gas:
31478 maybe-all-stage2-gas:
31479 maybe-clean-stage2-gas:
31482 maybe-configure-stage2-gas: configure-stage2-gas
31483 configure-stage2-gas:
31484 @$(MAKE) stage2-start
31485 @[ -f gas/Makefile ] && exit 0 || : ; \
31486 r=`${PWD_COMMAND}`; export r; \
31487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31488 $(STAGE_HOST_EXPORTS) \
31489 echo Configuring stage 2 in gas ; \
31490 cd $(HOST_SUBDIR)/gas || exit 1; \
31491 case $(srcdir) in \
31492 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31493 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
31494 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31496 srcdiroption="--srcdir=$${topdir}/gas"; \
31497 libsrcdir="$$s/gas"; \
31498 $(SHELL) $${libsrcdir}/configure \
31499 $(HOST_CONFIGARGS) $${srcdiroption} \
31500 @stage2_werror_flag@
31502 maybe-all-stage2-gas: all-stage2-gas
31503 all-stage2-gas: configure-stage2-gas
31504 @$(MAKE) stage2-start
31505 @r=`${PWD_COMMAND}`; export r; \
31506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31507 $(STAGE_HOST_EXPORTS) \
31508 cd $(HOST_SUBDIR)/gas && \
31509 $(MAKE) $(FLAGS_TO_PASS) \
31510 $(POSTSTAGE1_FLAGS_TO_PASS) \
31513 maybe-clean-stage2-gas: clean-stage2-gas
31515 @[ -f gas/Makefile ] || [ -f stage2-gas/Makefile ] \
31517 [ -f gas/Makefile ] || $(MAKE) stage2-start ; \
31518 cd $(HOST_SUBDIR)/gas && \
31519 $(MAKE) $(FLAGS_TO_PASS) \
31520 $(POSTSTAGE1_FLAGS_TO_PASS) \
31522 @endif gas-bootstrap
31525 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
31526 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
31527 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
31529 maybe-configure-stage2-gcc:
31530 maybe-all-stage2-gcc:
31531 maybe-clean-stage2-gcc:
31534 maybe-configure-stage2-gcc: configure-stage2-gcc
31535 configure-stage2-gcc:
31536 @$(MAKE) stage2-start
31537 @[ -f gcc/Makefile ] && exit 0 || : ; \
31538 r=`${PWD_COMMAND}`; export r; \
31539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31540 $(STAGE_HOST_EXPORTS) \
31541 echo Configuring stage 2 in gcc ; \
31542 cd $(HOST_SUBDIR)/gcc || exit 1; \
31543 case $(srcdir) in \
31544 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31545 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
31546 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31548 srcdiroption="--srcdir=$${topdir}/gcc"; \
31549 libsrcdir="$$s/gcc"; \
31550 $(SHELL) $${libsrcdir}/configure \
31551 $(HOST_CONFIGARGS) $${srcdiroption} \
31552 @stage2_werror_flag@
31554 maybe-all-stage2-gcc: all-stage2-gcc
31555 all-stage2-gcc: configure-stage2-gcc
31556 @$(MAKE) stage2-start
31557 @r=`${PWD_COMMAND}`; export r; \
31558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31559 $(STAGE_HOST_EXPORTS) \
31560 cd $(HOST_SUBDIR)/gcc && \
31561 $(MAKE) $(FLAGS_TO_PASS) \
31562 $(POSTSTAGE1_FLAGS_TO_PASS) \
31565 maybe-clean-stage2-gcc: clean-stage2-gcc
31567 @[ -f gcc/Makefile ] || [ -f stage2-gcc/Makefile ] \
31569 [ -f gcc/Makefile ] || $(MAKE) stage2-start ; \
31570 cd $(HOST_SUBDIR)/gcc && \
31571 $(MAKE) $(FLAGS_TO_PASS) \
31572 $(POSTSTAGE1_FLAGS_TO_PASS) \
31573 $(EXTRA_GCC_FLAGS) clean
31574 @endif gcc-bootstrap
31577 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
31578 .PHONY: all-stage2-intl maybe-all-stage2-intl
31579 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
31581 maybe-configure-stage2-intl:
31582 maybe-all-stage2-intl:
31583 maybe-clean-stage2-intl:
31586 maybe-configure-stage2-intl: configure-stage2-intl
31587 configure-stage2-intl:
31588 @$(MAKE) stage2-start
31589 @[ -f intl/Makefile ] && exit 0 || : ; \
31590 r=`${PWD_COMMAND}`; export r; \
31591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31592 $(STAGE_HOST_EXPORTS) \
31593 echo Configuring stage 2 in intl ; \
31594 cd $(HOST_SUBDIR)/intl || exit 1; \
31595 case $(srcdir) in \
31596 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31597 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
31598 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31600 srcdiroption="--srcdir=$${topdir}/intl"; \
31601 libsrcdir="$$s/intl"; \
31602 $(SHELL) $${libsrcdir}/configure \
31603 $(HOST_CONFIGARGS) $${srcdiroption} \
31604 @stage2_werror_flag@
31606 maybe-all-stage2-intl: all-stage2-intl
31607 all-stage2-intl: configure-stage2-intl
31608 @$(MAKE) stage2-start
31609 @r=`${PWD_COMMAND}`; export r; \
31610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31611 $(STAGE_HOST_EXPORTS) \
31612 cd $(HOST_SUBDIR)/intl && \
31613 $(MAKE) $(FLAGS_TO_PASS) \
31614 $(POSTSTAGE1_FLAGS_TO_PASS) \
31617 maybe-clean-stage2-intl: clean-stage2-intl
31619 @[ -f intl/Makefile ] || [ -f stage2-intl/Makefile ] \
31621 [ -f intl/Makefile ] || $(MAKE) stage2-start ; \
31622 cd $(HOST_SUBDIR)/intl && \
31623 $(MAKE) $(FLAGS_TO_PASS) \
31624 $(POSTSTAGE1_FLAGS_TO_PASS) \
31626 @endif intl-bootstrap
31629 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
31630 .PHONY: all-stage2-ld maybe-all-stage2-ld
31631 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
31633 maybe-configure-stage2-ld:
31634 maybe-all-stage2-ld:
31635 maybe-clean-stage2-ld:
31638 maybe-configure-stage2-ld: configure-stage2-ld
31639 configure-stage2-ld:
31640 @$(MAKE) stage2-start
31641 @[ -f ld/Makefile ] && exit 0 || : ; \
31642 r=`${PWD_COMMAND}`; export r; \
31643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31644 $(STAGE_HOST_EXPORTS) \
31645 echo Configuring stage 2 in ld ; \
31646 cd $(HOST_SUBDIR)/ld || exit 1; \
31647 case $(srcdir) in \
31648 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31649 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
31650 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31652 srcdiroption="--srcdir=$${topdir}/ld"; \
31653 libsrcdir="$$s/ld"; \
31654 $(SHELL) $${libsrcdir}/configure \
31655 $(HOST_CONFIGARGS) $${srcdiroption} \
31656 @stage2_werror_flag@
31658 maybe-all-stage2-ld: all-stage2-ld
31659 all-stage2-ld: configure-stage2-ld
31660 @$(MAKE) stage2-start
31661 @r=`${PWD_COMMAND}`; export r; \
31662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31663 $(STAGE_HOST_EXPORTS) \
31664 cd $(HOST_SUBDIR)/ld && \
31665 $(MAKE) $(FLAGS_TO_PASS) \
31666 $(POSTSTAGE1_FLAGS_TO_PASS) \
31669 maybe-clean-stage2-ld: clean-stage2-ld
31671 @[ -f ld/Makefile ] || [ -f stage2-ld/Makefile ] \
31673 [ -f ld/Makefile ] || $(MAKE) stage2-start ; \
31674 cd $(HOST_SUBDIR)/ld && \
31675 $(MAKE) $(FLAGS_TO_PASS) \
31676 $(POSTSTAGE1_FLAGS_TO_PASS) \
31678 @endif ld-bootstrap
31681 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
31682 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
31683 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
31685 maybe-configure-stage2-libcpp:
31686 maybe-all-stage2-libcpp:
31687 maybe-clean-stage2-libcpp:
31689 @if libcpp-bootstrap
31690 maybe-configure-stage2-libcpp: configure-stage2-libcpp
31691 configure-stage2-libcpp:
31692 @$(MAKE) stage2-start
31693 @[ -f libcpp/Makefile ] && exit 0 || : ; \
31694 r=`${PWD_COMMAND}`; export r; \
31695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31696 $(STAGE_HOST_EXPORTS) \
31697 echo Configuring stage 2 in libcpp ; \
31698 cd $(HOST_SUBDIR)/libcpp || exit 1; \
31699 case $(srcdir) in \
31700 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31701 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
31702 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31704 srcdiroption="--srcdir=$${topdir}/libcpp"; \
31705 libsrcdir="$$s/libcpp"; \
31706 $(SHELL) $${libsrcdir}/configure \
31707 $(HOST_CONFIGARGS) $${srcdiroption} \
31708 @stage2_werror_flag@
31710 maybe-all-stage2-libcpp: all-stage2-libcpp
31711 all-stage2-libcpp: configure-stage2-libcpp
31712 @$(MAKE) stage2-start
31713 @r=`${PWD_COMMAND}`; export r; \
31714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31715 $(STAGE_HOST_EXPORTS) \
31716 cd $(HOST_SUBDIR)/libcpp && \
31717 $(MAKE) $(FLAGS_TO_PASS) \
31718 $(POSTSTAGE1_FLAGS_TO_PASS) \
31721 maybe-clean-stage2-libcpp: clean-stage2-libcpp
31722 clean-stage2-libcpp:
31723 @[ -f libcpp/Makefile ] || [ -f stage2-libcpp/Makefile ] \
31725 [ -f libcpp/Makefile ] || $(MAKE) stage2-start ; \
31726 cd $(HOST_SUBDIR)/libcpp && \
31727 $(MAKE) $(FLAGS_TO_PASS) \
31728 $(POSTSTAGE1_FLAGS_TO_PASS) \
31730 @endif libcpp-bootstrap
31733 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
31734 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
31735 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
31737 maybe-configure-stage2-libiberty:
31738 maybe-all-stage2-libiberty:
31739 maybe-clean-stage2-libiberty:
31741 @if libiberty-bootstrap
31742 maybe-configure-stage2-libiberty: configure-stage2-libiberty
31743 configure-stage2-libiberty:
31744 @$(MAKE) stage2-start
31745 @[ -f libiberty/Makefile ] && exit 0 || : ; \
31746 r=`${PWD_COMMAND}`; export r; \
31747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31748 $(STAGE_HOST_EXPORTS) \
31749 echo Configuring stage 2 in libiberty ; \
31750 cd $(HOST_SUBDIR)/libiberty || exit 1; \
31751 case $(srcdir) in \
31752 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31753 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
31754 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31756 srcdiroption="--srcdir=$${topdir}/libiberty"; \
31757 libsrcdir="$$s/libiberty"; \
31758 $(SHELL) $${libsrcdir}/configure \
31759 $(HOST_CONFIGARGS) $${srcdiroption} \
31760 @stage2_werror_flag@
31762 maybe-all-stage2-libiberty: all-stage2-libiberty
31763 all-stage2-libiberty: configure-stage2-libiberty
31764 @$(MAKE) stage2-start
31765 @r=`${PWD_COMMAND}`; export r; \
31766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31767 $(STAGE_HOST_EXPORTS) \
31768 cd $(HOST_SUBDIR)/libiberty && \
31769 $(MAKE) $(FLAGS_TO_PASS) \
31770 $(POSTSTAGE1_FLAGS_TO_PASS) \
31773 maybe-clean-stage2-libiberty: clean-stage2-libiberty
31774 clean-stage2-libiberty:
31775 @[ -f libiberty/Makefile ] || [ -f stage2-libiberty/Makefile ] \
31777 [ -f libiberty/Makefile ] || $(MAKE) stage2-start ; \
31778 cd $(HOST_SUBDIR)/libiberty && \
31779 $(MAKE) $(FLAGS_TO_PASS) \
31780 $(POSTSTAGE1_FLAGS_TO_PASS) \
31782 @endif libiberty-bootstrap
31785 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
31786 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
31787 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
31789 maybe-configure-stage2-zlib:
31790 maybe-all-stage2-zlib:
31791 maybe-clean-stage2-zlib:
31794 maybe-configure-stage2-zlib: configure-stage2-zlib
31795 configure-stage2-zlib:
31796 @$(MAKE) stage2-start
31797 @[ -f zlib/Makefile ] && exit 0 || : ; \
31798 r=`${PWD_COMMAND}`; export r; \
31799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31800 $(STAGE_HOST_EXPORTS) \
31801 echo Configuring stage 2 in zlib ; \
31802 cd $(HOST_SUBDIR)/zlib || exit 1; \
31803 case $(srcdir) in \
31804 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31805 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31806 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31808 srcdiroption="--srcdir=$${topdir}/zlib"; \
31809 libsrcdir="$$s/zlib"; \
31810 $(SHELL) $${libsrcdir}/configure \
31811 $(HOST_CONFIGARGS) $${srcdiroption} \
31812 @stage2_werror_flag@
31814 maybe-all-stage2-zlib: all-stage2-zlib
31815 all-stage2-zlib: configure-stage2-zlib
31816 @$(MAKE) stage2-start
31817 @r=`${PWD_COMMAND}`; export r; \
31818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31819 $(STAGE_HOST_EXPORTS) \
31820 cd $(HOST_SUBDIR)/zlib && \
31821 $(MAKE) $(FLAGS_TO_PASS) \
31822 $(POSTSTAGE1_FLAGS_TO_PASS) \
31825 maybe-clean-stage2-zlib: clean-stage2-zlib
31827 @[ -f zlib/Makefile ] || [ -f stage2-zlib/Makefile ] \
31829 [ -f zlib/Makefile ] || $(MAKE) stage2-start ; \
31830 cd $(HOST_SUBDIR)/zlib && \
31831 $(MAKE) $(FLAGS_TO_PASS) \
31832 $(POSTSTAGE1_FLAGS_TO_PASS) \
31834 @endif zlib-bootstrap
31838 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31839 # only possibility, but now it conflicts with no-bootstrap rules
31845 bootstrap2: stage2-bubble all
31848 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31849 distclean-stage1:: distclean-stage2
31850 .PHONY: distclean-stage2
31852 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31856 @endif gcc-bootstrap
31859 .PHONY: stage3-start stage3-end
31862 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31863 echo stage3 > stage_current ; \
31864 echo stage3 > stage_last; \
31865 $(mkinstalldirs) $(HOST_SUBDIR)
31867 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
31868 mkdir stage3-bfd; \
31869 set stage3-bfd bfd ; \
31870 @CREATE_LINK_TO_DIR@ ; \
31871 set stage2-bfd prev-bfd ; \
31872 @CREATE_LINK_TO_DIR@
31875 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
31876 mkdir stage3-opcodes; \
31877 set stage3-opcodes opcodes ; \
31878 @CREATE_LINK_TO_DIR@ ; \
31879 set stage2-opcodes prev-opcodes ; \
31880 @CREATE_LINK_TO_DIR@
31883 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
31884 mkdir stage3-binutils; \
31885 set stage3-binutils binutils ; \
31886 @CREATE_LINK_TO_DIR@ ; \
31887 set stage2-binutils prev-binutils ; \
31888 @CREATE_LINK_TO_DIR@
31891 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
31892 mkdir stage3-gas; \
31893 set stage3-gas gas ; \
31894 @CREATE_LINK_TO_DIR@ ; \
31895 set stage2-gas prev-gas ; \
31896 @CREATE_LINK_TO_DIR@
31899 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
31900 mkdir stage3-gcc; \
31901 set stage3-gcc gcc ; \
31902 @CREATE_LINK_TO_DIR@ ; \
31903 set stage2-gcc prev-gcc ; \
31904 @CREATE_LINK_TO_DIR@
31907 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
31908 mkdir stage3-intl; \
31909 set stage3-intl intl ; \
31910 @CREATE_LINK_TO_DIR@ ; \
31911 set stage2-intl prev-intl ; \
31912 @CREATE_LINK_TO_DIR@
31915 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
31917 set stage3-ld ld ; \
31918 @CREATE_LINK_TO_DIR@ ; \
31919 set stage2-ld prev-ld ; \
31920 @CREATE_LINK_TO_DIR@
31923 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
31924 mkdir stage3-libcpp; \
31925 set stage3-libcpp libcpp ; \
31926 @CREATE_LINK_TO_DIR@ ; \
31927 set stage2-libcpp prev-libcpp ; \
31928 @CREATE_LINK_TO_DIR@
31931 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
31932 mkdir stage3-libiberty; \
31933 set stage3-libiberty libiberty ; \
31934 @CREATE_LINK_TO_DIR@ ; \
31935 set stage2-libiberty prev-libiberty ; \
31936 @CREATE_LINK_TO_DIR@
31939 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
31940 mkdir stage3-zlib; \
31941 set stage3-zlib zlib ; \
31942 @CREATE_LINK_TO_DIR@ ; \
31943 set stage2-zlib prev-zlib ; \
31944 @CREATE_LINK_TO_DIR@
31948 @rm -f stage_current
31950 @cd $(HOST_SUBDIR); set bfd stage3-bfd ; \
31951 @UNDO_LINK_TO_DIR@ ; \
31952 set prev-bfd stage2-bfd ; \
31956 @cd $(HOST_SUBDIR); set opcodes stage3-opcodes ; \
31957 @UNDO_LINK_TO_DIR@ ; \
31958 set prev-opcodes stage2-opcodes ; \
31962 @cd $(HOST_SUBDIR); set binutils stage3-binutils ; \
31963 @UNDO_LINK_TO_DIR@ ; \
31964 set prev-binutils stage2-binutils ; \
31968 @cd $(HOST_SUBDIR); set gas stage3-gas ; \
31969 @UNDO_LINK_TO_DIR@ ; \
31970 set prev-gas stage2-gas ; \
31974 @cd $(HOST_SUBDIR); set gcc stage3-gcc ; \
31975 @UNDO_LINK_TO_DIR@ ; \
31976 set prev-gcc stage2-gcc ; \
31980 @cd $(HOST_SUBDIR); set intl stage3-intl ; \
31981 @UNDO_LINK_TO_DIR@ ; \
31982 set prev-intl stage2-intl ; \
31986 @cd $(HOST_SUBDIR); set ld stage3-ld ; \
31987 @UNDO_LINK_TO_DIR@ ; \
31988 set prev-ld stage2-ld ; \
31992 @cd $(HOST_SUBDIR); set libcpp stage3-libcpp ; \
31993 @UNDO_LINK_TO_DIR@ ; \
31994 set prev-libcpp stage2-libcpp ; \
31998 @cd $(HOST_SUBDIR); set libiberty stage3-libiberty ; \
31999 @UNDO_LINK_TO_DIR@ ; \
32000 set prev-libiberty stage2-libiberty ; \
32004 @cd $(HOST_SUBDIR); set zlib stage3-zlib ; \
32005 @UNDO_LINK_TO_DIR@ ; \
32006 set prev-zlib stage2-zlib ; \
32010 # Bubble a bugfix through all the stages up to stage 3. They
32011 # are remade, but not reconfigured. The next stage (if any) will not
32012 # be reconfigured as well.
32013 .PHONY: stage3-bubble
32014 stage3-bubble:: stage2-bubble
32015 @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
32016 @if test -f stage3-lean || test -f stage2-lean ; then \
32017 echo Skipping rebuild of stage3 ; \
32019 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage3; \
32022 .PHONY: all-stage3 clean-stage3
32024 maybe-all-stage3-bfd \
32025 maybe-all-stage3-opcodes \
32026 maybe-all-stage3-binutils \
32027 maybe-all-stage3-gas \
32028 maybe-all-stage3-gcc \
32029 maybe-all-stage3-intl \
32030 maybe-all-stage3-ld \
32031 maybe-all-stage3-libcpp \
32032 maybe-all-stage3-libiberty \
32033 maybe-all-stage3-zlib
32035 do-clean: clean-stage3
32037 maybe-clean-stage3-bfd \
32038 maybe-clean-stage3-opcodes \
32039 maybe-clean-stage3-binutils \
32040 maybe-clean-stage3-gas \
32041 maybe-clean-stage3-gcc \
32042 maybe-clean-stage3-intl \
32043 maybe-clean-stage3-ld \
32044 maybe-clean-stage3-libcpp \
32045 maybe-clean-stage3-libiberty \
32046 maybe-clean-stage3-zlib
32049 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
32050 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
32051 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
32053 maybe-configure-stage3-bfd:
32054 maybe-all-stage3-bfd:
32055 maybe-clean-stage3-bfd:
32058 maybe-configure-stage3-bfd: configure-stage3-bfd
32059 configure-stage3-bfd:
32060 @$(MAKE) stage3-start
32061 @[ -f bfd/Makefile ] && exit 0 || : ; \
32062 r=`${PWD_COMMAND}`; export r; \
32063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32064 $(STAGE_HOST_EXPORTS) \
32065 echo Configuring stage 3 in bfd ; \
32066 cd $(HOST_SUBDIR)/bfd || exit 1; \
32067 case $(srcdir) in \
32068 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32069 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
32070 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32072 srcdiroption="--srcdir=$${topdir}/bfd"; \
32073 libsrcdir="$$s/bfd"; \
32074 $(SHELL) $${libsrcdir}/configure \
32075 $(HOST_CONFIGARGS) $${srcdiroption} \
32076 @stage2_werror_flag@
32078 maybe-all-stage3-bfd: all-stage3-bfd
32079 all-stage3-bfd: configure-stage3-bfd
32080 @$(MAKE) stage3-start
32081 @r=`${PWD_COMMAND}`; export r; \
32082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32083 $(STAGE_HOST_EXPORTS) \
32084 cd $(HOST_SUBDIR)/bfd && \
32085 $(MAKE) $(FLAGS_TO_PASS) \
32086 $(POSTSTAGE1_FLAGS_TO_PASS) \
32089 maybe-clean-stage3-bfd: clean-stage3-bfd
32091 @[ -f bfd/Makefile ] || [ -f stage3-bfd/Makefile ] \
32093 [ -f bfd/Makefile ] || $(MAKE) stage3-start ; \
32094 cd $(HOST_SUBDIR)/bfd && \
32095 $(MAKE) $(FLAGS_TO_PASS) \
32096 $(POSTSTAGE1_FLAGS_TO_PASS) \
32098 @endif bfd-bootstrap
32101 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
32102 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
32103 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
32105 maybe-configure-stage3-opcodes:
32106 maybe-all-stage3-opcodes:
32107 maybe-clean-stage3-opcodes:
32109 @if opcodes-bootstrap
32110 maybe-configure-stage3-opcodes: configure-stage3-opcodes
32111 configure-stage3-opcodes:
32112 @$(MAKE) stage3-start
32113 @[ -f opcodes/Makefile ] && exit 0 || : ; \
32114 r=`${PWD_COMMAND}`; export r; \
32115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32116 $(STAGE_HOST_EXPORTS) \
32117 echo Configuring stage 3 in opcodes ; \
32118 cd $(HOST_SUBDIR)/opcodes || exit 1; \
32119 case $(srcdir) in \
32120 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32121 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
32122 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32124 srcdiroption="--srcdir=$${topdir}/opcodes"; \
32125 libsrcdir="$$s/opcodes"; \
32126 $(SHELL) $${libsrcdir}/configure \
32127 $(HOST_CONFIGARGS) $${srcdiroption} \
32128 @stage2_werror_flag@
32130 maybe-all-stage3-opcodes: all-stage3-opcodes
32131 all-stage3-opcodes: configure-stage3-opcodes
32132 @$(MAKE) stage3-start
32133 @r=`${PWD_COMMAND}`; export r; \
32134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32135 $(STAGE_HOST_EXPORTS) \
32136 cd $(HOST_SUBDIR)/opcodes && \
32137 $(MAKE) $(FLAGS_TO_PASS) \
32138 $(POSTSTAGE1_FLAGS_TO_PASS) \
32141 maybe-clean-stage3-opcodes: clean-stage3-opcodes
32142 clean-stage3-opcodes:
32143 @[ -f opcodes/Makefile ] || [ -f stage3-opcodes/Makefile ] \
32145 [ -f opcodes/Makefile ] || $(MAKE) stage3-start ; \
32146 cd $(HOST_SUBDIR)/opcodes && \
32147 $(MAKE) $(FLAGS_TO_PASS) \
32148 $(POSTSTAGE1_FLAGS_TO_PASS) \
32150 @endif opcodes-bootstrap
32153 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
32154 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
32155 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
32157 maybe-configure-stage3-binutils:
32158 maybe-all-stage3-binutils:
32159 maybe-clean-stage3-binutils:
32161 @if binutils-bootstrap
32162 maybe-configure-stage3-binutils: configure-stage3-binutils
32163 configure-stage3-binutils:
32164 @$(MAKE) stage3-start
32165 @[ -f binutils/Makefile ] && exit 0 || : ; \
32166 r=`${PWD_COMMAND}`; export r; \
32167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32168 $(STAGE_HOST_EXPORTS) \
32169 echo Configuring stage 3 in binutils ; \
32170 cd $(HOST_SUBDIR)/binutils || exit 1; \
32171 case $(srcdir) in \
32172 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32173 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
32174 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32176 srcdiroption="--srcdir=$${topdir}/binutils"; \
32177 libsrcdir="$$s/binutils"; \
32178 $(SHELL) $${libsrcdir}/configure \
32179 $(HOST_CONFIGARGS) $${srcdiroption} \
32180 @stage2_werror_flag@
32182 maybe-all-stage3-binutils: all-stage3-binutils
32183 all-stage3-binutils: configure-stage3-binutils
32184 @$(MAKE) stage3-start
32185 @r=`${PWD_COMMAND}`; export r; \
32186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32187 $(STAGE_HOST_EXPORTS) \
32188 cd $(HOST_SUBDIR)/binutils && \
32189 $(MAKE) $(FLAGS_TO_PASS) \
32190 $(POSTSTAGE1_FLAGS_TO_PASS) \
32193 maybe-clean-stage3-binutils: clean-stage3-binutils
32194 clean-stage3-binutils:
32195 @[ -f binutils/Makefile ] || [ -f stage3-binutils/Makefile ] \
32197 [ -f binutils/Makefile ] || $(MAKE) stage3-start ; \
32198 cd $(HOST_SUBDIR)/binutils && \
32199 $(MAKE) $(FLAGS_TO_PASS) \
32200 $(POSTSTAGE1_FLAGS_TO_PASS) \
32202 @endif binutils-bootstrap
32205 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
32206 .PHONY: all-stage3-gas maybe-all-stage3-gas
32207 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
32209 maybe-configure-stage3-gas:
32210 maybe-all-stage3-gas:
32211 maybe-clean-stage3-gas:
32214 maybe-configure-stage3-gas: configure-stage3-gas
32215 configure-stage3-gas:
32216 @$(MAKE) stage3-start
32217 @[ -f gas/Makefile ] && exit 0 || : ; \
32218 r=`${PWD_COMMAND}`; export r; \
32219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32220 $(STAGE_HOST_EXPORTS) \
32221 echo Configuring stage 3 in gas ; \
32222 cd $(HOST_SUBDIR)/gas || exit 1; \
32223 case $(srcdir) in \
32224 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32225 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
32226 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32228 srcdiroption="--srcdir=$${topdir}/gas"; \
32229 libsrcdir="$$s/gas"; \
32230 $(SHELL) $${libsrcdir}/configure \
32231 $(HOST_CONFIGARGS) $${srcdiroption} \
32232 @stage2_werror_flag@
32234 maybe-all-stage3-gas: all-stage3-gas
32235 all-stage3-gas: configure-stage3-gas
32236 @$(MAKE) stage3-start
32237 @r=`${PWD_COMMAND}`; export r; \
32238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32239 $(STAGE_HOST_EXPORTS) \
32240 cd $(HOST_SUBDIR)/gas && \
32241 $(MAKE) $(FLAGS_TO_PASS) \
32242 $(POSTSTAGE1_FLAGS_TO_PASS) \
32245 maybe-clean-stage3-gas: clean-stage3-gas
32247 @[ -f gas/Makefile ] || [ -f stage3-gas/Makefile ] \
32249 [ -f gas/Makefile ] || $(MAKE) stage3-start ; \
32250 cd $(HOST_SUBDIR)/gas && \
32251 $(MAKE) $(FLAGS_TO_PASS) \
32252 $(POSTSTAGE1_FLAGS_TO_PASS) \
32254 @endif gas-bootstrap
32257 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
32258 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
32259 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
32261 maybe-configure-stage3-gcc:
32262 maybe-all-stage3-gcc:
32263 maybe-clean-stage3-gcc:
32266 maybe-configure-stage3-gcc: configure-stage3-gcc
32267 configure-stage3-gcc:
32268 @$(MAKE) stage3-start
32269 @[ -f gcc/Makefile ] && exit 0 || : ; \
32270 r=`${PWD_COMMAND}`; export r; \
32271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32272 $(STAGE_HOST_EXPORTS) \
32273 echo Configuring stage 3 in gcc ; \
32274 cd $(HOST_SUBDIR)/gcc || exit 1; \
32275 case $(srcdir) in \
32276 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32277 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
32278 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32280 srcdiroption="--srcdir=$${topdir}/gcc"; \
32281 libsrcdir="$$s/gcc"; \
32282 $(SHELL) $${libsrcdir}/configure \
32283 $(HOST_CONFIGARGS) $${srcdiroption} \
32284 @stage2_werror_flag@
32286 maybe-all-stage3-gcc: all-stage3-gcc
32287 all-stage3-gcc: configure-stage3-gcc
32288 @$(MAKE) stage3-start
32289 @r=`${PWD_COMMAND}`; export r; \
32290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32291 $(STAGE_HOST_EXPORTS) \
32292 cd $(HOST_SUBDIR)/gcc && \
32293 $(MAKE) $(FLAGS_TO_PASS) \
32294 $(POSTSTAGE1_FLAGS_TO_PASS) \
32297 maybe-clean-stage3-gcc: clean-stage3-gcc
32299 @[ -f gcc/Makefile ] || [ -f stage3-gcc/Makefile ] \
32301 [ -f gcc/Makefile ] || $(MAKE) stage3-start ; \
32302 cd $(HOST_SUBDIR)/gcc && \
32303 $(MAKE) $(FLAGS_TO_PASS) \
32304 $(POSTSTAGE1_FLAGS_TO_PASS) \
32305 $(EXTRA_GCC_FLAGS) clean
32306 @endif gcc-bootstrap
32309 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
32310 .PHONY: all-stage3-intl maybe-all-stage3-intl
32311 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
32313 maybe-configure-stage3-intl:
32314 maybe-all-stage3-intl:
32315 maybe-clean-stage3-intl:
32318 maybe-configure-stage3-intl: configure-stage3-intl
32319 configure-stage3-intl:
32320 @$(MAKE) stage3-start
32321 @[ -f intl/Makefile ] && exit 0 || : ; \
32322 r=`${PWD_COMMAND}`; export r; \
32323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32324 $(STAGE_HOST_EXPORTS) \
32325 echo Configuring stage 3 in intl ; \
32326 cd $(HOST_SUBDIR)/intl || exit 1; \
32327 case $(srcdir) in \
32328 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32329 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
32330 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32332 srcdiroption="--srcdir=$${topdir}/intl"; \
32333 libsrcdir="$$s/intl"; \
32334 $(SHELL) $${libsrcdir}/configure \
32335 $(HOST_CONFIGARGS) $${srcdiroption} \
32336 @stage2_werror_flag@
32338 maybe-all-stage3-intl: all-stage3-intl
32339 all-stage3-intl: configure-stage3-intl
32340 @$(MAKE) stage3-start
32341 @r=`${PWD_COMMAND}`; export r; \
32342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32343 $(STAGE_HOST_EXPORTS) \
32344 cd $(HOST_SUBDIR)/intl && \
32345 $(MAKE) $(FLAGS_TO_PASS) \
32346 $(POSTSTAGE1_FLAGS_TO_PASS) \
32349 maybe-clean-stage3-intl: clean-stage3-intl
32351 @[ -f intl/Makefile ] || [ -f stage3-intl/Makefile ] \
32353 [ -f intl/Makefile ] || $(MAKE) stage3-start ; \
32354 cd $(HOST_SUBDIR)/intl && \
32355 $(MAKE) $(FLAGS_TO_PASS) \
32356 $(POSTSTAGE1_FLAGS_TO_PASS) \
32358 @endif intl-bootstrap
32361 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
32362 .PHONY: all-stage3-ld maybe-all-stage3-ld
32363 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
32365 maybe-configure-stage3-ld:
32366 maybe-all-stage3-ld:
32367 maybe-clean-stage3-ld:
32370 maybe-configure-stage3-ld: configure-stage3-ld
32371 configure-stage3-ld:
32372 @$(MAKE) stage3-start
32373 @[ -f ld/Makefile ] && exit 0 || : ; \
32374 r=`${PWD_COMMAND}`; export r; \
32375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32376 $(STAGE_HOST_EXPORTS) \
32377 echo Configuring stage 3 in ld ; \
32378 cd $(HOST_SUBDIR)/ld || exit 1; \
32379 case $(srcdir) in \
32380 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32381 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
32382 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32384 srcdiroption="--srcdir=$${topdir}/ld"; \
32385 libsrcdir="$$s/ld"; \
32386 $(SHELL) $${libsrcdir}/configure \
32387 $(HOST_CONFIGARGS) $${srcdiroption} \
32388 @stage2_werror_flag@
32390 maybe-all-stage3-ld: all-stage3-ld
32391 all-stage3-ld: configure-stage3-ld
32392 @$(MAKE) stage3-start
32393 @r=`${PWD_COMMAND}`; export r; \
32394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32395 $(STAGE_HOST_EXPORTS) \
32396 cd $(HOST_SUBDIR)/ld && \
32397 $(MAKE) $(FLAGS_TO_PASS) \
32398 $(POSTSTAGE1_FLAGS_TO_PASS) \
32401 maybe-clean-stage3-ld: clean-stage3-ld
32403 @[ -f ld/Makefile ] || [ -f stage3-ld/Makefile ] \
32405 [ -f ld/Makefile ] || $(MAKE) stage3-start ; \
32406 cd $(HOST_SUBDIR)/ld && \
32407 $(MAKE) $(FLAGS_TO_PASS) \
32408 $(POSTSTAGE1_FLAGS_TO_PASS) \
32410 @endif ld-bootstrap
32413 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
32414 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
32415 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
32417 maybe-configure-stage3-libcpp:
32418 maybe-all-stage3-libcpp:
32419 maybe-clean-stage3-libcpp:
32421 @if libcpp-bootstrap
32422 maybe-configure-stage3-libcpp: configure-stage3-libcpp
32423 configure-stage3-libcpp:
32424 @$(MAKE) stage3-start
32425 @[ -f libcpp/Makefile ] && exit 0 || : ; \
32426 r=`${PWD_COMMAND}`; export r; \
32427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32428 $(STAGE_HOST_EXPORTS) \
32429 echo Configuring stage 3 in libcpp ; \
32430 cd $(HOST_SUBDIR)/libcpp || exit 1; \
32431 case $(srcdir) in \
32432 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32433 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
32434 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32436 srcdiroption="--srcdir=$${topdir}/libcpp"; \
32437 libsrcdir="$$s/libcpp"; \
32438 $(SHELL) $${libsrcdir}/configure \
32439 $(HOST_CONFIGARGS) $${srcdiroption} \
32440 @stage2_werror_flag@
32442 maybe-all-stage3-libcpp: all-stage3-libcpp
32443 all-stage3-libcpp: configure-stage3-libcpp
32444 @$(MAKE) stage3-start
32445 @r=`${PWD_COMMAND}`; export r; \
32446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32447 $(STAGE_HOST_EXPORTS) \
32448 cd $(HOST_SUBDIR)/libcpp && \
32449 $(MAKE) $(FLAGS_TO_PASS) \
32450 $(POSTSTAGE1_FLAGS_TO_PASS) \
32453 maybe-clean-stage3-libcpp: clean-stage3-libcpp
32454 clean-stage3-libcpp:
32455 @[ -f libcpp/Makefile ] || [ -f stage3-libcpp/Makefile ] \
32457 [ -f libcpp/Makefile ] || $(MAKE) stage3-start ; \
32458 cd $(HOST_SUBDIR)/libcpp && \
32459 $(MAKE) $(FLAGS_TO_PASS) \
32460 $(POSTSTAGE1_FLAGS_TO_PASS) \
32462 @endif libcpp-bootstrap
32465 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
32466 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
32467 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
32469 maybe-configure-stage3-libiberty:
32470 maybe-all-stage3-libiberty:
32471 maybe-clean-stage3-libiberty:
32473 @if libiberty-bootstrap
32474 maybe-configure-stage3-libiberty: configure-stage3-libiberty
32475 configure-stage3-libiberty:
32476 @$(MAKE) stage3-start
32477 @[ -f libiberty/Makefile ] && exit 0 || : ; \
32478 r=`${PWD_COMMAND}`; export r; \
32479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32480 $(STAGE_HOST_EXPORTS) \
32481 echo Configuring stage 3 in libiberty ; \
32482 cd $(HOST_SUBDIR)/libiberty || exit 1; \
32483 case $(srcdir) in \
32484 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32485 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
32486 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32488 srcdiroption="--srcdir=$${topdir}/libiberty"; \
32489 libsrcdir="$$s/libiberty"; \
32490 $(SHELL) $${libsrcdir}/configure \
32491 $(HOST_CONFIGARGS) $${srcdiroption} \
32492 @stage2_werror_flag@
32494 maybe-all-stage3-libiberty: all-stage3-libiberty
32495 all-stage3-libiberty: configure-stage3-libiberty
32496 @$(MAKE) stage3-start
32497 @r=`${PWD_COMMAND}`; export r; \
32498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32499 $(STAGE_HOST_EXPORTS) \
32500 cd $(HOST_SUBDIR)/libiberty && \
32501 $(MAKE) $(FLAGS_TO_PASS) \
32502 $(POSTSTAGE1_FLAGS_TO_PASS) \
32505 maybe-clean-stage3-libiberty: clean-stage3-libiberty
32506 clean-stage3-libiberty:
32507 @[ -f libiberty/Makefile ] || [ -f stage3-libiberty/Makefile ] \
32509 [ -f libiberty/Makefile ] || $(MAKE) stage3-start ; \
32510 cd $(HOST_SUBDIR)/libiberty && \
32511 $(MAKE) $(FLAGS_TO_PASS) \
32512 $(POSTSTAGE1_FLAGS_TO_PASS) \
32514 @endif libiberty-bootstrap
32517 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
32518 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
32519 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
32521 maybe-configure-stage3-zlib:
32522 maybe-all-stage3-zlib:
32523 maybe-clean-stage3-zlib:
32526 maybe-configure-stage3-zlib: configure-stage3-zlib
32527 configure-stage3-zlib:
32528 @$(MAKE) stage3-start
32529 @[ -f zlib/Makefile ] && exit 0 || : ; \
32530 r=`${PWD_COMMAND}`; export r; \
32531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32532 $(STAGE_HOST_EXPORTS) \
32533 echo Configuring stage 3 in zlib ; \
32534 cd $(HOST_SUBDIR)/zlib || exit 1; \
32535 case $(srcdir) in \
32536 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32537 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32538 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32540 srcdiroption="--srcdir=$${topdir}/zlib"; \
32541 libsrcdir="$$s/zlib"; \
32542 $(SHELL) $${libsrcdir}/configure \
32543 $(HOST_CONFIGARGS) $${srcdiroption} \
32544 @stage2_werror_flag@
32546 maybe-all-stage3-zlib: all-stage3-zlib
32547 all-stage3-zlib: configure-stage3-zlib
32548 @$(MAKE) stage3-start
32549 @r=`${PWD_COMMAND}`; export r; \
32550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32551 $(STAGE_HOST_EXPORTS) \
32552 cd $(HOST_SUBDIR)/zlib && \
32553 $(MAKE) $(FLAGS_TO_PASS) \
32554 $(POSTSTAGE1_FLAGS_TO_PASS) \
32557 maybe-clean-stage3-zlib: clean-stage3-zlib
32559 @[ -f zlib/Makefile ] || [ -f stage3-zlib/Makefile ] \
32561 [ -f zlib/Makefile ] || $(MAKE) stage3-start ; \
32562 cd $(HOST_SUBDIR)/zlib && \
32563 $(MAKE) $(FLAGS_TO_PASS) \
32564 $(POSTSTAGE1_FLAGS_TO_PASS) \
32566 @endif zlib-bootstrap
32570 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32571 # only possibility, but now it conflicts with no-bootstrap rules
32575 @if test -f stage2-lean; then \
32576 echo Cannot compare object files as stage 2 was deleted. ; \
32579 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
32580 @r=`${PWD_COMMAND}`; export r; \
32581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32582 rm -f .bad_compare ; \
32584 files=`find . -name "*$(objext)" -print` ; \
32586 for file in $${files} ; do \
32587 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
32588 @do_compare@ > /dev/null 2>&1; \
32589 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
32591 if [ -f .bad_compare ]; then \
32592 echo "Bootstrap comparison failure!"; \
32593 cat .bad_compare; \
32599 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
32604 bootstrap: stage3-bubble compare all
32607 # Rules to wipe a stage and all the following ones, also used for cleanstrap
32608 distclean-stage2:: distclean-stage3
32609 .PHONY: distclean-stage3
32611 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
32612 rm -rf stage3-* compare
32616 cleanstrap: distclean bootstrap
32618 @endif gcc-bootstrap
32621 .PHONY: stage4-start stage4-end
32624 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
32625 echo stage4 > stage_current ; \
32626 echo stage4 > stage_last; \
32627 $(mkinstalldirs) $(HOST_SUBDIR)
32629 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
32630 mkdir stage4-bfd; \
32631 set stage4-bfd bfd ; \
32632 @CREATE_LINK_TO_DIR@ ; \
32633 set stage3-bfd prev-bfd ; \
32634 @CREATE_LINK_TO_DIR@
32637 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
32638 mkdir stage4-opcodes; \
32639 set stage4-opcodes opcodes ; \
32640 @CREATE_LINK_TO_DIR@ ; \
32641 set stage3-opcodes prev-opcodes ; \
32642 @CREATE_LINK_TO_DIR@
32645 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
32646 mkdir stage4-binutils; \
32647 set stage4-binutils binutils ; \
32648 @CREATE_LINK_TO_DIR@ ; \
32649 set stage3-binutils prev-binutils ; \
32650 @CREATE_LINK_TO_DIR@
32653 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
32654 mkdir stage4-gas; \
32655 set stage4-gas gas ; \
32656 @CREATE_LINK_TO_DIR@ ; \
32657 set stage3-gas prev-gas ; \
32658 @CREATE_LINK_TO_DIR@
32661 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
32662 mkdir stage4-gcc; \
32663 set stage4-gcc gcc ; \
32664 @CREATE_LINK_TO_DIR@ ; \
32665 set stage3-gcc prev-gcc ; \
32666 @CREATE_LINK_TO_DIR@
32669 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
32670 mkdir stage4-intl; \
32671 set stage4-intl intl ; \
32672 @CREATE_LINK_TO_DIR@ ; \
32673 set stage3-intl prev-intl ; \
32674 @CREATE_LINK_TO_DIR@
32677 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
32679 set stage4-ld ld ; \
32680 @CREATE_LINK_TO_DIR@ ; \
32681 set stage3-ld prev-ld ; \
32682 @CREATE_LINK_TO_DIR@
32685 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
32686 mkdir stage4-libcpp; \
32687 set stage4-libcpp libcpp ; \
32688 @CREATE_LINK_TO_DIR@ ; \
32689 set stage3-libcpp prev-libcpp ; \
32690 @CREATE_LINK_TO_DIR@
32693 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
32694 mkdir stage4-libiberty; \
32695 set stage4-libiberty libiberty ; \
32696 @CREATE_LINK_TO_DIR@ ; \
32697 set stage3-libiberty prev-libiberty ; \
32698 @CREATE_LINK_TO_DIR@
32701 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
32702 mkdir stage4-zlib; \
32703 set stage4-zlib zlib ; \
32704 @CREATE_LINK_TO_DIR@ ; \
32705 set stage3-zlib prev-zlib ; \
32706 @CREATE_LINK_TO_DIR@
32710 @rm -f stage_current
32712 @cd $(HOST_SUBDIR); set bfd stage4-bfd ; \
32713 @UNDO_LINK_TO_DIR@ ; \
32714 set prev-bfd stage3-bfd ; \
32718 @cd $(HOST_SUBDIR); set opcodes stage4-opcodes ; \
32719 @UNDO_LINK_TO_DIR@ ; \
32720 set prev-opcodes stage3-opcodes ; \
32724 @cd $(HOST_SUBDIR); set binutils stage4-binutils ; \
32725 @UNDO_LINK_TO_DIR@ ; \
32726 set prev-binutils stage3-binutils ; \
32730 @cd $(HOST_SUBDIR); set gas stage4-gas ; \
32731 @UNDO_LINK_TO_DIR@ ; \
32732 set prev-gas stage3-gas ; \
32736 @cd $(HOST_SUBDIR); set gcc stage4-gcc ; \
32737 @UNDO_LINK_TO_DIR@ ; \
32738 set prev-gcc stage3-gcc ; \
32742 @cd $(HOST_SUBDIR); set intl stage4-intl ; \
32743 @UNDO_LINK_TO_DIR@ ; \
32744 set prev-intl stage3-intl ; \
32748 @cd $(HOST_SUBDIR); set ld stage4-ld ; \
32749 @UNDO_LINK_TO_DIR@ ; \
32750 set prev-ld stage3-ld ; \
32754 @cd $(HOST_SUBDIR); set libcpp stage4-libcpp ; \
32755 @UNDO_LINK_TO_DIR@ ; \
32756 set prev-libcpp stage3-libcpp ; \
32760 @cd $(HOST_SUBDIR); set libiberty stage4-libiberty ; \
32761 @UNDO_LINK_TO_DIR@ ; \
32762 set prev-libiberty stage3-libiberty ; \
32766 @cd $(HOST_SUBDIR); set zlib stage4-zlib ; \
32767 @UNDO_LINK_TO_DIR@ ; \
32768 set prev-zlib stage3-zlib ; \
32772 # Bubble a bugfix through all the stages up to stage 4. They
32773 # are remade, but not reconfigured. The next stage (if any) will not
32774 # be reconfigured as well.
32775 .PHONY: stage4-bubble
32776 stage4-bubble:: stage3-bubble
32777 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
32778 @if test -f stage4-lean || test -f stage3-lean ; then \
32779 echo Skipping rebuild of stage4 ; \
32781 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage4; \
32784 .PHONY: all-stage4 clean-stage4
32786 maybe-all-stage4-bfd \
32787 maybe-all-stage4-opcodes \
32788 maybe-all-stage4-binutils \
32789 maybe-all-stage4-gas \
32790 maybe-all-stage4-gcc \
32791 maybe-all-stage4-intl \
32792 maybe-all-stage4-ld \
32793 maybe-all-stage4-libcpp \
32794 maybe-all-stage4-libiberty \
32795 maybe-all-stage4-zlib
32797 do-clean: clean-stage4
32799 maybe-clean-stage4-bfd \
32800 maybe-clean-stage4-opcodes \
32801 maybe-clean-stage4-binutils \
32802 maybe-clean-stage4-gas \
32803 maybe-clean-stage4-gcc \
32804 maybe-clean-stage4-intl \
32805 maybe-clean-stage4-ld \
32806 maybe-clean-stage4-libcpp \
32807 maybe-clean-stage4-libiberty \
32808 maybe-clean-stage4-zlib
32811 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
32812 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
32813 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
32815 maybe-configure-stage4-bfd:
32816 maybe-all-stage4-bfd:
32817 maybe-clean-stage4-bfd:
32820 maybe-configure-stage4-bfd: configure-stage4-bfd
32821 configure-stage4-bfd:
32822 @$(MAKE) stage4-start
32823 @[ -f bfd/Makefile ] && exit 0 || : ; \
32824 r=`${PWD_COMMAND}`; export r; \
32825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32826 $(STAGE_HOST_EXPORTS) \
32827 echo Configuring stage 4 in bfd ; \
32828 cd $(HOST_SUBDIR)/bfd || exit 1; \
32829 case $(srcdir) in \
32830 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32831 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
32832 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32834 srcdiroption="--srcdir=$${topdir}/bfd"; \
32835 libsrcdir="$$s/bfd"; \
32836 $(SHELL) $${libsrcdir}/configure \
32837 $(HOST_CONFIGARGS) $${srcdiroption} \
32838 @stage2_werror_flag@
32840 maybe-all-stage4-bfd: all-stage4-bfd
32841 all-stage4-bfd: configure-stage4-bfd
32842 @$(MAKE) stage4-start
32843 @r=`${PWD_COMMAND}`; export r; \
32844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32845 $(STAGE_HOST_EXPORTS) \
32846 cd $(HOST_SUBDIR)/bfd && \
32847 $(MAKE) $(FLAGS_TO_PASS) \
32848 $(POSTSTAGE1_FLAGS_TO_PASS) \
32851 maybe-clean-stage4-bfd: clean-stage4-bfd
32853 @[ -f bfd/Makefile ] || [ -f stage4-bfd/Makefile ] \
32855 [ -f bfd/Makefile ] || $(MAKE) stage4-start ; \
32856 cd $(HOST_SUBDIR)/bfd && \
32857 $(MAKE) $(FLAGS_TO_PASS) \
32858 $(POSTSTAGE1_FLAGS_TO_PASS) \
32860 @endif bfd-bootstrap
32863 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
32864 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
32865 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
32867 maybe-configure-stage4-opcodes:
32868 maybe-all-stage4-opcodes:
32869 maybe-clean-stage4-opcodes:
32871 @if opcodes-bootstrap
32872 maybe-configure-stage4-opcodes: configure-stage4-opcodes
32873 configure-stage4-opcodes:
32874 @$(MAKE) stage4-start
32875 @[ -f opcodes/Makefile ] && exit 0 || : ; \
32876 r=`${PWD_COMMAND}`; export r; \
32877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32878 $(STAGE_HOST_EXPORTS) \
32879 echo Configuring stage 4 in opcodes ; \
32880 cd $(HOST_SUBDIR)/opcodes || exit 1; \
32881 case $(srcdir) in \
32882 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32883 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
32884 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32886 srcdiroption="--srcdir=$${topdir}/opcodes"; \
32887 libsrcdir="$$s/opcodes"; \
32888 $(SHELL) $${libsrcdir}/configure \
32889 $(HOST_CONFIGARGS) $${srcdiroption} \
32890 @stage2_werror_flag@
32892 maybe-all-stage4-opcodes: all-stage4-opcodes
32893 all-stage4-opcodes: configure-stage4-opcodes
32894 @$(MAKE) stage4-start
32895 @r=`${PWD_COMMAND}`; export r; \
32896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32897 $(STAGE_HOST_EXPORTS) \
32898 cd $(HOST_SUBDIR)/opcodes && \
32899 $(MAKE) $(FLAGS_TO_PASS) \
32900 $(POSTSTAGE1_FLAGS_TO_PASS) \
32903 maybe-clean-stage4-opcodes: clean-stage4-opcodes
32904 clean-stage4-opcodes:
32905 @[ -f opcodes/Makefile ] || [ -f stage4-opcodes/Makefile ] \
32907 [ -f opcodes/Makefile ] || $(MAKE) stage4-start ; \
32908 cd $(HOST_SUBDIR)/opcodes && \
32909 $(MAKE) $(FLAGS_TO_PASS) \
32910 $(POSTSTAGE1_FLAGS_TO_PASS) \
32912 @endif opcodes-bootstrap
32915 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
32916 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
32917 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
32919 maybe-configure-stage4-binutils:
32920 maybe-all-stage4-binutils:
32921 maybe-clean-stage4-binutils:
32923 @if binutils-bootstrap
32924 maybe-configure-stage4-binutils: configure-stage4-binutils
32925 configure-stage4-binutils:
32926 @$(MAKE) stage4-start
32927 @[ -f binutils/Makefile ] && exit 0 || : ; \
32928 r=`${PWD_COMMAND}`; export r; \
32929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32930 $(STAGE_HOST_EXPORTS) \
32931 echo Configuring stage 4 in binutils ; \
32932 cd $(HOST_SUBDIR)/binutils || exit 1; \
32933 case $(srcdir) in \
32934 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32935 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
32936 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32938 srcdiroption="--srcdir=$${topdir}/binutils"; \
32939 libsrcdir="$$s/binutils"; \
32940 $(SHELL) $${libsrcdir}/configure \
32941 $(HOST_CONFIGARGS) $${srcdiroption} \
32942 @stage2_werror_flag@
32944 maybe-all-stage4-binutils: all-stage4-binutils
32945 all-stage4-binutils: configure-stage4-binutils
32946 @$(MAKE) stage4-start
32947 @r=`${PWD_COMMAND}`; export r; \
32948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32949 $(STAGE_HOST_EXPORTS) \
32950 cd $(HOST_SUBDIR)/binutils && \
32951 $(MAKE) $(FLAGS_TO_PASS) \
32952 $(POSTSTAGE1_FLAGS_TO_PASS) \
32955 maybe-clean-stage4-binutils: clean-stage4-binutils
32956 clean-stage4-binutils:
32957 @[ -f binutils/Makefile ] || [ -f stage4-binutils/Makefile ] \
32959 [ -f binutils/Makefile ] || $(MAKE) stage4-start ; \
32960 cd $(HOST_SUBDIR)/binutils && \
32961 $(MAKE) $(FLAGS_TO_PASS) \
32962 $(POSTSTAGE1_FLAGS_TO_PASS) \
32964 @endif binutils-bootstrap
32967 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
32968 .PHONY: all-stage4-gas maybe-all-stage4-gas
32969 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
32971 maybe-configure-stage4-gas:
32972 maybe-all-stage4-gas:
32973 maybe-clean-stage4-gas:
32976 maybe-configure-stage4-gas: configure-stage4-gas
32977 configure-stage4-gas:
32978 @$(MAKE) stage4-start
32979 @[ -f gas/Makefile ] && exit 0 || : ; \
32980 r=`${PWD_COMMAND}`; export r; \
32981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32982 $(STAGE_HOST_EXPORTS) \
32983 echo Configuring stage 4 in gas ; \
32984 cd $(HOST_SUBDIR)/gas || exit 1; \
32985 case $(srcdir) in \
32986 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32987 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
32988 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32990 srcdiroption="--srcdir=$${topdir}/gas"; \
32991 libsrcdir="$$s/gas"; \
32992 $(SHELL) $${libsrcdir}/configure \
32993 $(HOST_CONFIGARGS) $${srcdiroption} \
32994 @stage2_werror_flag@
32996 maybe-all-stage4-gas: all-stage4-gas
32997 all-stage4-gas: configure-stage4-gas
32998 @$(MAKE) stage4-start
32999 @r=`${PWD_COMMAND}`; export r; \
33000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33001 $(STAGE_HOST_EXPORTS) \
33002 cd $(HOST_SUBDIR)/gas && \
33003 $(MAKE) $(FLAGS_TO_PASS) \
33004 $(POSTSTAGE1_FLAGS_TO_PASS) \
33007 maybe-clean-stage4-gas: clean-stage4-gas
33009 @[ -f gas/Makefile ] || [ -f stage4-gas/Makefile ] \
33011 [ -f gas/Makefile ] || $(MAKE) stage4-start ; \
33012 cd $(HOST_SUBDIR)/gas && \
33013 $(MAKE) $(FLAGS_TO_PASS) \
33014 $(POSTSTAGE1_FLAGS_TO_PASS) \
33016 @endif gas-bootstrap
33019 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
33020 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
33021 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
33023 maybe-configure-stage4-gcc:
33024 maybe-all-stage4-gcc:
33025 maybe-clean-stage4-gcc:
33028 maybe-configure-stage4-gcc: configure-stage4-gcc
33029 configure-stage4-gcc:
33030 @$(MAKE) stage4-start
33031 @[ -f gcc/Makefile ] && exit 0 || : ; \
33032 r=`${PWD_COMMAND}`; export r; \
33033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33034 $(STAGE_HOST_EXPORTS) \
33035 echo Configuring stage 4 in gcc ; \
33036 cd $(HOST_SUBDIR)/gcc || exit 1; \
33037 case $(srcdir) in \
33038 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33039 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
33040 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33042 srcdiroption="--srcdir=$${topdir}/gcc"; \
33043 libsrcdir="$$s/gcc"; \
33044 $(SHELL) $${libsrcdir}/configure \
33045 $(HOST_CONFIGARGS) $${srcdiroption} \
33046 @stage2_werror_flag@
33048 maybe-all-stage4-gcc: all-stage4-gcc
33049 all-stage4-gcc: configure-stage4-gcc
33050 @$(MAKE) stage4-start
33051 @r=`${PWD_COMMAND}`; export r; \
33052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33053 $(STAGE_HOST_EXPORTS) \
33054 cd $(HOST_SUBDIR)/gcc && \
33055 $(MAKE) $(FLAGS_TO_PASS) \
33056 $(POSTSTAGE1_FLAGS_TO_PASS) \
33059 maybe-clean-stage4-gcc: clean-stage4-gcc
33061 @[ -f gcc/Makefile ] || [ -f stage4-gcc/Makefile ] \
33063 [ -f gcc/Makefile ] || $(MAKE) stage4-start ; \
33064 cd $(HOST_SUBDIR)/gcc && \
33065 $(MAKE) $(FLAGS_TO_PASS) \
33066 $(POSTSTAGE1_FLAGS_TO_PASS) \
33067 $(EXTRA_GCC_FLAGS) clean
33068 @endif gcc-bootstrap
33071 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
33072 .PHONY: all-stage4-intl maybe-all-stage4-intl
33073 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
33075 maybe-configure-stage4-intl:
33076 maybe-all-stage4-intl:
33077 maybe-clean-stage4-intl:
33080 maybe-configure-stage4-intl: configure-stage4-intl
33081 configure-stage4-intl:
33082 @$(MAKE) stage4-start
33083 @[ -f intl/Makefile ] && exit 0 || : ; \
33084 r=`${PWD_COMMAND}`; export r; \
33085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33086 $(STAGE_HOST_EXPORTS) \
33087 echo Configuring stage 4 in intl ; \
33088 cd $(HOST_SUBDIR)/intl || exit 1; \
33089 case $(srcdir) in \
33090 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33091 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
33092 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33094 srcdiroption="--srcdir=$${topdir}/intl"; \
33095 libsrcdir="$$s/intl"; \
33096 $(SHELL) $${libsrcdir}/configure \
33097 $(HOST_CONFIGARGS) $${srcdiroption} \
33098 @stage2_werror_flag@
33100 maybe-all-stage4-intl: all-stage4-intl
33101 all-stage4-intl: configure-stage4-intl
33102 @$(MAKE) stage4-start
33103 @r=`${PWD_COMMAND}`; export r; \
33104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33105 $(STAGE_HOST_EXPORTS) \
33106 cd $(HOST_SUBDIR)/intl && \
33107 $(MAKE) $(FLAGS_TO_PASS) \
33108 $(POSTSTAGE1_FLAGS_TO_PASS) \
33111 maybe-clean-stage4-intl: clean-stage4-intl
33113 @[ -f intl/Makefile ] || [ -f stage4-intl/Makefile ] \
33115 [ -f intl/Makefile ] || $(MAKE) stage4-start ; \
33116 cd $(HOST_SUBDIR)/intl && \
33117 $(MAKE) $(FLAGS_TO_PASS) \
33118 $(POSTSTAGE1_FLAGS_TO_PASS) \
33120 @endif intl-bootstrap
33123 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
33124 .PHONY: all-stage4-ld maybe-all-stage4-ld
33125 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
33127 maybe-configure-stage4-ld:
33128 maybe-all-stage4-ld:
33129 maybe-clean-stage4-ld:
33132 maybe-configure-stage4-ld: configure-stage4-ld
33133 configure-stage4-ld:
33134 @$(MAKE) stage4-start
33135 @[ -f ld/Makefile ] && exit 0 || : ; \
33136 r=`${PWD_COMMAND}`; export r; \
33137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33138 $(STAGE_HOST_EXPORTS) \
33139 echo Configuring stage 4 in ld ; \
33140 cd $(HOST_SUBDIR)/ld || exit 1; \
33141 case $(srcdir) in \
33142 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33143 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
33144 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33146 srcdiroption="--srcdir=$${topdir}/ld"; \
33147 libsrcdir="$$s/ld"; \
33148 $(SHELL) $${libsrcdir}/configure \
33149 $(HOST_CONFIGARGS) $${srcdiroption} \
33150 @stage2_werror_flag@
33152 maybe-all-stage4-ld: all-stage4-ld
33153 all-stage4-ld: configure-stage4-ld
33154 @$(MAKE) stage4-start
33155 @r=`${PWD_COMMAND}`; export r; \
33156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33157 $(STAGE_HOST_EXPORTS) \
33158 cd $(HOST_SUBDIR)/ld && \
33159 $(MAKE) $(FLAGS_TO_PASS) \
33160 $(POSTSTAGE1_FLAGS_TO_PASS) \
33163 maybe-clean-stage4-ld: clean-stage4-ld
33165 @[ -f ld/Makefile ] || [ -f stage4-ld/Makefile ] \
33167 [ -f ld/Makefile ] || $(MAKE) stage4-start ; \
33168 cd $(HOST_SUBDIR)/ld && \
33169 $(MAKE) $(FLAGS_TO_PASS) \
33170 $(POSTSTAGE1_FLAGS_TO_PASS) \
33172 @endif ld-bootstrap
33175 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
33176 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
33177 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
33179 maybe-configure-stage4-libcpp:
33180 maybe-all-stage4-libcpp:
33181 maybe-clean-stage4-libcpp:
33183 @if libcpp-bootstrap
33184 maybe-configure-stage4-libcpp: configure-stage4-libcpp
33185 configure-stage4-libcpp:
33186 @$(MAKE) stage4-start
33187 @[ -f libcpp/Makefile ] && exit 0 || : ; \
33188 r=`${PWD_COMMAND}`; export r; \
33189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33190 $(STAGE_HOST_EXPORTS) \
33191 echo Configuring stage 4 in libcpp ; \
33192 cd $(HOST_SUBDIR)/libcpp || exit 1; \
33193 case $(srcdir) in \
33194 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33195 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
33196 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33198 srcdiroption="--srcdir=$${topdir}/libcpp"; \
33199 libsrcdir="$$s/libcpp"; \
33200 $(SHELL) $${libsrcdir}/configure \
33201 $(HOST_CONFIGARGS) $${srcdiroption} \
33202 @stage2_werror_flag@
33204 maybe-all-stage4-libcpp: all-stage4-libcpp
33205 all-stage4-libcpp: configure-stage4-libcpp
33206 @$(MAKE) stage4-start
33207 @r=`${PWD_COMMAND}`; export r; \
33208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33209 $(STAGE_HOST_EXPORTS) \
33210 cd $(HOST_SUBDIR)/libcpp && \
33211 $(MAKE) $(FLAGS_TO_PASS) \
33212 $(POSTSTAGE1_FLAGS_TO_PASS) \
33215 maybe-clean-stage4-libcpp: clean-stage4-libcpp
33216 clean-stage4-libcpp:
33217 @[ -f libcpp/Makefile ] || [ -f stage4-libcpp/Makefile ] \
33219 [ -f libcpp/Makefile ] || $(MAKE) stage4-start ; \
33220 cd $(HOST_SUBDIR)/libcpp && \
33221 $(MAKE) $(FLAGS_TO_PASS) \
33222 $(POSTSTAGE1_FLAGS_TO_PASS) \
33224 @endif libcpp-bootstrap
33227 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
33228 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
33229 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
33231 maybe-configure-stage4-libiberty:
33232 maybe-all-stage4-libiberty:
33233 maybe-clean-stage4-libiberty:
33235 @if libiberty-bootstrap
33236 maybe-configure-stage4-libiberty: configure-stage4-libiberty
33237 configure-stage4-libiberty:
33238 @$(MAKE) stage4-start
33239 @[ -f libiberty/Makefile ] && exit 0 || : ; \
33240 r=`${PWD_COMMAND}`; export r; \
33241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33242 $(STAGE_HOST_EXPORTS) \
33243 echo Configuring stage 4 in libiberty ; \
33244 cd $(HOST_SUBDIR)/libiberty || exit 1; \
33245 case $(srcdir) in \
33246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33247 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
33248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33250 srcdiroption="--srcdir=$${topdir}/libiberty"; \
33251 libsrcdir="$$s/libiberty"; \
33252 $(SHELL) $${libsrcdir}/configure \
33253 $(HOST_CONFIGARGS) $${srcdiroption} \
33254 @stage2_werror_flag@
33256 maybe-all-stage4-libiberty: all-stage4-libiberty
33257 all-stage4-libiberty: configure-stage4-libiberty
33258 @$(MAKE) stage4-start
33259 @r=`${PWD_COMMAND}`; export r; \
33260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33261 $(STAGE_HOST_EXPORTS) \
33262 cd $(HOST_SUBDIR)/libiberty && \
33263 $(MAKE) $(FLAGS_TO_PASS) \
33264 $(POSTSTAGE1_FLAGS_TO_PASS) \
33267 maybe-clean-stage4-libiberty: clean-stage4-libiberty
33268 clean-stage4-libiberty:
33269 @[ -f libiberty/Makefile ] || [ -f stage4-libiberty/Makefile ] \
33271 [ -f libiberty/Makefile ] || $(MAKE) stage4-start ; \
33272 cd $(HOST_SUBDIR)/libiberty && \
33273 $(MAKE) $(FLAGS_TO_PASS) \
33274 $(POSTSTAGE1_FLAGS_TO_PASS) \
33276 @endif libiberty-bootstrap
33279 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
33280 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
33281 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
33283 maybe-configure-stage4-zlib:
33284 maybe-all-stage4-zlib:
33285 maybe-clean-stage4-zlib:
33288 maybe-configure-stage4-zlib: configure-stage4-zlib
33289 configure-stage4-zlib:
33290 @$(MAKE) stage4-start
33291 @[ -f zlib/Makefile ] && exit 0 || : ; \
33292 r=`${PWD_COMMAND}`; export r; \
33293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33294 $(STAGE_HOST_EXPORTS) \
33295 echo Configuring stage 4 in zlib ; \
33296 cd $(HOST_SUBDIR)/zlib || exit 1; \
33297 case $(srcdir) in \
33298 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33299 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
33300 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33302 srcdiroption="--srcdir=$${topdir}/zlib"; \
33303 libsrcdir="$$s/zlib"; \
33304 $(SHELL) $${libsrcdir}/configure \
33305 $(HOST_CONFIGARGS) $${srcdiroption} \
33306 @stage2_werror_flag@
33308 maybe-all-stage4-zlib: all-stage4-zlib
33309 all-stage4-zlib: configure-stage4-zlib
33310 @$(MAKE) stage4-start
33311 @r=`${PWD_COMMAND}`; export r; \
33312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33313 $(STAGE_HOST_EXPORTS) \
33314 cd $(HOST_SUBDIR)/zlib && \
33315 $(MAKE) $(FLAGS_TO_PASS) \
33316 $(POSTSTAGE1_FLAGS_TO_PASS) \
33319 maybe-clean-stage4-zlib: clean-stage4-zlib
33321 @[ -f zlib/Makefile ] || [ -f stage4-zlib/Makefile ] \
33323 [ -f zlib/Makefile ] || $(MAKE) stage4-start ; \
33324 cd $(HOST_SUBDIR)/zlib && \
33325 $(MAKE) $(FLAGS_TO_PASS) \
33326 $(POSTSTAGE1_FLAGS_TO_PASS) \
33328 @endif zlib-bootstrap
33332 # FIXME: Will not need to be conditional when toplevel bootstrap is the
33333 # only possibility, but now it conflicts with no-bootstrap rules
33337 @if test -f stage3-lean; then \
33338 echo Cannot compare object files as stage 3 was deleted. ; \
33341 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33342 @r=`${PWD_COMMAND}`; export r; \
33343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33344 rm -f .bad_compare ; \
33346 files=`find . -name "*$(objext)" -print` ; \
33348 for file in $${files} ; do \
33349 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
33350 @do_compare@ > /dev/null 2>&1; \
33351 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
33353 if [ -f .bad_compare ]; then \
33354 echo "Bootstrap comparison failure!"; \
33355 cat .bad_compare; \
33361 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
33366 bootstrap4: stage4-bubble compare3 all
33369 # Rules to wipe a stage and all the following ones, also used for cleanstrap
33370 distclean-stage3:: distclean-stage4
33371 .PHONY: distclean-stage4
33373 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
33374 rm -rf stage4-* compare3
33377 @endif gcc-bootstrap
33380 .PHONY: stageprofile-start stageprofile-end
33382 stageprofile-start::
33383 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33384 echo stageprofile > stage_current ; \
33385 echo stageprofile > stage_last; \
33386 $(mkinstalldirs) $(HOST_SUBDIR)
33388 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
33389 mkdir stageprofile-bfd; \
33390 set stageprofile-bfd bfd ; \
33391 @CREATE_LINK_TO_DIR@ ; \
33392 set stage1-bfd prev-bfd ; \
33393 @CREATE_LINK_TO_DIR@
33396 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
33397 mkdir stageprofile-opcodes; \
33398 set stageprofile-opcodes opcodes ; \
33399 @CREATE_LINK_TO_DIR@ ; \
33400 set stage1-opcodes prev-opcodes ; \
33401 @CREATE_LINK_TO_DIR@
33404 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
33405 mkdir stageprofile-binutils; \
33406 set stageprofile-binutils binutils ; \
33407 @CREATE_LINK_TO_DIR@ ; \
33408 set stage1-binutils prev-binutils ; \
33409 @CREATE_LINK_TO_DIR@
33412 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
33413 mkdir stageprofile-gas; \
33414 set stageprofile-gas gas ; \
33415 @CREATE_LINK_TO_DIR@ ; \
33416 set stage1-gas prev-gas ; \
33417 @CREATE_LINK_TO_DIR@
33420 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
33421 mkdir stageprofile-gcc; \
33422 set stageprofile-gcc gcc ; \
33423 @CREATE_LINK_TO_DIR@ ; \
33424 set stage1-gcc prev-gcc ; \
33425 @CREATE_LINK_TO_DIR@
33428 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
33429 mkdir stageprofile-intl; \
33430 set stageprofile-intl intl ; \
33431 @CREATE_LINK_TO_DIR@ ; \
33432 set stage1-intl prev-intl ; \
33433 @CREATE_LINK_TO_DIR@
33436 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
33437 mkdir stageprofile-ld; \
33438 set stageprofile-ld ld ; \
33439 @CREATE_LINK_TO_DIR@ ; \
33440 set stage1-ld prev-ld ; \
33441 @CREATE_LINK_TO_DIR@
33444 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
33445 mkdir stageprofile-libcpp; \
33446 set stageprofile-libcpp libcpp ; \
33447 @CREATE_LINK_TO_DIR@ ; \
33448 set stage1-libcpp prev-libcpp ; \
33449 @CREATE_LINK_TO_DIR@
33452 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
33453 mkdir stageprofile-libiberty; \
33454 set stageprofile-libiberty libiberty ; \
33455 @CREATE_LINK_TO_DIR@ ; \
33456 set stage1-libiberty prev-libiberty ; \
33457 @CREATE_LINK_TO_DIR@
33460 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
33461 mkdir stageprofile-zlib; \
33462 set stageprofile-zlib zlib ; \
33463 @CREATE_LINK_TO_DIR@ ; \
33464 set stage1-zlib prev-zlib ; \
33465 @CREATE_LINK_TO_DIR@
33469 @rm -f stage_current
33471 @cd $(HOST_SUBDIR); set bfd stageprofile-bfd ; \
33472 @UNDO_LINK_TO_DIR@ ; \
33473 set prev-bfd stage1-bfd ; \
33477 @cd $(HOST_SUBDIR); set opcodes stageprofile-opcodes ; \
33478 @UNDO_LINK_TO_DIR@ ; \
33479 set prev-opcodes stage1-opcodes ; \
33483 @cd $(HOST_SUBDIR); set binutils stageprofile-binutils ; \
33484 @UNDO_LINK_TO_DIR@ ; \
33485 set prev-binutils stage1-binutils ; \
33489 @cd $(HOST_SUBDIR); set gas stageprofile-gas ; \
33490 @UNDO_LINK_TO_DIR@ ; \
33491 set prev-gas stage1-gas ; \
33495 @cd $(HOST_SUBDIR); set gcc stageprofile-gcc ; \
33496 @UNDO_LINK_TO_DIR@ ; \
33497 set prev-gcc stage1-gcc ; \
33501 @cd $(HOST_SUBDIR); set intl stageprofile-intl ; \
33502 @UNDO_LINK_TO_DIR@ ; \
33503 set prev-intl stage1-intl ; \
33507 @cd $(HOST_SUBDIR); set ld stageprofile-ld ; \
33508 @UNDO_LINK_TO_DIR@ ; \
33509 set prev-ld stage1-ld ; \
33513 @cd $(HOST_SUBDIR); set libcpp stageprofile-libcpp ; \
33514 @UNDO_LINK_TO_DIR@ ; \
33515 set prev-libcpp stage1-libcpp ; \
33519 @cd $(HOST_SUBDIR); set libiberty stageprofile-libiberty ; \
33520 @UNDO_LINK_TO_DIR@ ; \
33521 set prev-libiberty stage1-libiberty ; \
33525 @cd $(HOST_SUBDIR); set zlib stageprofile-zlib ; \
33526 @UNDO_LINK_TO_DIR@ ; \
33527 set prev-zlib stage1-zlib ; \
33531 # Bubble a bugfix through all the stages up to stage profile. They
33532 # are remade, but not reconfigured. The next stage (if any) will not
33533 # be reconfigured as well.
33534 .PHONY: stageprofile-bubble
33535 stageprofile-bubble:: stage1-bubble
33536 @if test -f stageprofile-lean || test -f stage1-lean ; then \
33537 echo Skipping rebuild of stageprofile ; \
33539 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stageprofile; \
33542 .PHONY: all-stageprofile clean-stageprofile
33543 all-stageprofile: \
33544 maybe-all-stageprofile-bfd \
33545 maybe-all-stageprofile-opcodes \
33546 maybe-all-stageprofile-binutils \
33547 maybe-all-stageprofile-gas \
33548 maybe-all-stageprofile-gcc \
33549 maybe-all-stageprofile-intl \
33550 maybe-all-stageprofile-ld \
33551 maybe-all-stageprofile-libcpp \
33552 maybe-all-stageprofile-libiberty \
33553 maybe-all-stageprofile-zlib
33555 do-clean: clean-stageprofile
33556 clean-stageprofile: \
33557 maybe-clean-stageprofile-bfd \
33558 maybe-clean-stageprofile-opcodes \
33559 maybe-clean-stageprofile-binutils \
33560 maybe-clean-stageprofile-gas \
33561 maybe-clean-stageprofile-gcc \
33562 maybe-clean-stageprofile-intl \
33563 maybe-clean-stageprofile-ld \
33564 maybe-clean-stageprofile-libcpp \
33565 maybe-clean-stageprofile-libiberty \
33566 maybe-clean-stageprofile-zlib
33569 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
33570 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
33571 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
33573 maybe-configure-stageprofile-bfd:
33574 maybe-all-stageprofile-bfd:
33575 maybe-clean-stageprofile-bfd:
33578 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
33579 configure-stageprofile-bfd:
33580 @$(MAKE) stageprofile-start
33581 @[ -f bfd/Makefile ] && exit 0 || : ; \
33582 r=`${PWD_COMMAND}`; export r; \
33583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33584 $(STAGE_HOST_EXPORTS) \
33585 echo Configuring stage profile in bfd ; \
33586 cd $(HOST_SUBDIR)/bfd || exit 1; \
33587 case $(srcdir) in \
33588 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33589 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
33590 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33592 srcdiroption="--srcdir=$${topdir}/bfd"; \
33593 libsrcdir="$$s/bfd"; \
33594 $(SHELL) $${libsrcdir}/configure \
33595 $(HOST_CONFIGARGS) $${srcdiroption} \
33596 @stage2_werror_flag@
33598 maybe-all-stageprofile-bfd: all-stageprofile-bfd
33599 all-stageprofile-bfd: configure-stageprofile-bfd
33600 @$(MAKE) stageprofile-start
33601 @r=`${PWD_COMMAND}`; export r; \
33602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33603 $(STAGE_HOST_EXPORTS) \
33604 cd $(HOST_SUBDIR)/bfd && \
33605 $(MAKE) $(FLAGS_TO_PASS) \
33606 $(POSTSTAGE1_FLAGS_TO_PASS) \
33607 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33609 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
33610 clean-stageprofile-bfd:
33611 @[ -f bfd/Makefile ] || [ -f stageprofile-bfd/Makefile ] \
33613 [ -f bfd/Makefile ] || $(MAKE) stageprofile-start ; \
33614 cd $(HOST_SUBDIR)/bfd && \
33615 $(MAKE) $(FLAGS_TO_PASS) \
33616 $(POSTSTAGE1_FLAGS_TO_PASS) \
33617 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33618 @endif bfd-bootstrap
33621 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
33622 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
33623 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
33625 maybe-configure-stageprofile-opcodes:
33626 maybe-all-stageprofile-opcodes:
33627 maybe-clean-stageprofile-opcodes:
33629 @if opcodes-bootstrap
33630 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
33631 configure-stageprofile-opcodes:
33632 @$(MAKE) stageprofile-start
33633 @[ -f opcodes/Makefile ] && exit 0 || : ; \
33634 r=`${PWD_COMMAND}`; export r; \
33635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33636 $(STAGE_HOST_EXPORTS) \
33637 echo Configuring stage profile in opcodes ; \
33638 cd $(HOST_SUBDIR)/opcodes || exit 1; \
33639 case $(srcdir) in \
33640 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33641 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
33642 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33644 srcdiroption="--srcdir=$${topdir}/opcodes"; \
33645 libsrcdir="$$s/opcodes"; \
33646 $(SHELL) $${libsrcdir}/configure \
33647 $(HOST_CONFIGARGS) $${srcdiroption} \
33648 @stage2_werror_flag@
33650 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
33651 all-stageprofile-opcodes: configure-stageprofile-opcodes
33652 @$(MAKE) stageprofile-start
33653 @r=`${PWD_COMMAND}`; export r; \
33654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33655 $(STAGE_HOST_EXPORTS) \
33656 cd $(HOST_SUBDIR)/opcodes && \
33657 $(MAKE) $(FLAGS_TO_PASS) \
33658 $(POSTSTAGE1_FLAGS_TO_PASS) \
33659 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33661 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
33662 clean-stageprofile-opcodes:
33663 @[ -f opcodes/Makefile ] || [ -f stageprofile-opcodes/Makefile ] \
33665 [ -f opcodes/Makefile ] || $(MAKE) stageprofile-start ; \
33666 cd $(HOST_SUBDIR)/opcodes && \
33667 $(MAKE) $(FLAGS_TO_PASS) \
33668 $(POSTSTAGE1_FLAGS_TO_PASS) \
33669 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33670 @endif opcodes-bootstrap
33673 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
33674 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
33675 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
33677 maybe-configure-stageprofile-binutils:
33678 maybe-all-stageprofile-binutils:
33679 maybe-clean-stageprofile-binutils:
33681 @if binutils-bootstrap
33682 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
33683 configure-stageprofile-binutils:
33684 @$(MAKE) stageprofile-start
33685 @[ -f binutils/Makefile ] && exit 0 || : ; \
33686 r=`${PWD_COMMAND}`; export r; \
33687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33688 $(STAGE_HOST_EXPORTS) \
33689 echo Configuring stage profile in binutils ; \
33690 cd $(HOST_SUBDIR)/binutils || exit 1; \
33691 case $(srcdir) in \
33692 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33693 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
33694 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33696 srcdiroption="--srcdir=$${topdir}/binutils"; \
33697 libsrcdir="$$s/binutils"; \
33698 $(SHELL) $${libsrcdir}/configure \
33699 $(HOST_CONFIGARGS) $${srcdiroption} \
33700 @stage2_werror_flag@
33702 maybe-all-stageprofile-binutils: all-stageprofile-binutils
33703 all-stageprofile-binutils: configure-stageprofile-binutils
33704 @$(MAKE) stageprofile-start
33705 @r=`${PWD_COMMAND}`; export r; \
33706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33707 $(STAGE_HOST_EXPORTS) \
33708 cd $(HOST_SUBDIR)/binutils && \
33709 $(MAKE) $(FLAGS_TO_PASS) \
33710 $(POSTSTAGE1_FLAGS_TO_PASS) \
33711 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33713 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
33714 clean-stageprofile-binutils:
33715 @[ -f binutils/Makefile ] || [ -f stageprofile-binutils/Makefile ] \
33717 [ -f binutils/Makefile ] || $(MAKE) stageprofile-start ; \
33718 cd $(HOST_SUBDIR)/binutils && \
33719 $(MAKE) $(FLAGS_TO_PASS) \
33720 $(POSTSTAGE1_FLAGS_TO_PASS) \
33721 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33722 @endif binutils-bootstrap
33725 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
33726 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
33727 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
33729 maybe-configure-stageprofile-gas:
33730 maybe-all-stageprofile-gas:
33731 maybe-clean-stageprofile-gas:
33734 maybe-configure-stageprofile-gas: configure-stageprofile-gas
33735 configure-stageprofile-gas:
33736 @$(MAKE) stageprofile-start
33737 @[ -f gas/Makefile ] && exit 0 || : ; \
33738 r=`${PWD_COMMAND}`; export r; \
33739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33740 $(STAGE_HOST_EXPORTS) \
33741 echo Configuring stage profile in gas ; \
33742 cd $(HOST_SUBDIR)/gas || exit 1; \
33743 case $(srcdir) in \
33744 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33745 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
33746 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33748 srcdiroption="--srcdir=$${topdir}/gas"; \
33749 libsrcdir="$$s/gas"; \
33750 $(SHELL) $${libsrcdir}/configure \
33751 $(HOST_CONFIGARGS) $${srcdiroption} \
33752 @stage2_werror_flag@
33754 maybe-all-stageprofile-gas: all-stageprofile-gas
33755 all-stageprofile-gas: configure-stageprofile-gas
33756 @$(MAKE) stageprofile-start
33757 @r=`${PWD_COMMAND}`; export r; \
33758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33759 $(STAGE_HOST_EXPORTS) \
33760 cd $(HOST_SUBDIR)/gas && \
33761 $(MAKE) $(FLAGS_TO_PASS) \
33762 $(POSTSTAGE1_FLAGS_TO_PASS) \
33763 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33765 maybe-clean-stageprofile-gas: clean-stageprofile-gas
33766 clean-stageprofile-gas:
33767 @[ -f gas/Makefile ] || [ -f stageprofile-gas/Makefile ] \
33769 [ -f gas/Makefile ] || $(MAKE) stageprofile-start ; \
33770 cd $(HOST_SUBDIR)/gas && \
33771 $(MAKE) $(FLAGS_TO_PASS) \
33772 $(POSTSTAGE1_FLAGS_TO_PASS) \
33773 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33774 @endif gas-bootstrap
33777 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
33778 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
33779 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
33781 maybe-configure-stageprofile-gcc:
33782 maybe-all-stageprofile-gcc:
33783 maybe-clean-stageprofile-gcc:
33786 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
33787 configure-stageprofile-gcc:
33788 @$(MAKE) stageprofile-start
33789 @[ -f gcc/Makefile ] && exit 0 || : ; \
33790 r=`${PWD_COMMAND}`; export r; \
33791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33792 $(STAGE_HOST_EXPORTS) \
33793 echo Configuring stage profile in gcc ; \
33794 cd $(HOST_SUBDIR)/gcc || exit 1; \
33795 case $(srcdir) in \
33796 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33797 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
33798 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33800 srcdiroption="--srcdir=$${topdir}/gcc"; \
33801 libsrcdir="$$s/gcc"; \
33802 $(SHELL) $${libsrcdir}/configure \
33803 $(HOST_CONFIGARGS) $${srcdiroption} \
33804 @stage2_werror_flag@
33806 maybe-all-stageprofile-gcc: all-stageprofile-gcc
33807 all-stageprofile-gcc: configure-stageprofile-gcc
33808 @$(MAKE) stageprofile-start
33809 @r=`${PWD_COMMAND}`; export r; \
33810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33811 $(STAGE_HOST_EXPORTS) \
33812 cd $(HOST_SUBDIR)/gcc && \
33813 $(MAKE) $(FLAGS_TO_PASS) \
33814 $(POSTSTAGE1_FLAGS_TO_PASS) \
33815 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS)
33817 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
33818 clean-stageprofile-gcc:
33819 @[ -f gcc/Makefile ] || [ -f stageprofile-gcc/Makefile ] \
33821 [ -f gcc/Makefile ] || $(MAKE) stageprofile-start ; \
33822 cd $(HOST_SUBDIR)/gcc && \
33823 $(MAKE) $(FLAGS_TO_PASS) \
33824 $(POSTSTAGE1_FLAGS_TO_PASS) \
33825 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
33826 @endif gcc-bootstrap
33829 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
33830 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
33831 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
33833 maybe-configure-stageprofile-intl:
33834 maybe-all-stageprofile-intl:
33835 maybe-clean-stageprofile-intl:
33838 maybe-configure-stageprofile-intl: configure-stageprofile-intl
33839 configure-stageprofile-intl:
33840 @$(MAKE) stageprofile-start
33841 @[ -f intl/Makefile ] && exit 0 || : ; \
33842 r=`${PWD_COMMAND}`; export r; \
33843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33844 $(STAGE_HOST_EXPORTS) \
33845 echo Configuring stage profile in intl ; \
33846 cd $(HOST_SUBDIR)/intl || exit 1; \
33847 case $(srcdir) in \
33848 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33849 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
33850 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33852 srcdiroption="--srcdir=$${topdir}/intl"; \
33853 libsrcdir="$$s/intl"; \
33854 $(SHELL) $${libsrcdir}/configure \
33855 $(HOST_CONFIGARGS) $${srcdiroption} \
33856 @stage2_werror_flag@
33858 maybe-all-stageprofile-intl: all-stageprofile-intl
33859 all-stageprofile-intl: configure-stageprofile-intl
33860 @$(MAKE) stageprofile-start
33861 @r=`${PWD_COMMAND}`; export r; \
33862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33863 $(STAGE_HOST_EXPORTS) \
33864 cd $(HOST_SUBDIR)/intl && \
33865 $(MAKE) $(FLAGS_TO_PASS) \
33866 $(POSTSTAGE1_FLAGS_TO_PASS) \
33867 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33869 maybe-clean-stageprofile-intl: clean-stageprofile-intl
33870 clean-stageprofile-intl:
33871 @[ -f intl/Makefile ] || [ -f stageprofile-intl/Makefile ] \
33873 [ -f intl/Makefile ] || $(MAKE) stageprofile-start ; \
33874 cd $(HOST_SUBDIR)/intl && \
33875 $(MAKE) $(FLAGS_TO_PASS) \
33876 $(POSTSTAGE1_FLAGS_TO_PASS) \
33877 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33878 @endif intl-bootstrap
33881 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
33882 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
33883 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
33885 maybe-configure-stageprofile-ld:
33886 maybe-all-stageprofile-ld:
33887 maybe-clean-stageprofile-ld:
33890 maybe-configure-stageprofile-ld: configure-stageprofile-ld
33891 configure-stageprofile-ld:
33892 @$(MAKE) stageprofile-start
33893 @[ -f ld/Makefile ] && exit 0 || : ; \
33894 r=`${PWD_COMMAND}`; export r; \
33895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33896 $(STAGE_HOST_EXPORTS) \
33897 echo Configuring stage profile in ld ; \
33898 cd $(HOST_SUBDIR)/ld || exit 1; \
33899 case $(srcdir) in \
33900 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33901 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
33902 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33904 srcdiroption="--srcdir=$${topdir}/ld"; \
33905 libsrcdir="$$s/ld"; \
33906 $(SHELL) $${libsrcdir}/configure \
33907 $(HOST_CONFIGARGS) $${srcdiroption} \
33908 @stage2_werror_flag@
33910 maybe-all-stageprofile-ld: all-stageprofile-ld
33911 all-stageprofile-ld: configure-stageprofile-ld
33912 @$(MAKE) stageprofile-start
33913 @r=`${PWD_COMMAND}`; export r; \
33914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33915 $(STAGE_HOST_EXPORTS) \
33916 cd $(HOST_SUBDIR)/ld && \
33917 $(MAKE) $(FLAGS_TO_PASS) \
33918 $(POSTSTAGE1_FLAGS_TO_PASS) \
33919 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33921 maybe-clean-stageprofile-ld: clean-stageprofile-ld
33922 clean-stageprofile-ld:
33923 @[ -f ld/Makefile ] || [ -f stageprofile-ld/Makefile ] \
33925 [ -f ld/Makefile ] || $(MAKE) stageprofile-start ; \
33926 cd $(HOST_SUBDIR)/ld && \
33927 $(MAKE) $(FLAGS_TO_PASS) \
33928 $(POSTSTAGE1_FLAGS_TO_PASS) \
33929 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33930 @endif ld-bootstrap
33933 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
33934 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
33935 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
33937 maybe-configure-stageprofile-libcpp:
33938 maybe-all-stageprofile-libcpp:
33939 maybe-clean-stageprofile-libcpp:
33941 @if libcpp-bootstrap
33942 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
33943 configure-stageprofile-libcpp:
33944 @$(MAKE) stageprofile-start
33945 @[ -f libcpp/Makefile ] && exit 0 || : ; \
33946 r=`${PWD_COMMAND}`; export r; \
33947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33948 $(STAGE_HOST_EXPORTS) \
33949 echo Configuring stage profile in libcpp ; \
33950 cd $(HOST_SUBDIR)/libcpp || exit 1; \
33951 case $(srcdir) in \
33952 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33953 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
33954 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33956 srcdiroption="--srcdir=$${topdir}/libcpp"; \
33957 libsrcdir="$$s/libcpp"; \
33958 $(SHELL) $${libsrcdir}/configure \
33959 $(HOST_CONFIGARGS) $${srcdiroption} \
33960 @stage2_werror_flag@
33962 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
33963 all-stageprofile-libcpp: configure-stageprofile-libcpp
33964 @$(MAKE) stageprofile-start
33965 @r=`${PWD_COMMAND}`; export r; \
33966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33967 $(STAGE_HOST_EXPORTS) \
33968 cd $(HOST_SUBDIR)/libcpp && \
33969 $(MAKE) $(FLAGS_TO_PASS) \
33970 $(POSTSTAGE1_FLAGS_TO_PASS) \
33971 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33973 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
33974 clean-stageprofile-libcpp:
33975 @[ -f libcpp/Makefile ] || [ -f stageprofile-libcpp/Makefile ] \
33977 [ -f libcpp/Makefile ] || $(MAKE) stageprofile-start ; \
33978 cd $(HOST_SUBDIR)/libcpp && \
33979 $(MAKE) $(FLAGS_TO_PASS) \
33980 $(POSTSTAGE1_FLAGS_TO_PASS) \
33981 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33982 @endif libcpp-bootstrap
33985 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
33986 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
33987 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
33989 maybe-configure-stageprofile-libiberty:
33990 maybe-all-stageprofile-libiberty:
33991 maybe-clean-stageprofile-libiberty:
33993 @if libiberty-bootstrap
33994 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
33995 configure-stageprofile-libiberty:
33996 @$(MAKE) stageprofile-start
33997 @[ -f libiberty/Makefile ] && exit 0 || : ; \
33998 r=`${PWD_COMMAND}`; export r; \
33999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34000 $(STAGE_HOST_EXPORTS) \
34001 echo Configuring stage profile in libiberty ; \
34002 cd $(HOST_SUBDIR)/libiberty || exit 1; \
34003 case $(srcdir) in \
34004 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34005 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
34006 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34008 srcdiroption="--srcdir=$${topdir}/libiberty"; \
34009 libsrcdir="$$s/libiberty"; \
34010 $(SHELL) $${libsrcdir}/configure \
34011 $(HOST_CONFIGARGS) $${srcdiroption} \
34012 @stage2_werror_flag@
34014 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
34015 all-stageprofile-libiberty: configure-stageprofile-libiberty
34016 @$(MAKE) stageprofile-start
34017 @r=`${PWD_COMMAND}`; export r; \
34018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34019 $(STAGE_HOST_EXPORTS) \
34020 cd $(HOST_SUBDIR)/libiberty && \
34021 $(MAKE) $(FLAGS_TO_PASS) \
34022 $(POSTSTAGE1_FLAGS_TO_PASS) \
34023 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34025 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
34026 clean-stageprofile-libiberty:
34027 @[ -f libiberty/Makefile ] || [ -f stageprofile-libiberty/Makefile ] \
34029 [ -f libiberty/Makefile ] || $(MAKE) stageprofile-start ; \
34030 cd $(HOST_SUBDIR)/libiberty && \
34031 $(MAKE) $(FLAGS_TO_PASS) \
34032 $(POSTSTAGE1_FLAGS_TO_PASS) \
34033 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34034 @endif libiberty-bootstrap
34037 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
34038 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
34039 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
34041 maybe-configure-stageprofile-zlib:
34042 maybe-all-stageprofile-zlib:
34043 maybe-clean-stageprofile-zlib:
34046 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
34047 configure-stageprofile-zlib:
34048 @$(MAKE) stageprofile-start
34049 @[ -f zlib/Makefile ] && exit 0 || : ; \
34050 r=`${PWD_COMMAND}`; export r; \
34051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34052 $(STAGE_HOST_EXPORTS) \
34053 echo Configuring stage profile in zlib ; \
34054 cd $(HOST_SUBDIR)/zlib || exit 1; \
34055 case $(srcdir) in \
34056 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34057 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
34058 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34060 srcdiroption="--srcdir=$${topdir}/zlib"; \
34061 libsrcdir="$$s/zlib"; \
34062 $(SHELL) $${libsrcdir}/configure \
34063 $(HOST_CONFIGARGS) $${srcdiroption} \
34064 @stage2_werror_flag@
34066 maybe-all-stageprofile-zlib: all-stageprofile-zlib
34067 all-stageprofile-zlib: configure-stageprofile-zlib
34068 @$(MAKE) stageprofile-start
34069 @r=`${PWD_COMMAND}`; export r; \
34070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34071 $(STAGE_HOST_EXPORTS) \
34072 cd $(HOST_SUBDIR)/zlib && \
34073 $(MAKE) $(FLAGS_TO_PASS) \
34074 $(POSTSTAGE1_FLAGS_TO_PASS) \
34075 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34077 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
34078 clean-stageprofile-zlib:
34079 @[ -f zlib/Makefile ] || [ -f stageprofile-zlib/Makefile ] \
34081 [ -f zlib/Makefile ] || $(MAKE) stageprofile-start ; \
34082 cd $(HOST_SUBDIR)/zlib && \
34083 $(MAKE) $(FLAGS_TO_PASS) \
34084 $(POSTSTAGE1_FLAGS_TO_PASS) \
34085 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34086 @endif zlib-bootstrap
34090 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34091 # only possibility, but now it conflicts with no-bootstrap rules
34097 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34098 distclean-stage1:: distclean-stageprofile
34099 .PHONY: distclean-stageprofile
34100 distclean-stageprofile::
34101 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34102 rm -rf stageprofile-*
34105 @endif gcc-bootstrap
34108 .PHONY: stagefeedback-start stagefeedback-end
34110 stagefeedback-start::
34111 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34112 echo stagefeedback > stage_current ; \
34113 echo stagefeedback > stage_last; \
34114 $(mkinstalldirs) $(HOST_SUBDIR)
34116 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
34117 mkdir stagefeedback-bfd; \
34118 set stagefeedback-bfd bfd ; \
34119 @CREATE_LINK_TO_DIR@ ; \
34120 set stage1-bfd prev-bfd ; \
34121 @CREATE_LINK_TO_DIR@
34124 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
34125 mkdir stagefeedback-opcodes; \
34126 set stagefeedback-opcodes opcodes ; \
34127 @CREATE_LINK_TO_DIR@ ; \
34128 set stage1-opcodes prev-opcodes ; \
34129 @CREATE_LINK_TO_DIR@
34132 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
34133 mkdir stagefeedback-binutils; \
34134 set stagefeedback-binutils binutils ; \
34135 @CREATE_LINK_TO_DIR@ ; \
34136 set stage1-binutils prev-binutils ; \
34137 @CREATE_LINK_TO_DIR@
34140 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
34141 mkdir stagefeedback-gas; \
34142 set stagefeedback-gas gas ; \
34143 @CREATE_LINK_TO_DIR@ ; \
34144 set stage1-gas prev-gas ; \
34145 @CREATE_LINK_TO_DIR@
34148 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
34149 mkdir stagefeedback-gcc; \
34150 set stagefeedback-gcc gcc ; \
34151 @CREATE_LINK_TO_DIR@ ; \
34152 set stage1-gcc prev-gcc ; \
34153 @CREATE_LINK_TO_DIR@
34156 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
34157 mkdir stagefeedback-intl; \
34158 set stagefeedback-intl intl ; \
34159 @CREATE_LINK_TO_DIR@ ; \
34160 set stage1-intl prev-intl ; \
34161 @CREATE_LINK_TO_DIR@
34164 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
34165 mkdir stagefeedback-ld; \
34166 set stagefeedback-ld ld ; \
34167 @CREATE_LINK_TO_DIR@ ; \
34168 set stage1-ld prev-ld ; \
34169 @CREATE_LINK_TO_DIR@
34172 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
34173 mkdir stagefeedback-libcpp; \
34174 set stagefeedback-libcpp libcpp ; \
34175 @CREATE_LINK_TO_DIR@ ; \
34176 set stage1-libcpp prev-libcpp ; \
34177 @CREATE_LINK_TO_DIR@
34180 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
34181 mkdir stagefeedback-libiberty; \
34182 set stagefeedback-libiberty libiberty ; \
34183 @CREATE_LINK_TO_DIR@ ; \
34184 set stage1-libiberty prev-libiberty ; \
34185 @CREATE_LINK_TO_DIR@
34188 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
34189 mkdir stagefeedback-zlib; \
34190 set stagefeedback-zlib zlib ; \
34191 @CREATE_LINK_TO_DIR@ ; \
34192 set stage1-zlib prev-zlib ; \
34193 @CREATE_LINK_TO_DIR@
34196 stagefeedback-end::
34197 @rm -f stage_current
34199 @cd $(HOST_SUBDIR); set bfd stagefeedback-bfd ; \
34200 @UNDO_LINK_TO_DIR@ ; \
34201 set prev-bfd stage1-bfd ; \
34205 @cd $(HOST_SUBDIR); set opcodes stagefeedback-opcodes ; \
34206 @UNDO_LINK_TO_DIR@ ; \
34207 set prev-opcodes stage1-opcodes ; \
34211 @cd $(HOST_SUBDIR); set binutils stagefeedback-binutils ; \
34212 @UNDO_LINK_TO_DIR@ ; \
34213 set prev-binutils stage1-binutils ; \
34217 @cd $(HOST_SUBDIR); set gas stagefeedback-gas ; \
34218 @UNDO_LINK_TO_DIR@ ; \
34219 set prev-gas stage1-gas ; \
34223 @cd $(HOST_SUBDIR); set gcc stagefeedback-gcc ; \
34224 @UNDO_LINK_TO_DIR@ ; \
34225 set prev-gcc stage1-gcc ; \
34229 @cd $(HOST_SUBDIR); set intl stagefeedback-intl ; \
34230 @UNDO_LINK_TO_DIR@ ; \
34231 set prev-intl stage1-intl ; \
34235 @cd $(HOST_SUBDIR); set ld stagefeedback-ld ; \
34236 @UNDO_LINK_TO_DIR@ ; \
34237 set prev-ld stage1-ld ; \
34241 @cd $(HOST_SUBDIR); set libcpp stagefeedback-libcpp ; \
34242 @UNDO_LINK_TO_DIR@ ; \
34243 set prev-libcpp stage1-libcpp ; \
34247 @cd $(HOST_SUBDIR); set libiberty stagefeedback-libiberty ; \
34248 @UNDO_LINK_TO_DIR@ ; \
34249 set prev-libiberty stage1-libiberty ; \
34253 @cd $(HOST_SUBDIR); set zlib stagefeedback-zlib ; \
34254 @UNDO_LINK_TO_DIR@ ; \
34255 set prev-zlib stage1-zlib ; \
34259 # Bubble a bugfix through all the stages up to stage feedback. They
34260 # are remade, but not reconfigured. The next stage (if any) will not
34261 # be reconfigured as well.
34262 .PHONY: stagefeedback-bubble
34263 stagefeedback-bubble:: stage1-bubble
34264 @if test -f stagefeedback-lean || test -f stage1-lean ; then \
34265 echo Skipping rebuild of stagefeedback ; \
34267 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stagefeedback; \
34270 .PHONY: all-stagefeedback clean-stagefeedback
34271 all-stagefeedback: \
34272 maybe-all-stagefeedback-bfd \
34273 maybe-all-stagefeedback-opcodes \
34274 maybe-all-stagefeedback-binutils \
34275 maybe-all-stagefeedback-gas \
34276 maybe-all-stagefeedback-gcc \
34277 maybe-all-stagefeedback-intl \
34278 maybe-all-stagefeedback-ld \
34279 maybe-all-stagefeedback-libcpp \
34280 maybe-all-stagefeedback-libiberty \
34281 maybe-all-stagefeedback-zlib
34283 do-clean: clean-stagefeedback
34284 clean-stagefeedback: \
34285 maybe-clean-stagefeedback-bfd \
34286 maybe-clean-stagefeedback-opcodes \
34287 maybe-clean-stagefeedback-binutils \
34288 maybe-clean-stagefeedback-gas \
34289 maybe-clean-stagefeedback-gcc \
34290 maybe-clean-stagefeedback-intl \
34291 maybe-clean-stagefeedback-ld \
34292 maybe-clean-stagefeedback-libcpp \
34293 maybe-clean-stagefeedback-libiberty \
34294 maybe-clean-stagefeedback-zlib
34297 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
34298 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
34299 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
34301 maybe-configure-stagefeedback-bfd:
34302 maybe-all-stagefeedback-bfd:
34303 maybe-clean-stagefeedback-bfd:
34306 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
34307 configure-stagefeedback-bfd:
34308 @$(MAKE) stagefeedback-start
34309 @[ -f bfd/Makefile ] && exit 0 || : ; \
34310 r=`${PWD_COMMAND}`; export r; \
34311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34312 $(STAGE_HOST_EXPORTS) \
34313 echo Configuring stage feedback in bfd ; \
34314 cd $(HOST_SUBDIR)/bfd || exit 1; \
34315 case $(srcdir) in \
34316 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34317 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
34318 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34320 srcdiroption="--srcdir=$${topdir}/bfd"; \
34321 libsrcdir="$$s/bfd"; \
34322 $(SHELL) $${libsrcdir}/configure \
34323 $(HOST_CONFIGARGS) $${srcdiroption} \
34324 @stage2_werror_flag@
34326 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
34327 all-stagefeedback-bfd: configure-stagefeedback-bfd
34328 @$(MAKE) stagefeedback-start
34329 @r=`${PWD_COMMAND}`; export r; \
34330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34331 $(STAGE_HOST_EXPORTS) \
34332 cd $(HOST_SUBDIR)/bfd && \
34333 $(MAKE) $(FLAGS_TO_PASS) \
34334 $(POSTSTAGE1_FLAGS_TO_PASS) \
34335 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34337 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
34338 clean-stagefeedback-bfd:
34339 @[ -f bfd/Makefile ] || [ -f stagefeedback-bfd/Makefile ] \
34341 [ -f bfd/Makefile ] || $(MAKE) stagefeedback-start ; \
34342 cd $(HOST_SUBDIR)/bfd && \
34343 $(MAKE) $(FLAGS_TO_PASS) \
34344 $(POSTSTAGE1_FLAGS_TO_PASS) \
34345 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34346 @endif bfd-bootstrap
34349 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
34350 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
34351 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
34353 maybe-configure-stagefeedback-opcodes:
34354 maybe-all-stagefeedback-opcodes:
34355 maybe-clean-stagefeedback-opcodes:
34357 @if opcodes-bootstrap
34358 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
34359 configure-stagefeedback-opcodes:
34360 @$(MAKE) stagefeedback-start
34361 @[ -f opcodes/Makefile ] && exit 0 || : ; \
34362 r=`${PWD_COMMAND}`; export r; \
34363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34364 $(STAGE_HOST_EXPORTS) \
34365 echo Configuring stage feedback in opcodes ; \
34366 cd $(HOST_SUBDIR)/opcodes || exit 1; \
34367 case $(srcdir) in \
34368 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34369 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
34370 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34372 srcdiroption="--srcdir=$${topdir}/opcodes"; \
34373 libsrcdir="$$s/opcodes"; \
34374 $(SHELL) $${libsrcdir}/configure \
34375 $(HOST_CONFIGARGS) $${srcdiroption} \
34376 @stage2_werror_flag@
34378 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
34379 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
34380 @$(MAKE) stagefeedback-start
34381 @r=`${PWD_COMMAND}`; export r; \
34382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34383 $(STAGE_HOST_EXPORTS) \
34384 cd $(HOST_SUBDIR)/opcodes && \
34385 $(MAKE) $(FLAGS_TO_PASS) \
34386 $(POSTSTAGE1_FLAGS_TO_PASS) \
34387 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34389 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
34390 clean-stagefeedback-opcodes:
34391 @[ -f opcodes/Makefile ] || [ -f stagefeedback-opcodes/Makefile ] \
34393 [ -f opcodes/Makefile ] || $(MAKE) stagefeedback-start ; \
34394 cd $(HOST_SUBDIR)/opcodes && \
34395 $(MAKE) $(FLAGS_TO_PASS) \
34396 $(POSTSTAGE1_FLAGS_TO_PASS) \
34397 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34398 @endif opcodes-bootstrap
34401 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
34402 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
34403 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
34405 maybe-configure-stagefeedback-binutils:
34406 maybe-all-stagefeedback-binutils:
34407 maybe-clean-stagefeedback-binutils:
34409 @if binutils-bootstrap
34410 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
34411 configure-stagefeedback-binutils:
34412 @$(MAKE) stagefeedback-start
34413 @[ -f binutils/Makefile ] && exit 0 || : ; \
34414 r=`${PWD_COMMAND}`; export r; \
34415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34416 $(STAGE_HOST_EXPORTS) \
34417 echo Configuring stage feedback in binutils ; \
34418 cd $(HOST_SUBDIR)/binutils || exit 1; \
34419 case $(srcdir) in \
34420 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34421 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
34422 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34424 srcdiroption="--srcdir=$${topdir}/binutils"; \
34425 libsrcdir="$$s/binutils"; \
34426 $(SHELL) $${libsrcdir}/configure \
34427 $(HOST_CONFIGARGS) $${srcdiroption} \
34428 @stage2_werror_flag@
34430 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
34431 all-stagefeedback-binutils: configure-stagefeedback-binutils
34432 @$(MAKE) stagefeedback-start
34433 @r=`${PWD_COMMAND}`; export r; \
34434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34435 $(STAGE_HOST_EXPORTS) \
34436 cd $(HOST_SUBDIR)/binutils && \
34437 $(MAKE) $(FLAGS_TO_PASS) \
34438 $(POSTSTAGE1_FLAGS_TO_PASS) \
34439 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34441 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
34442 clean-stagefeedback-binutils:
34443 @[ -f binutils/Makefile ] || [ -f stagefeedback-binutils/Makefile ] \
34445 [ -f binutils/Makefile ] || $(MAKE) stagefeedback-start ; \
34446 cd $(HOST_SUBDIR)/binutils && \
34447 $(MAKE) $(FLAGS_TO_PASS) \
34448 $(POSTSTAGE1_FLAGS_TO_PASS) \
34449 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34450 @endif binutils-bootstrap
34453 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
34454 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
34455 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
34457 maybe-configure-stagefeedback-gas:
34458 maybe-all-stagefeedback-gas:
34459 maybe-clean-stagefeedback-gas:
34462 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
34463 configure-stagefeedback-gas:
34464 @$(MAKE) stagefeedback-start
34465 @[ -f gas/Makefile ] && exit 0 || : ; \
34466 r=`${PWD_COMMAND}`; export r; \
34467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34468 $(STAGE_HOST_EXPORTS) \
34469 echo Configuring stage feedback in gas ; \
34470 cd $(HOST_SUBDIR)/gas || exit 1; \
34471 case $(srcdir) in \
34472 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34473 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
34474 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34476 srcdiroption="--srcdir=$${topdir}/gas"; \
34477 libsrcdir="$$s/gas"; \
34478 $(SHELL) $${libsrcdir}/configure \
34479 $(HOST_CONFIGARGS) $${srcdiroption} \
34480 @stage2_werror_flag@
34482 maybe-all-stagefeedback-gas: all-stagefeedback-gas
34483 all-stagefeedback-gas: configure-stagefeedback-gas
34484 @$(MAKE) stagefeedback-start
34485 @r=`${PWD_COMMAND}`; export r; \
34486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34487 $(STAGE_HOST_EXPORTS) \
34488 cd $(HOST_SUBDIR)/gas && \
34489 $(MAKE) $(FLAGS_TO_PASS) \
34490 $(POSTSTAGE1_FLAGS_TO_PASS) \
34491 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34493 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
34494 clean-stagefeedback-gas:
34495 @[ -f gas/Makefile ] || [ -f stagefeedback-gas/Makefile ] \
34497 [ -f gas/Makefile ] || $(MAKE) stagefeedback-start ; \
34498 cd $(HOST_SUBDIR)/gas && \
34499 $(MAKE) $(FLAGS_TO_PASS) \
34500 $(POSTSTAGE1_FLAGS_TO_PASS) \
34501 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34502 @endif gas-bootstrap
34505 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
34506 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
34507 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
34509 maybe-configure-stagefeedback-gcc:
34510 maybe-all-stagefeedback-gcc:
34511 maybe-clean-stagefeedback-gcc:
34514 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
34515 configure-stagefeedback-gcc:
34516 @$(MAKE) stagefeedback-start
34517 @[ -f gcc/Makefile ] && exit 0 || : ; \
34518 r=`${PWD_COMMAND}`; export r; \
34519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34520 $(STAGE_HOST_EXPORTS) \
34521 echo Configuring stage feedback in gcc ; \
34522 cd $(HOST_SUBDIR)/gcc || exit 1; \
34523 case $(srcdir) in \
34524 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34525 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
34526 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34528 srcdiroption="--srcdir=$${topdir}/gcc"; \
34529 libsrcdir="$$s/gcc"; \
34530 $(SHELL) $${libsrcdir}/configure \
34531 $(HOST_CONFIGARGS) $${srcdiroption} \
34532 @stage2_werror_flag@
34534 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
34535 all-stagefeedback-gcc: configure-stagefeedback-gcc
34536 @$(MAKE) stagefeedback-start
34537 @r=`${PWD_COMMAND}`; export r; \
34538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34539 $(STAGE_HOST_EXPORTS) \
34540 cd $(HOST_SUBDIR)/gcc && \
34541 $(MAKE) $(FLAGS_TO_PASS) \
34542 $(POSTSTAGE1_FLAGS_TO_PASS) \
34543 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS)
34545 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
34546 clean-stagefeedback-gcc:
34547 @[ -f gcc/Makefile ] || [ -f stagefeedback-gcc/Makefile ] \
34549 [ -f gcc/Makefile ] || $(MAKE) stagefeedback-start ; \
34550 cd $(HOST_SUBDIR)/gcc && \
34551 $(MAKE) $(FLAGS_TO_PASS) \
34552 $(POSTSTAGE1_FLAGS_TO_PASS) \
34553 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
34554 @endif gcc-bootstrap
34557 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
34558 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
34559 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
34561 maybe-configure-stagefeedback-intl:
34562 maybe-all-stagefeedback-intl:
34563 maybe-clean-stagefeedback-intl:
34566 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
34567 configure-stagefeedback-intl:
34568 @$(MAKE) stagefeedback-start
34569 @[ -f intl/Makefile ] && exit 0 || : ; \
34570 r=`${PWD_COMMAND}`; export r; \
34571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34572 $(STAGE_HOST_EXPORTS) \
34573 echo Configuring stage feedback in intl ; \
34574 cd $(HOST_SUBDIR)/intl || exit 1; \
34575 case $(srcdir) in \
34576 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34577 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
34578 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34580 srcdiroption="--srcdir=$${topdir}/intl"; \
34581 libsrcdir="$$s/intl"; \
34582 $(SHELL) $${libsrcdir}/configure \
34583 $(HOST_CONFIGARGS) $${srcdiroption} \
34584 @stage2_werror_flag@
34586 maybe-all-stagefeedback-intl: all-stagefeedback-intl
34587 all-stagefeedback-intl: configure-stagefeedback-intl
34588 @$(MAKE) stagefeedback-start
34589 @r=`${PWD_COMMAND}`; export r; \
34590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34591 $(STAGE_HOST_EXPORTS) \
34592 cd $(HOST_SUBDIR)/intl && \
34593 $(MAKE) $(FLAGS_TO_PASS) \
34594 $(POSTSTAGE1_FLAGS_TO_PASS) \
34595 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34597 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
34598 clean-stagefeedback-intl:
34599 @[ -f intl/Makefile ] || [ -f stagefeedback-intl/Makefile ] \
34601 [ -f intl/Makefile ] || $(MAKE) stagefeedback-start ; \
34602 cd $(HOST_SUBDIR)/intl && \
34603 $(MAKE) $(FLAGS_TO_PASS) \
34604 $(POSTSTAGE1_FLAGS_TO_PASS) \
34605 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34606 @endif intl-bootstrap
34609 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
34610 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
34611 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
34613 maybe-configure-stagefeedback-ld:
34614 maybe-all-stagefeedback-ld:
34615 maybe-clean-stagefeedback-ld:
34618 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
34619 configure-stagefeedback-ld:
34620 @$(MAKE) stagefeedback-start
34621 @[ -f ld/Makefile ] && exit 0 || : ; \
34622 r=`${PWD_COMMAND}`; export r; \
34623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34624 $(STAGE_HOST_EXPORTS) \
34625 echo Configuring stage feedback in ld ; \
34626 cd $(HOST_SUBDIR)/ld || exit 1; \
34627 case $(srcdir) in \
34628 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34629 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
34630 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34632 srcdiroption="--srcdir=$${topdir}/ld"; \
34633 libsrcdir="$$s/ld"; \
34634 $(SHELL) $${libsrcdir}/configure \
34635 $(HOST_CONFIGARGS) $${srcdiroption} \
34636 @stage2_werror_flag@
34638 maybe-all-stagefeedback-ld: all-stagefeedback-ld
34639 all-stagefeedback-ld: configure-stagefeedback-ld
34640 @$(MAKE) stagefeedback-start
34641 @r=`${PWD_COMMAND}`; export r; \
34642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34643 $(STAGE_HOST_EXPORTS) \
34644 cd $(HOST_SUBDIR)/ld && \
34645 $(MAKE) $(FLAGS_TO_PASS) \
34646 $(POSTSTAGE1_FLAGS_TO_PASS) \
34647 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34649 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
34650 clean-stagefeedback-ld:
34651 @[ -f ld/Makefile ] || [ -f stagefeedback-ld/Makefile ] \
34653 [ -f ld/Makefile ] || $(MAKE) stagefeedback-start ; \
34654 cd $(HOST_SUBDIR)/ld && \
34655 $(MAKE) $(FLAGS_TO_PASS) \
34656 $(POSTSTAGE1_FLAGS_TO_PASS) \
34657 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34658 @endif ld-bootstrap
34661 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
34662 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
34663 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
34665 maybe-configure-stagefeedback-libcpp:
34666 maybe-all-stagefeedback-libcpp:
34667 maybe-clean-stagefeedback-libcpp:
34669 @if libcpp-bootstrap
34670 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
34671 configure-stagefeedback-libcpp:
34672 @$(MAKE) stagefeedback-start
34673 @[ -f libcpp/Makefile ] && exit 0 || : ; \
34674 r=`${PWD_COMMAND}`; export r; \
34675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34676 $(STAGE_HOST_EXPORTS) \
34677 echo Configuring stage feedback in libcpp ; \
34678 cd $(HOST_SUBDIR)/libcpp || exit 1; \
34679 case $(srcdir) in \
34680 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34681 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
34682 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34684 srcdiroption="--srcdir=$${topdir}/libcpp"; \
34685 libsrcdir="$$s/libcpp"; \
34686 $(SHELL) $${libsrcdir}/configure \
34687 $(HOST_CONFIGARGS) $${srcdiroption} \
34688 @stage2_werror_flag@
34690 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
34691 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
34692 @$(MAKE) stagefeedback-start
34693 @r=`${PWD_COMMAND}`; export r; \
34694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34695 $(STAGE_HOST_EXPORTS) \
34696 cd $(HOST_SUBDIR)/libcpp && \
34697 $(MAKE) $(FLAGS_TO_PASS) \
34698 $(POSTSTAGE1_FLAGS_TO_PASS) \
34699 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34701 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
34702 clean-stagefeedback-libcpp:
34703 @[ -f libcpp/Makefile ] || [ -f stagefeedback-libcpp/Makefile ] \
34705 [ -f libcpp/Makefile ] || $(MAKE) stagefeedback-start ; \
34706 cd $(HOST_SUBDIR)/libcpp && \
34707 $(MAKE) $(FLAGS_TO_PASS) \
34708 $(POSTSTAGE1_FLAGS_TO_PASS) \
34709 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34710 @endif libcpp-bootstrap
34713 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
34714 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
34715 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
34717 maybe-configure-stagefeedback-libiberty:
34718 maybe-all-stagefeedback-libiberty:
34719 maybe-clean-stagefeedback-libiberty:
34721 @if libiberty-bootstrap
34722 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
34723 configure-stagefeedback-libiberty:
34724 @$(MAKE) stagefeedback-start
34725 @[ -f libiberty/Makefile ] && exit 0 || : ; \
34726 r=`${PWD_COMMAND}`; export r; \
34727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34728 $(STAGE_HOST_EXPORTS) \
34729 echo Configuring stage feedback in libiberty ; \
34730 cd $(HOST_SUBDIR)/libiberty || exit 1; \
34731 case $(srcdir) in \
34732 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34733 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
34734 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34736 srcdiroption="--srcdir=$${topdir}/libiberty"; \
34737 libsrcdir="$$s/libiberty"; \
34738 $(SHELL) $${libsrcdir}/configure \
34739 $(HOST_CONFIGARGS) $${srcdiroption} \
34740 @stage2_werror_flag@
34742 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
34743 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
34744 @$(MAKE) stagefeedback-start
34745 @r=`${PWD_COMMAND}`; export r; \
34746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34747 $(STAGE_HOST_EXPORTS) \
34748 cd $(HOST_SUBDIR)/libiberty && \
34749 $(MAKE) $(FLAGS_TO_PASS) \
34750 $(POSTSTAGE1_FLAGS_TO_PASS) \
34751 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34753 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
34754 clean-stagefeedback-libiberty:
34755 @[ -f libiberty/Makefile ] || [ -f stagefeedback-libiberty/Makefile ] \
34757 [ -f libiberty/Makefile ] || $(MAKE) stagefeedback-start ; \
34758 cd $(HOST_SUBDIR)/libiberty && \
34759 $(MAKE) $(FLAGS_TO_PASS) \
34760 $(POSTSTAGE1_FLAGS_TO_PASS) \
34761 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34762 @endif libiberty-bootstrap
34765 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
34766 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
34767 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
34769 maybe-configure-stagefeedback-zlib:
34770 maybe-all-stagefeedback-zlib:
34771 maybe-clean-stagefeedback-zlib:
34774 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
34775 configure-stagefeedback-zlib:
34776 @$(MAKE) stagefeedback-start
34777 @[ -f zlib/Makefile ] && exit 0 || : ; \
34778 r=`${PWD_COMMAND}`; export r; \
34779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34780 $(STAGE_HOST_EXPORTS) \
34781 echo Configuring stage feedback in zlib ; \
34782 cd $(HOST_SUBDIR)/zlib || exit 1; \
34783 case $(srcdir) in \
34784 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34785 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
34786 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34788 srcdiroption="--srcdir=$${topdir}/zlib"; \
34789 libsrcdir="$$s/zlib"; \
34790 $(SHELL) $${libsrcdir}/configure \
34791 $(HOST_CONFIGARGS) $${srcdiroption} \
34792 @stage2_werror_flag@
34794 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
34795 all-stagefeedback-zlib: configure-stagefeedback-zlib
34796 @$(MAKE) stagefeedback-start
34797 @r=`${PWD_COMMAND}`; export r; \
34798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34799 $(STAGE_HOST_EXPORTS) \
34800 cd $(HOST_SUBDIR)/zlib && \
34801 $(MAKE) $(FLAGS_TO_PASS) \
34802 $(POSTSTAGE1_FLAGS_TO_PASS) \
34803 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34805 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
34806 clean-stagefeedback-zlib:
34807 @[ -f zlib/Makefile ] || [ -f stagefeedback-zlib/Makefile ] \
34809 [ -f zlib/Makefile ] || $(MAKE) stagefeedback-start ; \
34810 cd $(HOST_SUBDIR)/zlib && \
34811 $(MAKE) $(FLAGS_TO_PASS) \
34812 $(POSTSTAGE1_FLAGS_TO_PASS) \
34813 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34814 @endif zlib-bootstrap
34818 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34819 # only possibility, but now it conflicts with no-bootstrap rules
34825 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34826 distclean-stage1:: distclean-stagefeedback
34827 .PHONY: distclean-stagefeedback
34828 distclean-stagefeedback::
34829 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34830 rm -rf stagefeedback-*
34833 @endif gcc-bootstrap
34837 stagefeedback-start::
34838 @r=`${PWD_COMMAND}`; export r; \
34839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34840 cd stageprofile-gcc && \
34841 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \
34842 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); }
34844 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34845 # only possibility, but now it conflicts with no-bootstrap rules
34848 @r=`${PWD_COMMAND}`; export r; \
34849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34852 echo "Bootstrapping the compiler"; \
34853 $(MAKE) stageprofile-bubble distclean-stagefeedback
34854 @r=`${PWD_COMMAND}`; export r; \
34855 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
34857 echo "Building runtime libraries and training compiler"; \
34858 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
34859 @r=`${PWD_COMMAND}`; export r; \
34860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34863 echo "Building feedback based compiler"; \
34864 $(MAKE) stagefeedback-bubble stagefeedback-end
34865 @endif gcc-bootstrap
34868 NOTPARALLEL = .NOTPARALLEL
34870 do-distclean: distclean-stage1
34871 @endif gcc-bootstrap
34873 # --------------------------------------
34874 # Dependencies between different modules
34875 # --------------------------------------
34877 # Generic dependencies for target modules on host stuff, especially gcc
34879 configure-target-libstdc++-v3: maybe-all-gcc
34881 configure-target-libmudflap: maybe-all-gcc
34883 configure-target-newlib: maybe-all-gcc
34885 configure-target-libgfortran: maybe-all-gcc
34887 configure-target-libobjc: maybe-all-gcc
34889 configure-target-libtermcap: maybe-all-gcc
34891 configure-target-winsup: maybe-all-gcc
34893 configure-target-libgloss: maybe-all-gcc
34895 configure-target-libiberty: maybe-all-gcc
34897 configure-target-gperf: maybe-all-gcc
34899 configure-target-examples: maybe-all-gcc
34901 configure-target-libffi: maybe-all-gcc
34903 configure-target-libjava: maybe-all-gcc
34905 configure-target-zlib: maybe-all-gcc
34907 configure-target-boehm-gc: maybe-all-gcc
34909 configure-target-qthreads: maybe-all-gcc
34911 configure-target-rda: maybe-all-gcc
34913 configure-target-libada: maybe-all-gcc
34917 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
34919 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
34920 configure-target-gperf: maybe-all-target-libstdc++-v3
34922 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
34924 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
34926 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
34928 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
34929 configure-target-libjava: maybe-all-target-libstdc++-v3
34931 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
34933 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
34935 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
34937 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
34939 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
34941 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
34943 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
34945 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
34948 # There are two types of dependencies here: 'hard' dependencies, where one
34949 # module simply won't build without the other; and 'soft' dependencies, where
34950 # if the depended-on module is missing, the depending module will do without
34951 # or find a substitute somewhere (perhaps installed). Soft dependencies
34952 # are made here to depend on a 'maybe-' target. If you're not sure,
34953 # it's safer to use a soft dependency.
34959 # With all the machinery above in place, it is pretty easy to generate
34960 # dependencies. Host dependencies are a bit more complex because we have
34961 # to check for bootstrap/prebootstrap dependencies. To resolve
34962 # prebootstrap dependencies, prebootstrap modules are gathered in
34964 all-build-bison: maybe-all-build-texinfo
34965 all-build-byacc: maybe-all-build-texinfo
34966 all-build-flex: maybe-all-build-texinfo
34967 all-build-flex: maybe-all-build-bison
34968 all-build-flex: maybe-all-build-byacc
34969 all-build-flex: maybe-all-build-m4
34970 all-build-libiberty: maybe-all-build-texinfo
34971 all-build-m4: maybe-all-build-texinfo
34972 all-build-fixincludes: maybe-all-build-libiberty
34973 configure-gcc: maybe-configure-intl
34975 configure-stage1-gcc: maybe-configure-stage1-intl
34976 configure-stage2-gcc: maybe-configure-stage2-intl
34977 configure-stage3-gcc: maybe-configure-stage3-intl
34978 configure-stage4-gcc: maybe-configure-stage4-intl
34979 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
34980 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
34981 configure-gcc: maybe-configure-binutils
34983 configure-stage1-gcc: maybe-configure-stage1-binutils
34984 configure-stage2-gcc: maybe-configure-stage2-binutils
34985 configure-stage3-gcc: maybe-configure-stage3-binutils
34986 configure-stage4-gcc: maybe-configure-stage4-binutils
34987 configure-stageprofile-gcc: maybe-configure-stageprofile-binutils
34988 configure-stagefeedback-gcc: maybe-configure-stagefeedback-binutils
34989 configure-gcc: maybe-configure-gas
34991 configure-stage1-gcc: maybe-configure-stage1-gas
34992 configure-stage2-gcc: maybe-configure-stage2-gas
34993 configure-stage3-gcc: maybe-configure-stage3-gas
34994 configure-stage4-gcc: maybe-configure-stage4-gas
34995 configure-stageprofile-gcc: maybe-configure-stageprofile-gas
34996 configure-stagefeedback-gcc: maybe-configure-stagefeedback-gas
34997 configure-gcc: maybe-configure-ld
34999 configure-stage1-gcc: maybe-configure-stage1-ld
35000 configure-stage2-gcc: maybe-configure-stage2-ld
35001 configure-stage3-gcc: maybe-configure-stage3-ld
35002 configure-stage4-gcc: maybe-configure-stage4-ld
35003 configure-stageprofile-gcc: maybe-configure-stageprofile-ld
35004 configure-stagefeedback-gcc: maybe-configure-stagefeedback-ld
35005 all-gcc: all-libiberty
35007 all-stage1-gcc: all-stage1-libiberty
35008 all-stage2-gcc: all-stage2-libiberty
35009 all-stage3-gcc: all-stage3-libiberty
35010 all-stage4-gcc: all-stage4-libiberty
35011 all-stageprofile-gcc: all-stageprofile-libiberty
35012 all-stagefeedback-gcc: all-stagefeedback-libiberty
35013 all-gcc: maybe-all-intl
35015 all-stage1-gcc: maybe-all-stage1-intl
35016 all-stage2-gcc: maybe-all-stage2-intl
35017 all-stage3-gcc: maybe-all-stage3-intl
35018 all-stage4-gcc: maybe-all-stage4-intl
35019 all-stageprofile-gcc: maybe-all-stageprofile-intl
35020 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
35021 all-gcc: maybe-all-build-texinfo
35023 all-stage1-gcc: maybe-all-build-texinfo
35024 all-stage2-gcc: maybe-all-build-texinfo
35025 all-stage3-gcc: maybe-all-build-texinfo
35026 all-stage4-gcc: maybe-all-build-texinfo
35027 all-stageprofile-gcc: maybe-all-build-texinfo
35028 all-stagefeedback-gcc: maybe-all-build-texinfo
35029 all-prebootstrap: maybe-all-build-texinfo
35030 all-gcc: maybe-all-build-bison
35032 all-stage1-gcc: maybe-all-build-bison
35033 all-stage2-gcc: maybe-all-build-bison
35034 all-stage3-gcc: maybe-all-build-bison
35035 all-stage4-gcc: maybe-all-build-bison
35036 all-stageprofile-gcc: maybe-all-build-bison
35037 all-stagefeedback-gcc: maybe-all-build-bison
35038 all-prebootstrap: maybe-all-build-bison
35039 all-gcc: maybe-all-build-byacc
35041 all-stage1-gcc: maybe-all-build-byacc
35042 all-stage2-gcc: maybe-all-build-byacc
35043 all-stage3-gcc: maybe-all-build-byacc
35044 all-stage4-gcc: maybe-all-build-byacc
35045 all-stageprofile-gcc: maybe-all-build-byacc
35046 all-stagefeedback-gcc: maybe-all-build-byacc
35047 all-prebootstrap: maybe-all-build-byacc
35048 all-gcc: maybe-all-build-flex
35050 all-stage1-gcc: maybe-all-build-flex
35051 all-stage2-gcc: maybe-all-build-flex
35052 all-stage3-gcc: maybe-all-build-flex
35053 all-stage4-gcc: maybe-all-build-flex
35054 all-stageprofile-gcc: maybe-all-build-flex
35055 all-stagefeedback-gcc: maybe-all-build-flex
35056 all-prebootstrap: maybe-all-build-flex
35057 all-gcc: maybe-all-build-libiberty
35059 all-stage1-gcc: maybe-all-build-libiberty
35060 all-stage2-gcc: maybe-all-build-libiberty
35061 all-stage3-gcc: maybe-all-build-libiberty
35062 all-stage4-gcc: maybe-all-build-libiberty
35063 all-stageprofile-gcc: maybe-all-build-libiberty
35064 all-stagefeedback-gcc: maybe-all-build-libiberty
35065 all-prebootstrap: maybe-all-build-libiberty
35066 all-gcc: maybe-all-build-fixincludes
35068 all-stage1-gcc: maybe-all-build-fixincludes
35069 all-stage2-gcc: maybe-all-build-fixincludes
35070 all-stage3-gcc: maybe-all-build-fixincludes
35071 all-stage4-gcc: maybe-all-build-fixincludes
35072 all-stageprofile-gcc: maybe-all-build-fixincludes
35073 all-stagefeedback-gcc: maybe-all-build-fixincludes
35074 all-prebootstrap: maybe-all-build-fixincludes
35075 all-gcc: maybe-all-binutils
35077 all-stage1-gcc: maybe-all-stage1-binutils
35078 all-stage2-gcc: maybe-all-stage2-binutils
35079 all-stage3-gcc: maybe-all-stage3-binutils
35080 all-stage4-gcc: maybe-all-stage4-binutils
35081 all-stageprofile-gcc: maybe-all-stageprofile-binutils
35082 all-stagefeedback-gcc: maybe-all-stagefeedback-binutils
35083 all-gcc: maybe-all-gas
35085 all-stage1-gcc: maybe-all-stage1-gas
35086 all-stage2-gcc: maybe-all-stage2-gas
35087 all-stage3-gcc: maybe-all-stage3-gas
35088 all-stage4-gcc: maybe-all-stage4-gas
35089 all-stageprofile-gcc: maybe-all-stageprofile-gas
35090 all-stagefeedback-gcc: maybe-all-stagefeedback-gas
35091 all-gcc: maybe-all-ld
35093 all-stage1-gcc: maybe-all-stage1-ld
35094 all-stage2-gcc: maybe-all-stage2-ld
35095 all-stage3-gcc: maybe-all-stage3-ld
35096 all-stage4-gcc: maybe-all-stage4-ld
35097 all-stageprofile-gcc: maybe-all-stageprofile-ld
35098 all-stagefeedback-gcc: maybe-all-stagefeedback-ld
35099 all-gcc: maybe-all-zlib
35101 all-stage1-gcc: maybe-all-stage1-zlib
35102 all-stage2-gcc: maybe-all-stage2-zlib
35103 all-stage3-gcc: maybe-all-stage3-zlib
35104 all-stage4-gcc: maybe-all-stage4-zlib
35105 all-stageprofile-gcc: maybe-all-stageprofile-zlib
35106 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
35107 all-gcc: all-libcpp
35109 all-stage1-gcc: all-stage1-libcpp
35110 all-stage2-gcc: all-stage2-libcpp
35111 all-stage3-gcc: all-stage3-libcpp
35112 all-stage4-gcc: all-stage4-libcpp
35113 all-stageprofile-gcc: all-stageprofile-libcpp
35114 all-stagefeedback-gcc: all-stagefeedback-libcpp
35115 all-gcc: maybe-all-libiberty
35117 all-stage1-gcc: maybe-all-stage1-libiberty
35118 all-stage2-gcc: maybe-all-stage2-libiberty
35119 all-stage3-gcc: maybe-all-stage3-libiberty
35120 all-stage4-gcc: maybe-all-stage4-libiberty
35121 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
35122 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
35123 all-gcc: maybe-all-fixincludes
35124 install-gcc: maybe-install-fixincludes
35125 configure-libcpp: configure-libiberty
35127 configure-stage1-libcpp: configure-stage1-libiberty
35128 configure-stage2-libcpp: configure-stage2-libiberty
35129 configure-stage3-libcpp: configure-stage3-libiberty
35130 configure-stage4-libcpp: configure-stage4-libiberty
35131 configure-stageprofile-libcpp: configure-stageprofile-libiberty
35132 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
35133 configure-libcpp: maybe-configure-intl
35135 configure-stage1-libcpp: maybe-configure-stage1-intl
35136 configure-stage2-libcpp: maybe-configure-stage2-intl
35137 configure-stage3-libcpp: maybe-configure-stage3-intl
35138 configure-stage4-libcpp: maybe-configure-stage4-intl
35139 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
35140 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
35141 all-libcpp: all-libiberty
35143 all-stage1-libcpp: all-stage1-libiberty
35144 all-stage2-libcpp: all-stage2-libiberty
35145 all-stage3-libcpp: all-stage3-libiberty
35146 all-stage4-libcpp: all-stage4-libiberty
35147 all-stageprofile-libcpp: all-stageprofile-libiberty
35148 all-stagefeedback-libcpp: all-stagefeedback-libiberty
35149 all-libcpp: maybe-all-intl
35151 all-stage1-libcpp: maybe-all-stage1-intl
35152 all-stage2-libcpp: maybe-all-stage2-intl
35153 all-stage3-libcpp: maybe-all-stage3-intl
35154 all-stage4-libcpp: maybe-all-stage4-intl
35155 all-stageprofile-libcpp: maybe-all-stageprofile-intl
35156 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
35157 all-fixincludes: maybe-all-libiberty
35158 all-gnattools: maybe-all-target-libada
35159 configure-gdb: maybe-configure-itcl
35160 configure-gdb: maybe-configure-tcl
35161 configure-gdb: maybe-configure-tk
35162 configure-gdb: maybe-configure-sim
35163 all-gdb: maybe-all-libiberty
35164 all-gdb: maybe-all-opcodes
35165 all-gdb: maybe-all-bfd
35166 all-gdb: maybe-all-readline
35167 all-gdb: maybe-all-build-bison
35168 all-gdb: maybe-all-build-byacc
35169 all-gdb: maybe-all-sim
35170 install-gdb: maybe-install-tcl
35171 install-gdb: maybe-install-tk
35172 install-gdb: maybe-install-itcl
35173 install-gdb: maybe-install-libgui
35174 configure-libgui: maybe-configure-tcl
35175 configure-libgui: maybe-configure-tk
35176 all-libgui: maybe-all-tcl
35177 all-libgui: maybe-all-tk
35178 all-libgui: maybe-all-itcl
35179 configure-bfd: configure-libiberty
35181 configure-stage1-bfd: configure-stage1-libiberty
35182 configure-stage2-bfd: configure-stage2-libiberty
35183 configure-stage3-bfd: configure-stage3-libiberty
35184 configure-stage4-bfd: configure-stage4-libiberty
35185 configure-stageprofile-bfd: configure-stageprofile-libiberty
35186 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
35187 all-bfd: maybe-all-libiberty
35189 all-stage1-bfd: maybe-all-stage1-libiberty
35190 all-stage2-bfd: maybe-all-stage2-libiberty
35191 all-stage3-bfd: maybe-all-stage3-libiberty
35192 all-stage4-bfd: maybe-all-stage4-libiberty
35193 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
35194 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
35195 all-bfd: maybe-all-intl
35197 all-stage1-bfd: maybe-all-stage1-intl
35198 all-stage2-bfd: maybe-all-stage2-intl
35199 all-stage3-bfd: maybe-all-stage3-intl
35200 all-stage4-bfd: maybe-all-stage4-intl
35201 all-stageprofile-bfd: maybe-all-stageprofile-intl
35202 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
35203 all-binutils: maybe-all-libiberty
35205 all-stage1-binutils: maybe-all-stage1-libiberty
35206 all-stage2-binutils: maybe-all-stage2-libiberty
35207 all-stage3-binutils: maybe-all-stage3-libiberty
35208 all-stage4-binutils: maybe-all-stage4-libiberty
35209 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
35210 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
35211 all-binutils: maybe-all-opcodes
35213 all-stage1-binutils: maybe-all-stage1-opcodes
35214 all-stage2-binutils: maybe-all-stage2-opcodes
35215 all-stage3-binutils: maybe-all-stage3-opcodes
35216 all-stage4-binutils: maybe-all-stage4-opcodes
35217 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
35218 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
35219 all-binutils: maybe-all-bfd
35221 all-stage1-binutils: maybe-all-stage1-bfd
35222 all-stage2-binutils: maybe-all-stage2-bfd
35223 all-stage3-binutils: maybe-all-stage3-bfd
35224 all-stage4-binutils: maybe-all-stage4-bfd
35225 all-stageprofile-binutils: maybe-all-stageprofile-bfd
35226 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
35227 all-binutils: maybe-all-build-flex
35229 all-stage1-binutils: maybe-all-build-flex
35230 all-stage2-binutils: maybe-all-build-flex
35231 all-stage3-binutils: maybe-all-build-flex
35232 all-stage4-binutils: maybe-all-build-flex
35233 all-stageprofile-binutils: maybe-all-build-flex
35234 all-stagefeedback-binutils: maybe-all-build-flex
35235 all-prebootstrap: maybe-all-build-flex
35236 all-binutils: maybe-all-build-bison
35238 all-stage1-binutils: maybe-all-build-bison
35239 all-stage2-binutils: maybe-all-build-bison
35240 all-stage3-binutils: maybe-all-build-bison
35241 all-stage4-binutils: maybe-all-build-bison
35242 all-stageprofile-binutils: maybe-all-build-bison
35243 all-stagefeedback-binutils: maybe-all-build-bison
35244 all-prebootstrap: maybe-all-build-bison
35245 all-binutils: maybe-all-build-byacc
35247 all-stage1-binutils: maybe-all-build-byacc
35248 all-stage2-binutils: maybe-all-build-byacc
35249 all-stage3-binutils: maybe-all-build-byacc
35250 all-stage4-binutils: maybe-all-build-byacc
35251 all-stageprofile-binutils: maybe-all-build-byacc
35252 all-stagefeedback-binutils: maybe-all-build-byacc
35253 all-prebootstrap: maybe-all-build-byacc
35254 all-binutils: maybe-all-intl
35256 all-stage1-binutils: maybe-all-stage1-intl
35257 all-stage2-binutils: maybe-all-stage2-intl
35258 all-stage3-binutils: maybe-all-stage3-intl
35259 all-stage4-binutils: maybe-all-stage4-intl
35260 all-stageprofile-binutils: maybe-all-stageprofile-intl
35261 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
35262 install-binutils: maybe-install-opcodes
35263 install-opcodes: maybe-install-bfd
35264 all-gas: maybe-all-libiberty
35266 all-stage1-gas: maybe-all-stage1-libiberty
35267 all-stage2-gas: maybe-all-stage2-libiberty
35268 all-stage3-gas: maybe-all-stage3-libiberty
35269 all-stage4-gas: maybe-all-stage4-libiberty
35270 all-stageprofile-gas: maybe-all-stageprofile-libiberty
35271 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
35272 all-gas: maybe-all-opcodes
35274 all-stage1-gas: maybe-all-stage1-opcodes
35275 all-stage2-gas: maybe-all-stage2-opcodes
35276 all-stage3-gas: maybe-all-stage3-opcodes
35277 all-stage4-gas: maybe-all-stage4-opcodes
35278 all-stageprofile-gas: maybe-all-stageprofile-opcodes
35279 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
35280 all-gas: maybe-all-bfd
35282 all-stage1-gas: maybe-all-stage1-bfd
35283 all-stage2-gas: maybe-all-stage2-bfd
35284 all-stage3-gas: maybe-all-stage3-bfd
35285 all-stage4-gas: maybe-all-stage4-bfd
35286 all-stageprofile-gas: maybe-all-stageprofile-bfd
35287 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
35288 all-gas: maybe-all-intl
35290 all-stage1-gas: maybe-all-stage1-intl
35291 all-stage2-gas: maybe-all-stage2-intl
35292 all-stage3-gas: maybe-all-stage3-intl
35293 all-stage4-gas: maybe-all-stage4-intl
35294 all-stageprofile-gas: maybe-all-stageprofile-intl
35295 all-stagefeedback-gas: maybe-all-stagefeedback-intl
35296 all-gprof: maybe-all-libiberty
35297 all-gprof: maybe-all-bfd
35298 all-gprof: maybe-all-opcodes
35299 all-gprof: maybe-all-intl
35300 all-ld: maybe-all-libiberty
35302 all-stage1-ld: maybe-all-stage1-libiberty
35303 all-stage2-ld: maybe-all-stage2-libiberty
35304 all-stage3-ld: maybe-all-stage3-libiberty
35305 all-stage4-ld: maybe-all-stage4-libiberty
35306 all-stageprofile-ld: maybe-all-stageprofile-libiberty
35307 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
35308 all-ld: maybe-all-bfd
35310 all-stage1-ld: maybe-all-stage1-bfd
35311 all-stage2-ld: maybe-all-stage2-bfd
35312 all-stage3-ld: maybe-all-stage3-bfd
35313 all-stage4-ld: maybe-all-stage4-bfd
35314 all-stageprofile-ld: maybe-all-stageprofile-bfd
35315 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
35316 all-ld: maybe-all-opcodes
35318 all-stage1-ld: maybe-all-stage1-opcodes
35319 all-stage2-ld: maybe-all-stage2-opcodes
35320 all-stage3-ld: maybe-all-stage3-opcodes
35321 all-stage4-ld: maybe-all-stage4-opcodes
35322 all-stageprofile-ld: maybe-all-stageprofile-opcodes
35323 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
35324 all-ld: maybe-all-build-bison
35326 all-stage1-ld: maybe-all-build-bison
35327 all-stage2-ld: maybe-all-build-bison
35328 all-stage3-ld: maybe-all-build-bison
35329 all-stage4-ld: maybe-all-build-bison
35330 all-stageprofile-ld: maybe-all-build-bison
35331 all-stagefeedback-ld: maybe-all-build-bison
35332 all-prebootstrap: maybe-all-build-bison
35333 all-ld: maybe-all-build-byacc
35335 all-stage1-ld: maybe-all-build-byacc
35336 all-stage2-ld: maybe-all-build-byacc
35337 all-stage3-ld: maybe-all-build-byacc
35338 all-stage4-ld: maybe-all-build-byacc
35339 all-stageprofile-ld: maybe-all-build-byacc
35340 all-stagefeedback-ld: maybe-all-build-byacc
35341 all-prebootstrap: maybe-all-build-byacc
35342 all-ld: maybe-all-build-flex
35344 all-stage1-ld: maybe-all-build-flex
35345 all-stage2-ld: maybe-all-build-flex
35346 all-stage3-ld: maybe-all-build-flex
35347 all-stage4-ld: maybe-all-build-flex
35348 all-stageprofile-ld: maybe-all-build-flex
35349 all-stagefeedback-ld: maybe-all-build-flex
35350 all-prebootstrap: maybe-all-build-flex
35351 all-ld: maybe-all-intl
35353 all-stage1-ld: maybe-all-stage1-intl
35354 all-stage2-ld: maybe-all-stage2-intl
35355 all-stage3-ld: maybe-all-stage3-intl
35356 all-stage4-ld: maybe-all-stage4-intl
35357 all-stageprofile-ld: maybe-all-stageprofile-intl
35358 all-stagefeedback-ld: maybe-all-stagefeedback-intl
35359 all-opcodes: maybe-all-bfd
35361 all-stage1-opcodes: maybe-all-stage1-bfd
35362 all-stage2-opcodes: maybe-all-stage2-bfd
35363 all-stage3-opcodes: maybe-all-stage3-bfd
35364 all-stage4-opcodes: maybe-all-stage4-bfd
35365 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
35366 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
35367 all-opcodes: maybe-all-libiberty
35369 all-stage1-opcodes: maybe-all-stage1-libiberty
35370 all-stage2-opcodes: maybe-all-stage2-libiberty
35371 all-stage3-opcodes: maybe-all-stage3-libiberty
35372 all-stage4-opcodes: maybe-all-stage4-libiberty
35373 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
35374 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
35375 all-dejagnu: maybe-all-tcl
35376 all-dejagnu: maybe-all-expect
35377 all-dejagnu: maybe-all-tk
35378 configure-expect: maybe-configure-tcl
35379 configure-expect: maybe-configure-tk
35380 all-expect: maybe-all-tcl
35381 all-expect: maybe-all-tk
35382 configure-itcl: maybe-configure-tcl
35383 configure-itcl: maybe-configure-tk
35384 all-itcl: maybe-all-tcl
35385 all-itcl: maybe-all-tk
35386 install-itcl: maybe-install-tcl
35387 configure-tk: maybe-configure-tcl
35388 all-tk: maybe-all-tcl
35389 all-sid: maybe-all-libiberty
35390 all-sid: maybe-all-bfd
35391 all-sid: maybe-all-opcodes
35392 all-sid: maybe-all-tcl
35393 all-sid: maybe-all-tk
35394 install-sid: maybe-install-tcl
35395 install-sid: maybe-install-tk
35396 all-sim: maybe-all-libiberty
35397 all-sim: maybe-all-bfd
35398 all-sim: maybe-all-opcodes
35399 all-sim: maybe-all-readline
35400 all-sim: maybe-configure-gdb
35401 all-fastjar: maybe-all-zlib
35402 all-fastjar: maybe-all-build-texinfo
35403 all-fastjar: maybe-all-libiberty
35404 all-autoconf: maybe-all-m4
35405 all-autoconf: maybe-all-build-texinfo
35406 all-automake: maybe-all-m4
35407 all-automake: maybe-all-build-texinfo
35408 all-automake: maybe-all-autoconf
35409 all-bison: maybe-all-intl
35410 all-bison: maybe-all-build-texinfo
35411 all-diff: maybe-all-intl
35412 all-diff: maybe-all-build-texinfo
35413 all-fileutils: maybe-all-intl
35414 all-fileutils: maybe-all-build-texinfo
35415 all-flex: maybe-all-build-bison
35416 all-flex: maybe-all-build-byacc
35417 all-flex: maybe-all-intl
35418 all-flex: maybe-all-m4
35419 all-flex: maybe-all-build-texinfo
35420 all-gzip: maybe-all-intl
35421 all-gzip: maybe-all-zlib
35422 all-gzip: maybe-all-build-texinfo
35423 all-hello: maybe-all-intl
35424 all-hello: maybe-all-build-texinfo
35425 all-m4: maybe-all-intl
35426 all-m4: maybe-all-build-texinfo
35427 all-make: maybe-all-intl
35428 all-make: maybe-all-build-texinfo
35429 all-patch: maybe-all-build-texinfo
35430 all-make: maybe-all-build-texinfo
35431 all-prms: maybe-all-libiberty
35432 all-recode: maybe-all-build-texinfo
35433 all-sed: maybe-all-build-texinfo
35434 all-send-pr: maybe-all-prms
35435 all-tar: maybe-all-build-texinfo
35436 all-uudecode: maybe-all-build-texinfo
35437 configure-target-boehm-gc: maybe-configure-target-qthreads
35438 configure-target-fastjar: maybe-configure-target-zlib
35439 all-target-fastjar: maybe-all-target-zlib
35440 all-target-fastjar: maybe-all-target-libiberty
35441 configure-target-libjava: maybe-configure-target-zlib
35442 configure-target-libjava: maybe-configure-target-boehm-gc
35443 configure-target-libjava: maybe-configure-target-qthreads
35444 configure-target-libjava: maybe-configure-target-libffi
35445 all-target-libjava: maybe-all-fastjar
35446 all-target-libjava: maybe-all-target-zlib
35447 all-target-libjava: maybe-all-target-boehm-gc
35448 all-target-libjava: maybe-all-target-qthreads
35449 all-target-libjava: maybe-all-target-libffi
35450 all-target-libobjc: maybe-all-target-libiberty
35451 all-target-libstdc++-v3: maybe-all-target-libiberty
35452 all-target-libgloss: maybe-configure-target-newlib
35453 all-target-winsup: maybe-all-target-libiberty
35454 all-target-winsup: maybe-all-target-libtermcap
35457 # Non-toplevel bootstrap rules must depend on several packages, to be built
35458 # before gcc. Another wart that will go away, hopefully soon.
35459 @if gcc-no-bootstrap
35461 all-prebootstrap: maybe-all-bfd
35462 all-prebootstrap: maybe-all-opcodes
35463 all-prebootstrap: maybe-all-binutils
35464 all-prebootstrap: maybe-all-gas
35465 all-prebootstrap: maybe-all-intl
35466 all-prebootstrap: maybe-all-ld
35467 all-prebootstrap: maybe-all-libcpp
35468 all-prebootstrap: maybe-all-libiberty
35469 all-prebootstrap: maybe-all-zlib
35470 @endif gcc-no-bootstrap
35473 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
35475 # Serialization dependencies. Host configures don't work well in parallel to
35476 # each other, due to contention over config.cache. Target configures and
35477 # build configures are similar.
35478 @serialization_dependencies@
35480 # --------------------------------
35481 # Regenerating top level configury
35482 # --------------------------------
35484 # Multilib.out tells target dirs what multilibs they should build.
35485 # There is really only one copy. We use the 'timestamp' method to
35486 # work around various timestamp bugs on some systems.
35487 # We use move-if-change so that it's only considered updated when it
35488 # actually changes, because it has to depend on a phony target.
35489 multilib.out: maybe-all-gcc
35490 @r=`${PWD_COMMAND}`; export r; \
35491 echo "Checking multilib configuration..."; \
35492 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
35493 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
35495 # Rebuilding Makefile.in, using autogen.
35497 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
35498 cd $(srcdir) && $(AUTOGEN) Makefile.def
35500 # Rebuilding Makefile.
35501 Makefile: $(srcdir)/Makefile.in config.status
35502 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
35504 config.status: configure
35505 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
35507 # Rebuilding configure.
35508 AUTOCONF = autoconf
35509 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
35510 cd $(srcdir) && $(AUTOCONF)
35512 # ------------------------------
35513 # Special directives to GNU Make
35514 # ------------------------------
35516 # Don't pass command-line variables to submakes.
35520 # end of Makefile.in