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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 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 the list of directories to be built for the build system.
88 BUILD_CONFIGDIRS = libiberty
89 # Build programs are put under this directory.
90 BUILD_SUBDIR = @build_subdir@
91 # This is set by the configure script to the arguments to use when configuring
92 # directories built for the build system.
93 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
95 # This is the list of variables to export in the environment when
96 # configuring any subdirectory. It must also be exported whenever
97 # recursing into a build directory in case that directory's Makefile
100 FLEX="$(FLEX)"; export FLEX; \
101 LEX="$(LEX)"; export LEX; \
102 BISON="$(BISON)"; export BISON; \
103 YACC="$(YACC)"; export YACC; \
104 M4="$(M4)"; export M4; \
105 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
107 # This is the list of variables to export in the environment when
108 # configuring subdirectories for the build system.
111 AR="$(AR_FOR_BUILD)"; export AR; \
112 AS="$(AS_FOR_BUILD)"; export AS; \
113 CC="$(CC_FOR_BUILD)"; export CC; \
114 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
115 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
116 CXX="$(CXX_FOR_BUILD)"; export CXX; \
117 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
118 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
119 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
120 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
121 LD="$(LD_FOR_BUILD)"; export LD; \
122 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
123 NM="$(NM_FOR_BUILD)"; export NM; \
124 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
125 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
127 # This is the list of directories to built for the host system.
128 SUBDIRS = @configdirs@
129 # This is set by the configure script to the arguments to use when configuring
130 # directories built for the host system.
131 HOST_CONFIGARGS = @host_configargs@
132 # Host programs are put under this directory, which is . except if building
134 HOST_SUBDIR = @host_subdir@
135 # This is the list of variables to export in the environment when
136 # configuring subdirectories for the host system.
139 CC="$(CC)"; export CC; \
140 CFLAGS="$(CFLAGS)"; export CFLAGS; \
141 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
142 CXX="$(CXX)"; export CXX; \
143 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
144 AR="$(AR)"; export AR; \
145 AS="$(AS)"; export AS; \
146 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
147 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
148 LD="$(LD)"; export LD; \
149 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
150 NM="$(NM)"; export NM; \
151 RANLIB="$(RANLIB)"; export RANLIB; \
152 WINDRES="$(WINDRES)"; export WINDRES; \
153 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
154 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
155 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
156 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
157 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
159 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
161 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
163 # Similar, for later GCC stages.
164 POSTSTAGE1_HOST_EXPORTS = \
166 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
167 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
168 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \
169 $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
170 -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
171 -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
173 # This is set by the configure script to the list of directories which
174 # should be built using the target tools.
175 TARGET_CONFIGDIRS = @target_configdirs@
176 # Target libraries are put under this directory:
177 TARGET_SUBDIR = @target_subdir@
178 # This is set by the configure script to the arguments to use when configuring
179 # directories built for the target.
180 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
181 # This is the list of variables to export in the environment when
182 # configuring subdirectories for the host system.
183 BASE_TARGET_EXPORTS = \
185 AR="$(AR_FOR_TARGET)"; export AR; \
186 AS="$(AS_FOR_TARGET)"; export AS; \
187 CC="$(CC_FOR_TARGET)"; export CC; \
188 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
189 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
190 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
191 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
192 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
193 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
194 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
195 LD="$(LD_FOR_TARGET)"; export LD; \
196 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
197 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
198 NM="$(NM_FOR_TARGET)"; export NM; \
199 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
200 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
201 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
202 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
203 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
205 RAW_CXX_TARGET_EXPORTS = \
206 $(BASE_TARGET_EXPORTS) \
207 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
208 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
210 NORMAL_TARGET_EXPORTS = \
211 $(BASE_TARGET_EXPORTS) \
212 CXX="$(CXX_FOR_TARGET)"; export CXX;
215 HOST_GMPLIBS = @gmplibs@
216 HOST_GMPINC = @gmpinc@
218 # ----------------------------------------------
219 # Programs producing files for the BUILD machine
220 # ----------------------------------------------
222 SHELL = @config_shell@
224 # pwd command to use. Allow user to override default by setting PWDCMD in
225 # the environment to account for automounters. The make variable must not
226 # be called PWDCMD, otherwise the value set here is passed to make
227 # subprocesses and overrides the setting from the user's environment.
228 # Don't use PWD since it is a common shell environment variable and we
229 # don't want to corrupt it.
230 PWD_COMMAND = $${PWDCMD-pwd}
232 # compilers to use to create programs which must be run in the build
234 CC_FOR_BUILD = @CC_FOR_BUILD@
235 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
237 CXX_FOR_BUILD = $(CXX)
239 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
240 # here so that they can be overridden by Makefile fragments.
241 BUILD_PREFIX = @BUILD_PREFIX@
242 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
244 # Flags to pass to stage2 and later makes. They are defined
245 # here so that they can be overridden by Makefile fragments.
248 CONFIGURED_BISON = @CONFIGURED_BISON@
249 BISON = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
250 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison ; \
252 echo ${CONFIGURED_BISON} ; \
255 CONFIGURED_YACC = @CONFIGURED_YACC@
256 YACC = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
257 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison -y ; \
258 elif [ -f $$r/$(BUILD_SUBDIR)/byacc/byacc ] ; then \
259 echo $$r/$(BUILD_SUBDIR)/byacc/byacc ; \
261 echo ${CONFIGURED_YACC} ; \
264 CONFIGURED_FLEX = @CONFIGURED_FLEX@
265 FLEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
266 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
267 else echo ${CONFIGURED_FLEX} ; fi`
269 CONFIGURED_LEX = @CONFIGURED_LEX@
270 LEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
271 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
272 else echo ${CONFIGURED_LEX} ; fi`
274 CONFIGURED_M4 = @CONFIGURED_M4@
275 M4 = `if [ -f $$r/$(BUILD_SUBDIR)/m4/m4 ] ; \
276 then echo $$r/$(BUILD_SUBDIR)/m4/m4 ; \
277 else echo ${CONFIGURED_M4} ; fi`
279 # For an installed makeinfo, we require it to be from texinfo 4.2 or
280 # higher, else we use the "missing" dummy. We also pass the subdirectory
281 # makeinfo even if only the Makefile is there, because Texinfo builds its
282 # manual when made, and it requires its own version.
283 CONFIGURED_MAKEINFO = @CONFIGURED_MAKEINFO@
284 MAKEINFO = `if [ -f $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/Makefile ] ; \
285 then echo $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo ; \
286 else if (${CONFIGURED_MAKEINFO} --version \
287 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
288 then echo ${CONFIGURED_MAKEINFO}; else echo $$s/missing makeinfo; fi; fi`
290 # This just becomes part of the MAKEINFO definition passed down to
291 # sub-makes. It lets flags be given on the command line while still
292 # using the makeinfo from the object tree.
293 # (Default to avoid splitting info files by setting the threshold high.)
294 MAKEINFOFLAGS = --split-size=5000000
296 # FIXME: expect may become a build tool?
297 EXPECT = `if [ -f $$r/$(HOST_SUBDIR)/expect/expect ] ; \
298 then echo $$r/$(HOST_SUBDIR)/expect/expect ; \
299 else echo expect ; fi`
301 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
302 then echo $$s/dejagnu/runtest ; \
303 else echo runtest ; fi`
305 # ---------------------------------------------
306 # Programs producing files for the HOST machine
307 # ---------------------------------------------
316 LIBCFLAGS = $(CFLAGS)
319 CXXFLAGS = @CXXFLAGS@
320 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
335 # -----------------------------------------------
336 # Programs producing files for the TARGET machine
337 # -----------------------------------------------
339 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
341 AR_FOR_TARGET=@AR_FOR_TARGET@
342 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
343 USUAL_AR_FOR_TARGET = ` \
344 if [ -f $$r/$(HOST_SUBDIR)/binutils/ar ] ; then \
345 echo $$r/$(HOST_SUBDIR)/binutils/ar ; \
347 if [ '$(host)' = '$(target)' ] ; then \
350 echo $(CONFIGURED_AR_FOR_TARGET) ; \
354 AS_FOR_TARGET=@AS_FOR_TARGET@
355 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
356 USUAL_AS_FOR_TARGET = ` \
357 if [ -f $$r/$(HOST_SUBDIR)/gas/as-new ] ; then \
358 echo $$r/$(HOST_SUBDIR)/gas/as-new ; \
359 elif [ -f $$r/$(HOST_SUBDIR)/gcc/as ]; then \
360 echo $$r/$(HOST_SUBDIR)/gcc/as ; \
362 if [ '$(host)' = '$(target)' ] ; then \
365 echo $(CONFIGURED_AS_FOR_TARGET) ; \
369 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
370 CONFIGURED_CC_FOR_TARGET=@CONFIGURED_CC_FOR_TARGET@
371 USUAL_CC_FOR_TARGET = ` \
372 if [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ] ; then \
373 echo $$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/ ; \
375 if [ '$(host)' = '$(target)' ] ; then \
378 echo $(CONFIGURED_CC_FOR_TARGET) ; \
382 # During gcc bootstrap, if we use some random cc for stage1 then
383 # CFLAGS will be just -g. We want to ensure that TARGET libraries
384 # (which we know are built with gcc) are built with optimizations so
385 # prepend -O2 when setting CFLAGS_FOR_TARGET.
386 CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
387 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
389 # If GCC_FOR_TARGET is not overriden on the command line, then this
390 # variable is passed down to the gcc Makefile, where it is used to
391 # build libgcc2.a. We define it here so that it can itself be
392 # overridden on the command line.
393 GCC_FOR_TARGET=@GCC_FOR_TARGET@
394 CONFIGURED_GCC_FOR_TARGET=@CONFIGURED_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=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
400 CONFIGURED_CXX_FOR_TARGET=@CONFIGURED_CXX_FOR_TARGET@
401 USUAL_CXX_FOR_TARGET = ` \
402 if [ -f $$r/$(HOST_SUBDIR)/gcc/g++ ] ; then \
403 (echo $$r/$(HOST_SUBDIR)/gcc/g++ -B$$r/$(HOST_SUBDIR)/gcc -nostdinc++; \
404 test ! -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags || $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes; \
405 echo -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs) | tr '\015\012' ' '; \
407 if [ '$(host)' = '$(target)' ] ; then \
410 echo $(CONFIGURED_CXX_FOR_TARGET) ; \
414 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
415 USUAL_RAW_CXX_FOR_TARGET = ` \
416 if [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ] ; then \
417 echo $$r/$(HOST_SUBDIR)/gcc/xgcc -shared-libgcc -B$$r/$(HOST_SUBDIR)/gcc -nostdinc++ -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs; \
419 if [ '$(host)' = '$(target)' ] ; then \
422 echo $(CONFIGURED_CXX_FOR_TARGET) ; \
426 CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
427 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
429 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ $(FLAGS_FOR_TARGET)
430 CONFIGURED_GCJ_FOR_TARGET=@CONFIGURED_GCJ_FOR_TARGET@
431 USUAL_GCJ_FOR_TARGET = ` \
432 if [ -f $$r/$(HOST_SUBDIR)/gcc/gcj ] ; then \
433 echo $$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc ; \
435 if [ '$(host)' = '$(target)' ] ; then \
438 echo $(CONFIGURED_GCJ_FOR_TARGET) ; \
442 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ $(FLAGS_FOR_TARGET)
443 CONFIGURED_GFORTRAN_FOR_TARGET=@CONFIGURED_GFORTRAN_FOR_TARGET@
444 USUAL_GFORTRAN_FOR_TARGET = ` \
445 if [ -f $$r/$(HOST_SUBDIR)/gcc/gfortran ] ; then \
446 echo $$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc ; \
448 if [ '$(host)' = '$(target)' ] ; then \
451 echo $(CONFIGURED_GFORTRAN_FOR_TARGET) ; \
456 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
457 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
458 USUAL_DLLTOOL_FOR_TARGET = ` \
459 if [ -f $$r/$(HOST_SUBDIR)/binutils/dlltool ] ; then \
460 echo $$r/$(HOST_SUBDIR)/binutils/dlltool ; \
462 if [ '$(host)' = '$(target)' ] ; then \
465 echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
469 LD_FOR_TARGET=@LD_FOR_TARGET@
470 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
471 USUAL_LD_FOR_TARGET = ` \
472 if [ -f $$r/$(HOST_SUBDIR)/ld/ld-new ] ; then \
473 echo $$r/$(HOST_SUBDIR)/ld/ld-new ; \
474 elif [ -f $$r/$(HOST_SUBDIR)/gcc/collect-ld ]; then \
475 echo $$r/$(HOST_SUBDIR)/gcc/collect-ld ; \
477 if [ '$(host)' = '$(target)' ] ; then \
480 echo $(CONFIGURED_LD_FOR_TARGET) ; \
486 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
487 CONFIGURED_LIPO_FOR_TARGET=@CONFIGURED_LIPO_FOR_TARGET@
488 USUAL_LIPO_FOR_TARGET = ` \
489 if [ '$(host)' = '$(target)' ] ; then \
490 if [ x'$(LIPO)' != x ]; then \
496 echo $(CONFIGURED_LIPO_FOR_TARGET) ; \
499 NM_FOR_TARGET=@NM_FOR_TARGET@
500 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
501 USUAL_NM_FOR_TARGET = ` \
502 if [ -f $$r/$(HOST_SUBDIR)/binutils/nm-new ] ; then \
503 echo $$r/$(HOST_SUBDIR)/binutils/nm-new ; \
504 elif [ -f $$r/$(HOST_SUBDIR)/gcc/nm ]; then \
505 echo $$r/$(HOST_SUBDIR)/gcc/nm ; \
507 if [ '$(host)' = '$(target)' ] ; then \
510 echo $(CONFIGURED_NM_FOR_TARGET) ; \
514 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
515 CONFIGURED_OBJDUMP_FOR_TARGET=@CONFIGURED_OBJDUMP_FOR_TARGET@
516 USUAL_OBJDUMP_FOR_TARGET = ` \
517 if [ -f $$r/$(HOST_SUBDIR)/binutils/objdump ] ; then \
518 echo $$r/$(HOST_SUBDIR)/binutils/objdump ; \
520 if [ '$(host)' = '$(target)' ] ; then \
521 if [ x'$(OBJDUMP)' != x ]; then \
527 echo $(CONFIGURED_OBJDUMP_FOR_TARGET) ; \
531 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
532 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
533 USUAL_RANLIB_FOR_TARGET = ` \
534 if [ -f $$r/$(HOST_SUBDIR)/binutils/ranlib ] ; then \
535 echo $$r/$(HOST_SUBDIR)/binutils/ranlib ; \
537 if [ '$(host)' = '$(target)' ] ; then \
538 if [ x'$(RANLIB)' != x ]; then \
544 echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
548 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
549 CONFIGURED_STRIP_FOR_TARGET=@CONFIGURED_STRIP_FOR_TARGET@
550 USUAL_STRIP_FOR_TARGET = ` \
551 if [ -f $$r/$(HOST_SUBDIR)/binutils/strip ] ; then \
552 echo $$r/$(HOST_SUBDIR)/binutils/strip ; \
554 if [ '$(host)' = '$(target)' ] ; then \
555 if [ x'$(STRIP)' != x ]; then \
561 echo $(CONFIGURED_STRIP_FOR_TARGET) ; \
565 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
566 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
567 USUAL_WINDRES_FOR_TARGET = ` \
568 if [ -f $$r/$(HOST_SUBDIR)/binutils/windres ] ; then \
569 echo $$r/$(HOST_SUBDIR)/binutils/windres ; \
571 if [ '$(host)' = '$(target)' ] ; then \
574 echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
580 # ------------------------------------
581 # Miscellaneous targets and flag lists
582 # ------------------------------------
584 # The first rule in the file had better be this one. Don't put any above it.
585 # This lives here to allow makefile fragments to contain dependencies.
588 #### host and target specific makefile fragments come in here.
589 @target_makefile_frag@
595 # This is the list of directories that may be needed in RPATH_ENVVAR
596 # so that prorgams built for the target machine work.
597 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(HOST_LIB_PATH_gcc)
599 @if target-libstdc++-v3
600 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
601 @endif target-libstdc++-v3
603 @if target-libmudflap
604 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
605 @endif target-libmudflap
608 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
613 # This is the list of directories that may be needed in RPATH_ENVVAR
614 # so that programs built for the host machine work.
615 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)
617 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
619 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
624 HOST_LIB_PATH_bfd = \
625 $$r/$(HOST_SUBDIR)/bfd/.:$$r/$(HOST_SUBDIR)/prev-bfd/.:
629 HOST_LIB_PATH_opcodes = \
630 $$r/$(HOST_SUBDIR)/opcodes/.:$$r/$(HOST_SUBDIR)/prev-opcodes/.:
634 # Flags to pass down to all sub-makes.
635 BASE_FLAGS_TO_PASS = \
636 "DESTDIR=$(DESTDIR)" \
637 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
638 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
640 "datadir=$(datadir)" \
641 "exec_prefix=$(exec_prefix)" \
642 "includedir=$(includedir)" \
643 "infodir=$(infodir)" \
645 "libexecdir=$(libexecdir)" \
646 "lispdir=$(lispdir)" \
647 "localstatedir=$(localstatedir)" \
649 "oldincludedir=$(oldincludedir)" \
651 "sbindir=$(sbindir)" \
652 "sharedstatedir=$(sharedstatedir)" \
653 "sysconfdir=$(sysconfdir)" \
654 "tooldir=$(tooldir)" \
655 "build_tooldir=$(build_tooldir)" \
656 "target_alias=$(target_alias)" \
658 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
659 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
660 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
663 "INSTALL=$(INSTALL)" \
664 "INSTALL_DATA=$(INSTALL_DATA)" \
665 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
666 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
670 "RUNTEST=$(RUNTEST)" \
671 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
674 "AR_FLAGS=$(AR_FLAGS)" \
676 "CXXFLAGS=$(CXXFLAGS)" \
677 "LDFLAGS=$(LDFLAGS)" \
678 "LIBCFLAGS=$(LIBCFLAGS)" \
679 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
680 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
681 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
682 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
683 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
684 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
685 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
686 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
687 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
688 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
689 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
690 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
691 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
692 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
693 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
694 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
695 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
696 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
697 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
698 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
699 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
700 "CONFIG_SHELL=$(SHELL)" \
701 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
703 # We leave this in just in case, but it is not needed anymore.
704 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
706 # Flags to pass down to most sub-makes, in which we're building with
707 # the host environment.
713 'DLLTOOL=$(DLLTOOL)' \
719 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
721 # Flags that are concerned with the location of the X11 include files
724 # NOTE: until the top-level is getting the values via autoconf, it only
725 # causes problems to have this top-level Makefile overriding the autoconf-set
726 # values in child directories. Only variables that don't conflict with
727 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
729 X11_FLAGS_TO_PASS = \
730 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
731 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
733 # Flags to pass down to makes which are built with the target environment.
734 # The double $ decreases the length of the command line; the variables
735 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
736 EXTRA_TARGET_FLAGS = \
737 'AR=$$(AR_FOR_TARGET)' \
738 'AS=$$(AS_FOR_TARGET)' \
739 'CC=$$(CC_FOR_TARGET)' \
740 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
741 'CXX=$$(CXX_FOR_TARGET)' \
742 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
743 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
744 'LD=$$(LD_FOR_TARGET)' \
745 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
746 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
747 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
748 'NM=$$(NM_FOR_TARGET)' \
749 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
750 'RANLIB=$$(RANLIB_FOR_TARGET)' \
751 'WINDRES=$$(WINDRES_FOR_TARGET)'
753 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
755 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
756 # unfortunately needs the native compiler and the target ar and
758 # If any variables are added here, they must be added to do-*, below.
759 # The BUILD_* variables are a special case, which are used for the gcc
760 # cross-building scheme.
762 'BUILD_PREFIX=$(BUILD_PREFIX)' \
763 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
764 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
765 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
766 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
767 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
768 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
769 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
770 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
771 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
772 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
773 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
775 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
777 .PHONY: configure-host
779 maybe-configure-ash \
780 maybe-configure-autoconf \
781 maybe-configure-automake \
782 maybe-configure-bash \
783 maybe-configure-bfd \
784 maybe-configure-opcodes \
785 maybe-configure-binutils \
786 maybe-configure-bison \
787 maybe-configure-byacc \
788 maybe-configure-bzip2 \
789 maybe-configure-dejagnu \
790 maybe-configure-diff \
791 maybe-configure-dosutils \
792 maybe-configure-etc \
793 maybe-configure-fastjar \
794 maybe-configure-fileutils \
795 maybe-configure-findutils \
796 maybe-configure-find \
797 maybe-configure-fixincludes \
798 maybe-configure-flex \
799 maybe-configure-gas \
800 maybe-configure-gcc \
801 maybe-configure-gawk \
802 maybe-configure-gettext \
803 maybe-configure-gnuserv \
804 maybe-configure-gprof \
805 maybe-configure-gzip \
806 maybe-configure-hello \
807 maybe-configure-indent \
808 maybe-configure-intl \
809 maybe-configure-tcl \
810 maybe-configure-itcl \
812 maybe-configure-libcpp \
813 maybe-configure-libgui \
814 maybe-configure-libiberty \
815 maybe-configure-libtool \
817 maybe-configure-make \
818 maybe-configure-mmalloc \
819 maybe-configure-patch \
820 maybe-configure-perl \
821 maybe-configure-prms \
822 maybe-configure-rcs \
823 maybe-configure-readline \
824 maybe-configure-release \
825 maybe-configure-recode \
826 maybe-configure-sed \
827 maybe-configure-send-pr \
828 maybe-configure-shellutils \
829 maybe-configure-sid \
830 maybe-configure-sim \
831 maybe-configure-tar \
832 maybe-configure-texinfo \
833 maybe-configure-textutils \
834 maybe-configure-time \
835 maybe-configure-uudecode \
836 maybe-configure-wdiff \
837 maybe-configure-zip \
838 maybe-configure-zlib \
839 maybe-configure-gdb \
840 maybe-configure-expect \
841 maybe-configure-guile \
843 maybe-configure-libtermcap \
844 maybe-configure-utils \
845 maybe-configure-gnattools
846 .PHONY: configure-target
848 maybe-configure-target-libstdc++-v3 \
849 maybe-configure-target-libmudflap \
850 maybe-configure-target-libssp \
851 maybe-configure-target-newlib \
852 maybe-configure-target-libgfortran \
853 maybe-configure-target-libobjc \
854 maybe-configure-target-libtermcap \
855 maybe-configure-target-winsup \
856 maybe-configure-target-libgloss \
857 maybe-configure-target-libiberty \
858 maybe-configure-target-gperf \
859 maybe-configure-target-examples \
860 maybe-configure-target-libffi \
861 maybe-configure-target-libjava \
862 maybe-configure-target-zlib \
863 maybe-configure-target-boehm-gc \
864 maybe-configure-target-qthreads \
865 maybe-configure-target-rda \
866 maybe-configure-target-libada
868 # The target built for a native non-bootstrap build.
872 @r=`${PWD_COMMAND}`; export r; \
873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
874 if [ ! -f stage_last ]; then \
875 $(MAKE) $(RECURSE_FLAGS_TO_PASS) bootstrap; \
880 @r=`${PWD_COMMAND}`; export r; \
881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
882 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-prebootstrap
883 @endif gcc-no-bootstrap
884 @r=`${PWD_COMMAND}`; export r; \
885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
886 if [ -f stage_last ]; then \
887 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host; \
889 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host; \
891 @r=`${PWD_COMMAND}`; export r; \
892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
893 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-target
898 maybe-all-build-libiberty \
899 maybe-all-build-bison \
900 maybe-all-build-byacc \
901 maybe-all-build-flex \
903 maybe-all-build-texinfo \
904 maybe-all-build-fixincludes
922 maybe-all-fileutils \
923 maybe-all-findutils \
925 maybe-all-fixincludes \
942 maybe-all-libiberty \
956 maybe-all-shellutils \
961 maybe-all-textutils \
971 maybe-all-libtermcap \
976 maybe-all-target-libstdc++-v3 \
977 maybe-all-target-libmudflap \
978 maybe-all-target-libssp \
979 maybe-all-target-newlib \
980 maybe-all-target-libgfortran \
981 maybe-all-target-libobjc \
982 maybe-all-target-libtermcap \
983 maybe-all-target-winsup \
984 maybe-all-target-libgloss \
985 maybe-all-target-libiberty \
986 maybe-all-target-gperf \
987 maybe-all-target-examples \
988 maybe-all-target-libffi \
989 maybe-all-target-libjava \
990 maybe-all-target-zlib \
991 maybe-all-target-boehm-gc \
992 maybe-all-target-qthreads \
993 maybe-all-target-rda \
994 maybe-all-target-libada
996 # Do a target for all the subdirectories. A ``make do-X'' will do a
997 # ``make X'' in all subdirectories (because, in general, there is a
998 # dependency (below) of X upon do-X, a ``make X'' will also do this,
999 # but it may do additional work as well).
1004 @r=`${PWD_COMMAND}`; export r; \
1005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1006 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1014 maybe-info-autoconf \
1015 maybe-info-automake \
1018 maybe-info-opcodes \
1019 maybe-info-binutils \
1023 maybe-info-dejagnu \
1025 maybe-info-dosutils \
1027 maybe-info-fastjar \
1028 maybe-info-fileutils \
1029 maybe-info-findutils \
1031 maybe-info-fixincludes \
1036 maybe-info-gettext \
1037 maybe-info-gnuserv \
1048 maybe-info-libiberty \
1049 maybe-info-libtool \
1052 maybe-info-mmalloc \
1057 maybe-info-readline \
1058 maybe-info-release \
1061 maybe-info-send-pr \
1062 maybe-info-shellutils \
1066 maybe-info-texinfo \
1067 maybe-info-textutils \
1069 maybe-info-uudecode \
1077 maybe-info-libtermcap \
1079 maybe-info-gnattools
1083 maybe-info-target-libstdc++-v3 \
1084 maybe-info-target-libmudflap \
1085 maybe-info-target-libssp \
1086 maybe-info-target-newlib \
1087 maybe-info-target-libgfortran \
1088 maybe-info-target-libobjc \
1089 maybe-info-target-libtermcap \
1090 maybe-info-target-winsup \
1091 maybe-info-target-libgloss \
1092 maybe-info-target-libiberty \
1093 maybe-info-target-gperf \
1094 maybe-info-target-examples \
1095 maybe-info-target-libffi \
1096 maybe-info-target-libjava \
1097 maybe-info-target-zlib \
1098 maybe-info-target-boehm-gc \
1099 maybe-info-target-qthreads \
1100 maybe-info-target-rda \
1101 maybe-info-target-libada
1106 @r=`${PWD_COMMAND}`; export r; \
1107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1108 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1116 maybe-dvi-autoconf \
1117 maybe-dvi-automake \
1121 maybe-dvi-binutils \
1127 maybe-dvi-dosutils \
1130 maybe-dvi-fileutils \
1131 maybe-dvi-findutils \
1133 maybe-dvi-fixincludes \
1150 maybe-dvi-libiberty \
1159 maybe-dvi-readline \
1164 maybe-dvi-shellutils \
1169 maybe-dvi-textutils \
1171 maybe-dvi-uudecode \
1179 maybe-dvi-libtermcap \
1185 maybe-dvi-target-libstdc++-v3 \
1186 maybe-dvi-target-libmudflap \
1187 maybe-dvi-target-libssp \
1188 maybe-dvi-target-newlib \
1189 maybe-dvi-target-libgfortran \
1190 maybe-dvi-target-libobjc \
1191 maybe-dvi-target-libtermcap \
1192 maybe-dvi-target-winsup \
1193 maybe-dvi-target-libgloss \
1194 maybe-dvi-target-libiberty \
1195 maybe-dvi-target-gperf \
1196 maybe-dvi-target-examples \
1197 maybe-dvi-target-libffi \
1198 maybe-dvi-target-libjava \
1199 maybe-dvi-target-zlib \
1200 maybe-dvi-target-boehm-gc \
1201 maybe-dvi-target-qthreads \
1202 maybe-dvi-target-rda \
1203 maybe-dvi-target-libada
1208 @r=`${PWD_COMMAND}`; export r; \
1209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1210 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1218 maybe-html-autoconf \
1219 maybe-html-automake \
1222 maybe-html-opcodes \
1223 maybe-html-binutils \
1227 maybe-html-dejagnu \
1229 maybe-html-dosutils \
1231 maybe-html-fastjar \
1232 maybe-html-fileutils \
1233 maybe-html-findutils \
1235 maybe-html-fixincludes \
1240 maybe-html-gettext \
1241 maybe-html-gnuserv \
1252 maybe-html-libiberty \
1253 maybe-html-libtool \
1256 maybe-html-mmalloc \
1261 maybe-html-readline \
1262 maybe-html-release \
1265 maybe-html-send-pr \
1266 maybe-html-shellutils \
1270 maybe-html-texinfo \
1271 maybe-html-textutils \
1273 maybe-html-uudecode \
1281 maybe-html-libtermcap \
1283 maybe-html-gnattools
1287 maybe-html-target-libstdc++-v3 \
1288 maybe-html-target-libmudflap \
1289 maybe-html-target-libssp \
1290 maybe-html-target-newlib \
1291 maybe-html-target-libgfortran \
1292 maybe-html-target-libobjc \
1293 maybe-html-target-libtermcap \
1294 maybe-html-target-winsup \
1295 maybe-html-target-libgloss \
1296 maybe-html-target-libiberty \
1297 maybe-html-target-gperf \
1298 maybe-html-target-examples \
1299 maybe-html-target-libffi \
1300 maybe-html-target-libjava \
1301 maybe-html-target-zlib \
1302 maybe-html-target-boehm-gc \
1303 maybe-html-target-qthreads \
1304 maybe-html-target-rda \
1305 maybe-html-target-libada
1310 @r=`${PWD_COMMAND}`; export r; \
1311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1312 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1320 maybe-TAGS-autoconf \
1321 maybe-TAGS-automake \
1324 maybe-TAGS-opcodes \
1325 maybe-TAGS-binutils \
1329 maybe-TAGS-dejagnu \
1331 maybe-TAGS-dosutils \
1333 maybe-TAGS-fastjar \
1334 maybe-TAGS-fileutils \
1335 maybe-TAGS-findutils \
1337 maybe-TAGS-fixincludes \
1342 maybe-TAGS-gettext \
1343 maybe-TAGS-gnuserv \
1354 maybe-TAGS-libiberty \
1355 maybe-TAGS-libtool \
1358 maybe-TAGS-mmalloc \
1363 maybe-TAGS-readline \
1364 maybe-TAGS-release \
1367 maybe-TAGS-send-pr \
1368 maybe-TAGS-shellutils \
1372 maybe-TAGS-texinfo \
1373 maybe-TAGS-textutils \
1375 maybe-TAGS-uudecode \
1383 maybe-TAGS-libtermcap \
1385 maybe-TAGS-gnattools
1389 maybe-TAGS-target-libstdc++-v3 \
1390 maybe-TAGS-target-libmudflap \
1391 maybe-TAGS-target-libssp \
1392 maybe-TAGS-target-newlib \
1393 maybe-TAGS-target-libgfortran \
1394 maybe-TAGS-target-libobjc \
1395 maybe-TAGS-target-libtermcap \
1396 maybe-TAGS-target-winsup \
1397 maybe-TAGS-target-libgloss \
1398 maybe-TAGS-target-libiberty \
1399 maybe-TAGS-target-gperf \
1400 maybe-TAGS-target-examples \
1401 maybe-TAGS-target-libffi \
1402 maybe-TAGS-target-libjava \
1403 maybe-TAGS-target-zlib \
1404 maybe-TAGS-target-boehm-gc \
1405 maybe-TAGS-target-qthreads \
1406 maybe-TAGS-target-rda \
1407 maybe-TAGS-target-libada
1409 .PHONY: do-install-info
1412 @r=`${PWD_COMMAND}`; export r; \
1413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1414 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1419 .PHONY: install-info-host
1420 install-info-host: \
1421 maybe-install-info-ash \
1422 maybe-install-info-autoconf \
1423 maybe-install-info-automake \
1424 maybe-install-info-bash \
1425 maybe-install-info-bfd \
1426 maybe-install-info-opcodes \
1427 maybe-install-info-binutils \
1428 maybe-install-info-bison \
1429 maybe-install-info-byacc \
1430 maybe-install-info-bzip2 \
1431 maybe-install-info-dejagnu \
1432 maybe-install-info-diff \
1433 maybe-install-info-dosutils \
1434 maybe-install-info-etc \
1435 maybe-install-info-fastjar \
1436 maybe-install-info-fileutils \
1437 maybe-install-info-findutils \
1438 maybe-install-info-find \
1439 maybe-install-info-fixincludes \
1440 maybe-install-info-flex \
1441 maybe-install-info-gas \
1442 maybe-install-info-gcc \
1443 maybe-install-info-gawk \
1444 maybe-install-info-gettext \
1445 maybe-install-info-gnuserv \
1446 maybe-install-info-gprof \
1447 maybe-install-info-gzip \
1448 maybe-install-info-hello \
1449 maybe-install-info-indent \
1450 maybe-install-info-intl \
1451 maybe-install-info-tcl \
1452 maybe-install-info-itcl \
1453 maybe-install-info-ld \
1454 maybe-install-info-libcpp \
1455 maybe-install-info-libgui \
1456 maybe-install-info-libiberty \
1457 maybe-install-info-libtool \
1458 maybe-install-info-m4 \
1459 maybe-install-info-make \
1460 maybe-install-info-mmalloc \
1461 maybe-install-info-patch \
1462 maybe-install-info-perl \
1463 maybe-install-info-prms \
1464 maybe-install-info-rcs \
1465 maybe-install-info-readline \
1466 maybe-install-info-release \
1467 maybe-install-info-recode \
1468 maybe-install-info-sed \
1469 maybe-install-info-send-pr \
1470 maybe-install-info-shellutils \
1471 maybe-install-info-sid \
1472 maybe-install-info-sim \
1473 maybe-install-info-tar \
1474 maybe-install-info-texinfo \
1475 maybe-install-info-textutils \
1476 maybe-install-info-time \
1477 maybe-install-info-uudecode \
1478 maybe-install-info-wdiff \
1479 maybe-install-info-zip \
1480 maybe-install-info-zlib \
1481 maybe-install-info-gdb \
1482 maybe-install-info-expect \
1483 maybe-install-info-guile \
1484 maybe-install-info-tk \
1485 maybe-install-info-libtermcap \
1486 maybe-install-info-utils \
1487 maybe-install-info-gnattools
1489 .PHONY: install-info-target
1490 install-info-target: \
1491 maybe-install-info-target-libstdc++-v3 \
1492 maybe-install-info-target-libmudflap \
1493 maybe-install-info-target-libssp \
1494 maybe-install-info-target-newlib \
1495 maybe-install-info-target-libgfortran \
1496 maybe-install-info-target-libobjc \
1497 maybe-install-info-target-libtermcap \
1498 maybe-install-info-target-winsup \
1499 maybe-install-info-target-libgloss \
1500 maybe-install-info-target-libiberty \
1501 maybe-install-info-target-gperf \
1502 maybe-install-info-target-examples \
1503 maybe-install-info-target-libffi \
1504 maybe-install-info-target-libjava \
1505 maybe-install-info-target-zlib \
1506 maybe-install-info-target-boehm-gc \
1507 maybe-install-info-target-qthreads \
1508 maybe-install-info-target-rda \
1509 maybe-install-info-target-libada
1511 .PHONY: do-installcheck
1514 @r=`${PWD_COMMAND}`; export r; \
1515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1516 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1521 .PHONY: installcheck-host
1522 installcheck-host: \
1523 maybe-installcheck-ash \
1524 maybe-installcheck-autoconf \
1525 maybe-installcheck-automake \
1526 maybe-installcheck-bash \
1527 maybe-installcheck-bfd \
1528 maybe-installcheck-opcodes \
1529 maybe-installcheck-binutils \
1530 maybe-installcheck-bison \
1531 maybe-installcheck-byacc \
1532 maybe-installcheck-bzip2 \
1533 maybe-installcheck-dejagnu \
1534 maybe-installcheck-diff \
1535 maybe-installcheck-dosutils \
1536 maybe-installcheck-etc \
1537 maybe-installcheck-fastjar \
1538 maybe-installcheck-fileutils \
1539 maybe-installcheck-findutils \
1540 maybe-installcheck-find \
1541 maybe-installcheck-fixincludes \
1542 maybe-installcheck-flex \
1543 maybe-installcheck-gas \
1544 maybe-installcheck-gcc \
1545 maybe-installcheck-gawk \
1546 maybe-installcheck-gettext \
1547 maybe-installcheck-gnuserv \
1548 maybe-installcheck-gprof \
1549 maybe-installcheck-gzip \
1550 maybe-installcheck-hello \
1551 maybe-installcheck-indent \
1552 maybe-installcheck-intl \
1553 maybe-installcheck-tcl \
1554 maybe-installcheck-itcl \
1555 maybe-installcheck-ld \
1556 maybe-installcheck-libcpp \
1557 maybe-installcheck-libgui \
1558 maybe-installcheck-libiberty \
1559 maybe-installcheck-libtool \
1560 maybe-installcheck-m4 \
1561 maybe-installcheck-make \
1562 maybe-installcheck-mmalloc \
1563 maybe-installcheck-patch \
1564 maybe-installcheck-perl \
1565 maybe-installcheck-prms \
1566 maybe-installcheck-rcs \
1567 maybe-installcheck-readline \
1568 maybe-installcheck-release \
1569 maybe-installcheck-recode \
1570 maybe-installcheck-sed \
1571 maybe-installcheck-send-pr \
1572 maybe-installcheck-shellutils \
1573 maybe-installcheck-sid \
1574 maybe-installcheck-sim \
1575 maybe-installcheck-tar \
1576 maybe-installcheck-texinfo \
1577 maybe-installcheck-textutils \
1578 maybe-installcheck-time \
1579 maybe-installcheck-uudecode \
1580 maybe-installcheck-wdiff \
1581 maybe-installcheck-zip \
1582 maybe-installcheck-zlib \
1583 maybe-installcheck-gdb \
1584 maybe-installcheck-expect \
1585 maybe-installcheck-guile \
1586 maybe-installcheck-tk \
1587 maybe-installcheck-libtermcap \
1588 maybe-installcheck-utils \
1589 maybe-installcheck-gnattools
1591 .PHONY: installcheck-target
1592 installcheck-target: \
1593 maybe-installcheck-target-libstdc++-v3 \
1594 maybe-installcheck-target-libmudflap \
1595 maybe-installcheck-target-libssp \
1596 maybe-installcheck-target-newlib \
1597 maybe-installcheck-target-libgfortran \
1598 maybe-installcheck-target-libobjc \
1599 maybe-installcheck-target-libtermcap \
1600 maybe-installcheck-target-winsup \
1601 maybe-installcheck-target-libgloss \
1602 maybe-installcheck-target-libiberty \
1603 maybe-installcheck-target-gperf \
1604 maybe-installcheck-target-examples \
1605 maybe-installcheck-target-libffi \
1606 maybe-installcheck-target-libjava \
1607 maybe-installcheck-target-zlib \
1608 maybe-installcheck-target-boehm-gc \
1609 maybe-installcheck-target-qthreads \
1610 maybe-installcheck-target-rda \
1611 maybe-installcheck-target-libada
1613 .PHONY: do-mostlyclean
1616 @r=`${PWD_COMMAND}`; export r; \
1617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1618 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1623 .PHONY: mostlyclean-host
1625 maybe-mostlyclean-ash \
1626 maybe-mostlyclean-autoconf \
1627 maybe-mostlyclean-automake \
1628 maybe-mostlyclean-bash \
1629 maybe-mostlyclean-bfd \
1630 maybe-mostlyclean-opcodes \
1631 maybe-mostlyclean-binutils \
1632 maybe-mostlyclean-bison \
1633 maybe-mostlyclean-byacc \
1634 maybe-mostlyclean-bzip2 \
1635 maybe-mostlyclean-dejagnu \
1636 maybe-mostlyclean-diff \
1637 maybe-mostlyclean-dosutils \
1638 maybe-mostlyclean-etc \
1639 maybe-mostlyclean-fastjar \
1640 maybe-mostlyclean-fileutils \
1641 maybe-mostlyclean-findutils \
1642 maybe-mostlyclean-find \
1643 maybe-mostlyclean-fixincludes \
1644 maybe-mostlyclean-flex \
1645 maybe-mostlyclean-gas \
1646 maybe-mostlyclean-gcc \
1647 maybe-mostlyclean-gawk \
1648 maybe-mostlyclean-gettext \
1649 maybe-mostlyclean-gnuserv \
1650 maybe-mostlyclean-gprof \
1651 maybe-mostlyclean-gzip \
1652 maybe-mostlyclean-hello \
1653 maybe-mostlyclean-indent \
1654 maybe-mostlyclean-intl \
1655 maybe-mostlyclean-tcl \
1656 maybe-mostlyclean-itcl \
1657 maybe-mostlyclean-ld \
1658 maybe-mostlyclean-libcpp \
1659 maybe-mostlyclean-libgui \
1660 maybe-mostlyclean-libiberty \
1661 maybe-mostlyclean-libtool \
1662 maybe-mostlyclean-m4 \
1663 maybe-mostlyclean-make \
1664 maybe-mostlyclean-mmalloc \
1665 maybe-mostlyclean-patch \
1666 maybe-mostlyclean-perl \
1667 maybe-mostlyclean-prms \
1668 maybe-mostlyclean-rcs \
1669 maybe-mostlyclean-readline \
1670 maybe-mostlyclean-release \
1671 maybe-mostlyclean-recode \
1672 maybe-mostlyclean-sed \
1673 maybe-mostlyclean-send-pr \
1674 maybe-mostlyclean-shellutils \
1675 maybe-mostlyclean-sid \
1676 maybe-mostlyclean-sim \
1677 maybe-mostlyclean-tar \
1678 maybe-mostlyclean-texinfo \
1679 maybe-mostlyclean-textutils \
1680 maybe-mostlyclean-time \
1681 maybe-mostlyclean-uudecode \
1682 maybe-mostlyclean-wdiff \
1683 maybe-mostlyclean-zip \
1684 maybe-mostlyclean-zlib \
1685 maybe-mostlyclean-gdb \
1686 maybe-mostlyclean-expect \
1687 maybe-mostlyclean-guile \
1688 maybe-mostlyclean-tk \
1689 maybe-mostlyclean-libtermcap \
1690 maybe-mostlyclean-utils \
1691 maybe-mostlyclean-gnattools
1693 .PHONY: mostlyclean-target
1694 mostlyclean-target: \
1695 maybe-mostlyclean-target-libstdc++-v3 \
1696 maybe-mostlyclean-target-libmudflap \
1697 maybe-mostlyclean-target-libssp \
1698 maybe-mostlyclean-target-newlib \
1699 maybe-mostlyclean-target-libgfortran \
1700 maybe-mostlyclean-target-libobjc \
1701 maybe-mostlyclean-target-libtermcap \
1702 maybe-mostlyclean-target-winsup \
1703 maybe-mostlyclean-target-libgloss \
1704 maybe-mostlyclean-target-libiberty \
1705 maybe-mostlyclean-target-gperf \
1706 maybe-mostlyclean-target-examples \
1707 maybe-mostlyclean-target-libffi \
1708 maybe-mostlyclean-target-libjava \
1709 maybe-mostlyclean-target-zlib \
1710 maybe-mostlyclean-target-boehm-gc \
1711 maybe-mostlyclean-target-qthreads \
1712 maybe-mostlyclean-target-rda \
1713 maybe-mostlyclean-target-libada
1718 @r=`${PWD_COMMAND}`; export r; \
1719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1720 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1728 maybe-clean-autoconf \
1729 maybe-clean-automake \
1732 maybe-clean-opcodes \
1733 maybe-clean-binutils \
1737 maybe-clean-dejagnu \
1739 maybe-clean-dosutils \
1741 maybe-clean-fastjar \
1742 maybe-clean-fileutils \
1743 maybe-clean-findutils \
1745 maybe-clean-fixincludes \
1750 maybe-clean-gettext \
1751 maybe-clean-gnuserv \
1755 maybe-clean-indent \
1760 maybe-clean-libcpp \
1761 maybe-clean-libgui \
1762 maybe-clean-libiberty \
1763 maybe-clean-libtool \
1766 maybe-clean-mmalloc \
1771 maybe-clean-readline \
1772 maybe-clean-release \
1773 maybe-clean-recode \
1775 maybe-clean-send-pr \
1776 maybe-clean-shellutils \
1780 maybe-clean-texinfo \
1781 maybe-clean-textutils \
1783 maybe-clean-uudecode \
1788 maybe-clean-expect \
1791 maybe-clean-libtermcap \
1793 maybe-clean-gnattools
1795 .PHONY: clean-target
1797 maybe-clean-target-libstdc++-v3 \
1798 maybe-clean-target-libmudflap \
1799 maybe-clean-target-libssp \
1800 maybe-clean-target-newlib \
1801 maybe-clean-target-libgfortran \
1802 maybe-clean-target-libobjc \
1803 maybe-clean-target-libtermcap \
1804 maybe-clean-target-winsup \
1805 maybe-clean-target-libgloss \
1806 maybe-clean-target-libiberty \
1807 maybe-clean-target-gperf \
1808 maybe-clean-target-examples \
1809 maybe-clean-target-libffi \
1810 maybe-clean-target-libjava \
1811 maybe-clean-target-zlib \
1812 maybe-clean-target-boehm-gc \
1813 maybe-clean-target-qthreads \
1814 maybe-clean-target-rda \
1815 maybe-clean-target-libada
1817 .PHONY: do-distclean
1820 @r=`${PWD_COMMAND}`; export r; \
1821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1822 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1827 .PHONY: distclean-host
1829 maybe-distclean-ash \
1830 maybe-distclean-autoconf \
1831 maybe-distclean-automake \
1832 maybe-distclean-bash \
1833 maybe-distclean-bfd \
1834 maybe-distclean-opcodes \
1835 maybe-distclean-binutils \
1836 maybe-distclean-bison \
1837 maybe-distclean-byacc \
1838 maybe-distclean-bzip2 \
1839 maybe-distclean-dejagnu \
1840 maybe-distclean-diff \
1841 maybe-distclean-dosutils \
1842 maybe-distclean-etc \
1843 maybe-distclean-fastjar \
1844 maybe-distclean-fileutils \
1845 maybe-distclean-findutils \
1846 maybe-distclean-find \
1847 maybe-distclean-fixincludes \
1848 maybe-distclean-flex \
1849 maybe-distclean-gas \
1850 maybe-distclean-gcc \
1851 maybe-distclean-gawk \
1852 maybe-distclean-gettext \
1853 maybe-distclean-gnuserv \
1854 maybe-distclean-gprof \
1855 maybe-distclean-gzip \
1856 maybe-distclean-hello \
1857 maybe-distclean-indent \
1858 maybe-distclean-intl \
1859 maybe-distclean-tcl \
1860 maybe-distclean-itcl \
1861 maybe-distclean-ld \
1862 maybe-distclean-libcpp \
1863 maybe-distclean-libgui \
1864 maybe-distclean-libiberty \
1865 maybe-distclean-libtool \
1866 maybe-distclean-m4 \
1867 maybe-distclean-make \
1868 maybe-distclean-mmalloc \
1869 maybe-distclean-patch \
1870 maybe-distclean-perl \
1871 maybe-distclean-prms \
1872 maybe-distclean-rcs \
1873 maybe-distclean-readline \
1874 maybe-distclean-release \
1875 maybe-distclean-recode \
1876 maybe-distclean-sed \
1877 maybe-distclean-send-pr \
1878 maybe-distclean-shellutils \
1879 maybe-distclean-sid \
1880 maybe-distclean-sim \
1881 maybe-distclean-tar \
1882 maybe-distclean-texinfo \
1883 maybe-distclean-textutils \
1884 maybe-distclean-time \
1885 maybe-distclean-uudecode \
1886 maybe-distclean-wdiff \
1887 maybe-distclean-zip \
1888 maybe-distclean-zlib \
1889 maybe-distclean-gdb \
1890 maybe-distclean-expect \
1891 maybe-distclean-guile \
1892 maybe-distclean-tk \
1893 maybe-distclean-libtermcap \
1894 maybe-distclean-utils \
1895 maybe-distclean-gnattools
1897 .PHONY: distclean-target
1899 maybe-distclean-target-libstdc++-v3 \
1900 maybe-distclean-target-libmudflap \
1901 maybe-distclean-target-libssp \
1902 maybe-distclean-target-newlib \
1903 maybe-distclean-target-libgfortran \
1904 maybe-distclean-target-libobjc \
1905 maybe-distclean-target-libtermcap \
1906 maybe-distclean-target-winsup \
1907 maybe-distclean-target-libgloss \
1908 maybe-distclean-target-libiberty \
1909 maybe-distclean-target-gperf \
1910 maybe-distclean-target-examples \
1911 maybe-distclean-target-libffi \
1912 maybe-distclean-target-libjava \
1913 maybe-distclean-target-zlib \
1914 maybe-distclean-target-boehm-gc \
1915 maybe-distclean-target-qthreads \
1916 maybe-distclean-target-rda \
1917 maybe-distclean-target-libada
1919 .PHONY: do-maintainer-clean
1920 do-maintainer-clean:
1922 @r=`${PWD_COMMAND}`; export r; \
1923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1924 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
1925 maintainer-clean-target
1929 .PHONY: maintainer-clean-host
1930 maintainer-clean-host: \
1931 maybe-maintainer-clean-ash \
1932 maybe-maintainer-clean-autoconf \
1933 maybe-maintainer-clean-automake \
1934 maybe-maintainer-clean-bash \
1935 maybe-maintainer-clean-bfd \
1936 maybe-maintainer-clean-opcodes \
1937 maybe-maintainer-clean-binutils \
1938 maybe-maintainer-clean-bison \
1939 maybe-maintainer-clean-byacc \
1940 maybe-maintainer-clean-bzip2 \
1941 maybe-maintainer-clean-dejagnu \
1942 maybe-maintainer-clean-diff \
1943 maybe-maintainer-clean-dosutils \
1944 maybe-maintainer-clean-etc \
1945 maybe-maintainer-clean-fastjar \
1946 maybe-maintainer-clean-fileutils \
1947 maybe-maintainer-clean-findutils \
1948 maybe-maintainer-clean-find \
1949 maybe-maintainer-clean-fixincludes \
1950 maybe-maintainer-clean-flex \
1951 maybe-maintainer-clean-gas \
1952 maybe-maintainer-clean-gcc \
1953 maybe-maintainer-clean-gawk \
1954 maybe-maintainer-clean-gettext \
1955 maybe-maintainer-clean-gnuserv \
1956 maybe-maintainer-clean-gprof \
1957 maybe-maintainer-clean-gzip \
1958 maybe-maintainer-clean-hello \
1959 maybe-maintainer-clean-indent \
1960 maybe-maintainer-clean-intl \
1961 maybe-maintainer-clean-tcl \
1962 maybe-maintainer-clean-itcl \
1963 maybe-maintainer-clean-ld \
1964 maybe-maintainer-clean-libcpp \
1965 maybe-maintainer-clean-libgui \
1966 maybe-maintainer-clean-libiberty \
1967 maybe-maintainer-clean-libtool \
1968 maybe-maintainer-clean-m4 \
1969 maybe-maintainer-clean-make \
1970 maybe-maintainer-clean-mmalloc \
1971 maybe-maintainer-clean-patch \
1972 maybe-maintainer-clean-perl \
1973 maybe-maintainer-clean-prms \
1974 maybe-maintainer-clean-rcs \
1975 maybe-maintainer-clean-readline \
1976 maybe-maintainer-clean-release \
1977 maybe-maintainer-clean-recode \
1978 maybe-maintainer-clean-sed \
1979 maybe-maintainer-clean-send-pr \
1980 maybe-maintainer-clean-shellutils \
1981 maybe-maintainer-clean-sid \
1982 maybe-maintainer-clean-sim \
1983 maybe-maintainer-clean-tar \
1984 maybe-maintainer-clean-texinfo \
1985 maybe-maintainer-clean-textutils \
1986 maybe-maintainer-clean-time \
1987 maybe-maintainer-clean-uudecode \
1988 maybe-maintainer-clean-wdiff \
1989 maybe-maintainer-clean-zip \
1990 maybe-maintainer-clean-zlib \
1991 maybe-maintainer-clean-gdb \
1992 maybe-maintainer-clean-expect \
1993 maybe-maintainer-clean-guile \
1994 maybe-maintainer-clean-tk \
1995 maybe-maintainer-clean-libtermcap \
1996 maybe-maintainer-clean-utils \
1997 maybe-maintainer-clean-gnattools
1999 .PHONY: maintainer-clean-target
2000 maintainer-clean-target: \
2001 maybe-maintainer-clean-target-libstdc++-v3 \
2002 maybe-maintainer-clean-target-libmudflap \
2003 maybe-maintainer-clean-target-libssp \
2004 maybe-maintainer-clean-target-newlib \
2005 maybe-maintainer-clean-target-libgfortran \
2006 maybe-maintainer-clean-target-libobjc \
2007 maybe-maintainer-clean-target-libtermcap \
2008 maybe-maintainer-clean-target-winsup \
2009 maybe-maintainer-clean-target-libgloss \
2010 maybe-maintainer-clean-target-libiberty \
2011 maybe-maintainer-clean-target-gperf \
2012 maybe-maintainer-clean-target-examples \
2013 maybe-maintainer-clean-target-libffi \
2014 maybe-maintainer-clean-target-libjava \
2015 maybe-maintainer-clean-target-zlib \
2016 maybe-maintainer-clean-target-boehm-gc \
2017 maybe-maintainer-clean-target-qthreads \
2018 maybe-maintainer-clean-target-rda \
2019 maybe-maintainer-clean-target-libada
2022 # Here are the targets which correspond to the do-X targets.
2024 .PHONY: info installcheck dvi html install-info
2025 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2026 .PHONY: local-clean local-distclean local-maintainer-clean
2028 installcheck: do-installcheck
2032 # Make sure makeinfo is built before we do a `make info', if we're
2033 # in fact building texinfo.
2034 do-info: maybe-all-texinfo
2036 install-info: do-install-info dir.info
2037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2038 if [ -f dir.info ] ; then \
2039 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2043 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2046 -rm -f Makefile config.status config.cache mh-frag mt-frag
2047 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
2048 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2049 rm -rf $(TARGET_SUBDIR); \
2051 -rm -rf $(BUILD_SUBDIR)
2052 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2053 rm -rf $(HOST_SUBDIR); \
2055 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2056 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2057 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2058 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2059 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2061 local-maintainer-clean:
2062 @echo "This command is intended for maintainers to use;"
2063 @echo "it deletes files that may require special tools to rebuild."
2065 clean: do-clean local-clean
2066 mostlyclean: do-mostlyclean local-clean
2067 distclean: do-distclean local-clean local-distclean
2068 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2069 maintainer-clean: local-distclean
2070 realclean: maintainer-clean
2072 # Extra dependency for clean-target, owing to the mixed nature of gcc
2073 clean-target: clean-target-libgcc
2074 clean-target-libgcc:
2075 test ! -d gcc/libgcc || \
2076 (cd gcc/libgcc && find . -type d -print) | \
2077 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
2079 -rm -f gcc/stmp-dirs
2083 .PHONY: check do-check
2086 # Only include modules actually being configured and built.
2090 maybe-check-autoconf \
2091 maybe-check-automake \
2094 maybe-check-opcodes \
2095 maybe-check-binutils \
2099 maybe-check-dejagnu \
2101 maybe-check-dosutils \
2103 maybe-check-fastjar \
2104 maybe-check-fileutils \
2105 maybe-check-findutils \
2107 maybe-check-fixincludes \
2112 maybe-check-gettext \
2113 maybe-check-gnuserv \
2117 maybe-check-indent \
2122 maybe-check-libcpp \
2123 maybe-check-libgui \
2124 maybe-check-libiberty \
2125 maybe-check-libtool \
2128 maybe-check-mmalloc \
2133 maybe-check-readline \
2134 maybe-check-release \
2135 maybe-check-recode \
2137 maybe-check-send-pr \
2138 maybe-check-shellutils \
2142 maybe-check-texinfo \
2143 maybe-check-textutils \
2145 maybe-check-uudecode \
2150 maybe-check-expect \
2153 maybe-check-libtermcap \
2155 maybe-check-gnattools
2157 .PHONY: check-target
2159 maybe-check-target-libstdc++-v3 \
2160 maybe-check-target-libmudflap \
2161 maybe-check-target-libssp \
2162 maybe-check-target-newlib \
2163 maybe-check-target-libgfortran \
2164 maybe-check-target-libobjc \
2165 maybe-check-target-libtermcap \
2166 maybe-check-target-winsup \
2167 maybe-check-target-libgloss \
2168 maybe-check-target-libiberty \
2169 maybe-check-target-gperf \
2170 maybe-check-target-examples \
2171 maybe-check-target-libffi \
2172 maybe-check-target-libjava \
2173 maybe-check-target-zlib \
2174 maybe-check-target-boehm-gc \
2175 maybe-check-target-qthreads \
2176 maybe-check-target-rda \
2177 maybe-check-target-libada
2181 @r=`${PWD_COMMAND}`; export r; \
2182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2183 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2186 # Automated reporting of test results.
2188 warning.log: build.log
2189 $(srcdir)/contrib/warn_summary build.log > $@
2192 if test x'$(BOOT_CFLAGS)' != x''; then \
2193 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2195 $(srcdir)/contrib/test_summary -t >$@
2197 echo If you really want to send e-mail, run ./$@ now
2199 mail-report-with-warnings.log: warning.log
2200 if test x'$(BOOT_CFLAGS)' != x''; then \
2201 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2203 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2205 echo If you really want to send e-mail, run ./$@ now
2207 # Installation targets.
2209 .PHONY: install uninstall
2212 @r=`${PWD_COMMAND}`; export r; \
2213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2214 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2217 .PHONY: install-host-nogcc
2218 install-host-nogcc: \
2220 maybe-install-autoconf \
2221 maybe-install-automake \
2222 maybe-install-bash \
2224 maybe-install-opcodes \
2225 maybe-install-binutils \
2226 maybe-install-bison \
2227 maybe-install-byacc \
2228 maybe-install-bzip2 \
2229 maybe-install-dejagnu \
2230 maybe-install-diff \
2231 maybe-install-dosutils \
2233 maybe-install-fastjar \
2234 maybe-install-fileutils \
2235 maybe-install-findutils \
2236 maybe-install-find \
2237 maybe-install-fixincludes \
2238 maybe-install-flex \
2240 maybe-install-gawk \
2241 maybe-install-gettext \
2242 maybe-install-gnuserv \
2243 maybe-install-gprof \
2244 maybe-install-gzip \
2245 maybe-install-hello \
2246 maybe-install-indent \
2247 maybe-install-intl \
2249 maybe-install-itcl \
2251 maybe-install-libcpp \
2252 maybe-install-libgui \
2253 maybe-install-libiberty \
2254 maybe-install-libtool \
2256 maybe-install-make \
2257 maybe-install-mmalloc \
2258 maybe-install-patch \
2259 maybe-install-perl \
2260 maybe-install-prms \
2262 maybe-install-readline \
2263 maybe-install-release \
2264 maybe-install-recode \
2266 maybe-install-send-pr \
2267 maybe-install-shellutils \
2271 maybe-install-texinfo \
2272 maybe-install-textutils \
2273 maybe-install-time \
2274 maybe-install-uudecode \
2275 maybe-install-wdiff \
2277 maybe-install-zlib \
2279 maybe-install-expect \
2280 maybe-install-guile \
2282 maybe-install-libtermcap \
2283 maybe-install-utils \
2284 maybe-install-gnattools
2286 .PHONY: install-host
2289 maybe-install-autoconf \
2290 maybe-install-automake \
2291 maybe-install-bash \
2293 maybe-install-opcodes \
2294 maybe-install-binutils \
2295 maybe-install-bison \
2296 maybe-install-byacc \
2297 maybe-install-bzip2 \
2298 maybe-install-dejagnu \
2299 maybe-install-diff \
2300 maybe-install-dosutils \
2302 maybe-install-fastjar \
2303 maybe-install-fileutils \
2304 maybe-install-findutils \
2305 maybe-install-find \
2306 maybe-install-fixincludes \
2307 maybe-install-flex \
2310 maybe-install-gawk \
2311 maybe-install-gettext \
2312 maybe-install-gnuserv \
2313 maybe-install-gprof \
2314 maybe-install-gzip \
2315 maybe-install-hello \
2316 maybe-install-indent \
2317 maybe-install-intl \
2319 maybe-install-itcl \
2321 maybe-install-libcpp \
2322 maybe-install-libgui \
2323 maybe-install-libiberty \
2324 maybe-install-libtool \
2326 maybe-install-make \
2327 maybe-install-mmalloc \
2328 maybe-install-patch \
2329 maybe-install-perl \
2330 maybe-install-prms \
2332 maybe-install-readline \
2333 maybe-install-release \
2334 maybe-install-recode \
2336 maybe-install-send-pr \
2337 maybe-install-shellutils \
2341 maybe-install-texinfo \
2342 maybe-install-textutils \
2343 maybe-install-time \
2344 maybe-install-uudecode \
2345 maybe-install-wdiff \
2347 maybe-install-zlib \
2349 maybe-install-expect \
2350 maybe-install-guile \
2352 maybe-install-libtermcap \
2353 maybe-install-utils \
2354 maybe-install-gnattools
2356 .PHONY: install-target
2358 maybe-install-target-libstdc++-v3 \
2359 maybe-install-target-libmudflap \
2360 maybe-install-target-libssp \
2361 maybe-install-target-newlib \
2362 maybe-install-target-libgfortran \
2363 maybe-install-target-libobjc \
2364 maybe-install-target-libtermcap \
2365 maybe-install-target-winsup \
2366 maybe-install-target-libgloss \
2367 maybe-install-target-libiberty \
2368 maybe-install-target-gperf \
2369 maybe-install-target-examples \
2370 maybe-install-target-libffi \
2371 maybe-install-target-libjava \
2372 maybe-install-target-zlib \
2373 maybe-install-target-boehm-gc \
2374 maybe-install-target-qthreads \
2375 maybe-install-target-rda \
2376 maybe-install-target-libada
2379 @echo "the uninstall target is not supported in this tree"
2382 install.all: install-no-fixedincludes
2383 @if [ -f ./gcc/Makefile ] ; then \
2384 r=`${PWD_COMMAND}` ; export r ; \
2387 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2392 # install-no-fixedincludes is used because Cygnus can not distribute
2393 # the fixed header files.
2394 .PHONY: install-no-fixedincludes
2395 install-no-fixedincludes: installdirs install-host-nogcc \
2396 install-target gcc-no-fixedincludes
2398 ### other supporting targets
2401 $(DESTDIR)$(prefix) \
2402 $(DESTDIR)$(exec_prefix)
2404 installdirs: mkinstalldirs
2405 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2407 dir.info: do-install-info
2408 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2409 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2410 mv -f dir.info.new dir.info ; \
2415 @echo "Building a full distribution of this tree isn't done"
2416 @echo "via 'make dist'. Check out the etc/ subdirectory"
2420 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2421 # ability to use several tags files at once, so there is probably no need
2422 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2423 # (if we felt like it) have this Makefile write a piece of elisp which
2424 # the user could load to tell emacs19 where all the TAGS files we just
2428 # ------------------------------------
2429 # Macros for configure and all targets
2430 # ------------------------------------
2436 # --------------------------------------
2437 # Modules which run on the build machine
2438 # --------------------------------------
2441 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2442 maybe-configure-build-libiberty:
2444 maybe-configure-build-libiberty: configure-build-libiberty
2445 configure-build-libiberty:
2447 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2448 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2449 r=`${PWD_COMMAND}`; export r; \
2450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2452 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2453 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2455 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2456 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2457 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2459 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2460 libsrcdir="$$s/libiberty"; \
2461 rm -f no-such-file || : ; \
2462 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2463 $(BUILD_CONFIGARGS) $${srcdiroption} \
2465 @endif build-libiberty
2471 .PHONY: all-build-libiberty maybe-all-build-libiberty
2472 maybe-all-build-libiberty:
2474 TARGET-build-libiberty=all
2475 maybe-all-build-libiberty: all-build-libiberty
2476 all-build-libiberty: configure-build-libiberty
2478 @r=`${PWD_COMMAND}`; export r; \
2479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2481 (cd $(BUILD_SUBDIR)/libiberty && \
2482 $(MAKE) $(TARGET-build-libiberty))
2483 @endif build-libiberty
2489 .PHONY: configure-build-bison maybe-configure-build-bison
2490 maybe-configure-build-bison:
2492 maybe-configure-build-bison: configure-build-bison
2493 configure-build-bison:
2495 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2496 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2497 r=`${PWD_COMMAND}`; export r; \
2498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2500 echo Configuring in $(BUILD_SUBDIR)/bison; \
2501 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2503 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2504 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2505 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2507 srcdiroption="--srcdir=$${topdir}/bison"; \
2508 libsrcdir="$$s/bison"; \
2509 rm -f no-such-file || : ; \
2510 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2511 $(BUILD_CONFIGARGS) $${srcdiroption} \
2519 .PHONY: all-build-bison maybe-all-build-bison
2520 maybe-all-build-bison:
2522 TARGET-build-bison=all
2523 maybe-all-build-bison: all-build-bison
2524 all-build-bison: configure-build-bison
2526 @r=`${PWD_COMMAND}`; export r; \
2527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2529 (cd $(BUILD_SUBDIR)/bison && \
2530 $(MAKE) $(TARGET-build-bison))
2537 .PHONY: configure-build-byacc maybe-configure-build-byacc
2538 maybe-configure-build-byacc:
2540 maybe-configure-build-byacc: configure-build-byacc
2541 configure-build-byacc:
2543 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2544 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2545 r=`${PWD_COMMAND}`; export r; \
2546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2548 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2549 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2551 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2552 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2553 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2555 srcdiroption="--srcdir=$${topdir}/byacc"; \
2556 libsrcdir="$$s/byacc"; \
2557 rm -f no-such-file || : ; \
2558 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2559 $(BUILD_CONFIGARGS) $${srcdiroption} \
2567 .PHONY: all-build-byacc maybe-all-build-byacc
2568 maybe-all-build-byacc:
2570 TARGET-build-byacc=all
2571 maybe-all-build-byacc: all-build-byacc
2572 all-build-byacc: configure-build-byacc
2574 @r=`${PWD_COMMAND}`; export r; \
2575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2577 (cd $(BUILD_SUBDIR)/byacc && \
2578 $(MAKE) $(TARGET-build-byacc))
2585 .PHONY: configure-build-flex maybe-configure-build-flex
2586 maybe-configure-build-flex:
2588 maybe-configure-build-flex: configure-build-flex
2589 configure-build-flex:
2591 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2592 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2593 r=`${PWD_COMMAND}`; export r; \
2594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2596 echo Configuring in $(BUILD_SUBDIR)/flex; \
2597 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2599 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2600 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2601 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2603 srcdiroption="--srcdir=$${topdir}/flex"; \
2604 libsrcdir="$$s/flex"; \
2605 rm -f no-such-file || : ; \
2606 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2607 $(BUILD_CONFIGARGS) $${srcdiroption} \
2615 .PHONY: all-build-flex maybe-all-build-flex
2616 maybe-all-build-flex:
2618 TARGET-build-flex=all
2619 maybe-all-build-flex: all-build-flex
2620 all-build-flex: configure-build-flex
2622 @r=`${PWD_COMMAND}`; export r; \
2623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2625 (cd $(BUILD_SUBDIR)/flex && \
2626 $(MAKE) $(TARGET-build-flex))
2633 .PHONY: configure-build-m4 maybe-configure-build-m4
2634 maybe-configure-build-m4:
2636 maybe-configure-build-m4: configure-build-m4
2639 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2640 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2641 r=`${PWD_COMMAND}`; export r; \
2642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2644 echo Configuring in $(BUILD_SUBDIR)/m4; \
2645 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2647 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2648 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2649 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2651 srcdiroption="--srcdir=$${topdir}/m4"; \
2652 libsrcdir="$$s/m4"; \
2653 rm -f no-such-file || : ; \
2654 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2655 $(BUILD_CONFIGARGS) $${srcdiroption} \
2663 .PHONY: all-build-m4 maybe-all-build-m4
2667 maybe-all-build-m4: all-build-m4
2668 all-build-m4: configure-build-m4
2670 @r=`${PWD_COMMAND}`; export r; \
2671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2673 (cd $(BUILD_SUBDIR)/m4 && \
2674 $(MAKE) $(TARGET-build-m4))
2681 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2682 maybe-configure-build-texinfo:
2684 maybe-configure-build-texinfo: configure-build-texinfo
2685 configure-build-texinfo:
2687 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2688 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2689 r=`${PWD_COMMAND}`; export r; \
2690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2692 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2693 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2695 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2696 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2697 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2699 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2700 libsrcdir="$$s/texinfo"; \
2701 rm -f no-such-file || : ; \
2702 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2703 $(BUILD_CONFIGARGS) $${srcdiroption} \
2705 @endif build-texinfo
2711 .PHONY: all-build-texinfo maybe-all-build-texinfo
2712 maybe-all-build-texinfo:
2714 TARGET-build-texinfo=all
2715 maybe-all-build-texinfo: all-build-texinfo
2716 all-build-texinfo: configure-build-texinfo
2718 @r=`${PWD_COMMAND}`; export r; \
2719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2721 (cd $(BUILD_SUBDIR)/texinfo && \
2722 $(MAKE) $(TARGET-build-texinfo))
2723 @endif build-texinfo
2729 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2730 maybe-configure-build-fixincludes:
2731 @if build-fixincludes
2732 maybe-configure-build-fixincludes: configure-build-fixincludes
2733 configure-build-fixincludes:
2735 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2736 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2737 r=`${PWD_COMMAND}`; export r; \
2738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2740 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2741 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2743 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2744 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2745 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2747 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2748 libsrcdir="$$s/fixincludes"; \
2749 rm -f no-such-file || : ; \
2750 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2751 $(BUILD_CONFIGARGS) $${srcdiroption} \
2753 @endif build-fixincludes
2759 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2760 maybe-all-build-fixincludes:
2761 @if build-fixincludes
2762 TARGET-build-fixincludes=all
2763 maybe-all-build-fixincludes: all-build-fixincludes
2764 all-build-fixincludes: configure-build-fixincludes
2766 @r=`${PWD_COMMAND}`; export r; \
2767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2769 (cd $(BUILD_SUBDIR)/fixincludes && \
2770 $(MAKE) $(TARGET-build-fixincludes))
2771 @endif build-fixincludes
2777 # --------------------------------------
2778 # Modules which run on the host machine
2779 # --------------------------------------
2782 .PHONY: configure-ash maybe-configure-ash
2783 maybe-configure-ash:
2785 maybe-configure-ash: configure-ash
2788 @test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2789 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2790 r=`${PWD_COMMAND}`; export r; \
2791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2793 echo Configuring in $(HOST_SUBDIR)/ash; \
2794 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2796 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2797 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2798 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2800 srcdiroption="--srcdir=$${topdir}/ash"; \
2801 libsrcdir="$$s/ash"; \
2802 $(SHELL) $${libsrcdir}/configure \
2803 $(HOST_CONFIGARGS) $${srcdiroption} \
2811 .PHONY: all-ash maybe-all-ash
2815 maybe-all-ash: all-ash
2816 all-ash: configure-ash
2818 @r=`${PWD_COMMAND}`; export r; \
2819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2821 (cd $(HOST_SUBDIR)/ash && \
2822 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2828 .PHONY: check-ash maybe-check-ash
2831 maybe-check-ash: check-ash
2835 @r=`${PWD_COMMAND}`; export r; \
2836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2838 (cd $(HOST_SUBDIR)/ash && \
2839 $(MAKE) $(FLAGS_TO_PASS) check)
2843 .PHONY: install-ash maybe-install-ash
2846 maybe-install-ash: install-ash
2848 install-ash: installdirs
2850 @r=`${PWD_COMMAND}`; export r; \
2851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2853 (cd $(HOST_SUBDIR)/ash && \
2854 $(MAKE) $(FLAGS_TO_PASS) install)
2858 # Other targets (info, dvi, etc.)
2860 .PHONY: maybe-info-ash info-ash
2863 maybe-info-ash: info-ash
2868 @[ -f ./ash/Makefile ] || exit 0; \
2869 r=`${PWD_COMMAND}`; export r; \
2870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2872 for flag in $(EXTRA_HOST_FLAGS) ; do \
2873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2875 echo "Doing info in ash" ; \
2876 (cd $(HOST_SUBDIR)/ash && \
2877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2879 "RANLIB=$${RANLIB}" \
2880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2886 .PHONY: maybe-dvi-ash dvi-ash
2889 maybe-dvi-ash: dvi-ash
2894 @[ -f ./ash/Makefile ] || exit 0; \
2895 r=`${PWD_COMMAND}`; export r; \
2896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2898 for flag in $(EXTRA_HOST_FLAGS) ; do \
2899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2901 echo "Doing dvi in ash" ; \
2902 (cd $(HOST_SUBDIR)/ash && \
2903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2905 "RANLIB=$${RANLIB}" \
2906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2912 .PHONY: maybe-html-ash html-ash
2915 maybe-html-ash: html-ash
2920 @[ -f ./ash/Makefile ] || exit 0; \
2921 r=`${PWD_COMMAND}`; export r; \
2922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2924 for flag in $(EXTRA_HOST_FLAGS) ; do \
2925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2927 echo "Doing html in ash" ; \
2928 (cd $(HOST_SUBDIR)/ash && \
2929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2931 "RANLIB=$${RANLIB}" \
2932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2938 .PHONY: maybe-TAGS-ash TAGS-ash
2941 maybe-TAGS-ash: TAGS-ash
2946 @[ -f ./ash/Makefile ] || exit 0; \
2947 r=`${PWD_COMMAND}`; export r; \
2948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2950 for flag in $(EXTRA_HOST_FLAGS) ; do \
2951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2953 echo "Doing TAGS in ash" ; \
2954 (cd $(HOST_SUBDIR)/ash && \
2955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2957 "RANLIB=$${RANLIB}" \
2958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2964 .PHONY: maybe-install-info-ash install-info-ash
2965 maybe-install-info-ash:
2967 maybe-install-info-ash: install-info-ash
2973 @[ -f ./ash/Makefile ] || exit 0; \
2974 r=`${PWD_COMMAND}`; export r; \
2975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2977 for flag in $(EXTRA_HOST_FLAGS) ; do \
2978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2980 echo "Doing install-info in ash" ; \
2981 (cd $(HOST_SUBDIR)/ash && \
2982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2984 "RANLIB=$${RANLIB}" \
2985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2991 .PHONY: maybe-installcheck-ash installcheck-ash
2992 maybe-installcheck-ash:
2994 maybe-installcheck-ash: installcheck-ash
2999 @[ -f ./ash/Makefile ] || exit 0; \
3000 r=`${PWD_COMMAND}`; export r; \
3001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3003 for flag in $(EXTRA_HOST_FLAGS) ; do \
3004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3006 echo "Doing installcheck in ash" ; \
3007 (cd $(HOST_SUBDIR)/ash && \
3008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3010 "RANLIB=$${RANLIB}" \
3011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3017 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
3018 maybe-mostlyclean-ash:
3020 maybe-mostlyclean-ash: mostlyclean-ash
3024 @[ -f ./ash/Makefile ] || exit 0; \
3025 r=`${PWD_COMMAND}`; export r; \
3026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3028 for flag in $(EXTRA_HOST_FLAGS) ; do \
3029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3031 echo "Doing mostlyclean in ash" ; \
3032 (cd $(HOST_SUBDIR)/ash && \
3033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3035 "RANLIB=$${RANLIB}" \
3036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3042 .PHONY: maybe-clean-ash clean-ash
3045 maybe-clean-ash: clean-ash
3049 @[ -f ./ash/Makefile ] || exit 0; \
3050 r=`${PWD_COMMAND}`; export r; \
3051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3053 for flag in $(EXTRA_HOST_FLAGS) ; do \
3054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3056 echo "Doing clean in ash" ; \
3057 (cd $(HOST_SUBDIR)/ash && \
3058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3060 "RANLIB=$${RANLIB}" \
3061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3067 .PHONY: maybe-distclean-ash distclean-ash
3068 maybe-distclean-ash:
3070 maybe-distclean-ash: distclean-ash
3074 @[ -f ./ash/Makefile ] || exit 0; \
3075 r=`${PWD_COMMAND}`; export r; \
3076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3078 for flag in $(EXTRA_HOST_FLAGS) ; do \
3079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3081 echo "Doing distclean in ash" ; \
3082 (cd $(HOST_SUBDIR)/ash && \
3083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3085 "RANLIB=$${RANLIB}" \
3086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3092 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
3093 maybe-maintainer-clean-ash:
3095 maybe-maintainer-clean-ash: maintainer-clean-ash
3097 maintainer-clean-ash:
3099 @[ -f ./ash/Makefile ] || exit 0; \
3100 r=`${PWD_COMMAND}`; export r; \
3101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3103 for flag in $(EXTRA_HOST_FLAGS) ; do \
3104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3106 echo "Doing maintainer-clean in ash" ; \
3107 (cd $(HOST_SUBDIR)/ash && \
3108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3110 "RANLIB=$${RANLIB}" \
3111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3119 .PHONY: configure-autoconf maybe-configure-autoconf
3120 maybe-configure-autoconf:
3122 maybe-configure-autoconf: configure-autoconf
3125 @test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
3126 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
3127 r=`${PWD_COMMAND}`; export r; \
3128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3130 echo Configuring in $(HOST_SUBDIR)/autoconf; \
3131 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
3133 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3134 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
3135 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3137 srcdiroption="--srcdir=$${topdir}/autoconf"; \
3138 libsrcdir="$$s/autoconf"; \
3139 $(SHELL) $${libsrcdir}/configure \
3140 $(HOST_CONFIGARGS) $${srcdiroption} \
3148 .PHONY: all-autoconf maybe-all-autoconf
3152 maybe-all-autoconf: all-autoconf
3153 all-autoconf: configure-autoconf
3155 @r=`${PWD_COMMAND}`; export r; \
3156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3158 (cd $(HOST_SUBDIR)/autoconf && \
3159 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
3165 .PHONY: check-autoconf maybe-check-autoconf
3166 maybe-check-autoconf:
3168 maybe-check-autoconf: check-autoconf
3172 @r=`${PWD_COMMAND}`; export r; \
3173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3175 (cd $(HOST_SUBDIR)/autoconf && \
3176 $(MAKE) $(FLAGS_TO_PASS) check)
3180 .PHONY: install-autoconf maybe-install-autoconf
3181 maybe-install-autoconf:
3183 maybe-install-autoconf: install-autoconf
3185 install-autoconf: installdirs
3187 @r=`${PWD_COMMAND}`; export r; \
3188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3190 (cd $(HOST_SUBDIR)/autoconf && \
3191 $(MAKE) $(FLAGS_TO_PASS) install)
3195 # Other targets (info, dvi, etc.)
3197 .PHONY: maybe-info-autoconf info-autoconf
3198 maybe-info-autoconf:
3200 maybe-info-autoconf: info-autoconf
3205 @[ -f ./autoconf/Makefile ] || exit 0; \
3206 r=`${PWD_COMMAND}`; export r; \
3207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3209 for flag in $(EXTRA_HOST_FLAGS) ; do \
3210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3212 echo "Doing info in autoconf" ; \
3213 (cd $(HOST_SUBDIR)/autoconf && \
3214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3216 "RANLIB=$${RANLIB}" \
3217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3223 .PHONY: maybe-dvi-autoconf dvi-autoconf
3226 maybe-dvi-autoconf: dvi-autoconf
3231 @[ -f ./autoconf/Makefile ] || exit 0; \
3232 r=`${PWD_COMMAND}`; export r; \
3233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3235 for flag in $(EXTRA_HOST_FLAGS) ; do \
3236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3238 echo "Doing dvi in autoconf" ; \
3239 (cd $(HOST_SUBDIR)/autoconf && \
3240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3242 "RANLIB=$${RANLIB}" \
3243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3249 .PHONY: maybe-html-autoconf html-autoconf
3250 maybe-html-autoconf:
3252 maybe-html-autoconf: html-autoconf
3257 @[ -f ./autoconf/Makefile ] || exit 0; \
3258 r=`${PWD_COMMAND}`; export r; \
3259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3261 for flag in $(EXTRA_HOST_FLAGS) ; do \
3262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3264 echo "Doing html in autoconf" ; \
3265 (cd $(HOST_SUBDIR)/autoconf && \
3266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3268 "RANLIB=$${RANLIB}" \
3269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3275 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3276 maybe-TAGS-autoconf:
3278 maybe-TAGS-autoconf: TAGS-autoconf
3283 @[ -f ./autoconf/Makefile ] || exit 0; \
3284 r=`${PWD_COMMAND}`; export r; \
3285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3287 for flag in $(EXTRA_HOST_FLAGS) ; do \
3288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3290 echo "Doing TAGS in autoconf" ; \
3291 (cd $(HOST_SUBDIR)/autoconf && \
3292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3294 "RANLIB=$${RANLIB}" \
3295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3301 .PHONY: maybe-install-info-autoconf install-info-autoconf
3302 maybe-install-info-autoconf:
3304 maybe-install-info-autoconf: install-info-autoconf
3306 install-info-autoconf: \
3307 configure-autoconf \
3310 @[ -f ./autoconf/Makefile ] || exit 0; \
3311 r=`${PWD_COMMAND}`; export r; \
3312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3314 for flag in $(EXTRA_HOST_FLAGS) ; do \
3315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3317 echo "Doing install-info in autoconf" ; \
3318 (cd $(HOST_SUBDIR)/autoconf && \
3319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3321 "RANLIB=$${RANLIB}" \
3322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3328 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3329 maybe-installcheck-autoconf:
3331 maybe-installcheck-autoconf: installcheck-autoconf
3333 installcheck-autoconf: \
3336 @[ -f ./autoconf/Makefile ] || exit 0; \
3337 r=`${PWD_COMMAND}`; export r; \
3338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3340 for flag in $(EXTRA_HOST_FLAGS) ; do \
3341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3343 echo "Doing installcheck in autoconf" ; \
3344 (cd $(HOST_SUBDIR)/autoconf && \
3345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3347 "RANLIB=$${RANLIB}" \
3348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3354 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3355 maybe-mostlyclean-autoconf:
3357 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3359 mostlyclean-autoconf:
3361 @[ -f ./autoconf/Makefile ] || exit 0; \
3362 r=`${PWD_COMMAND}`; export r; \
3363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3365 for flag in $(EXTRA_HOST_FLAGS) ; do \
3366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3368 echo "Doing mostlyclean in autoconf" ; \
3369 (cd $(HOST_SUBDIR)/autoconf && \
3370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3372 "RANLIB=$${RANLIB}" \
3373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3379 .PHONY: maybe-clean-autoconf clean-autoconf
3380 maybe-clean-autoconf:
3382 maybe-clean-autoconf: clean-autoconf
3386 @[ -f ./autoconf/Makefile ] || exit 0; \
3387 r=`${PWD_COMMAND}`; export r; \
3388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3390 for flag in $(EXTRA_HOST_FLAGS) ; do \
3391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3393 echo "Doing clean in autoconf" ; \
3394 (cd $(HOST_SUBDIR)/autoconf && \
3395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3397 "RANLIB=$${RANLIB}" \
3398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3404 .PHONY: maybe-distclean-autoconf distclean-autoconf
3405 maybe-distclean-autoconf:
3407 maybe-distclean-autoconf: distclean-autoconf
3411 @[ -f ./autoconf/Makefile ] || exit 0; \
3412 r=`${PWD_COMMAND}`; export r; \
3413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3415 for flag in $(EXTRA_HOST_FLAGS) ; do \
3416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3418 echo "Doing distclean in autoconf" ; \
3419 (cd $(HOST_SUBDIR)/autoconf && \
3420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3422 "RANLIB=$${RANLIB}" \
3423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3429 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3430 maybe-maintainer-clean-autoconf:
3432 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3434 maintainer-clean-autoconf:
3436 @[ -f ./autoconf/Makefile ] || exit 0; \
3437 r=`${PWD_COMMAND}`; export r; \
3438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3440 for flag in $(EXTRA_HOST_FLAGS) ; do \
3441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3443 echo "Doing maintainer-clean in autoconf" ; \
3444 (cd $(HOST_SUBDIR)/autoconf && \
3445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3447 "RANLIB=$${RANLIB}" \
3448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3456 .PHONY: configure-automake maybe-configure-automake
3457 maybe-configure-automake:
3459 maybe-configure-automake: configure-automake
3462 @test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3463 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3464 r=`${PWD_COMMAND}`; export r; \
3465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3467 echo Configuring in $(HOST_SUBDIR)/automake; \
3468 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3470 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3471 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3472 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3474 srcdiroption="--srcdir=$${topdir}/automake"; \
3475 libsrcdir="$$s/automake"; \
3476 $(SHELL) $${libsrcdir}/configure \
3477 $(HOST_CONFIGARGS) $${srcdiroption} \
3485 .PHONY: all-automake maybe-all-automake
3489 maybe-all-automake: all-automake
3490 all-automake: configure-automake
3492 @r=`${PWD_COMMAND}`; export r; \
3493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3495 (cd $(HOST_SUBDIR)/automake && \
3496 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3502 .PHONY: check-automake maybe-check-automake
3503 maybe-check-automake:
3505 maybe-check-automake: check-automake
3509 @r=`${PWD_COMMAND}`; export r; \
3510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3512 (cd $(HOST_SUBDIR)/automake && \
3513 $(MAKE) $(FLAGS_TO_PASS) check)
3517 .PHONY: install-automake maybe-install-automake
3518 maybe-install-automake:
3520 maybe-install-automake: install-automake
3522 install-automake: installdirs
3524 @r=`${PWD_COMMAND}`; export r; \
3525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3527 (cd $(HOST_SUBDIR)/automake && \
3528 $(MAKE) $(FLAGS_TO_PASS) install)
3532 # Other targets (info, dvi, etc.)
3534 .PHONY: maybe-info-automake info-automake
3535 maybe-info-automake:
3537 maybe-info-automake: info-automake
3542 @[ -f ./automake/Makefile ] || exit 0; \
3543 r=`${PWD_COMMAND}`; export r; \
3544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3546 for flag in $(EXTRA_HOST_FLAGS) ; do \
3547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3549 echo "Doing info in automake" ; \
3550 (cd $(HOST_SUBDIR)/automake && \
3551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3553 "RANLIB=$${RANLIB}" \
3554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3560 .PHONY: maybe-dvi-automake dvi-automake
3563 maybe-dvi-automake: dvi-automake
3568 @[ -f ./automake/Makefile ] || exit 0; \
3569 r=`${PWD_COMMAND}`; export r; \
3570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3572 for flag in $(EXTRA_HOST_FLAGS) ; do \
3573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3575 echo "Doing dvi in automake" ; \
3576 (cd $(HOST_SUBDIR)/automake && \
3577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3579 "RANLIB=$${RANLIB}" \
3580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3586 .PHONY: maybe-html-automake html-automake
3587 maybe-html-automake:
3589 maybe-html-automake: html-automake
3594 @[ -f ./automake/Makefile ] || exit 0; \
3595 r=`${PWD_COMMAND}`; export r; \
3596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3598 for flag in $(EXTRA_HOST_FLAGS) ; do \
3599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3601 echo "Doing html in automake" ; \
3602 (cd $(HOST_SUBDIR)/automake && \
3603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3605 "RANLIB=$${RANLIB}" \
3606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3612 .PHONY: maybe-TAGS-automake TAGS-automake
3613 maybe-TAGS-automake:
3615 maybe-TAGS-automake: TAGS-automake
3620 @[ -f ./automake/Makefile ] || exit 0; \
3621 r=`${PWD_COMMAND}`; export r; \
3622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3624 for flag in $(EXTRA_HOST_FLAGS) ; do \
3625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3627 echo "Doing TAGS in automake" ; \
3628 (cd $(HOST_SUBDIR)/automake && \
3629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3631 "RANLIB=$${RANLIB}" \
3632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3638 .PHONY: maybe-install-info-automake install-info-automake
3639 maybe-install-info-automake:
3641 maybe-install-info-automake: install-info-automake
3643 install-info-automake: \
3644 configure-automake \
3647 @[ -f ./automake/Makefile ] || exit 0; \
3648 r=`${PWD_COMMAND}`; export r; \
3649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3651 for flag in $(EXTRA_HOST_FLAGS) ; do \
3652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3654 echo "Doing install-info in automake" ; \
3655 (cd $(HOST_SUBDIR)/automake && \
3656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3658 "RANLIB=$${RANLIB}" \
3659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3665 .PHONY: maybe-installcheck-automake installcheck-automake
3666 maybe-installcheck-automake:
3668 maybe-installcheck-automake: installcheck-automake
3670 installcheck-automake: \
3673 @[ -f ./automake/Makefile ] || exit 0; \
3674 r=`${PWD_COMMAND}`; export r; \
3675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3677 for flag in $(EXTRA_HOST_FLAGS) ; do \
3678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3680 echo "Doing installcheck in automake" ; \
3681 (cd $(HOST_SUBDIR)/automake && \
3682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3684 "RANLIB=$${RANLIB}" \
3685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3691 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3692 maybe-mostlyclean-automake:
3694 maybe-mostlyclean-automake: mostlyclean-automake
3696 mostlyclean-automake:
3698 @[ -f ./automake/Makefile ] || exit 0; \
3699 r=`${PWD_COMMAND}`; export r; \
3700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3702 for flag in $(EXTRA_HOST_FLAGS) ; do \
3703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3705 echo "Doing mostlyclean in automake" ; \
3706 (cd $(HOST_SUBDIR)/automake && \
3707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3709 "RANLIB=$${RANLIB}" \
3710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3716 .PHONY: maybe-clean-automake clean-automake
3717 maybe-clean-automake:
3719 maybe-clean-automake: clean-automake
3723 @[ -f ./automake/Makefile ] || exit 0; \
3724 r=`${PWD_COMMAND}`; export r; \
3725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3727 for flag in $(EXTRA_HOST_FLAGS) ; do \
3728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3730 echo "Doing clean in automake" ; \
3731 (cd $(HOST_SUBDIR)/automake && \
3732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3734 "RANLIB=$${RANLIB}" \
3735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3741 .PHONY: maybe-distclean-automake distclean-automake
3742 maybe-distclean-automake:
3744 maybe-distclean-automake: distclean-automake
3748 @[ -f ./automake/Makefile ] || exit 0; \
3749 r=`${PWD_COMMAND}`; export r; \
3750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3752 for flag in $(EXTRA_HOST_FLAGS) ; do \
3753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3755 echo "Doing distclean in automake" ; \
3756 (cd $(HOST_SUBDIR)/automake && \
3757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3759 "RANLIB=$${RANLIB}" \
3760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3766 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3767 maybe-maintainer-clean-automake:
3769 maybe-maintainer-clean-automake: maintainer-clean-automake
3771 maintainer-clean-automake:
3773 @[ -f ./automake/Makefile ] || exit 0; \
3774 r=`${PWD_COMMAND}`; export r; \
3775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3777 for flag in $(EXTRA_HOST_FLAGS) ; do \
3778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3780 echo "Doing maintainer-clean in automake" ; \
3781 (cd $(HOST_SUBDIR)/automake && \
3782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3784 "RANLIB=$${RANLIB}" \
3785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3793 .PHONY: configure-bash maybe-configure-bash
3794 maybe-configure-bash:
3796 maybe-configure-bash: configure-bash
3799 @test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
3800 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
3801 r=`${PWD_COMMAND}`; export r; \
3802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3804 echo Configuring in $(HOST_SUBDIR)/bash; \
3805 cd "$(HOST_SUBDIR)/bash" || exit 1; \
3807 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3808 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3809 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3811 srcdiroption="--srcdir=$${topdir}/bash"; \
3812 libsrcdir="$$s/bash"; \
3813 $(SHELL) $${libsrcdir}/configure \
3814 $(HOST_CONFIGARGS) $${srcdiroption} \
3822 .PHONY: all-bash maybe-all-bash
3826 maybe-all-bash: all-bash
3827 all-bash: configure-bash
3829 @r=`${PWD_COMMAND}`; export r; \
3830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3832 (cd $(HOST_SUBDIR)/bash && \
3833 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
3839 .PHONY: check-bash maybe-check-bash
3842 maybe-check-bash: check-bash
3846 @r=`${PWD_COMMAND}`; export r; \
3847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3849 (cd $(HOST_SUBDIR)/bash && \
3850 $(MAKE) $(FLAGS_TO_PASS) check)
3854 .PHONY: install-bash maybe-install-bash
3857 maybe-install-bash: install-bash
3859 install-bash: installdirs
3861 @r=`${PWD_COMMAND}`; export r; \
3862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3864 (cd $(HOST_SUBDIR)/bash && \
3865 $(MAKE) $(FLAGS_TO_PASS) install)
3869 # Other targets (info, dvi, etc.)
3871 .PHONY: maybe-info-bash info-bash
3874 maybe-info-bash: info-bash
3879 @[ -f ./bash/Makefile ] || exit 0; \
3880 r=`${PWD_COMMAND}`; export r; \
3881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3883 for flag in $(EXTRA_HOST_FLAGS) ; do \
3884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3886 echo "Doing info in bash" ; \
3887 (cd $(HOST_SUBDIR)/bash && \
3888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3890 "RANLIB=$${RANLIB}" \
3891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3897 .PHONY: maybe-dvi-bash dvi-bash
3900 maybe-dvi-bash: dvi-bash
3905 @[ -f ./bash/Makefile ] || exit 0; \
3906 r=`${PWD_COMMAND}`; export r; \
3907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3909 for flag in $(EXTRA_HOST_FLAGS) ; do \
3910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3912 echo "Doing dvi in bash" ; \
3913 (cd $(HOST_SUBDIR)/bash && \
3914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3916 "RANLIB=$${RANLIB}" \
3917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3923 .PHONY: maybe-html-bash html-bash
3926 maybe-html-bash: html-bash
3931 @[ -f ./bash/Makefile ] || exit 0; \
3932 r=`${PWD_COMMAND}`; export r; \
3933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3935 for flag in $(EXTRA_HOST_FLAGS) ; do \
3936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3938 echo "Doing html in bash" ; \
3939 (cd $(HOST_SUBDIR)/bash && \
3940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3942 "RANLIB=$${RANLIB}" \
3943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3949 .PHONY: maybe-TAGS-bash TAGS-bash
3952 maybe-TAGS-bash: TAGS-bash
3957 @[ -f ./bash/Makefile ] || exit 0; \
3958 r=`${PWD_COMMAND}`; export r; \
3959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3961 for flag in $(EXTRA_HOST_FLAGS) ; do \
3962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3964 echo "Doing TAGS in bash" ; \
3965 (cd $(HOST_SUBDIR)/bash && \
3966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3968 "RANLIB=$${RANLIB}" \
3969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3975 .PHONY: maybe-install-info-bash install-info-bash
3976 maybe-install-info-bash:
3978 maybe-install-info-bash: install-info-bash
3980 install-info-bash: \
3984 @[ -f ./bash/Makefile ] || exit 0; \
3985 r=`${PWD_COMMAND}`; export r; \
3986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3988 for flag in $(EXTRA_HOST_FLAGS) ; do \
3989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3991 echo "Doing install-info in bash" ; \
3992 (cd $(HOST_SUBDIR)/bash && \
3993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3995 "RANLIB=$${RANLIB}" \
3996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4002 .PHONY: maybe-installcheck-bash installcheck-bash
4003 maybe-installcheck-bash:
4005 maybe-installcheck-bash: installcheck-bash
4007 installcheck-bash: \
4010 @[ -f ./bash/Makefile ] || exit 0; \
4011 r=`${PWD_COMMAND}`; export r; \
4012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4014 for flag in $(EXTRA_HOST_FLAGS) ; do \
4015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4017 echo "Doing installcheck in bash" ; \
4018 (cd $(HOST_SUBDIR)/bash && \
4019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4021 "RANLIB=$${RANLIB}" \
4022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4028 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
4029 maybe-mostlyclean-bash:
4031 maybe-mostlyclean-bash: mostlyclean-bash
4035 @[ -f ./bash/Makefile ] || exit 0; \
4036 r=`${PWD_COMMAND}`; export r; \
4037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4039 for flag in $(EXTRA_HOST_FLAGS) ; do \
4040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4042 echo "Doing mostlyclean in bash" ; \
4043 (cd $(HOST_SUBDIR)/bash && \
4044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4046 "RANLIB=$${RANLIB}" \
4047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4053 .PHONY: maybe-clean-bash clean-bash
4056 maybe-clean-bash: clean-bash
4060 @[ -f ./bash/Makefile ] || exit 0; \
4061 r=`${PWD_COMMAND}`; export r; \
4062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4064 for flag in $(EXTRA_HOST_FLAGS) ; do \
4065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4067 echo "Doing clean in bash" ; \
4068 (cd $(HOST_SUBDIR)/bash && \
4069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4071 "RANLIB=$${RANLIB}" \
4072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4078 .PHONY: maybe-distclean-bash distclean-bash
4079 maybe-distclean-bash:
4081 maybe-distclean-bash: distclean-bash
4085 @[ -f ./bash/Makefile ] || exit 0; \
4086 r=`${PWD_COMMAND}`; export r; \
4087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4089 for flag in $(EXTRA_HOST_FLAGS) ; do \
4090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4092 echo "Doing distclean in bash" ; \
4093 (cd $(HOST_SUBDIR)/bash && \
4094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4096 "RANLIB=$${RANLIB}" \
4097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4103 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
4104 maybe-maintainer-clean-bash:
4106 maybe-maintainer-clean-bash: maintainer-clean-bash
4108 maintainer-clean-bash:
4110 @[ -f ./bash/Makefile ] || exit 0; \
4111 r=`${PWD_COMMAND}`; export r; \
4112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4114 for flag in $(EXTRA_HOST_FLAGS) ; do \
4115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4117 echo "Doing maintainer-clean in bash" ; \
4118 (cd $(HOST_SUBDIR)/bash && \
4119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4121 "RANLIB=$${RANLIB}" \
4122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4130 .PHONY: configure-bfd maybe-configure-bfd
4131 maybe-configure-bfd:
4133 maybe-configure-bfd: configure-bfd
4135 @test -f stage_last && exit 0; \
4136 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4137 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4138 r=`${PWD_COMMAND}`; export r; \
4139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4141 echo Configuring in $(HOST_SUBDIR)/bfd; \
4142 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
4144 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4145 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4146 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4148 srcdiroption="--srcdir=$${topdir}/bfd"; \
4149 libsrcdir="$$s/bfd"; \
4150 $(SHELL) $${libsrcdir}/configure \
4151 $(HOST_CONFIGARGS) $${srcdiroption} \
4157 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
4158 maybe-configure-stage1-bfd:
4160 maybe-configure-stage1-bfd: configure-stage1-bfd
4161 configure-stage1-bfd:
4162 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4163 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4164 r=`${PWD_COMMAND}`; export r; \
4165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4167 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
4168 cd $(HOST_SUBDIR)/bfd || exit 1; \
4170 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4171 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4172 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4174 srcdiroption="--srcdir=$${topdir}/bfd"; \
4175 libsrcdir="$$s/bfd"; \
4176 $(SHELL) $${libsrcdir}/configure \
4177 $(HOST_CONFIGARGS) $${srcdiroption} \
4178 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4179 @endif bfd-bootstrap
4181 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
4182 maybe-configure-stage2-bfd:
4184 maybe-configure-stage2-bfd: configure-stage2-bfd
4185 configure-stage2-bfd:
4186 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4187 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4188 r=`${PWD_COMMAND}`; export r; \
4189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4191 $(POSTSTAGE1_HOST_EXPORTS) \
4192 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
4193 cd $(HOST_SUBDIR)/bfd || exit 1; \
4195 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4196 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4197 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4199 srcdiroption="--srcdir=$${topdir}/bfd"; \
4200 libsrcdir="$$s/bfd"; \
4201 $(SHELL) $${libsrcdir}/configure \
4202 $(HOST_CONFIGARGS) $${srcdiroption} \
4203 @stage2_werror_flag@
4204 @endif bfd-bootstrap
4206 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
4207 maybe-configure-stage3-bfd:
4209 maybe-configure-stage3-bfd: configure-stage3-bfd
4210 configure-stage3-bfd:
4211 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4212 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4213 r=`${PWD_COMMAND}`; export r; \
4214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4216 $(POSTSTAGE1_HOST_EXPORTS) \
4217 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
4218 cd $(HOST_SUBDIR)/bfd || exit 1; \
4220 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4221 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4222 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4224 srcdiroption="--srcdir=$${topdir}/bfd"; \
4225 libsrcdir="$$s/bfd"; \
4226 $(SHELL) $${libsrcdir}/configure \
4227 $(HOST_CONFIGARGS) $${srcdiroption} \
4228 @stage2_werror_flag@
4229 @endif bfd-bootstrap
4231 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
4232 maybe-configure-stage4-bfd:
4234 maybe-configure-stage4-bfd: configure-stage4-bfd
4235 configure-stage4-bfd:
4236 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4237 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4238 r=`${PWD_COMMAND}`; export r; \
4239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4241 $(POSTSTAGE1_HOST_EXPORTS) \
4242 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4243 cd $(HOST_SUBDIR)/bfd || exit 1; \
4245 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4246 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4247 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4249 srcdiroption="--srcdir=$${topdir}/bfd"; \
4250 libsrcdir="$$s/bfd"; \
4251 $(SHELL) $${libsrcdir}/configure \
4252 $(HOST_CONFIGARGS) $${srcdiroption} \
4253 @stage2_werror_flag@
4254 @endif bfd-bootstrap
4256 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4257 maybe-configure-stageprofile-bfd:
4259 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4260 configure-stageprofile-bfd:
4261 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4262 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4263 r=`${PWD_COMMAND}`; export r; \
4264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4266 $(POSTSTAGE1_HOST_EXPORTS) \
4267 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4268 cd $(HOST_SUBDIR)/bfd || exit 1; \
4270 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4271 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4272 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4274 srcdiroption="--srcdir=$${topdir}/bfd"; \
4275 libsrcdir="$$s/bfd"; \
4276 $(SHELL) $${libsrcdir}/configure \
4277 $(HOST_CONFIGARGS) $${srcdiroption} \
4278 @stage2_werror_flag@
4279 @endif bfd-bootstrap
4281 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4282 maybe-configure-stagefeedback-bfd:
4284 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4285 configure-stagefeedback-bfd:
4286 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4287 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4288 r=`${PWD_COMMAND}`; export r; \
4289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4291 $(POSTSTAGE1_HOST_EXPORTS) \
4292 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4293 cd $(HOST_SUBDIR)/bfd || exit 1; \
4295 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4296 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4297 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4299 srcdiroption="--srcdir=$${topdir}/bfd"; \
4300 libsrcdir="$$s/bfd"; \
4301 $(SHELL) $${libsrcdir}/configure \
4302 $(HOST_CONFIGARGS) $${srcdiroption} \
4303 @stage2_werror_flag@
4304 @endif bfd-bootstrap
4310 .PHONY: all-bfd maybe-all-bfd
4314 maybe-all-bfd: all-bfd
4315 all-bfd: configure-bfd
4316 @test -f stage_last && exit 0; \
4317 r=`${PWD_COMMAND}`; export r; \
4318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4320 (cd $(HOST_SUBDIR)/bfd && \
4321 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4326 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4327 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4328 maybe-all-stage1-bfd:
4329 maybe-clean-stage1-bfd:
4331 maybe-all-stage1-bfd: all-stage1-bfd
4332 all-stage1: all-stage1-bfd
4333 TARGET-stage1-bfd = $(TARGET-bfd)
4334 all-stage1-bfd: configure-stage1-bfd
4335 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4336 @r=`${PWD_COMMAND}`; export r; \
4337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4339 cd $(HOST_SUBDIR)/bfd && \
4340 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
4341 $(TARGET-stage1-bfd)
4343 maybe-clean-stage1-bfd: clean-stage1-bfd
4344 clean-stage1: clean-stage1-bfd
4346 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] \
4348 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4349 cd $(HOST_SUBDIR)/bfd && \
4350 $(MAKE) $(FLAGS_TO_PASS) \
4351 CFLAGS="$(STAGE1_CFLAGS)" clean
4352 @endif bfd-bootstrap
4355 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4356 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4357 maybe-all-stage2-bfd:
4358 maybe-clean-stage2-bfd:
4360 maybe-all-stage2-bfd: all-stage2-bfd
4361 all-stage2: all-stage2-bfd
4362 TARGET-stage2-bfd = $(TARGET-bfd)
4363 all-stage2-bfd: configure-stage2-bfd
4364 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4365 @r=`${PWD_COMMAND}`; export r; \
4366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4368 $(POSTSTAGE1_HOST_EXPORTS) \
4369 cd $(HOST_SUBDIR)/bfd && \
4370 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4371 $(TARGET-stage2-bfd)
4373 maybe-clean-stage2-bfd: clean-stage2-bfd
4374 clean-stage2: clean-stage2-bfd
4376 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] \
4378 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4379 cd $(HOST_SUBDIR)/bfd && \
4380 $(MAKE) $(FLAGS_TO_PASS) \
4381 $(POSTSTAGE1_FLAGS_TO_PASS) \
4383 @endif bfd-bootstrap
4386 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4387 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4388 maybe-all-stage3-bfd:
4389 maybe-clean-stage3-bfd:
4391 maybe-all-stage3-bfd: all-stage3-bfd
4392 all-stage3: all-stage3-bfd
4393 TARGET-stage3-bfd = $(TARGET-bfd)
4394 all-stage3-bfd: configure-stage3-bfd
4395 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
<